docs.go 948 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.ErmcpGoods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "币种id(明细必填)",
  3127. "name": "currencyid",
  3128. "in": "query"
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "type": "array",
  3136. "items": {
  3137. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3138. }
  3139. }
  3140. },
  3141. "500": {
  3142. "description": "Internal Server Error",
  3143. "schema": {
  3144. "$ref": "#/definitions/app.Response"
  3145. }
  3146. }
  3147. }
  3148. }
  3149. },
  3150. "/Ermcp3/QryAreaStockReport": {
  3151. "get": {
  3152. "security": [
  3153. {
  3154. "ApiKeyAuth": []
  3155. }
  3156. ],
  3157. "produces": [
  3158. "application/json"
  3159. ],
  3160. "tags": [
  3161. "企业风险管理v3(app)"
  3162. ],
  3163. "summary": "查询库存报表",
  3164. "parameters": [
  3165. {
  3166. "type": "integer",
  3167. "description": "用户ID",
  3168. "name": "userid",
  3169. "in": "query",
  3170. "required": true
  3171. },
  3172. {
  3173. "type": "integer",
  3174. "description": "查询类型 1-报表 2-报表明细",
  3175. "name": "querytype",
  3176. "in": "query",
  3177. "required": true
  3178. },
  3179. {
  3180. "type": "integer",
  3181. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3182. "name": "cycletype",
  3183. "in": "query",
  3184. "required": true
  3185. },
  3186. {
  3187. "type": "string",
  3188. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3189. "name": "cycletime",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "string",
  3195. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3196. "name": "sumfields",
  3197. "in": "query"
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "品种ID",
  3202. "name": "deliverygoodsid",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品类ID",
  3208. "name": "wrstandardid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品牌ID",
  3214. "name": "spotgoodsbrandid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "仓库ID",
  3220. "name": "warehouseinfoid",
  3221. "in": "query"
  3222. }
  3223. ],
  3224. "responses": {
  3225. "200": {
  3226. "description": "OK",
  3227. "schema": {
  3228. "type": "array",
  3229. "items": {
  3230. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3231. }
  3232. }
  3233. },
  3234. "500": {
  3235. "description": "Internal Server Error",
  3236. "schema": {
  3237. "$ref": "#/definitions/app.Response"
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. "/Ermcp3/QryAreaSumPL": {
  3244. "get": {
  3245. "security": [
  3246. {
  3247. "ApiKeyAuth": []
  3248. }
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "企业风险管理v3(app)"
  3255. ],
  3256. "summary": "查询汇总损益表",
  3257. "parameters": [
  3258. {
  3259. "type": "integer",
  3260. "description": "用户ID",
  3261. "name": "userid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "查询类型 1-报表 2-报表明细",
  3268. "name": "querytype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "integer",
  3274. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3275. "name": "cycletype",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3282. "name": "cycletime",
  3283. "in": "query",
  3284. "required": true
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "币种id(明细必填)",
  3289. "name": "currencyid",
  3290. "in": "query"
  3291. }
  3292. ],
  3293. "responses": {
  3294. "200": {
  3295. "description": "OK",
  3296. "schema": {
  3297. "type": "array",
  3298. "items": {
  3299. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3300. }
  3301. }
  3302. },
  3303. "500": {
  3304. "description": "Internal Server Error",
  3305. "schema": {
  3306. "$ref": "#/definitions/app.Response"
  3307. }
  3308. }
  3309. }
  3310. }
  3311. },
  3312. "/Ermcp3/QryFinanceReport": {
  3313. "get": {
  3314. "security": [
  3315. {
  3316. "ApiKeyAuth": []
  3317. }
  3318. ],
  3319. "produces": [
  3320. "application/json"
  3321. ],
  3322. "tags": [
  3323. "企业风险管理v3(app)"
  3324. ],
  3325. "summary": "查询财务报表",
  3326. "parameters": [
  3327. {
  3328. "type": "integer",
  3329. "description": "用户ID",
  3330. "name": "userid",
  3331. "in": "query",
  3332. "required": true
  3333. },
  3334. {
  3335. "type": "integer",
  3336. "description": "查询类型 1-报表 2-报表明细",
  3337. "name": "querytype",
  3338. "in": "query",
  3339. "required": true
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3344. "name": "cycletype",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "string",
  3350. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3351. "name": "cycletime",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "币种id(报表明细必填)",
  3358. "name": "currencyid",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "string",
  3363. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3364. "name": "sumfields",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3375. }
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/Ermcp3/QryTaFutureDataReport": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "企业风险管理v3(app)"
  3399. ],
  3400. "summary": "查询期货报表",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "用户ID",
  3405. "name": "userid",
  3406. "in": "query",
  3407. "required": true
  3408. },
  3409. {
  3410. "type": "integer",
  3411. "description": "查询类型 1-报表 2-报表明细",
  3412. "name": "querytype",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3419. "name": "cycletype",
  3420. "in": "query",
  3421. "required": true
  3422. },
  3423. {
  3424. "type": "string",
  3425. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3426. "name": "cycletime",
  3427. "in": "query",
  3428. "required": true
  3429. },
  3430. {
  3431. "type": "integer",
  3432. "description": "币种id(查明细必填)",
  3433. "name": "currencyid",
  3434. "in": "query"
  3435. },
  3436. {
  3437. "type": "integer",
  3438. "description": "品种id(查明细必填)",
  3439. "name": "goodsgroupid",
  3440. "in": "query"
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "商品id(查明细必填)",
  3445. "name": "goodsid",
  3446. "in": "query"
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": "买卖方向(查明细必填)",
  3451. "name": "buyorsell",
  3452. "in": "query"
  3453. }
  3454. ],
  3455. "responses": {
  3456. "200": {
  3457. "description": "OK",
  3458. "schema": {
  3459. "type": "array",
  3460. "items": {
  3461. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3462. }
  3463. }
  3464. },
  3465. "500": {
  3466. "description": "Internal Server Error",
  3467. "schema": {
  3468. "$ref": "#/definitions/app.Response"
  3469. }
  3470. }
  3471. }
  3472. }
  3473. },
  3474. "/Ermcp3/QueryAreaStock": {
  3475. "get": {
  3476. "security": [
  3477. {
  3478. "ApiKeyAuth": []
  3479. }
  3480. ],
  3481. "produces": [
  3482. "application/json"
  3483. ],
  3484. "tags": [
  3485. "企业风险管理v3(app)"
  3486. ],
  3487. "summary": "查询机构库存(库存管理/当前库存)",
  3488. "parameters": [
  3489. {
  3490. "type": "integer",
  3491. "description": "用户ID",
  3492. "name": "userid",
  3493. "in": "query",
  3494. "required": true
  3495. }
  3496. ],
  3497. "responses": {
  3498. "200": {
  3499. "description": "OK",
  3500. "schema": {
  3501. "type": "array",
  3502. "items": {
  3503. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3504. }
  3505. }
  3506. },
  3507. "500": {
  3508. "description": "Internal Server Error",
  3509. "schema": {
  3510. "$ref": "#/definitions/app.Response"
  3511. }
  3512. }
  3513. }
  3514. }
  3515. },
  3516. "/Ermcp3/QueryAreaStockApply": {
  3517. "get": {
  3518. "security": [
  3519. {
  3520. "ApiKeyAuth": []
  3521. }
  3522. ],
  3523. "produces": [
  3524. "application/json"
  3525. ],
  3526. "tags": [
  3527. "企业风险管理v3(app)"
  3528. ],
  3529. "summary": "查询库存申请(出入库记录|库存审核)",
  3530. "parameters": [
  3531. {
  3532. "type": "integer",
  3533. "description": "用户ID",
  3534. "name": "userid",
  3535. "in": "query",
  3536. "required": true
  3537. },
  3538. {
  3539. "type": "integer",
  3540. "description": "用户类型 2-机构 7-企业成员",
  3541. "name": "usertype",
  3542. "in": "query"
  3543. },
  3544. {
  3545. "type": "integer",
  3546. "description": "现货商品ID",
  3547. "name": "deliverygoodsid",
  3548. "in": "query"
  3549. },
  3550. {
  3551. "type": "string",
  3552. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3553. "name": "inouttype",
  3554. "in": "query"
  3555. },
  3556. {
  3557. "type": "integer",
  3558. "description": "合同ID",
  3559. "name": "spotcontractid",
  3560. "in": "query"
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "品类ID",
  3565. "name": "wrstandardid",
  3566. "in": "query"
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "品牌ID",
  3571. "name": "spotgoodsbrandid",
  3572. "in": "query"
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "仓库ID",
  3577. "name": "warehouseinfoid",
  3578. "in": "query"
  3579. },
  3580. {
  3581. "type": "string",
  3582. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3583. "name": "applystatus",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QueryAreaStockApplySum": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "合同ID",
  3624. "name": "spotcontractid",
  3625. "in": "query"
  3626. }
  3627. ],
  3628. "responses": {
  3629. "200": {
  3630. "description": "OK",
  3631. "schema": {
  3632. "type": "array",
  3633. "items": {
  3634. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3635. }
  3636. }
  3637. },
  3638. "500": {
  3639. "description": "Internal Server Error",
  3640. "schema": {
  3641. "$ref": "#/definitions/app.Response"
  3642. }
  3643. }
  3644. }
  3645. }
  3646. },
  3647. "/Ermcp3/QueryDGFactoryItem": {
  3648. "get": {
  3649. "security": [
  3650. {
  3651. "ApiKeyAuth": []
  3652. }
  3653. ],
  3654. "produces": [
  3655. "application/json"
  3656. ],
  3657. "tags": [
  3658. "企业风险管理v3(app)"
  3659. ],
  3660. "summary": "查询品种要素定义项",
  3661. "parameters": [
  3662. {
  3663. "type": "integer",
  3664. "description": "用户id",
  3665. "name": "userid",
  3666. "in": "query"
  3667. },
  3668. {
  3669. "type": "integer",
  3670. "description": "用户类型 2-机构 7-企业成员",
  3671. "name": "usertype",
  3672. "in": "query"
  3673. },
  3674. {
  3675. "type": "integer",
  3676. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3677. "name": "dgfactoryitemid",
  3678. "in": "query"
  3679. },
  3680. {
  3681. "type": "integer",
  3682. "description": "现货品种ID",
  3683. "name": "deliverygoodsid",
  3684. "in": "query"
  3685. },
  3686. {
  3687. "type": "integer",
  3688. "description": "要素项类型",
  3689. "name": "dgfactoryitemtypeid",
  3690. "in": "query"
  3691. },
  3692. {
  3693. "type": "integer",
  3694. "description": "顺序",
  3695. "name": "orderindex",
  3696. "in": "query"
  3697. }
  3698. ],
  3699. "responses": {
  3700. "200": {
  3701. "description": "OK",
  3702. "schema": {
  3703. "type": "array",
  3704. "items": {
  3705. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3706. }
  3707. }
  3708. },
  3709. "500": {
  3710. "description": "Internal Server Error",
  3711. "schema": {
  3712. "$ref": "#/definitions/app.Response"
  3713. }
  3714. }
  3715. }
  3716. }
  3717. },
  3718. "/Ermcp3/QueryDeliveryGoods": {
  3719. "get": {
  3720. "security": [
  3721. {
  3722. "ApiKeyAuth": []
  3723. }
  3724. ],
  3725. "produces": [
  3726. "application/json"
  3727. ],
  3728. "tags": [
  3729. "企业风险管理v3(app)"
  3730. ],
  3731. "summary": "查询现货商品",
  3732. "parameters": [
  3733. {
  3734. "type": "integer",
  3735. "description": "用户id",
  3736. "name": "userid",
  3737. "in": "query",
  3738. "required": true
  3739. },
  3740. {
  3741. "type": "integer",
  3742. "description": "用户类型 2-机构 7-企业成员",
  3743. "name": "usertype",
  3744. "in": "query"
  3745. },
  3746. {
  3747. "type": "integer",
  3748. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3749. "name": "excludecfg",
  3750. "in": "query"
  3751. }
  3752. ],
  3753. "responses": {
  3754. "200": {
  3755. "description": "OK",
  3756. "schema": {
  3757. "type": "array",
  3758. "items": {
  3759. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3760. }
  3761. }
  3762. },
  3763. "500": {
  3764. "description": "Internal Server Error",
  3765. "schema": {
  3766. "$ref": "#/definitions/app.Response"
  3767. }
  3768. }
  3769. }
  3770. }
  3771. },
  3772. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3773. "get": {
  3774. "security": [
  3775. {
  3776. "ApiKeyAuth": []
  3777. }
  3778. ],
  3779. "produces": [
  3780. "application/json"
  3781. ],
  3782. "tags": [
  3783. "企业风险管理v3(app)"
  3784. ],
  3785. "summary": "查询现货商品详情",
  3786. "parameters": [
  3787. {
  3788. "type": "integer",
  3789. "description": "用户id",
  3790. "name": "userid",
  3791. "in": "query",
  3792. "required": true
  3793. },
  3794. {
  3795. "type": "integer",
  3796. "description": "用户类型 2-机构 7-企业成员",
  3797. "name": "usertype",
  3798. "in": "query"
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "现货商品id",
  3803. "name": "deliverygoodsid",
  3804. "in": "query"
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "type": "array",
  3812. "items": {
  3813. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3814. }
  3815. }
  3816. },
  3817. "500": {
  3818. "description": "Internal Server Error",
  3819. "schema": {
  3820. "$ref": "#/definitions/app.Response"
  3821. }
  3822. }
  3823. }
  3824. }
  3825. },
  3826. "/Ermcp3/QueryExposureDetail": {
  3827. "get": {
  3828. "security": [
  3829. {
  3830. "ApiKeyAuth": []
  3831. }
  3832. ],
  3833. "produces": [
  3834. "application/json"
  3835. ],
  3836. "tags": [
  3837. "企业风险管理v3(app)"
  3838. ],
  3839. "summary": "查询敞口现货明细",
  3840. "parameters": [
  3841. {
  3842. "type": "integer",
  3843. "description": "用户id",
  3844. "name": "userid",
  3845. "in": "query",
  3846. "required": true
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "用户类型 2-机构 7-企业成员",
  3851. "name": "usertype",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "套保商品",
  3857. "name": "middlegoodsid",
  3858. "in": "query",
  3859. "required": true
  3860. }
  3861. ],
  3862. "responses": {
  3863. "200": {
  3864. "description": "OK",
  3865. "schema": {
  3866. "type": "array",
  3867. "items": {
  3868. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3869. }
  3870. }
  3871. },
  3872. "500": {
  3873. "description": "Internal Server Error",
  3874. "schema": {
  3875. "$ref": "#/definitions/app.Response"
  3876. }
  3877. }
  3878. }
  3879. }
  3880. },
  3881. "/Ermcp3/QueryExposureSpot": {
  3882. "get": {
  3883. "security": [
  3884. {
  3885. "ApiKeyAuth": []
  3886. }
  3887. ],
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "企业风险管理v3(app)"
  3893. ],
  3894. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "用户id",
  3899. "name": "userid",
  3900. "in": "query",
  3901. "required": true
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. }
  3909. ],
  3910. "responses": {
  3911. "200": {
  3912. "description": "OK",
  3913. "schema": {
  3914. "type": "array",
  3915. "items": {
  3916. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3917. }
  3918. }
  3919. },
  3920. "500": {
  3921. "description": "Internal Server Error",
  3922. "schema": {
  3923. "$ref": "#/definitions/app.Response"
  3924. }
  3925. }
  3926. }
  3927. }
  3928. },
  3929. "/Ermcp3/QueryExposureSpotDetail": {
  3930. "get": {
  3931. "security": [
  3932. {
  3933. "ApiKeyAuth": []
  3934. }
  3935. ],
  3936. "produces": [
  3937. "application/json"
  3938. ],
  3939. "tags": [
  3940. "企业风险管理v3(app)"
  3941. ],
  3942. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3943. "parameters": [
  3944. {
  3945. "type": "integer",
  3946. "description": "用户id",
  3947. "name": "userid",
  3948. "in": "query",
  3949. "required": true
  3950. },
  3951. {
  3952. "type": "integer",
  3953. "description": "用户类型 2-机构 7-企业成员",
  3954. "name": "usertype",
  3955. "in": "query"
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "现货品种ID",
  3960. "name": "deliverygoodsid",
  3961. "in": "query",
  3962. "required": true
  3963. }
  3964. ],
  3965. "responses": {
  3966. "200": {
  3967. "description": "OK",
  3968. "schema": {
  3969. "type": "array",
  3970. "items": {
  3971. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3972. }
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/Ermcp3/QueryGoodsGroup": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "企业风险管理v3(app)"
  3996. ],
  3997. "summary": "查询期货商品组",
  3998. "parameters": [
  3999. {
  4000. "type": "integer",
  4001. "description": "用户id",
  4002. "name": "userid",
  4003. "in": "query",
  4004. "required": true
  4005. },
  4006. {
  4007. "type": "integer",
  4008. "description": "用户类型 2-机构 7-企业成员",
  4009. "name": "usertype",
  4010. "in": "query"
  4011. },
  4012. {
  4013. "type": "integer",
  4014. "description": "排除套保品中已关联的商品组 1-排除",
  4015. "name": "excludecfg",
  4016. "in": "query"
  4017. }
  4018. ],
  4019. "responses": {
  4020. "200": {
  4021. "description": "OK",
  4022. "schema": {
  4023. "type": "array",
  4024. "items": {
  4025. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4026. }
  4027. }
  4028. },
  4029. "500": {
  4030. "description": "Internal Server Error",
  4031. "schema": {
  4032. "$ref": "#/definitions/app.Response"
  4033. }
  4034. }
  4035. }
  4036. }
  4037. },
  4038. "/Ermcp3/QueryGoodsWrstandard": {
  4039. "get": {
  4040. "security": [
  4041. {
  4042. "ApiKeyAuth": []
  4043. }
  4044. ],
  4045. "produces": [
  4046. "application/json"
  4047. ],
  4048. "tags": [
  4049. "企业风险管理v3(app)"
  4050. ],
  4051. "summary": "查询商品品类",
  4052. "parameters": [
  4053. {
  4054. "type": "integer",
  4055. "description": "用户id",
  4056. "name": "userid",
  4057. "in": "query",
  4058. "required": true
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "用户类型 2-机构 7-企业成员",
  4063. "name": "usertype",
  4064. "in": "query"
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": "现货商品id",
  4069. "name": "deliverygoodsid",
  4070. "in": "query"
  4071. }
  4072. ],
  4073. "responses": {
  4074. "200": {
  4075. "description": "OK",
  4076. "schema": {
  4077. "type": "array",
  4078. "items": {
  4079. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4080. }
  4081. }
  4082. },
  4083. "500": {
  4084. "description": "Internal Server Error",
  4085. "schema": {
  4086. "$ref": "#/definitions/app.Response"
  4087. }
  4088. }
  4089. }
  4090. }
  4091. },
  4092. "/Ermcp3/QueryGoodsbrand": {
  4093. "get": {
  4094. "security": [
  4095. {
  4096. "ApiKeyAuth": []
  4097. }
  4098. ],
  4099. "produces": [
  4100. "application/json"
  4101. ],
  4102. "tags": [
  4103. "企业风险管理v3(app)"
  4104. ],
  4105. "summary": "查询商品品牌",
  4106. "parameters": [
  4107. {
  4108. "type": "integer",
  4109. "description": "用户id",
  4110. "name": "userid",
  4111. "in": "query",
  4112. "required": true
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "用户类型 2-机构 7-企业成员",
  4117. "name": "usertype",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.Ermcp3Brand"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryHedgePlan": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询套保计划",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户ID",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "string",
  4170. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4171. "name": "hedgeplanstatus",
  4172. "in": "query",
  4173. "required": true
  4174. }
  4175. ],
  4176. "responses": {
  4177. "200": {
  4178. "description": "OK",
  4179. "schema": {
  4180. "type": "array",
  4181. "items": {
  4182. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4183. }
  4184. }
  4185. },
  4186. "500": {
  4187. "description": "Internal Server Error",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. }
  4192. }
  4193. }
  4194. },
  4195. "/Ermcp3/QueryMiddleGoodsDetail": {
  4196. "get": {
  4197. "security": [
  4198. {
  4199. "ApiKeyAuth": []
  4200. }
  4201. ],
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "企业风险管理v3(app)"
  4207. ],
  4208. "summary": "查询套保品种详情(套保品种/商品详情)",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "用户id",
  4213. "name": "userid",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "用户类型 2-机构 7-企业成员",
  4220. "name": "usertype",
  4221. "in": "query"
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "套保品种id",
  4226. "name": "middlegoodsid",
  4227. "in": "query"
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QuerySpotContract": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询现货合同",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4280. "name": "querytype",
  4281. "in": "query",
  4282. "required": true
  4283. },
  4284. {
  4285. "type": "string",
  4286. "description": "合同ID(SpotContractId)",
  4287. "name": "contractid",
  4288. "in": "query"
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3Contract"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QuerySpotContractBS": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询合同(采购/销售)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. },
  4338. {
  4339. "type": "integer",
  4340. "description": "合同类型 1-采购, -1-销售",
  4341. "name": "contracttype",
  4342. "in": "query",
  4343. "required": true
  4344. },
  4345. {
  4346. "type": "integer",
  4347. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4348. "name": "querytype",
  4349. "in": "query",
  4350. "required": true
  4351. },
  4352. {
  4353. "type": "string",
  4354. "description": "合同ID(SpotContractId)",
  4355. "name": "contractid",
  4356. "in": "query"
  4357. }
  4358. ],
  4359. "responses": {
  4360. "200": {
  4361. "description": "OK",
  4362. "schema": {
  4363. "type": "array",
  4364. "items": {
  4365. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4366. }
  4367. }
  4368. },
  4369. "500": {
  4370. "description": "Internal Server Error",
  4371. "schema": {
  4372. "$ref": "#/definitions/app.Response"
  4373. }
  4374. }
  4375. }
  4376. }
  4377. },
  4378. "/Ermcp3/QuerySpotGoodsPrice": {
  4379. "get": {
  4380. "security": [
  4381. {
  4382. "ApiKeyAuth": []
  4383. }
  4384. ],
  4385. "produces": [
  4386. "application/json"
  4387. ],
  4388. "tags": [
  4389. "企业风险管理v3(app)"
  4390. ],
  4391. "summary": "查询现货市价(现货市价)",
  4392. "parameters": [
  4393. {
  4394. "type": "integer",
  4395. "description": "用户ID",
  4396. "name": "userid",
  4397. "in": "query",
  4398. "required": true
  4399. }
  4400. ],
  4401. "responses": {
  4402. "200": {
  4403. "description": "OK",
  4404. "schema": {
  4405. "type": "array",
  4406. "items": {
  4407. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4408. }
  4409. }
  4410. },
  4411. "500": {
  4412. "description": "Internal Server Error",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4421. "get": {
  4422. "security": [
  4423. {
  4424. "ApiKeyAuth": []
  4425. }
  4426. ],
  4427. "produces": [
  4428. "application/json"
  4429. ],
  4430. "tags": [
  4431. "企业风险管理v3(app)"
  4432. ],
  4433. "summary": "查询现货市价详情(现货市价/详情)",
  4434. "parameters": [
  4435. {
  4436. "type": "integer",
  4437. "description": "用户ID",
  4438. "name": "userid",
  4439. "in": "query",
  4440. "required": true
  4441. },
  4442. {
  4443. "type": "integer",
  4444. "description": "现货商品ID",
  4445. "name": "deliverygoodsid",
  4446. "in": "query",
  4447. "required": true
  4448. },
  4449. {
  4450. "type": "integer",
  4451. "description": "品牌ID",
  4452. "name": "brandid",
  4453. "in": "query"
  4454. },
  4455. {
  4456. "type": "integer",
  4457. "description": "品类ID",
  4458. "name": "wrstandardid",
  4459. "in": "query"
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "type": "array",
  4467. "items": {
  4468. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4469. }
  4470. }
  4471. },
  4472. "500": {
  4473. "description": "Internal Server Error",
  4474. "schema": {
  4475. "$ref": "#/definitions/app.Response"
  4476. }
  4477. }
  4478. }
  4479. }
  4480. },
  4481. "/Erms2/QueryArbitrageStrategy": {
  4482. "get": {
  4483. "security": [
  4484. {
  4485. "ApiKeyAuth": []
  4486. }
  4487. ],
  4488. "produces": [
  4489. "application/json"
  4490. ],
  4491. "tags": [
  4492. "风险管理"
  4493. ],
  4494. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4495. "parameters": [
  4496. {
  4497. "type": "integer",
  4498. "description": "账户ID",
  4499. "name": "userid",
  4500. "in": "query",
  4501. "required": true
  4502. },
  4503. {
  4504. "type": "string",
  4505. "description": "商品组ID(品种ID)",
  4506. "name": "goodsgroupid",
  4507. "in": "query"
  4508. }
  4509. ],
  4510. "responses": {
  4511. "200": {
  4512. "description": "OK",
  4513. "schema": {
  4514. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Erms2/QueryInnerTradeDetail": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "风险管理"
  4538. ],
  4539. "summary": "查询内部成交单信息",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "资金账户",
  4544. "name": "accountid",
  4545. "in": "query",
  4546. "required": true
  4547. }
  4548. ],
  4549. "responses": {
  4550. "200": {
  4551. "description": "OK",
  4552. "schema": {
  4553. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4554. }
  4555. },
  4556. "500": {
  4557. "description": "Internal Server Error",
  4558. "schema": {
  4559. "$ref": "#/definitions/app.Response"
  4560. }
  4561. }
  4562. }
  4563. }
  4564. },
  4565. "/Erms2/QuerySpotContract": {
  4566. "get": {
  4567. "security": [
  4568. {
  4569. "ApiKeyAuth": []
  4570. }
  4571. ],
  4572. "produces": [
  4573. "application/json"
  4574. ],
  4575. "tags": [
  4576. "风险管理"
  4577. ],
  4578. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4579. "parameters": [
  4580. {
  4581. "type": "integer",
  4582. "description": "策略申请ID",
  4583. "name": "asapplyid",
  4584. "in": "query",
  4585. "required": true
  4586. },
  4587. {
  4588. "type": "integer",
  4589. "description": "现货合同ID",
  4590. "name": "spotcontractid",
  4591. "in": "query"
  4592. }
  4593. ],
  4594. "responses": {
  4595. "200": {
  4596. "description": "OK",
  4597. "schema": {
  4598. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4599. }
  4600. },
  4601. "500": {
  4602. "description": "Internal Server Error",
  4603. "schema": {
  4604. "$ref": "#/definitions/app.Response"
  4605. }
  4606. }
  4607. }
  4608. }
  4609. },
  4610. "/Erms3/AddErms2ASApply": {
  4611. "post": {
  4612. "security": [
  4613. {
  4614. "ApiKeyAuth": []
  4615. }
  4616. ],
  4617. "produces": [
  4618. "application/json"
  4619. ],
  4620. "tags": [
  4621. "风险管理v3"
  4622. ],
  4623. "summary": "新增期现套利业务申请",
  4624. "parameters": [
  4625. {
  4626. "description": "申请参数",
  4627. "name": "jsonBody",
  4628. "in": "body",
  4629. "required": true,
  4630. "schema": {
  4631. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4632. }
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "$ref": "#/definitions/app.Response"
  4640. }
  4641. },
  4642. "500": {
  4643. "description": "Internal Server Error",
  4644. "schema": {
  4645. "$ref": "#/definitions/app.Response"
  4646. }
  4647. }
  4648. }
  4649. }
  4650. },
  4651. "/Erms3/AddErms2SpotTradeApply": {
  4652. "post": {
  4653. "security": [
  4654. {
  4655. "ApiKeyAuth": []
  4656. }
  4657. ],
  4658. "produces": [
  4659. "application/json"
  4660. ],
  4661. "tags": [
  4662. "风险管理v3"
  4663. ],
  4664. "summary": "新增现货贸易业务申请",
  4665. "parameters": [
  4666. {
  4667. "description": "申请参数",
  4668. "name": "jsonBody",
  4669. "in": "body",
  4670. "required": true,
  4671. "schema": {
  4672. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4673. }
  4674. }
  4675. ],
  4676. "responses": {
  4677. "200": {
  4678. "description": "OK",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Erms3/AddSpotContractApply": {
  4693. "post": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "produces": [
  4700. "application/json"
  4701. ],
  4702. "tags": [
  4703. "风险管理v3"
  4704. ],
  4705. "summary": "新增现货合同申请",
  4706. "parameters": [
  4707. {
  4708. "description": "申请参数",
  4709. "name": "jsonBody",
  4710. "in": "body",
  4711. "required": true,
  4712. "schema": {
  4713. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4714. }
  4715. }
  4716. ],
  4717. "responses": {
  4718. "200": {
  4719. "description": "OK",
  4720. "schema": {
  4721. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4722. }
  4723. },
  4724. "500": {
  4725. "description": "Internal Server Error",
  4726. "schema": {
  4727. "$ref": "#/definitions/app.Response"
  4728. }
  4729. }
  4730. }
  4731. }
  4732. },
  4733. "/Erms3/AddUserInfoApply": {
  4734. "post": {
  4735. "security": [
  4736. {
  4737. "ApiKeyAuth": []
  4738. }
  4739. ],
  4740. "produces": [
  4741. "application/json"
  4742. ],
  4743. "tags": [
  4744. "风险管理v3"
  4745. ],
  4746. "summary": "新增客户申请",
  4747. "parameters": [
  4748. {
  4749. "description": "用户信息",
  4750. "name": "jsonBody",
  4751. "in": "body",
  4752. "required": true,
  4753. "schema": {
  4754. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4755. }
  4756. }
  4757. ],
  4758. "responses": {
  4759. "200": {
  4760. "description": "OK",
  4761. "schema": {
  4762. "$ref": "#/definitions/app.Response"
  4763. }
  4764. },
  4765. "500": {
  4766. "description": "Internal Server Error",
  4767. "schema": {
  4768. "$ref": "#/definitions/app.Response"
  4769. }
  4770. }
  4771. }
  4772. }
  4773. },
  4774. "/Erms3/DeleteUserInfoApply": {
  4775. "get": {
  4776. "security": [
  4777. {
  4778. "ApiKeyAuth": []
  4779. }
  4780. ],
  4781. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "风险管理v3"
  4787. ],
  4788. "summary": "删除客户申请",
  4789. "parameters": [
  4790. {
  4791. "type": "integer",
  4792. "description": "用户ID",
  4793. "name": "userID",
  4794. "in": "query",
  4795. "required": true
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "$ref": "#/definitions/app.Response"
  4803. }
  4804. },
  4805. "500": {
  4806. "description": "Internal Server Error",
  4807. "schema": {
  4808. "$ref": "#/definitions/app.Response"
  4809. }
  4810. }
  4811. }
  4812. }
  4813. },
  4814. "/Erms3/ModifyUserInfoApply": {
  4815. "post": {
  4816. "security": [
  4817. {
  4818. "ApiKeyAuth": []
  4819. }
  4820. ],
  4821. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4822. "produces": [
  4823. "application/json"
  4824. ],
  4825. "tags": [
  4826. "风险管理v3"
  4827. ],
  4828. "summary": "修改客户申请",
  4829. "parameters": [
  4830. {
  4831. "description": "用户信息",
  4832. "name": "jsonBody",
  4833. "in": "body",
  4834. "required": true,
  4835. "schema": {
  4836. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4837. }
  4838. }
  4839. ],
  4840. "responses": {
  4841. "200": {
  4842. "description": "OK",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. },
  4847. "500": {
  4848. "description": "Internal Server Error",
  4849. "schema": {
  4850. "$ref": "#/definitions/app.Response"
  4851. }
  4852. }
  4853. }
  4854. }
  4855. },
  4856. "/Erms3/QueryBusinessInfo": {
  4857. "get": {
  4858. "security": [
  4859. {
  4860. "ApiKeyAuth": []
  4861. }
  4862. ],
  4863. "produces": [
  4864. "application/json"
  4865. ],
  4866. "tags": [
  4867. "风险管理v3"
  4868. ],
  4869. "summary": "查询业务表单数据",
  4870. "parameters": [
  4871. {
  4872. "type": "string",
  4873. "description": "资金账号ID列表,用逗号分隔",
  4874. "name": "accountids",
  4875. "in": "query",
  4876. "required": true
  4877. },
  4878. {
  4879. "type": "integer",
  4880. "description": "状态,0为未结束 1为已结束",
  4881. "name": "status",
  4882. "in": "query",
  4883. "required": true
  4884. }
  4885. ],
  4886. "responses": {
  4887. "200": {
  4888. "description": "OK",
  4889. "schema": {
  4890. "type": "array",
  4891. "items": {
  4892. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4893. }
  4894. }
  4895. },
  4896. "500": {
  4897. "description": "Internal Server Error",
  4898. "schema": {
  4899. "$ref": "#/definitions/app.Response"
  4900. }
  4901. }
  4902. }
  4903. }
  4904. },
  4905. "/Erms3/QueryPendingAuditContract": {
  4906. "get": {
  4907. "security": [
  4908. {
  4909. "ApiKeyAuth": []
  4910. }
  4911. ],
  4912. "produces": [
  4913. "application/json"
  4914. ],
  4915. "tags": [
  4916. "风险管理v3"
  4917. ],
  4918. "summary": "查询待审核合同",
  4919. "parameters": [
  4920. {
  4921. "type": "string",
  4922. "description": "资金账号ID列表,逗号隔开",
  4923. "name": "accountids",
  4924. "in": "query",
  4925. "required": true
  4926. },
  4927. {
  4928. "type": "integer",
  4929. "description": "合同类型 1-采购 -1-销售",
  4930. "name": "contracttype",
  4931. "in": "query",
  4932. "required": true
  4933. },
  4934. {
  4935. "type": "integer",
  4936. "description": "合同模式 1-普通 2-回购",
  4937. "name": "contractmode",
  4938. "in": "query",
  4939. "required": true
  4940. }
  4941. ],
  4942. "responses": {
  4943. "200": {
  4944. "description": "OK",
  4945. "schema": {
  4946. "type": "array",
  4947. "items": {
  4948. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4949. }
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Erms3/QueryPendingBusiness": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "风险管理v3"
  4973. ],
  4974. "summary": "查询待审核基差贸易业务",
  4975. "parameters": [
  4976. {
  4977. "type": "string",
  4978. "description": "资金账号ID列表,逗号隔开",
  4979. "name": "accountids",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "type": "array",
  4989. "items": {
  4990. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4991. }
  4992. }
  4993. },
  4994. "500": {
  4995. "description": "Internal Server Error",
  4996. "schema": {
  4997. "$ref": "#/definitions/app.Response"
  4998. }
  4999. }
  5000. }
  5001. }
  5002. },
  5003. "/Erms3/QuerySpotContractAppleForm": {
  5004. "get": {
  5005. "security": [
  5006. {
  5007. "ApiKeyAuth": []
  5008. }
  5009. ],
  5010. "produces": [
  5011. "application/json"
  5012. ],
  5013. "tags": [
  5014. "风险管理v3"
  5015. ],
  5016. "summary": "查询合同申请表单数据",
  5017. "parameters": [
  5018. {
  5019. "type": "integer",
  5020. "description": "登录账号",
  5021. "name": "loginID",
  5022. "in": "query",
  5023. "required": true
  5024. }
  5025. ],
  5026. "responses": {
  5027. "200": {
  5028. "description": "OK",
  5029. "schema": {
  5030. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5031. }
  5032. },
  5033. "500": {
  5034. "description": "Internal Server Error",
  5035. "schema": {
  5036. "$ref": "#/definitions/app.Response"
  5037. }
  5038. }
  5039. }
  5040. }
  5041. },
  5042. "/Erms3/QuerySpotContractDetail": {
  5043. "get": {
  5044. "security": [
  5045. {
  5046. "ApiKeyAuth": []
  5047. }
  5048. ],
  5049. "produces": [
  5050. "application/json"
  5051. ],
  5052. "tags": [
  5053. "风险管理v3"
  5054. ],
  5055. "summary": "查询合同详细信息",
  5056. "parameters": [
  5057. {
  5058. "type": "string",
  5059. "description": "资金账号ID列表,用逗号分隔",
  5060. "name": "accountids",
  5061. "in": "query",
  5062. "required": true
  5063. },
  5064. {
  5065. "type": "integer",
  5066. "description": "合同类型,1为采购合同 -1为销售合同",
  5067. "name": "contracttype",
  5068. "in": "query",
  5069. "required": true
  5070. },
  5071. {
  5072. "type": "integer",
  5073. "description": "合同模式,1为普通合同 2为回购销售合同",
  5074. "name": "contractmode",
  5075. "in": "query",
  5076. "required": true
  5077. },
  5078. {
  5079. "type": "integer",
  5080. "description": "状态,0为履约中 1为已完成",
  5081. "name": "status",
  5082. "in": "query",
  5083. "required": true
  5084. }
  5085. ],
  5086. "responses": {
  5087. "200": {
  5088. "description": "OK",
  5089. "schema": {
  5090. "type": "array",
  5091. "items": {
  5092. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5093. }
  5094. }
  5095. },
  5096. "500": {
  5097. "description": "Internal Server Error",
  5098. "schema": {
  5099. "$ref": "#/definitions/app.Response"
  5100. }
  5101. }
  5102. }
  5103. }
  5104. },
  5105. "/Erms3/QueryUserInfoApplies": {
  5106. "get": {
  5107. "security": [
  5108. {
  5109. "ApiKeyAuth": []
  5110. }
  5111. ],
  5112. "produces": [
  5113. "application/json"
  5114. ],
  5115. "tags": [
  5116. "风险管理v3"
  5117. ],
  5118. "summary": "客户申请信息查询",
  5119. "parameters": [
  5120. {
  5121. "type": "integer",
  5122. "description": "页码",
  5123. "name": "page",
  5124. "in": "query"
  5125. },
  5126. {
  5127. "type": "integer",
  5128. "description": "每页条数",
  5129. "name": "pagesize",
  5130. "in": "query"
  5131. },
  5132. {
  5133. "type": "string",
  5134. "description": "客户名称,支持模糊查询",
  5135. "name": "userName",
  5136. "in": "query"
  5137. }
  5138. ],
  5139. "responses": {
  5140. "200": {
  5141. "description": "OK",
  5142. "schema": {
  5143. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Erms3/QueryUserInfos": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "风险管理v3"
  5167. ],
  5168. "summary": "客户信息查询",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "页码",
  5173. "name": "page",
  5174. "in": "query"
  5175. },
  5176. {
  5177. "type": "integer",
  5178. "description": "每页条数",
  5179. "name": "pagesize",
  5180. "in": "query"
  5181. },
  5182. {
  5183. "type": "string",
  5184. "description": "客户名称,支持模糊查询",
  5185. "name": "userName",
  5186. "in": "query"
  5187. }
  5188. ],
  5189. "responses": {
  5190. "200": {
  5191. "description": "OK",
  5192. "schema": {
  5193. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5194. }
  5195. },
  5196. "500": {
  5197. "description": "Internal Server Error",
  5198. "schema": {
  5199. "$ref": "#/definitions/app.Response"
  5200. }
  5201. }
  5202. }
  5203. }
  5204. },
  5205. "/HSBY/GetHsbyMyCount": {
  5206. "get": {
  5207. "security": [
  5208. {
  5209. "ApiKeyAuth": []
  5210. }
  5211. ],
  5212. "description": "说明: 不包括已完成的数量。",
  5213. "produces": [
  5214. "application/json"
  5215. ],
  5216. "tags": [
  5217. "定制【海商报业】"
  5218. ],
  5219. "summary": "获取我的订单与包裹数量",
  5220. "parameters": [
  5221. {
  5222. "type": "string",
  5223. "description": "资金账户列表,格式:1,2,3",
  5224. "name": "accountIDs",
  5225. "in": "query",
  5226. "required": true
  5227. }
  5228. ],
  5229. "responses": {
  5230. "200": {
  5231. "description": "OK",
  5232. "schema": {
  5233. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5234. }
  5235. },
  5236. "500": {
  5237. "description": "Internal Server Error",
  5238. "schema": {
  5239. "$ref": "#/definitions/app.Response"
  5240. }
  5241. }
  5242. }
  5243. }
  5244. },
  5245. "/HSBY/QueryClientFixedADConfigs": {
  5246. "get": {
  5247. "security": [
  5248. {
  5249. "ApiKeyAuth": []
  5250. }
  5251. ],
  5252. "produces": [
  5253. "application/json"
  5254. ],
  5255. "tags": [
  5256. "定制【海商报业】"
  5257. ],
  5258. "summary": "获取终端固定广告配置",
  5259. "responses": {
  5260. "200": {
  5261. "description": "OK",
  5262. "schema": {
  5263. "$ref": "#/definitions/models.Clientfixedadconfig"
  5264. }
  5265. },
  5266. "500": {
  5267. "description": "Internal Server Error",
  5268. "schema": {
  5269. "$ref": "#/definitions/app.Response"
  5270. }
  5271. }
  5272. }
  5273. }
  5274. },
  5275. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5276. "get": {
  5277. "security": [
  5278. {
  5279. "ApiKeyAuth": []
  5280. }
  5281. ],
  5282. "produces": [
  5283. "application/json"
  5284. ],
  5285. "tags": [
  5286. "定制【海商报业】"
  5287. ],
  5288. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5289. "parameters": [
  5290. {
  5291. "type": "integer",
  5292. "description": "页码",
  5293. "name": "page",
  5294. "in": "query"
  5295. },
  5296. {
  5297. "type": "integer",
  5298. "description": "每页条数",
  5299. "name": "pagesize",
  5300. "in": "query"
  5301. },
  5302. {
  5303. "type": "string",
  5304. "description": "资金账户列表,格式:1,2,3",
  5305. "name": "accountIDs",
  5306. "in": "query",
  5307. "required": true
  5308. }
  5309. ],
  5310. "responses": {
  5311. "200": {
  5312. "description": "OK",
  5313. "schema": {
  5314. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5315. }
  5316. },
  5317. "500": {
  5318. "description": "Internal Server Error",
  5319. "schema": {
  5320. "$ref": "#/definitions/app.Response"
  5321. }
  5322. }
  5323. }
  5324. }
  5325. },
  5326. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5327. "get": {
  5328. "security": [
  5329. {
  5330. "ApiKeyAuth": []
  5331. }
  5332. ],
  5333. "description": "说明:查询结果已按委托价格和委托时间排序",
  5334. "produces": [
  5335. "application/json"
  5336. ],
  5337. "tags": [
  5338. "定制【海商报业】"
  5339. ],
  5340. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5341. "parameters": [
  5342. {
  5343. "type": "integer",
  5344. "description": "商品ID",
  5345. "name": "goodsID",
  5346. "in": "query",
  5347. "required": true
  5348. },
  5349. {
  5350. "type": "string",
  5351. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5352. "name": "accountIDs",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "integer",
  5357. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5358. "name": "buyOrSell",
  5359. "in": "query"
  5360. },
  5361. {
  5362. "type": "number",
  5363. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5364. "name": "price",
  5365. "in": "query"
  5366. },
  5367. {
  5368. "type": "integer",
  5369. "description": "档位,不传则默认为3档",
  5370. "name": "speed",
  5371. "in": "query"
  5372. }
  5373. ],
  5374. "responses": {
  5375. "200": {
  5376. "description": "OK",
  5377. "schema": {
  5378. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5379. }
  5380. },
  5381. "500": {
  5382. "description": "Internal Server Error",
  5383. "schema": {
  5384. "$ref": "#/definitions/app.Response"
  5385. }
  5386. }
  5387. }
  5388. }
  5389. },
  5390. "/HSBY/QueryHsbyListingGoodsDetail": {
  5391. "get": {
  5392. "security": [
  5393. {
  5394. "ApiKeyAuth": []
  5395. }
  5396. ],
  5397. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5398. "produces": [
  5399. "application/json"
  5400. ],
  5401. "tags": [
  5402. "定制【海商报业】"
  5403. ],
  5404. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5405. "parameters": [
  5406. {
  5407. "type": "integer",
  5408. "description": "商品ID",
  5409. "name": "goodsID",
  5410. "in": "query",
  5411. "required": true
  5412. },
  5413. {
  5414. "type": "integer",
  5415. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5416. "name": "accountID",
  5417. "in": "query"
  5418. }
  5419. ],
  5420. "responses": {
  5421. "200": {
  5422. "description": "OK",
  5423. "schema": {
  5424. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5425. }
  5426. },
  5427. "500": {
  5428. "description": "Internal Server Error",
  5429. "schema": {
  5430. "$ref": "#/definitions/app.Response"
  5431. }
  5432. }
  5433. }
  5434. }
  5435. },
  5436. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5437. "get": {
  5438. "security": [
  5439. {
  5440. "ApiKeyAuth": []
  5441. }
  5442. ],
  5443. "produces": [
  5444. "application/json"
  5445. ],
  5446. "tags": [
  5447. "定制【海商报业】"
  5448. ],
  5449. "summary": "查询三级市场(商城)商品信息详情",
  5450. "parameters": [
  5451. {
  5452. "type": "integer",
  5453. "description": "委托单号",
  5454. "name": "orderID",
  5455. "in": "query",
  5456. "required": true
  5457. },
  5458. {
  5459. "type": "integer",
  5460. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5461. "name": "accountID",
  5462. "in": "query"
  5463. }
  5464. ],
  5465. "responses": {
  5466. "200": {
  5467. "description": "OK",
  5468. "schema": {
  5469. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5470. }
  5471. },
  5472. "500": {
  5473. "description": "Internal Server Error",
  5474. "schema": {
  5475. "$ref": "#/definitions/app.Response"
  5476. }
  5477. }
  5478. }
  5479. }
  5480. },
  5481. "/HSBY/QueryHsbyMarketGoodses": {
  5482. "get": {
  5483. "security": [
  5484. {
  5485. "ApiKeyAuth": []
  5486. }
  5487. ],
  5488. "produces": [
  5489. "application/json"
  5490. ],
  5491. "tags": [
  5492. "定制【海商报业】"
  5493. ],
  5494. "summary": "查询特卖商品列表(三级商城)",
  5495. "parameters": [
  5496. {
  5497. "type": "integer",
  5498. "description": "页码",
  5499. "name": "page",
  5500. "in": "query"
  5501. },
  5502. {
  5503. "type": "integer",
  5504. "description": "每页条数",
  5505. "name": "pagesize",
  5506. "in": "query"
  5507. },
  5508. {
  5509. "type": "string",
  5510. "description": "市场ID列表,格式:1,2,3",
  5511. "name": "marketIDs",
  5512. "in": "query",
  5513. "required": true
  5514. },
  5515. {
  5516. "type": "integer",
  5517. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5518. "name": "accountID",
  5519. "in": "query",
  5520. "required": true
  5521. },
  5522. {
  5523. "type": "integer",
  5524. "description": "类别ID",
  5525. "name": "categoryID",
  5526. "in": "query"
  5527. },
  5528. {
  5529. "type": "string",
  5530. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5531. "name": "goodsIDs",
  5532. "in": "query"
  5533. },
  5534. {
  5535. "type": "integer",
  5536. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5537. "name": "couponTypeID",
  5538. "in": "query"
  5539. }
  5540. ],
  5541. "responses": {
  5542. "200": {
  5543. "description": "OK",
  5544. "schema": {
  5545. "$ref": "#/definitions/models.HsbyMarketGoods"
  5546. }
  5547. },
  5548. "500": {
  5549. "description": "Internal Server Error",
  5550. "schema": {
  5551. "$ref": "#/definitions/app.Response"
  5552. }
  5553. }
  5554. }
  5555. }
  5556. },
  5557. "/HSBY/QueryHsbyMarkets": {
  5558. "get": {
  5559. "security": [
  5560. {
  5561. "ApiKeyAuth": []
  5562. }
  5563. ],
  5564. "produces": [
  5565. "application/json"
  5566. ],
  5567. "tags": [
  5568. "定制【海商报业】"
  5569. ],
  5570. "summary": "查询海商报业相关市场信息",
  5571. "responses": {
  5572. "200": {
  5573. "description": "OK",
  5574. "schema": {
  5575. "$ref": "#/definitions/models.HsbyMarketInfo"
  5576. }
  5577. },
  5578. "500": {
  5579. "description": "Internal Server Error",
  5580. "schema": {
  5581. "$ref": "#/definitions/app.Response"
  5582. }
  5583. }
  5584. }
  5585. }
  5586. },
  5587. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5588. "get": {
  5589. "security": [
  5590. {
  5591. "ApiKeyAuth": []
  5592. }
  5593. ],
  5594. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5595. "produces": [
  5596. "application/json"
  5597. ],
  5598. "tags": [
  5599. "定制【海商报业】"
  5600. ],
  5601. "summary": "查询“我的订单”信息",
  5602. "parameters": [
  5603. {
  5604. "type": "string",
  5605. "description": "资金账户列表,格式:1,2,3",
  5606. "name": "accountIDs",
  5607. "in": "query",
  5608. "required": true
  5609. }
  5610. ],
  5611. "responses": {
  5612. "200": {
  5613. "description": "OK",
  5614. "schema": {
  5615. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5616. }
  5617. },
  5618. "500": {
  5619. "description": "Internal Server Error",
  5620. "schema": {
  5621. "$ref": "#/definitions/app.Response"
  5622. }
  5623. }
  5624. }
  5625. }
  5626. },
  5627. "/HSBY/QueryHsbyMyGoods": {
  5628. "get": {
  5629. "security": [
  5630. {
  5631. "ApiKeyAuth": []
  5632. }
  5633. ],
  5634. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5635. "produces": [
  5636. "application/json"
  5637. ],
  5638. "tags": [
  5639. "定制【海商报业】"
  5640. ],
  5641. "summary": "查询“我的商品”信息",
  5642. "parameters": [
  5643. {
  5644. "type": "string",
  5645. "description": "资金账户列表,格式:1,2,3",
  5646. "name": "accountIDs",
  5647. "in": "query",
  5648. "required": true
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/models.HsbyMyGoods"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/HSBY/QueryHsbyMyPackages": {
  5668. "get": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "produces": [
  5675. "application/json"
  5676. ],
  5677. "tags": [
  5678. "定制【海商报业】"
  5679. ],
  5680. "summary": "查询我的包裹信息",
  5681. "parameters": [
  5682. {
  5683. "type": "string",
  5684. "description": "资金账户列表,格式:1,2,3",
  5685. "name": "accountIDs",
  5686. "in": "query",
  5687. "required": true
  5688. },
  5689. {
  5690. "type": "integer",
  5691. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5692. "name": "takeOrderStatus",
  5693. "in": "query"
  5694. }
  5695. ],
  5696. "responses": {
  5697. "200": {
  5698. "description": "OK",
  5699. "schema": {
  5700. "$ref": "#/definitions/models.HsbyMyPackage"
  5701. }
  5702. },
  5703. "500": {
  5704. "description": "Internal Server Error",
  5705. "schema": {
  5706. "$ref": "#/definitions/app.Response"
  5707. }
  5708. }
  5709. }
  5710. }
  5711. },
  5712. "/HSBY/QueryHsbyPreGoodsDetail": {
  5713. "get": {
  5714. "security": [
  5715. {
  5716. "ApiKeyAuth": []
  5717. }
  5718. ],
  5719. "produces": [
  5720. "application/json"
  5721. ],
  5722. "tags": [
  5723. "定制【海商报业】"
  5724. ],
  5725. "summary": "查询一级市场(预售)商品信息详情",
  5726. "parameters": [
  5727. {
  5728. "type": "integer",
  5729. "description": "商品ID",
  5730. "name": "goodsID",
  5731. "in": "query",
  5732. "required": true
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "资金账户,主要用于获取预售商品购买上限",
  5737. "name": "accountID",
  5738. "in": "query"
  5739. }
  5740. ],
  5741. "responses": {
  5742. "200": {
  5743. "description": "OK",
  5744. "schema": {
  5745. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5746. }
  5747. },
  5748. "500": {
  5749. "description": "Internal Server Error",
  5750. "schema": {
  5751. "$ref": "#/definitions/app.Response"
  5752. }
  5753. }
  5754. }
  5755. }
  5756. },
  5757. "/HSBY/QueryHsbyPreGoodses": {
  5758. "get": {
  5759. "security": [
  5760. {
  5761. "ApiKeyAuth": []
  5762. }
  5763. ],
  5764. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "查询新品上市商品列表(一级市场预售)",
  5772. "parameters": [
  5773. {
  5774. "type": "integer",
  5775. "description": "页码",
  5776. "name": "page",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "integer",
  5781. "description": "每页条数",
  5782. "name": "pagesize",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "string",
  5787. "description": "市场ID列表,格式:1,2,3",
  5788. "name": "marketIDs",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "目的地(省)ID",
  5795. "name": "descProvinceID",
  5796. "in": "query"
  5797. },
  5798. {
  5799. "type": "integer",
  5800. "description": "目的地(市)ID",
  5801. "name": "descCityID",
  5802. "in": "query"
  5803. }
  5804. ],
  5805. "responses": {
  5806. "200": {
  5807. "description": "OK",
  5808. "schema": {
  5809. "$ref": "#/definitions/models.HsbyPreGoods"
  5810. }
  5811. },
  5812. "500": {
  5813. "description": "Internal Server Error",
  5814. "schema": {
  5815. "$ref": "#/definitions/app.Response"
  5816. }
  5817. }
  5818. }
  5819. }
  5820. },
  5821. "/HSBY/QueryHsbySellMyDetails": {
  5822. "get": {
  5823. "security": [
  5824. {
  5825. "ApiKeyAuth": []
  5826. }
  5827. ],
  5828. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5829. "produces": [
  5830. "application/json"
  5831. ],
  5832. "tags": [
  5833. "定制【海商报业】"
  5834. ],
  5835. "summary": "查询\"我的闲置\"单据信息",
  5836. "parameters": [
  5837. {
  5838. "type": "integer",
  5839. "description": "页码",
  5840. "name": "page",
  5841. "in": "query"
  5842. },
  5843. {
  5844. "type": "integer",
  5845. "description": "每页条数",
  5846. "name": "pagesize",
  5847. "in": "query"
  5848. },
  5849. {
  5850. "type": "string",
  5851. "description": "资金账户列表,格式:1,2,3",
  5852. "name": "accountIDs",
  5853. "in": "query",
  5854. "required": true
  5855. },
  5856. {
  5857. "type": "integer",
  5858. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5859. "name": "orderType",
  5860. "in": "query"
  5861. }
  5862. ],
  5863. "responses": {
  5864. "200": {
  5865. "description": "OK",
  5866. "schema": {
  5867. "$ref": "#/definitions/models.HsbySellMyDetail"
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/HSBY/QueryHsbyTopGoodses": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5887. "produces": [
  5888. "application/json"
  5889. ],
  5890. "tags": [
  5891. "定制【海商报业】"
  5892. ],
  5893. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5894. "parameters": [
  5895. {
  5896. "type": "integer",
  5897. "description": "页码",
  5898. "name": "page",
  5899. "in": "query"
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "每页条数",
  5904. "name": "pagesize",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "市场ID列表,格式:1,2,3",
  5910. "name": "marketIDs",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "integer",
  5916. "description": "目的地(省)ID",
  5917. "name": "descProvinceID",
  5918. "in": "query"
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "目的地(市)ID",
  5923. "name": "descCityID",
  5924. "in": "query"
  5925. }
  5926. ],
  5927. "responses": {
  5928. "200": {
  5929. "description": "OK",
  5930. "schema": {
  5931. "$ref": "#/definitions/models.HsbyTopGoods"
  5932. }
  5933. },
  5934. "500": {
  5935. "description": "Internal Server Error",
  5936. "schema": {
  5937. "$ref": "#/definitions/app.Response"
  5938. }
  5939. }
  5940. }
  5941. }
  5942. },
  5943. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5944. "get": {
  5945. "security": [
  5946. {
  5947. "ApiKeyAuth": []
  5948. }
  5949. ],
  5950. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "定制【海商报业】"
  5956. ],
  5957. "summary": "查询游客三级市场(商城)商品信息详情",
  5958. "parameters": [
  5959. {
  5960. "type": "integer",
  5961. "description": "商品ID",
  5962. "name": "goodsID",
  5963. "in": "query",
  5964. "required": true
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5991. "produces": [
  5992. "application/json"
  5993. ],
  5994. "tags": [
  5995. "定制【海商报业】"
  5996. ],
  5997. "summary": "查询游客特卖商品列表(三级商城)",
  5998. "parameters": [
  5999. {
  6000. "type": "integer",
  6001. "description": "页码",
  6002. "name": "page",
  6003. "in": "query"
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "每页条数",
  6008. "name": "pagesize",
  6009. "in": "query"
  6010. },
  6011. {
  6012. "type": "string",
  6013. "description": "市场ID列表,格式:1,2,3",
  6014. "name": "marketIDs",
  6015. "in": "query",
  6016. "required": true
  6017. },
  6018. {
  6019. "type": "integer",
  6020. "description": "类别ID",
  6021. "name": "categoryID",
  6022. "in": "query"
  6023. },
  6024. {
  6025. "type": "string",
  6026. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6027. "name": "goodsIDs",
  6028. "in": "query"
  6029. }
  6030. ],
  6031. "responses": {
  6032. "200": {
  6033. "description": "OK",
  6034. "schema": {
  6035. "$ref": "#/definitions/models.HsbyMarketGoods"
  6036. }
  6037. },
  6038. "500": {
  6039. "description": "Internal Server Error",
  6040. "schema": {
  6041. "$ref": "#/definitions/app.Response"
  6042. }
  6043. }
  6044. }
  6045. }
  6046. },
  6047. "/HSBY/QueryMyCollectionOrders": {
  6048. "get": {
  6049. "security": [
  6050. {
  6051. "ApiKeyAuth": []
  6052. }
  6053. ],
  6054. "produces": [
  6055. "application/json"
  6056. ],
  6057. "tags": [
  6058. "定制【海商报业】"
  6059. ],
  6060. "summary": "我的闲置中收款信息查询",
  6061. "parameters": [
  6062. {
  6063. "type": "integer",
  6064. "description": "页码",
  6065. "name": "page",
  6066. "in": "query"
  6067. },
  6068. {
  6069. "type": "integer",
  6070. "description": "每页条数",
  6071. "name": "pagesize",
  6072. "in": "query"
  6073. },
  6074. {
  6075. "type": "string",
  6076. "description": "资金账户,格式:1,2,3",
  6077. "name": "accountIDs",
  6078. "in": "query",
  6079. "required": true
  6080. }
  6081. ],
  6082. "responses": {
  6083. "200": {
  6084. "description": "OK",
  6085. "schema": {
  6086. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/HSBY/QueryMyCouponHolds": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6106. "produces": [
  6107. "application/json"
  6108. ],
  6109. "tags": [
  6110. "定制【海商报业】"
  6111. ],
  6112. "summary": "我的优惠卷持仓查询",
  6113. "parameters": [
  6114. {
  6115. "type": "string",
  6116. "description": "资金账户列表,格式:1,2,3",
  6117. "name": "accountIDs",
  6118. "in": "query",
  6119. "required": true
  6120. },
  6121. {
  6122. "type": "string",
  6123. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6124. "name": "holdStatus",
  6125. "in": "query"
  6126. }
  6127. ],
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "$ref": "#/definitions/models.MyCouponHold"
  6133. }
  6134. },
  6135. "500": {
  6136. "description": "Internal Server Error",
  6137. "schema": {
  6138. "$ref": "#/definitions/app.Response"
  6139. }
  6140. }
  6141. }
  6142. }
  6143. },
  6144. "/HSBY/QueryMyCoupons": {
  6145. "get": {
  6146. "security": [
  6147. {
  6148. "ApiKeyAuth": []
  6149. }
  6150. ],
  6151. "produces": [
  6152. "application/json"
  6153. ],
  6154. "tags": [
  6155. "定制【海商报业】"
  6156. ],
  6157. "summary": "我的优惠卷查询",
  6158. "parameters": [
  6159. {
  6160. "type": "string",
  6161. "description": "资金账户列表,格式:1,2,3",
  6162. "name": "accountIDs",
  6163. "in": "query",
  6164. "required": true
  6165. },
  6166. {
  6167. "type": "integer",
  6168. "description": "商品ID, 一般与sellUserID配套传入",
  6169. "name": "goodsID",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "卖方UserID",
  6175. "name": "sellUserID",
  6176. "in": "query"
  6177. }
  6178. ],
  6179. "responses": {
  6180. "200": {
  6181. "description": "OK",
  6182. "schema": {
  6183. "$ref": "#/definitions/models.MyCoupon"
  6184. }
  6185. },
  6186. "500": {
  6187. "description": "Internal Server Error",
  6188. "schema": {
  6189. "$ref": "#/definitions/app.Response"
  6190. }
  6191. }
  6192. }
  6193. }
  6194. },
  6195. "/HSBY/QueryMyPayOrders": {
  6196. "get": {
  6197. "security": [
  6198. {
  6199. "ApiKeyAuth": []
  6200. }
  6201. ],
  6202. "produces": [
  6203. "application/json"
  6204. ],
  6205. "tags": [
  6206. "定制【海商报业】"
  6207. ],
  6208. "summary": "获取我的订单中待付款信息",
  6209. "parameters": [
  6210. {
  6211. "type": "integer",
  6212. "description": "页码",
  6213. "name": "page",
  6214. "in": "query"
  6215. },
  6216. {
  6217. "type": "integer",
  6218. "description": "每页条数",
  6219. "name": "pagesize",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "资金账户列表,格式:1,2,3",
  6225. "name": "accountIDs",
  6226. "in": "query",
  6227. "required": true
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "买方委托单号",
  6232. "name": "buyOrderID",
  6233. "in": "query"
  6234. },
  6235. {
  6236. "type": "integer",
  6237. "description": "卖方委托单号",
  6238. "name": "sellOrderID",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/HSBY/QueryMyUsedCoupon": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "produces": [
  6266. "application/json"
  6267. ],
  6268. "tags": [
  6269. "定制【海商报业】"
  6270. ],
  6271. "summary": "已使用优惠卷查询",
  6272. "parameters": [
  6273. {
  6274. "type": "string",
  6275. "description": "资金账户列表,格式:1,2,3",
  6276. "name": "accountIDs",
  6277. "in": "query",
  6278. "required": true
  6279. }
  6280. ],
  6281. "responses": {
  6282. "200": {
  6283. "description": "OK",
  6284. "schema": {
  6285. "$ref": "#/definitions/models.MyUsedCoupon"
  6286. }
  6287. },
  6288. "500": {
  6289. "description": "Internal Server Error",
  6290. "schema": {
  6291. "$ref": "#/definitions/app.Response"
  6292. }
  6293. }
  6294. }
  6295. }
  6296. },
  6297. "/HSBY/QueryProvincesAndCities": {
  6298. "get": {
  6299. "security": [
  6300. {
  6301. "ApiKeyAuth": []
  6302. }
  6303. ],
  6304. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6305. "produces": [
  6306. "application/json"
  6307. ],
  6308. "tags": [
  6309. "定制【海商报业】"
  6310. ],
  6311. "summary": "查询省市信息(不包括区)",
  6312. "parameters": [
  6313. {
  6314. "type": "integer",
  6315. "description": "省ID",
  6316. "name": "provinceID",
  6317. "in": "query"
  6318. }
  6319. ],
  6320. "responses": {
  6321. "200": {
  6322. "description": "OK",
  6323. "schema": {
  6324. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6325. }
  6326. },
  6327. "500": {
  6328. "description": "Internal Server Error",
  6329. "schema": {
  6330. "$ref": "#/definitions/app.Response"
  6331. }
  6332. }
  6333. }
  6334. }
  6335. },
  6336. "/HSBY/SetHsbyMyPackagesStatus": {
  6337. "post": {
  6338. "security": [
  6339. {
  6340. "ApiKeyAuth": []
  6341. }
  6342. ],
  6343. "produces": [
  6344. "application/json"
  6345. ],
  6346. "tags": [
  6347. "定制【海商报业】"
  6348. ],
  6349. "summary": "设置我的包裹已收货状态",
  6350. "parameters": [
  6351. {
  6352. "type": "string",
  6353. "description": "提货单号",
  6354. "name": "takeOrderID",
  6355. "in": "query",
  6356. "required": true
  6357. },
  6358. {
  6359. "type": "integer",
  6360. "description": "资金账号",
  6361. "name": "accountID",
  6362. "in": "query",
  6363. "required": true
  6364. }
  6365. ],
  6366. "responses": {
  6367. "200": {
  6368. "description": "OK",
  6369. "schema": {
  6370. "$ref": "#/definitions/app.Response"
  6371. }
  6372. },
  6373. "500": {
  6374. "description": "Internal Server Error",
  6375. "schema": {
  6376. "$ref": "#/definitions/app.Response"
  6377. }
  6378. }
  6379. }
  6380. }
  6381. },
  6382. "/Market/QueryGoodsesByLoginID": {
  6383. "get": {
  6384. "security": [
  6385. {
  6386. "ApiKeyAuth": []
  6387. }
  6388. ],
  6389. "produces": [
  6390. "application/json"
  6391. ],
  6392. "tags": [
  6393. "通用市场"
  6394. ],
  6395. "summary": "获取登录账号有权限的商品信息",
  6396. "parameters": [
  6397. {
  6398. "type": "integer",
  6399. "description": "登录账号",
  6400. "name": "loginID",
  6401. "in": "query",
  6402. "required": true
  6403. },
  6404. {
  6405. "type": "string",
  6406. "description": "市场ID列表,格式:1,2,3",
  6407. "name": "marketIDs",
  6408. "in": "query"
  6409. }
  6410. ],
  6411. "responses": {
  6412. "200": {
  6413. "description": "OK",
  6414. "schema": {
  6415. "$ref": "#/definitions/models.Goods"
  6416. }
  6417. },
  6418. "500": {
  6419. "description": "Internal Server Error",
  6420. "schema": {
  6421. "$ref": "#/definitions/app.Response"
  6422. }
  6423. }
  6424. }
  6425. }
  6426. },
  6427. "/Market/QueryMarketRun": {
  6428. "get": {
  6429. "security": [
  6430. {
  6431. "ApiKeyAuth": []
  6432. }
  6433. ],
  6434. "produces": [
  6435. "application/json"
  6436. ],
  6437. "tags": [
  6438. "通用市场"
  6439. ],
  6440. "summary": "查询市场运行信息",
  6441. "parameters": [
  6442. {
  6443. "type": "integer",
  6444. "description": "市场ID,不传返回所有",
  6445. "name": "marketID",
  6446. "in": "query"
  6447. }
  6448. ],
  6449. "responses": {
  6450. "200": {
  6451. "description": "OK",
  6452. "schema": {
  6453. "$ref": "#/definitions/models.Marketrun"
  6454. }
  6455. },
  6456. "500": {
  6457. "description": "Internal Server Error",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. }
  6462. }
  6463. }
  6464. },
  6465. "/Market/QueryMarketsByLoginID": {
  6466. "get": {
  6467. "security": [
  6468. {
  6469. "ApiKeyAuth": []
  6470. }
  6471. ],
  6472. "produces": [
  6473. "application/json"
  6474. ],
  6475. "tags": [
  6476. "通用市场"
  6477. ],
  6478. "summary": "获取登录账号有权限的市场信息",
  6479. "parameters": [
  6480. {
  6481. "type": "integer",
  6482. "description": "登录账号",
  6483. "name": "loginID",
  6484. "in": "query",
  6485. "required": true
  6486. }
  6487. ],
  6488. "responses": {
  6489. "200": {
  6490. "description": "OK",
  6491. "schema": {
  6492. "$ref": "#/definitions/models.Market"
  6493. }
  6494. },
  6495. "500": {
  6496. "description": "Internal Server Error",
  6497. "schema": {
  6498. "$ref": "#/definitions/app.Response"
  6499. }
  6500. }
  6501. }
  6502. }
  6503. },
  6504. "/Order/QueryHisTradeDetail": {
  6505. "get": {
  6506. "security": [
  6507. {
  6508. "ApiKeyAuth": []
  6509. }
  6510. ],
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "通用单据"
  6516. ],
  6517. "summary": "历史成交单查询(合约市场)",
  6518. "parameters": [
  6519. {
  6520. "type": "string",
  6521. "description": "资金账户 - 格式:1,2,3",
  6522. "name": "accountID",
  6523. "in": "query",
  6524. "required": true
  6525. },
  6526. {
  6527. "type": "integer",
  6528. "description": "成交单号",
  6529. "name": "tradeID",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "integer",
  6534. "description": "委托单号",
  6535. "name": "orderID",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "交易模式 - 格式:1,2,3",
  6541. "name": "tradeMode",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "integer",
  6546. "description": "委托单据类型",
  6547. "name": "buildType",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "string",
  6552. "description": "成交类别 - 格式:1,2,3",
  6553. "name": "tradeType",
  6554. "in": "query"
  6555. },
  6556. {
  6557. "type": "string",
  6558. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6559. "name": "startDate",
  6560. "in": "query"
  6561. },
  6562. {
  6563. "type": "string",
  6564. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6565. "name": "endDate",
  6566. "in": "query"
  6567. }
  6568. ],
  6569. "responses": {
  6570. "200": {
  6571. "description": "OK",
  6572. "schema": {
  6573. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6574. }
  6575. },
  6576. "500": {
  6577. "description": "Internal Server Error",
  6578. "schema": {
  6579. "$ref": "#/definitions/app.Response"
  6580. }
  6581. }
  6582. }
  6583. }
  6584. },
  6585. "/Order/QueryHisTradeOrderDetail": {
  6586. "get": {
  6587. "security": [
  6588. {
  6589. "ApiKeyAuth": []
  6590. }
  6591. ],
  6592. "produces": [
  6593. "application/json"
  6594. ],
  6595. "tags": [
  6596. "通用单据"
  6597. ],
  6598. "summary": "历史委托单查询请求(合约市场)",
  6599. "parameters": [
  6600. {
  6601. "type": "string",
  6602. "description": "资金账户 - 格式:1,2,3",
  6603. "name": "accountID",
  6604. "in": "query",
  6605. "required": true
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "交易模式 - 格式:1,2,3",
  6610. "name": "tradeMode",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "string",
  6615. "description": "委托状态 - 格式:1,2,3",
  6616. "name": "orderStatus",
  6617. "in": "query"
  6618. },
  6619. {
  6620. "type": "integer",
  6621. "description": "委托单号",
  6622. "name": "orderID",
  6623. "in": "query"
  6624. },
  6625. {
  6626. "type": "string",
  6627. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6628. "name": "startDate",
  6629. "in": "query"
  6630. },
  6631. {
  6632. "type": "string",
  6633. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6634. "name": "endDate",
  6635. "in": "query"
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6643. }
  6644. },
  6645. "500": {
  6646. "description": "Internal Server Error",
  6647. "schema": {
  6648. "$ref": "#/definitions/app.Response"
  6649. }
  6650. }
  6651. }
  6652. }
  6653. },
  6654. "/Order/QueryTradeDetail": {
  6655. "get": {
  6656. "security": [
  6657. {
  6658. "ApiKeyAuth": []
  6659. }
  6660. ],
  6661. "produces": [
  6662. "application/json"
  6663. ],
  6664. "tags": [
  6665. "通用单据"
  6666. ],
  6667. "summary": "成交单查询(合约市场)",
  6668. "parameters": [
  6669. {
  6670. "type": "string",
  6671. "description": "资金账户 - 格式:1,2,3",
  6672. "name": "accountID",
  6673. "in": "query",
  6674. "required": true
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "成交单号",
  6679. "name": "tradeID",
  6680. "in": "query"
  6681. },
  6682. {
  6683. "type": "integer",
  6684. "description": "委托单号",
  6685. "name": "orderID",
  6686. "in": "query"
  6687. },
  6688. {
  6689. "type": "string",
  6690. "description": "交易模式 - 格式:1,2,3",
  6691. "name": "tradeMode",
  6692. "in": "query"
  6693. },
  6694. {
  6695. "type": "integer",
  6696. "description": "委托单据类型",
  6697. "name": "buildType",
  6698. "in": "query"
  6699. },
  6700. {
  6701. "type": "string",
  6702. "description": "成交类别 - 格式:1,2,3",
  6703. "name": "tradeType",
  6704. "in": "query"
  6705. }
  6706. ],
  6707. "responses": {
  6708. "200": {
  6709. "description": "OK",
  6710. "schema": {
  6711. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6712. }
  6713. },
  6714. "500": {
  6715. "description": "Internal Server Error",
  6716. "schema": {
  6717. "$ref": "#/definitions/app.Response"
  6718. }
  6719. }
  6720. }
  6721. }
  6722. },
  6723. "/Order/QueryTradeOrderDetail": {
  6724. "get": {
  6725. "security": [
  6726. {
  6727. "ApiKeyAuth": []
  6728. }
  6729. ],
  6730. "produces": [
  6731. "application/json"
  6732. ],
  6733. "tags": [
  6734. "通用单据"
  6735. ],
  6736. "summary": "委托单查询请求(合约市场)",
  6737. "parameters": [
  6738. {
  6739. "type": "string",
  6740. "description": "资金账户 - 格式:1,2,3",
  6741. "name": "accountID",
  6742. "in": "query",
  6743. "required": true
  6744. },
  6745. {
  6746. "type": "string",
  6747. "description": "交易模式 - 格式:1,2,3",
  6748. "name": "tradeMode",
  6749. "in": "query"
  6750. },
  6751. {
  6752. "type": "string",
  6753. "description": "委托状态 - 格式:1,2,3",
  6754. "name": "orderStatus",
  6755. "in": "query"
  6756. },
  6757. {
  6758. "type": "integer",
  6759. "description": "委托单号",
  6760. "name": "orderID",
  6761. "in": "query"
  6762. }
  6763. ],
  6764. "responses": {
  6765. "200": {
  6766. "description": "OK",
  6767. "schema": {
  6768. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6769. }
  6770. },
  6771. "500": {
  6772. "description": "Internal Server Error",
  6773. "schema": {
  6774. "$ref": "#/definitions/app.Response"
  6775. }
  6776. }
  6777. }
  6778. }
  6779. },
  6780. "/Order/QueryTradePosition": {
  6781. "get": {
  6782. "security": [
  6783. {
  6784. "ApiKeyAuth": []
  6785. }
  6786. ],
  6787. "produces": [
  6788. "application/json"
  6789. ],
  6790. "tags": [
  6791. "通用单据"
  6792. ],
  6793. "summary": "持仓汇总查询(合约市场)",
  6794. "parameters": [
  6795. {
  6796. "type": "string",
  6797. "description": "资金账户 - 格式:1,2,3",
  6798. "name": "accountID",
  6799. "in": "query",
  6800. "required": true
  6801. },
  6802. {
  6803. "type": "string",
  6804. "description": "交易模式 - 格式:1,2,3",
  6805. "name": "tradeMode",
  6806. "in": "query"
  6807. }
  6808. ],
  6809. "responses": {
  6810. "200": {
  6811. "description": "OK",
  6812. "schema": {
  6813. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6814. }
  6815. },
  6816. "500": {
  6817. "description": "Internal Server Error",
  6818. "schema": {
  6819. "$ref": "#/definitions/app.Response"
  6820. }
  6821. }
  6822. }
  6823. }
  6824. },
  6825. "/Qhj/QueryAccountInOutApply": {
  6826. "get": {
  6827. "security": [
  6828. {
  6829. "ApiKeyAuth": []
  6830. }
  6831. ],
  6832. "produces": [
  6833. "application/json"
  6834. ],
  6835. "tags": [
  6836. "大连千海金"
  6837. ],
  6838. "summary": "查询充值提现",
  6839. "parameters": [
  6840. {
  6841. "type": "string",
  6842. "description": "申请起始日期(格式yyyymmdd)",
  6843. "name": "begindate",
  6844. "in": "query"
  6845. },
  6846. {
  6847. "type": "string",
  6848. "description": "申请截止日期(格式yyyymmdd)",
  6849. "name": "enddate",
  6850. "in": "query"
  6851. },
  6852. {
  6853. "type": "string",
  6854. "description": "模糊搜索名称",
  6855. "name": "likename",
  6856. "in": "query"
  6857. }
  6858. ],
  6859. "responses": {
  6860. "200": {
  6861. "description": "OK",
  6862. "schema": {
  6863. "type": "array",
  6864. "items": {
  6865. "$ref": "#/definitions/models.QhjAccountOutInApply"
  6866. }
  6867. }
  6868. },
  6869. "500": {
  6870. "description": "Internal Server Error",
  6871. "schema": {
  6872. "$ref": "#/definitions/app.Response"
  6873. }
  6874. }
  6875. }
  6876. }
  6877. },
  6878. "/Qhj/QueryBankAccountSign": {
  6879. "get": {
  6880. "security": [
  6881. {
  6882. "ApiKeyAuth": []
  6883. }
  6884. ],
  6885. "produces": [
  6886. "application/json"
  6887. ],
  6888. "tags": [
  6889. "大连千海金"
  6890. ],
  6891. "summary": "查询签约银行信息(提现账户管理)",
  6892. "parameters": [
  6893. {
  6894. "type": "integer",
  6895. "description": "用户ID",
  6896. "name": "userid",
  6897. "in": "query",
  6898. "required": true
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "type": "array",
  6906. "items": {
  6907. "$ref": "#/definitions/models.QhjBankAccountSign"
  6908. }
  6909. }
  6910. },
  6911. "500": {
  6912. "description": "Internal Server Error",
  6913. "schema": {
  6914. "$ref": "#/definitions/app.Response"
  6915. }
  6916. }
  6917. }
  6918. }
  6919. },
  6920. "/Qhj/QueryBankInfo": {
  6921. "get": {
  6922. "security": [
  6923. {
  6924. "ApiKeyAuth": []
  6925. }
  6926. ],
  6927. "produces": [
  6928. "application/json"
  6929. ],
  6930. "tags": [
  6931. "大连千海金"
  6932. ],
  6933. "summary": "查询开户行",
  6934. "responses": {
  6935. "200": {
  6936. "description": "OK",
  6937. "schema": {
  6938. "type": "array",
  6939. "items": {
  6940. "$ref": "#/definitions/models.QhjBankInfo"
  6941. }
  6942. }
  6943. },
  6944. "500": {
  6945. "description": "Internal Server Error",
  6946. "schema": {
  6947. "$ref": "#/definitions/app.Response"
  6948. }
  6949. }
  6950. }
  6951. }
  6952. },
  6953. "/Qhj/QueryContract": {
  6954. "get": {
  6955. "security": [
  6956. {
  6957. "ApiKeyAuth": []
  6958. }
  6959. ],
  6960. "produces": [
  6961. "application/json"
  6962. ],
  6963. "tags": [
  6964. "大连千海金"
  6965. ],
  6966. "summary": "查询融资明细(合同)",
  6967. "parameters": [
  6968. {
  6969. "type": "integer",
  6970. "description": "用户ID",
  6971. "name": "userid",
  6972. "in": "query",
  6973. "required": true
  6974. },
  6975. {
  6976. "type": "integer",
  6977. "description": "scf合同id",
  6978. "name": "scfcontractid",
  6979. "in": "query"
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "type": "array",
  6987. "items": {
  6988. "$ref": "#/definitions/models.QhjContract"
  6989. }
  6990. }
  6991. },
  6992. "500": {
  6993. "description": "Internal Server Error",
  6994. "schema": {
  6995. "$ref": "#/definitions/app.Response"
  6996. }
  6997. }
  6998. }
  6999. }
  7000. },
  7001. "/Qhj/QueryContractLog": {
  7002. "get": {
  7003. "security": [
  7004. {
  7005. "ApiKeyAuth": []
  7006. }
  7007. ],
  7008. "produces": [
  7009. "application/json"
  7010. ],
  7011. "tags": [
  7012. "大连千海金"
  7013. ],
  7014. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7015. "parameters": [
  7016. {
  7017. "type": "integer",
  7018. "description": "scf合同id",
  7019. "name": "scfcontractid",
  7020. "in": "query",
  7021. "required": true
  7022. },
  7023. {
  7024. "type": "string",
  7025. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7026. "name": "amounttype",
  7027. "in": "query"
  7028. }
  7029. ],
  7030. "responses": {
  7031. "200": {
  7032. "description": "OK",
  7033. "schema": {
  7034. "type": "array",
  7035. "items": {
  7036. "$ref": "#/definitions/models.QhjContractLog"
  7037. }
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/Qhj/QueryCusBankSignBank": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "produces": [
  7057. "application/json"
  7058. ],
  7059. "tags": [
  7060. "大连千海金"
  7061. ],
  7062. "summary": "查询托管银行",
  7063. "responses": {
  7064. "200": {
  7065. "description": "OK",
  7066. "schema": {
  7067. "type": "array",
  7068. "items": {
  7069. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7070. }
  7071. }
  7072. },
  7073. "500": {
  7074. "description": "Internal Server Error",
  7075. "schema": {
  7076. "$ref": "#/definitions/app.Response"
  7077. }
  7078. }
  7079. }
  7080. }
  7081. },
  7082. "/Qhj/QueryCustomerInfo": {
  7083. "get": {
  7084. "security": [
  7085. {
  7086. "ApiKeyAuth": []
  7087. }
  7088. ],
  7089. "produces": [
  7090. "application/json"
  7091. ],
  7092. "tags": [
  7093. "大连千海金"
  7094. ],
  7095. "summary": "查询客户资料",
  7096. "parameters": [
  7097. {
  7098. "type": "integer",
  7099. "description": "用户ID",
  7100. "name": "userid",
  7101. "in": "query",
  7102. "required": true
  7103. },
  7104. {
  7105. "type": "integer",
  7106. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7107. "name": "querytype",
  7108. "in": "query",
  7109. "required": true
  7110. },
  7111. {
  7112. "type": "integer",
  7113. "description": "客户类型 1-个人 2-企业",
  7114. "name": "userinfotype",
  7115. "in": "query"
  7116. },
  7117. {
  7118. "type": "string",
  7119. "description": "客户名称(模糊匹配)",
  7120. "name": "customername",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "string",
  7125. "description": "昵称(模糊匹配)",
  7126. "name": "nickname",
  7127. "in": "query"
  7128. },
  7129. {
  7130. "type": "integer",
  7131. "description": "是否包含子级 1-包含",
  7132. "name": "includesub",
  7133. "in": "query"
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/models.QhjCustomer"
  7143. }
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/Qhj/QueryPickArea": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "produces": [
  7163. "application/json"
  7164. ],
  7165. "tags": [
  7166. "大连千海金"
  7167. ],
  7168. "summary": "查询提货门店",
  7169. "parameters": [
  7170. {
  7171. "type": "integer",
  7172. "description": "用户ID",
  7173. "name": "userid",
  7174. "in": "query"
  7175. }
  7176. ],
  7177. "responses": {
  7178. "200": {
  7179. "description": "OK",
  7180. "schema": {
  7181. "type": "array",
  7182. "items": {
  7183. "$ref": "#/definitions/models.QhjPickArea"
  7184. }
  7185. }
  7186. },
  7187. "500": {
  7188. "description": "Internal Server Error",
  7189. "schema": {
  7190. "$ref": "#/definitions/app.Response"
  7191. }
  7192. }
  7193. }
  7194. }
  7195. },
  7196. "/Qhj/QueryPickGoods": {
  7197. "get": {
  7198. "security": [
  7199. {
  7200. "ApiKeyAuth": []
  7201. }
  7202. ],
  7203. "produces": [
  7204. "application/json"
  7205. ],
  7206. "tags": [
  7207. "大连千海金"
  7208. ],
  7209. "summary": "查询提货商品",
  7210. "parameters": [
  7211. {
  7212. "type": "string",
  7213. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7214. "name": "status",
  7215. "in": "query"
  7216. }
  7217. ],
  7218. "responses": {
  7219. "200": {
  7220. "description": "OK",
  7221. "schema": {
  7222. "type": "array",
  7223. "items": {
  7224. "$ref": "#/definitions/models.QhjPickGoods"
  7225. }
  7226. }
  7227. },
  7228. "500": {
  7229. "description": "Internal Server Error",
  7230. "schema": {
  7231. "$ref": "#/definitions/app.Response"
  7232. }
  7233. }
  7234. }
  7235. }
  7236. },
  7237. "/Qhj/QueryRSTriggerLog": {
  7238. "get": {
  7239. "security": [
  7240. {
  7241. "ApiKeyAuth": []
  7242. }
  7243. ],
  7244. "produces": [
  7245. "application/json"
  7246. ],
  7247. "tags": [
  7248. "大连千海金"
  7249. ],
  7250. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7251. "parameters": [
  7252. {
  7253. "type": "integer",
  7254. "description": "用户ID",
  7255. "name": "userid",
  7256. "in": "query",
  7257. "required": true
  7258. },
  7259. {
  7260. "type": "integer",
  7261. "description": "定投策略id",
  7262. "name": "regularlystrategyid",
  7263. "in": "query"
  7264. }
  7265. ],
  7266. "responses": {
  7267. "200": {
  7268. "description": "OK",
  7269. "schema": {
  7270. "type": "array",
  7271. "items": {
  7272. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7273. }
  7274. }
  7275. },
  7276. "500": {
  7277. "description": "Internal Server Error",
  7278. "schema": {
  7279. "$ref": "#/definitions/app.Response"
  7280. }
  7281. }
  7282. }
  7283. }
  7284. },
  7285. "/Qhj/QueryRStrategy": {
  7286. "get": {
  7287. "security": [
  7288. {
  7289. "ApiKeyAuth": []
  7290. }
  7291. ],
  7292. "produces": [
  7293. "application/json"
  7294. ],
  7295. "tags": [
  7296. "大连千海金"
  7297. ],
  7298. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7299. "parameters": [
  7300. {
  7301. "type": "integer",
  7302. "description": "用户ID",
  7303. "name": "userid",
  7304. "in": "query",
  7305. "required": true
  7306. },
  7307. {
  7308. "type": "string",
  7309. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7310. "name": "status",
  7311. "in": "query"
  7312. }
  7313. ],
  7314. "responses": {
  7315. "200": {
  7316. "description": "OK",
  7317. "schema": {
  7318. "type": "array",
  7319. "items": {
  7320. "$ref": "#/definitions/models.QhjRStrategy"
  7321. }
  7322. }
  7323. },
  7324. "500": {
  7325. "description": "Internal Server Error",
  7326. "schema": {
  7327. "$ref": "#/definitions/app.Response"
  7328. }
  7329. }
  7330. }
  7331. }
  7332. },
  7333. "/Qhj/QueryReckonPriceLog": {
  7334. "get": {
  7335. "security": [
  7336. {
  7337. "ApiKeyAuth": []
  7338. }
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "大连千海金"
  7345. ],
  7346. "summary": "查询定投价(结算价)",
  7347. "parameters": [
  7348. {
  7349. "type": "integer",
  7350. "description": "商品ID",
  7351. "name": "goodsid",
  7352. "in": "query"
  7353. },
  7354. {
  7355. "type": "string",
  7356. "description": "交易日 格式(yyyymmdd)",
  7357. "name": "tradedate",
  7358. "in": "query"
  7359. }
  7360. ],
  7361. "responses": {
  7362. "200": {
  7363. "description": "OK",
  7364. "schema": {
  7365. "type": "array",
  7366. "items": {
  7367. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7368. }
  7369. }
  7370. },
  7371. "500": {
  7372. "description": "Internal Server Error",
  7373. "schema": {
  7374. "$ref": "#/definitions/app.Response"
  7375. }
  7376. }
  7377. }
  7378. }
  7379. },
  7380. "/Qhj/QuerySiteColumnDetail": {
  7381. "get": {
  7382. "security": [
  7383. {
  7384. "ApiKeyAuth": []
  7385. }
  7386. ],
  7387. "produces": [
  7388. "application/json"
  7389. ],
  7390. "tags": [
  7391. "大连千海金"
  7392. ],
  7393. "summary": "查询资讯",
  7394. "parameters": [
  7395. {
  7396. "type": "integer",
  7397. "description": "用户ID",
  7398. "name": "userid",
  7399. "in": "query",
  7400. "required": true
  7401. }
  7402. ],
  7403. "responses": {
  7404. "200": {
  7405. "description": "OK",
  7406. "schema": {
  7407. "type": "array",
  7408. "items": {
  7409. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7410. }
  7411. }
  7412. },
  7413. "500": {
  7414. "description": "Internal Server Error",
  7415. "schema": {
  7416. "$ref": "#/definitions/app.Response"
  7417. }
  7418. }
  7419. }
  7420. }
  7421. },
  7422. "/Qhj/QueryTradeGoodsPickup": {
  7423. "get": {
  7424. "security": [
  7425. {
  7426. "ApiKeyAuth": []
  7427. }
  7428. ],
  7429. "produces": [
  7430. "application/json"
  7431. ],
  7432. "tags": [
  7433. "大连千海金"
  7434. ],
  7435. "summary": "查询提货",
  7436. "parameters": [
  7437. {
  7438. "type": "integer",
  7439. "description": "用户ID",
  7440. "name": "userid",
  7441. "in": "query",
  7442. "required": true
  7443. }
  7444. ],
  7445. "responses": {
  7446. "200": {
  7447. "description": "OK",
  7448. "schema": {
  7449. "type": "array",
  7450. "items": {
  7451. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7452. }
  7453. }
  7454. },
  7455. "500": {
  7456. "description": "Internal Server Error",
  7457. "schema": {
  7458. "$ref": "#/definitions/app.Response"
  7459. }
  7460. }
  7461. }
  7462. }
  7463. },
  7464. "/Qhj/QueryUserCollectConfig": {
  7465. "get": {
  7466. "security": [
  7467. {
  7468. "ApiKeyAuth": []
  7469. }
  7470. ],
  7471. "produces": [
  7472. "application/json"
  7473. ],
  7474. "tags": [
  7475. "大连千海金"
  7476. ],
  7477. "summary": "查询提现账户设置",
  7478. "parameters": [
  7479. {
  7480. "type": "integer",
  7481. "description": "用户ID",
  7482. "name": "userid",
  7483. "in": "query",
  7484. "required": true
  7485. }
  7486. ],
  7487. "responses": {
  7488. "200": {
  7489. "description": "OK",
  7490. "schema": {
  7491. "type": "array",
  7492. "items": {
  7493. "$ref": "#/definitions/models.UserCollectConfig"
  7494. }
  7495. }
  7496. },
  7497. "500": {
  7498. "description": "Internal Server Error",
  7499. "schema": {
  7500. "$ref": "#/definitions/app.Response"
  7501. }
  7502. }
  7503. }
  7504. }
  7505. },
  7506. "/Qhj/QueryUserReceiveInfo": {
  7507. "get": {
  7508. "security": [
  7509. {
  7510. "ApiKeyAuth": []
  7511. }
  7512. ],
  7513. "produces": [
  7514. "application/json"
  7515. ],
  7516. "tags": [
  7517. "大连千海金"
  7518. ],
  7519. "summary": "查询收货地址信息",
  7520. "parameters": [
  7521. {
  7522. "type": "integer",
  7523. "description": "用户ID",
  7524. "name": "userid",
  7525. "in": "query",
  7526. "required": true
  7527. }
  7528. ],
  7529. "responses": {
  7530. "200": {
  7531. "description": "OK",
  7532. "schema": {
  7533. "type": "array",
  7534. "items": {
  7535. "$ref": "#/definitions/models.UserReceiveInfo"
  7536. }
  7537. }
  7538. },
  7539. "500": {
  7540. "description": "Internal Server Error",
  7541. "schema": {
  7542. "$ref": "#/definitions/app.Response"
  7543. }
  7544. }
  7545. }
  7546. }
  7547. },
  7548. "/Quote/QueryHistoryDatas": {
  7549. "get": {
  7550. "security": [
  7551. {
  7552. "ApiKeyAuth": []
  7553. }
  7554. ],
  7555. "produces": [
  7556. "application/json"
  7557. ],
  7558. "tags": [
  7559. "行情服务"
  7560. ],
  7561. "summary": "查询行情历史数据",
  7562. "parameters": [
  7563. {
  7564. "type": "integer",
  7565. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7566. "name": "cycleType",
  7567. "in": "query",
  7568. "required": true
  7569. },
  7570. {
  7571. "type": "string",
  7572. "description": "商品代码",
  7573. "name": "goodsCode",
  7574. "in": "query",
  7575. "required": true
  7576. },
  7577. {
  7578. "type": "string",
  7579. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7580. "name": "startTime",
  7581. "in": "query"
  7582. },
  7583. {
  7584. "type": "string",
  7585. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7586. "name": "endTime",
  7587. "in": "query"
  7588. },
  7589. {
  7590. "type": "integer",
  7591. "description": "条数",
  7592. "name": "count",
  7593. "in": "query"
  7594. },
  7595. {
  7596. "type": "boolean",
  7597. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7598. "name": "isAsc",
  7599. "in": "query"
  7600. }
  7601. ],
  7602. "responses": {
  7603. "200": {
  7604. "description": "OK",
  7605. "schema": {
  7606. "$ref": "#/definitions/quote.HistoryData"
  7607. }
  7608. },
  7609. "500": {
  7610. "description": "Internal Server Error",
  7611. "schema": {
  7612. "$ref": "#/definitions/app.Response"
  7613. }
  7614. }
  7615. }
  7616. }
  7617. },
  7618. "/Quote/QueryHistoryTikDatas": {
  7619. "get": {
  7620. "security": [
  7621. {
  7622. "ApiKeyAuth": []
  7623. }
  7624. ],
  7625. "produces": [
  7626. "application/json"
  7627. ],
  7628. "tags": [
  7629. "行情服务"
  7630. ],
  7631. "summary": "查询行情Tik数据",
  7632. "parameters": [
  7633. {
  7634. "type": "string",
  7635. "description": "商品代码",
  7636. "name": "goodsCode",
  7637. "in": "query",
  7638. "required": true
  7639. },
  7640. {
  7641. "type": "string",
  7642. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7643. "name": "startTime",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7649. "name": "endTime",
  7650. "in": "query"
  7651. },
  7652. {
  7653. "type": "integer",
  7654. "description": "条数",
  7655. "name": "count",
  7656. "in": "query"
  7657. },
  7658. {
  7659. "type": "boolean",
  7660. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7661. "name": "isAsc",
  7662. "in": "query"
  7663. }
  7664. ],
  7665. "responses": {
  7666. "200": {
  7667. "description": "OK",
  7668. "schema": {
  7669. "$ref": "#/definitions/quote.HistoryTikData"
  7670. }
  7671. },
  7672. "500": {
  7673. "description": "Internal Server Error",
  7674. "schema": {
  7675. "$ref": "#/definitions/app.Response"
  7676. }
  7677. }
  7678. }
  7679. }
  7680. },
  7681. "/Quote/QueryQuoteDay": {
  7682. "get": {
  7683. "security": [
  7684. {
  7685. "ApiKeyAuth": []
  7686. }
  7687. ],
  7688. "produces": [
  7689. "application/json"
  7690. ],
  7691. "tags": [
  7692. "行情服务"
  7693. ],
  7694. "summary": "获取商品盘面信息",
  7695. "parameters": [
  7696. {
  7697. "type": "string",
  7698. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7699. "name": "goodsCodes",
  7700. "in": "query",
  7701. "required": true
  7702. }
  7703. ],
  7704. "responses": {
  7705. "200": {
  7706. "description": "OK",
  7707. "schema": {
  7708. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7709. }
  7710. },
  7711. "500": {
  7712. "description": "Internal Server Error",
  7713. "schema": {
  7714. "$ref": "#/definitions/app.Response"
  7715. }
  7716. }
  7717. }
  7718. }
  7719. },
  7720. "/Quote/QueryTSData": {
  7721. "get": {
  7722. "security": [
  7723. {
  7724. "ApiKeyAuth": []
  7725. }
  7726. ],
  7727. "produces": [
  7728. "application/json"
  7729. ],
  7730. "tags": [
  7731. "行情服务"
  7732. ],
  7733. "summary": "分时图数据查询",
  7734. "parameters": [
  7735. {
  7736. "type": "string",
  7737. "description": "商品代码",
  7738. "name": "goodsCode",
  7739. "in": "query",
  7740. "required": true
  7741. }
  7742. ],
  7743. "responses": {
  7744. "200": {
  7745. "description": "OK",
  7746. "schema": {
  7747. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7748. }
  7749. },
  7750. "500": {
  7751. "description": "Internal Server Error",
  7752. "schema": {
  7753. "$ref": "#/definitions/app.Response"
  7754. }
  7755. }
  7756. }
  7757. }
  7758. },
  7759. "/SZDZ/QueryConvertConfig": {
  7760. "get": {
  7761. "security": [
  7762. {
  7763. "ApiKeyAuth": []
  7764. }
  7765. ],
  7766. "produces": [
  7767. "application/json"
  7768. ],
  7769. "tags": [
  7770. "定制【尚志大宗】"
  7771. ],
  7772. "summary": "查询交易系统转换设置",
  7773. "parameters": [
  7774. {
  7775. "type": "integer",
  7776. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7777. "name": "convertType",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "外部商品代码[JD\\PD]",
  7783. "name": "outerGoodsCode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "内部商品ID列表[交易],格式:1,2,3",
  7789. "name": "innerGoodsIDs",
  7790. "in": "query"
  7791. }
  7792. ],
  7793. "responses": {
  7794. "200": {
  7795. "description": "OK",
  7796. "schema": {
  7797. "$ref": "#/definitions/models.Szdz3convertconfig"
  7798. }
  7799. },
  7800. "500": {
  7801. "description": "Internal Server Error",
  7802. "schema": {
  7803. "$ref": "#/definitions/app.Response"
  7804. }
  7805. }
  7806. }
  7807. }
  7808. },
  7809. "/SZDZ/QueryConvertLog": {
  7810. "get": {
  7811. "security": [
  7812. {
  7813. "ApiKeyAuth": []
  7814. }
  7815. ],
  7816. "produces": [
  7817. "application/json"
  7818. ],
  7819. "tags": [
  7820. "定制【尚志大宗】"
  7821. ],
  7822. "summary": "交易系统转换流水查询",
  7823. "parameters": [
  7824. {
  7825. "type": "string",
  7826. "description": "资金账户 - 格式:1,2,3",
  7827. "name": "accountID",
  7828. "in": "query",
  7829. "required": true
  7830. },
  7831. {
  7832. "type": "string",
  7833. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7834. "name": "startDate",
  7835. "in": "query"
  7836. },
  7837. {
  7838. "type": "string",
  7839. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7840. "name": "endDate",
  7841. "in": "query"
  7842. }
  7843. ],
  7844. "responses": {
  7845. "200": {
  7846. "description": "OK",
  7847. "schema": {
  7848. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7849. }
  7850. },
  7851. "500": {
  7852. "description": "Internal Server Error",
  7853. "schema": {
  7854. "$ref": "#/definitions/app.Response"
  7855. }
  7856. }
  7857. }
  7858. }
  7859. },
  7860. "/SZDZ/QueryGoodsPickup": {
  7861. "get": {
  7862. "security": [
  7863. {
  7864. "ApiKeyAuth": []
  7865. }
  7866. ],
  7867. "produces": [
  7868. "application/json"
  7869. ],
  7870. "tags": [
  7871. "定制【尚志大宗】"
  7872. ],
  7873. "summary": "商品提货单查询",
  7874. "parameters": [
  7875. {
  7876. "type": "string",
  7877. "description": "资金账户 - 格式:1,2,3",
  7878. "name": "accountID",
  7879. "in": "query",
  7880. "required": true
  7881. },
  7882. {
  7883. "type": "integer",
  7884. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7885. "name": "takeOrderStatus",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7894. }
  7895. },
  7896. "500": {
  7897. "description": "Internal Server Error",
  7898. "schema": {
  7899. "$ref": "#/definitions/app.Response"
  7900. }
  7901. }
  7902. }
  7903. }
  7904. },
  7905. "/SZDZ/QueryRecieptOrder": {
  7906. "get": {
  7907. "security": [
  7908. {
  7909. "ApiKeyAuth": []
  7910. }
  7911. ],
  7912. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7913. "produces": [
  7914. "application/json"
  7915. ],
  7916. "tags": [
  7917. "定制【尚志大宗】"
  7918. ],
  7919. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7920. "parameters": [
  7921. {
  7922. "type": "integer",
  7923. "description": "页码",
  7924. "name": "page",
  7925. "in": "query"
  7926. },
  7927. {
  7928. "type": "integer",
  7929. "description": "每页条数",
  7930. "name": "pagesize",
  7931. "in": "query"
  7932. },
  7933. {
  7934. "type": "integer",
  7935. "description": "商品ID",
  7936. "name": "goodsID",
  7937. "in": "query",
  7938. "required": true
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "所属账户名称",
  7943. "name": "accountName",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "integer",
  7948. "description": "市场ID",
  7949. "name": "marketID",
  7950. "in": "query"
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "方向 - 0:买 1:卖",
  7955. "name": "buyorsell",
  7956. "in": "query",
  7957. "required": true
  7958. }
  7959. ],
  7960. "responses": {
  7961. "200": {
  7962. "description": "OK",
  7963. "schema": {
  7964. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7965. }
  7966. },
  7967. "500": {
  7968. "description": "Internal Server Error",
  7969. "schema": {
  7970. "$ref": "#/definitions/app.Response"
  7971. }
  7972. }
  7973. }
  7974. }
  7975. },
  7976. "/SZDZ/QuerySZDZTradePosition": {
  7977. "get": {
  7978. "security": [
  7979. {
  7980. "ApiKeyAuth": []
  7981. }
  7982. ],
  7983. "produces": [
  7984. "application/json"
  7985. ],
  7986. "tags": [
  7987. "定制【尚志大宗】"
  7988. ],
  7989. "summary": "持仓汇总查询(尚志大宗)",
  7990. "parameters": [
  7991. {
  7992. "type": "integer",
  7993. "description": "资金账户",
  7994. "name": "accountID",
  7995. "in": "query",
  7996. "required": true
  7997. }
  7998. ],
  7999. "responses": {
  8000. "200": {
  8001. "description": "OK",
  8002. "schema": {
  8003. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8004. }
  8005. },
  8006. "500": {
  8007. "description": "Internal Server Error",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. }
  8012. }
  8013. }
  8014. },
  8015. "/SZDZ/SearchWhite": {
  8016. "get": {
  8017. "security": [
  8018. {
  8019. "ApiKeyAuth": []
  8020. }
  8021. ],
  8022. "produces": [
  8023. "application/json"
  8024. ],
  8025. "tags": [
  8026. "定制【尚志大宗】"
  8027. ],
  8028. "summary": "搜索白名单",
  8029. "parameters": [
  8030. {
  8031. "type": "integer",
  8032. "description": "用户ID",
  8033. "name": "userID",
  8034. "in": "query",
  8035. "required": true
  8036. }
  8037. ],
  8038. "responses": {
  8039. "200": {
  8040. "description": "OK",
  8041. "schema": {
  8042. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8043. }
  8044. },
  8045. "500": {
  8046. "description": "Internal Server Error",
  8047. "schema": {
  8048. "$ref": "#/definitions/app.Response"
  8049. }
  8050. }
  8051. }
  8052. }
  8053. },
  8054. "/Search/SearchGoodses": {
  8055. "get": {
  8056. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8057. "produces": [
  8058. "application/json"
  8059. ],
  8060. "tags": [
  8061. "检索服务"
  8062. ],
  8063. "summary": "检索商品信息",
  8064. "parameters": [
  8065. {
  8066. "type": "string",
  8067. "description": "检索内容",
  8068. "name": "content",
  8069. "in": "query",
  8070. "required": true
  8071. },
  8072. {
  8073. "type": "string",
  8074. "description": "交易模式,格式:1,2,3",
  8075. "name": "tradeModes",
  8076. "in": "query"
  8077. }
  8078. ],
  8079. "responses": {
  8080. "200": {
  8081. "description": "OK",
  8082. "schema": {
  8083. "$ref": "#/definitions/models.SearchGoods"
  8084. }
  8085. },
  8086. "500": {
  8087. "description": "Internal Server Error",
  8088. "schema": {
  8089. "$ref": "#/definitions/app.Response"
  8090. }
  8091. }
  8092. }
  8093. }
  8094. },
  8095. "/TaAccount/GetTaAccounts": {
  8096. "get": {
  8097. "security": [
  8098. {
  8099. "ApiKeyAuth": []
  8100. }
  8101. ],
  8102. "produces": [
  8103. "application/json"
  8104. ],
  8105. "tags": [
  8106. "资金账户"
  8107. ],
  8108. "summary": "获取资金账户信息",
  8109. "parameters": [
  8110. {
  8111. "type": "integer",
  8112. "description": "登录账户",
  8113. "name": "loginID",
  8114. "in": "query",
  8115. "required": true
  8116. },
  8117. {
  8118. "type": "integer",
  8119. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8120. "name": "taAccountType",
  8121. "in": "query"
  8122. }
  8123. ],
  8124. "responses": {
  8125. "200": {
  8126. "description": "OK",
  8127. "schema": {
  8128. "$ref": "#/definitions/models.Taaccount"
  8129. }
  8130. },
  8131. "500": {
  8132. "description": "Internal Server Error",
  8133. "schema": {
  8134. "$ref": "#/definitions/app.Response"
  8135. }
  8136. }
  8137. }
  8138. }
  8139. },
  8140. "/TaAccount/QueryAmountLog": {
  8141. "get": {
  8142. "security": [
  8143. {
  8144. "ApiKeyAuth": []
  8145. }
  8146. ],
  8147. "produces": [
  8148. "application/json"
  8149. ],
  8150. "tags": [
  8151. "资金账户"
  8152. ],
  8153. "summary": "资金流水查询(当前)",
  8154. "parameters": [
  8155. {
  8156. "type": "integer",
  8157. "description": "页码",
  8158. "name": "page",
  8159. "in": "query"
  8160. },
  8161. {
  8162. "type": "integer",
  8163. "description": "每页条数",
  8164. "name": "pagesize",
  8165. "in": "query"
  8166. },
  8167. {
  8168. "type": "string",
  8169. "description": "资金账户 - 格式:1,2,3",
  8170. "name": "accountID",
  8171. "in": "query",
  8172. "required": true
  8173. },
  8174. {
  8175. "type": "string",
  8176. "description": "资金操作类型 - 格式:1,2,3",
  8177. "name": "OperateType",
  8178. "in": "query"
  8179. }
  8180. ],
  8181. "responses": {
  8182. "200": {
  8183. "description": "OK",
  8184. "schema": {
  8185. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8186. }
  8187. },
  8188. "500": {
  8189. "description": "Internal Server Error",
  8190. "schema": {
  8191. "$ref": "#/definitions/app.Response"
  8192. }
  8193. }
  8194. }
  8195. }
  8196. },
  8197. "/TaAccount/QueryHisAmountLog": {
  8198. "get": {
  8199. "security": [
  8200. {
  8201. "ApiKeyAuth": []
  8202. }
  8203. ],
  8204. "produces": [
  8205. "application/json"
  8206. ],
  8207. "tags": [
  8208. "资金账户"
  8209. ],
  8210. "summary": "资金流水查询(历史)",
  8211. "parameters": [
  8212. {
  8213. "type": "integer",
  8214. "description": "页码",
  8215. "name": "page",
  8216. "in": "query"
  8217. },
  8218. {
  8219. "type": "integer",
  8220. "description": "每页条数",
  8221. "name": "pagesize",
  8222. "in": "query"
  8223. },
  8224. {
  8225. "type": "string",
  8226. "description": "资金账户 - 格式:1,2,3",
  8227. "name": "accountID",
  8228. "in": "query",
  8229. "required": true
  8230. },
  8231. {
  8232. "type": "string",
  8233. "description": "资金操作类型 - 格式:1,2,3",
  8234. "name": "OperateType",
  8235. "in": "query"
  8236. },
  8237. {
  8238. "type": "string",
  8239. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8240. "name": "startDate",
  8241. "in": "query"
  8242. },
  8243. {
  8244. "type": "string",
  8245. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8246. "name": "endDate",
  8247. "in": "query"
  8248. }
  8249. ],
  8250. "responses": {
  8251. "200": {
  8252. "description": "OK",
  8253. "schema": {
  8254. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8255. }
  8256. },
  8257. "500": {
  8258. "description": "Internal Server Error",
  8259. "schema": {
  8260. "$ref": "#/definitions/app.Response"
  8261. }
  8262. }
  8263. }
  8264. }
  8265. },
  8266. "/Trade/QueryRecieptOrder": {
  8267. "get": {
  8268. "security": [
  8269. {
  8270. "ApiKeyAuth": []
  8271. }
  8272. ],
  8273. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8274. "produces": [
  8275. "application/json"
  8276. ],
  8277. "tags": [
  8278. "通用交易"
  8279. ],
  8280. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8281. "parameters": [
  8282. {
  8283. "type": "integer",
  8284. "description": "页码",
  8285. "name": "page",
  8286. "in": "query"
  8287. },
  8288. {
  8289. "type": "integer",
  8290. "description": "每页条数",
  8291. "name": "pagesize",
  8292. "in": "query"
  8293. },
  8294. {
  8295. "type": "integer",
  8296. "description": "商品ID",
  8297. "name": "goodsID",
  8298. "in": "query",
  8299. "required": true
  8300. },
  8301. {
  8302. "type": "string",
  8303. "description": "所属账户名称",
  8304. "name": "accountName",
  8305. "in": "query"
  8306. },
  8307. {
  8308. "type": "integer",
  8309. "description": "市场ID",
  8310. "name": "marketID",
  8311. "in": "query"
  8312. },
  8313. {
  8314. "type": "integer",
  8315. "description": "方向 - 0:买 1:卖",
  8316. "name": "buyorsell",
  8317. "in": "query",
  8318. "required": true
  8319. }
  8320. ],
  8321. "responses": {
  8322. "200": {
  8323. "description": "OK",
  8324. "schema": {
  8325. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8326. }
  8327. },
  8328. "500": {
  8329. "description": "Internal Server Error",
  8330. "schema": {
  8331. "$ref": "#/definitions/app.Response"
  8332. }
  8333. }
  8334. }
  8335. }
  8336. },
  8337. "/User/AddMessageBoard": {
  8338. "post": {
  8339. "security": [
  8340. {
  8341. "ApiKeyAuth": []
  8342. }
  8343. ],
  8344. "produces": [
  8345. "application/json"
  8346. ],
  8347. "tags": [
  8348. "用户信息"
  8349. ],
  8350. "summary": "添加用户留言板信息",
  8351. "parameters": [
  8352. {
  8353. "type": "integer",
  8354. "description": "用户ID",
  8355. "name": "userID",
  8356. "in": "query",
  8357. "required": true
  8358. },
  8359. {
  8360. "type": "string",
  8361. "description": "留言信息",
  8362. "name": "message",
  8363. "in": "query",
  8364. "required": true
  8365. },
  8366. {
  8367. "type": "string",
  8368. "description": "联系电话",
  8369. "name": "contactNum",
  8370. "in": "query",
  8371. "required": true
  8372. }
  8373. ],
  8374. "responses": {
  8375. "200": {
  8376. "description": "OK",
  8377. "schema": {
  8378. "$ref": "#/definitions/app.Response"
  8379. }
  8380. },
  8381. "500": {
  8382. "description": "Internal Server Error",
  8383. "schema": {
  8384. "$ref": "#/definitions/app.Response"
  8385. }
  8386. }
  8387. }
  8388. }
  8389. },
  8390. "/User/AddUserFavoriteGoods": {
  8391. "post": {
  8392. "security": [
  8393. {
  8394. "ApiKeyAuth": []
  8395. }
  8396. ],
  8397. "produces": [
  8398. "application/json"
  8399. ],
  8400. "tags": [
  8401. "用户信息"
  8402. ],
  8403. "summary": "添加用户商品收藏信息",
  8404. "parameters": [
  8405. {
  8406. "type": "integer",
  8407. "description": "用户ID",
  8408. "name": "userID",
  8409. "in": "query",
  8410. "required": true
  8411. },
  8412. {
  8413. "type": "integer",
  8414. "description": "商品ID",
  8415. "name": "goodsID",
  8416. "in": "query",
  8417. "required": true
  8418. }
  8419. ],
  8420. "responses": {
  8421. "200": {
  8422. "description": "OK",
  8423. "schema": {
  8424. "$ref": "#/definitions/app.Response"
  8425. }
  8426. },
  8427. "500": {
  8428. "description": "Internal Server Error",
  8429. "schema": {
  8430. "$ref": "#/definitions/app.Response"
  8431. }
  8432. }
  8433. }
  8434. }
  8435. },
  8436. "/User/GetLoginID": {
  8437. "get": {
  8438. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8439. "produces": [
  8440. "application/json"
  8441. ],
  8442. "tags": [
  8443. "用户信息"
  8444. ],
  8445. "summary": "获取登录ID",
  8446. "parameters": [
  8447. {
  8448. "type": "string",
  8449. "description": "登录代码",
  8450. "name": "username",
  8451. "in": "query",
  8452. "required": true
  8453. }
  8454. ],
  8455. "responses": {
  8456. "200": {
  8457. "description": "OK",
  8458. "schema": {
  8459. "$ref": "#/definitions/app.Response"
  8460. }
  8461. },
  8462. "500": {
  8463. "description": "Internal Server Error",
  8464. "schema": {
  8465. "$ref": "#/definitions/app.Response"
  8466. }
  8467. }
  8468. }
  8469. }
  8470. },
  8471. "/User/GetUserAccount": {
  8472. "get": {
  8473. "security": [
  8474. {
  8475. "ApiKeyAuth": []
  8476. }
  8477. ],
  8478. "produces": [
  8479. "application/json"
  8480. ],
  8481. "tags": [
  8482. "用户信息"
  8483. ],
  8484. "summary": "获取用户账号信息",
  8485. "parameters": [
  8486. {
  8487. "type": "integer",
  8488. "description": "用户ID",
  8489. "name": "userID",
  8490. "in": "query",
  8491. "required": true
  8492. }
  8493. ],
  8494. "responses": {
  8495. "200": {
  8496. "description": "OK",
  8497. "schema": {
  8498. "$ref": "#/definitions/models.Useraccount"
  8499. }
  8500. },
  8501. "500": {
  8502. "description": "Internal Server Error",
  8503. "schema": {
  8504. "$ref": "#/definitions/app.Response"
  8505. }
  8506. }
  8507. }
  8508. }
  8509. },
  8510. "/User/GetUserAuthStatus": {
  8511. "get": {
  8512. "security": [
  8513. {
  8514. "ApiKeyAuth": []
  8515. }
  8516. ],
  8517. "produces": [
  8518. "application/json"
  8519. ],
  8520. "tags": [
  8521. "用户信息"
  8522. ],
  8523. "summary": "获取用户实名认证状态",
  8524. "parameters": [
  8525. {
  8526. "type": "integer",
  8527. "description": "用户ID",
  8528. "name": "userID",
  8529. "in": "query",
  8530. "required": true
  8531. }
  8532. ],
  8533. "responses": {
  8534. "200": {
  8535. "description": "OK",
  8536. "schema": {
  8537. "$ref": "#/definitions/app.Response"
  8538. }
  8539. },
  8540. "500": {
  8541. "description": "Internal Server Error",
  8542. "schema": {
  8543. "$ref": "#/definitions/app.Response"
  8544. }
  8545. }
  8546. }
  8547. }
  8548. },
  8549. "/User/LoginQuery": {
  8550. "get": {
  8551. "security": [
  8552. {
  8553. "ApiKeyAuth": []
  8554. }
  8555. ],
  8556. "produces": [
  8557. "application/json"
  8558. ],
  8559. "tags": [
  8560. "用户信息"
  8561. ],
  8562. "summary": "账户登录后信息查询",
  8563. "parameters": [
  8564. {
  8565. "type": "integer",
  8566. "description": "登录账号",
  8567. "name": "loginID",
  8568. "in": "query",
  8569. "required": true
  8570. }
  8571. ],
  8572. "responses": {
  8573. "200": {
  8574. "description": "OK",
  8575. "schema": {
  8576. "$ref": "#/definitions/user.LoginQueryRsp"
  8577. }
  8578. },
  8579. "500": {
  8580. "description": "Internal Server Error",
  8581. "schema": {
  8582. "$ref": "#/definitions/app.Response"
  8583. }
  8584. }
  8585. }
  8586. }
  8587. },
  8588. "/User/QueryMessageBoard": {
  8589. "get": {
  8590. "security": [
  8591. {
  8592. "ApiKeyAuth": []
  8593. }
  8594. ],
  8595. "produces": [
  8596. "application/json"
  8597. ],
  8598. "tags": [
  8599. "用户信息"
  8600. ],
  8601. "summary": "获取用户留言板信息",
  8602. "parameters": [
  8603. {
  8604. "type": "integer",
  8605. "description": "用户ID",
  8606. "name": "userID",
  8607. "in": "query",
  8608. "required": true
  8609. }
  8610. ],
  8611. "responses": {
  8612. "200": {
  8613. "description": "OK",
  8614. "schema": {
  8615. "$ref": "#/definitions/models.Messageboard"
  8616. }
  8617. },
  8618. "500": {
  8619. "description": "Internal Server Error",
  8620. "schema": {
  8621. "$ref": "#/definitions/app.Response"
  8622. }
  8623. }
  8624. }
  8625. }
  8626. },
  8627. "/User/QueryUserFavoriteGoodses": {
  8628. "get": {
  8629. "security": [
  8630. {
  8631. "ApiKeyAuth": []
  8632. }
  8633. ],
  8634. "produces": [
  8635. "application/json"
  8636. ],
  8637. "tags": [
  8638. "用户信息"
  8639. ],
  8640. "summary": "获取用户商品收藏信息",
  8641. "parameters": [
  8642. {
  8643. "type": "integer",
  8644. "description": "用户ID",
  8645. "name": "userID",
  8646. "in": "query",
  8647. "required": true
  8648. }
  8649. ],
  8650. "responses": {
  8651. "200": {
  8652. "description": "OK",
  8653. "schema": {
  8654. "$ref": "#/definitions/models.Userfavoritegoods"
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/User/QueryUserInfo": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "用户信息"
  8678. ],
  8679. "summary": "获取用户信息",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userID",
  8685. "in": "query",
  8686. "required": true
  8687. },
  8688. {
  8689. "type": "boolean",
  8690. "description": "是否解密",
  8691. "name": "isDecrypt",
  8692. "in": "query"
  8693. }
  8694. ],
  8695. "responses": {
  8696. "200": {
  8697. "description": "OK",
  8698. "schema": {
  8699. "$ref": "#/definitions/models.Userinfo"
  8700. }
  8701. },
  8702. "500": {
  8703. "description": "Internal Server Error",
  8704. "schema": {
  8705. "$ref": "#/definitions/app.Response"
  8706. }
  8707. }
  8708. }
  8709. }
  8710. },
  8711. "/User/QueryUserReferNum": {
  8712. "get": {
  8713. "produces": [
  8714. "application/json"
  8715. ],
  8716. "tags": [
  8717. "用户信息"
  8718. ],
  8719. "summary": "获取用户邀请码",
  8720. "parameters": [
  8721. {
  8722. "type": "integer",
  8723. "description": "用户ID",
  8724. "name": "userID",
  8725. "in": "query",
  8726. "required": true
  8727. }
  8728. ],
  8729. "responses": {
  8730. "200": {
  8731. "description": "OK",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. },
  8736. "500": {
  8737. "description": "Internal Server Error",
  8738. "schema": {
  8739. "$ref": "#/definitions/app.Response"
  8740. }
  8741. }
  8742. }
  8743. }
  8744. },
  8745. "/User/RemoveUserFavoriteGoods": {
  8746. "post": {
  8747. "security": [
  8748. {
  8749. "ApiKeyAuth": []
  8750. }
  8751. ],
  8752. "produces": [
  8753. "application/json"
  8754. ],
  8755. "tags": [
  8756. "用户信息"
  8757. ],
  8758. "summary": "移除用户商品收藏信息",
  8759. "parameters": [
  8760. {
  8761. "type": "integer",
  8762. "description": "用户ID",
  8763. "name": "userID",
  8764. "in": "query",
  8765. "required": true
  8766. },
  8767. {
  8768. "type": "integer",
  8769. "description": "商品ID",
  8770. "name": "goodsID",
  8771. "in": "query",
  8772. "required": true
  8773. }
  8774. ],
  8775. "responses": {
  8776. "200": {
  8777. "description": "OK",
  8778. "schema": {
  8779. "$ref": "#/definitions/app.Response"
  8780. }
  8781. },
  8782. "500": {
  8783. "description": "Internal Server Error",
  8784. "schema": {
  8785. "$ref": "#/definitions/app.Response"
  8786. }
  8787. }
  8788. }
  8789. }
  8790. },
  8791. "/User/UpdateUserAccountStatus": {
  8792. "post": {
  8793. "security": [
  8794. {
  8795. "ApiKeyAuth": []
  8796. }
  8797. ],
  8798. "produces": [
  8799. "application/json"
  8800. ],
  8801. "tags": [
  8802. "用户信息"
  8803. ],
  8804. "summary": "更新用户状态",
  8805. "parameters": [
  8806. {
  8807. "type": "integer",
  8808. "description": "用户ID",
  8809. "name": "userID",
  8810. "in": "query",
  8811. "required": true
  8812. },
  8813. {
  8814. "type": "integer",
  8815. "description": "账户状态 - 4:正常 6:注销(停用)",
  8816. "name": "accountStatus",
  8817. "in": "query",
  8818. "required": true
  8819. }
  8820. ],
  8821. "responses": {
  8822. "200": {
  8823. "description": "OK",
  8824. "schema": {
  8825. "$ref": "#/definitions/app.Response"
  8826. }
  8827. },
  8828. "500": {
  8829. "description": "Internal Server Error",
  8830. "schema": {
  8831. "$ref": "#/definitions/app.Response"
  8832. }
  8833. }
  8834. }
  8835. }
  8836. },
  8837. "/WRTrade/GetAllDeliveryGoods": {
  8838. "get": {
  8839. "security": [
  8840. {
  8841. "ApiKeyAuth": []
  8842. },
  8843. {
  8844. "ApiKeyAuth": []
  8845. }
  8846. ],
  8847. "produces": [
  8848. "application/json",
  8849. "application/json"
  8850. ],
  8851. "tags": [
  8852. "仓单贸易",
  8853. "仓单贸易"
  8854. ],
  8855. "summary": "获取带仓单分类的种类信息",
  8856. "responses": {
  8857. "200": {
  8858. "description": "OK",
  8859. "schema": {
  8860. "$ref": "#/definitions/app.Response"
  8861. }
  8862. },
  8863. "500": {
  8864. "description": "Internal Server Error",
  8865. "schema": {
  8866. "$ref": "#/definitions/app.Response"
  8867. }
  8868. }
  8869. }
  8870. }
  8871. }
  8872. },
  8873. "definitions": {
  8874. "app.Response": {
  8875. "type": "object",
  8876. "properties": {
  8877. "code": {
  8878. "type": "integer"
  8879. },
  8880. "data": {
  8881. "type": "object"
  8882. },
  8883. "msg": {
  8884. "type": "string"
  8885. },
  8886. "page": {
  8887. "description": "页码",
  8888. "type": "integer"
  8889. },
  8890. "pagesize": {
  8891. "description": "每页条数",
  8892. "type": "integer"
  8893. },
  8894. "total": {
  8895. "description": "总条数",
  8896. "type": "integer"
  8897. }
  8898. }
  8899. },
  8900. "common.ClientMenu": {
  8901. "type": "object",
  8902. "properties": {
  8903. "children": {
  8904. "description": "子菜单列表",
  8905. "type": "array",
  8906. "items": {
  8907. "$ref": "#/definitions/common.ClientMenu"
  8908. }
  8909. },
  8910. "code": {
  8911. "description": "ID",
  8912. "type": "string"
  8913. },
  8914. "isshow": {
  8915. "description": "是否显示",
  8916. "type": "boolean"
  8917. },
  8918. "rulekey": {
  8919. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8920. "type": "string"
  8921. },
  8922. "sort": {
  8923. "description": "排序",
  8924. "type": "integer"
  8925. },
  8926. "title": {
  8927. "description": "标题",
  8928. "type": "string"
  8929. },
  8930. "type": {
  8931. "description": "类型,1:菜单 2:按钮",
  8932. "type": "integer"
  8933. }
  8934. }
  8935. },
  8936. "common.QueryImageConfigsRsp": {
  8937. "type": "object",
  8938. "required": [
  8939. "configid"
  8940. ],
  8941. "properties": {
  8942. "areauserid": {
  8943. "description": "所属机构ID",
  8944. "type": "integer"
  8945. },
  8946. "configid": {
  8947. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8948. "type": "integer"
  8949. },
  8950. "createdate": {
  8951. "description": "创建时间",
  8952. "type": "string"
  8953. },
  8954. "creatorid": {
  8955. "description": "创建人",
  8956. "type": "integer"
  8957. },
  8958. "imagepath": {
  8959. "description": "图片",
  8960. "type": "string"
  8961. },
  8962. "imagetype": {
  8963. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8964. "type": "integer"
  8965. },
  8966. "isshow": {
  8967. "description": "是否展示 - 0:不展示 1:展示",
  8968. "type": "integer"
  8969. },
  8970. "marketid": {
  8971. "description": "市场ID",
  8972. "type": "integer"
  8973. },
  8974. "modifierid": {
  8975. "description": "操作人",
  8976. "type": "integer"
  8977. },
  8978. "sort": {
  8979. "description": "排序",
  8980. "type": "integer"
  8981. },
  8982. "title": {
  8983. "description": "标题",
  8984. "type": "string"
  8985. },
  8986. "trademode": {
  8987. "description": "交易模式",
  8988. "type": "integer"
  8989. },
  8990. "updatedate": {
  8991. "description": "修改时间",
  8992. "type": "string"
  8993. },
  8994. "url": {
  8995. "description": "链接(地址或商品ID)",
  8996. "type": "string"
  8997. },
  8998. "urltype": {
  8999. "description": "链接类型 - 1:直接地址 2:商品ID",
  9000. "type": "integer"
  9001. }
  9002. }
  9003. },
  9004. "common.QueryNoticeRsp": {
  9005. "type": "object",
  9006. "required": [
  9007. "autoid"
  9008. ],
  9009. "properties": {
  9010. "auditoruserid": {
  9011. "description": "审核人",
  9012. "type": "integer"
  9013. },
  9014. "auditremark": {
  9015. "description": "审核备注",
  9016. "type": "string"
  9017. },
  9018. "audittime": {
  9019. "description": "审核日期",
  9020. "type": "string"
  9021. },
  9022. "autoid": {
  9023. "description": "自增ID",
  9024. "type": "integer"
  9025. },
  9026. "content": {
  9027. "description": "内容",
  9028. "type": "string"
  9029. },
  9030. "createtime": {
  9031. "description": "创建时间",
  9032. "type": "string"
  9033. },
  9034. "creatorid": {
  9035. "description": "建仓人",
  9036. "type": "integer"
  9037. },
  9038. "endtime": {
  9039. "description": "结束时间",
  9040. "type": "string"
  9041. },
  9042. "istop": {
  9043. "description": "是否置顶 - 0:不置顶 1:置顶",
  9044. "type": "integer"
  9045. },
  9046. "msgiconurl": {
  9047. "description": "消息图标Url",
  9048. "type": "string"
  9049. },
  9050. "msgtype": {
  9051. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9052. "type": "integer"
  9053. },
  9054. "publisher": {
  9055. "description": "消息发布者",
  9056. "type": "string"
  9057. },
  9058. "readed": {
  9059. "description": "是否已读",
  9060. "type": "boolean"
  9061. },
  9062. "scheduletime": {
  9063. "description": "计划发送时间",
  9064. "type": "string"
  9065. },
  9066. "sendtype": {
  9067. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9068. "type": "integer"
  9069. },
  9070. "sentstatus": {
  9071. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9072. "type": "integer"
  9073. },
  9074. "title": {
  9075. "description": "标题",
  9076. "type": "string"
  9077. },
  9078. "userid": {
  9079. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9080. "type": "integer"
  9081. }
  9082. }
  9083. },
  9084. "common.QueryProvincesAndCitiesRsp": {
  9085. "type": "object",
  9086. "properties": {
  9087. "cities": {
  9088. "description": "市",
  9089. "type": "array",
  9090. "items": {
  9091. "$ref": "#/definitions/models.Division"
  9092. }
  9093. },
  9094. "province": {
  9095. "description": "省",
  9096. "type": "object",
  9097. "$ref": "#/definitions/models.Division"
  9098. }
  9099. }
  9100. },
  9101. "common.QueryTableDefineRsp": {
  9102. "type": "object",
  9103. "required": [
  9104. "tablekey"
  9105. ],
  9106. "properties": {
  9107. "columns": {
  9108. "description": "列头信息数组",
  9109. "type": "array",
  9110. "items": {
  9111. "$ref": "#/definitions/models.Tablecolumnconfig"
  9112. }
  9113. },
  9114. "remark": {
  9115. "description": "Remark",
  9116. "type": "string"
  9117. },
  9118. "tabelmenu": {
  9119. "description": "列表菜单",
  9120. "type": "string"
  9121. },
  9122. "tablekey": {
  9123. "description": "列表Key",
  9124. "type": "string"
  9125. },
  9126. "tablename": {
  9127. "description": "列表名称",
  9128. "type": "string"
  9129. },
  9130. "tabletype": {
  9131. "description": "列表类型 - 1:管理端 2:终端",
  9132. "type": "integer"
  9133. }
  9134. }
  9135. },
  9136. "common.QueryTraderMenuRsp": {
  9137. "type": "object",
  9138. "properties": {
  9139. "OperationMenu": {
  9140. "description": "功能菜单",
  9141. "type": "array",
  9142. "items": {
  9143. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9144. }
  9145. },
  9146. "QuoteMenu": {
  9147. "description": "报价牌分类菜单",
  9148. "type": "array",
  9149. "items": {
  9150. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9151. }
  9152. }
  9153. }
  9154. },
  9155. "cptrade.Cptradepositioncancel": {
  9156. "type": "object",
  9157. "required": [
  9158. "cancelid"
  9159. ],
  9160. "properties": {
  9161. "accountid": {
  9162. "description": "申请人账户ID",
  9163. "type": "integer"
  9164. },
  9165. "applystatus": {
  9166. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9167. "type": "integer"
  9168. },
  9169. "applytime": {
  9170. "description": "申请时间",
  9171. "type": "string"
  9172. },
  9173. "cancelid": {
  9174. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9175. "type": "integer"
  9176. },
  9177. "cancelqty": {
  9178. "description": "注销数量",
  9179. "type": "integer"
  9180. },
  9181. "createtime": {
  9182. "description": "创建时间",
  9183. "type": "string"
  9184. },
  9185. "creatorid": {
  9186. "description": "创建人ID",
  9187. "type": "integer"
  9188. },
  9189. "creatorname": {
  9190. "description": "创建人",
  9191. "type": "string"
  9192. },
  9193. "goodscode": {
  9194. "description": "订单商品代码",
  9195. "type": "string"
  9196. },
  9197. "goodsid": {
  9198. "description": "商品ID",
  9199. "type": "integer"
  9200. },
  9201. "goodsname": {
  9202. "description": "订单商品名称",
  9203. "type": "string"
  9204. },
  9205. "goodunit": {
  9206. "description": "报价单位",
  9207. "type": "string"
  9208. },
  9209. "handlestatus": {
  9210. "description": "处理状态",
  9211. "type": "integer"
  9212. },
  9213. "marketid": {
  9214. "description": "市场ID",
  9215. "type": "integer"
  9216. },
  9217. "marketname": {
  9218. "description": "市场名称",
  9219. "type": "string"
  9220. },
  9221. "tradedate": {
  9222. "description": "交易日(yyyyMMdd)",
  9223. "type": "string"
  9224. },
  9225. "userid": {
  9226. "description": "申请人ID",
  9227. "type": "integer"
  9228. }
  9229. }
  9230. },
  9231. "cptrade.Cptradepresaleapply": {
  9232. "type": "object",
  9233. "required": [
  9234. "applyid"
  9235. ],
  9236. "properties": {
  9237. "accountid": {
  9238. "description": "申请人账户ID",
  9239. "type": "integer"
  9240. },
  9241. "applyid": {
  9242. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9243. "type": "integer"
  9244. },
  9245. "applyremark": {
  9246. "description": "申请备注",
  9247. "type": "string"
  9248. },
  9249. "applystatus": {
  9250. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9251. "type": "integer"
  9252. },
  9253. "applytime": {
  9254. "description": "申请时间",
  9255. "type": "string"
  9256. },
  9257. "attachmenturl": {
  9258. "description": "附件地址",
  9259. "type": "string"
  9260. },
  9261. "endtime": {
  9262. "description": "预售结束时间",
  9263. "type": "string"
  9264. },
  9265. "goodscode": {
  9266. "description": "商品代码",
  9267. "type": "string"
  9268. },
  9269. "goodsid": {
  9270. "description": "商品ID",
  9271. "type": "integer"
  9272. },
  9273. "goodsname": {
  9274. "description": "商品名称",
  9275. "type": "string"
  9276. },
  9277. "goodunit": {
  9278. "description": "报价单位",
  9279. "type": "string"
  9280. },
  9281. "handlestatus": {
  9282. "description": "处理状态",
  9283. "type": "integer"
  9284. },
  9285. "marketid": {
  9286. "description": "预售市场ID",
  9287. "type": "integer"
  9288. },
  9289. "marketname": {
  9290. "description": "预售市场名称",
  9291. "type": "string"
  9292. },
  9293. "presaleqty": {
  9294. "description": "预售数量",
  9295. "type": "integer"
  9296. },
  9297. "relatedgoodscode": {
  9298. "description": "关联交易合约代码",
  9299. "type": "string"
  9300. },
  9301. "relatedgoodsid": {
  9302. "description": "关联交易合约ID",
  9303. "type": "integer"
  9304. },
  9305. "relatedgoodsname": {
  9306. "description": "关联交易合约名称",
  9307. "type": "string"
  9308. },
  9309. "starttime": {
  9310. "description": "预售开始时间",
  9311. "type": "string"
  9312. },
  9313. "tradedate": {
  9314. "description": "交易日(yyyyMMdd)",
  9315. "type": "string"
  9316. },
  9317. "trademode": {
  9318. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9319. "type": "integer"
  9320. },
  9321. "userid": {
  9322. "description": "申请人ID",
  9323. "type": "integer"
  9324. }
  9325. }
  9326. },
  9327. "cptrade.Cptradeusergoodsdata": {
  9328. "type": "object",
  9329. "required": [
  9330. "accountid",
  9331. "goodsid"
  9332. ],
  9333. "properties": {
  9334. "EnabledQty": {
  9335. "description": "可用量",
  9336. "type": "integer"
  9337. },
  9338. "GoodsCode": {
  9339. "description": "订单商品代码",
  9340. "type": "string"
  9341. },
  9342. "GoodsName": {
  9343. "description": "订单商品名称",
  9344. "type": "string"
  9345. },
  9346. "WRStandardCode": {
  9347. "description": "仓单标准代码",
  9348. "type": "string"
  9349. },
  9350. "WRStandardName": {
  9351. "description": "仓单标准名称",
  9352. "type": "string"
  9353. },
  9354. "accountid": {
  9355. "description": "账户ID",
  9356. "type": "integer"
  9357. },
  9358. "cancelqty": {
  9359. "description": "注销量",
  9360. "type": "integer"
  9361. },
  9362. "curpresaleqty": {
  9363. "description": "当前预售量",
  9364. "type": "integer"
  9365. },
  9366. "deliveryqty": {
  9367. "description": "交割量",
  9368. "type": "integer"
  9369. },
  9370. "freezeamount": {
  9371. "description": "冻结金额",
  9372. "type": "number"
  9373. },
  9374. "goodsid": {
  9375. "description": "商品ID",
  9376. "type": "integer"
  9377. },
  9378. "goodunit": {
  9379. "description": "报价单位",
  9380. "type": "string"
  9381. },
  9382. "hasspotfreeze": {
  9383. "description": "是否有现货冻结 - 0:否 1:有",
  9384. "type": "integer"
  9385. },
  9386. "inqty": {
  9387. "description": "转入量(总数量)",
  9388. "type": "integer"
  9389. },
  9390. "marketid": {
  9391. "description": "市场ID",
  9392. "type": "integer"
  9393. },
  9394. "presaledamount": {
  9395. "description": "已预售总金额",
  9396. "type": "integer"
  9397. },
  9398. "presaledqty": {
  9399. "description": "已预售量",
  9400. "type": "integer"
  9401. },
  9402. "userid": {
  9403. "description": "用户ID",
  9404. "type": "integer"
  9405. },
  9406. "wrstandardid": {
  9407. "description": "仓单标准ID",
  9408. "type": "integer"
  9409. }
  9410. }
  9411. },
  9412. "cptrade.QueryCPTradeMyBidRsp": {
  9413. "type": "object",
  9414. "required": [
  9415. "accountid",
  9416. "goodsid",
  9417. "marketid",
  9418. "orderid",
  9419. "orderqty",
  9420. "ordertime",
  9421. "tradeprice",
  9422. "tradeqty"
  9423. ],
  9424. "properties": {
  9425. "accountid": {
  9426. "description": "账户ID[报价币种]",
  9427. "type": "integer"
  9428. },
  9429. "goodsid": {
  9430. "description": "商品ID",
  9431. "type": "integer"
  9432. },
  9433. "goodunit": {
  9434. "description": "报价单位",
  9435. "type": "string"
  9436. },
  9437. "marketid": {
  9438. "description": "市场ID",
  9439. "type": "integer"
  9440. },
  9441. "orderid": {
  9442. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9443. "type": "integer"
  9444. },
  9445. "orderprice": {
  9446. "description": "委托价格",
  9447. "type": "number"
  9448. },
  9449. "orderqty": {
  9450. "description": "委托数量",
  9451. "type": "integer"
  9452. },
  9453. "ordertime": {
  9454. "description": "委托时间",
  9455. "type": "string"
  9456. },
  9457. "ordertotalprice": {
  9458. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9459. "type": "number"
  9460. },
  9461. "ordertotalweight": {
  9462. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9463. "type": "integer"
  9464. },
  9465. "totaltotalprice": {
  9466. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9467. "type": "number"
  9468. },
  9469. "tradeprice": {
  9470. "description": "成交价格",
  9471. "type": "number"
  9472. },
  9473. "tradeqty": {
  9474. "description": "成交数量",
  9475. "type": "integer"
  9476. }
  9477. }
  9478. },
  9479. "cptrade.QueryCPTradeOrderDetailRsq": {
  9480. "type": "object",
  9481. "required": [
  9482. "accountid",
  9483. "buildtype",
  9484. "buyorsell",
  9485. "goodsid",
  9486. "marketid",
  9487. "memberuserid",
  9488. "operatetype",
  9489. "orderqty",
  9490. "ordertime",
  9491. "pricemode",
  9492. "strorderid",
  9493. "tradedate",
  9494. "validtype"
  9495. ],
  9496. "properties": {
  9497. "accountid": {
  9498. "description": "账户ID[报价币种]",
  9499. "type": "integer"
  9500. },
  9501. "buildtype": {
  9502. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9503. "type": "integer"
  9504. },
  9505. "buyorsell": {
  9506. "description": "买卖 - 0:买 1:卖",
  9507. "type": "integer"
  9508. },
  9509. "cancelorderid": {
  9510. "description": "撤单单号(撤单时填写)",
  9511. "type": "integer"
  9512. },
  9513. "cancelqty": {
  9514. "description": "撤单数量",
  9515. "type": "integer"
  9516. },
  9517. "clientordertime": {
  9518. "description": "客户端委托时间",
  9519. "type": "string"
  9520. },
  9521. "clientticket": {
  9522. "description": "客户端流水号",
  9523. "type": "string"
  9524. },
  9525. "clienttype": {
  9526. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9527. "type": "integer"
  9528. },
  9529. "closeexchagechargevalue": {
  9530. "description": "平仓交易所手续费设置值",
  9531. "type": "number"
  9532. },
  9533. "closefeealgorithm": {
  9534. "description": "平仓手续费收取方式 1:比率 2:固定",
  9535. "type": "integer"
  9536. },
  9537. "closefreezecharge": {
  9538. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9539. "type": "number"
  9540. },
  9541. "closememberchargevalue": {
  9542. "description": "平仓会员手续费设置值",
  9543. "type": "number"
  9544. },
  9545. "closeqty": {
  9546. "description": "平仓数量(先建后平操作 需要记录)",
  9547. "type": "integer"
  9548. },
  9549. "closetradeqty": {
  9550. "description": "平仓成交数量(先建后平操作,需要记录)",
  9551. "type": "integer"
  9552. },
  9553. "closeunfreezecharge": {
  9554. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9555. "type": "number"
  9556. },
  9557. "delistingtype": {
  9558. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9559. "type": "integer"
  9560. },
  9561. "freezecharge": {
  9562. "description": "冻结手续费",
  9563. "type": "number"
  9564. },
  9565. "freezemargin": {
  9566. "description": "冻结保证金(冻结交易金额)",
  9567. "type": "number"
  9568. },
  9569. "gcaccountid": {
  9570. "description": "账户ID[合约币种]",
  9571. "type": "integer"
  9572. },
  9573. "goodsid": {
  9574. "description": "商品ID",
  9575. "type": "integer"
  9576. },
  9577. "isconfirmexercise": {
  9578. "description": "是否确认行权- 0:否 1:是",
  9579. "type": "integer"
  9580. },
  9581. "ispreexercise": {
  9582. "description": "是否预申报- 0:否 1:是",
  9583. "type": "integer"
  9584. },
  9585. "listingselecttype": {
  9586. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9587. "type": "integer"
  9588. },
  9589. "marginalgorithm": {
  9590. "description": "保证金收取方式 1:比率 2:固定",
  9591. "type": "integer"
  9592. },
  9593. "marginvalue": {
  9594. "description": "即市保证金设置值",
  9595. "type": "number"
  9596. },
  9597. "marketid": {
  9598. "description": "市场ID",
  9599. "type": "integer"
  9600. },
  9601. "marketmaxsub": {
  9602. "description": "市价最大偏移范围",
  9603. "type": "number"
  9604. },
  9605. "memberuserid": {
  9606. "description": "所属会员UserID",
  9607. "type": "integer"
  9608. },
  9609. "openexchagechargevalue": {
  9610. "description": "建仓交易所手续费设置值",
  9611. "type": "number"
  9612. },
  9613. "openfeealgorithm": {
  9614. "description": "建仓手续费收取方式 1:比率 2:固定",
  9615. "type": "integer"
  9616. },
  9617. "openfreezecharge": {
  9618. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9619. "type": "number"
  9620. },
  9621. "openmemberchargevalue": {
  9622. "description": "建仓会员手续费设置值",
  9623. "type": "number"
  9624. },
  9625. "openqty": {
  9626. "description": "开仓数量(先建后平操作,需要记录)",
  9627. "type": "integer"
  9628. },
  9629. "opentradeqty": {
  9630. "description": "开仓成交数量(先建后平操作,需要记录)",
  9631. "type": "integer"
  9632. },
  9633. "openunfreezecharge": {
  9634. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9635. "type": "number"
  9636. },
  9637. "operatetype": {
  9638. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9639. "type": "integer"
  9640. },
  9641. "operatorid": {
  9642. "description": "登录账号(LoginID)",
  9643. "type": "integer"
  9644. },
  9645. "optiontype": {
  9646. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9647. "type": "integer"
  9648. },
  9649. "orderprice": {
  9650. "description": "委托价格",
  9651. "type": "number"
  9652. },
  9653. "orderqty": {
  9654. "description": "委托数量",
  9655. "type": "integer"
  9656. },
  9657. "ordersrc": {
  9658. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9659. "type": "integer"
  9660. },
  9661. "orderstatus": {
  9662. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9663. "type": "integer"
  9664. },
  9665. "ordertime": {
  9666. "description": "委托时间",
  9667. "type": "string"
  9668. },
  9669. "preexerciseprice": {
  9670. "description": "预申报价格",
  9671. "type": "number"
  9672. },
  9673. "premium": {
  9674. "description": "权利金",
  9675. "type": "number"
  9676. },
  9677. "preorderid": {
  9678. "description": "关联预埋单号(止盈止损单时填写)",
  9679. "type": "integer"
  9680. },
  9681. "pricemode": {
  9682. "description": "取价方式 - 1:市价 2: 限价",
  9683. "type": "integer"
  9684. },
  9685. "quoteid": {
  9686. "description": "报价单ID",
  9687. "type": "integer"
  9688. },
  9689. "relatedid": {
  9690. "description": "关联单号(交割单)",
  9691. "type": "integer"
  9692. },
  9693. "retcode": {
  9694. "description": "错误代码",
  9695. "type": "integer"
  9696. },
  9697. "sessionid": {
  9698. "description": "会话ID",
  9699. "type": "integer"
  9700. },
  9701. "strorderid": {
  9702. "description": "委托单号",
  9703. "type": "string"
  9704. },
  9705. "tradedate": {
  9706. "description": "交易日(yyyyMMdd)",
  9707. "type": "string"
  9708. },
  9709. "tradeproperty": {
  9710. "description": "交易属性",
  9711. "type": "integer"
  9712. },
  9713. "tradeqty": {
  9714. "description": "成交数量",
  9715. "type": "integer"
  9716. },
  9717. "unfreezecharge": {
  9718. "description": "解冻手续费",
  9719. "type": "number"
  9720. },
  9721. "unfreezemargin": {
  9722. "description": "解冻保证金",
  9723. "type": "number"
  9724. },
  9725. "updatetime": {
  9726. "description": "更新时间",
  9727. "type": "string"
  9728. },
  9729. "uuid": {
  9730. "description": "发起端唯一id",
  9731. "type": "string"
  9732. },
  9733. "validtime": {
  9734. "description": "有效期限",
  9735. "type": "string"
  9736. },
  9737. "validtype": {
  9738. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9739. "type": "integer"
  9740. },
  9741. "volumetype": {
  9742. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9743. "type": "integer"
  9744. }
  9745. }
  9746. },
  9747. "cptrade.QueryMyCPTradeGoodsRsp": {
  9748. "type": "object",
  9749. "required": [
  9750. "goodscode",
  9751. "goodsid",
  9752. "goodsname",
  9753. "marketid",
  9754. "relatedgoodscode",
  9755. "relatedgoodsname"
  9756. ],
  9757. "properties": {
  9758. "accountid": {
  9759. "description": "卖方账户ID",
  9760. "type": "integer"
  9761. },
  9762. "agreeunit": {
  9763. "description": "合约单位",
  9764. "type": "number"
  9765. },
  9766. "applyid": {
  9767. "description": "关联申请ID",
  9768. "type": "integer"
  9769. },
  9770. "attachmenturl": {
  9771. "description": "附件地址",
  9772. "type": "string"
  9773. },
  9774. "createtime": {
  9775. "description": "创建时间",
  9776. "type": "string"
  9777. },
  9778. "currencyid": {
  9779. "description": "报价货币ID",
  9780. "type": "integer"
  9781. },
  9782. "decimalplace": {
  9783. "description": "报价小数位",
  9784. "type": "integer"
  9785. },
  9786. "endtime": {
  9787. "description": "预售结束时间",
  9788. "type": "string"
  9789. },
  9790. "floorprice": {
  9791. "description": "底价[大宗式竞拍]",
  9792. "type": "number"
  9793. },
  9794. "goodscode": {
  9795. "description": "商品代码(预售)",
  9796. "type": "string"
  9797. },
  9798. "goodsdetail": {
  9799. "description": "详情[大宗]",
  9800. "type": "string"
  9801. },
  9802. "goodsid": {
  9803. "description": "商品ID(自增ID SEQ_GOODS)",
  9804. "type": "integer"
  9805. },
  9806. "goodsname": {
  9807. "description": "商品名称(预售)",
  9808. "type": "string"
  9809. },
  9810. "goodunit": {
  9811. "description": "报价单位",
  9812. "type": "string"
  9813. },
  9814. "goodunitid": {
  9815. "description": "报价单位ID",
  9816. "type": "integer"
  9817. },
  9818. "marketid": {
  9819. "description": "所属市场ID",
  9820. "type": "integer"
  9821. },
  9822. "marketname": {
  9823. "description": "预售市场名称",
  9824. "type": "string"
  9825. },
  9826. "presaledamount": {
  9827. "description": "已预售总金额(预售结束时更新)",
  9828. "type": "number"
  9829. },
  9830. "presaledqty": {
  9831. "description": "已预售量(预售结束时更新)",
  9832. "type": "integer"
  9833. },
  9834. "presalemode": {
  9835. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9836. "type": "integer"
  9837. },
  9838. "presaleqty": {
  9839. "description": "预售数量",
  9840. "type": "integer"
  9841. },
  9842. "refprice": {
  9843. "description": "参考价格[一口价]",
  9844. "type": "number"
  9845. },
  9846. "relatedgoodscode": {
  9847. "description": "商品代码(订单)",
  9848. "type": "string"
  9849. },
  9850. "relatedgoodsid": {
  9851. "description": "关联交易合约ID",
  9852. "type": "integer"
  9853. },
  9854. "relatedgoodsname": {
  9855. "description": "商品名称(订单)",
  9856. "type": "string"
  9857. },
  9858. "relatedmarketid": {
  9859. "description": "关联交易合约市场ID",
  9860. "type": "integer"
  9861. },
  9862. "sellstatus": {
  9863. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9864. "type": "integer"
  9865. },
  9866. "startprice": {
  9867. "description": "起拍价[大宗式竞拍]",
  9868. "type": "number"
  9869. },
  9870. "starttime": {
  9871. "description": "预售开始时间",
  9872. "type": "string"
  9873. },
  9874. "tradedate": {
  9875. "description": "交易日(yyyyMMdd)",
  9876. "type": "string"
  9877. },
  9878. "tradeprice": {
  9879. "description": "成交价[大宗]",
  9880. "type": "number"
  9881. },
  9882. "userid": {
  9883. "description": "卖方用户ID",
  9884. "type": "integer"
  9885. }
  9886. }
  9887. },
  9888. "cptrade.QueryPresaleGoodsExRsp": {
  9889. "type": "object",
  9890. "required": [
  9891. "goodsid"
  9892. ],
  9893. "properties": {
  9894. "attachmenturl": {
  9895. "description": "附件地址",
  9896. "type": "string"
  9897. },
  9898. "createtime": {
  9899. "description": "创建时间",
  9900. "type": "string"
  9901. },
  9902. "endtime": {
  9903. "description": "预售结束时间",
  9904. "type": "string"
  9905. },
  9906. "floorprice": {
  9907. "description": "底价[大宗式竞拍]",
  9908. "type": "number"
  9909. },
  9910. "goodsdetail": {
  9911. "description": "详情[大宗]",
  9912. "type": "string"
  9913. },
  9914. "goodsid": {
  9915. "description": "商品ID(预售)",
  9916. "type": "integer"
  9917. },
  9918. "goodunit": {
  9919. "description": "报价单位",
  9920. "type": "string"
  9921. },
  9922. "marketid": {
  9923. "description": "预售市场ID - 根据预售模式选择市场",
  9924. "type": "integer"
  9925. },
  9926. "presaledamount": {
  9927. "description": "已预售总金额(预售结束时更新)",
  9928. "type": "number"
  9929. },
  9930. "presaledqty": {
  9931. "description": "已预售量(预售结束时更新)",
  9932. "type": "integer"
  9933. },
  9934. "presalemode": {
  9935. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9936. "type": "integer"
  9937. },
  9938. "presaleqty": {
  9939. "description": "预售数量",
  9940. "type": "integer"
  9941. },
  9942. "refprice": {
  9943. "description": "参考价格[一口价]",
  9944. "type": "number"
  9945. },
  9946. "relatedgoodsid": {
  9947. "description": "关联交易合约ID",
  9948. "type": "integer"
  9949. },
  9950. "relatedmarketid": {
  9951. "description": "关联交易合约市场ID",
  9952. "type": "integer"
  9953. },
  9954. "sellstatus": {
  9955. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9956. "type": "integer"
  9957. },
  9958. "startprice": {
  9959. "description": "起拍价[大宗式竞拍]",
  9960. "type": "number"
  9961. },
  9962. "starttime": {
  9963. "description": "预售开始时间",
  9964. "type": "string"
  9965. },
  9966. "tradedate": {
  9967. "description": "交易日(yyyyMMdd)",
  9968. "type": "string"
  9969. },
  9970. "tradeprice": {
  9971. "description": "成交价[大宗]",
  9972. "type": "number"
  9973. }
  9974. }
  9975. },
  9976. "delivery.QueryDeliveryRelationRsp": {
  9977. "type": "object",
  9978. "required": [
  9979. "begindate",
  9980. "enddate",
  9981. "goodsid",
  9982. "mindeliveryqty",
  9983. "xdeliveryratio"
  9984. ],
  9985. "properties": {
  9986. "begindate": {
  9987. "description": "起始日期(yyyyMMdd)",
  9988. "type": "string"
  9989. },
  9990. "buytemplateid": {
  9991. "description": "买履约计划模板ID",
  9992. "type": "integer"
  9993. },
  9994. "deliverygoodscode": {
  9995. "description": "品种代码",
  9996. "type": "string"
  9997. },
  9998. "deliverygoodsid": {
  9999. "description": "交割商品",
  10000. "type": "integer"
  10001. },
  10002. "deliverygoodsname": {
  10003. "description": "品种名称",
  10004. "type": "string"
  10005. },
  10006. "deliverymode": {
  10007. "description": "交割方式 - 1:点选式 2:申报式",
  10008. "type": "integer"
  10009. },
  10010. "deliverypricerule": {
  10011. "description": "交割价规则- 1:行情价 2:建仓价",
  10012. "type": "integer"
  10013. },
  10014. "deliverytype": {
  10015. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10016. "type": "integer"
  10017. },
  10018. "enddate": {
  10019. "description": "结束日期(yyyyMMdd)",
  10020. "type": "string"
  10021. },
  10022. "goodscode": {
  10023. "description": "商品代码",
  10024. "type": "string"
  10025. },
  10026. "goodsid": {
  10027. "description": "交易合约ID",
  10028. "type": "integer"
  10029. },
  10030. "goodsname": {
  10031. "description": "商品名称",
  10032. "type": "string"
  10033. },
  10034. "marketid": {
  10035. "description": "市场ID",
  10036. "type": "integer"
  10037. },
  10038. "mindeliveryqty": {
  10039. "description": "最小交割系数(K)",
  10040. "type": "integer"
  10041. },
  10042. "p2deliveryprice": {
  10043. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10044. "type": "number"
  10045. },
  10046. "p2deliveryratio": {
  10047. "description": "P2合约系数(p)",
  10048. "type": "integer"
  10049. },
  10050. "p2goodsid": {
  10051. "description": "P2合约ID",
  10052. "type": "integer"
  10053. },
  10054. "p2pricemode": {
  10055. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10056. "type": "integer"
  10057. },
  10058. "pdeliveryprice": {
  10059. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10060. "type": "number"
  10061. },
  10062. "pdeliveryratio": {
  10063. "description": "P合约系数(n)",
  10064. "type": "integer"
  10065. },
  10066. "pgoodsid": {
  10067. "description": "P合约ID",
  10068. "type": "integer"
  10069. },
  10070. "ppricemode": {
  10071. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10072. "type": "integer"
  10073. },
  10074. "rratio": {
  10075. "description": "兑换系数(R)",
  10076. "type": "integer"
  10077. },
  10078. "rratio1": {
  10079. "description": "兑换系数(交易合约)(R1)",
  10080. "type": "integer"
  10081. },
  10082. "rratio2": {
  10083. "description": "兑换系数(仓单标准)(R2)",
  10084. "type": "integer"
  10085. },
  10086. "selltemplateid": {
  10087. "description": "卖履约计划模板ID",
  10088. "type": "integer"
  10089. },
  10090. "wrstandardid": {
  10091. "description": "仓单标准ID",
  10092. "type": "integer"
  10093. },
  10094. "xdeliveryratio": {
  10095. "description": "交易合约系数(m)",
  10096. "type": "integer"
  10097. }
  10098. }
  10099. },
  10100. "ermcp.ExposureDetailRsp": {
  10101. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10102. },
  10103. "ermcp.ExposureHedgePosDetailRsp": {
  10104. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10105. },
  10106. "ermcp.ExposureHedgePositionRsp": {
  10107. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10108. },
  10109. "ermcp.ExposureSpotDetailRsp": {
  10110. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10111. },
  10112. "ermcp.ExposureSpotRsp": {
  10113. "$ref": "#/definitions/models.AreaSpotModel"
  10114. },
  10115. "ermcp.HisExposureRsp": {
  10116. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10117. },
  10118. "ermcp.PendingAuditCntRsp": {
  10119. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10120. },
  10121. "ermcp.QryAvalidGPRsp": {
  10122. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10123. },
  10124. "ermcp.QryBusinessDjRsp": {
  10125. "type": "object",
  10126. "properties": {
  10127. "amount": {
  10128. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10129. "type": "number"
  10130. },
  10131. "applyid": {
  10132. "description": "申请人",
  10133. "type": "string"
  10134. },
  10135. "applyname": {
  10136. "description": "申请人名称",
  10137. "type": "string"
  10138. },
  10139. "applystatus": {
  10140. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10141. "type": "integer"
  10142. },
  10143. "applytime": {
  10144. "description": "申请时间",
  10145. "type": "string"
  10146. },
  10147. "attachurl": {
  10148. "description": "附件",
  10149. "type": "string"
  10150. },
  10151. "auditid": {
  10152. "description": "审核人ID",
  10153. "type": "string"
  10154. },
  10155. "auditname": {
  10156. "description": "审核人名称",
  10157. "type": "string"
  10158. },
  10159. "audittime": {
  10160. "description": "审核时间",
  10161. "type": "string"
  10162. },
  10163. "buyusername": {
  10164. "description": "采购方名称",
  10165. "type": "string"
  10166. },
  10167. "contractno": {
  10168. "description": "合同编号",
  10169. "type": "string"
  10170. },
  10171. "contractstatus": {
  10172. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10173. "type": "integer"
  10174. },
  10175. "contracttype": {
  10176. "description": "现货合同类型 - 1:采购 -1:销售",
  10177. "type": "integer"
  10178. },
  10179. "deliverygoodscode": {
  10180. "description": "现货品种代码",
  10181. "type": "string"
  10182. },
  10183. "deliverygoodsid": {
  10184. "description": "现货商品ID",
  10185. "type": "integer"
  10186. },
  10187. "deliverygoodsname": {
  10188. "description": "现货品种名称",
  10189. "type": "string"
  10190. },
  10191. "enumdicname": {
  10192. "description": "单位名称",
  10193. "type": "string"
  10194. },
  10195. "goodscode": {
  10196. "description": "点价合约",
  10197. "type": "string"
  10198. },
  10199. "goodsname": {
  10200. "description": "商品名称",
  10201. "type": "string"
  10202. },
  10203. "operateapplyid": {
  10204. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10205. "type": "string"
  10206. },
  10207. "operateapplytype": {
  10208. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10209. "type": "integer"
  10210. },
  10211. "pricedPrice": {
  10212. "description": "点价价格(非必填)",
  10213. "type": "number"
  10214. },
  10215. "pricedQty": {
  10216. "description": "点价数量(非必填)",
  10217. "type": "number"
  10218. },
  10219. "pricemove": {
  10220. "description": "升贴水",
  10221. "type": "number"
  10222. },
  10223. "pricetype": {
  10224. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10225. "type": "integer"
  10226. },
  10227. "relatedid": {
  10228. "description": "现货合同ID",
  10229. "type": "string"
  10230. },
  10231. "sellusername": {
  10232. "description": "销售方名字",
  10233. "type": "string"
  10234. },
  10235. "userid": {
  10236. "description": "用户ID",
  10237. "type": "integer"
  10238. },
  10239. "wrstandardcode": {
  10240. "description": "品类代码",
  10241. "type": "string"
  10242. },
  10243. "wrstandardid": {
  10244. "description": "品类id",
  10245. "type": "integer"
  10246. },
  10247. "wrstandardname": {
  10248. "description": "品类名称",
  10249. "type": "string"
  10250. }
  10251. }
  10252. },
  10253. "ermcp.QryBussinessFpRsp": {
  10254. "type": "object",
  10255. "properties": {
  10256. "applyid": {
  10257. "description": "申请人",
  10258. "type": "string"
  10259. },
  10260. "applyname": {
  10261. "description": "申请人名称",
  10262. "type": "string"
  10263. },
  10264. "applystatus": {
  10265. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10266. "type": "integer"
  10267. },
  10268. "applytime": {
  10269. "description": "申请时间",
  10270. "type": "string"
  10271. },
  10272. "attachurl": {
  10273. "description": "附件",
  10274. "type": "string"
  10275. },
  10276. "auditid": {
  10277. "description": "审核人ID",
  10278. "type": "string"
  10279. },
  10280. "auditname": {
  10281. "description": "审核人名称",
  10282. "type": "string"
  10283. },
  10284. "audittime": {
  10285. "description": "审核时间",
  10286. "type": "string"
  10287. },
  10288. "buyusername": {
  10289. "description": "采购方名称",
  10290. "type": "string"
  10291. },
  10292. "contractno": {
  10293. "description": "合同编号",
  10294. "type": "string"
  10295. },
  10296. "contractstatus": {
  10297. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10298. "type": "integer"
  10299. },
  10300. "contracttype": {
  10301. "description": "现货合同类型 - 1:采购 -1:销售",
  10302. "type": "integer"
  10303. },
  10304. "deliverygoodscode": {
  10305. "description": "现货品种代码",
  10306. "type": "string"
  10307. },
  10308. "deliverygoodsid": {
  10309. "description": "现货商品ID",
  10310. "type": "integer"
  10311. },
  10312. "deliverygoodsname": {
  10313. "description": "现货品种名称",
  10314. "type": "string"
  10315. },
  10316. "enumdicname": {
  10317. "description": "单位名称",
  10318. "type": "string"
  10319. },
  10320. "goodscode": {
  10321. "description": "点价合约",
  10322. "type": "string"
  10323. },
  10324. "goodsname": {
  10325. "description": "商品名称",
  10326. "type": "string"
  10327. },
  10328. "invoiceAmount": {
  10329. "description": "已开收票金额(销售为开票,采购为收票)",
  10330. "type": "number"
  10331. },
  10332. "operateapplyid": {
  10333. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10334. "type": "string"
  10335. },
  10336. "operateapplytype": {
  10337. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10338. "type": "integer"
  10339. },
  10340. "pricemove": {
  10341. "description": "升贴水",
  10342. "type": "number"
  10343. },
  10344. "pricetype": {
  10345. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10346. "type": "integer"
  10347. },
  10348. "relatedid": {
  10349. "description": "现货合同ID",
  10350. "type": "string"
  10351. },
  10352. "sellusername": {
  10353. "description": "销售方名字",
  10354. "type": "string"
  10355. },
  10356. "userid": {
  10357. "description": "用户ID",
  10358. "type": "integer"
  10359. },
  10360. "wrstandardcode": {
  10361. "description": "品类代码",
  10362. "type": "string"
  10363. },
  10364. "wrstandardid": {
  10365. "description": "品类id",
  10366. "type": "integer"
  10367. },
  10368. "wrstandardname": {
  10369. "description": "品类名称",
  10370. "type": "string"
  10371. }
  10372. }
  10373. },
  10374. "ermcp.QryBussinessJsExRsp": {
  10375. "type": "object",
  10376. "properties": {
  10377. "applyid": {
  10378. "description": "申请人",
  10379. "type": "string"
  10380. },
  10381. "applyname": {
  10382. "description": "申请人名称",
  10383. "type": "string"
  10384. },
  10385. "applystatus": {
  10386. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10387. "type": "integer"
  10388. },
  10389. "applytime": {
  10390. "description": "申请时间",
  10391. "type": "string"
  10392. },
  10393. "attachurl": {
  10394. "description": "附件",
  10395. "type": "string"
  10396. },
  10397. "auditid": {
  10398. "description": "审核人ID",
  10399. "type": "string"
  10400. },
  10401. "auditname": {
  10402. "description": "审核人名称",
  10403. "type": "string"
  10404. },
  10405. "audittime": {
  10406. "description": "审核时间",
  10407. "type": "string"
  10408. },
  10409. "buyusername": {
  10410. "description": "采购方名称",
  10411. "type": "string"
  10412. },
  10413. "contractno": {
  10414. "description": "合同编号",
  10415. "type": "string"
  10416. },
  10417. "contractstatus": {
  10418. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10419. "type": "integer"
  10420. },
  10421. "contracttype": {
  10422. "description": "现货合同类型 - 1:采购 -1:销售",
  10423. "type": "integer"
  10424. },
  10425. "deliverygoodscode": {
  10426. "description": "现货品种代码",
  10427. "type": "string"
  10428. },
  10429. "deliverygoodsid": {
  10430. "description": "现货商品ID",
  10431. "type": "integer"
  10432. },
  10433. "deliverygoodsname": {
  10434. "description": "现货品种名称",
  10435. "type": "string"
  10436. },
  10437. "enumdicname": {
  10438. "description": "单位名称",
  10439. "type": "string"
  10440. },
  10441. "goodscode": {
  10442. "description": "点价合约",
  10443. "type": "string"
  10444. },
  10445. "goodsname": {
  10446. "description": "商品名称",
  10447. "type": "string"
  10448. },
  10449. "operateapplyid": {
  10450. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10451. "type": "string"
  10452. },
  10453. "operateapplytype": {
  10454. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10455. "type": "integer"
  10456. },
  10457. "pricemove": {
  10458. "description": "升贴水",
  10459. "type": "number"
  10460. },
  10461. "pricetype": {
  10462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10463. "type": "integer"
  10464. },
  10465. "reckontype": {
  10466. "description": "结算类型",
  10467. "type": "string"
  10468. },
  10469. "reckonvalue": {
  10470. "description": "值",
  10471. "type": "number"
  10472. },
  10473. "relatedid": {
  10474. "description": "现货合同ID",
  10475. "type": "string"
  10476. },
  10477. "sellusername": {
  10478. "description": "销售方名字",
  10479. "type": "string"
  10480. },
  10481. "userid": {
  10482. "description": "用户ID",
  10483. "type": "integer"
  10484. },
  10485. "wrstandardcode": {
  10486. "description": "品类代码",
  10487. "type": "string"
  10488. },
  10489. "wrstandardid": {
  10490. "description": "品类id",
  10491. "type": "integer"
  10492. },
  10493. "wrstandardname": {
  10494. "description": "品类名称",
  10495. "type": "string"
  10496. }
  10497. }
  10498. },
  10499. "ermcp.QryBussinessJsRsp": {
  10500. "type": "object",
  10501. "properties": {
  10502. "addmargin": {
  10503. "description": "追加保证金(非必填)",
  10504. "type": "number"
  10505. },
  10506. "applyid": {
  10507. "description": "申请人",
  10508. "type": "string"
  10509. },
  10510. "applyname": {
  10511. "description": "申请人名称",
  10512. "type": "string"
  10513. },
  10514. "applystatus": {
  10515. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10516. "type": "integer"
  10517. },
  10518. "applytime": {
  10519. "description": "申请时间",
  10520. "type": "string"
  10521. },
  10522. "attachurl": {
  10523. "description": "附件",
  10524. "type": "string"
  10525. },
  10526. "auditid": {
  10527. "description": "审核人ID",
  10528. "type": "string"
  10529. },
  10530. "auditname": {
  10531. "description": "审核人名称",
  10532. "type": "string"
  10533. },
  10534. "audittime": {
  10535. "description": "审核时间",
  10536. "type": "string"
  10537. },
  10538. "buyusername": {
  10539. "description": "采购方名称",
  10540. "type": "string"
  10541. },
  10542. "contractno": {
  10543. "description": "合同编号",
  10544. "type": "string"
  10545. },
  10546. "contractstatus": {
  10547. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10548. "type": "integer"
  10549. },
  10550. "contracttype": {
  10551. "description": "现货合同类型 - 1:采购 -1:销售",
  10552. "type": "integer"
  10553. },
  10554. "decmargin": {
  10555. "description": "减少保证金(非必填)",
  10556. "type": "number"
  10557. },
  10558. "deliverygoodscode": {
  10559. "description": "现货品种代码",
  10560. "type": "string"
  10561. },
  10562. "deliverygoodsid": {
  10563. "description": "现货商品ID",
  10564. "type": "integer"
  10565. },
  10566. "deliverygoodsname": {
  10567. "description": "现货品种名称",
  10568. "type": "string"
  10569. },
  10570. "enumdicname": {
  10571. "description": "单位名称",
  10572. "type": "string"
  10573. },
  10574. "goodscode": {
  10575. "description": "点价合约",
  10576. "type": "string"
  10577. },
  10578. "goodsname": {
  10579. "description": "商品名称",
  10580. "type": "string"
  10581. },
  10582. "operateapplyid": {
  10583. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10584. "type": "string"
  10585. },
  10586. "operateapplytype": {
  10587. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10588. "type": "integer"
  10589. },
  10590. "pricemove": {
  10591. "description": "升贴水",
  10592. "type": "number"
  10593. },
  10594. "pricetype": {
  10595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10596. "type": "integer"
  10597. },
  10598. "reckonadjustamount": {
  10599. "description": "结算调整金额(非必填)",
  10600. "type": "number"
  10601. },
  10602. "reckonosamount": {
  10603. "description": "结算溢短金额(非必填)",
  10604. "type": "number"
  10605. },
  10606. "reckonotheramount": {
  10607. "description": "结算其他费用(非必填)",
  10608. "type": "number"
  10609. },
  10610. "reckonrealqty": {
  10611. "description": "结算实际数量(非必填)",
  10612. "type": "number"
  10613. },
  10614. "relatedid": {
  10615. "description": "现货合同ID",
  10616. "type": "string"
  10617. },
  10618. "sellusername": {
  10619. "description": "销售方名字",
  10620. "type": "string"
  10621. },
  10622. "userid": {
  10623. "description": "用户ID",
  10624. "type": "integer"
  10625. },
  10626. "wrstandardcode": {
  10627. "description": "品类代码",
  10628. "type": "string"
  10629. },
  10630. "wrstandardid": {
  10631. "description": "品类id",
  10632. "type": "integer"
  10633. },
  10634. "wrstandardname": {
  10635. "description": "品类名称",
  10636. "type": "string"
  10637. }
  10638. }
  10639. },
  10640. "ermcp.QryBussinessKxRsp": {
  10641. "type": "object",
  10642. "properties": {
  10643. "applyid": {
  10644. "description": "申请人",
  10645. "type": "string"
  10646. },
  10647. "applyname": {
  10648. "description": "申请人名称",
  10649. "type": "string"
  10650. },
  10651. "applystatus": {
  10652. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10653. "type": "integer"
  10654. },
  10655. "applytime": {
  10656. "description": "申请时间",
  10657. "type": "string"
  10658. },
  10659. "attachurl": {
  10660. "description": "附件",
  10661. "type": "string"
  10662. },
  10663. "auditid": {
  10664. "description": "审核人ID",
  10665. "type": "string"
  10666. },
  10667. "auditname": {
  10668. "description": "审核人名称",
  10669. "type": "string"
  10670. },
  10671. "audittime": {
  10672. "description": "审核时间",
  10673. "type": "string"
  10674. },
  10675. "buyusername": {
  10676. "description": "采购方名称",
  10677. "type": "string"
  10678. },
  10679. "contractno": {
  10680. "description": "合同编号",
  10681. "type": "string"
  10682. },
  10683. "contractstatus": {
  10684. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10685. "type": "integer"
  10686. },
  10687. "contracttype": {
  10688. "description": "现货合同类型 - 1:采购 -1:销售",
  10689. "type": "integer"
  10690. },
  10691. "deductamount": {
  10692. "description": "退款(非必填)",
  10693. "type": "number"
  10694. },
  10695. "deliverygoodscode": {
  10696. "description": "现货品种代码",
  10697. "type": "string"
  10698. },
  10699. "deliverygoodsid": {
  10700. "description": "现货商品ID",
  10701. "type": "integer"
  10702. },
  10703. "deliverygoodsname": {
  10704. "description": "现货品种名称",
  10705. "type": "string"
  10706. },
  10707. "enumdicname": {
  10708. "description": "单位名称",
  10709. "type": "string"
  10710. },
  10711. "goodscode": {
  10712. "description": "点价合约",
  10713. "type": "string"
  10714. },
  10715. "goodsname": {
  10716. "description": "商品名称",
  10717. "type": "string"
  10718. },
  10719. "kxtype": {
  10720. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10721. "type": "integer"
  10722. },
  10723. "operateapplyid": {
  10724. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10725. "type": "string"
  10726. },
  10727. "operateapplytype": {
  10728. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10729. "type": "integer"
  10730. },
  10731. "payamount": {
  10732. "description": "收付款(非必填)",
  10733. "type": "number"
  10734. },
  10735. "pricemove": {
  10736. "description": "升贴水",
  10737. "type": "number"
  10738. },
  10739. "pricetype": {
  10740. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10741. "type": "integer"
  10742. },
  10743. "relatedid": {
  10744. "description": "现货合同ID",
  10745. "type": "string"
  10746. },
  10747. "sellusername": {
  10748. "description": "销售方名字",
  10749. "type": "string"
  10750. },
  10751. "userid": {
  10752. "description": "用户ID",
  10753. "type": "integer"
  10754. },
  10755. "wrstandardcode": {
  10756. "description": "品类代码",
  10757. "type": "string"
  10758. },
  10759. "wrstandardid": {
  10760. "description": "品类id",
  10761. "type": "integer"
  10762. },
  10763. "wrstandardname": {
  10764. "description": "品类名称",
  10765. "type": "string"
  10766. }
  10767. }
  10768. },
  10769. "ermcp.QryGGCovertCfgRsp": {
  10770. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10771. },
  10772. "ermcp.QryMGChangeLogRsp": {
  10773. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10774. },
  10775. "ermcp.QryMiddleGoodsDetailRsp": {
  10776. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10777. },
  10778. "ermcp.QryMiddleGoodsRsp": {
  10779. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10780. },
  10781. "ermcp.QryOPLogRsp": {
  10782. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10783. },
  10784. "ermcp.QryUserInfoRsp": {
  10785. "$ref": "#/definitions/models.ErmcpUserModel"
  10786. },
  10787. "ermcp.QryWarehouseRsp": {
  10788. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10789. },
  10790. "ermcp.QueryErmcpTradePositionRsp": {
  10791. "type": "object",
  10792. "properties": {
  10793. "agreeunit": {
  10794. "description": "合约单位",
  10795. "type": "number"
  10796. },
  10797. "buyorsell": {
  10798. "description": "方向 - 0:买 1:卖",
  10799. "type": "integer"
  10800. },
  10801. "curpositionqty": {
  10802. "description": "持仓(总仓数量, 期末头寸)",
  10803. "type": "integer"
  10804. },
  10805. "curtdposition": {
  10806. "description": "今仓数量(期末今日头寸)",
  10807. "type": "integer"
  10808. },
  10809. "curtdpositionenabled": {
  10810. "description": "今仓可用",
  10811. "type": "integer"
  10812. },
  10813. "decimalplace": {
  10814. "description": "报价小数位",
  10815. "type": "integer"
  10816. },
  10817. "enableqty": {
  10818. "description": "可用(总仓可用)",
  10819. "type": "integer"
  10820. },
  10821. "exexchangename": {
  10822. "description": "外部交易所名称",
  10823. "type": "string"
  10824. },
  10825. "goodscode": {
  10826. "description": "商品代码(内部)",
  10827. "type": "string"
  10828. },
  10829. "goodsid": {
  10830. "description": "商品ID(自增ID SEQ_GOODS)",
  10831. "type": "integer"
  10832. },
  10833. "goodsname": {
  10834. "description": "商品名称",
  10835. "type": "string"
  10836. },
  10837. "last": {
  10838. "description": "现价",
  10839. "type": "number"
  10840. },
  10841. "marketid": {
  10842. "description": "所属市场ID",
  10843. "type": "integer"
  10844. },
  10845. "openaverageprice": {
  10846. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10847. "type": "number"
  10848. },
  10849. "opencost": {
  10850. "description": "开仓成本",
  10851. "type": "number"
  10852. },
  10853. "openpl": {
  10854. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10855. "type": "number"
  10856. },
  10857. "outgoodscode": {
  10858. "description": "商品代码(外部)",
  10859. "type": "string"
  10860. },
  10861. "positionaverageprice": {
  10862. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10863. "type": "number"
  10864. },
  10865. "positioncost": {
  10866. "description": "持仓成本",
  10867. "type": "number"
  10868. },
  10869. "positionpl": {
  10870. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10871. "type": "number"
  10872. },
  10873. "positionplrate": {
  10874. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10875. "type": "number"
  10876. },
  10877. "usedmargin": {
  10878. "description": "占用保证金",
  10879. "type": "number"
  10880. }
  10881. }
  10882. },
  10883. "ermcp.RealtimeExposurePositionRsp": {
  10884. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10885. },
  10886. "ermcp.RealtimeExposureRsp": {
  10887. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10888. },
  10889. "erms2.QueryArbitrageStrategyRsp": {
  10890. "type": "object",
  10891. "required": [
  10892. "asapplyid"
  10893. ],
  10894. "properties": {
  10895. "applybasis": {
  10896. "description": "申请基差",
  10897. "type": "number"
  10898. },
  10899. "asapplyid": {
  10900. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10901. "type": "string"
  10902. },
  10903. "asname": {
  10904. "description": "策略名称",
  10905. "type": "string"
  10906. },
  10907. "asno": {
  10908. "description": "策略编号",
  10909. "type": "string"
  10910. },
  10911. "basischangepl": {
  10912. "description": "基差变动损益[结算更新]",
  10913. "type": "number"
  10914. },
  10915. "biztype": {
  10916. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10917. "type": "integer"
  10918. },
  10919. "closetradedate": {
  10920. "description": "完结交易日(yyyyMMdd)",
  10921. "type": "string"
  10922. },
  10923. "curbasis": {
  10924. "description": "当前基差[结算更新]",
  10925. "type": "number"
  10926. },
  10927. "deliverygoodsid": {
  10928. "description": "现货品种ID",
  10929. "type": "integer"
  10930. },
  10931. "futureavgprice": {
  10932. "description": "期货建仓均价",
  10933. "type": "number"
  10934. },
  10935. "futurecloseamount": {
  10936. "description": "期货平仓金额",
  10937. "type": "number"
  10938. },
  10939. "futurecloseqty": {
  10940. "description": "期货平仓数量",
  10941. "type": "number"
  10942. },
  10943. "futureopenamount": {
  10944. "description": "期货开仓金额",
  10945. "type": "number"
  10946. },
  10947. "futureopenqty": {
  10948. "description": "期货开仓数量",
  10949. "type": "number"
  10950. },
  10951. "futurepl": {
  10952. "description": "期货总盈亏[结算更新]",
  10953. "type": "number"
  10954. },
  10955. "futureqty": {
  10956. "description": "期货持仓数量",
  10957. "type": "number"
  10958. },
  10959. "futurequote": {
  10960. "description": "期货额度",
  10961. "type": "number"
  10962. },
  10963. "goodsgroupid": {
  10964. "description": "期货品种ID",
  10965. "type": "integer"
  10966. },
  10967. "marketid": {
  10968. "description": "市场ID",
  10969. "type": "integer"
  10970. },
  10971. "netexposure": {
  10972. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10973. "type": "number"
  10974. },
  10975. "netexposurepl": {
  10976. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10977. "type": "number"
  10978. },
  10979. "netexposurerate": {
  10980. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10981. "type": "number"
  10982. },
  10983. "openbasis": {
  10984. "description": "建仓基差",
  10985. "type": "number"
  10986. },
  10987. "pricedspotqty": {
  10988. "description": "已定价现货数量",
  10989. "type": "number"
  10990. },
  10991. "pricedspotqtynotax": {
  10992. "description": "已定价现货不含税数量",
  10993. "type": "number"
  10994. },
  10995. "remark": {
  10996. "description": "备注",
  10997. "type": "string"
  10998. },
  10999. "spotavgprice": {
  11000. "description": "现货均价",
  11001. "type": "number"
  11002. },
  11003. "spotbuyamount": {
  11004. "description": "现货采购金额",
  11005. "type": "number"
  11006. },
  11007. "spotbuyqty": {
  11008. "description": "现货采购数量",
  11009. "type": "number"
  11010. },
  11011. "spotpl": {
  11012. "description": "现货总盈亏[结算更新]",
  11013. "type": "number"
  11014. },
  11015. "spotquota": {
  11016. "description": "现货额度",
  11017. "type": "number"
  11018. },
  11019. "spotsellamount": {
  11020. "description": "现货销售金额",
  11021. "type": "number"
  11022. },
  11023. "spotsellqty": {
  11024. "description": "现货销售数量",
  11025. "type": "number"
  11026. },
  11027. "spotusedquota": {
  11028. "description": "现货占用资金",
  11029. "type": "number"
  11030. },
  11031. "strategystatus": {
  11032. "description": "策略状态 - 0:未结束 1:已结束",
  11033. "type": "integer"
  11034. },
  11035. "totalpl": {
  11036. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11037. "type": "number"
  11038. },
  11039. "tradedate": {
  11040. "description": "交易日(yyyyMMdd)",
  11041. "type": "string"
  11042. },
  11043. "updatetime": {
  11044. "description": "更新时间",
  11045. "type": "string"
  11046. },
  11047. "usedquota": {
  11048. "description": "已占用资金",
  11049. "type": "number"
  11050. },
  11051. "userid": {
  11052. "description": "所属机构",
  11053. "type": "integer"
  11054. }
  11055. }
  11056. },
  11057. "erms2.QueryInnerTradeDetailRsp": {
  11058. "type": "object",
  11059. "required": [
  11060. "asapplyid",
  11061. "buyorsell",
  11062. "goodscode",
  11063. "goodsgroupid",
  11064. "goodsgroupname",
  11065. "goodsname",
  11066. "tradeid"
  11067. ],
  11068. "properties": {
  11069. "accountid": {
  11070. "description": "账号ID",
  11071. "type": "integer"
  11072. },
  11073. "agreeunit": {
  11074. "description": "合约单位",
  11075. "type": "number"
  11076. },
  11077. "asapplyid": {
  11078. "description": "策略申请ID",
  11079. "type": "integer"
  11080. },
  11081. "asname": {
  11082. "description": "策略名称",
  11083. "type": "string"
  11084. },
  11085. "asno": {
  11086. "description": "策略编号",
  11087. "type": "string"
  11088. },
  11089. "buyorsell": {
  11090. "description": "方向 - 0:买 1:卖",
  11091. "type": "integer"
  11092. },
  11093. "channelbuildtype": {
  11094. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11095. "type": "integer"
  11096. },
  11097. "closetype": {
  11098. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11099. "type": "integer"
  11100. },
  11101. "decimalplace": {
  11102. "description": "报价小数位",
  11103. "type": "integer"
  11104. },
  11105. "detailtype": {
  11106. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11107. "type": "integer"
  11108. },
  11109. "exexchangecode": {
  11110. "description": "外部交易所代码",
  11111. "type": "string"
  11112. },
  11113. "exexchangename": {
  11114. "description": "外部交易所名称",
  11115. "type": "string"
  11116. },
  11117. "goodscode": {
  11118. "description": "商品代码(合约)",
  11119. "type": "string"
  11120. },
  11121. "goodsgroupid": {
  11122. "description": "商品组ID(品种ID)",
  11123. "type": "integer"
  11124. },
  11125. "goodsgroupname": {
  11126. "description": "商品组名称(品种)",
  11127. "type": "string"
  11128. },
  11129. "goodsid": {
  11130. "description": "商品ID",
  11131. "type": "integer"
  11132. },
  11133. "goodsname": {
  11134. "description": "商品名称(合约)",
  11135. "type": "string"
  11136. },
  11137. "goodunit": {
  11138. "description": "报价单位",
  11139. "type": "string"
  11140. },
  11141. "marketid": {
  11142. "description": "市场ID",
  11143. "type": "integer"
  11144. },
  11145. "orderid": {
  11146. "description": "委托单号",
  11147. "type": "string"
  11148. },
  11149. "outgoodscode": {
  11150. "description": "商品代码(外部)",
  11151. "type": "string"
  11152. },
  11153. "relatedouttradeid": {
  11154. "description": "关联外部成交单ID",
  11155. "type": "string"
  11156. },
  11157. "remark": {
  11158. "description": "备注",
  11159. "type": "string"
  11160. },
  11161. "spotcontractid": {
  11162. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11163. "type": "integer"
  11164. },
  11165. "spotcontractno": {
  11166. "description": "现货合同编号",
  11167. "type": "string"
  11168. },
  11169. "tradeid": {
  11170. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11171. "type": "string"
  11172. },
  11173. "tradeprice": {
  11174. "description": "成交价格",
  11175. "type": "number"
  11176. },
  11177. "tradeqty": {
  11178. "description": "成交数量",
  11179. "type": "integer"
  11180. },
  11181. "tradetime": {
  11182. "description": "成交时间",
  11183. "type": "string"
  11184. },
  11185. "updatetime": {
  11186. "description": "更新时间",
  11187. "type": "string"
  11188. }
  11189. }
  11190. },
  11191. "erms2.QuerySpotContractRsp": {
  11192. "type": "object",
  11193. "required": [
  11194. "spotcontractid"
  11195. ],
  11196. "properties": {
  11197. "accountid": {
  11198. "description": "资金账户ID",
  11199. "type": "integer"
  11200. },
  11201. "areauserid": {
  11202. "description": "所属机构",
  11203. "type": "integer"
  11204. },
  11205. "closedate": {
  11206. "description": "终止日期",
  11207. "type": "string"
  11208. },
  11209. "closeremark": {
  11210. "description": "结束备注",
  11211. "type": "string"
  11212. },
  11213. "closetradedate": {
  11214. "description": "完结交易日(yyyyMMdd)",
  11215. "type": "string"
  11216. },
  11217. "closetype": {
  11218. "description": "终止类型 - 1:违约 2:提前终止",
  11219. "type": "integer"
  11220. },
  11221. "contractamount": {
  11222. "description": "合同金额",
  11223. "type": "number"
  11224. },
  11225. "contractattachment": {
  11226. "description": "合同附件",
  11227. "type": "string"
  11228. },
  11229. "contractno": {
  11230. "description": "现货合同编号",
  11231. "type": "string"
  11232. },
  11233. "contractqty": {
  11234. "description": "合同数量(数值) (用于计算)",
  11235. "type": "number"
  11236. },
  11237. "contractqtychar": {
  11238. "description": "合同数量\\已订价数量 (用于显示)",
  11239. "type": "string"
  11240. },
  11241. "contractstatus": {
  11242. "description": "合同状态 - 0:未结束 1:已结束",
  11243. "type": "integer"
  11244. },
  11245. "contracttype": {
  11246. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11247. "type": "integer"
  11248. },
  11249. "customeraccountid": {
  11250. "description": "客户资金账户ID",
  11251. "type": "integer"
  11252. },
  11253. "customeruserid": {
  11254. "description": "客户ID",
  11255. "type": "integer"
  11256. },
  11257. "deliverygoodsdesc": {
  11258. "description": "品种说明",
  11259. "type": "string"
  11260. },
  11261. "deliverygoodsid": {
  11262. "description": "现货品种ID",
  11263. "type": "integer"
  11264. },
  11265. "handlestatus": {
  11266. "description": "处理状态",
  11267. "type": "integer"
  11268. },
  11269. "invoiceatt": {
  11270. "description": "发票附件",
  11271. "type": "string"
  11272. },
  11273. "invoicedatetime": {
  11274. "description": "开收票更新时间",
  11275. "type": "string"
  11276. },
  11277. "invoiceopentime": {
  11278. "description": "开票时间",
  11279. "type": "string"
  11280. },
  11281. "invoiceremark": {
  11282. "description": "发票备注",
  11283. "type": "string"
  11284. },
  11285. "invoicestatus": {
  11286. "description": "开收票状态 - 0:未开票 1:已开票",
  11287. "type": "integer"
  11288. },
  11289. "lastdate": {
  11290. "description": "交货时间",
  11291. "type": "string"
  11292. },
  11293. "marketid": {
  11294. "description": "市场ID",
  11295. "type": "integer"
  11296. },
  11297. "paydatetime": {
  11298. "description": "收付款更新时间",
  11299. "type": "string"
  11300. },
  11301. "payremark": {
  11302. "description": "收付款备注",
  11303. "type": "string"
  11304. },
  11305. "paystatus": {
  11306. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11307. "type": "integer"
  11308. },
  11309. "positionqty": {
  11310. "description": "头寸数量 - 合同数量去小数部分",
  11311. "type": "integer"
  11312. },
  11313. "producttype": {
  11314. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11315. "type": "integer"
  11316. },
  11317. "relatedqty": {
  11318. "description": "已关联数量",
  11319. "type": "number"
  11320. },
  11321. "relatedstatus": {
  11322. "description": "关联完结状态 - 0:未结束 1:已结束",
  11323. "type": "integer"
  11324. },
  11325. "remark": {
  11326. "description": "备注",
  11327. "type": "string"
  11328. },
  11329. "signdate": {
  11330. "description": "签订日期",
  11331. "type": "string"
  11332. },
  11333. "spotcontractid": {
  11334. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11335. "type": "string"
  11336. },
  11337. "spotdatetime": {
  11338. "description": "收发货更新时间",
  11339. "type": "string"
  11340. },
  11341. "spotprice": {
  11342. "description": "价格",
  11343. "type": "number"
  11344. },
  11345. "spotremark": {
  11346. "description": "收发货备注",
  11347. "type": "string"
  11348. },
  11349. "spotstatus": {
  11350. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11351. "type": "integer"
  11352. },
  11353. "tradedate": {
  11354. "description": "交易日(yyyyMMdd)",
  11355. "type": "string"
  11356. },
  11357. "userid": {
  11358. "description": "业务员用户ID",
  11359. "type": "integer"
  11360. },
  11361. "warehouseid": {
  11362. "description": "仓库ID",
  11363. "type": "integer"
  11364. },
  11365. "wrfactortypeid": {
  11366. "description": "仓单要素类型ID",
  11367. "type": "integer"
  11368. },
  11369. "wrstandardid": {
  11370. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11371. "type": "integer"
  11372. }
  11373. }
  11374. },
  11375. "erms3.AddErms2ASApplyReq": {
  11376. "type": "object",
  11377. "required": [
  11378. "asapplyid"
  11379. ],
  11380. "properties": {
  11381. "applybasis": {
  11382. "description": "申请基差",
  11383. "type": "number"
  11384. },
  11385. "applystatus": {
  11386. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11387. "type": "integer"
  11388. },
  11389. "asapplyid": {
  11390. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11391. "type": "integer"
  11392. },
  11393. "asname": {
  11394. "description": "策略名称",
  11395. "type": "string"
  11396. },
  11397. "asno": {
  11398. "description": "策略编号",
  11399. "type": "string"
  11400. },
  11401. "auditid": {
  11402. "description": "审核人",
  11403. "type": "integer"
  11404. },
  11405. "auditremark": {
  11406. "description": "审核备注",
  11407. "type": "string"
  11408. },
  11409. "audittime": {
  11410. "description": "审核时间",
  11411. "type": "string"
  11412. },
  11413. "biztype": {
  11414. "description": "业务类型 - 1:正向套利 2:反向套利",
  11415. "type": "integer"
  11416. },
  11417. "createtime": {
  11418. "description": "创建时间",
  11419. "type": "string"
  11420. },
  11421. "creatorid": {
  11422. "description": "创建人",
  11423. "type": "integer"
  11424. },
  11425. "deliverygoodsid": {
  11426. "description": "现货品种ID",
  11427. "type": "integer"
  11428. },
  11429. "futurequote": {
  11430. "description": "期货额度",
  11431. "type": "number"
  11432. },
  11433. "goodsgroupid": {
  11434. "description": "期货品种ID",
  11435. "type": "integer"
  11436. },
  11437. "marketid": {
  11438. "description": "市场ID",
  11439. "type": "integer"
  11440. },
  11441. "remark": {
  11442. "description": "备注",
  11443. "type": "string"
  11444. },
  11445. "spotquota": {
  11446. "description": "现货额度",
  11447. "type": "number"
  11448. },
  11449. "tradedate": {
  11450. "description": "交易日(yyyyMMdd)",
  11451. "type": "string"
  11452. },
  11453. "userid": {
  11454. "description": "所属机构",
  11455. "type": "integer"
  11456. }
  11457. }
  11458. },
  11459. "erms3.AddErms2SpotTradeApplyReq": {
  11460. "type": "object",
  11461. "required": [
  11462. "spottradeid"
  11463. ],
  11464. "properties": {
  11465. "applyjsondetail": {
  11466. "description": "申请明细(JSON)",
  11467. "type": "string"
  11468. },
  11469. "applystatus": {
  11470. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11471. "type": "integer"
  11472. },
  11473. "areauserid": {
  11474. "description": "所属机构",
  11475. "type": "integer"
  11476. },
  11477. "auditid": {
  11478. "description": "审核人",
  11479. "type": "integer"
  11480. },
  11481. "auditremark": {
  11482. "description": "审核备注",
  11483. "type": "string"
  11484. },
  11485. "audittime": {
  11486. "description": "审核时间",
  11487. "type": "string"
  11488. },
  11489. "createtime": {
  11490. "description": "创建时间",
  11491. "type": "string"
  11492. },
  11493. "creatorid": {
  11494. "description": "创建人",
  11495. "type": "integer"
  11496. },
  11497. "deliverygoodsid": {
  11498. "description": "现货品种ID",
  11499. "type": "integer"
  11500. },
  11501. "futureaccountid": {
  11502. "description": "期货资金账户",
  11503. "type": "integer"
  11504. },
  11505. "goodsgroupid": {
  11506. "description": "期货品种",
  11507. "type": "integer"
  11508. },
  11509. "marketid": {
  11510. "description": "市场ID",
  11511. "type": "integer"
  11512. },
  11513. "remark": {
  11514. "description": "备注",
  11515. "type": "string"
  11516. },
  11517. "spotaccountid": {
  11518. "description": "现货资金账户",
  11519. "type": "integer"
  11520. },
  11521. "spottradeid": {
  11522. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11523. "type": "integer"
  11524. },
  11525. "spottradename": {
  11526. "description": "业务名称",
  11527. "type": "string"
  11528. },
  11529. "spottradeno": {
  11530. "description": "业务编号",
  11531. "type": "string"
  11532. },
  11533. "tradedate": {
  11534. "description": "交易日(yyyyMMdd)",
  11535. "type": "string"
  11536. },
  11537. "wrstandardid": {
  11538. "description": "仓单标准ID",
  11539. "type": "integer"
  11540. }
  11541. }
  11542. },
  11543. "erms3.AddSpotContractApplyReq": {
  11544. "type": "object",
  11545. "required": [
  11546. "accountid",
  11547. "areauserid",
  11548. "contractno",
  11549. "contracttype",
  11550. "customeraccountid",
  11551. "customeruserid",
  11552. "details",
  11553. "orimargin",
  11554. "signdate"
  11555. ],
  11556. "properties": {
  11557. "accountid": {
  11558. "description": "资金账户ID",
  11559. "type": "integer"
  11560. },
  11561. "areauserid": {
  11562. "description": "所属机构",
  11563. "type": "integer"
  11564. },
  11565. "contractattachment": {
  11566. "description": "合同附件",
  11567. "type": "string"
  11568. },
  11569. "contractno": {
  11570. "description": "现货合同编号",
  11571. "type": "string"
  11572. },
  11573. "contracttype": {
  11574. "description": "现货合同类型 - 1:采购 -1:销售",
  11575. "type": "integer"
  11576. },
  11577. "creatorid": {
  11578. "description": "申请人",
  11579. "type": "integer"
  11580. },
  11581. "customeraccountid": {
  11582. "description": "客户资金账户ID",
  11583. "type": "integer"
  11584. },
  11585. "customeruserid": {
  11586. "description": "客户ID",
  11587. "type": "integer"
  11588. },
  11589. "details": {
  11590. "description": "明细",
  11591. "type": "array",
  11592. "items": {
  11593. "$ref": "#/definitions/erms3.SoptContractDetail"
  11594. }
  11595. },
  11596. "orimargin": {
  11597. "description": "初始保证金",
  11598. "type": "number"
  11599. },
  11600. "remark": {
  11601. "description": "备注",
  11602. "type": "string"
  11603. },
  11604. "signdate": {
  11605. "description": "签订日期",
  11606. "type": "string"
  11607. }
  11608. }
  11609. },
  11610. "erms3.AddSpotContractApplyRsp": {
  11611. "type": "object",
  11612. "required": [
  11613. "contractno"
  11614. ],
  11615. "properties": {
  11616. "contractno": {
  11617. "description": "现货合同编号",
  11618. "type": "string"
  11619. },
  11620. "spotcontractid": {
  11621. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11622. "type": "integer"
  11623. }
  11624. }
  11625. },
  11626. "erms3.AddUserInfoApplyReq": {
  11627. "type": "object",
  11628. "required": [
  11629. "userid"
  11630. ],
  11631. "properties": {
  11632. "accountid": {
  11633. "description": "交易系统帐号Id (加密存储)",
  11634. "type": "integer"
  11635. },
  11636. "areacode": {
  11637. "description": "机构代码",
  11638. "type": "string"
  11639. },
  11640. "areaid": {
  11641. "description": "机构Id",
  11642. "type": "integer"
  11643. },
  11644. "attachment1": {
  11645. "description": "附件1",
  11646. "type": "string"
  11647. },
  11648. "attachment2": {
  11649. "description": "附件2",
  11650. "type": "string"
  11651. },
  11652. "attachment3": {
  11653. "description": "附件3",
  11654. "type": "string"
  11655. },
  11656. "attachment4": {
  11657. "description": "附件4",
  11658. "type": "string"
  11659. },
  11660. "attachment5": {
  11661. "description": "附件5",
  11662. "type": "string"
  11663. },
  11664. "auditedby": {
  11665. "description": "审核人",
  11666. "type": "string"
  11667. },
  11668. "auditime": {
  11669. "description": "审核时间",
  11670. "type": "string"
  11671. },
  11672. "auditsrc": {
  11673. "description": "审核来源 - 1:管理端 2:终端",
  11674. "type": "integer"
  11675. },
  11676. "bankaccount": {
  11677. "description": "银行帐号 (加密存储)",
  11678. "type": "string"
  11679. },
  11680. "bankaccountname": {
  11681. "description": "收款人名称",
  11682. "type": "string"
  11683. },
  11684. "bankcardbackphotourl": {
  11685. "description": "银行卡背面照地址",
  11686. "type": "string"
  11687. },
  11688. "bankcardfrontphotourl": {
  11689. "description": "银行卡正面照地址",
  11690. "type": "string"
  11691. },
  11692. "bankid": {
  11693. "description": "银行编码",
  11694. "type": "string"
  11695. },
  11696. "bankname": {
  11697. "description": "银行名称",
  11698. "type": "string"
  11699. },
  11700. "bankpictureurl": {
  11701. "description": "银行卡正面地址",
  11702. "type": "string"
  11703. },
  11704. "biznature": {
  11705. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11706. "type": "integer"
  11707. },
  11708. "bizscope": {
  11709. "description": "企业经营范围(企业)",
  11710. "type": "string"
  11711. },
  11712. "biztype": {
  11713. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11714. "type": "integer"
  11715. },
  11716. "brokerid": {
  11717. "description": "经纪人ID(加密存储)",
  11718. "type": "string"
  11719. },
  11720. "cardaddress": {
  11721. "description": "证件地址 (加密存储)",
  11722. "type": "string"
  11723. },
  11724. "cardbackphotourl": {
  11725. "description": "背面证件照地址",
  11726. "type": "string"
  11727. },
  11728. "cardfrontphotourl": {
  11729. "description": "正面证件照地址",
  11730. "type": "string"
  11731. },
  11732. "cardnum": {
  11733. "description": "证件号码 (加密存储)",
  11734. "type": "string"
  11735. },
  11736. "cardtype": {
  11737. "description": "证件类型",
  11738. "type": "integer"
  11739. },
  11740. "cityid": {
  11741. "description": "市",
  11742. "type": "integer"
  11743. },
  11744. "company": {
  11745. "description": "公司(个人)",
  11746. "type": "string"
  11747. },
  11748. "contactcardbackphotourl": {
  11749. "description": "联系人证件背面图片地址",
  11750. "type": "string"
  11751. },
  11752. "contactcardfrontphotourl": {
  11753. "description": "联系人证件正面图片地址",
  11754. "type": "string"
  11755. },
  11756. "contactname": {
  11757. "description": "联系人",
  11758. "type": "string"
  11759. },
  11760. "countryid": {
  11761. "description": "国家",
  11762. "type": "integer"
  11763. },
  11764. "createtime": {
  11765. "description": "开户申请时间",
  11766. "type": "string"
  11767. },
  11768. "cusbankid": {
  11769. "description": "签约类型",
  11770. "type": "string"
  11771. },
  11772. "cusbankname": {
  11773. "description": "签约类型名称",
  11774. "type": "string"
  11775. },
  11776. "customername": {
  11777. "description": "客户名称(企业名称)",
  11778. "type": "string"
  11779. },
  11780. "districtid": {
  11781. "description": "地区",
  11782. "type": "integer"
  11783. },
  11784. "email": {
  11785. "description": "Email地址(加密存储)",
  11786. "type": "string"
  11787. },
  11788. "halfbodyphotourl": {
  11789. "description": "半身照地址",
  11790. "type": "string"
  11791. },
  11792. "headurl": {
  11793. "description": "头像地址",
  11794. "type": "string"
  11795. },
  11796. "ipaddress": {
  11797. "description": "IP地址",
  11798. "type": "string"
  11799. },
  11800. "isvalidate": {
  11801. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11802. "type": "string"
  11803. },
  11804. "legalcardbackphotourl": {
  11805. "description": "法人身份证背面照地址",
  11806. "type": "string"
  11807. },
  11808. "legalcardfrontphotourl": {
  11809. "description": "法人身份证正面照地址",
  11810. "type": "string"
  11811. },
  11812. "legalpersonname": {
  11813. "description": "法人姓名(企业)",
  11814. "type": "string"
  11815. },
  11816. "logincode": {
  11817. "description": "登录帐号 (加密存储)",
  11818. "type": "string"
  11819. },
  11820. "memberareaid": {
  11821. "description": "所属会员ID",
  11822. "type": "integer"
  11823. },
  11824. "mobile2": {
  11825. "description": "手机号码[明文-尚志]",
  11826. "type": "string"
  11827. },
  11828. "mobilephone": {
  11829. "description": "手机号码 (加密存储)",
  11830. "type": "string"
  11831. },
  11832. "modifiedby": {
  11833. "description": "修改人帐号",
  11834. "type": "integer"
  11835. },
  11836. "modifiedtime": {
  11837. "description": "修改时间",
  11838. "type": "string"
  11839. },
  11840. "nickname": {
  11841. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11842. "type": "string"
  11843. },
  11844. "openmode": {
  11845. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11846. "type": "integer"
  11847. },
  11848. "otherurl": {
  11849. "description": "其它图片地址[使用分号分隔]",
  11850. "type": "string"
  11851. },
  11852. "postalcode": {
  11853. "description": "邮政编码",
  11854. "type": "string"
  11855. },
  11856. "provinceid": {
  11857. "description": "省",
  11858. "type": "integer"
  11859. },
  11860. "proxystatementurl": {
  11861. "description": "授权委托书",
  11862. "type": "string"
  11863. },
  11864. "qq": {
  11865. "description": "QQ(加密存储",
  11866. "type": "string"
  11867. },
  11868. "referral": {
  11869. "description": "推荐人编码",
  11870. "type": "string"
  11871. },
  11872. "remark": {
  11873. "description": "备注",
  11874. "type": "string"
  11875. },
  11876. "removebeforestatus": {
  11877. "description": "REMOVEBEFORESTATUS",
  11878. "type": "integer"
  11879. },
  11880. "sex": {
  11881. "description": "性别 - 0:女 1:男",
  11882. "type": "integer"
  11883. },
  11884. "signedstatus": {
  11885. "description": "账户一号签签约状态",
  11886. "type": "integer"
  11887. },
  11888. "signpdfurl": {
  11889. "description": "签约pdf文件",
  11890. "type": "string"
  11891. },
  11892. "subbranch": {
  11893. "description": "开户支行",
  11894. "type": "string"
  11895. },
  11896. "taxpayernum": {
  11897. "description": "纳税人识别号",
  11898. "type": "string"
  11899. },
  11900. "telphone": {
  11901. "description": "联系电话(加密存储)",
  11902. "type": "string"
  11903. },
  11904. "userid": {
  11905. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11906. "type": "integer"
  11907. },
  11908. "userinfotype": {
  11909. "description": "用户信息类型 - 1:个人 2:企业",
  11910. "type": "integer"
  11911. },
  11912. "username": {
  11913. "description": "用户姓名",
  11914. "type": "string"
  11915. },
  11916. "userstate": {
  11917. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11918. "type": "integer"
  11919. },
  11920. "usertype": {
  11921. "description": "用户类型 - 1:投资者 2:机构",
  11922. "type": "integer"
  11923. },
  11924. "videourl": {
  11925. "description": "视频地址",
  11926. "type": "string"
  11927. },
  11928. "wechat": {
  11929. "description": "微信号 (加密存储)",
  11930. "type": "string"
  11931. }
  11932. }
  11933. },
  11934. "erms3.CustomerInfo": {
  11935. "type": "object",
  11936. "required": [
  11937. "userid"
  11938. ],
  11939. "properties": {
  11940. "accountids": {
  11941. "description": "资金账户ID列表",
  11942. "type": "array",
  11943. "items": {
  11944. "type": "integer"
  11945. }
  11946. },
  11947. "customername": {
  11948. "description": "名称(企业名称)",
  11949. "type": "string"
  11950. },
  11951. "mobile": {
  11952. "description": "手机号码",
  11953. "type": "string"
  11954. },
  11955. "userid": {
  11956. "description": "用户ID",
  11957. "type": "integer"
  11958. }
  11959. }
  11960. },
  11961. "erms3.ModifyUserInfoApplyReq": {
  11962. "type": "object",
  11963. "required": [
  11964. "userid"
  11965. ],
  11966. "properties": {
  11967. "accountid": {
  11968. "description": "交易系统帐号Id (加密存储)",
  11969. "type": "integer"
  11970. },
  11971. "areacode": {
  11972. "description": "机构代码",
  11973. "type": "string"
  11974. },
  11975. "areaid": {
  11976. "description": "机构Id",
  11977. "type": "integer"
  11978. },
  11979. "attachment1": {
  11980. "description": "附件1",
  11981. "type": "string"
  11982. },
  11983. "attachment2": {
  11984. "description": "附件2",
  11985. "type": "string"
  11986. },
  11987. "attachment3": {
  11988. "description": "附件3",
  11989. "type": "string"
  11990. },
  11991. "attachment4": {
  11992. "description": "附件4",
  11993. "type": "string"
  11994. },
  11995. "attachment5": {
  11996. "description": "附件5",
  11997. "type": "string"
  11998. },
  11999. "auditedby": {
  12000. "description": "审核人",
  12001. "type": "string"
  12002. },
  12003. "auditime": {
  12004. "description": "审核时间",
  12005. "type": "string"
  12006. },
  12007. "auditsrc": {
  12008. "description": "审核来源 - 1:管理端 2:终端",
  12009. "type": "integer"
  12010. },
  12011. "bankaccount": {
  12012. "description": "银行帐号 (加密存储)",
  12013. "type": "string"
  12014. },
  12015. "bankaccountname": {
  12016. "description": "收款人名称",
  12017. "type": "string"
  12018. },
  12019. "bankcardbackphotourl": {
  12020. "description": "银行卡背面照地址",
  12021. "type": "string"
  12022. },
  12023. "bankcardfrontphotourl": {
  12024. "description": "银行卡正面照地址",
  12025. "type": "string"
  12026. },
  12027. "bankid": {
  12028. "description": "银行编码",
  12029. "type": "string"
  12030. },
  12031. "bankname": {
  12032. "description": "银行名称",
  12033. "type": "string"
  12034. },
  12035. "bankpictureurl": {
  12036. "description": "银行卡正面地址",
  12037. "type": "string"
  12038. },
  12039. "biznature": {
  12040. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12041. "type": "integer"
  12042. },
  12043. "bizscope": {
  12044. "description": "企业经营范围(企业)",
  12045. "type": "string"
  12046. },
  12047. "biztype": {
  12048. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12049. "type": "integer"
  12050. },
  12051. "brokerid": {
  12052. "description": "经纪人ID(加密存储)",
  12053. "type": "string"
  12054. },
  12055. "cardaddress": {
  12056. "description": "证件地址 (加密存储)",
  12057. "type": "string"
  12058. },
  12059. "cardbackphotourl": {
  12060. "description": "背面证件照地址",
  12061. "type": "string"
  12062. },
  12063. "cardfrontphotourl": {
  12064. "description": "正面证件照地址",
  12065. "type": "string"
  12066. },
  12067. "cardnum": {
  12068. "description": "证件号码 (加密存储)",
  12069. "type": "string"
  12070. },
  12071. "cardtype": {
  12072. "description": "证件类型",
  12073. "type": "integer"
  12074. },
  12075. "cityid": {
  12076. "description": "市",
  12077. "type": "integer"
  12078. },
  12079. "company": {
  12080. "description": "公司(个人)",
  12081. "type": "string"
  12082. },
  12083. "contactcardbackphotourl": {
  12084. "description": "联系人证件背面图片地址",
  12085. "type": "string"
  12086. },
  12087. "contactcardfrontphotourl": {
  12088. "description": "联系人证件正面图片地址",
  12089. "type": "string"
  12090. },
  12091. "contactname": {
  12092. "description": "联系人",
  12093. "type": "string"
  12094. },
  12095. "countryid": {
  12096. "description": "国家",
  12097. "type": "integer"
  12098. },
  12099. "createtime": {
  12100. "description": "开户申请时间",
  12101. "type": "string"
  12102. },
  12103. "cusbankid": {
  12104. "description": "签约类型",
  12105. "type": "string"
  12106. },
  12107. "cusbankname": {
  12108. "description": "签约类型名称",
  12109. "type": "string"
  12110. },
  12111. "customername": {
  12112. "description": "客户名称(企业名称)",
  12113. "type": "string"
  12114. },
  12115. "districtid": {
  12116. "description": "地区",
  12117. "type": "integer"
  12118. },
  12119. "email": {
  12120. "description": "Email地址(加密存储)",
  12121. "type": "string"
  12122. },
  12123. "halfbodyphotourl": {
  12124. "description": "半身照地址",
  12125. "type": "string"
  12126. },
  12127. "headurl": {
  12128. "description": "头像地址",
  12129. "type": "string"
  12130. },
  12131. "ipaddress": {
  12132. "description": "IP地址",
  12133. "type": "string"
  12134. },
  12135. "isvalidate": {
  12136. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12137. "type": "string"
  12138. },
  12139. "legalcardbackphotourl": {
  12140. "description": "法人身份证背面照地址",
  12141. "type": "string"
  12142. },
  12143. "legalcardfrontphotourl": {
  12144. "description": "法人身份证正面照地址",
  12145. "type": "string"
  12146. },
  12147. "legalpersonname": {
  12148. "description": "法人姓名(企业)",
  12149. "type": "string"
  12150. },
  12151. "logincode": {
  12152. "description": "登录帐号 (加密存储)",
  12153. "type": "string"
  12154. },
  12155. "memberareaid": {
  12156. "description": "所属会员ID",
  12157. "type": "integer"
  12158. },
  12159. "mobile2": {
  12160. "description": "手机号码[明文-尚志]",
  12161. "type": "string"
  12162. },
  12163. "mobilephone": {
  12164. "description": "手机号码 (加密存储)",
  12165. "type": "string"
  12166. },
  12167. "modifiedby": {
  12168. "description": "修改人帐号",
  12169. "type": "integer"
  12170. },
  12171. "modifiedtime": {
  12172. "description": "修改时间",
  12173. "type": "string"
  12174. },
  12175. "nickname": {
  12176. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12177. "type": "string"
  12178. },
  12179. "openmode": {
  12180. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12181. "type": "integer"
  12182. },
  12183. "otherurl": {
  12184. "description": "其它图片地址[使用分号分隔]",
  12185. "type": "string"
  12186. },
  12187. "postalcode": {
  12188. "description": "邮政编码",
  12189. "type": "string"
  12190. },
  12191. "provinceid": {
  12192. "description": "省",
  12193. "type": "integer"
  12194. },
  12195. "proxystatementurl": {
  12196. "description": "授权委托书",
  12197. "type": "string"
  12198. },
  12199. "qq": {
  12200. "description": "QQ(加密存储",
  12201. "type": "string"
  12202. },
  12203. "referral": {
  12204. "description": "推荐人编码",
  12205. "type": "string"
  12206. },
  12207. "remark": {
  12208. "description": "备注",
  12209. "type": "string"
  12210. },
  12211. "removebeforestatus": {
  12212. "description": "REMOVEBEFORESTATUS",
  12213. "type": "integer"
  12214. },
  12215. "sex": {
  12216. "description": "性别 - 0:女 1:男",
  12217. "type": "integer"
  12218. },
  12219. "signedstatus": {
  12220. "description": "账户一号签签约状态",
  12221. "type": "integer"
  12222. },
  12223. "signpdfurl": {
  12224. "description": "签约pdf文件",
  12225. "type": "string"
  12226. },
  12227. "subbranch": {
  12228. "description": "开户支行",
  12229. "type": "string"
  12230. },
  12231. "taxpayernum": {
  12232. "description": "纳税人识别号",
  12233. "type": "string"
  12234. },
  12235. "telphone": {
  12236. "description": "联系电话(加密存储)",
  12237. "type": "string"
  12238. },
  12239. "userid": {
  12240. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12241. "type": "integer"
  12242. },
  12243. "userinfotype": {
  12244. "description": "用户信息类型 - 1:个人 2:企业",
  12245. "type": "integer"
  12246. },
  12247. "username": {
  12248. "description": "用户姓名",
  12249. "type": "string"
  12250. },
  12251. "userstate": {
  12252. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12253. "type": "integer"
  12254. },
  12255. "usertype": {
  12256. "description": "用户类型 - 1:投资者 2:机构",
  12257. "type": "integer"
  12258. },
  12259. "videourl": {
  12260. "description": "视频地址",
  12261. "type": "string"
  12262. },
  12263. "wechat": {
  12264. "description": "微信号 (加密存储)",
  12265. "type": "string"
  12266. }
  12267. }
  12268. },
  12269. "erms3.QryAuditContractRsp": {
  12270. "type": "object",
  12271. "required": [
  12272. "matchcustomername",
  12273. "spotcontractid"
  12274. ],
  12275. "properties": {
  12276. "accountid": {
  12277. "description": "交易员ID",
  12278. "type": "string"
  12279. },
  12280. "applystatus": {
  12281. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12282. "type": "integer"
  12283. },
  12284. "curdeliveryqty": {
  12285. "description": "未交收量",
  12286. "type": "integer"
  12287. },
  12288. "customername": {
  12289. "description": "采购方ID",
  12290. "type": "string"
  12291. },
  12292. "deliverygoodsid": {
  12293. "description": "品种ID",
  12294. "type": "string"
  12295. },
  12296. "deliveryqty": {
  12297. "description": "交收量",
  12298. "type": "integer"
  12299. },
  12300. "enumdicname": {
  12301. "description": "单位名称",
  12302. "type": "string"
  12303. },
  12304. "matchaccountid": {
  12305. "description": "业务员ID",
  12306. "type": "string"
  12307. },
  12308. "matchcustomername": {
  12309. "description": "销售方ID",
  12310. "type": "string"
  12311. },
  12312. "pricedqty": {
  12313. "description": "定价量",
  12314. "type": "number"
  12315. },
  12316. "signdate": {
  12317. "description": "签订日期",
  12318. "type": "string"
  12319. },
  12320. "spotcontractid": {
  12321. "description": "合同ID",
  12322. "type": "string"
  12323. },
  12324. "totaldqty": {
  12325. "description": "合同量",
  12326. "type": "number"
  12327. },
  12328. "unpricedqty": {
  12329. "description": "未定价量",
  12330. "type": "number"
  12331. },
  12332. "wrstandardname": {
  12333. "description": "商品名称",
  12334. "type": "string"
  12335. }
  12336. }
  12337. },
  12338. "erms3.QryPendingBizRsp": {
  12339. "$ref": "#/definitions/models.PendingAuditBizModel"
  12340. },
  12341. "erms3.QueryBusinessInfoRsp": {
  12342. "type": "object",
  12343. "properties": {
  12344. "businessid": {
  12345. "description": "业务ID.",
  12346. "type": "integer"
  12347. },
  12348. "buyamount": {
  12349. "description": "采购额.",
  12350. "type": "number"
  12351. },
  12352. "buyqty": {
  12353. "description": "采购量.",
  12354. "type": "string"
  12355. },
  12356. "futurepl": {
  12357. "description": "期货盈亏.",
  12358. "type": "number"
  12359. },
  12360. "futureqty": {
  12361. "description": "期货敞口.",
  12362. "type": "string"
  12363. },
  12364. "goodsid": {
  12365. "description": "商品名称/商品代码.",
  12366. "type": "string"
  12367. },
  12368. "hedgingqty": {
  12369. "description": "套保量.",
  12370. "type": "string"
  12371. },
  12372. "sellamount": {
  12373. "description": "销售额.",
  12374. "type": "number"
  12375. },
  12376. "sellqty": {
  12377. "description": "销售量.",
  12378. "type": "string"
  12379. },
  12380. "spotmarketvalue": {
  12381. "description": "现货市值.",
  12382. "type": "number"
  12383. },
  12384. "spotpl": {
  12385. "description": "浮动权益.",
  12386. "type": "number"
  12387. },
  12388. "spotqty": {
  12389. "description": "现货量.",
  12390. "type": "string"
  12391. },
  12392. "statu": {
  12393. "description": "状态,0-未结束 1-已结束.",
  12394. "type": "integer"
  12395. },
  12396. "totalpl": {
  12397. "description": "总盈亏.",
  12398. "type": "number"
  12399. },
  12400. "totalqty": {
  12401. "description": "总敞口.",
  12402. "type": "string"
  12403. },
  12404. "type": {
  12405. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12406. "type": "integer"
  12407. }
  12408. }
  12409. },
  12410. "erms3.QuerySpotContractAppleFormRsp": {
  12411. "type": "object",
  12412. "properties": {
  12413. "goodses": {
  12414. "description": "合约列表",
  12415. "type": "array",
  12416. "items": {
  12417. "$ref": "#/definitions/models.GoodsIDAndName"
  12418. }
  12419. },
  12420. "oppositeusers": {
  12421. "description": "对方账号列表",
  12422. "type": "array",
  12423. "items": {
  12424. "$ref": "#/definitions/erms3.CustomerInfo"
  12425. }
  12426. },
  12427. "ouruser": {
  12428. "description": "我方账号",
  12429. "type": "object",
  12430. "$ref": "#/definitions/erms3.CustomerInfo"
  12431. },
  12432. "warehouseinfos": {
  12433. "description": "仓库信息列表",
  12434. "type": "array",
  12435. "items": {
  12436. "$ref": "#/definitions/models.Warehouseinfo"
  12437. }
  12438. },
  12439. "wrstandards": {
  12440. "description": "仓单标准列表",
  12441. "type": "array",
  12442. "items": {
  12443. "$ref": "#/definitions/models.WRStandardInfo"
  12444. }
  12445. }
  12446. }
  12447. },
  12448. "erms3.QuerySpotContractInfoRsp": {
  12449. "type": "object",
  12450. "properties": {
  12451. "accountid": {
  12452. "description": "表示交易员ID.",
  12453. "type": "integer"
  12454. },
  12455. "curdeliveryqty": {
  12456. "description": "表示未交收量.",
  12457. "type": "number"
  12458. },
  12459. "customername": {
  12460. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12461. "type": "string"
  12462. },
  12463. "deliverygoodsid": {
  12464. "description": "表示品种ID.",
  12465. "type": "string"
  12466. },
  12467. "deliveryqty": {
  12468. "description": "表示交收量.",
  12469. "type": "number"
  12470. },
  12471. "matchaccountid": {
  12472. "description": "表示业务员ID.",
  12473. "type": "integer"
  12474. },
  12475. "matchcustomername": {
  12476. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12477. "type": "string"
  12478. },
  12479. "priceqty": {
  12480. "description": "表示定价量.",
  12481. "type": "number"
  12482. },
  12483. "relatedbizid": {
  12484. "description": "表示业务ID.",
  12485. "type": "string"
  12486. },
  12487. "signdate": {
  12488. "description": "表示签订日期.",
  12489. "type": "string"
  12490. },
  12491. "spotcontractid": {
  12492. "description": "合同ID",
  12493. "type": "string"
  12494. },
  12495. "status": {
  12496. "description": "表示状态,0-履约中 1-已完成.",
  12497. "type": "integer"
  12498. },
  12499. "totalqty": {
  12500. "description": "表示合同量.",
  12501. "type": "number"
  12502. },
  12503. "unpricedqty": {
  12504. "description": "表示未定价量.",
  12505. "type": "number"
  12506. },
  12507. "wrstandardname": {
  12508. "description": "表示商品ID.",
  12509. "type": "string"
  12510. }
  12511. }
  12512. },
  12513. "erms3.QueryUserInfoAppliesRsp": {
  12514. "type": "object",
  12515. "required": [
  12516. "userid"
  12517. ],
  12518. "properties": {
  12519. "biznature": {
  12520. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12521. "type": "integer"
  12522. },
  12523. "contactname": {
  12524. "description": "联系人",
  12525. "type": "string"
  12526. },
  12527. "createtime": {
  12528. "description": "开户申请时间",
  12529. "type": "string"
  12530. },
  12531. "userid": {
  12532. "description": "用户ID(自增ID)",
  12533. "type": "integer"
  12534. },
  12535. "userinfotype": {
  12536. "description": "用户信息类型 - 1:个人 2:企业",
  12537. "type": "integer"
  12538. },
  12539. "username": {
  12540. "description": "用户姓名",
  12541. "type": "string"
  12542. },
  12543. "userstate": {
  12544. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12545. "type": "integer"
  12546. }
  12547. }
  12548. },
  12549. "erms3.QueryUserInfosRsp": {
  12550. "type": "object",
  12551. "required": [
  12552. "userid"
  12553. ],
  12554. "properties": {
  12555. "biznature": {
  12556. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12557. "type": "integer"
  12558. },
  12559. "contactname": {
  12560. "description": "联系人",
  12561. "type": "string"
  12562. },
  12563. "customername": {
  12564. "description": "客户名称(企业名称)",
  12565. "type": "string"
  12566. },
  12567. "userid": {
  12568. "description": "用户ID",
  12569. "type": "integer"
  12570. },
  12571. "userinfotype": {
  12572. "description": "用户信息类型 - 1:个人 2:企业",
  12573. "type": "integer"
  12574. },
  12575. "userstatus": {
  12576. "description": "用户状态 - 1:正常 2:注销",
  12577. "type": "integer"
  12578. }
  12579. }
  12580. },
  12581. "erms3.SoptContractDetail": {
  12582. "type": "object",
  12583. "required": [
  12584. "deliverygoodsid",
  12585. "producttype",
  12586. "unitname",
  12587. "warehouseid",
  12588. "wrstandardid",
  12589. "wrstandardname"
  12590. ],
  12591. "properties": {
  12592. "deliverygoodsdesc": {
  12593. "description": "现货品种说明",
  12594. "type": "string"
  12595. },
  12596. "deliverygoodsid": {
  12597. "description": "现货品种ID",
  12598. "type": "integer"
  12599. },
  12600. "deliverygoodsname": {
  12601. "description": "现货品种名称",
  12602. "type": "string"
  12603. },
  12604. "pointdesc": {
  12605. "description": "点价描述",
  12606. "type": "string"
  12607. },
  12608. "producttype": {
  12609. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12610. "type": "integer"
  12611. },
  12612. "producttypename": {
  12613. "description": "产品类型名称",
  12614. "type": "string"
  12615. },
  12616. "spotPointOrderVoList": {
  12617. "description": "点价列表",
  12618. "type": "array",
  12619. "items": {
  12620. "$ref": "#/definitions/erms3.SpotPointOrder"
  12621. }
  12622. },
  12623. "spotPriceOrderList": {
  12624. "description": "定价列表",
  12625. "type": "array",
  12626. "items": {
  12627. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12628. }
  12629. },
  12630. "unitname": {
  12631. "description": "单位名称",
  12632. "type": "string"
  12633. },
  12634. "warehouseid": {
  12635. "description": "仓库ID",
  12636. "type": "integer"
  12637. },
  12638. "warehousename": {
  12639. "description": "仓库名称",
  12640. "type": "string"
  12641. },
  12642. "wrstandardid": {
  12643. "description": "交易标的ID",
  12644. "type": "integer"
  12645. },
  12646. "wrstandardname": {
  12647. "description": "交易标的名称",
  12648. "type": "string"
  12649. }
  12650. }
  12651. },
  12652. "erms3.SpotPointOrder": {
  12653. "type": "object",
  12654. "required": [
  12655. "basic",
  12656. "goodsid",
  12657. "qty"
  12658. ],
  12659. "properties": {
  12660. "basic": {
  12661. "description": "基差",
  12662. "type": "number"
  12663. },
  12664. "deliveryenddate": {
  12665. "description": "交收结束日期",
  12666. "type": "string"
  12667. },
  12668. "deliverystartdate": {
  12669. "description": "交收开始日期",
  12670. "type": "string"
  12671. },
  12672. "enddate": {
  12673. "description": "点价结束日期",
  12674. "type": "string"
  12675. },
  12676. "goodsid": {
  12677. "description": "商品ID",
  12678. "type": "integer"
  12679. },
  12680. "goodsname": {
  12681. "description": "商品名称",
  12682. "type": "string"
  12683. },
  12684. "qty": {
  12685. "description": "数量",
  12686. "type": "number"
  12687. },
  12688. "startdate": {
  12689. "description": "点价开始日期",
  12690. "type": "string"
  12691. }
  12692. }
  12693. },
  12694. "erms3.SpotPriceOrder": {
  12695. "type": "object",
  12696. "required": [
  12697. "amount",
  12698. "price",
  12699. "qty"
  12700. ],
  12701. "properties": {
  12702. "amount": {
  12703. "description": "金额",
  12704. "type": "number"
  12705. },
  12706. "deliveryenddate": {
  12707. "description": "交收结束日期",
  12708. "type": "string"
  12709. },
  12710. "deliverystartdate": {
  12711. "description": "交收开始日期",
  12712. "type": "string"
  12713. },
  12714. "price": {
  12715. "description": "价格",
  12716. "type": "number"
  12717. },
  12718. "qty": {
  12719. "description": "数量",
  12720. "type": "number"
  12721. }
  12722. }
  12723. },
  12724. "hsby.GetHsbyMyCountRsp": {
  12725. "type": "object",
  12726. "properties": {
  12727. "myCouponCount": {
  12728. "description": "我的优惠卷数量",
  12729. "type": "integer"
  12730. },
  12731. "myOrderDetailListingCount": {
  12732. "description": "我的订单求购中数量",
  12733. "type": "integer"
  12734. },
  12735. "myOrderDetailPreCount": {
  12736. "description": "我的订单抢购中数量",
  12737. "type": "integer"
  12738. },
  12739. "myPackageUnReceiveCount": {
  12740. "description": "我的包裹待收货数量",
  12741. "type": "integer"
  12742. },
  12743. "myPackageUnSendCount": {
  12744. "description": "我的包裹待发货数量",
  12745. "type": "integer"
  12746. },
  12747. "myPayOrderCount": {
  12748. "description": "我的订单待付款数量",
  12749. "type": "integer"
  12750. }
  12751. }
  12752. },
  12753. "hsby.QueryProvincesAndCitiesRsp": {
  12754. "type": "object",
  12755. "properties": {
  12756. "cities": {
  12757. "description": "市",
  12758. "type": "array",
  12759. "items": {
  12760. "$ref": "#/definitions/models.Division"
  12761. }
  12762. },
  12763. "province": {
  12764. "description": "省",
  12765. "type": "object",
  12766. "$ref": "#/definitions/models.Division"
  12767. }
  12768. }
  12769. },
  12770. "models.AreaSpotModel": {
  12771. "type": "object",
  12772. "properties": {
  12773. "areauserid": {
  12774. "description": "所属机构",
  12775. "type": "integer"
  12776. },
  12777. "decreaseqty": {
  12778. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12779. "type": "number"
  12780. },
  12781. "increaseqty": {
  12782. "description": "增加数量=销售计划数量+采购已定价数量",
  12783. "type": "number"
  12784. },
  12785. "oritoalspotqty": {
  12786. "description": "昨日数量",
  12787. "type": "number"
  12788. },
  12789. "totalspotqty": {
  12790. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12791. "type": "number"
  12792. },
  12793. "updatetime": {
  12794. "description": "更新时间",
  12795. "type": "string"
  12796. },
  12797. "wrstandardcode": {
  12798. "description": "现货品种代码",
  12799. "type": "string"
  12800. },
  12801. "wrstandardid": {
  12802. "description": "现货商品ID",
  12803. "type": "integer"
  12804. },
  12805. "wrstandardname": {
  12806. "description": "现货品种",
  12807. "type": "string"
  12808. }
  12809. }
  12810. },
  12811. "models.Arearole": {
  12812. "type": "object",
  12813. "required": [
  12814. "roletype",
  12815. "userid"
  12816. ],
  12817. "properties": {
  12818. "createtime": {
  12819. "description": "创建时间",
  12820. "type": "string"
  12821. },
  12822. "creatorid": {
  12823. "description": "创建人ID",
  12824. "type": "integer"
  12825. },
  12826. "isreturnscore": {
  12827. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12828. "type": "integer"
  12829. },
  12830. "modifierid": {
  12831. "description": "修改人ID",
  12832. "type": "integer"
  12833. },
  12834. "modifytime": {
  12835. "description": "修改时间",
  12836. "type": "string"
  12837. },
  12838. "orgtype": {
  12839. "description": "组织机构类型 1:机构 2:交易员",
  12840. "type": "integer"
  12841. },
  12842. "outuserid": {
  12843. "description": "外部账户[场外期权做市商]",
  12844. "type": "string"
  12845. },
  12846. "parentuserid": {
  12847. "description": "上级组织机构(组织机构)",
  12848. "type": "integer"
  12849. },
  12850. "roletype": {
  12851. "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:交易员",
  12852. "type": "integer"
  12853. },
  12854. "rootuserid": {
  12855. "description": "顶级组织机构用户ID(组织机构)",
  12856. "type": "integer"
  12857. },
  12858. "shoppassword": {
  12859. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12860. "type": "string"
  12861. },
  12862. "sublevelpath": {
  12863. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12864. "type": "string"
  12865. },
  12866. "tradeaccountid": {
  12867. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12868. "type": "integer"
  12869. },
  12870. "transurl": {
  12871. "description": "物流地址(物流机构)",
  12872. "type": "string"
  12873. },
  12874. "userid": {
  12875. "description": "机构用户ID其他做市关系,都设置为 1",
  12876. "type": "integer"
  12877. }
  12878. }
  12879. },
  12880. "models.Clientfixedadconfig": {
  12881. "type": "object",
  12882. "required": [
  12883. "adsort",
  12884. "adtype"
  12885. ],
  12886. "properties": {
  12887. "adsort": {
  12888. "description": "排序",
  12889. "type": "integer"
  12890. },
  12891. "adtype": {
  12892. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12893. "type": "integer"
  12894. },
  12895. "areauserid": {
  12896. "description": "所属机构ID",
  12897. "type": "integer"
  12898. },
  12899. "createdate": {
  12900. "description": "创建时间",
  12901. "type": "string"
  12902. },
  12903. "creatorid": {
  12904. "description": "创建人",
  12905. "type": "integer"
  12906. },
  12907. "imagepath": {
  12908. "description": "图片",
  12909. "type": "string"
  12910. },
  12911. "isshow": {
  12912. "description": "是否展示 - 0:不展示 1:展示",
  12913. "type": "integer"
  12914. },
  12915. "modifierid": {
  12916. "description": "操作人",
  12917. "type": "integer"
  12918. },
  12919. "recsize": {
  12920. "description": "推荐尺寸",
  12921. "type": "string"
  12922. },
  12923. "title": {
  12924. "description": "标题",
  12925. "type": "string"
  12926. },
  12927. "updatedate": {
  12928. "description": "更新时间",
  12929. "type": "string"
  12930. },
  12931. "urlcontent": {
  12932. "description": "链接(地址或商品ID)",
  12933. "type": "string"
  12934. },
  12935. "urltype": {
  12936. "description": "链接类型 - 1:直接地址 2:商品ID",
  12937. "type": "integer"
  12938. }
  12939. }
  12940. },
  12941. "models.Division": {
  12942. "type": "object",
  12943. "required": [
  12944. "autoid",
  12945. "divisioncode"
  12946. ],
  12947. "properties": {
  12948. "autoid": {
  12949. "description": "自增ID",
  12950. "type": "integer"
  12951. },
  12952. "divisioncode": {
  12953. "description": "行政代码",
  12954. "type": "string"
  12955. },
  12956. "divisionlevel": {
  12957. "description": "行政级别",
  12958. "type": "string"
  12959. },
  12960. "divisionname": {
  12961. "description": "行政名称",
  12962. "type": "string"
  12963. },
  12964. "modifierid": {
  12965. "description": "修改人",
  12966. "type": "integer"
  12967. },
  12968. "modifytime": {
  12969. "description": "修改时间",
  12970. "type": "string"
  12971. },
  12972. "parentcode": {
  12973. "description": "上级行政代码",
  12974. "type": "string"
  12975. },
  12976. "pathname": {
  12977. "description": "路径名称",
  12978. "type": "string"
  12979. },
  12980. "postcode": {
  12981. "description": "邮政编码",
  12982. "type": "string"
  12983. },
  12984. "separablename": {
  12985. "description": "可拆分的全称",
  12986. "type": "string"
  12987. },
  12988. "shortcode": {
  12989. "description": "地区简码",
  12990. "type": "string"
  12991. }
  12992. }
  12993. },
  12994. "models.Enumdicitem": {
  12995. "type": "object",
  12996. "required": [
  12997. "autoid",
  12998. "enumdiccode",
  12999. "enumdicid",
  13000. "enumitemname"
  13001. ],
  13002. "properties": {
  13003. "autoid": {
  13004. "description": "自增ID",
  13005. "type": "integer"
  13006. },
  13007. "bankmappedvalue": {
  13008. "description": "银行服务对应值",
  13009. "type": "string"
  13010. },
  13011. "enumdiccode": {
  13012. "description": "所属枚举代码",
  13013. "type": "string"
  13014. },
  13015. "enumdicid": {
  13016. "description": "所属枚举ID",
  13017. "type": "integer"
  13018. },
  13019. "enumdicname": {
  13020. "description": "枚举项名称",
  13021. "type": "string"
  13022. },
  13023. "enumitemname": {
  13024. "description": "枚举项值",
  13025. "type": "integer"
  13026. },
  13027. "enumitemstatus": {
  13028. "description": "枚举项状态 - 1.启用 2.不启用",
  13029. "type": "integer"
  13030. },
  13031. "enumitemvalue": {
  13032. "description": "通用值 - [币种通用简写]",
  13033. "type": "string"
  13034. },
  13035. "param1": {
  13036. "description": "参数1[币种:币种小数位]",
  13037. "type": "string"
  13038. },
  13039. "param2": {
  13040. "description": "参数1[币种:币种显示单位]",
  13041. "type": "string"
  13042. },
  13043. "remark": {
  13044. "description": "备注",
  13045. "type": "string"
  13046. }
  13047. }
  13048. },
  13049. "models.Ermcp3AreaSpot": {
  13050. "type": "object",
  13051. "properties": {
  13052. "areauserid": {
  13053. "description": "所属机构",
  13054. "type": "integer"
  13055. },
  13056. "decreaseqty": {
  13057. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13058. "type": "number"
  13059. },
  13060. "deliverygoodscode": {
  13061. "description": "现货品种代码",
  13062. "type": "string"
  13063. },
  13064. "deliverygoodsid": {
  13065. "description": "现货品种id",
  13066. "type": "integer"
  13067. },
  13068. "deliverygoodsname": {
  13069. "description": "现货品种名称",
  13070. "type": "string"
  13071. },
  13072. "enumdicname": {
  13073. "description": "单位名称",
  13074. "type": "string"
  13075. },
  13076. "goodsunitid": {
  13077. "description": "现货品种单位id",
  13078. "type": "integer"
  13079. },
  13080. "increaseqty": {
  13081. "description": "增加数量=销售计划数量+采购已定价数量",
  13082. "type": "number"
  13083. },
  13084. "oritoalspotqty": {
  13085. "description": "昨日数量",
  13086. "type": "number"
  13087. },
  13088. "totalspotqty": {
  13089. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13090. "type": "number"
  13091. },
  13092. "updatetime": {
  13093. "description": "更新时间",
  13094. "type": "string"
  13095. }
  13096. }
  13097. },
  13098. "models.Ermcp3AreaSpotDetail": {
  13099. "type": "object",
  13100. "properties": {
  13101. "contracttype": {
  13102. "description": "合同类型 1-采购 -1-销售",
  13103. "type": "integer"
  13104. },
  13105. "createtime": {
  13106. "description": "创建时间",
  13107. "type": "string"
  13108. },
  13109. "deliverygoodscode": {
  13110. "description": "现货品种代码",
  13111. "type": "string"
  13112. },
  13113. "deliverygoodsid": {
  13114. "description": "现货品种id",
  13115. "type": "integer"
  13116. },
  13117. "deliverygoodsname": {
  13118. "description": "现货品种名称",
  13119. "type": "string"
  13120. },
  13121. "enumdicname": {
  13122. "description": "现货商品单位名称",
  13123. "type": "string"
  13124. },
  13125. "logtype": {
  13126. "description": "记录类型 1-套保 2-现货合同",
  13127. "type": "integer"
  13128. },
  13129. "qty": {
  13130. "description": "数量",
  13131. "type": "number"
  13132. },
  13133. "recordname": {
  13134. "description": "类型名称",
  13135. "type": "string"
  13136. },
  13137. "relatedid": {
  13138. "description": "套保计划ID/现货合同ID",
  13139. "type": "string"
  13140. },
  13141. "relatedno": {
  13142. "description": "编号",
  13143. "type": "string"
  13144. },
  13145. "strtime": {
  13146. "description": "时间",
  13147. "type": "string"
  13148. }
  13149. }
  13150. },
  13151. "models.Ermcp3AreaSpotPLReport": {
  13152. "type": "object",
  13153. "properties": {
  13154. "accountid": {
  13155. "description": "期货账户ID (作废, 默认为0)",
  13156. "type": "integer"
  13157. },
  13158. "accountname": {
  13159. "description": "机构名称",
  13160. "type": "string"
  13161. },
  13162. "actualpl": {
  13163. "description": "现货损益",
  13164. "type": "number"
  13165. },
  13166. "areauserid": {
  13167. "description": "所属机构\\交易用户ID",
  13168. "type": "integer"
  13169. },
  13170. "begindate": {
  13171. "description": "开始交易日",
  13172. "type": "string"
  13173. },
  13174. "biztype": {
  13175. "description": "业务类型 - 1:套保 2:套利",
  13176. "type": "integer"
  13177. },
  13178. "brandname": {
  13179. "description": "品牌名称",
  13180. "type": "string"
  13181. },
  13182. "curamount": {
  13183. "description": "期末额",
  13184. "type": "number"
  13185. },
  13186. "curaverageprice": {
  13187. "description": "期末均价",
  13188. "type": "number"
  13189. },
  13190. "curbuyamount": {
  13191. "description": "期末采购总额",
  13192. "type": "number"
  13193. },
  13194. "curbuyqty": {
  13195. "description": "期末采购总量",
  13196. "type": "number"
  13197. },
  13198. "curmarketvalue": {
  13199. "description": "参考市值(期末市值)",
  13200. "type": "number"
  13201. },
  13202. "curqty": {
  13203. "description": "期末量",
  13204. "type": "number"
  13205. },
  13206. "currencyid": {
  13207. "description": "结算币种ID【原值】",
  13208. "type": "integer"
  13209. },
  13210. "currencyname": {
  13211. "description": "币种名称",
  13212. "type": "string"
  13213. },
  13214. "cursellamount": {
  13215. "description": "期末销售总额",
  13216. "type": "number"
  13217. },
  13218. "cursellqty": {
  13219. "description": "期末销售总量",
  13220. "type": "number"
  13221. },
  13222. "curspotprice": {
  13223. "description": "参考市价(最新价)",
  13224. "type": "number"
  13225. },
  13226. "cycletime": {
  13227. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13228. "type": "string"
  13229. },
  13230. "cycletype": {
  13231. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13232. "type": "integer"
  13233. },
  13234. "deliverygoodscode": {
  13235. "description": "现货商品代码",
  13236. "type": "string"
  13237. },
  13238. "deliverygoodsid": {
  13239. "description": "现货品种ID",
  13240. "type": "integer"
  13241. },
  13242. "deliverygoodsname": {
  13243. "description": "现货商品名称",
  13244. "type": "string"
  13245. },
  13246. "enddate": {
  13247. "description": "结束交易日",
  13248. "type": "string"
  13249. },
  13250. "enumdicname": {
  13251. "description": "现货商品单位名称",
  13252. "type": "string"
  13253. },
  13254. "floatpl": {
  13255. "description": "浮动损益",
  13256. "type": "number"
  13257. },
  13258. "goodsunitid": {
  13259. "description": "现货商品单位id",
  13260. "type": "integer"
  13261. },
  13262. "oriamount": {
  13263. "description": "期初额",
  13264. "type": "number"
  13265. },
  13266. "oriaverageprice": {
  13267. "description": "期初均价",
  13268. "type": "number"
  13269. },
  13270. "oribuyamount": {
  13271. "description": "期初采购总额",
  13272. "type": "number"
  13273. },
  13274. "oribuyqty": {
  13275. "description": "期初采购总量",
  13276. "type": "number"
  13277. },
  13278. "oriqty": {
  13279. "description": "期初量",
  13280. "type": "number"
  13281. },
  13282. "orisellamount": {
  13283. "description": "期初销售总额",
  13284. "type": "number"
  13285. },
  13286. "orisellqty": {
  13287. "description": "期初销售总量",
  13288. "type": "number"
  13289. },
  13290. "reckondate": {
  13291. "description": "日照时期(yyyyMMdd)",
  13292. "type": "string"
  13293. },
  13294. "spotgoodsbrandid": {
  13295. "description": "现货品牌ID",
  13296. "type": "integer"
  13297. },
  13298. "todaybuyamount": {
  13299. "description": "今日采购额(今采购额)",
  13300. "type": "number"
  13301. },
  13302. "todaybuyaverageprice": {
  13303. "description": "今日采购均价",
  13304. "type": "number"
  13305. },
  13306. "todaybuyqty": {
  13307. "description": "今日采购量(今采购量)",
  13308. "type": "number"
  13309. },
  13310. "todayinqty": {
  13311. "description": "今日入库量(今入库量)",
  13312. "type": "number"
  13313. },
  13314. "todayoutqty": {
  13315. "description": "今日出库量(今出库量)",
  13316. "type": "number"
  13317. },
  13318. "todaysellamount": {
  13319. "description": "今日销售额(今销售额)",
  13320. "type": "number"
  13321. },
  13322. "todaysellaverageprice": {
  13323. "description": "今日销售均价",
  13324. "type": "number"
  13325. },
  13326. "todaysellqty": {
  13327. "description": "今日销售量(今销售量)",
  13328. "type": "number"
  13329. },
  13330. "unitid": {
  13331. "description": "品类单位id",
  13332. "type": "integer"
  13333. },
  13334. "unitidname": {
  13335. "description": "品类单位名称",
  13336. "type": "string"
  13337. },
  13338. "updatetime": {
  13339. "description": "更新时间",
  13340. "type": "string"
  13341. },
  13342. "wrfactortypeid": {
  13343. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13344. "type": "integer"
  13345. },
  13346. "wrstandardcode": {
  13347. "description": "品类代码",
  13348. "type": "string"
  13349. },
  13350. "wrstandardid": {
  13351. "description": "现货品类ID",
  13352. "type": "integer"
  13353. },
  13354. "wrstandardname": {
  13355. "description": "品类名称",
  13356. "type": "string"
  13357. }
  13358. }
  13359. },
  13360. "models.Ermcp3AreaStock": {
  13361. "type": "object",
  13362. "required": [
  13363. "userid"
  13364. ],
  13365. "properties": {
  13366. "brandname": {
  13367. "description": "品牌名称",
  13368. "type": "string"
  13369. },
  13370. "curstock": {
  13371. "description": "期末库存量(今日量)",
  13372. "type": "number"
  13373. },
  13374. "deliverygoodscode": {
  13375. "description": "现货品种代码",
  13376. "type": "string"
  13377. },
  13378. "deliverygoodsid": {
  13379. "description": "现货品种id",
  13380. "type": "integer"
  13381. },
  13382. "deliverygoodsname": {
  13383. "description": "现货品种名称",
  13384. "type": "string"
  13385. },
  13386. "enumdicname": {
  13387. "description": "单位名称",
  13388. "type": "string"
  13389. },
  13390. "goodsunitid": {
  13391. "description": "现货商品单位id",
  13392. "type": "integer"
  13393. },
  13394. "oristock": {
  13395. "description": "期初库存量(昨日量)",
  13396. "type": "number"
  13397. },
  13398. "spotgoodsbrandid": {
  13399. "description": "现货品牌ID",
  13400. "type": "integer"
  13401. },
  13402. "todaybuyinqty": {
  13403. "description": "今日采购入库量",
  13404. "type": "number"
  13405. },
  13406. "todayproduceinqty": {
  13407. "description": "今日生产入库量",
  13408. "type": "number"
  13409. },
  13410. "todayproduceoutqty": {
  13411. "description": "今日生产出库量",
  13412. "type": "number"
  13413. },
  13414. "todayselloutqty": {
  13415. "description": "今日销售出库量",
  13416. "type": "number"
  13417. },
  13418. "unitid": {
  13419. "description": "单位id",
  13420. "type": "integer"
  13421. },
  13422. "updatetime": {
  13423. "description": "更新时间",
  13424. "type": "string"
  13425. },
  13426. "userid": {
  13427. "description": "机构ID",
  13428. "type": "integer"
  13429. },
  13430. "username": {
  13431. "description": "机构名称",
  13432. "type": "string"
  13433. },
  13434. "warehousecode": {
  13435. "description": "仓库代码",
  13436. "type": "string"
  13437. },
  13438. "warehouseinfoid": {
  13439. "description": "仓库ID",
  13440. "type": "string"
  13441. },
  13442. "warehousename": {
  13443. "description": "仓库名称",
  13444. "type": "string"
  13445. },
  13446. "warehousetype": {
  13447. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13448. "type": "integer"
  13449. },
  13450. "wrstandardcode": {
  13451. "description": "品类代码",
  13452. "type": "string"
  13453. },
  13454. "wrstandardid": {
  13455. "description": "品类ID",
  13456. "type": "string"
  13457. },
  13458. "wrstandardname": {
  13459. "description": "品类名称",
  13460. "type": "string"
  13461. }
  13462. }
  13463. },
  13464. "models.Ermcp3AreaStockApply": {
  13465. "type": "object",
  13466. "properties": {
  13467. "applyid": {
  13468. "description": "申请人",
  13469. "type": "integer"
  13470. },
  13471. "applyname": {
  13472. "description": "申请人名称",
  13473. "type": "string"
  13474. },
  13475. "applyremark": {
  13476. "description": "申请备注",
  13477. "type": "string"
  13478. },
  13479. "applysrc": {
  13480. "description": "申请来源 - 1:管理端 2:终端",
  13481. "type": "integer"
  13482. },
  13483. "applystatus": {
  13484. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13485. "type": "integer"
  13486. },
  13487. "applytime": {
  13488. "description": "申请时间",
  13489. "type": "string"
  13490. },
  13491. "auditid": {
  13492. "description": "审核人",
  13493. "type": "integer"
  13494. },
  13495. "auditname": {
  13496. "description": "审核人名称",
  13497. "type": "string"
  13498. },
  13499. "auditremark": {
  13500. "description": "审核备注",
  13501. "type": "string"
  13502. },
  13503. "auditsrc": {
  13504. "description": "审核来源 - 1:管理端 2:终端",
  13505. "type": "integer"
  13506. },
  13507. "audittime": {
  13508. "description": "审核时间",
  13509. "type": "string"
  13510. },
  13511. "audittradedate": {
  13512. "description": "审核交易日(yyyyMMdd)",
  13513. "type": "string"
  13514. },
  13515. "brandname": {
  13516. "description": "品牌名称",
  13517. "type": "string"
  13518. },
  13519. "buynickname": {
  13520. "description": "采购方昵称",
  13521. "type": "string"
  13522. },
  13523. "buyuserid": {
  13524. "description": "采购方userid",
  13525. "type": "integer"
  13526. },
  13527. "buyusername": {
  13528. "description": "采购方名称",
  13529. "type": "string"
  13530. },
  13531. "contractno": {
  13532. "description": "合同编号",
  13533. "type": "string"
  13534. },
  13535. "contractqty": {
  13536. "description": "合同量",
  13537. "type": "number"
  13538. },
  13539. "contracttype": {
  13540. "description": "现货合同类型 - 1:采购 -1:销售",
  13541. "type": "integer"
  13542. },
  13543. "deliverygoodscode": {
  13544. "description": "现货品种代码",
  13545. "type": "string"
  13546. },
  13547. "deliverygoodsid": {
  13548. "description": "现货品种id",
  13549. "type": "integer"
  13550. },
  13551. "deliverygoodsname": {
  13552. "description": "现货品种名称",
  13553. "type": "string"
  13554. },
  13555. "detailjson": {
  13556. "description": "明细数据",
  13557. "type": "string"
  13558. },
  13559. "enumdicname": {
  13560. "description": "现货商品单位名称",
  13561. "type": "string"
  13562. },
  13563. "inoutapplyid": {
  13564. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13565. "type": "string"
  13566. },
  13567. "inouttype": {
  13568. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13569. "type": "integer"
  13570. },
  13571. "pricetype": {
  13572. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13573. "type": "integer"
  13574. },
  13575. "qty": {
  13576. "description": "数量",
  13577. "type": "number"
  13578. },
  13579. "sellnickname": {
  13580. "description": "销售方昵称",
  13581. "type": "string"
  13582. },
  13583. "selluserid": {
  13584. "description": "销售方userid",
  13585. "type": "integer"
  13586. },
  13587. "sellusername": {
  13588. "description": "销售方名称",
  13589. "type": "string"
  13590. },
  13591. "spotcontractid": {
  13592. "description": "关联现货合同ID",
  13593. "type": "string"
  13594. },
  13595. "spotgoodsbrandid": {
  13596. "description": "现货品牌ID",
  13597. "type": "integer"
  13598. },
  13599. "unitid": {
  13600. "description": "单位id",
  13601. "type": "integer"
  13602. },
  13603. "userid": {
  13604. "description": "机构ID",
  13605. "type": "integer"
  13606. },
  13607. "warehousecode": {
  13608. "description": "仓库代码",
  13609. "type": "string"
  13610. },
  13611. "warehouseinfoid": {
  13612. "description": "现货仓库ID",
  13613. "type": "string"
  13614. },
  13615. "warehousename": {
  13616. "description": "仓库名称",
  13617. "type": "string"
  13618. },
  13619. "warehousetype": {
  13620. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13621. "type": "integer"
  13622. },
  13623. "wrstandardcode": {
  13624. "description": "品类代码",
  13625. "type": "string"
  13626. },
  13627. "wrstandardid": {
  13628. "description": "品类ID",
  13629. "type": "integer"
  13630. },
  13631. "wrstandardname": {
  13632. "description": "品类名称",
  13633. "type": "string"
  13634. }
  13635. }
  13636. },
  13637. "models.Ermcp3AreaStockApplySum": {
  13638. "type": "object",
  13639. "properties": {
  13640. "brandname": {
  13641. "description": "品牌名称",
  13642. "type": "string"
  13643. },
  13644. "inouttype": {
  13645. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13646. "type": "integer"
  13647. },
  13648. "spotcontractid": {
  13649. "description": "关联现货合同ID",
  13650. "type": "string"
  13651. },
  13652. "spotgoodsbrandid": {
  13653. "description": "品牌id",
  13654. "type": "integer"
  13655. },
  13656. "totalqty": {
  13657. "description": "总数量",
  13658. "type": "number"
  13659. },
  13660. "wrstandardid": {
  13661. "description": "品类id",
  13662. "type": "integer"
  13663. },
  13664. "wrstandardname": {
  13665. "description": "品类名称",
  13666. "type": "string"
  13667. }
  13668. }
  13669. },
  13670. "models.Ermcp3AreaStockReportEx": {
  13671. "type": "object",
  13672. "properties": {
  13673. "begindate": {
  13674. "description": "开始交易日",
  13675. "type": "string"
  13676. },
  13677. "brandname": {
  13678. "description": "品牌名称",
  13679. "type": "string"
  13680. },
  13681. "curstock": {
  13682. "description": "期末库存量",
  13683. "type": "number"
  13684. },
  13685. "cycletime": {
  13686. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13687. "type": "string"
  13688. },
  13689. "cycletype": {
  13690. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13691. "type": "integer"
  13692. },
  13693. "deliverygoodscode": {
  13694. "description": "现货品种代码",
  13695. "type": "string"
  13696. },
  13697. "deliverygoodsid": {
  13698. "description": "现货品种id",
  13699. "type": "integer"
  13700. },
  13701. "deliverygoodsname": {
  13702. "description": "现货品种名称",
  13703. "type": "string"
  13704. },
  13705. "diffqty": {
  13706. "description": "库存变化量 = 期末 - 期初",
  13707. "type": "number"
  13708. },
  13709. "enddate": {
  13710. "description": "结束交易日",
  13711. "type": "string"
  13712. },
  13713. "enumdicname": {
  13714. "description": "单位名称",
  13715. "type": "string"
  13716. },
  13717. "goodsunitid": {
  13718. "description": "现货单位id",
  13719. "type": "integer"
  13720. },
  13721. "oristock": {
  13722. "description": "期初库存量",
  13723. "type": "number"
  13724. },
  13725. "reckondate": {
  13726. "description": "日照时期(yyyyMMdd)",
  13727. "type": "string"
  13728. },
  13729. "spotgoodsbrandid": {
  13730. "description": "现货品牌ID",
  13731. "type": "integer"
  13732. },
  13733. "todaybuyinqty": {
  13734. "description": "今采购入库量",
  13735. "type": "number"
  13736. },
  13737. "todayproduceinqty": {
  13738. "description": "今内部入库量",
  13739. "type": "number"
  13740. },
  13741. "todayproduceoutqty": {
  13742. "description": "今内部出库量",
  13743. "type": "number"
  13744. },
  13745. "todayselloutqty": {
  13746. "description": "今销售出库量",
  13747. "type": "number"
  13748. },
  13749. "unbuyinqty": {
  13750. "description": "采购未入库量(数据库未找到相关字段?)",
  13751. "type": "number"
  13752. },
  13753. "unitid": {
  13754. "description": "品类单位id",
  13755. "type": "integer"
  13756. },
  13757. "unselloutqty": {
  13758. "description": "销售未出库量(数据库未找到相关字段?)",
  13759. "type": "number"
  13760. },
  13761. "updatetime": {
  13762. "description": "更新时间",
  13763. "type": "string"
  13764. },
  13765. "userid": {
  13766. "description": "机构ID",
  13767. "type": "integer"
  13768. },
  13769. "username": {
  13770. "description": "机构名称",
  13771. "type": "string"
  13772. },
  13773. "warehousecode": {
  13774. "description": "仓库代码",
  13775. "type": "string"
  13776. },
  13777. "warehouseinfoid": {
  13778. "description": "仓库ID",
  13779. "type": "string"
  13780. },
  13781. "warehousename": {
  13782. "description": "仓库名称",
  13783. "type": "string"
  13784. },
  13785. "warehousetype": {
  13786. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13787. "type": "integer"
  13788. },
  13789. "wrstandardcode": {
  13790. "description": "品类代码",
  13791. "type": "string"
  13792. },
  13793. "wrstandardid": {
  13794. "description": "品类ID",
  13795. "type": "integer"
  13796. },
  13797. "wrstandardname": {
  13798. "description": "品类名称",
  13799. "type": "string"
  13800. }
  13801. }
  13802. },
  13803. "models.Ermcp3ArealSumPL": {
  13804. "type": "object",
  13805. "properties": {
  13806. "accountname": {
  13807. "description": "机构名称",
  13808. "type": "string"
  13809. },
  13810. "areauserid": {
  13811. "description": "所属机构\\交易用户ID",
  13812. "type": "integer"
  13813. },
  13814. "begindate": {
  13815. "description": "开始交易日",
  13816. "type": "string"
  13817. },
  13818. "currencyid": {
  13819. "description": "结算币种ID",
  13820. "type": "integer"
  13821. },
  13822. "currencyname": {
  13823. "description": "币种名称",
  13824. "type": "string"
  13825. },
  13826. "cycletime": {
  13827. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13828. "type": "string"
  13829. },
  13830. "cycletype": {
  13831. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13832. "type": "integer"
  13833. },
  13834. "enddate": {
  13835. "description": "结束交易日",
  13836. "type": "string"
  13837. },
  13838. "enumdicname": {
  13839. "description": "单位名称(套保品种)",
  13840. "type": "string"
  13841. },
  13842. "futureactualpl": {
  13843. "description": "期货损益",
  13844. "type": "number"
  13845. },
  13846. "futurefloatpl": {
  13847. "description": "期货浮动损益",
  13848. "type": "number"
  13849. },
  13850. "goodsunitid": {
  13851. "description": "套保品种单位id",
  13852. "type": "integer"
  13853. },
  13854. "middlegoodscode": {
  13855. "description": "套保品种代码",
  13856. "type": "string"
  13857. },
  13858. "middlegoodsid": {
  13859. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13860. "type": "integer"
  13861. },
  13862. "middlegoodsname": {
  13863. "description": "套保品种名称",
  13864. "type": "string"
  13865. },
  13866. "reckondate": {
  13867. "description": "日照时期(yyyyMMdd)",
  13868. "type": "string"
  13869. },
  13870. "spotactualpl": {
  13871. "description": "现货损益",
  13872. "type": "number"
  13873. },
  13874. "spotfloatpl": {
  13875. "description": "现货浮动损益",
  13876. "type": "number"
  13877. },
  13878. "sumactualpl": {
  13879. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13880. "type": "number"
  13881. },
  13882. "sumpl": {
  13883. "description": "汇总损益",
  13884. "type": "number"
  13885. },
  13886. "updatetime": {
  13887. "description": "更新时间",
  13888. "type": "string"
  13889. }
  13890. }
  13891. },
  13892. "models.Ermcp3Brand": {
  13893. "type": "object",
  13894. "properties": {
  13895. "areauserid": {
  13896. "description": "用户id",
  13897. "type": "integer"
  13898. },
  13899. "brandid": {
  13900. "description": "品牌id",
  13901. "type": "integer"
  13902. },
  13903. "brandname": {
  13904. "description": "品牌名称",
  13905. "type": "string"
  13906. },
  13907. "deliverygoodsid": {
  13908. "description": "品种ID",
  13909. "type": "integer"
  13910. }
  13911. }
  13912. },
  13913. "models.Ermcp3Contract": {
  13914. "type": "object",
  13915. "properties": {
  13916. "accountid": {
  13917. "description": "期货账户id",
  13918. "type": "string"
  13919. },
  13920. "amount": {
  13921. "description": "金额 [1:一口价、3:暂定价]",
  13922. "type": "number"
  13923. },
  13924. "attachment": {
  13925. "description": "附件",
  13926. "type": "string"
  13927. },
  13928. "auditremark": {
  13929. "description": "审核意见",
  13930. "type": "string"
  13931. },
  13932. "audittime": {
  13933. "description": "审核时间",
  13934. "type": "string"
  13935. },
  13936. "biztype": {
  13937. "description": "业务类型 1-套保 2-套利",
  13938. "type": "integer"
  13939. },
  13940. "brandname": {
  13941. "description": "品牌名称",
  13942. "type": "string"
  13943. },
  13944. "buynickname": {
  13945. "description": "销售方昵称",
  13946. "type": "string"
  13947. },
  13948. "buyuserid": {
  13949. "description": "采购方ID",
  13950. "type": "integer"
  13951. },
  13952. "buyusername": {
  13953. "description": "采购方名称",
  13954. "type": "string"
  13955. },
  13956. "contracctstatus": {
  13957. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13958. "type": "integer"
  13959. },
  13960. "contractmargin": {
  13961. "description": "合同保证金",
  13962. "type": "number"
  13963. },
  13964. "contractno": {
  13965. "description": "现货合同编号",
  13966. "type": "string"
  13967. },
  13968. "contracttype": {
  13969. "description": "现货合同类型 - 1:采购 -1:销售",
  13970. "type": "integer"
  13971. },
  13972. "convertfactor": {
  13973. "description": "标仓系数(品类)",
  13974. "type": "number"
  13975. },
  13976. "createtime": {
  13977. "description": "创建时间",
  13978. "type": "string"
  13979. },
  13980. "currencyid": {
  13981. "description": "币种id",
  13982. "type": "integer"
  13983. },
  13984. "currencyname": {
  13985. "description": "币种名称",
  13986. "type": "string"
  13987. },
  13988. "deliveryenddate": {
  13989. "description": "交收期(结束)",
  13990. "type": "string"
  13991. },
  13992. "deliverygoodscode": {
  13993. "description": "现货品种代码",
  13994. "type": "string"
  13995. },
  13996. "deliverygoodsid": {
  13997. "description": "现货品种ID",
  13998. "type": "integer"
  13999. },
  14000. "deliverygoodsname": {
  14001. "description": "现货品种名称",
  14002. "type": "string"
  14003. },
  14004. "deliverystartdate": {
  14005. "description": "交收期(开始)",
  14006. "type": "string"
  14007. },
  14008. "enddate": {
  14009. "description": "点价结束日期 [2:点价 3:暂定价]",
  14010. "type": "string"
  14011. },
  14012. "enumdicname": {
  14013. "description": "单位名称",
  14014. "type": "string"
  14015. },
  14016. "goodscode": {
  14017. "description": "点价合约代码",
  14018. "type": "string"
  14019. },
  14020. "goodsid": {
  14021. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14022. "type": "integer"
  14023. },
  14024. "goodsname": {
  14025. "description": "点价商品名称",
  14026. "type": "string"
  14027. },
  14028. "margin": {
  14029. "description": "当前保证金",
  14030. "type": "number"
  14031. },
  14032. "meruserid": {
  14033. "description": "跟单员id",
  14034. "type": "integer"
  14035. },
  14036. "meruserlogincode": {
  14037. "description": "跟单员登录代码",
  14038. "type": "string"
  14039. },
  14040. "price": {
  14041. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14042. "type": "number"
  14043. },
  14044. "pricemove": {
  14045. "description": "升贴水 [2:点价 3:暂定价]",
  14046. "type": "number"
  14047. },
  14048. "pricetype": {
  14049. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14050. "type": "integer"
  14051. },
  14052. "producttype": {
  14053. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14054. "type": "integer"
  14055. },
  14056. "qty": {
  14057. "description": "数量",
  14058. "type": "number"
  14059. },
  14060. "remark": {
  14061. "description": "备注",
  14062. "type": "string"
  14063. },
  14064. "saleuserid": {
  14065. "description": "业务员id",
  14066. "type": "integer"
  14067. },
  14068. "saleuserlogincode": {
  14069. "description": "业务员登录代码",
  14070. "type": "string"
  14071. },
  14072. "sellnickname": {
  14073. "description": "采购方昵称",
  14074. "type": "string"
  14075. },
  14076. "selluserid": {
  14077. "description": "销售方ID",
  14078. "type": "integer"
  14079. },
  14080. "sellusername": {
  14081. "description": "销售方名称",
  14082. "type": "string"
  14083. },
  14084. "spotcontractid": {
  14085. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14086. "type": "string"
  14087. },
  14088. "spotgoodsbrandid": {
  14089. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14090. "type": "integer"
  14091. },
  14092. "spotgoodsdesc": {
  14093. "description": "商品型号",
  14094. "type": "string"
  14095. },
  14096. "startdate": {
  14097. "description": "点价开始日期 [2:点价 3:暂定价]",
  14098. "type": "string"
  14099. },
  14100. "tradeuserid": {
  14101. "description": "交易员id",
  14102. "type": "integer"
  14103. },
  14104. "tradeuserlogincode": {
  14105. "description": "交易员登录代码",
  14106. "type": "string"
  14107. },
  14108. "tradeusername": {
  14109. "description": "交易员名称",
  14110. "type": "string"
  14111. },
  14112. "unitid": {
  14113. "description": "单位id(取品类上的单位id)",
  14114. "type": "integer"
  14115. },
  14116. "updatetime": {
  14117. "description": "更新时间",
  14118. "type": "string"
  14119. },
  14120. "userid": {
  14121. "description": "所属机构ID",
  14122. "type": "integer"
  14123. },
  14124. "wrstandardcode": {
  14125. "description": "品类代码",
  14126. "type": "string"
  14127. },
  14128. "wrstandardid": {
  14129. "description": "品类ID",
  14130. "type": "integer"
  14131. },
  14132. "wrstandardname": {
  14133. "description": "品类名称",
  14134. "type": "string"
  14135. }
  14136. }
  14137. },
  14138. "models.Ermcp3ExposureContractDetail": {
  14139. "type": "object",
  14140. "properties": {
  14141. "biztype": {
  14142. "description": "业务类型 1-套保 2-套利",
  14143. "type": "integer"
  14144. },
  14145. "brandname": {
  14146. "description": "品牌名称",
  14147. "type": "string"
  14148. },
  14149. "buyuserid": {
  14150. "description": "采购方id",
  14151. "type": "integer"
  14152. },
  14153. "buyusername": {
  14154. "description": "采购方名称",
  14155. "type": "string"
  14156. },
  14157. "contractno": {
  14158. "description": "合同编号",
  14159. "type": "string"
  14160. },
  14161. "contracttype": {
  14162. "description": "现货合同类型 - 1:采购 -1:销售",
  14163. "type": "integer"
  14164. },
  14165. "convertratio": {
  14166. "description": "折算系数(套保品种)",
  14167. "type": "number"
  14168. },
  14169. "curqty": {
  14170. "description": "今定价量",
  14171. "type": "number"
  14172. },
  14173. "deliverygoodscode": {
  14174. "description": "现货商品代码",
  14175. "type": "string"
  14176. },
  14177. "deliverygoodsid": {
  14178. "description": "现货商品id",
  14179. "type": "integer"
  14180. },
  14181. "deliverygoodsname": {
  14182. "description": "现货商品名称",
  14183. "type": "string"
  14184. },
  14185. "diffqty": {
  14186. "description": "套保品种今变动量",
  14187. "type": "number"
  14188. },
  14189. "enumdicname": {
  14190. "description": "单位名称",
  14191. "type": "string"
  14192. },
  14193. "middlegoodscode": {
  14194. "description": "套保品种代码",
  14195. "type": "string"
  14196. },
  14197. "middlegoodsid": {
  14198. "description": "套保品种id",
  14199. "type": "integer"
  14200. },
  14201. "middlegoodsname": {
  14202. "description": "套保品种名称",
  14203. "type": "string"
  14204. },
  14205. "needarbitrageratio": {
  14206. "description": "应套利比例",
  14207. "type": "number"
  14208. },
  14209. "needhedgeratio": {
  14210. "description": "应套保比例",
  14211. "type": "number"
  14212. },
  14213. "pricedqty": {
  14214. "description": "已定价量",
  14215. "type": "number"
  14216. },
  14217. "qty": {
  14218. "description": "合同量",
  14219. "type": "number"
  14220. },
  14221. "selluserid": {
  14222. "description": "销售方id",
  14223. "type": "integer"
  14224. },
  14225. "sellusername": {
  14226. "description": "销售方名称",
  14227. "type": "string"
  14228. },
  14229. "spotcontractid": {
  14230. "description": "合同id",
  14231. "type": "string"
  14232. },
  14233. "tradedate": {
  14234. "description": "交易日",
  14235. "type": "string"
  14236. },
  14237. "unitid": {
  14238. "description": "品类单位id",
  14239. "type": "integer"
  14240. },
  14241. "userid": {
  14242. "description": "机构id",
  14243. "type": "integer"
  14244. },
  14245. "wrstandardcode": {
  14246. "description": "品类代码",
  14247. "type": "string"
  14248. },
  14249. "wrstandardid": {
  14250. "description": "品类id",
  14251. "type": "integer"
  14252. },
  14253. "wrstandardname": {
  14254. "description": "品类名称",
  14255. "type": "string"
  14256. }
  14257. }
  14258. },
  14259. "models.Ermcp3ExposureDetail": {
  14260. "type": "object",
  14261. "properties": {
  14262. "areauserid": {
  14263. "description": "机构ID",
  14264. "type": "integer"
  14265. },
  14266. "changeQty": {
  14267. "description": "套保变动量",
  14268. "type": "number"
  14269. },
  14270. "contracttype": {
  14271. "description": "现货合同类型 - 1:采购 -1:销售",
  14272. "type": "integer"
  14273. },
  14274. "convertfactor": {
  14275. "description": "标仓系数",
  14276. "type": "number"
  14277. },
  14278. "convertratio": {
  14279. "description": "套保系数",
  14280. "type": "number"
  14281. },
  14282. "createtime": {
  14283. "description": "时间",
  14284. "type": "string"
  14285. },
  14286. "deliverygoodscode": {
  14287. "description": "现货品种代码",
  14288. "type": "string"
  14289. },
  14290. "deliverygoodsid": {
  14291. "description": "现货品种id",
  14292. "type": "integer"
  14293. },
  14294. "deliverygoodsname": {
  14295. "description": "现货品种名称",
  14296. "type": "string"
  14297. },
  14298. "enumdicname": {
  14299. "description": "现货商品单位名称",
  14300. "type": "string"
  14301. },
  14302. "logtype": {
  14303. "description": "类型 - 1:套保计划 2:现货合同",
  14304. "type": "integer"
  14305. },
  14306. "mgunitid": {
  14307. "description": "套保品种单位id",
  14308. "type": "integer"
  14309. },
  14310. "mgunitidname": {
  14311. "description": "套保品种单位名称",
  14312. "type": "string"
  14313. },
  14314. "middlegoodsId": {
  14315. "description": "套保商品id",
  14316. "type": "integer"
  14317. },
  14318. "middlegoodscode": {
  14319. "description": "套保商品代码",
  14320. "type": "string"
  14321. },
  14322. "middlegoodsname": {
  14323. "description": "套保商品名称",
  14324. "type": "string"
  14325. },
  14326. "qty": {
  14327. "description": "数量",
  14328. "type": "number"
  14329. },
  14330. "relateNo": {
  14331. "description": "现货合同/套保计划编号",
  14332. "type": "string"
  14333. }
  14334. }
  14335. },
  14336. "models.Ermcp3ExposureHedgeplanDetail": {
  14337. "type": "object",
  14338. "properties": {
  14339. "biztype": {
  14340. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  14341. "type": "integer"
  14342. },
  14343. "changqty": {
  14344. "description": "应套保总量变化量",
  14345. "type": "number"
  14346. },
  14347. "contracttype": {
  14348. "description": "计划类型 - 1:采购 -1:销售",
  14349. "type": "integer"
  14350. },
  14351. "convertratio": {
  14352. "description": "折算系数(套保品种)",
  14353. "type": "number"
  14354. },
  14355. "deliverygoodscode": {
  14356. "description": "现货商品代码",
  14357. "type": "string"
  14358. },
  14359. "deliverygoodsid": {
  14360. "description": "现货商品id",
  14361. "type": "integer"
  14362. },
  14363. "deliverygoodsname": {
  14364. "description": "现货商吕名称",
  14365. "type": "string"
  14366. },
  14367. "dgunitid": {
  14368. "description": "现货商品单位id",
  14369. "type": "integer"
  14370. },
  14371. "dgunitidname": {
  14372. "description": "单位名称(现货商品)",
  14373. "type": "string"
  14374. },
  14375. "diffqty": {
  14376. "description": "套保品种今变动量",
  14377. "type": "number"
  14378. },
  14379. "enumdicname": {
  14380. "description": "单位名称(品类)",
  14381. "type": "string"
  14382. },
  14383. "hedgeplanid": {
  14384. "description": "套保计划id",
  14385. "type": "string"
  14386. },
  14387. "hedgeplanno": {
  14388. "description": "套保计划编号",
  14389. "type": "string"
  14390. },
  14391. "hedgeplanstatus": {
  14392. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14393. "type": "integer"
  14394. },
  14395. "mgunitidname": {
  14396. "description": "单位名称(套保商品)",
  14397. "type": "string"
  14398. },
  14399. "middlegoodscode": {
  14400. "description": "套保品种代码",
  14401. "type": "string"
  14402. },
  14403. "middlegoodsid": {
  14404. "description": "套保品种id",
  14405. "type": "integer"
  14406. },
  14407. "middlegoodsname": {
  14408. "description": "套保品种名称",
  14409. "type": "string"
  14410. },
  14411. "needarbitrageratio": {
  14412. "description": "应套利比例",
  14413. "type": "number"
  14414. },
  14415. "needhedgeratio": {
  14416. "description": "应套保比例",
  14417. "type": "number"
  14418. },
  14419. "pricedqty": {
  14420. "description": "已定价量",
  14421. "type": "number"
  14422. },
  14423. "qty": {
  14424. "description": "合同量",
  14425. "type": "number"
  14426. },
  14427. "tradedate": {
  14428. "description": "交易日(登记日)",
  14429. "type": "string"
  14430. },
  14431. "unitid": {
  14432. "description": "品类单位id",
  14433. "type": "integer"
  14434. },
  14435. "userid": {
  14436. "description": "机构id",
  14437. "type": "integer"
  14438. },
  14439. "wrstandardcode": {
  14440. "description": "品类代码",
  14441. "type": "string"
  14442. },
  14443. "wrstandardid": {
  14444. "description": "品类id",
  14445. "type": "integer"
  14446. },
  14447. "wrstandardname": {
  14448. "description": "品类名称",
  14449. "type": "string"
  14450. }
  14451. }
  14452. },
  14453. "models.Ermcp3ExpourseReport": {
  14454. "type": "object",
  14455. "properties": {
  14456. "accountid": {
  14457. "description": "期货账户ID (作废, 默认为0)",
  14458. "type": "integer"
  14459. },
  14460. "accountname": {
  14461. "description": "机构名称",
  14462. "type": "string"
  14463. },
  14464. "arbitrageqty": {
  14465. "description": "套利量",
  14466. "type": "number"
  14467. },
  14468. "areauserid": {
  14469. "description": "所属机构\\交易用户ID",
  14470. "type": "integer"
  14471. },
  14472. "begindate": {
  14473. "description": "开始交易日",
  14474. "type": "string"
  14475. },
  14476. "buyfutureqty": {
  14477. "description": "买入期货数量",
  14478. "type": "number"
  14479. },
  14480. "buyplanqty": {
  14481. "description": "采购计划数量",
  14482. "type": "number"
  14483. },
  14484. "buypricedqty": {
  14485. "description": "采购合同已定价数量",
  14486. "type": "number"
  14487. },
  14488. "cycletime": {
  14489. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14490. "type": "string"
  14491. },
  14492. "cycletype": {
  14493. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14494. "type": "integer"
  14495. },
  14496. "diffexposure": {
  14497. "description": "变动量(套保敞口)",
  14498. "type": "number"
  14499. },
  14500. "difffutuqty": {
  14501. "description": "变动量(期货)",
  14502. "type": "number"
  14503. },
  14504. "diffhedgeqty": {
  14505. "description": "变动量(现货应套保总量)",
  14506. "type": "number"
  14507. },
  14508. "diffmgqtya": {
  14509. "description": "套保变动量",
  14510. "type": "number"
  14511. },
  14512. "diffmgqtyb": {
  14513. "description": "套利变动量",
  14514. "type": "number"
  14515. },
  14516. "diffqty": {
  14517. "description": "变动量(总敞口)",
  14518. "type": "number"
  14519. },
  14520. "diffspotqty": {
  14521. "description": "变动量(现货)",
  14522. "type": "number"
  14523. },
  14524. "enddate": {
  14525. "description": "结束交易日",
  14526. "type": "string"
  14527. },
  14528. "enumdicname": {
  14529. "description": "单位名称",
  14530. "type": "string"
  14531. },
  14532. "hedgeqty": {
  14533. "description": "套保量",
  14534. "type": "number"
  14535. },
  14536. "mgneedhedgeratio": {
  14537. "description": "套保比例(套保品的)",
  14538. "type": "number"
  14539. },
  14540. "middlegoodsid": {
  14541. "description": "套保品种ID",
  14542. "type": "integer"
  14543. },
  14544. "middlegoodsname": {
  14545. "description": "套保商品名称",
  14546. "type": "string"
  14547. },
  14548. "middlgoodscode": {
  14549. "description": "套保商品代码",
  14550. "type": "string"
  14551. },
  14552. "needarbitrageqty": {
  14553. "description": "应套利量",
  14554. "type": "number"
  14555. },
  14556. "needarbitrageratio": {
  14557. "description": "套利比例(套保品的)",
  14558. "type": "number"
  14559. },
  14560. "needhedgeexposoure": {
  14561. "description": "应套保敞口(套保敞口)",
  14562. "type": "number"
  14563. },
  14564. "needhedgeqty": {
  14565. "description": "应套保量",
  14566. "type": "number"
  14567. },
  14568. "needhedgeratio": {
  14569. "description": "应套保敞口比例",
  14570. "type": "number"
  14571. },
  14572. "oriarbitrageqty": {
  14573. "description": "期初套利量",
  14574. "type": "number"
  14575. },
  14576. "oribuyfutureqty": {
  14577. "description": "期初买入期货数量",
  14578. "type": "number"
  14579. },
  14580. "oribuyplanqty": {
  14581. "description": "期初采购计划数量",
  14582. "type": "number"
  14583. },
  14584. "oribuypricedqty": {
  14585. "description": "期初采购合同已定价数量",
  14586. "type": "number"
  14587. },
  14588. "orihedgeqty": {
  14589. "description": "期初套保量",
  14590. "type": "number"
  14591. },
  14592. "orineedarbitrageqty": {
  14593. "description": "期初应套利量",
  14594. "type": "number"
  14595. },
  14596. "orineedhedgeexposoure": {
  14597. "description": "期初应套保敞口",
  14598. "type": "number"
  14599. },
  14600. "orineedhedgeqty": {
  14601. "description": "期初应套保量",
  14602. "type": "number"
  14603. },
  14604. "orisellfutureqty": {
  14605. "description": "期初卖出期货数量",
  14606. "type": "number"
  14607. },
  14608. "orisellplanqty": {
  14609. "description": "期初销售计划数量",
  14610. "type": "number"
  14611. },
  14612. "orisellpricedqty": {
  14613. "description": "期初销售合同已定价数量",
  14614. "type": "number"
  14615. },
  14616. "oritotalexposure": {
  14617. "description": "期初实时总敞口",
  14618. "type": "number"
  14619. },
  14620. "oritotalfutureqty": {
  14621. "description": "期初期货头寸总量",
  14622. "type": "number"
  14623. },
  14624. "oritotalneedhedgeqty": {
  14625. "description": "期初应套保总量",
  14626. "type": "number"
  14627. },
  14628. "oritotalspotqty": {
  14629. "description": "期初现货头寸总量",
  14630. "type": "number"
  14631. },
  14632. "reckondate": {
  14633. "description": "日照时期(yyyyMMdd)",
  14634. "type": "string"
  14635. },
  14636. "sellfutureqty": {
  14637. "description": "卖出期货数量",
  14638. "type": "number"
  14639. },
  14640. "sellplanqty": {
  14641. "description": "销售计划数量",
  14642. "type": "number"
  14643. },
  14644. "sellpricedqty": {
  14645. "description": "销售合同已定价数量",
  14646. "type": "number"
  14647. },
  14648. "totalexposure": {
  14649. "description": "实时总敞口(总敞口)",
  14650. "type": "number"
  14651. },
  14652. "totalfutureqty": {
  14653. "description": "期货头寸总量(期货总量)",
  14654. "type": "number"
  14655. },
  14656. "totalhedgeratio": {
  14657. "description": "敞口比例",
  14658. "type": "number"
  14659. },
  14660. "totalneedhedgeqty": {
  14661. "description": "应套保总量(现货应套保总量)",
  14662. "type": "number"
  14663. },
  14664. "totalspotqty": {
  14665. "description": "现货头寸总量",
  14666. "type": "number"
  14667. },
  14668. "unitid": {
  14669. "description": "单位id",
  14670. "type": "integer"
  14671. },
  14672. "updatetime": {
  14673. "description": "更新时间",
  14674. "type": "string"
  14675. }
  14676. }
  14677. },
  14678. "models.Ermcp3FinanceReport": {
  14679. "type": "object",
  14680. "properties": {
  14681. "accountname": {
  14682. "description": "机构名称",
  14683. "type": "string"
  14684. },
  14685. "areauserid": {
  14686. "description": "所属机构\\交易用户ID",
  14687. "type": "integer"
  14688. },
  14689. "begindate": {
  14690. "description": "开始交易日",
  14691. "type": "string"
  14692. },
  14693. "biztype": {
  14694. "description": "业务类型 - 1:套保 2:套利",
  14695. "type": "integer"
  14696. },
  14697. "brandname": {
  14698. "description": "品牌名称",
  14699. "type": "string"
  14700. },
  14701. "buypreinvoicedamount": {
  14702. "description": "采购预收票额(预收票额)",
  14703. "type": "number"
  14704. },
  14705. "buyprepaidamount": {
  14706. "description": "采购预付款额(预付货款额)",
  14707. "type": "number"
  14708. },
  14709. "buytodayinvoiceamount": {
  14710. "description": "采购今收票额(今收票额)",
  14711. "type": "number"
  14712. },
  14713. "buytodayrefundamount": {
  14714. "description": "采购今收退款额(今收退款额)",
  14715. "type": "number"
  14716. },
  14717. "buytodaysettleamount": {
  14718. "description": "采购今付款额(今付货款额)",
  14719. "type": "number"
  14720. },
  14721. "buyuninvoicedamount": {
  14722. "description": "采购应收票额(应收票额)",
  14723. "type": "number"
  14724. },
  14725. "buyunpaidamount": {
  14726. "description": "采购应付款额(应付货款额)",
  14727. "type": "number"
  14728. },
  14729. "currencyid": {
  14730. "description": "结算币种ID",
  14731. "type": "integer"
  14732. },
  14733. "currencyname": {
  14734. "description": "币种名称",
  14735. "type": "string"
  14736. },
  14737. "cycletime": {
  14738. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14739. "type": "string"
  14740. },
  14741. "cycletype": {
  14742. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14743. "type": "integer"
  14744. },
  14745. "deliverygoodscode": {
  14746. "description": "现货品种代码",
  14747. "type": "string"
  14748. },
  14749. "deliverygoodsid": {
  14750. "description": "现货品种ID",
  14751. "type": "integer"
  14752. },
  14753. "deliverygoodsname": {
  14754. "description": "现货品种名称",
  14755. "type": "string"
  14756. },
  14757. "enddate": {
  14758. "description": "结束交易日",
  14759. "type": "string"
  14760. },
  14761. "reckondate": {
  14762. "description": "日照时期(yyyyMMdd)",
  14763. "type": "string"
  14764. },
  14765. "sellpreinvoicedamount": {
  14766. "description": "销售预开票额(预开票额)",
  14767. "type": "number"
  14768. },
  14769. "sellprepaidamount": {
  14770. "description": "销售预收款额(预收货款额)",
  14771. "type": "number"
  14772. },
  14773. "selltodayinvoiceamount": {
  14774. "description": "销售今开票额(今开票额)",
  14775. "type": "number"
  14776. },
  14777. "selltodayrefundamount": {
  14778. "description": "销售今付退款额(今付退款额)",
  14779. "type": "number"
  14780. },
  14781. "selltodaysettleamount": {
  14782. "description": "销售今收款额(今收货款额)",
  14783. "type": "number"
  14784. },
  14785. "selluninvoicedamount": {
  14786. "description": "销售应开票额(应开票额)",
  14787. "type": "number"
  14788. },
  14789. "sellunpaidamount": {
  14790. "description": "销售应收款额(应收货款额)",
  14791. "type": "number"
  14792. },
  14793. "spotgoodsbrandid": {
  14794. "description": "现货品牌ID",
  14795. "type": "integer"
  14796. },
  14797. "todaypaysum": {
  14798. "description": "今付款合计",
  14799. "type": "number"
  14800. },
  14801. "todayreceivesum": {
  14802. "description": "今收款合计",
  14803. "type": "number"
  14804. },
  14805. "updatetime": {
  14806. "description": "更新时间",
  14807. "type": "string"
  14808. },
  14809. "wrfactortypeid": {
  14810. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14811. "type": "integer"
  14812. },
  14813. "wrstandardcode": {
  14814. "description": "品类代码",
  14815. "type": "string"
  14816. },
  14817. "wrstandardid": {
  14818. "description": "现货商品ID",
  14819. "type": "integer"
  14820. },
  14821. "wrstandardname": {
  14822. "description": "品类名称",
  14823. "type": "string"
  14824. }
  14825. }
  14826. },
  14827. "models.Ermcp3Goods": {
  14828. "type": "object",
  14829. "properties": {
  14830. "agreeunit": {
  14831. "description": "合约单位(合约乘数)",
  14832. "type": "number"
  14833. },
  14834. "enumdicname": {
  14835. "description": "单位名称",
  14836. "type": "string"
  14837. },
  14838. "exexchangecode": {
  14839. "description": "交易所代码",
  14840. "type": "string"
  14841. },
  14842. "goodscode": {
  14843. "description": "期货商品代码",
  14844. "type": "string"
  14845. },
  14846. "goodsid": {
  14847. "description": "期货商品id",
  14848. "type": "integer"
  14849. },
  14850. "goodsname": {
  14851. "description": "期货商品名称",
  14852. "type": "string"
  14853. }
  14854. }
  14855. },
  14856. "models.Ermcp3GoodsGroup": {
  14857. "type": "object",
  14858. "required": [
  14859. "areauserid"
  14860. ],
  14861. "properties": {
  14862. "agreeunit": {
  14863. "description": "合约单位",
  14864. "type": "number"
  14865. },
  14866. "areauserid": {
  14867. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14868. "type": "integer"
  14869. },
  14870. "canshort": {
  14871. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14872. "type": "integer"
  14873. },
  14874. "closepricemode": {
  14875. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14876. "type": "integer"
  14877. },
  14878. "createtime": {
  14879. "description": "创建时间",
  14880. "type": "string"
  14881. },
  14882. "creatorid": {
  14883. "description": "创建人",
  14884. "type": "integer"
  14885. },
  14886. "currencyid": {
  14887. "description": "报价货币ID",
  14888. "type": "integer"
  14889. },
  14890. "decimalplace": {
  14891. "description": "报价小数位",
  14892. "type": "integer"
  14893. },
  14894. "enumdicname": {
  14895. "description": "单位名称",
  14896. "type": "string"
  14897. },
  14898. "excludecfg": {
  14899. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14900. "type": "integer"
  14901. },
  14902. "exexchangeid": {
  14903. "description": "外部交易所ID[通道交易]",
  14904. "type": "integer"
  14905. },
  14906. "goodsgroupid": {
  14907. "description": "商品组ID(自增ID)",
  14908. "type": "integer"
  14909. },
  14910. "goodsgroupname": {
  14911. "description": "商品组名称",
  14912. "type": "string"
  14913. },
  14914. "goodsgroupstatus": {
  14915. "description": "商品组状态 - 1:正常 2:注销",
  14916. "type": "integer"
  14917. },
  14918. "goodunitid": {
  14919. "description": "报价单位ID",
  14920. "type": "integer"
  14921. },
  14922. "groupcategroyid": {
  14923. "description": "品种分类ID",
  14924. "type": "integer"
  14925. },
  14926. "innerdealmode": {
  14927. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14928. "type": "integer"
  14929. },
  14930. "marketid": {
  14931. "description": "所属市场ID",
  14932. "type": "integer"
  14933. },
  14934. "modifierid": {
  14935. "description": "修改人",
  14936. "type": "integer"
  14937. },
  14938. "modifytime": {
  14939. "description": "修改时间",
  14940. "type": "string"
  14941. },
  14942. "outerdealmode": {
  14943. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14944. "type": "integer"
  14945. },
  14946. "outergroupcode": {
  14947. "description": "外部商品组代码[通道交易]",
  14948. "type": "string"
  14949. },
  14950. "quoteminunit": {
  14951. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14952. "type": "integer"
  14953. },
  14954. "quotesourcegroupid": {
  14955. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14956. "type": "integer"
  14957. },
  14958. "syncgoodsqty": {
  14959. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14960. "type": "integer"
  14961. }
  14962. }
  14963. },
  14964. "models.Ermcp3GoodsGroupEx": {
  14965. "type": "object",
  14966. "properties": {
  14967. "convertratio": {
  14968. "description": "折算系数(品种系数)",
  14969. "type": "number"
  14970. },
  14971. "enumdicname": {
  14972. "description": "单位名称",
  14973. "type": "string"
  14974. },
  14975. "exexchangecode": {
  14976. "description": "交易所代码",
  14977. "type": "string"
  14978. },
  14979. "glist": {
  14980. "description": "合约列表",
  14981. "type": "array",
  14982. "items": {
  14983. "$ref": "#/definitions/models.Ermcp3Goods"
  14984. }
  14985. },
  14986. "goodsgroupid": {
  14987. "description": "商品组id",
  14988. "type": "integer"
  14989. },
  14990. "goodsgroupname": {
  14991. "description": "商品组名称",
  14992. "type": "string"
  14993. },
  14994. "goodsunitid": {
  14995. "description": "单位id",
  14996. "type": "integer"
  14997. },
  14998. "middlegoodsid": {
  14999. "description": "套保商品id",
  15000. "type": "integer"
  15001. }
  15002. }
  15003. },
  15004. "models.Ermcp3HedgePlan": {
  15005. "type": "object",
  15006. "properties": {
  15007. "accountid": {
  15008. "description": "资金账号",
  15009. "type": "integer"
  15010. },
  15011. "areauserid": {
  15012. "description": "用户ID",
  15013. "type": "integer"
  15014. },
  15015. "audittime": {
  15016. "description": "审核时间",
  15017. "type": "string"
  15018. },
  15019. "contracttype": {
  15020. "description": "计划类型 - 1:采购 -1:销售",
  15021. "type": "integer"
  15022. },
  15023. "convertfactor": {
  15024. "description": "标仓系数",
  15025. "type": "number"
  15026. },
  15027. "createtime": {
  15028. "description": "创建时间",
  15029. "type": "string"
  15030. },
  15031. "currencyid": {
  15032. "description": "币种id",
  15033. "type": "integer"
  15034. },
  15035. "currencyname": {
  15036. "description": "币种名称",
  15037. "type": "string"
  15038. },
  15039. "deliverygoodscode": {
  15040. "description": "现货品种代码",
  15041. "type": "string"
  15042. },
  15043. "deliverygoodsid": {
  15044. "description": "现货品种ID",
  15045. "type": "integer"
  15046. },
  15047. "deliverygoodsname": {
  15048. "description": "现货品种名称",
  15049. "type": "string"
  15050. },
  15051. "enumdicname": {
  15052. "description": "单位名称(现货商品)",
  15053. "type": "string"
  15054. },
  15055. "hedgeplanid": {
  15056. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15057. "type": "string"
  15058. },
  15059. "hedgeplanno": {
  15060. "description": "套保计划编号(名称)",
  15061. "type": "string"
  15062. },
  15063. "hedgeplanstatus": {
  15064. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15065. "type": "integer"
  15066. },
  15067. "planqty": {
  15068. "description": "计划数量",
  15069. "type": "number"
  15070. },
  15071. "plantime": {
  15072. "description": "计划时间",
  15073. "type": "string"
  15074. },
  15075. "producttype": {
  15076. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15077. "type": "integer"
  15078. },
  15079. "remark": {
  15080. "description": "备注",
  15081. "type": "string"
  15082. },
  15083. "spotgoodsdesc": {
  15084. "description": "商品型号",
  15085. "type": "string"
  15086. },
  15087. "taaccountname": {
  15088. "description": "资金账号名称",
  15089. "type": "string"
  15090. },
  15091. "tradeuserid": {
  15092. "description": "交易用户id",
  15093. "type": "integer"
  15094. },
  15095. "tradeusername": {
  15096. "description": "交易用户名称",
  15097. "type": "string"
  15098. },
  15099. "unitid": {
  15100. "description": "单位id(现货商品)",
  15101. "type": "integer"
  15102. },
  15103. "updatetime": {
  15104. "description": "更新时间",
  15105. "type": "string"
  15106. },
  15107. "wrstandardcode": {
  15108. "description": "品类代码",
  15109. "type": "string"
  15110. },
  15111. "wrstandardid": {
  15112. "description": "品类id",
  15113. "type": "integer"
  15114. },
  15115. "wrstandardname": {
  15116. "description": "品类名称",
  15117. "type": "string"
  15118. },
  15119. "wrunitid": {
  15120. "description": "品类单位id",
  15121. "type": "integer"
  15122. },
  15123. "wrunitidame": {
  15124. "description": "品类单位名称",
  15125. "type": "string"
  15126. }
  15127. }
  15128. },
  15129. "models.Ermcp3MiddleGoodsDetail2": {
  15130. "type": "object",
  15131. "properties": {
  15132. "convertratio": {
  15133. "description": "套保系数(折算系数)",
  15134. "type": "number"
  15135. },
  15136. "gplist": {
  15137. "description": "关联商品组列表",
  15138. "type": "array",
  15139. "items": {
  15140. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15141. }
  15142. },
  15143. "mg": {
  15144. "description": "套保商品信息",
  15145. "type": "object",
  15146. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15147. }
  15148. }
  15149. },
  15150. "models.Ermcp3MiddleGoodsDetailEx": {
  15151. "type": "object",
  15152. "properties": {
  15153. "dglist": {
  15154. "description": "关联的现货品种列表",
  15155. "type": "array",
  15156. "items": {
  15157. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15158. }
  15159. },
  15160. "gplist": {
  15161. "description": "关联商品组列表",
  15162. "type": "array",
  15163. "items": {
  15164. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15165. }
  15166. },
  15167. "mg": {
  15168. "description": "套保商品信息",
  15169. "type": "object",
  15170. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15171. }
  15172. }
  15173. },
  15174. "models.Ermcp3SellBuyContract": {
  15175. "type": "object",
  15176. "properties": {
  15177. "accountid": {
  15178. "description": "期货账户id",
  15179. "type": "string"
  15180. },
  15181. "accountname": {
  15182. "description": "账户名称",
  15183. "type": "string"
  15184. },
  15185. "attachment": {
  15186. "description": "附件",
  15187. "type": "string"
  15188. },
  15189. "audittime": {
  15190. "description": "审核时间",
  15191. "type": "string"
  15192. },
  15193. "biztype": {
  15194. "description": "业务类型 1-套保 2-套利",
  15195. "type": "integer"
  15196. },
  15197. "brandname": {
  15198. "description": "品牌名称",
  15199. "type": "string"
  15200. },
  15201. "contracctstatus": {
  15202. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15203. "type": "integer"
  15204. },
  15205. "contractmargin": {
  15206. "description": "合同保证金",
  15207. "type": "number"
  15208. },
  15209. "contractno": {
  15210. "description": "合同编号",
  15211. "type": "string"
  15212. },
  15213. "contracttype": {
  15214. "description": "合同类型 1-采购, -1-销售",
  15215. "type": "integer"
  15216. },
  15217. "convertfactor": {
  15218. "description": "标仓系数(品类)",
  15219. "type": "number"
  15220. },
  15221. "createtime": {
  15222. "description": "创建时间",
  15223. "type": "string"
  15224. },
  15225. "currencyid": {
  15226. "description": "币种id",
  15227. "type": "integer"
  15228. },
  15229. "currencyname": {
  15230. "description": "币种名称",
  15231. "type": "string"
  15232. },
  15233. "daikaiamount": {
  15234. "description": "应收(开)票额",
  15235. "type": "number"
  15236. },
  15237. "deliveryenddate": {
  15238. "description": "交割结束日",
  15239. "type": "string"
  15240. },
  15241. "deliverygoodscode": {
  15242. "description": "现货品种代码",
  15243. "type": "string"
  15244. },
  15245. "deliverygoodsid": {
  15246. "description": "现货商品ID",
  15247. "type": "integer"
  15248. },
  15249. "deliverygoodsname": {
  15250. "description": "现货品种名称",
  15251. "type": "string"
  15252. },
  15253. "deliverystartdate": {
  15254. "description": "交割开始日",
  15255. "type": "string"
  15256. },
  15257. "enddate": {
  15258. "description": "点价结束日",
  15259. "type": "string"
  15260. },
  15261. "enumdicname": {
  15262. "description": "单位名称",
  15263. "type": "string"
  15264. },
  15265. "goodscode": {
  15266. "description": "点价商品代码",
  15267. "type": "string"
  15268. },
  15269. "goodsid": {
  15270. "description": "点价商品ID",
  15271. "type": "integer"
  15272. },
  15273. "goodsname": {
  15274. "description": "点价商品名称",
  15275. "type": "string"
  15276. },
  15277. "invoiceamount": {
  15278. "description": "已开票额",
  15279. "type": "number"
  15280. },
  15281. "loanamount": {
  15282. "description": "贷款总额=已定价额+调整金额",
  15283. "type": "number"
  15284. },
  15285. "margin": {
  15286. "description": "保证金",
  15287. "type": "number"
  15288. },
  15289. "meruserid": {
  15290. "description": "跟单员id",
  15291. "type": "integer"
  15292. },
  15293. "meruserlogincode": {
  15294. "description": "跟单员登录代码",
  15295. "type": "string"
  15296. },
  15297. "nickname": {
  15298. "description": "账户昵称",
  15299. "type": "string"
  15300. },
  15301. "payamount": {
  15302. "description": "已收付额(收款或付款)",
  15303. "type": "number"
  15304. },
  15305. "preinvoiceamount": {
  15306. "description": "预收(开)票额",
  15307. "type": "number"
  15308. },
  15309. "prepayamount": {
  15310. "description": "预收付额",
  15311. "type": "number"
  15312. },
  15313. "price": {
  15314. "description": "价格",
  15315. "type": "number"
  15316. },
  15317. "pricedamount": {
  15318. "description": "已定价额",
  15319. "type": "number"
  15320. },
  15321. "pricedavg": {
  15322. "description": "已点均价",
  15323. "type": "number"
  15324. },
  15325. "pricedqty": {
  15326. "description": "已定价量",
  15327. "type": "number"
  15328. },
  15329. "pricemove": {
  15330. "description": "升贴水",
  15331. "type": "number"
  15332. },
  15333. "pricetype": {
  15334. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15335. "type": "integer"
  15336. },
  15337. "producttype": {
  15338. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15339. "type": "integer"
  15340. },
  15341. "qty": {
  15342. "description": "合同量",
  15343. "type": "number"
  15344. },
  15345. "reckonadjustamount": {
  15346. "description": "调整金额",
  15347. "type": "number"
  15348. },
  15349. "reckonedamount": {
  15350. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15351. "type": "number"
  15352. },
  15353. "reckonotheramount": {
  15354. "description": "其它费用",
  15355. "type": "number"
  15356. },
  15357. "reckonrealqty": {
  15358. "description": "已确定量",
  15359. "type": "number"
  15360. },
  15361. "remark": {
  15362. "description": "备注",
  15363. "type": "string"
  15364. },
  15365. "saleuserid": {
  15366. "description": "业务员id",
  15367. "type": "integer"
  15368. },
  15369. "saleuserlogincode": {
  15370. "description": "业务员登录代码",
  15371. "type": "string"
  15372. },
  15373. "spotcontractid": {
  15374. "description": "合同ID",
  15375. "type": "string"
  15376. },
  15377. "spotgoodsbrandid": {
  15378. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15379. "type": "integer"
  15380. },
  15381. "spotgoodsdesc": {
  15382. "description": "商品型号(商品规格)",
  15383. "type": "string"
  15384. },
  15385. "startdate": {
  15386. "description": "点价开始日",
  15387. "type": "string"
  15388. },
  15389. "totalamount": {
  15390. "description": "合计总额",
  15391. "type": "number"
  15392. },
  15393. "tradeuserid": {
  15394. "description": "交易员id",
  15395. "type": "integer"
  15396. },
  15397. "tradeuserlogincode": {
  15398. "description": "交易员登录代码",
  15399. "type": "string"
  15400. },
  15401. "tradeusername": {
  15402. "description": "交易员名称",
  15403. "type": "string"
  15404. },
  15405. "unpayamount": {
  15406. "description": "应收付款额(应支付或应收款)",
  15407. "type": "number"
  15408. },
  15409. "unpricedqty": {
  15410. "description": "未定价量",
  15411. "type": "number"
  15412. },
  15413. "unsureqty": {
  15414. "description": "未确定量",
  15415. "type": "number"
  15416. },
  15417. "userid": {
  15418. "description": "机构ID",
  15419. "type": "integer"
  15420. },
  15421. "wrstandardcode": {
  15422. "description": "品类代码",
  15423. "type": "string"
  15424. },
  15425. "wrstandardid": {
  15426. "description": "品类ID",
  15427. "type": "integer"
  15428. },
  15429. "wrstandardname": {
  15430. "description": "品类名称",
  15431. "type": "string"
  15432. }
  15433. }
  15434. },
  15435. "models.Ermcp3SpotGoodsPrice": {
  15436. "type": "object",
  15437. "properties": {
  15438. "areauserid": {
  15439. "description": "所属机构id",
  15440. "type": "integer"
  15441. },
  15442. "brandname": {
  15443. "description": "品牌名称",
  15444. "type": "string"
  15445. },
  15446. "currencyid": {
  15447. "description": "报价货币ID",
  15448. "type": "integer"
  15449. },
  15450. "currencyname": {
  15451. "description": "币种名称",
  15452. "type": "string"
  15453. },
  15454. "deliverygoodscode": {
  15455. "description": "现货商品代码",
  15456. "type": "string"
  15457. },
  15458. "deliverygoodsid": {
  15459. "description": "现货商品id",
  15460. "type": "integer"
  15461. },
  15462. "deliverygoodsname": {
  15463. "description": "现货商品名称",
  15464. "type": "string"
  15465. },
  15466. "enumdicname": {
  15467. "description": "现货商品单位名称",
  15468. "type": "string"
  15469. },
  15470. "gbenumdicname": {
  15471. "description": "品类单位名称",
  15472. "type": "string"
  15473. },
  15474. "gmunitid": {
  15475. "description": "品类单位id",
  15476. "type": "integer"
  15477. },
  15478. "isvalid": {
  15479. "description": "是否有效 - 0:无效 1:有效",
  15480. "type": "integer"
  15481. },
  15482. "operateid": {
  15483. "description": "最后操作人",
  15484. "type": "integer"
  15485. },
  15486. "operatesrc": {
  15487. "description": "最后操作来源 - 1:管理端 2:终端",
  15488. "type": "integer"
  15489. },
  15490. "operatetime": {
  15491. "description": "最后操作时间",
  15492. "type": "string"
  15493. },
  15494. "operatorname": {
  15495. "description": "操作人名称",
  15496. "type": "string"
  15497. },
  15498. "spotgoodsbrandid": {
  15499. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15500. "type": "integer"
  15501. },
  15502. "spotgoodsprice": {
  15503. "description": "现货价格",
  15504. "type": "number"
  15505. },
  15506. "tradedate": {
  15507. "description": "交易日(yyyyMMdd)",
  15508. "type": "string"
  15509. },
  15510. "unitid": {
  15511. "description": "现货商品单位id",
  15512. "type": "integer"
  15513. },
  15514. "wrstandardcode": {
  15515. "description": "品类代码",
  15516. "type": "string"
  15517. },
  15518. "wrstandardid": {
  15519. "description": "现货品类ID(通用则为0)",
  15520. "type": "integer"
  15521. },
  15522. "wrstandardname": {
  15523. "description": "品类名称",
  15524. "type": "string"
  15525. }
  15526. }
  15527. },
  15528. "models.Ermcp3SpotGoodsPriceLog": {
  15529. "type": "object",
  15530. "properties": {
  15531. "areauserid": {
  15532. "description": "所属机构id",
  15533. "type": "integer"
  15534. },
  15535. "brandname": {
  15536. "description": "品牌名称",
  15537. "type": "string"
  15538. },
  15539. "currencyid": {
  15540. "description": "报价货币ID",
  15541. "type": "integer"
  15542. },
  15543. "deliverygoodscode": {
  15544. "description": "现货商品代码",
  15545. "type": "string"
  15546. },
  15547. "deliverygoodsid": {
  15548. "description": "现货商品id",
  15549. "type": "integer"
  15550. },
  15551. "deliverygoodsname": {
  15552. "description": "现货商品名称",
  15553. "type": "string"
  15554. },
  15555. "enumdicname": {
  15556. "description": "现货商品单位名称",
  15557. "type": "string"
  15558. },
  15559. "gbenumdicname": {
  15560. "description": "品类单位名称",
  15561. "type": "string"
  15562. },
  15563. "gmunitid": {
  15564. "description": "品类单位id",
  15565. "type": "integer"
  15566. },
  15567. "logid": {
  15568. "description": "日志id",
  15569. "type": "integer"
  15570. },
  15571. "operateid": {
  15572. "description": "最后操作人",
  15573. "type": "integer"
  15574. },
  15575. "operatesrc": {
  15576. "description": "最后操作来源 - 1:管理端 2:终端",
  15577. "type": "integer"
  15578. },
  15579. "operatetime": {
  15580. "description": "最后操作时间",
  15581. "type": "string"
  15582. },
  15583. "operatorname": {
  15584. "description": "操作人名称",
  15585. "type": "string"
  15586. },
  15587. "spotgoodsbrandid": {
  15588. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15589. "type": "integer"
  15590. },
  15591. "spotgoodsprice": {
  15592. "description": "现货价格",
  15593. "type": "number"
  15594. },
  15595. "tradedate": {
  15596. "description": "交易日(yyyyMMdd)",
  15597. "type": "string"
  15598. },
  15599. "unitid": {
  15600. "description": "现货商品单位id",
  15601. "type": "integer"
  15602. },
  15603. "wrstandardcode": {
  15604. "description": "品类代码",
  15605. "type": "string"
  15606. },
  15607. "wrstandardid": {
  15608. "description": "现货品类ID(通用则为0)",
  15609. "type": "integer"
  15610. },
  15611. "wrstandardname": {
  15612. "description": "品类名称",
  15613. "type": "string"
  15614. }
  15615. }
  15616. },
  15617. "models.Ermcp3TaFutuReDataReport": {
  15618. "type": "object",
  15619. "properties": {
  15620. "accountid": {
  15621. "description": "交易账户",
  15622. "type": "integer"
  15623. },
  15624. "accountname": {
  15625. "description": "交易账号名称",
  15626. "type": "string"
  15627. },
  15628. "begindate": {
  15629. "description": "开始交易日",
  15630. "type": "string"
  15631. },
  15632. "buyorsell": {
  15633. "description": "持仓方向",
  15634. "type": "integer"
  15635. },
  15636. "charge": {
  15637. "description": "手续费",
  15638. "type": "number"
  15639. },
  15640. "closepl": {
  15641. "description": "平仓损益",
  15642. "type": "number"
  15643. },
  15644. "currencyid": {
  15645. "description": "结算币种ID",
  15646. "type": "integer"
  15647. },
  15648. "cycletime": {
  15649. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15650. "type": "string"
  15651. },
  15652. "cycletype": {
  15653. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15654. "type": "integer"
  15655. },
  15656. "enddate": {
  15657. "description": "结束交易日",
  15658. "type": "string"
  15659. },
  15660. "enumdicname": {
  15661. "description": "单位名称(现货商品)",
  15662. "type": "string"
  15663. },
  15664. "floatpl": {
  15665. "description": "浮动损益",
  15666. "type": "number"
  15667. },
  15668. "goodscode": {
  15669. "description": "交易合约代码",
  15670. "type": "string"
  15671. },
  15672. "goodsgroupid": {
  15673. "description": "交易品种",
  15674. "type": "integer"
  15675. },
  15676. "goodsgroupname": {
  15677. "description": "交易品种名称",
  15678. "type": "string"
  15679. },
  15680. "goodsgroupspotqty": {
  15681. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  15682. "type": "number"
  15683. },
  15684. "goodsid": {
  15685. "description": "交易合约",
  15686. "type": "integer"
  15687. },
  15688. "goodsname": {
  15689. "description": "交易合约名称",
  15690. "type": "string"
  15691. },
  15692. "goodunitid": {
  15693. "description": "交易合约单位id",
  15694. "type": "integer"
  15695. },
  15696. "holdamount": {
  15697. "description": "期末持仓额",
  15698. "type": "number"
  15699. },
  15700. "holdqty": {
  15701. "description": "期末持仓量",
  15702. "type": "number"
  15703. },
  15704. "lastholdamount": {
  15705. "description": "当前持仓额",
  15706. "type": "number"
  15707. },
  15708. "lastprice": {
  15709. "description": "最新价",
  15710. "type": "number"
  15711. },
  15712. "middlegoodsqty": {
  15713. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  15714. "type": "number"
  15715. },
  15716. "openamount": {
  15717. "description": "期末开仓额",
  15718. "type": "number"
  15719. },
  15720. "oriholdamount": {
  15721. "description": "期初持仓额",
  15722. "type": "number"
  15723. },
  15724. "oriholdqty": {
  15725. "description": "期初持仓量",
  15726. "type": "number"
  15727. },
  15728. "oriopenamount": {
  15729. "description": "期初开仓额",
  15730. "type": "number"
  15731. },
  15732. "outergroupcode": {
  15733. "description": "交易品种代码",
  15734. "type": "string"
  15735. },
  15736. "reckondate": {
  15737. "description": "日照时期(yyyyMMdd)",
  15738. "type": "string"
  15739. },
  15740. "reckonholdamount": {
  15741. "description": "结算持仓额",
  15742. "type": "number"
  15743. },
  15744. "reckonpl": {
  15745. "description": "结算损益",
  15746. "type": "number"
  15747. },
  15748. "reckonpl2": {
  15749. "description": "结算逐笔盈亏",
  15750. "type": "number"
  15751. },
  15752. "reckonprice": {
  15753. "description": "结算价",
  15754. "type": "number"
  15755. },
  15756. "relateduserid": {
  15757. "description": "账户关联用户ID",
  15758. "type": "integer"
  15759. },
  15760. "todaycloseamount": {
  15761. "description": "今平仓额",
  15762. "type": "number"
  15763. },
  15764. "todaycloseqty": {
  15765. "description": "今平仓量",
  15766. "type": "number"
  15767. },
  15768. "todaygoodsgroupspotqty": {
  15769. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  15770. "type": "number"
  15771. },
  15772. "todaymiddlegoodsqty": {
  15773. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  15774. "type": "number"
  15775. },
  15776. "todayopenamount": {
  15777. "description": "今开仓额",
  15778. "type": "number"
  15779. },
  15780. "todayopenqty": {
  15781. "description": "今开仓量",
  15782. "type": "number"
  15783. },
  15784. "userid": {
  15785. "description": "账户所属用户ID",
  15786. "type": "integer"
  15787. }
  15788. }
  15789. },
  15790. "models.Ermcp3Wrstandard": {
  15791. "type": "object",
  15792. "properties": {
  15793. "areauserid": {
  15794. "description": "所属机构",
  15795. "type": "integer"
  15796. },
  15797. "convertfactor": {
  15798. "description": "标仓系数",
  15799. "type": "number"
  15800. },
  15801. "createtime": {
  15802. "description": "创建时间",
  15803. "type": "string"
  15804. },
  15805. "creatorid": {
  15806. "description": "创建人",
  15807. "type": "integer"
  15808. },
  15809. "deliverygoodsid": {
  15810. "description": "现货品种ID",
  15811. "type": "integer"
  15812. },
  15813. "enumdicname": {
  15814. "description": "品类单位名称",
  15815. "type": "string"
  15816. },
  15817. "isvalid": {
  15818. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15819. "type": "integer"
  15820. },
  15821. "minivalue": {
  15822. "description": "最小变动值",
  15823. "type": "integer"
  15824. },
  15825. "minivaluedp": {
  15826. "description": "最小变动值小数位",
  15827. "type": "integer"
  15828. },
  15829. "realminivalue": {
  15830. "description": "实际最小变动值",
  15831. "type": "integer"
  15832. },
  15833. "realminivaluedp": {
  15834. "description": "实际最小变动值小数位",
  15835. "type": "integer"
  15836. },
  15837. "remark": {
  15838. "description": "备注",
  15839. "type": "string"
  15840. },
  15841. "unitid": {
  15842. "description": "品类单位ID",
  15843. "type": "integer"
  15844. },
  15845. "updatetime": {
  15846. "description": "更新时间",
  15847. "type": "string"
  15848. },
  15849. "wrstandardcode": {
  15850. "description": "品类代码",
  15851. "type": "string"
  15852. },
  15853. "wrstandardid": {
  15854. "description": "品类ID(SEQ_WRSTANDARD)",
  15855. "type": "integer"
  15856. },
  15857. "wrstandardname": {
  15858. "description": "品类名称",
  15859. "type": "string"
  15860. }
  15861. }
  15862. },
  15863. "models.ErmcpAreaSpotDetailModel": {
  15864. "type": "object",
  15865. "properties": {
  15866. "contracttype": {
  15867. "description": "合同类型 1-采购 -1-销售",
  15868. "type": "integer"
  15869. },
  15870. "createtime": {
  15871. "description": "创建时间",
  15872. "type": "string"
  15873. },
  15874. "enumdicname": {
  15875. "description": "现货商品单位名称",
  15876. "type": "string"
  15877. },
  15878. "logtype": {
  15879. "description": "记录类型 1-套保 2-现货合同",
  15880. "type": "integer"
  15881. },
  15882. "qty": {
  15883. "description": "数量",
  15884. "type": "number"
  15885. },
  15886. "recordname": {
  15887. "description": "类型名称",
  15888. "type": "string"
  15889. },
  15890. "relatedid": {
  15891. "description": "套保计划ID/现货合同ID",
  15892. "type": "string"
  15893. },
  15894. "relatedno": {
  15895. "description": "编号",
  15896. "type": "string"
  15897. },
  15898. "strtime": {
  15899. "description": "时间",
  15900. "type": "string"
  15901. },
  15902. "wrstandardcode": {
  15903. "description": "现货商品代码",
  15904. "type": "string"
  15905. },
  15906. "wrstandardname": {
  15907. "description": "现货商品名称",
  15908. "type": "string"
  15909. }
  15910. }
  15911. },
  15912. "models.ErmcpAvalidGoodsGroupModel": {
  15913. "type": "object",
  15914. "properties": {
  15915. "goodsgroupid": {
  15916. "description": "期货品种id",
  15917. "type": "integer"
  15918. },
  15919. "goodsgroupname": {
  15920. "description": "期货品种名称",
  15921. "type": "string"
  15922. },
  15923. "goodunitid": {
  15924. "description": "品种单位id",
  15925. "type": "integer"
  15926. },
  15927. "goodunitname": {
  15928. "description": "品种单位名称",
  15929. "type": "string"
  15930. },
  15931. "outergroupcode": {
  15932. "description": "期货品种代码",
  15933. "type": "string"
  15934. }
  15935. }
  15936. },
  15937. "models.ErmcpBizGroupEx": {
  15938. "type": "object",
  15939. "properties": {
  15940. "acclist": {
  15941. "description": "账号列表",
  15942. "type": "array",
  15943. "items": {
  15944. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15945. }
  15946. },
  15947. "bizgroupid": {
  15948. "description": "业务分组id",
  15949. "type": "integer"
  15950. },
  15951. "biztype": {
  15952. "description": "业务类型 1-套保 2-套利",
  15953. "type": "integer"
  15954. },
  15955. "wrlist": {
  15956. "description": "现货商品表",
  15957. "type": "array",
  15958. "items": {
  15959. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15960. }
  15961. }
  15962. }
  15963. },
  15964. "models.ErmcpBizGroupSpotGoods": {
  15965. "type": "object",
  15966. "properties": {
  15967. "areauserid": {
  15968. "description": "所属机构id",
  15969. "type": "integer"
  15970. },
  15971. "bizgroupid": {
  15972. "description": "分组id",
  15973. "type": "integer"
  15974. },
  15975. "biztype": {
  15976. "description": "业务类型 1-套保 2-套利",
  15977. "type": "integer"
  15978. },
  15979. "deliverygoodscode": {
  15980. "description": "现货商品代码",
  15981. "type": "string"
  15982. },
  15983. "deliverygoodsid": {
  15984. "description": "现货商品id",
  15985. "type": "integer"
  15986. },
  15987. "deliverygoodsname": {
  15988. "description": "现货商品名称",
  15989. "type": "string"
  15990. },
  15991. "unitid": {
  15992. "description": "现货商品单位id",
  15993. "type": "integer"
  15994. }
  15995. }
  15996. },
  15997. "models.ErmcpBizGroupTaAccount": {
  15998. "type": "object",
  15999. "properties": {
  16000. "accountid": {
  16001. "description": "账号id",
  16002. "type": "integer"
  16003. },
  16004. "accountname": {
  16005. "description": "账号名称",
  16006. "type": "string"
  16007. },
  16008. "areauserid": {
  16009. "description": "所属机构id",
  16010. "type": "integer"
  16011. },
  16012. "bizgroupid": {
  16013. "description": "业务分组id",
  16014. "type": "integer"
  16015. },
  16016. "ismain": {
  16017. "description": "是否主账号 1-是 0-否",
  16018. "type": "integer"
  16019. }
  16020. }
  16021. },
  16022. "models.ErmcpDGFactoryItem": {
  16023. "type": "object",
  16024. "properties": {
  16025. "areauserid": {
  16026. "description": "用户id",
  16027. "type": "integer"
  16028. },
  16029. "deliverygoodsid": {
  16030. "description": "现货品种ID",
  16031. "type": "integer"
  16032. },
  16033. "dgfactoryitemid": {
  16034. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16035. "type": "integer"
  16036. },
  16037. "dgfactoryitemtypeid": {
  16038. "description": "要素项类型",
  16039. "type": "integer"
  16040. },
  16041. "dgfactoryitemvalue": {
  16042. "description": "要素项值(类型为仓库时填写仓库名称)",
  16043. "type": "string"
  16044. },
  16045. "isvalid": {
  16046. "description": "是否有效 - 0:无效 1:有效",
  16047. "type": "integer"
  16048. },
  16049. "orderindex": {
  16050. "description": "顺序",
  16051. "type": "integer"
  16052. },
  16053. "warehouseid": {
  16054. "description": "仓库ID(类型为仓库时填写)",
  16055. "type": "integer"
  16056. }
  16057. }
  16058. },
  16059. "models.ErmcpDeliveryGoods": {
  16060. "type": "object",
  16061. "properties": {
  16062. "agreeunit": {
  16063. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16064. "type": "integer"
  16065. },
  16066. "areauserid": {
  16067. "description": "所属机构",
  16068. "type": "integer"
  16069. },
  16070. "auditflag": {
  16071. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16072. "type": "integer"
  16073. },
  16074. "categoryid": {
  16075. "description": "类别ID(SEQ_WRCATEGORY)",
  16076. "type": "integer"
  16077. },
  16078. "deliverygoodscode": {
  16079. "description": "现货品种代码",
  16080. "type": "string"
  16081. },
  16082. "deliverygoodsid": {
  16083. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16084. "type": "integer"
  16085. },
  16086. "deliverygoodsname": {
  16087. "description": "现货品种名称",
  16088. "type": "string"
  16089. },
  16090. "deliverygoodstype": {
  16091. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16092. "type": "integer"
  16093. },
  16094. "dgstatus": {
  16095. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16096. "type": "integer"
  16097. },
  16098. "enumdicname": {
  16099. "description": "现货品种单位名称",
  16100. "type": "string"
  16101. },
  16102. "goodsunitid": {
  16103. "description": "现货品种单位ID",
  16104. "type": "integer"
  16105. },
  16106. "isvalid": {
  16107. "description": "是否有效 - 0:无效 1:有效",
  16108. "type": "integer"
  16109. },
  16110. "qtydecimalplace": {
  16111. "description": "成交量小数位",
  16112. "type": "integer"
  16113. },
  16114. "remark": {
  16115. "description": "备注",
  16116. "type": "string"
  16117. },
  16118. "standardqty": {
  16119. "description": "标准数量(库位数量) [标准品特有]",
  16120. "type": "integer"
  16121. },
  16122. "standardqtyrange": {
  16123. "description": "标准数量偏差范围 [标准品特有]",
  16124. "type": "integer"
  16125. }
  16126. }
  16127. },
  16128. "models.ErmcpDeliveryGoodsDetail2": {
  16129. "type": "object",
  16130. "properties": {
  16131. "convertratio": {
  16132. "description": "套保系数(折算系数)",
  16133. "type": "number"
  16134. },
  16135. "data": {
  16136. "description": "现货商品基本信息(交割品种)",
  16137. "type": "object",
  16138. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16139. },
  16140. "gblist": {
  16141. "description": "品牌列表",
  16142. "type": "array",
  16143. "items": {
  16144. "$ref": "#/definitions/models.Ermcp3Brand"
  16145. }
  16146. },
  16147. "gmlist": {
  16148. "description": "品类列表(仓单标准)",
  16149. "type": "array",
  16150. "items": {
  16151. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16152. }
  16153. }
  16154. }
  16155. },
  16156. "models.ErmcpDeliveryGoodsDetailEx": {
  16157. "type": "object",
  16158. "properties": {
  16159. "data": {
  16160. "description": "现货商品基本信息(交割品种)",
  16161. "type": "object",
  16162. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16163. },
  16164. "gblist": {
  16165. "description": "品牌列表",
  16166. "type": "array",
  16167. "items": {
  16168. "$ref": "#/definitions/models.Ermcp3Brand"
  16169. }
  16170. },
  16171. "gmlist": {
  16172. "description": "品类列表(仓单标准)",
  16173. "type": "array",
  16174. "items": {
  16175. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16176. }
  16177. },
  16178. "mgList": {
  16179. "description": "套保列表",
  16180. "type": "array",
  16181. "items": {
  16182. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16183. }
  16184. }
  16185. }
  16186. },
  16187. "models.ErmcpExposureDetailModel": {
  16188. "type": "object",
  16189. "properties": {
  16190. "areauserid": {
  16191. "description": "机构ID",
  16192. "type": "integer"
  16193. },
  16194. "changeQty": {
  16195. "description": "套保变动量",
  16196. "type": "number"
  16197. },
  16198. "contracttype": {
  16199. "description": "现货合同类型 - 1:采购 -1:销售",
  16200. "type": "integer"
  16201. },
  16202. "convertfactor": {
  16203. "description": "标仓系数",
  16204. "type": "number"
  16205. },
  16206. "convertratio": {
  16207. "description": "套保系数",
  16208. "type": "number"
  16209. },
  16210. "createtime": {
  16211. "description": "时间",
  16212. "type": "string"
  16213. },
  16214. "enumdicname": {
  16215. "description": "现货商品单位名称",
  16216. "type": "string"
  16217. },
  16218. "logtype": {
  16219. "description": "类型 - 1:套保计划 2:现货合同",
  16220. "type": "integer"
  16221. },
  16222. "middlegoodsId": {
  16223. "description": "套保商品id",
  16224. "type": "integer"
  16225. },
  16226. "middlegoodscode": {
  16227. "description": "套保商品代码",
  16228. "type": "string"
  16229. },
  16230. "middlegoodsname": {
  16231. "description": "套保商品名称",
  16232. "type": "string"
  16233. },
  16234. "qty": {
  16235. "description": "数量",
  16236. "type": "number"
  16237. },
  16238. "relateNo": {
  16239. "description": "现货合同/套保计划编号",
  16240. "type": "string"
  16241. },
  16242. "wrstandardcode": {
  16243. "description": "现货商品代码",
  16244. "type": "string"
  16245. },
  16246. "wrstandardid": {
  16247. "description": "现货商品ID",
  16248. "type": "integer"
  16249. },
  16250. "wrstandardname": {
  16251. "description": "现货商品名称",
  16252. "type": "string"
  16253. }
  16254. }
  16255. },
  16256. "models.ErmcpExposurePostion": {
  16257. "type": "object",
  16258. "properties": {
  16259. "agreeunit": {
  16260. "description": "合约单位",
  16261. "type": "string"
  16262. },
  16263. "areauserid": {
  16264. "description": "所属机构id",
  16265. "type": "integer"
  16266. },
  16267. "convertratio": {
  16268. "description": "期货品种系数(折算系数)",
  16269. "type": "number"
  16270. },
  16271. "curqty": {
  16272. "description": "当前持仓",
  16273. "type": "integer"
  16274. },
  16275. "diffhedgeqty": {
  16276. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16277. "type": "number"
  16278. },
  16279. "diffqty": {
  16280. "description": "持仓变动量=当前持仓-昨日持仓",
  16281. "type": "integer"
  16282. },
  16283. "goodscode": {
  16284. "description": "商品代码",
  16285. "type": "string"
  16286. },
  16287. "goodsid": {
  16288. "description": "商品id",
  16289. "type": "integer"
  16290. },
  16291. "goodsname": {
  16292. "description": "商品名称",
  16293. "type": "string"
  16294. },
  16295. "middlegoodsid": {
  16296. "description": "套保商品id",
  16297. "type": "integer"
  16298. },
  16299. "ydqty": {
  16300. "description": "昨日持仓",
  16301. "type": "integer"
  16302. }
  16303. }
  16304. },
  16305. "models.ErmcpFuturesCompany": {
  16306. "type": "object",
  16307. "properties": {
  16308. "brokerid": {
  16309. "description": "经纪公司代码",
  16310. "type": "string"
  16311. },
  16312. "channeladdress": {
  16313. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16314. "type": "string"
  16315. },
  16316. "channelid": {
  16317. "description": "对冲渠道ID",
  16318. "type": "string"
  16319. },
  16320. "createtime": {
  16321. "description": "创建时间",
  16322. "type": "string"
  16323. },
  16324. "creatorid": {
  16325. "description": "创建人",
  16326. "type": "string"
  16327. },
  16328. "fcid": {
  16329. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16330. "type": "integer"
  16331. },
  16332. "fcname": {
  16333. "description": "期货公司名称",
  16334. "type": "string"
  16335. },
  16336. "isvalid": {
  16337. "description": "是否有效 - 0:无效 1:有效",
  16338. "type": "integer"
  16339. },
  16340. "mhpaddress": {
  16341. "description": "MHP服务地址(IP:Port)",
  16342. "type": "string"
  16343. },
  16344. "riskrulegroupid": {
  16345. "description": "风控规则组ID",
  16346. "type": "string"
  16347. },
  16348. "tradefeetmpid": {
  16349. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16350. "type": "string"
  16351. },
  16352. "trademargintmpid": {
  16353. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16354. "type": "string"
  16355. },
  16356. "traderatetmpid": {
  16357. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16358. "type": "string"
  16359. },
  16360. "updatetime": {
  16361. "description": "更新时间",
  16362. "type": "string"
  16363. },
  16364. "updatorid": {
  16365. "description": "更新人",
  16366. "type": "string"
  16367. }
  16368. }
  16369. },
  16370. "models.ErmcpGGConvertCfg": {
  16371. "type": "object",
  16372. "properties": {
  16373. "convertratio": {
  16374. "description": "折算系数",
  16375. "type": "number"
  16376. },
  16377. "destgoodsgroupid": {
  16378. "description": "目标品种ID",
  16379. "type": "integer"
  16380. },
  16381. "dstcode": {
  16382. "description": "目录品种代码",
  16383. "type": "string"
  16384. },
  16385. "dstexchangecode": {
  16386. "description": "目标期货交易所",
  16387. "type": "string"
  16388. },
  16389. "dstname": {
  16390. "description": "目标品种名称",
  16391. "type": "string"
  16392. },
  16393. "dstunitid": {
  16394. "description": "目标品种单位ID",
  16395. "type": "integer"
  16396. },
  16397. "dstunitidname": {
  16398. "description": "目标品种单位名称",
  16399. "type": "string"
  16400. },
  16401. "modifytime": {
  16402. "description": "修改时间",
  16403. "type": "string"
  16404. },
  16405. "srccode": {
  16406. "description": "源品种代码",
  16407. "type": "string"
  16408. },
  16409. "srcexchangecode": {
  16410. "description": "源期货交易所",
  16411. "type": "string"
  16412. },
  16413. "srcgoodsgroupid": {
  16414. "description": "源品种ID",
  16415. "type": "integer"
  16416. },
  16417. "srcname": {
  16418. "description": "源品种名称",
  16419. "type": "string"
  16420. },
  16421. "srcunitid": {
  16422. "description": "源品种单位ID",
  16423. "type": "integer"
  16424. },
  16425. "srcunitidname": {
  16426. "description": "源品种单位名称",
  16427. "type": "string"
  16428. }
  16429. }
  16430. },
  16431. "models.ErmcpGoods": {
  16432. "type": "object",
  16433. "required": [
  16434. "goodscode",
  16435. "goodsid",
  16436. "goodsname",
  16437. "marketid"
  16438. ],
  16439. "properties": {
  16440. "agreeunit": {
  16441. "description": "合约单位",
  16442. "type": "number"
  16443. },
  16444. "auditaccountid": {
  16445. "description": "审核操作员账号",
  16446. "type": "integer"
  16447. },
  16448. "audittime": {
  16449. "description": "审核时间",
  16450. "type": "string"
  16451. },
  16452. "cancelaccountid": {
  16453. "description": "注销操作员账号",
  16454. "type": "integer"
  16455. },
  16456. "canceltime": {
  16457. "description": "注销时间",
  16458. "type": "string"
  16459. },
  16460. "closepricemode": {
  16461. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16462. "type": "integer"
  16463. },
  16464. "closepriceparam": {
  16465. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16466. "type": "number"
  16467. },
  16468. "createtime": {
  16469. "description": "创建时间",
  16470. "type": "string"
  16471. },
  16472. "creatorid": {
  16473. "description": "创建人",
  16474. "type": "integer"
  16475. },
  16476. "currencyid": {
  16477. "description": "报价货币ID",
  16478. "type": "integer"
  16479. },
  16480. "cutmode": {
  16481. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16482. "type": "integer"
  16483. },
  16484. "decimalplace": {
  16485. "description": "报价小数位",
  16486. "type": "integer"
  16487. },
  16488. "delistingdate": {
  16489. "description": "商品退市时间(状态:退市) -- 已作废",
  16490. "type": "string"
  16491. },
  16492. "delistingmode": {
  16493. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16494. "type": "integer"
  16495. },
  16496. "deliveryflag": {
  16497. "description": "交割标志 - 0:不可交割 1:可交割",
  16498. "type": "integer"
  16499. },
  16500. "forceclosemode": {
  16501. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16502. "type": "integer"
  16503. },
  16504. "forceclosevalue": {
  16505. "description": "定期强平参数 [收益权]",
  16506. "type": "integer"
  16507. },
  16508. "goodscode": {
  16509. "description": "商品代码(内部)",
  16510. "type": "string"
  16511. },
  16512. "goodscurrencyid": {
  16513. "description": "合约货币ID",
  16514. "type": "integer"
  16515. },
  16516. "goodsgroupid": {
  16517. "description": "所属商品组ID",
  16518. "type": "integer"
  16519. },
  16520. "goodsid": {
  16521. "description": "商品ID(自增ID SEQ_GOODS)",
  16522. "type": "integer"
  16523. },
  16524. "goodsname": {
  16525. "description": "商品名称",
  16526. "type": "string"
  16527. },
  16528. "goodsquotetype": {
  16529. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16530. "type": "integer"
  16531. },
  16532. "goodsstatus": {
  16533. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16534. "type": "integer"
  16535. },
  16536. "goodstradetype": {
  16537. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16538. "type": "integer"
  16539. },
  16540. "goodunitid": {
  16541. "description": "报价单位ID",
  16542. "type": "integer"
  16543. },
  16544. "hasquoter": {
  16545. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16546. "type": "integer"
  16547. },
  16548. "hqprotecttime": {
  16549. "description": "行情保护时间(秒)",
  16550. "type": "integer"
  16551. },
  16552. "innerdealmode": {
  16553. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16554. "type": "integer"
  16555. },
  16556. "isbuylimited": {
  16557. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16558. "type": "integer"
  16559. },
  16560. "lasttradedate": {
  16561. "description": "最后交易日期(状态:待退市)",
  16562. "type": "string"
  16563. },
  16564. "listingdate": {
  16565. "description": "交易开始日期",
  16566. "type": "string"
  16567. },
  16568. "marketid": {
  16569. "description": "所属市场ID",
  16570. "type": "integer"
  16571. },
  16572. "modifierid": {
  16573. "description": "修改人",
  16574. "type": "integer"
  16575. },
  16576. "modifystatus": {
  16577. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16578. "type": "integer"
  16579. },
  16580. "modifytime": {
  16581. "description": "修改时间",
  16582. "type": "string"
  16583. },
  16584. "outerdealmode": {
  16585. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16586. "type": "integer"
  16587. },
  16588. "outgoodscode": {
  16589. "description": "商品代码(外部)",
  16590. "type": "string"
  16591. },
  16592. "qtydecimalplace": {
  16593. "description": "成交量小数位",
  16594. "type": "integer"
  16595. },
  16596. "quotegear": {
  16597. "description": "行情档位(1-10)",
  16598. "type": "integer"
  16599. },
  16600. "quoteminunit": {
  16601. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16602. "type": "integer"
  16603. },
  16604. "quoteshowtype": {
  16605. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16606. "type": "integer"
  16607. },
  16608. "quoteshowtypeinterval": {
  16609. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16610. "type": "integer"
  16611. },
  16612. "relatedgoodsid": {
  16613. "description": "关联参考商品ID",
  16614. "type": "integer"
  16615. },
  16616. "remark": {
  16617. "description": "备注",
  16618. "type": "string"
  16619. }
  16620. }
  16621. },
  16622. "models.ErmcpGoodsBrand": {
  16623. "type": "object",
  16624. "properties": {
  16625. "areauserid": {
  16626. "description": "所属机构",
  16627. "type": "integer"
  16628. },
  16629. "brandid": {
  16630. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16631. "type": "integer"
  16632. },
  16633. "brandname": {
  16634. "description": "品牌名称",
  16635. "type": "string"
  16636. },
  16637. "createtime": {
  16638. "description": "创建时间",
  16639. "type": "string"
  16640. },
  16641. "creatorid": {
  16642. "description": "创建人",
  16643. "type": "integer"
  16644. },
  16645. "creatorsrc": {
  16646. "description": "创建人来源 - 1:管理端 2:终端",
  16647. "type": "integer"
  16648. },
  16649. "deliverygoodsid": {
  16650. "description": "现货品种ID",
  16651. "type": "integer"
  16652. },
  16653. "isvalid": {
  16654. "description": "是否有效 - 0:无效 1:有效",
  16655. "type": "integer"
  16656. },
  16657. "updatetime": {
  16658. "description": "更新时间",
  16659. "type": "string"
  16660. },
  16661. "updatorid": {
  16662. "description": "更新人",
  16663. "type": "integer"
  16664. },
  16665. "updatorsrc": {
  16666. "description": "更新人来源 - 1:管理端 2:终端",
  16667. "type": "integer"
  16668. },
  16669. "wrstandardid": {
  16670. "description": "现货商品ID",
  16671. "type": "integer"
  16672. }
  16673. }
  16674. },
  16675. "models.ErmcpGoodsModel": {
  16676. "type": "object",
  16677. "properties": {
  16678. "areauserid": {
  16679. "description": "所属机构",
  16680. "type": "integer"
  16681. },
  16682. "convertfactor": {
  16683. "description": "标仓系数",
  16684. "type": "number"
  16685. },
  16686. "createtime": {
  16687. "description": "创建时间",
  16688. "type": "string"
  16689. },
  16690. "creatorid": {
  16691. "description": "创建人",
  16692. "type": "integer"
  16693. },
  16694. "creatorsrc": {
  16695. "description": "创建人来源 - 1:管理端 2:终端",
  16696. "type": "integer"
  16697. },
  16698. "deliverygoodsid": {
  16699. "description": "现货品种ID",
  16700. "type": "integer"
  16701. },
  16702. "isvalid": {
  16703. "description": "是否有效 - 0:无效 1:有效",
  16704. "type": "integer"
  16705. },
  16706. "modelid": {
  16707. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16708. "type": "integer"
  16709. },
  16710. "modelname": {
  16711. "description": "型号名称",
  16712. "type": "string"
  16713. },
  16714. "updatetime": {
  16715. "description": "更新时间",
  16716. "type": "string"
  16717. },
  16718. "updatorid": {
  16719. "description": "更新人",
  16720. "type": "integer"
  16721. },
  16722. "updatorsrc": {
  16723. "description": "更新人来源 - 1:管理端 2:终端",
  16724. "type": "integer"
  16725. },
  16726. "wrstandardid": {
  16727. "description": "现货商品ID",
  16728. "type": "integer"
  16729. }
  16730. }
  16731. },
  16732. "models.ErmcpHedgePosition": {
  16733. "type": "object",
  16734. "properties": {
  16735. "accountid": {
  16736. "description": "资金账号[外部母账户]",
  16737. "type": "integer"
  16738. },
  16739. "curbuyposition": {
  16740. "description": "期末买头寸",
  16741. "type": "integer"
  16742. },
  16743. "cursellposition": {
  16744. "description": "期末卖头寸",
  16745. "type": "integer"
  16746. },
  16747. "curtdbuyposition": {
  16748. "description": "期末今日买头寸",
  16749. "type": "integer"
  16750. },
  16751. "curtdsellposition": {
  16752. "description": "期末今日卖头寸",
  16753. "type": "integer"
  16754. },
  16755. "curydbuyposition": {
  16756. "description": "期末上日买头寸",
  16757. "type": "integer"
  16758. },
  16759. "curydsellposition": {
  16760. "description": "期末上日卖头寸",
  16761. "type": "integer"
  16762. },
  16763. "decreaseqty": {
  16764. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16765. "type": "integer"
  16766. },
  16767. "fretdbuyposition": {
  16768. "description": "冻结今日买头寸",
  16769. "type": "integer"
  16770. },
  16771. "fretdsellposition": {
  16772. "description": "冻结今日卖头寸",
  16773. "type": "integer"
  16774. },
  16775. "freydbuyposition": {
  16776. "description": "冻结上日买头寸",
  16777. "type": "integer"
  16778. },
  16779. "freydsellposition": {
  16780. "description": "冻结上日卖头寸",
  16781. "type": "integer"
  16782. },
  16783. "goodscode": {
  16784. "description": "商品代码",
  16785. "type": "string"
  16786. },
  16787. "goodsid": {
  16788. "description": "商品id",
  16789. "type": "integer"
  16790. },
  16791. "goodsname": {
  16792. "description": "商品名称",
  16793. "type": "string"
  16794. },
  16795. "hedgeaccountcode": {
  16796. "description": "对冲账号",
  16797. "type": "string"
  16798. },
  16799. "hedgegoodsid": {
  16800. "description": "对冲合约ID",
  16801. "type": "integer"
  16802. },
  16803. "increaseqty": {
  16804. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16805. "type": "integer"
  16806. },
  16807. "marketid": {
  16808. "description": "市场ID",
  16809. "type": "integer"
  16810. },
  16811. "relateduserid": {
  16812. "description": "关联用户id",
  16813. "type": "integer"
  16814. },
  16815. "totalcurqty": {
  16816. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16817. "type": "integer"
  16818. },
  16819. "totalydqty": {
  16820. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16821. "type": "integer"
  16822. },
  16823. "tradedate": {
  16824. "description": "交易日(yyyyMMdd)",
  16825. "type": "string"
  16826. },
  16827. "ydbuyposition": {
  16828. "description": "期初买头寸",
  16829. "type": "integer"
  16830. },
  16831. "ydsellposition": {
  16832. "description": "期初卖头寸",
  16833. "type": "integer"
  16834. }
  16835. }
  16836. },
  16837. "models.ErmcpHedgePositionDetail": {
  16838. "type": "object",
  16839. "properties": {
  16840. "buyorsell": {
  16841. "description": "买卖方向 0-买 1-卖",
  16842. "type": "integer"
  16843. },
  16844. "channelbuildtype": {
  16845. "description": "开平方向 1-建仓 2-平仓",
  16846. "type": "integer"
  16847. },
  16848. "goodscode": {
  16849. "description": "商品代码",
  16850. "type": "string"
  16851. },
  16852. "goodsname": {
  16853. "description": "商品名称",
  16854. "type": "string"
  16855. },
  16856. "hedgegoodsid": {
  16857. "description": "商品id",
  16858. "type": "integer"
  16859. },
  16860. "tradeqty": {
  16861. "description": "数量(成交数量)",
  16862. "type": "integer"
  16863. },
  16864. "tradetime": {
  16865. "description": "时间(成交时间)",
  16866. "type": "string"
  16867. }
  16868. }
  16869. },
  16870. "models.ErmcpHisExposure": {
  16871. "type": "object",
  16872. "properties": {
  16873. "needhedgeexposoure": {
  16874. "description": "应套保敞口",
  16875. "type": "number"
  16876. },
  16877. "reckondate": {
  16878. "description": "日照时期(yyyyMMdd)",
  16879. "type": "string"
  16880. },
  16881. "totalexposure": {
  16882. "description": "总敞口",
  16883. "type": "number"
  16884. }
  16885. }
  16886. },
  16887. "models.ErmcpHisExposureS": {
  16888. "type": "object",
  16889. "properties": {
  16890. "data": {
  16891. "description": "历史敞口",
  16892. "type": "array",
  16893. "items": {
  16894. "$ref": "#/definitions/models.ErmcpHisExposure"
  16895. }
  16896. },
  16897. "enumdicname": {
  16898. "description": "单位名称",
  16899. "type": "string"
  16900. },
  16901. "middlegoodscode": {
  16902. "description": "套保品种代码",
  16903. "type": "string"
  16904. },
  16905. "middlegoodsid": {
  16906. "description": "套保品种ID",
  16907. "type": "integer"
  16908. },
  16909. "middlegoodsname": {
  16910. "description": "套保品种名称",
  16911. "type": "string"
  16912. }
  16913. }
  16914. },
  16915. "models.ErmcpLoginTaAccount": {
  16916. "type": "object",
  16917. "properties": {
  16918. "accountid": {
  16919. "description": "账号id",
  16920. "type": "integer"
  16921. },
  16922. "accountname": {
  16923. "description": "账号名称",
  16924. "type": "string"
  16925. }
  16926. }
  16927. },
  16928. "models.ErmcpLoginUser": {
  16929. "type": "object",
  16930. "properties": {
  16931. "acclist": {
  16932. "description": "关联资金账号",
  16933. "type": "array",
  16934. "items": {
  16935. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16936. }
  16937. },
  16938. "accountname": {
  16939. "description": "用户名称",
  16940. "type": "string"
  16941. },
  16942. "clientroleid": {
  16943. "description": "角色id(usertype=2)",
  16944. "type": "integer"
  16945. },
  16946. "createtime": {
  16947. "description": "创建时间",
  16948. "type": "string"
  16949. },
  16950. "logincode": {
  16951. "description": "登录代码",
  16952. "type": "string"
  16953. },
  16954. "loginid": {
  16955. "description": "登录id(LOGINID)",
  16956. "type": "integer"
  16957. },
  16958. "loginname": {
  16959. "description": "登录名称(loginaccount表中的accountname字段)",
  16960. "type": "string"
  16961. },
  16962. "loginstatus": {
  16963. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16964. "type": "integer"
  16965. },
  16966. "memberuserid": {
  16967. "description": "所属会员id",
  16968. "type": "integer"
  16969. },
  16970. "mobile": {
  16971. "description": "手机号",
  16972. "type": "string"
  16973. },
  16974. "modifytime": {
  16975. "description": "修改时间",
  16976. "type": "string"
  16977. },
  16978. "password": {
  16979. "description": "密码(不可解密)",
  16980. "type": "string"
  16981. },
  16982. "rolename": {
  16983. "description": "角色名称",
  16984. "type": "string"
  16985. },
  16986. "rolestatus": {
  16987. "description": "角色状态 1-启用 2-停用",
  16988. "type": "integer"
  16989. },
  16990. "roletype": {
  16991. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16992. "type": "string"
  16993. },
  16994. "userid": {
  16995. "description": "用户id",
  16996. "type": "integer"
  16997. },
  16998. "usertype": {
  16999. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17000. "type": "integer"
  17001. }
  17002. }
  17003. },
  17004. "models.ErmcpLoginUserEx": {
  17005. "type": "object",
  17006. "properties": {
  17007. "accountstatus": {
  17008. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17009. "type": "integer"
  17010. },
  17011. "mobile": {
  17012. "description": "手机号",
  17013. "type": "string"
  17014. },
  17015. "querytype": {
  17016. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17017. "type": "integer"
  17018. },
  17019. "roleid": {
  17020. "description": "角色id(交易账户-\u003e用户id)",
  17021. "type": "integer"
  17022. },
  17023. "rolename": {
  17024. "description": "角色名称(交易账户-\u003e用户名称)",
  17025. "type": "string"
  17026. },
  17027. "userlist": {
  17028. "description": "用户列表",
  17029. "type": "array",
  17030. "items": {
  17031. "$ref": "#/definitions/models.ErmcpLoginUser"
  17032. }
  17033. },
  17034. "usertype": {
  17035. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17036. "type": "integer"
  17037. }
  17038. }
  17039. },
  17040. "models.ErmcpMiddleGoodsChangeLog": {
  17041. "type": "object",
  17042. "properties": {
  17043. "aftervalue": {
  17044. "description": "变更后",
  17045. "type": "number"
  17046. },
  17047. "applyid": {
  17048. "description": "操作人",
  17049. "type": "integer"
  17050. },
  17051. "applyname": {
  17052. "description": "操作人名称",
  17053. "type": "string"
  17054. },
  17055. "applysrc": {
  17056. "description": "操作来源 - 1:管理端 2:终端",
  17057. "type": "integer"
  17058. },
  17059. "beforevalue": {
  17060. "description": "变更前",
  17061. "type": "number"
  17062. },
  17063. "changelogtype": {
  17064. "description": "变更流水类型 - 1:套保比率变更",
  17065. "type": "integer"
  17066. },
  17067. "handlestatus": {
  17068. "description": "处理状态",
  17069. "type": "integer"
  17070. },
  17071. "logdatetime": {
  17072. "description": "流水日期",
  17073. "type": "string"
  17074. },
  17075. "logid": {
  17076. "description": "流水ID",
  17077. "type": "integer"
  17078. },
  17079. "logremark": {
  17080. "description": "流水备注",
  17081. "type": "string"
  17082. },
  17083. "middlegoodsid": {
  17084. "description": "套保品种ID",
  17085. "type": "integer"
  17086. },
  17087. "tradedate": {
  17088. "description": "交易日(yyyyMMdd)",
  17089. "type": "string"
  17090. },
  17091. "updatetime": {
  17092. "description": "更新时间",
  17093. "type": "string"
  17094. }
  17095. }
  17096. },
  17097. "models.ErmcpMiddleGoodsDetail": {
  17098. "type": "object",
  17099. "properties": {
  17100. "cvList": {
  17101. "description": "期货品种折算列表",
  17102. "type": "array",
  17103. "items": {
  17104. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17105. }
  17106. },
  17107. "mg": {
  17108. "description": "套保品种基本信息",
  17109. "type": "object",
  17110. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17111. },
  17112. "wrcList": {
  17113. "description": "现货品种列表(现货商品折算配置)",
  17114. "type": "array",
  17115. "items": {
  17116. "$ref": "#/definitions/models.WRSConverTDetail"
  17117. }
  17118. }
  17119. }
  17120. },
  17121. "models.ErmcpMiddleGoodsModel": {
  17122. "type": "object",
  17123. "properties": {
  17124. "areauserid": {
  17125. "description": "机构用户ID",
  17126. "type": "integer"
  17127. },
  17128. "createtime": {
  17129. "description": "修改时间",
  17130. "type": "string"
  17131. },
  17132. "enumdicname": {
  17133. "description": "单位名称",
  17134. "type": "string"
  17135. },
  17136. "evaluateratio": {
  17137. "description": "估价系数",
  17138. "type": "number"
  17139. },
  17140. "goodsgroupid": {
  17141. "description": "关联期货品种ID",
  17142. "type": "integer"
  17143. },
  17144. "goodsunitid": {
  17145. "description": "单位ID",
  17146. "type": "integer"
  17147. },
  17148. "isvalid": {
  17149. "description": "状态 0-无效(停用) 1-有效(正常)",
  17150. "type": "integer"
  17151. },
  17152. "middlegoodscode": {
  17153. "description": "套保品种代码",
  17154. "type": "string"
  17155. },
  17156. "middlegoodsid": {
  17157. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17158. "type": "integer"
  17159. },
  17160. "middlegoodsname": {
  17161. "description": "套保品种名称",
  17162. "type": "string"
  17163. },
  17164. "modifytime": {
  17165. "description": "修改时间",
  17166. "type": "string"
  17167. },
  17168. "needarbitrageratio": {
  17169. "description": "套利比例",
  17170. "type": "number"
  17171. },
  17172. "needhedgeratio": {
  17173. "description": "套保比率",
  17174. "type": "number"
  17175. },
  17176. "qtydecimalplace": {
  17177. "description": "数量小数位",
  17178. "type": "integer"
  17179. },
  17180. "relatedgoodsid": {
  17181. "description": "关联交易商品ID",
  17182. "type": "integer"
  17183. },
  17184. "relatedgoodstype": {
  17185. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17186. "type": "integer"
  17187. },
  17188. "remark": {
  17189. "description": "备注",
  17190. "type": "string"
  17191. }
  17192. }
  17193. },
  17194. "models.ErmcpOPLogModel": {
  17195. "type": "object",
  17196. "properties": {
  17197. "aftervalue": {
  17198. "description": "变更后",
  17199. "type": "number"
  17200. },
  17201. "applyid": {
  17202. "description": "操作人ID",
  17203. "type": "string"
  17204. },
  17205. "applyname": {
  17206. "description": "操作人名称",
  17207. "type": "string"
  17208. },
  17209. "beforevalue": {
  17210. "description": "变更前",
  17211. "type": "number"
  17212. },
  17213. "biztype": {
  17214. "description": "业务类型 - 1:套保计划 2:现货合同",
  17215. "type": "integer"
  17216. },
  17217. "contracttype": {
  17218. "description": "现货合同类型 - 1:采购 -1:销售",
  17219. "type": "integer"
  17220. },
  17221. "logvalue": {
  17222. "description": "数值",
  17223. "type": "number"
  17224. },
  17225. "operatelogtype": {
  17226. "description": "操作流水类型",
  17227. "type": "integer"
  17228. },
  17229. "operatelogtypedesc": {
  17230. "description": "操作流水类型名称",
  17231. "type": "string"
  17232. },
  17233. "relatedid": {
  17234. "description": "现货合同ID\\套保计划",
  17235. "type": "string"
  17236. },
  17237. "updatetime": {
  17238. "description": "更新时间",
  17239. "type": "string"
  17240. }
  17241. }
  17242. },
  17243. "models.ErmcpPendingAudit": {
  17244. "type": "object",
  17245. "properties": {
  17246. "areastockqty": {
  17247. "description": "待审核数量: 库存申请",
  17248. "type": "integer"
  17249. },
  17250. "businessdjqty": {
  17251. "description": "待审核数量: 点价",
  17252. "type": "integer"
  17253. },
  17254. "businessfpqty": {
  17255. "description": "待审核数量: 发票",
  17256. "type": "integer"
  17257. },
  17258. "businessjsqty": {
  17259. "description": "待审核数量: 结算",
  17260. "type": "integer"
  17261. },
  17262. "businesskxqty": {
  17263. "description": "待审核数量: 款项",
  17264. "type": "integer"
  17265. },
  17266. "hedgeplanqty": {
  17267. "description": "待审核数量: 套保计划",
  17268. "type": "integer"
  17269. },
  17270. "spotcontractqty": {
  17271. "description": "待审核数量: 现货合同",
  17272. "type": "integer"
  17273. },
  17274. "userqty": {
  17275. "description": "待审核数量: 用户",
  17276. "type": "integer"
  17277. }
  17278. }
  17279. },
  17280. "models.ErmcpRealExposureModel": {
  17281. "type": "object",
  17282. "properties": {
  17283. "AreaUserID": {
  17284. "description": "所属机构",
  17285. "type": "integer"
  17286. },
  17287. "BuyFutureQty": {
  17288. "description": "买入期货数量",
  17289. "type": "number"
  17290. },
  17291. "BuyPlanQty": {
  17292. "description": "采购计划数量",
  17293. "type": "number"
  17294. },
  17295. "BuyPricedQty": {
  17296. "description": "采购合同已定价数量",
  17297. "type": "number"
  17298. },
  17299. "MiddleGoodsCode": {
  17300. "description": "套保品种代码",
  17301. "type": "string"
  17302. },
  17303. "MiddleGoodsHedgeRatio": {
  17304. "description": "套保比例",
  17305. "type": "number"
  17306. },
  17307. "MiddleGoodsID": {
  17308. "description": "套保品种",
  17309. "type": "integer"
  17310. },
  17311. "MiddleGoodsName": {
  17312. "description": "套保品种名称",
  17313. "type": "string"
  17314. },
  17315. "NeedHedgeExposoure": {
  17316. "description": "应套保敞口(套保敞口)",
  17317. "type": "number"
  17318. },
  17319. "NeedHedgeRatio": {
  17320. "description": "应套保敞口比例",
  17321. "type": "number"
  17322. },
  17323. "OriBuyFutureQty": {
  17324. "description": "期初买入期货数量",
  17325. "type": "number"
  17326. },
  17327. "OriBuyPlanQty": {
  17328. "description": "期初采购计划数量",
  17329. "type": "number"
  17330. },
  17331. "OriBuyPricedQty": {
  17332. "description": "期初采购合同已定价数量",
  17333. "type": "number"
  17334. },
  17335. "OriSellFutureQty": {
  17336. "description": "期初卖出期货数量",
  17337. "type": "number"
  17338. },
  17339. "OriSellPlanQty": {
  17340. "description": "期初销售计划数量",
  17341. "type": "number"
  17342. },
  17343. "OriSellPricedQty": {
  17344. "description": "期初销售合同已定价数量",
  17345. "type": "number"
  17346. },
  17347. "SellFutureQty": {
  17348. "description": "卖出期货数量",
  17349. "type": "number"
  17350. },
  17351. "SellPlanQty": {
  17352. "description": "销售计划数量",
  17353. "type": "number"
  17354. },
  17355. "SellPricedQty": {
  17356. "description": "销售合同已定价数量",
  17357. "type": "number"
  17358. },
  17359. "TotalExposure": {
  17360. "description": "总敞口",
  17361. "type": "number"
  17362. },
  17363. "TotalFutureQty": {
  17364. "description": "期货总量",
  17365. "type": "number"
  17366. },
  17367. "TotalHedgeRatio": {
  17368. "description": "敞口比例",
  17369. "type": "number"
  17370. },
  17371. "TotalNeedHedgeQty": {
  17372. "description": "应套保总量(现货应套保总量)",
  17373. "type": "number"
  17374. },
  17375. "TotalSpotQty": {
  17376. "description": "现货总量",
  17377. "type": "number"
  17378. },
  17379. "arbitrageqty": {
  17380. "description": "套利量",
  17381. "type": "number"
  17382. },
  17383. "diffArbitrageQty": {
  17384. "description": "套利变动量",
  17385. "type": "number"
  17386. },
  17387. "diffExposoureQty": {
  17388. "description": "变动量(套保敞口)",
  17389. "type": "number"
  17390. },
  17391. "diffFutuQty": {
  17392. "description": "变动量(期货总量)",
  17393. "type": "number"
  17394. },
  17395. "diffHedgeQty": {
  17396. "description": "套保变动量",
  17397. "type": "number"
  17398. },
  17399. "diffQty": {
  17400. "description": "变动量(总敞口)",
  17401. "type": "number"
  17402. },
  17403. "diffSpotHedgeQty": {
  17404. "description": "变动量(现货应套保总量)",
  17405. "type": "number"
  17406. },
  17407. "diffSpotQty": {
  17408. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  17409. "type": "number"
  17410. },
  17411. "enumdicname": {
  17412. "description": "单位名称",
  17413. "type": "string"
  17414. },
  17415. "hedgeqty": {
  17416. "description": "套保量",
  17417. "type": "number"
  17418. },
  17419. "needarbitrageqty": {
  17420. "description": "应套利量",
  17421. "type": "number"
  17422. },
  17423. "needarbitrageratio": {
  17424. "description": "套利比例",
  17425. "type": "number"
  17426. },
  17427. "needhedgeqty": {
  17428. "description": "应套保量",
  17429. "type": "number"
  17430. },
  17431. "oriTotalFutuQty": {
  17432. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17433. "type": "number"
  17434. },
  17435. "oriTotalSpotQty": {
  17436. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17437. "type": "number"
  17438. },
  17439. "oriarbitrageqty": {
  17440. "description": "期初套利量",
  17441. "type": "number"
  17442. },
  17443. "orihedgeqty": {
  17444. "description": "期初套保量",
  17445. "type": "number"
  17446. },
  17447. "orineedhedgeexposoure": {
  17448. "description": "期初套保敞口",
  17449. "type": "number"
  17450. },
  17451. "oritotalexposure": {
  17452. "description": "期初总敞口",
  17453. "type": "number"
  17454. },
  17455. "oritotalfutureqty": {
  17456. "description": "期初期货总量",
  17457. "type": "number"
  17458. },
  17459. "oritotalneedhedgeqty": {
  17460. "description": "期初现货应套保量",
  17461. "type": "number"
  17462. }
  17463. }
  17464. },
  17465. "models.ErmcpRole": {
  17466. "type": "object",
  17467. "properties": {
  17468. "areauserid": {
  17469. "description": "所属机构",
  17470. "type": "integer"
  17471. },
  17472. "autoid": {
  17473. "description": "角色ID(自增ID)",
  17474. "type": "integer"
  17475. },
  17476. "modifierid": {
  17477. "description": "修改人(创建人)",
  17478. "type": "integer"
  17479. },
  17480. "modifiername": {
  17481. "description": "修改人名称",
  17482. "type": "string"
  17483. },
  17484. "modifytime": {
  17485. "description": "修改时间(创建时间)",
  17486. "type": "string"
  17487. },
  17488. "rolename": {
  17489. "description": "角色名称",
  17490. "type": "string"
  17491. },
  17492. "rolestatus": {
  17493. "description": "角色状态 - 1:启用 2:停用",
  17494. "type": "integer"
  17495. },
  17496. "roletype": {
  17497. "description": "角色类型 - 1- 管理端 2- 交易端",
  17498. "type": "integer"
  17499. }
  17500. }
  17501. },
  17502. "models.ErmcpRoleMenu": {
  17503. "type": "object",
  17504. "properties": {
  17505. "iconame": {
  17506. "description": "菜单图标",
  17507. "type": "string"
  17508. },
  17509. "ishadrole": {
  17510. "description": "是否有权限",
  17511. "type": "boolean"
  17512. },
  17513. "menutype": {
  17514. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17515. "type": "integer"
  17516. },
  17517. "parentcode": {
  17518. "description": "上级资源代码",
  17519. "type": "string"
  17520. },
  17521. "remark": {
  17522. "description": "菜单备注",
  17523. "type": "string"
  17524. },
  17525. "resourcecode": {
  17526. "description": "菜单代码",
  17527. "type": "string"
  17528. },
  17529. "resourcelevel": {
  17530. "description": "级别",
  17531. "type": "integer"
  17532. },
  17533. "resourcename": {
  17534. "description": "菜单名称",
  17535. "type": "string"
  17536. },
  17537. "roleid": {
  17538. "description": "角色id",
  17539. "type": "integer"
  17540. },
  17541. "sort": {
  17542. "description": "排序",
  17543. "type": "integer"
  17544. },
  17545. "url": {
  17546. "description": "URL",
  17547. "type": "string"
  17548. },
  17549. "userid": {
  17550. "description": "用户id",
  17551. "type": "integer"
  17552. }
  17553. }
  17554. },
  17555. "models.ErmcpRoleMenuEx": {
  17556. "type": "object",
  17557. "properties": {
  17558. "menu": {
  17559. "description": "父级菜单",
  17560. "type": "object",
  17561. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17562. },
  17563. "subMenu": {
  17564. "description": "子级菜单",
  17565. "type": "array",
  17566. "items": {
  17567. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  17568. }
  17569. }
  17570. }
  17571. },
  17572. "models.ErmcpTaAccount": {
  17573. "type": "object",
  17574. "properties": {
  17575. "accountid": {
  17576. "description": "账户id",
  17577. "type": "integer"
  17578. },
  17579. "accountname": {
  17580. "description": "账户名称",
  17581. "type": "string"
  17582. },
  17583. "currencyid": {
  17584. "description": "币种id",
  17585. "type": "integer"
  17586. },
  17587. "hedgeaccountcode": {
  17588. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17589. "type": "string"
  17590. },
  17591. "ismain": {
  17592. "description": "是否主账户 0-否 1-是",
  17593. "type": "integer"
  17594. },
  17595. "parentaccountid": {
  17596. "description": "父账户id",
  17597. "type": "integer"
  17598. },
  17599. "relateduserid": {
  17600. "description": "关联userid",
  17601. "type": "integer"
  17602. },
  17603. "tradefeetmpid": {
  17604. "description": "手续费模板id",
  17605. "type": "integer"
  17606. },
  17607. "tradefeetmpname": {
  17608. "description": "手续费模板名称",
  17609. "type": "string"
  17610. },
  17611. "trademargintmpid": {
  17612. "description": "保证金模板id",
  17613. "type": "integer"
  17614. },
  17615. "trademargintmpname": {
  17616. "description": "保证金模板名称",
  17617. "type": "string"
  17618. },
  17619. "traderatetmpid": {
  17620. "description": "汇率模板id",
  17621. "type": "integer"
  17622. },
  17623. "traderatetmpname": {
  17624. "description": "汇率模板名称",
  17625. "type": "string"
  17626. },
  17627. "tradestatus": {
  17628. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17629. "type": "integer"
  17630. },
  17631. "userid": {
  17632. "description": "用户id",
  17633. "type": "integer"
  17634. }
  17635. }
  17636. },
  17637. "models.ErmcpTaAccountEx": {
  17638. "type": "object",
  17639. "properties": {
  17640. "mainAcc": {
  17641. "description": "主账号",
  17642. "type": "object",
  17643. "$ref": "#/definitions/models.ErmcpTaAccountM"
  17644. },
  17645. "subacclist": {
  17646. "description": "子账号列表",
  17647. "type": "array",
  17648. "items": {
  17649. "$ref": "#/definitions/models.ErmcpTaAccount"
  17650. }
  17651. }
  17652. }
  17653. },
  17654. "models.ErmcpTaAccountInfo": {
  17655. "type": "object",
  17656. "properties": {
  17657. "accountid": {
  17658. "description": "资金账户ID",
  17659. "type": "integer"
  17660. },
  17661. "accountname": {
  17662. "description": "账户名称",
  17663. "type": "string"
  17664. },
  17665. "balance": {
  17666. "description": "期初余额",
  17667. "type": "number"
  17668. },
  17669. "capitalbalance": {
  17670. "description": "本金余额[外部子账户实际出入金余额]",
  17671. "type": "number"
  17672. },
  17673. "closepl": {
  17674. "description": "今日平仓盈亏",
  17675. "type": "number"
  17676. },
  17677. "creditdecrease": {
  17678. "description": "今日授信减少",
  17679. "type": "number"
  17680. },
  17681. "creditincrease": {
  17682. "description": "今日授信增加",
  17683. "type": "number"
  17684. },
  17685. "curdebt": {
  17686. "description": "期末欠款",
  17687. "type": "number"
  17688. },
  17689. "currencyid": {
  17690. "description": "货币ID",
  17691. "type": "integer"
  17692. },
  17693. "currentbalance": {
  17694. "description": "期末余额",
  17695. "type": "number"
  17696. },
  17697. "freezecharge": {
  17698. "description": "手续费冻结",
  17699. "type": "number"
  17700. },
  17701. "freezemargin": {
  17702. "description": "冻结保证金",
  17703. "type": "number"
  17704. },
  17705. "fromaccountid": {
  17706. "description": "所属上级账户",
  17707. "type": "integer"
  17708. },
  17709. "inamount": {
  17710. "description": "今日入金金额(包括三方入金)",
  17711. "type": "number"
  17712. },
  17713. "ismain": {
  17714. "description": "是否母账号 0:不是母账户 1:是母账户",
  17715. "type": "integer"
  17716. },
  17717. "mortgagecredit": {
  17718. "description": "授信金额",
  17719. "type": "number"
  17720. },
  17721. "oridebt": {
  17722. "description": "期初欠款",
  17723. "type": "number"
  17724. },
  17725. "orifreezecharge": {
  17726. "description": "期初手续费冻结",
  17727. "type": "number"
  17728. },
  17729. "orifreezemargin": {
  17730. "description": "期初冻结保证金",
  17731. "type": "number"
  17732. },
  17733. "orimortgagecredit": {
  17734. "description": "期初授信金额",
  17735. "type": "number"
  17736. },
  17737. "oriothercredit": {
  17738. "description": "期初其它授信金额",
  17739. "type": "number"
  17740. },
  17741. "oriotherfreezemargin": {
  17742. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17743. "type": "number"
  17744. },
  17745. "orioutamountfreeze": {
  17746. "description": "期初出金冻结",
  17747. "type": "number"
  17748. },
  17749. "oriusedmargin": {
  17750. "description": "期初占用保证金",
  17751. "type": "number"
  17752. },
  17753. "othercredit": {
  17754. "description": "其它授信金额",
  17755. "type": "number"
  17756. },
  17757. "othercreditdecrease": {
  17758. "description": "今日其它授信减少",
  17759. "type": "number"
  17760. },
  17761. "othercreditincrease": {
  17762. "description": "今日其它授信增加",
  17763. "type": "number"
  17764. },
  17765. "otherfreezemargin": {
  17766. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17767. "type": "number"
  17768. },
  17769. "outamount": {
  17770. "description": "今日出金金额(包括三方出金)",
  17771. "type": "number"
  17772. },
  17773. "outamountfreeze": {
  17774. "description": "出金冻结",
  17775. "type": "number"
  17776. },
  17777. "outthreshold": {
  17778. "description": "出金阈值",
  17779. "type": "number"
  17780. },
  17781. "parentaccountid": {
  17782. "description": "所属根账号",
  17783. "type": "integer"
  17784. },
  17785. "paycharge": {
  17786. "description": "今日手续费支出",
  17787. "type": "number"
  17788. },
  17789. "relateduserid": {
  17790. "description": "关联用户",
  17791. "type": "integer"
  17792. },
  17793. "signstatus": {
  17794. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17795. "type": "integer"
  17796. },
  17797. "sublevelpath": {
  17798. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17799. "type": "string"
  17800. },
  17801. "taaccounttype": {
  17802. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17803. "type": "integer"
  17804. },
  17805. "thirdinamount": {
  17806. "description": "今日三方入金",
  17807. "type": "number"
  17808. },
  17809. "thirdoutamount": {
  17810. "description": "今日三方出金",
  17811. "type": "number"
  17812. },
  17813. "tradestatus": {
  17814. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17815. "type": "integer"
  17816. },
  17817. "transferamount": {
  17818. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17819. "type": "number"
  17820. },
  17821. "usedmargin": {
  17822. "description": "占用保证金",
  17823. "type": "number"
  17824. },
  17825. "userid": {
  17826. "description": "用户ID",
  17827. "type": "integer"
  17828. }
  17829. }
  17830. },
  17831. "models.ErmcpTaAccountM": {
  17832. "type": "object",
  17833. "properties": {
  17834. "accountid": {
  17835. "description": "账户id",
  17836. "type": "integer"
  17837. },
  17838. "accountname": {
  17839. "description": "账户名称",
  17840. "type": "string"
  17841. },
  17842. "currencyid": {
  17843. "description": "币种id",
  17844. "type": "integer"
  17845. },
  17846. "fcid": {
  17847. "description": "期货公司id",
  17848. "type": "integer"
  17849. },
  17850. "fcname": {
  17851. "description": "期货公司代码",
  17852. "type": "string"
  17853. },
  17854. "hedgeaccountcode": {
  17855. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17856. "type": "string"
  17857. },
  17858. "ismain": {
  17859. "description": "是否主账户 0-否 1-是",
  17860. "type": "integer"
  17861. },
  17862. "parentaccountid": {
  17863. "description": "父账户id",
  17864. "type": "integer"
  17865. },
  17866. "relateduserid": {
  17867. "description": "关联userid",
  17868. "type": "integer"
  17869. },
  17870. "tradefeetmpid": {
  17871. "description": "手续费模板id",
  17872. "type": "integer"
  17873. },
  17874. "tradefeetmpname": {
  17875. "description": "手续费模板名称",
  17876. "type": "string"
  17877. },
  17878. "trademargintmpid": {
  17879. "description": "保证金模板id",
  17880. "type": "integer"
  17881. },
  17882. "trademargintmpname": {
  17883. "description": "保证金模板名称",
  17884. "type": "string"
  17885. },
  17886. "traderatetmpid": {
  17887. "description": "汇率模板id",
  17888. "type": "integer"
  17889. },
  17890. "traderatetmpname": {
  17891. "description": "汇率模板名称",
  17892. "type": "string"
  17893. },
  17894. "tradestatus": {
  17895. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17896. "type": "integer"
  17897. },
  17898. "userid": {
  17899. "description": "用户id",
  17900. "type": "integer"
  17901. }
  17902. }
  17903. },
  17904. "models.ErmcpTradeConfigTMP": {
  17905. "type": "object",
  17906. "properties": {
  17907. "areauserid": {
  17908. "description": "所属机构",
  17909. "type": "integer"
  17910. },
  17911. "basiccurrencyid": {
  17912. "description": "基本币种ID[汇率] - 目标币种",
  17913. "type": "integer"
  17914. },
  17915. "mainaccountid": {
  17916. "description": "主账户ID",
  17917. "type": "integer"
  17918. },
  17919. "modifierid": {
  17920. "description": "修改人",
  17921. "type": "integer"
  17922. },
  17923. "remark": {
  17924. "description": "备注",
  17925. "type": "string"
  17926. },
  17927. "tradeconfigtmpid": {
  17928. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17929. "type": "integer"
  17930. },
  17931. "tradeconfigtmpname": {
  17932. "description": "交易配置模板名称",
  17933. "type": "string"
  17934. },
  17935. "tradeconfigtmptype": {
  17936. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17937. "type": "integer"
  17938. },
  17939. "updatetime": {
  17940. "description": "更新时间",
  17941. "type": "string"
  17942. }
  17943. }
  17944. },
  17945. "models.ErmcpUserModel": {
  17946. "type": "object",
  17947. "properties": {
  17948. "address": {
  17949. "description": "通讯地址",
  17950. "type": "string"
  17951. },
  17952. "attachment1": {
  17953. "description": "附件1",
  17954. "type": "string"
  17955. },
  17956. "audittime": {
  17957. "description": "审核时间",
  17958. "type": "string"
  17959. },
  17960. "cardbackphotourl": {
  17961. "description": "证件反面图片地址",
  17962. "type": "string"
  17963. },
  17964. "cardfrontphotourl": {
  17965. "description": "证件正面图片地址",
  17966. "type": "string"
  17967. },
  17968. "cardnum": {
  17969. "description": "证件号码",
  17970. "type": "string"
  17971. },
  17972. "cardtype": {
  17973. "description": "证件类型",
  17974. "type": "integer"
  17975. },
  17976. "cardtypename": {
  17977. "description": "证件类型名称",
  17978. "type": "string"
  17979. },
  17980. "cityid": {
  17981. "description": "市",
  17982. "type": "integer"
  17983. },
  17984. "contactname": {
  17985. "description": "联系人",
  17986. "type": "string"
  17987. },
  17988. "countryid": {
  17989. "description": "国家",
  17990. "type": "integer"
  17991. },
  17992. "createtime": {
  17993. "description": "创建时间",
  17994. "type": "string"
  17995. },
  17996. "customername": {
  17997. "description": "企业名称",
  17998. "type": "string"
  17999. },
  18000. "districtid": {
  18001. "description": "区域",
  18002. "type": "integer"
  18003. },
  18004. "email": {
  18005. "description": "邮件",
  18006. "type": "string"
  18007. },
  18008. "legalpersonname": {
  18009. "description": "法人姓名(企业)",
  18010. "type": "string"
  18011. },
  18012. "memberuserid": {
  18013. "description": "所属机构ID",
  18014. "type": "integer"
  18015. },
  18016. "mobile": {
  18017. "description": "手机号码",
  18018. "type": "string"
  18019. },
  18020. "modifytime": {
  18021. "description": "修改时间",
  18022. "type": "string"
  18023. },
  18024. "nickname": {
  18025. "description": "昵称",
  18026. "type": "string"
  18027. },
  18028. "provinceid": {
  18029. "description": "省",
  18030. "type": "integer"
  18031. },
  18032. "remark": {
  18033. "description": "备注",
  18034. "type": "string"
  18035. },
  18036. "status": {
  18037. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18038. "type": "integer"
  18039. },
  18040. "statusdesc": {
  18041. "description": "账户状态中文描述",
  18042. "type": "string"
  18043. },
  18044. "taxpayernum": {
  18045. "description": "纳税人识别号",
  18046. "type": "string"
  18047. },
  18048. "telphone": {
  18049. "description": "联系电话",
  18050. "type": "string"
  18051. },
  18052. "userid": {
  18053. "description": "用户ID",
  18054. "type": "integer"
  18055. },
  18056. "userinfotype": {
  18057. "description": "客户类型",
  18058. "type": "string"
  18059. }
  18060. }
  18061. },
  18062. "models.ErmcpWareHouseInfo": {
  18063. "type": "object",
  18064. "properties": {
  18065. "address": {
  18066. "description": "详细地址",
  18067. "type": "string"
  18068. },
  18069. "areauserid": {
  18070. "description": "所属机构",
  18071. "type": "integer"
  18072. },
  18073. "autoid": {
  18074. "description": "自增ID(仓库ID)",
  18075. "type": "integer"
  18076. },
  18077. "cityid": {
  18078. "description": "市",
  18079. "type": "integer"
  18080. },
  18081. "contactname": {
  18082. "description": "联系人",
  18083. "type": "string"
  18084. },
  18085. "contactnum": {
  18086. "description": "联系电话",
  18087. "type": "string"
  18088. },
  18089. "countryid": {
  18090. "description": "国家",
  18091. "type": "integer"
  18092. },
  18093. "createtime": {
  18094. "description": "创建时间",
  18095. "type": "string"
  18096. },
  18097. "districtid": {
  18098. "description": "区",
  18099. "type": "integer"
  18100. },
  18101. "hasvideo": {
  18102. "description": "是否有视频 - 0:无 1:有",
  18103. "type": "integer"
  18104. },
  18105. "provinceid": {
  18106. "description": "省",
  18107. "type": "integer"
  18108. },
  18109. "remark": {
  18110. "description": "审核备注",
  18111. "type": "string"
  18112. },
  18113. "videourl": {
  18114. "description": "视频地址",
  18115. "type": "string"
  18116. },
  18117. "warehousecode": {
  18118. "description": "仓库代码",
  18119. "type": "string"
  18120. },
  18121. "warehousename": {
  18122. "description": "仓库名称",
  18123. "type": "string"
  18124. },
  18125. "warehousestatus": {
  18126. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18127. "type": "integer"
  18128. },
  18129. "warehousetype": {
  18130. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18131. "type": "integer"
  18132. }
  18133. }
  18134. },
  18135. "models.Externalexchange": {
  18136. "type": "object",
  18137. "required": [
  18138. "autoid"
  18139. ],
  18140. "properties": {
  18141. "autoid": {
  18142. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18143. "type": "integer"
  18144. },
  18145. "exchangefullname": {
  18146. "description": "外部交易所全称",
  18147. "type": "string"
  18148. },
  18149. "exexchangecode": {
  18150. "description": "外部交易所代码",
  18151. "type": "string"
  18152. },
  18153. "exexchangename": {
  18154. "description": "外部交易所名称(简称)",
  18155. "type": "string"
  18156. },
  18157. "ismarketprice": {
  18158. "description": "是否支持市价 - 0:不支持 1:支持",
  18159. "type": "integer"
  18160. },
  18161. "quotegear": {
  18162. "description": "行情档位(1-10)",
  18163. "type": "integer"
  18164. },
  18165. "showbrokerflag": {
  18166. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18167. "type": "integer"
  18168. },
  18169. "updatetime": {
  18170. "description": "更新时间",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "models.Funcmenulist": {
  18176. "type": "object",
  18177. "required": [
  18178. "resourcecode"
  18179. ],
  18180. "properties": {
  18181. "iconame": {
  18182. "description": "菜单图标",
  18183. "type": "string"
  18184. },
  18185. "menutype": {
  18186. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18187. "type": "integer"
  18188. },
  18189. "parentcode": {
  18190. "description": "上级资源代码",
  18191. "type": "string"
  18192. },
  18193. "remark": {
  18194. "description": "备注",
  18195. "type": "string"
  18196. },
  18197. "resourcecode": {
  18198. "description": "资源代码",
  18199. "type": "string"
  18200. },
  18201. "resourcelevel": {
  18202. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18203. "type": "integer"
  18204. },
  18205. "resourcename": {
  18206. "description": "资源名",
  18207. "type": "string"
  18208. },
  18209. "sort": {
  18210. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18211. "type": "integer"
  18212. },
  18213. "url": {
  18214. "description": "URL",
  18215. "type": "string"
  18216. }
  18217. }
  18218. },
  18219. "models.Goods": {
  18220. "type": "object",
  18221. "required": [
  18222. "goodscode",
  18223. "goodsid",
  18224. "goodsname",
  18225. "marketid"
  18226. ],
  18227. "properties": {
  18228. "agreeunit": {
  18229. "description": "合约单位",
  18230. "type": "number"
  18231. },
  18232. "auditaccountid": {
  18233. "description": "审核操作员账号",
  18234. "type": "integer"
  18235. },
  18236. "audittime": {
  18237. "description": "审核时间",
  18238. "type": "string"
  18239. },
  18240. "cancelaccountid": {
  18241. "description": "注销操作员账号",
  18242. "type": "integer"
  18243. },
  18244. "canceltime": {
  18245. "description": "注销时间",
  18246. "type": "string"
  18247. },
  18248. "closepricemode": {
  18249. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18250. "type": "integer"
  18251. },
  18252. "closepriceparam": {
  18253. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18254. "type": "number"
  18255. },
  18256. "createtime": {
  18257. "description": "创建时间",
  18258. "type": "string"
  18259. },
  18260. "creatorid": {
  18261. "description": "创建人",
  18262. "type": "integer"
  18263. },
  18264. "currencyid": {
  18265. "description": "报价货币ID",
  18266. "type": "integer"
  18267. },
  18268. "cutmode": {
  18269. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18270. "type": "integer"
  18271. },
  18272. "decimalplace": {
  18273. "description": "报价小数位",
  18274. "type": "integer"
  18275. },
  18276. "delistingdate": {
  18277. "description": "商品退市时间(状态:退市) -- 已作废",
  18278. "type": "string"
  18279. },
  18280. "delistingmode": {
  18281. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18282. "type": "integer"
  18283. },
  18284. "deliveryflag": {
  18285. "description": "交割标志 - 0:不可交割 1:可交割",
  18286. "type": "integer"
  18287. },
  18288. "forceclosemode": {
  18289. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18290. "type": "integer"
  18291. },
  18292. "forceclosevalue": {
  18293. "description": "定期强平参数 [收益权]",
  18294. "type": "integer"
  18295. },
  18296. "goodscode": {
  18297. "description": "商品代码(内部)",
  18298. "type": "string"
  18299. },
  18300. "goodscurrencyid": {
  18301. "description": "合约货币ID",
  18302. "type": "integer"
  18303. },
  18304. "goodsgroupid": {
  18305. "description": "所属商品组ID",
  18306. "type": "integer"
  18307. },
  18308. "goodsid": {
  18309. "description": "商品ID(自增ID SEQ_GOODS)",
  18310. "type": "integer"
  18311. },
  18312. "goodsname": {
  18313. "description": "商品名称",
  18314. "type": "string"
  18315. },
  18316. "goodsquotetype": {
  18317. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18318. "type": "integer"
  18319. },
  18320. "goodsstatus": {
  18321. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18322. "type": "integer"
  18323. },
  18324. "goodstradetype": {
  18325. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18326. "type": "integer"
  18327. },
  18328. "goodunitid": {
  18329. "description": "报价单位ID",
  18330. "type": "integer"
  18331. },
  18332. "hasquoter": {
  18333. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18334. "type": "integer"
  18335. },
  18336. "hqprotecttime": {
  18337. "description": "行情保护时间(秒)",
  18338. "type": "integer"
  18339. },
  18340. "innerdealmode": {
  18341. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18342. "type": "integer"
  18343. },
  18344. "isbuylimited": {
  18345. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18346. "type": "integer"
  18347. },
  18348. "lasttradedate": {
  18349. "description": "最后交易日期(状态:待退市)",
  18350. "type": "string"
  18351. },
  18352. "listingdate": {
  18353. "description": "交易开始日期",
  18354. "type": "string"
  18355. },
  18356. "marketid": {
  18357. "description": "所属市场ID",
  18358. "type": "integer"
  18359. },
  18360. "modifierid": {
  18361. "description": "修改人",
  18362. "type": "integer"
  18363. },
  18364. "modifystatus": {
  18365. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18366. "type": "integer"
  18367. },
  18368. "modifytime": {
  18369. "description": "修改时间",
  18370. "type": "string"
  18371. },
  18372. "outerdealmode": {
  18373. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18374. "type": "integer"
  18375. },
  18376. "outgoodscode": {
  18377. "description": "商品代码(外部)",
  18378. "type": "string"
  18379. },
  18380. "qtydecimalplace": {
  18381. "description": "成交量小数位",
  18382. "type": "integer"
  18383. },
  18384. "quotegear": {
  18385. "description": "行情档位(1-10)",
  18386. "type": "integer"
  18387. },
  18388. "quoteminunit": {
  18389. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18390. "type": "integer"
  18391. },
  18392. "quoteshowtype": {
  18393. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18394. "type": "integer"
  18395. },
  18396. "quoteshowtypeinterval": {
  18397. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18398. "type": "integer"
  18399. },
  18400. "remark": {
  18401. "description": "备注",
  18402. "type": "string"
  18403. }
  18404. }
  18405. },
  18406. "models.GoodsIDAndName": {
  18407. "type": "object",
  18408. "required": [
  18409. "goodscode",
  18410. "goodsid",
  18411. "goodsname",
  18412. "marketid"
  18413. ],
  18414. "properties": {
  18415. "goodscode": {
  18416. "description": "商品代码(内部)",
  18417. "type": "string"
  18418. },
  18419. "goodsid": {
  18420. "description": "商品ID(自增ID SEQ_GOODS)",
  18421. "type": "integer"
  18422. },
  18423. "goodsname": {
  18424. "description": "商品名称",
  18425. "type": "string"
  18426. },
  18427. "marketid": {
  18428. "description": "所属市场ID",
  18429. "type": "integer"
  18430. }
  18431. }
  18432. },
  18433. "models.Goodsgroup": {
  18434. "type": "object",
  18435. "required": [
  18436. "goodsgroupid",
  18437. "goodsgroupname",
  18438. "goodsgroupstatus",
  18439. "marketid"
  18440. ],
  18441. "properties": {
  18442. "agreeunit": {
  18443. "description": "合约单位",
  18444. "type": "number"
  18445. },
  18446. "canshort": {
  18447. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18448. "type": "integer"
  18449. },
  18450. "closepricemode": {
  18451. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18452. "type": "integer"
  18453. },
  18454. "closepriceparam": {
  18455. "description": "强平最新价浮动比例 - 方式为2时使用",
  18456. "type": "number"
  18457. },
  18458. "createtime": {
  18459. "description": "创建时间",
  18460. "type": "string"
  18461. },
  18462. "creatorid": {
  18463. "description": "创建人",
  18464. "type": "integer"
  18465. },
  18466. "currencyid": {
  18467. "description": "报价货币ID",
  18468. "type": "integer"
  18469. },
  18470. "decimalplace": {
  18471. "description": "报价小数位",
  18472. "type": "integer"
  18473. },
  18474. "exercisetype": {
  18475. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18476. "type": "integer"
  18477. },
  18478. "exexchangeid": {
  18479. "description": "外部交易所ID[通道交易]",
  18480. "type": "integer"
  18481. },
  18482. "goodsgroupid": {
  18483. "description": "商品组ID(自增ID)",
  18484. "type": "integer"
  18485. },
  18486. "goodsgroupname": {
  18487. "description": "商品组名称",
  18488. "type": "string"
  18489. },
  18490. "goodsgroupstatus": {
  18491. "description": "商品组状态 - 1:正常 2:注销",
  18492. "type": "integer"
  18493. },
  18494. "goodunitid": {
  18495. "description": "报价单位ID",
  18496. "type": "integer"
  18497. },
  18498. "innerdealmode": {
  18499. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18500. "type": "integer"
  18501. },
  18502. "isbuylimited": {
  18503. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18504. "type": "integer"
  18505. },
  18506. "marketid": {
  18507. "description": "所属市场ID",
  18508. "type": "integer"
  18509. },
  18510. "modifierid": {
  18511. "description": "修改人",
  18512. "type": "integer"
  18513. },
  18514. "modifytime": {
  18515. "description": "修改时间",
  18516. "type": "string"
  18517. },
  18518. "outerdealmode": {
  18519. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18520. "type": "integer"
  18521. },
  18522. "outergroupcode": {
  18523. "description": "外部商品组代码[通道交易]",
  18524. "type": "string"
  18525. },
  18526. "premiumdecimalplace": {
  18527. "description": "权利金小数位[场外期权]",
  18528. "type": "integer"
  18529. },
  18530. "premiumspreadalgorithm": {
  18531. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18532. "type": "integer"
  18533. },
  18534. "premiumspreadvalue": {
  18535. "description": "权利金点差值[场外期权]",
  18536. "type": "number"
  18537. },
  18538. "qtydecimalplace": {
  18539. "description": "成交量小数位",
  18540. "type": "integer"
  18541. },
  18542. "quotegear": {
  18543. "description": "行情档位(1-10)",
  18544. "type": "integer"
  18545. },
  18546. "quoteminunit": {
  18547. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18548. "type": "integer"
  18549. },
  18550. "quoterid": {
  18551. "description": "报价商ID[场外期权]",
  18552. "type": "integer"
  18553. },
  18554. "quotesourcegroupid": {
  18555. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18556. "type": "integer"
  18557. },
  18558. "syncgoodsqty": {
  18559. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18560. "type": "integer"
  18561. }
  18562. }
  18563. },
  18564. "models.Goodssortbypreposition": {
  18565. "type": "object",
  18566. "required": [
  18567. "goodscode",
  18568. "tradedate"
  18569. ],
  18570. "properties": {
  18571. "goodscode": {
  18572. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18573. "type": "string"
  18574. },
  18575. "goodsgroupcode": {
  18576. "description": "品种代码",
  18577. "type": "string"
  18578. },
  18579. "prepositionqty": {
  18580. "description": "昨持仓量",
  18581. "type": "integer"
  18582. },
  18583. "sortindex": {
  18584. "description": "排序",
  18585. "type": "integer"
  18586. },
  18587. "tradedate": {
  18588. "description": "交易日",
  18589. "type": "string"
  18590. },
  18591. "updatetime": {
  18592. "description": "更新时间",
  18593. "type": "string"
  18594. }
  18595. }
  18596. },
  18597. "models.Hedgeinnerholderdetail": {
  18598. "type": "object",
  18599. "required": [
  18600. "buyorsell",
  18601. "tradeid"
  18602. ],
  18603. "properties": {
  18604. "accountid": {
  18605. "description": "账号ID",
  18606. "type": "integer"
  18607. },
  18608. "buyorsell": {
  18609. "description": "方向 - 0:买 1:卖",
  18610. "type": "integer"
  18611. },
  18612. "freezeqty": {
  18613. "description": "冻结数量 - 按单平使用",
  18614. "type": "integer"
  18615. },
  18616. "goodsid": {
  18617. "description": "商品ID",
  18618. "type": "integer"
  18619. },
  18620. "holderamount": {
  18621. "description": "持仓金额 [商品币种]",
  18622. "type": "number"
  18623. },
  18624. "holderdays": {
  18625. "description": "剩余冻结天数",
  18626. "type": "integer"
  18627. },
  18628. "holderprice": {
  18629. "description": "持仓价格",
  18630. "type": "number"
  18631. },
  18632. "holderqty": {
  18633. "description": "持仓数量",
  18634. "type": "integer"
  18635. },
  18636. "marketid": {
  18637. "description": "市场ID",
  18638. "type": "integer"
  18639. },
  18640. "openprice": {
  18641. "description": "建仓价格",
  18642. "type": "number"
  18643. },
  18644. "openqty": {
  18645. "description": "建仓数量",
  18646. "type": "integer"
  18647. },
  18648. "parentaccountid": {
  18649. "description": "所属母账户",
  18650. "type": "integer"
  18651. },
  18652. "releaseamount": {
  18653. "description": "释放持仓金额[商品币种]",
  18654. "type": "number"
  18655. },
  18656. "tradeamount": {
  18657. "description": "成交金额[账户]",
  18658. "type": "number"
  18659. },
  18660. "tradedate": {
  18661. "description": "交易日(yyyyMMdd)",
  18662. "type": "string"
  18663. },
  18664. "tradeid": {
  18665. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18666. "type": "string"
  18667. },
  18668. "tradetime": {
  18669. "description": "交易时间",
  18670. "type": "string"
  18671. }
  18672. }
  18673. },
  18674. "models.Hedgemarketopenlog": {
  18675. "type": "object",
  18676. "required": [
  18677. "accountid"
  18678. ],
  18679. "properties": {
  18680. "accountid": {
  18681. "description": "资金账号[外部母账户]",
  18682. "type": "integer"
  18683. },
  18684. "fcname": {
  18685. "description": "期货公司名称",
  18686. "type": "string"
  18687. },
  18688. "handlestatus": {
  18689. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  18690. "type": "integer"
  18691. },
  18692. "marketid": {
  18693. "description": "市场ID",
  18694. "type": "integer"
  18695. },
  18696. "status": {
  18697. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  18698. "type": "integer"
  18699. },
  18700. "tradedate": {
  18701. "description": "交易日(yyyyMMdd)",
  18702. "type": "string"
  18703. },
  18704. "updatetime": {
  18705. "description": "更新时间",
  18706. "type": "string"
  18707. }
  18708. }
  18709. },
  18710. "models.HsbyBuyMyPayOrder": {
  18711. "type": "object",
  18712. "required": [
  18713. "goodscode",
  18714. "goodsname",
  18715. "tradeid",
  18716. "trademode"
  18717. ],
  18718. "properties": {
  18719. "agreeunit": {
  18720. "description": "合约单位",
  18721. "type": "number"
  18722. },
  18723. "buyaccountid": {
  18724. "description": "买方账号ID[报价币种]",
  18725. "type": "integer"
  18726. },
  18727. "buyorderid": {
  18728. "description": "买方委托单号",
  18729. "type": "string"
  18730. },
  18731. "createtime": {
  18732. "description": "创建时间",
  18733. "type": "string"
  18734. },
  18735. "currencysign": {
  18736. "description": "货币符号",
  18737. "type": "string"
  18738. },
  18739. "decimalplace": {
  18740. "description": "报价小数位",
  18741. "type": "integer"
  18742. },
  18743. "goodscode": {
  18744. "description": "商品代码(内部)",
  18745. "type": "string"
  18746. },
  18747. "goodsid": {
  18748. "description": "商品ID",
  18749. "type": "integer"
  18750. },
  18751. "goodsname": {
  18752. "description": "商品名称",
  18753. "type": "string"
  18754. },
  18755. "marketid": {
  18756. "description": "市场ID",
  18757. "type": "integer"
  18758. },
  18759. "offamount": {
  18760. "description": "优惠金额",
  18761. "type": "number"
  18762. },
  18763. "originalamount": {
  18764. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18765. "type": "number"
  18766. },
  18767. "payamount": {
  18768. "description": "支付金额 = TradeAmount + TradeCharge",
  18769. "type": "number"
  18770. },
  18771. "payflag": {
  18772. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18773. "type": "integer"
  18774. },
  18775. "paylimitedtime": {
  18776. "description": "支付期限",
  18777. "type": "string"
  18778. },
  18779. "paytime": {
  18780. "description": "付款时间",
  18781. "type": "string"
  18782. },
  18783. "picurls1": {
  18784. "description": "预售商品介绍图片[多张用逗号分隔]",
  18785. "type": "string"
  18786. },
  18787. "picurls2": {
  18788. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18789. "type": "string"
  18790. },
  18791. "sellaccountid": {
  18792. "description": "卖方账号ID[报价币种]",
  18793. "type": "integer"
  18794. },
  18795. "sellorderid": {
  18796. "description": "卖方委托单号",
  18797. "type": "string"
  18798. },
  18799. "tradeamount": {
  18800. "description": "成交金额",
  18801. "type": "number"
  18802. },
  18803. "tradecharge": {
  18804. "description": "成交手续费(买方)",
  18805. "type": "number"
  18806. },
  18807. "tradedate": {
  18808. "description": "交易日(yyyyMMdd)",
  18809. "type": "string"
  18810. },
  18811. "tradeid": {
  18812. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18813. "type": "string"
  18814. },
  18815. "trademode": {
  18816. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18817. "type": "integer"
  18818. },
  18819. "tradeprice": {
  18820. "description": "成交价格",
  18821. "type": "number"
  18822. },
  18823. "tradeqty": {
  18824. "description": "成交数量",
  18825. "type": "integer"
  18826. },
  18827. "vendorname1": {
  18828. "description": "预售商品供应商名称",
  18829. "type": "string"
  18830. },
  18831. "vendorname2": {
  18832. "description": "挂牌商品供应商名称",
  18833. "type": "string"
  18834. }
  18835. }
  18836. },
  18837. "models.HsbyBuyMyTradeDetail": {
  18838. "type": "object",
  18839. "required": [
  18840. "accountid",
  18841. "buyorsell",
  18842. "goodscode",
  18843. "goodsid",
  18844. "goodsname",
  18845. "marketid",
  18846. "orderid",
  18847. "qty",
  18848. "time",
  18849. "trademode"
  18850. ],
  18851. "properties": {
  18852. "accountid": {
  18853. "description": "账户ID[报价币种]",
  18854. "type": "integer"
  18855. },
  18856. "agreeunit": {
  18857. "description": "合约单位",
  18858. "type": "number"
  18859. },
  18860. "amount": {
  18861. "description": "金额 = 价格 * 数量 * 合约单位",
  18862. "type": "number"
  18863. },
  18864. "buyorsell": {
  18865. "description": "买卖 - 0:买 1:卖",
  18866. "type": "integer"
  18867. },
  18868. "currencysign": {
  18869. "description": "货币符号",
  18870. "type": "string"
  18871. },
  18872. "decimalplace": {
  18873. "description": "报价小数位",
  18874. "type": "integer"
  18875. },
  18876. "goodscode": {
  18877. "description": "商品代码(内部)",
  18878. "type": "string"
  18879. },
  18880. "goodsid": {
  18881. "description": "商品ID",
  18882. "type": "integer"
  18883. },
  18884. "goodsname": {
  18885. "description": "商品名称",
  18886. "type": "string"
  18887. },
  18888. "marketid": {
  18889. "description": "市场ID",
  18890. "type": "integer"
  18891. },
  18892. "orderamount": {
  18893. "description": "委托金额",
  18894. "type": "number"
  18895. },
  18896. "orderid": {
  18897. "description": "单号(成交单号)",
  18898. "type": "string"
  18899. },
  18900. "picurls1": {
  18901. "description": "预售商品介绍图片[多张用逗号分隔]",
  18902. "type": "string"
  18903. },
  18904. "picurls2": {
  18905. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18906. "type": "string"
  18907. },
  18908. "price": {
  18909. "description": "价格",
  18910. "type": "number"
  18911. },
  18912. "qty": {
  18913. "description": "数量",
  18914. "type": "integer"
  18915. },
  18916. "time": {
  18917. "description": "时间",
  18918. "type": "string"
  18919. },
  18920. "trademode": {
  18921. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18922. "type": "integer"
  18923. },
  18924. "vendorname1": {
  18925. "description": "预售商品供应商名称",
  18926. "type": "string"
  18927. },
  18928. "vendorname2": {
  18929. "description": "挂牌商品供应商名称",
  18930. "type": "string"
  18931. }
  18932. }
  18933. },
  18934. "models.HsbyGoodsOrderDetail": {
  18935. "type": "object",
  18936. "required": [
  18937. "buyorsell",
  18938. "orderid",
  18939. "ordertime"
  18940. ],
  18941. "properties": {
  18942. "buyorsell": {
  18943. "description": "买卖 - 0:买 1:卖",
  18944. "type": "integer"
  18945. },
  18946. "currencysign": {
  18947. "description": "货币符号",
  18948. "type": "string"
  18949. },
  18950. "customername": {
  18951. "description": "客户名称(企业名称),已脱敏",
  18952. "type": "string"
  18953. },
  18954. "enableqty": {
  18955. "description": "可用数量",
  18956. "type": "integer"
  18957. },
  18958. "goodunit": {
  18959. "description": "报价单位",
  18960. "type": "string"
  18961. },
  18962. "orderid": {
  18963. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18964. "type": "string"
  18965. },
  18966. "orderprice": {
  18967. "description": "委托价格",
  18968. "type": "number"
  18969. },
  18970. "ordertime": {
  18971. "description": "委托时间",
  18972. "type": "string"
  18973. }
  18974. }
  18975. },
  18976. "models.HsbyListingGoodsDetail": {
  18977. "type": "object",
  18978. "required": [
  18979. "goodscode",
  18980. "goodsid",
  18981. "goodsname",
  18982. "marketid",
  18983. "trademode"
  18984. ],
  18985. "properties": {
  18986. "agreeunit": {
  18987. "description": "合约单位",
  18988. "type": "number"
  18989. },
  18990. "buymaxqty": {
  18991. "description": "购买上限 [71] - 0为不限",
  18992. "type": "integer"
  18993. },
  18994. "currency": {
  18995. "description": "货币",
  18996. "type": "string"
  18997. },
  18998. "currencysign": {
  18999. "description": "货币符号",
  19000. "type": "string"
  19001. },
  19002. "decimalplace": {
  19003. "description": "报价小数位",
  19004. "type": "integer"
  19005. },
  19006. "desccityid": {
  19007. "description": "目的地(市)ID",
  19008. "type": "integer"
  19009. },
  19010. "descprovinceid": {
  19011. "description": "目的地(省)ID",
  19012. "type": "integer"
  19013. },
  19014. "goodscode": {
  19015. "description": "商品代码(内部)",
  19016. "type": "string"
  19017. },
  19018. "goodsdesc": {
  19019. "description": "商品详情",
  19020. "type": "string"
  19021. },
  19022. "goodsid": {
  19023. "description": "商品ID(自增ID SEQ_GOODS)",
  19024. "type": "integer"
  19025. },
  19026. "goodsname": {
  19027. "description": "商品名称",
  19028. "type": "string"
  19029. },
  19030. "goodsprice": {
  19031. "description": "商品价格",
  19032. "type": "number"
  19033. },
  19034. "hotindex": {
  19035. "description": "景点热度",
  19036. "type": "integer"
  19037. },
  19038. "last": {
  19039. "description": "现价",
  19040. "type": "number"
  19041. },
  19042. "limitdown": {
  19043. "description": "跌停价",
  19044. "type": "number"
  19045. },
  19046. "limitup": {
  19047. "description": "涨停价",
  19048. "type": "number"
  19049. },
  19050. "lotsize": {
  19051. "description": "手数最小变动单位",
  19052. "type": "integer"
  19053. },
  19054. "marketid": {
  19055. "description": "所属市场ID",
  19056. "type": "integer"
  19057. },
  19058. "picurls": {
  19059. "description": "介绍图片[多张用逗号分隔]",
  19060. "type": "string"
  19061. },
  19062. "quoteminunit": {
  19063. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19064. "type": "integer"
  19065. },
  19066. "stepvalue": {
  19067. "description": "价格最小变动单位",
  19068. "type": "number"
  19069. },
  19070. "trademode": {
  19071. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19072. "type": "integer"
  19073. },
  19074. "vendorattr": {
  19075. "description": "供应商附件(多张,逗号分隔)",
  19076. "type": "string"
  19077. },
  19078. "vendorname": {
  19079. "description": "供应商名称",
  19080. "type": "string"
  19081. },
  19082. "vendorphone": {
  19083. "description": "供应商客服电话",
  19084. "type": "string"
  19085. },
  19086. "videourls": {
  19087. "description": "介绍视频[多张用逗号分隔]",
  19088. "type": "string"
  19089. }
  19090. }
  19091. },
  19092. "models.HsbyMarketGoods": {
  19093. "type": "object",
  19094. "required": [
  19095. "accountid",
  19096. "buyorsell",
  19097. "goodscode",
  19098. "goodsid",
  19099. "goodsname",
  19100. "marketid",
  19101. "orderid",
  19102. "trademode"
  19103. ],
  19104. "properties": {
  19105. "accountid": {
  19106. "description": "账户ID[报价币种]",
  19107. "type": "integer"
  19108. },
  19109. "agreeunit": {
  19110. "description": "合约单位",
  19111. "type": "number"
  19112. },
  19113. "buyorsell": {
  19114. "description": "买卖 - 0:买 1:卖",
  19115. "type": "integer"
  19116. },
  19117. "categoryid": {
  19118. "description": "类别ID(WRCATEGORY)",
  19119. "type": "integer"
  19120. },
  19121. "currency": {
  19122. "description": "货币",
  19123. "type": "string"
  19124. },
  19125. "currencysign": {
  19126. "description": "货币符号",
  19127. "type": "string"
  19128. },
  19129. "customername": {
  19130. "description": "卖家名称",
  19131. "type": "string"
  19132. },
  19133. "decimalplace": {
  19134. "description": "报价小数位",
  19135. "type": "integer"
  19136. },
  19137. "goodscode": {
  19138. "description": "商品代码(内部)",
  19139. "type": "string"
  19140. },
  19141. "goodsid": {
  19142. "description": "商品ID",
  19143. "type": "integer"
  19144. },
  19145. "goodsname": {
  19146. "description": "商品名称",
  19147. "type": "string"
  19148. },
  19149. "goodsprice": {
  19150. "description": "商品价格",
  19151. "type": "number"
  19152. },
  19153. "hascoupon": {
  19154. "description": "是否可用优惠卷",
  19155. "type": "boolean"
  19156. },
  19157. "hotindex": {
  19158. "description": "景点热度",
  19159. "type": "integer"
  19160. },
  19161. "marketid": {
  19162. "description": "市场ID",
  19163. "type": "integer"
  19164. },
  19165. "orderid": {
  19166. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19167. "type": "string"
  19168. },
  19169. "orderprice": {
  19170. "description": "委托价格",
  19171. "type": "number"
  19172. },
  19173. "orderstatus": {
  19174. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19175. "type": "integer"
  19176. },
  19177. "picurls": {
  19178. "description": "介绍图片[多张用逗号分隔]",
  19179. "type": "string"
  19180. },
  19181. "quoteminunit": {
  19182. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19183. "type": "integer"
  19184. },
  19185. "sellUserID": {
  19186. "description": "卖方UserID",
  19187. "type": "integer"
  19188. },
  19189. "trademode": {
  19190. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19191. "type": "integer"
  19192. },
  19193. "videourls": {
  19194. "description": "介绍视频[多张用逗号分隔]",
  19195. "type": "string"
  19196. }
  19197. }
  19198. },
  19199. "models.HsbyMarketGoodsDetail": {
  19200. "type": "object",
  19201. "required": [
  19202. "accountid",
  19203. "buyorsell",
  19204. "goodscode",
  19205. "goodsid",
  19206. "goodsname",
  19207. "marketid",
  19208. "orderid",
  19209. "orderqty",
  19210. "trademode"
  19211. ],
  19212. "properties": {
  19213. "accountid": {
  19214. "description": "账户ID[报价币种]",
  19215. "type": "integer"
  19216. },
  19217. "agreeunit": {
  19218. "description": "合约单位",
  19219. "type": "number"
  19220. },
  19221. "buymaxqty": {
  19222. "description": "购买上限 [71] - 0为不限",
  19223. "type": "integer"
  19224. },
  19225. "buyorsell": {
  19226. "description": "买卖 - 0:买 1:卖",
  19227. "type": "integer"
  19228. },
  19229. "cancelqty": {
  19230. "description": "撤单数量",
  19231. "type": "integer"
  19232. },
  19233. "categoryid": {
  19234. "description": "类别ID(WRCATEGORY)",
  19235. "type": "integer"
  19236. },
  19237. "currency": {
  19238. "description": "货币",
  19239. "type": "string"
  19240. },
  19241. "currencysign": {
  19242. "description": "货币符号",
  19243. "type": "string"
  19244. },
  19245. "customername": {
  19246. "description": "卖家名称",
  19247. "type": "string"
  19248. },
  19249. "decimalplace": {
  19250. "description": "报价小数位",
  19251. "type": "integer"
  19252. },
  19253. "goodscode": {
  19254. "description": "商品代码(内部)",
  19255. "type": "string"
  19256. },
  19257. "goodsdesc": {
  19258. "description": "商品详情",
  19259. "type": "string"
  19260. },
  19261. "goodsid": {
  19262. "description": "商品ID",
  19263. "type": "integer"
  19264. },
  19265. "goodsname": {
  19266. "description": "商品名称",
  19267. "type": "string"
  19268. },
  19269. "goodsprice": {
  19270. "description": "商品价格",
  19271. "type": "number"
  19272. },
  19273. "hotindex": {
  19274. "description": "景点热度",
  19275. "type": "integer"
  19276. },
  19277. "lotsize": {
  19278. "description": "手数最小变动单位",
  19279. "type": "integer"
  19280. },
  19281. "marketid": {
  19282. "description": "市场ID",
  19283. "type": "integer"
  19284. },
  19285. "orderid": {
  19286. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19287. "type": "string"
  19288. },
  19289. "orderprice": {
  19290. "description": "委托价格",
  19291. "type": "number"
  19292. },
  19293. "orderqty": {
  19294. "description": "委托数量",
  19295. "type": "integer"
  19296. },
  19297. "orderstatus": {
  19298. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19299. "type": "integer"
  19300. },
  19301. "picurls": {
  19302. "description": "介绍图片[多张用逗号分隔]",
  19303. "type": "string"
  19304. },
  19305. "quoteminunit": {
  19306. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19307. "type": "integer"
  19308. },
  19309. "sellUserID": {
  19310. "description": "卖方UserID",
  19311. "type": "integer"
  19312. },
  19313. "trademode": {
  19314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19315. "type": "integer"
  19316. },
  19317. "tradeqty": {
  19318. "description": "成交数量",
  19319. "type": "integer"
  19320. },
  19321. "vendorattr": {
  19322. "description": "供应商附件(多张,逗号分隔)",
  19323. "type": "string"
  19324. },
  19325. "vendorname": {
  19326. "description": "供应商名称",
  19327. "type": "string"
  19328. },
  19329. "vendorphone": {
  19330. "description": "供应商客服电话",
  19331. "type": "string"
  19332. },
  19333. "videourls": {
  19334. "description": "介绍视频[多张用逗号分隔]",
  19335. "type": "string"
  19336. }
  19337. }
  19338. },
  19339. "models.HsbyMarketInfo": {
  19340. "type": "object",
  19341. "required": [
  19342. "marketid",
  19343. "marketstatus",
  19344. "trademode"
  19345. ],
  19346. "properties": {
  19347. "marketid": {
  19348. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19349. "type": "integer"
  19350. },
  19351. "marketname": {
  19352. "description": "市场名称",
  19353. "type": "string"
  19354. },
  19355. "marketstatus": {
  19356. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19357. "type": "integer"
  19358. },
  19359. "trademode": {
  19360. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19361. "type": "integer"
  19362. }
  19363. }
  19364. },
  19365. "models.HsbyMyGoods": {
  19366. "type": "object",
  19367. "required": [
  19368. "accountid",
  19369. "goodscode",
  19370. "goodsid",
  19371. "goodsname",
  19372. "marketid",
  19373. "trademode"
  19374. ],
  19375. "properties": {
  19376. "accountid": {
  19377. "description": "账号Id",
  19378. "type": "integer"
  19379. },
  19380. "agreeunit": {
  19381. "description": "合约单位",
  19382. "type": "number"
  19383. },
  19384. "buyaverageprice": {
  19385. "description": "持仓均价",
  19386. "type": "number"
  19387. },
  19388. "buycurholderamount": {
  19389. "description": "买当前持仓总金额[商品币种]",
  19390. "type": "number"
  19391. },
  19392. "buycurpositionqty": {
  19393. "description": "买当前持仓总数量",
  19394. "type": "integer"
  19395. },
  19396. "buymaxqty": {
  19397. "description": "购买上限 [71] - 0为不限",
  19398. "type": "integer"
  19399. },
  19400. "currencysign": {
  19401. "description": "货币符号",
  19402. "type": "string"
  19403. },
  19404. "decimalplace": {
  19405. "description": "报价小数位",
  19406. "type": "integer"
  19407. },
  19408. "enableqty": {
  19409. "description": "可用数量",
  19410. "type": "integer"
  19411. },
  19412. "goodscode": {
  19413. "description": "商品代码(内部)",
  19414. "type": "string"
  19415. },
  19416. "goodsid": {
  19417. "description": "商品Id",
  19418. "type": "integer"
  19419. },
  19420. "goodsname": {
  19421. "description": "商品名称",
  19422. "type": "string"
  19423. },
  19424. "goodsprice": {
  19425. "description": "商品价格",
  19426. "type": "number"
  19427. },
  19428. "goodsstatus": {
  19429. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19430. "type": "integer"
  19431. },
  19432. "last": {
  19433. "description": "现价(仅使用于挂牌点选)",
  19434. "type": "number"
  19435. },
  19436. "limitdown": {
  19437. "description": "跌停价(仅使用于挂牌点选)",
  19438. "type": "number"
  19439. },
  19440. "limitup": {
  19441. "description": "涨停价(仅使用于挂牌点选)",
  19442. "type": "number"
  19443. },
  19444. "lotsize": {
  19445. "description": "手数最小变动单位",
  19446. "type": "integer"
  19447. },
  19448. "marketid": {
  19449. "description": "所属市场ID",
  19450. "type": "integer"
  19451. },
  19452. "picurls": {
  19453. "description": "介绍图片[多张用逗号分隔]",
  19454. "type": "string"
  19455. },
  19456. "quoteminunit": {
  19457. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19458. "type": "integer"
  19459. },
  19460. "stepvalue": {
  19461. "description": "价格最小变动单位",
  19462. "type": "number"
  19463. },
  19464. "trademode": {
  19465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19466. "type": "integer"
  19467. }
  19468. }
  19469. },
  19470. "models.HsbyMyPackage": {
  19471. "type": "object",
  19472. "required": [
  19473. "goodscode",
  19474. "goodsname",
  19475. "takeorderid",
  19476. "trademode"
  19477. ],
  19478. "properties": {
  19479. "accountid": {
  19480. "description": "账户ID",
  19481. "type": "integer"
  19482. },
  19483. "address": {
  19484. "description": "提货人详细地址",
  19485. "type": "string"
  19486. },
  19487. "agreeunit": {
  19488. "description": "合约单位",
  19489. "type": "number"
  19490. },
  19491. "amount": {
  19492. "description": "提货金额",
  19493. "type": "number"
  19494. },
  19495. "auditer": {
  19496. "description": "审核人",
  19497. "type": "integer"
  19498. },
  19499. "audittime": {
  19500. "description": "审核时间",
  19501. "type": "string"
  19502. },
  19503. "averageprice": {
  19504. "description": "均价",
  19505. "type": "number"
  19506. },
  19507. "cardnum": {
  19508. "description": "提货人证件号码",
  19509. "type": "string"
  19510. },
  19511. "cardtypeid": {
  19512. "description": "提货人证件类型",
  19513. "type": "integer"
  19514. },
  19515. "checkremark": {
  19516. "description": "审核备注",
  19517. "type": "string"
  19518. },
  19519. "currencysign": {
  19520. "description": "货币符号",
  19521. "type": "string"
  19522. },
  19523. "decimalplace": {
  19524. "description": "报价小数位",
  19525. "type": "integer"
  19526. },
  19527. "goodscode": {
  19528. "description": "商品代码(内部)",
  19529. "type": "string"
  19530. },
  19531. "goodsid": {
  19532. "description": "商品ID",
  19533. "type": "integer"
  19534. },
  19535. "goodsname": {
  19536. "description": "商品名称",
  19537. "type": "string"
  19538. },
  19539. "handlestatus": {
  19540. "description": "处理状态",
  19541. "type": "integer"
  19542. },
  19543. "marketid": {
  19544. "description": "市场ID",
  19545. "type": "integer"
  19546. },
  19547. "phonenum": {
  19548. "description": "提货人联系方式",
  19549. "type": "string"
  19550. },
  19551. "picurls": {
  19552. "description": "介绍图片[多张用逗号分隔]",
  19553. "type": "string"
  19554. },
  19555. "qty": {
  19556. "description": "提货数量",
  19557. "type": "number"
  19558. },
  19559. "recivername": {
  19560. "description": "提货人姓名",
  19561. "type": "string"
  19562. },
  19563. "reqtime": {
  19564. "description": "更新时间",
  19565. "type": "string"
  19566. },
  19567. "takemode": {
  19568. "description": "提货方式 - 2:自提 3:配送",
  19569. "type": "integer"
  19570. },
  19571. "takeorderid": {
  19572. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19573. "type": "string"
  19574. },
  19575. "takeorderstatus": {
  19576. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19577. "type": "integer"
  19578. },
  19579. "takeremark": {
  19580. "description": "提货备注",
  19581. "type": "string"
  19582. },
  19583. "tradedate": {
  19584. "description": "交易日(yyyyMMdd)",
  19585. "type": "string"
  19586. },
  19587. "trademode": {
  19588. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19589. "type": "integer"
  19590. },
  19591. "userid": {
  19592. "description": "用户ID",
  19593. "type": "integer"
  19594. },
  19595. "vendorname": {
  19596. "description": "供应商名称",
  19597. "type": "string"
  19598. }
  19599. }
  19600. },
  19601. "models.HsbyPreGoods": {
  19602. "type": "object",
  19603. "required": [
  19604. "goodscode",
  19605. "goodsid",
  19606. "goodsname",
  19607. "marketid",
  19608. "trademode"
  19609. ],
  19610. "properties": {
  19611. "agreeunit": {
  19612. "description": "合约单位",
  19613. "type": "number"
  19614. },
  19615. "currency": {
  19616. "description": "货币",
  19617. "type": "string"
  19618. },
  19619. "currencysign": {
  19620. "description": "货币符号",
  19621. "type": "string"
  19622. },
  19623. "decimalplace": {
  19624. "description": "报价小数位",
  19625. "type": "integer"
  19626. },
  19627. "desccityid": {
  19628. "description": "目的地(市)",
  19629. "type": "integer"
  19630. },
  19631. "descprovinceid": {
  19632. "description": "目的地(省)",
  19633. "type": "integer"
  19634. },
  19635. "enableqty": {
  19636. "description": "剩余数量",
  19637. "type": "integer"
  19638. },
  19639. "goodscode": {
  19640. "description": "商品代码(内部)",
  19641. "type": "string"
  19642. },
  19643. "goodsid": {
  19644. "description": "商品ID(自增ID SEQ_GOODS)",
  19645. "type": "integer"
  19646. },
  19647. "goodsname": {
  19648. "description": "商品名称",
  19649. "type": "string"
  19650. },
  19651. "goodsstatus": {
  19652. "description": "商品状态- 2:未上市 3:上市",
  19653. "type": "integer"
  19654. },
  19655. "lasttradedate": {
  19656. "description": "最后交易日期(状态:待退市)",
  19657. "type": "string"
  19658. },
  19659. "listingdate": {
  19660. "description": "交易开始日期",
  19661. "type": "string"
  19662. },
  19663. "marketid": {
  19664. "description": "所属市场ID",
  19665. "type": "integer"
  19666. },
  19667. "picurls": {
  19668. "description": "介绍图片[多张用逗号分隔]",
  19669. "type": "string"
  19670. },
  19671. "presaledqty": {
  19672. "description": "已预售量(预售结束时更新)",
  19673. "type": "integer"
  19674. },
  19675. "presaleqty": {
  19676. "description": "预售数量",
  19677. "type": "integer"
  19678. },
  19679. "quoteminunit": {
  19680. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19681. "type": "integer"
  19682. },
  19683. "refprice": {
  19684. "description": "参考价格[一口价]",
  19685. "type": "number"
  19686. },
  19687. "relatedgoodsid": {
  19688. "description": "关联交易合约ID",
  19689. "type": "integer"
  19690. },
  19691. "trademode": {
  19692. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19693. "type": "integer"
  19694. },
  19695. "videourls": {
  19696. "description": "介绍视频[多张用逗号分隔]",
  19697. "type": "string"
  19698. }
  19699. }
  19700. },
  19701. "models.HsbyPreGoodsDetail": {
  19702. "type": "object",
  19703. "required": [
  19704. "goodscode",
  19705. "goodsid",
  19706. "goodsname",
  19707. "marketid",
  19708. "trademode"
  19709. ],
  19710. "properties": {
  19711. "agreeunit": {
  19712. "description": "合约单位",
  19713. "type": "number"
  19714. },
  19715. "buymaxqty": {
  19716. "description": "购买上限 [71] - 0为不限",
  19717. "type": "integer"
  19718. },
  19719. "currency": {
  19720. "description": "货币",
  19721. "type": "string"
  19722. },
  19723. "currencysign": {
  19724. "description": "货币符号",
  19725. "type": "string"
  19726. },
  19727. "customername": {
  19728. "description": "发行单位",
  19729. "type": "string"
  19730. },
  19731. "decimalplace": {
  19732. "description": "报价小数位",
  19733. "type": "integer"
  19734. },
  19735. "desccityid": {
  19736. "description": "目的地(市)ID",
  19737. "type": "integer"
  19738. },
  19739. "descprovinceid": {
  19740. "description": "目的地(省)ID",
  19741. "type": "integer"
  19742. },
  19743. "enableqty": {
  19744. "description": "剩余数量",
  19745. "type": "integer"
  19746. },
  19747. "goodscode": {
  19748. "description": "商品代码(内部)",
  19749. "type": "string"
  19750. },
  19751. "goodsdesc": {
  19752. "description": "商品详情",
  19753. "type": "string"
  19754. },
  19755. "goodsid": {
  19756. "description": "商品ID(自增ID SEQ_GOODS)",
  19757. "type": "integer"
  19758. },
  19759. "goodsname": {
  19760. "description": "商品名称",
  19761. "type": "string"
  19762. },
  19763. "goodsstatus": {
  19764. "description": "商品状态- 2:未上市 3:上市",
  19765. "type": "integer"
  19766. },
  19767. "goodunit": {
  19768. "description": "报价单位",
  19769. "type": "string"
  19770. },
  19771. "lasttradedate": {
  19772. "description": "最后交易日期(状态:待退市)",
  19773. "type": "string"
  19774. },
  19775. "listingdate": {
  19776. "description": "交易开始日期",
  19777. "type": "string"
  19778. },
  19779. "lotsize": {
  19780. "description": "手数最小变动单位",
  19781. "type": "integer"
  19782. },
  19783. "marketid": {
  19784. "description": "所属市场ID",
  19785. "type": "integer"
  19786. },
  19787. "picurls": {
  19788. "description": "介绍图片[多张用逗号分隔]",
  19789. "type": "string"
  19790. },
  19791. "presaledqty": {
  19792. "description": "已预售量(预售结束时更新)",
  19793. "type": "integer"
  19794. },
  19795. "presaleqty": {
  19796. "description": "预售数量",
  19797. "type": "integer"
  19798. },
  19799. "quoteminunit": {
  19800. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19801. "type": "integer"
  19802. },
  19803. "refprice": {
  19804. "description": "参考价格[一口价]",
  19805. "type": "number"
  19806. },
  19807. "relatedgoodsid": {
  19808. "description": "关联交易合约ID",
  19809. "type": "integer"
  19810. },
  19811. "stepvalue": {
  19812. "description": "价格最小变动单位",
  19813. "type": "number"
  19814. },
  19815. "trademode": {
  19816. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19817. "type": "integer"
  19818. },
  19819. "vendorattr": {
  19820. "description": "供应商附件(多张,逗号分隔)",
  19821. "type": "string"
  19822. },
  19823. "vendorname": {
  19824. "description": "供应商名称",
  19825. "type": "string"
  19826. },
  19827. "vendorphone": {
  19828. "description": "供应商客服电话",
  19829. "type": "string"
  19830. },
  19831. "videourls": {
  19832. "description": "介绍视频[多张用逗号分隔]",
  19833. "type": "string"
  19834. }
  19835. }
  19836. },
  19837. "models.HsbySellCollectionOrder": {
  19838. "type": "object",
  19839. "required": [
  19840. "goodscode",
  19841. "goodsname",
  19842. "tradeid",
  19843. "trademode"
  19844. ],
  19845. "properties": {
  19846. "agreeunit": {
  19847. "description": "合约单位",
  19848. "type": "number"
  19849. },
  19850. "buyaccountid": {
  19851. "description": "买方账号ID[报价币种]",
  19852. "type": "integer"
  19853. },
  19854. "buyorderid": {
  19855. "description": "买方委托单号",
  19856. "type": "string"
  19857. },
  19858. "createtime": {
  19859. "description": "创建时间",
  19860. "type": "string"
  19861. },
  19862. "currencysign": {
  19863. "description": "货币符号",
  19864. "type": "string"
  19865. },
  19866. "decimalplace": {
  19867. "description": "报价小数位",
  19868. "type": "integer"
  19869. },
  19870. "goodscode": {
  19871. "description": "商品代码(内部)",
  19872. "type": "string"
  19873. },
  19874. "goodsid": {
  19875. "description": "商品ID",
  19876. "type": "integer"
  19877. },
  19878. "goodsname": {
  19879. "description": "商品名称",
  19880. "type": "string"
  19881. },
  19882. "marketid": {
  19883. "description": "市场ID",
  19884. "type": "integer"
  19885. },
  19886. "offamount": {
  19887. "description": "优惠金额",
  19888. "type": "number"
  19889. },
  19890. "payamount": {
  19891. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19892. "type": "number"
  19893. },
  19894. "payflag": {
  19895. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19896. "type": "integer"
  19897. },
  19898. "paylimitedtime": {
  19899. "description": "支付期限",
  19900. "type": "string"
  19901. },
  19902. "paytime": {
  19903. "description": "付款时间",
  19904. "type": "string"
  19905. },
  19906. "picurls": {
  19907. "description": "商品介绍图片[多张用逗号分隔]",
  19908. "type": "string"
  19909. },
  19910. "sellaccountid": {
  19911. "description": "卖方账号ID[报价币种]",
  19912. "type": "integer"
  19913. },
  19914. "sellorderid": {
  19915. "description": "卖方委托单号",
  19916. "type": "string"
  19917. },
  19918. "tradeamount": {
  19919. "description": "成交金额",
  19920. "type": "number"
  19921. },
  19922. "tradecharge": {
  19923. "description": "成交手续费(买方)",
  19924. "type": "number"
  19925. },
  19926. "tradedate": {
  19927. "description": "交易日(yyyyMMdd)",
  19928. "type": "string"
  19929. },
  19930. "tradeid": {
  19931. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19932. "type": "string"
  19933. },
  19934. "trademode": {
  19935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19936. "type": "integer"
  19937. },
  19938. "tradeprice": {
  19939. "description": "成交价格",
  19940. "type": "number"
  19941. },
  19942. "tradeqty": {
  19943. "description": "成交数量",
  19944. "type": "integer"
  19945. }
  19946. }
  19947. },
  19948. "models.HsbySellMyDetail": {
  19949. "type": "object",
  19950. "required": [
  19951. "accountid",
  19952. "buyorsell",
  19953. "goodscode",
  19954. "goodsid",
  19955. "goodsname",
  19956. "marketid",
  19957. "orderid",
  19958. "time",
  19959. "trademode"
  19960. ],
  19961. "properties": {
  19962. "accountid": {
  19963. "description": "账户ID[报价币种]",
  19964. "type": "integer"
  19965. },
  19966. "agreeunit": {
  19967. "description": "合约单位",
  19968. "type": "number"
  19969. },
  19970. "buyorsell": {
  19971. "description": "买卖 - 0:买 1:卖",
  19972. "type": "integer"
  19973. },
  19974. "currencysign": {
  19975. "description": "货币符号",
  19976. "type": "string"
  19977. },
  19978. "decimalplace": {
  19979. "description": "报价小数位",
  19980. "type": "integer"
  19981. },
  19982. "goodscode": {
  19983. "description": "商品代码(内部)",
  19984. "type": "string"
  19985. },
  19986. "goodsid": {
  19987. "description": "商品ID",
  19988. "type": "integer"
  19989. },
  19990. "goodsname": {
  19991. "description": "商品名称",
  19992. "type": "string"
  19993. },
  19994. "marketid": {
  19995. "description": "市场ID",
  19996. "type": "integer"
  19997. },
  19998. "orderid": {
  19999. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20000. "type": "string"
  20001. },
  20002. "ordertype": {
  20003. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20004. "type": "integer"
  20005. },
  20006. "picurls": {
  20007. "description": "介绍图片[多张用逗号分隔]",
  20008. "type": "string"
  20009. },
  20010. "price": {
  20011. "description": "价格",
  20012. "type": "number"
  20013. },
  20014. "qty": {
  20015. "description": "数量",
  20016. "type": "integer"
  20017. },
  20018. "time": {
  20019. "description": "时间",
  20020. "type": "string"
  20021. },
  20022. "trademode": {
  20023. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20024. "type": "integer"
  20025. },
  20026. "vendorname": {
  20027. "description": "供应商名称",
  20028. "type": "string"
  20029. }
  20030. }
  20031. },
  20032. "models.HsbyTopGoods": {
  20033. "type": "object",
  20034. "required": [
  20035. "goodscode",
  20036. "goodsid",
  20037. "goodsname",
  20038. "marketid",
  20039. "trademode"
  20040. ],
  20041. "properties": {
  20042. "agreeunit": {
  20043. "description": "合约单位",
  20044. "type": "number"
  20045. },
  20046. "currency": {
  20047. "description": "货币",
  20048. "type": "string"
  20049. },
  20050. "currencysign": {
  20051. "description": "货币符号",
  20052. "type": "string"
  20053. },
  20054. "decimalplace": {
  20055. "description": "报价小数位",
  20056. "type": "integer"
  20057. },
  20058. "desccityid": {
  20059. "description": "目的地(市)",
  20060. "type": "integer"
  20061. },
  20062. "descprovinceid": {
  20063. "description": "目的地(省)",
  20064. "type": "integer"
  20065. },
  20066. "goodscode": {
  20067. "description": "商品代码(内部)",
  20068. "type": "string"
  20069. },
  20070. "goodsid": {
  20071. "description": "商品ID(自增ID SEQ_GOODS)",
  20072. "type": "integer"
  20073. },
  20074. "goodsname": {
  20075. "description": "商品名称",
  20076. "type": "string"
  20077. },
  20078. "hotindex": {
  20079. "description": "景点热度",
  20080. "type": "integer"
  20081. },
  20082. "last": {
  20083. "description": "现价",
  20084. "type": "number"
  20085. },
  20086. "marketid": {
  20087. "description": "所属市场ID",
  20088. "type": "integer"
  20089. },
  20090. "picurls": {
  20091. "description": "介绍图片[多张用逗号分隔]",
  20092. "type": "string"
  20093. },
  20094. "quoteminunit": {
  20095. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20096. "type": "integer"
  20097. },
  20098. "trademode": {
  20099. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20100. "type": "integer"
  20101. },
  20102. "videourls": {
  20103. "description": "介绍视频[多张用逗号分隔]",
  20104. "type": "string"
  20105. }
  20106. }
  20107. },
  20108. "models.HybsMyBuyOrderDetail": {
  20109. "type": "object",
  20110. "required": [
  20111. "accountid",
  20112. "buyorsell",
  20113. "goodscode",
  20114. "goodsid",
  20115. "goodsname",
  20116. "marketid",
  20117. "orderid",
  20118. "orderqty",
  20119. "ordertime",
  20120. "trademode"
  20121. ],
  20122. "properties": {
  20123. "accountid": {
  20124. "description": "账户ID[报价币种]",
  20125. "type": "integer"
  20126. },
  20127. "agreeunit": {
  20128. "description": "合约单位",
  20129. "type": "number"
  20130. },
  20131. "buyorsell": {
  20132. "description": "买卖 - 0:买 1:卖",
  20133. "type": "integer"
  20134. },
  20135. "cancelqty": {
  20136. "description": "撤单数量",
  20137. "type": "integer"
  20138. },
  20139. "currencysign": {
  20140. "description": "货币符号",
  20141. "type": "string"
  20142. },
  20143. "decimalplace": {
  20144. "description": "报价小数位",
  20145. "type": "integer"
  20146. },
  20147. "goodscode": {
  20148. "description": "商品代码(内部)",
  20149. "type": "string"
  20150. },
  20151. "goodsid": {
  20152. "description": "商品ID",
  20153. "type": "integer"
  20154. },
  20155. "goodsname": {
  20156. "description": "商品名称",
  20157. "type": "string"
  20158. },
  20159. "listingselecttype": {
  20160. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20161. "type": "integer"
  20162. },
  20163. "marketid": {
  20164. "description": "市场ID",
  20165. "type": "integer"
  20166. },
  20167. "mybuystatus": {
  20168. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20169. "type": "integer"
  20170. },
  20171. "orderamount": {
  20172. "description": "委托金额",
  20173. "type": "number"
  20174. },
  20175. "orderid": {
  20176. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20177. "type": "string"
  20178. },
  20179. "orderprice": {
  20180. "description": "委托价格",
  20181. "type": "number"
  20182. },
  20183. "orderqty": {
  20184. "description": "委托数量",
  20185. "type": "integer"
  20186. },
  20187. "orderstatus": {
  20188. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20189. "type": "integer"
  20190. },
  20191. "ordertime": {
  20192. "description": "委托时间",
  20193. "type": "string"
  20194. },
  20195. "picurls1": {
  20196. "description": "预售商品介绍图片[多张用逗号分隔]",
  20197. "type": "string"
  20198. },
  20199. "picurls2": {
  20200. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20201. "type": "string"
  20202. },
  20203. "trademode": {
  20204. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20205. "type": "integer"
  20206. },
  20207. "tradeqty": {
  20208. "description": "成交数量",
  20209. "type": "integer"
  20210. },
  20211. "vendorname1": {
  20212. "description": "预售商品供应商名称",
  20213. "type": "string"
  20214. },
  20215. "vendorname2": {
  20216. "description": "挂牌商品供应商名称",
  20217. "type": "string"
  20218. }
  20219. }
  20220. },
  20221. "models.Loginaccount": {
  20222. "type": "object",
  20223. "required": [
  20224. "loginid"
  20225. ],
  20226. "properties": {
  20227. "canoutin": {
  20228. "description": "是否可出入金 - 0:不可 1:可",
  20229. "type": "integer"
  20230. },
  20231. "clientroleid": {
  20232. "description": "终端角色ID",
  20233. "type": "integer"
  20234. },
  20235. "haslogined": {
  20236. "description": "是否已登录 - 0:未登录 1:已登录",
  20237. "type": "integer"
  20238. },
  20239. "hasupdatedpwd": {
  20240. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20241. "type": "integer"
  20242. },
  20243. "lastloginip": {
  20244. "description": "最新登录地址",
  20245. "type": "string"
  20246. },
  20247. "lastloginmode": {
  20248. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20249. "type": "integer"
  20250. },
  20251. "lastloginremark": {
  20252. "description": "最新登录描述",
  20253. "type": "string"
  20254. },
  20255. "lastlogintime": {
  20256. "description": "最新登录时间",
  20257. "type": "string"
  20258. },
  20259. "logincode": {
  20260. "description": "登录代码",
  20261. "type": "string"
  20262. },
  20263. "loginfailnum": {
  20264. "description": "连续登录失败次数(登录成功时清零)",
  20265. "type": "integer"
  20266. },
  20267. "loginid": {
  20268. "description": "登陆账号",
  20269. "type": "integer"
  20270. },
  20271. "loginport": {
  20272. "description": "最新登录端口",
  20273. "type": "integer"
  20274. },
  20275. "loginstatus": {
  20276. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20277. "type": "integer"
  20278. },
  20279. "loginusertype": {
  20280. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20281. "type": "integer"
  20282. },
  20283. "modifierid": {
  20284. "description": "修改人",
  20285. "type": "integer"
  20286. },
  20287. "modifytime": {
  20288. "description": "修改时间",
  20289. "type": "string"
  20290. },
  20291. "pwdwrongcount": {
  20292. "description": "密码错误次数",
  20293. "type": "integer"
  20294. },
  20295. "taaccountrighttype": {
  20296. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20297. "type": "integer"
  20298. },
  20299. "unfreezetime": {
  20300. "description": "账户解冻时间",
  20301. "type": "string"
  20302. },
  20303. "userid": {
  20304. "description": "用户ID",
  20305. "type": "integer"
  20306. }
  20307. }
  20308. },
  20309. "models.MainAccountInfo": {
  20310. "type": "object",
  20311. "properties": {
  20312. "accountid": {
  20313. "description": "账号id",
  20314. "type": "integer"
  20315. },
  20316. "accountname": {
  20317. "description": "账号名称(taaccount表中的名称)",
  20318. "type": "string"
  20319. },
  20320. "appid": {
  20321. "description": "AppID",
  20322. "type": "string"
  20323. },
  20324. "authcode": {
  20325. "description": "授权码",
  20326. "type": "string"
  20327. },
  20328. "brokerid": {
  20329. "description": "经纪商id",
  20330. "type": "string"
  20331. },
  20332. "fcid": {
  20333. "description": "期货公司id",
  20334. "type": "integer"
  20335. },
  20336. "fcname": {
  20337. "description": "期货公司代码",
  20338. "type": "string"
  20339. },
  20340. "hedgeaccountcode": {
  20341. "description": "外部账号代码(主账号登录代码)",
  20342. "type": "string"
  20343. },
  20344. "hedgeaccountpwd": {
  20345. "description": "密码",
  20346. "type": "string"
  20347. },
  20348. "ismain": {
  20349. "description": "是否主账号",
  20350. "type": "integer"
  20351. },
  20352. "relateduserid": {
  20353. "description": "关联用户id",
  20354. "type": "integer"
  20355. },
  20356. "userid": {
  20357. "description": "关联用户id",
  20358. "type": "integer"
  20359. }
  20360. }
  20361. },
  20362. "models.Market": {
  20363. "type": "object",
  20364. "required": [
  20365. "marketid",
  20366. "marketstatus",
  20367. "openmethod",
  20368. "reckonpricealgorithm",
  20369. "trademode",
  20370. "tradeproperty"
  20371. ],
  20372. "properties": {
  20373. "auctionwrtype": {
  20374. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20375. "type": "integer"
  20376. },
  20377. "canacceptquote": {
  20378. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20379. "type": "integer"
  20380. },
  20381. "cangoodsexercise": {
  20382. "description": "[期权]是否可现货行权- 0:否 1:是",
  20383. "type": "integer"
  20384. },
  20385. "cangoodsexercisetype": {
  20386. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20387. "type": "integer"
  20388. },
  20389. "canmanualquotestrike": {
  20390. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20391. "type": "integer"
  20392. },
  20393. "canmutistage": {
  20394. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20395. "type": "integer"
  20396. },
  20397. "canpreexercise": {
  20398. "description": "[期权]是否可预申报- 0:否 1:是",
  20399. "type": "integer"
  20400. },
  20401. "clearinterval": {
  20402. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20403. "type": "integer"
  20404. },
  20405. "contracttmp": {
  20406. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20407. "type": "string"
  20408. },
  20409. "exchareaid": {
  20410. "description": "所属交易所,可以没有",
  20411. "type": "integer"
  20412. },
  20413. "goodstype": {
  20414. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20415. "type": "integer"
  20416. },
  20417. "hasrebate": {
  20418. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20419. "type": "integer"
  20420. },
  20421. "hastradecredit": {
  20422. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20423. "type": "integer"
  20424. },
  20425. "haswr": {
  20426. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20427. "type": "integer"
  20428. },
  20429. "isdeductmargin": {
  20430. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20431. "type": "integer"
  20432. },
  20433. "isrecordsource": {
  20434. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20435. "type": "integer"
  20436. },
  20437. "isreleasemargin": {
  20438. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20439. "type": "integer"
  20440. },
  20441. "marginformula": {
  20442. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20443. "type": "integer"
  20444. },
  20445. "marginformula2": {
  20446. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20447. "type": "integer"
  20448. },
  20449. "marketid": {
  20450. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20451. "type": "integer"
  20452. },
  20453. "marketname": {
  20454. "description": "市场名称",
  20455. "type": "string"
  20456. },
  20457. "marketserviceid": {
  20458. "description": "市场服务ID",
  20459. "type": "integer"
  20460. },
  20461. "marketstatus": {
  20462. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20463. "type": "integer"
  20464. },
  20465. "markettype": {
  20466. "description": "市场类型- 1:非交易服务 2:交易服务",
  20467. "type": "integer"
  20468. },
  20469. "matchermode": {
  20470. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20471. "type": "integer"
  20472. },
  20473. "openmethod": {
  20474. "description": "开盘模式 - 0 自动 1手动",
  20475. "type": "integer"
  20476. },
  20477. "otcuserid": {
  20478. "description": "场外期权做市商[场外期权]",
  20479. "type": "integer"
  20480. },
  20481. "outersynctime": {
  20482. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20483. "type": "string"
  20484. },
  20485. "pendingflag": {
  20486. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20487. "type": "integer"
  20488. },
  20489. "pendingtime": {
  20490. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20491. "type": "string"
  20492. },
  20493. "performancetempid": {
  20494. "description": "履约计划模板ID - 作废",
  20495. "type": "integer"
  20496. },
  20497. "premiumquotemode": {
  20498. "description": "权利金报价方式 - 1:自动 2:手动",
  20499. "type": "integer"
  20500. },
  20501. "rebateratio": {
  20502. "description": "返利比率[竞价式]",
  20503. "type": "number"
  20504. },
  20505. "reckonorder": {
  20506. "description": "结算顺序",
  20507. "type": "integer"
  20508. },
  20509. "reckonpricealgorithm": {
  20510. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20511. "type": "integer"
  20512. },
  20513. "reckonpriceparam": {
  20514. "description": "结算价参数",
  20515. "type": "integer"
  20516. },
  20517. "reckontime": {
  20518. "description": "结算时间[通道交易-对冲](HH:mm)",
  20519. "type": "string"
  20520. },
  20521. "roleprioritytype": {
  20522. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20523. "type": "integer"
  20524. },
  20525. "selllistingauditflag": {
  20526. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20527. "type": "integer"
  20528. },
  20529. "trademarkettype": {
  20530. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20531. "type": "integer"
  20532. },
  20533. "trademode": {
  20534. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20535. "type": "integer"
  20536. },
  20537. "tradeproperty": {
  20538. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20539. "type": "integer"
  20540. },
  20541. "tradetype": {
  20542. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20543. "type": "integer"
  20544. }
  20545. }
  20546. },
  20547. "models.Marketrun": {
  20548. "type": "object",
  20549. "required": [
  20550. "marketid",
  20551. "nexttradedate",
  20552. "reckonflag",
  20553. "runstatus",
  20554. "tradedate",
  20555. "tradedate2"
  20556. ],
  20557. "properties": {
  20558. "afternexttradedate": {
  20559. "description": "下下交易日",
  20560. "type": "string"
  20561. },
  20562. "clearquoteflag": {
  20563. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20564. "type": "integer"
  20565. },
  20566. "lastreckondate": {
  20567. "description": "最新交易日(结算成功)",
  20568. "type": "string"
  20569. },
  20570. "machinedate": {
  20571. "description": "机器时间",
  20572. "type": "string"
  20573. },
  20574. "manualflag": {
  20575. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20576. "type": "integer"
  20577. },
  20578. "marketid": {
  20579. "description": "市场ID",
  20580. "type": "integer"
  20581. },
  20582. "nexttradedate": {
  20583. "description": "下一交易日",
  20584. "type": "string"
  20585. },
  20586. "pretradedate": {
  20587. "description": "上一交易日",
  20588. "type": "string"
  20589. },
  20590. "reckonflag": {
  20591. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20592. "type": "integer"
  20593. },
  20594. "runstatus": {
  20595. "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.今日免清算",
  20596. "type": "integer"
  20597. },
  20598. "sectionid": {
  20599. "description": "时间段号[多时段时用]",
  20600. "type": "integer"
  20601. },
  20602. "tradedate": {
  20603. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20604. "type": "string"
  20605. },
  20606. "tradedate2": {
  20607. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20608. "type": "string"
  20609. },
  20610. "updatetime": {
  20611. "description": "更新时间",
  20612. "type": "string"
  20613. }
  20614. }
  20615. },
  20616. "models.Messageboard": {
  20617. "type": "object",
  20618. "required": [
  20619. "messageboardid"
  20620. ],
  20621. "properties": {
  20622. "contactnum": {
  20623. "description": "联系电话",
  20624. "type": "string"
  20625. },
  20626. "createtime": {
  20627. "description": "创建时间",
  20628. "type": "string"
  20629. },
  20630. "message": {
  20631. "description": "留言信息",
  20632. "type": "string"
  20633. },
  20634. "messageboardid": {
  20635. "description": "留言簿ID(SEQ_MessageBoard)",
  20636. "type": "integer"
  20637. },
  20638. "userid": {
  20639. "description": "用户ID",
  20640. "type": "integer"
  20641. }
  20642. }
  20643. },
  20644. "models.MyCoupon": {
  20645. "type": "object",
  20646. "required": [
  20647. "accountid",
  20648. "coupontypeid"
  20649. ],
  20650. "properties": {
  20651. "accountid": {
  20652. "description": "资金账户ID",
  20653. "type": "integer"
  20654. },
  20655. "areauserid": {
  20656. "description": "所属机构",
  20657. "type": "integer"
  20658. },
  20659. "conditionvalue": {
  20660. "description": "条件阈值(可为0)",
  20661. "type": "number"
  20662. },
  20663. "couponcategroy": {
  20664. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20665. "type": "integer"
  20666. },
  20667. "couponname": {
  20668. "description": "优惠券名称",
  20669. "type": "string"
  20670. },
  20671. "coupontypeid": {
  20672. "description": "优惠券类型ID",
  20673. "type": "string"
  20674. },
  20675. "couponvalue": {
  20676. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20677. "type": "number"
  20678. },
  20679. "curfreezeqty": {
  20680. "description": "期末冻结数量",
  20681. "type": "integer"
  20682. },
  20683. "curqty": {
  20684. "description": "期末数量",
  20685. "type": "integer"
  20686. },
  20687. "isgeneral": {
  20688. "description": "是否通用券 - 0:否 1:是",
  20689. "type": "integer"
  20690. },
  20691. "isunusable": {
  20692. "description": "是否不可用",
  20693. "type": "boolean"
  20694. },
  20695. "limitedflag": {
  20696. "description": "是否指定商品 - 0:不限 1:限制",
  20697. "type": "integer"
  20698. },
  20699. "limitedgoodsids": {
  20700. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20701. "type": "string"
  20702. },
  20703. "orifreezeqty": {
  20704. "description": "期初冻结数量",
  20705. "type": "integer"
  20706. },
  20707. "oriqty": {
  20708. "description": "期初数量",
  20709. "type": "integer"
  20710. },
  20711. "reasontype": {
  20712. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20713. "type": "integer"
  20714. },
  20715. "todaydecrease": {
  20716. "description": "今日减少",
  20717. "type": "integer"
  20718. },
  20719. "todayincrease": {
  20720. "description": "今日增加",
  20721. "type": "integer"
  20722. },
  20723. "userid": {
  20724. "description": "用户ID",
  20725. "type": "integer"
  20726. },
  20727. "userscope": {
  20728. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20729. "type": "string"
  20730. }
  20731. }
  20732. },
  20733. "models.MyCouponHold": {
  20734. "type": "object",
  20735. "required": [
  20736. "couponholdid"
  20737. ],
  20738. "properties": {
  20739. "accountid": {
  20740. "description": "资金账户ID",
  20741. "type": "integer"
  20742. },
  20743. "conditionvalue": {
  20744. "description": "条件阈值(可为0)",
  20745. "type": "number"
  20746. },
  20747. "couponcategroy": {
  20748. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20749. "type": "integer"
  20750. },
  20751. "couponholdid": {
  20752. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20753. "type": "string"
  20754. },
  20755. "couponname": {
  20756. "description": "优惠券名称",
  20757. "type": "string"
  20758. },
  20759. "coupontypeid": {
  20760. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20761. "type": "string"
  20762. },
  20763. "couponvalue": {
  20764. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20765. "type": "number"
  20766. },
  20767. "createtime": {
  20768. "description": "创建时间",
  20769. "type": "string"
  20770. },
  20771. "enddate": {
  20772. "description": "结束日期",
  20773. "type": "string"
  20774. },
  20775. "giveapplyid": {
  20776. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20777. "type": "integer"
  20778. },
  20779. "holdstatus": {
  20780. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20781. "type": "integer"
  20782. },
  20783. "isgeneral": {
  20784. "description": "是否通用券 - 0:否 1:是",
  20785. "type": "integer"
  20786. },
  20787. "limitedflag": {
  20788. "description": "是否指定商品 - 0:不限 1:限制",
  20789. "type": "integer"
  20790. },
  20791. "limitedgoodsids": {
  20792. "description": "指定商品IDs[逗号分隔]",
  20793. "type": "string"
  20794. },
  20795. "qty": {
  20796. "description": "数量(按1平铺)",
  20797. "type": "integer"
  20798. },
  20799. "startdate": {
  20800. "description": "开始日期",
  20801. "type": "string"
  20802. },
  20803. "userid": {
  20804. "description": "用户ID",
  20805. "type": "integer"
  20806. },
  20807. "userscope": {
  20808. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20809. "type": "string"
  20810. }
  20811. }
  20812. },
  20813. "models.MyUsedCoupon": {
  20814. "type": "object",
  20815. "required": [
  20816. "coupontypeid",
  20817. "orderid"
  20818. ],
  20819. "properties": {
  20820. "accountid": {
  20821. "description": "资金账户ID(买方)",
  20822. "type": "integer"
  20823. },
  20824. "conditionvalue": {
  20825. "description": "条件阈值(可为0)",
  20826. "type": "number"
  20827. },
  20828. "couponcategroy": {
  20829. "description": "种类 - 1:现金券 2:折扣券",
  20830. "type": "integer"
  20831. },
  20832. "couponname": {
  20833. "description": "优惠券名称",
  20834. "type": "string"
  20835. },
  20836. "coupontypeid": {
  20837. "description": "优惠券类型ID(买方)",
  20838. "type": "string"
  20839. },
  20840. "couponvalue": {
  20841. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20842. "type": "number"
  20843. },
  20844. "createtime": {
  20845. "description": "创建时间",
  20846. "type": "string"
  20847. },
  20848. "goodsid": {
  20849. "description": "商品ID",
  20850. "type": "integer"
  20851. },
  20852. "handlestatus": {
  20853. "description": "处理状态",
  20854. "type": "integer"
  20855. },
  20856. "marketid": {
  20857. "description": "市场ID",
  20858. "type": "integer"
  20859. },
  20860. "offamount": {
  20861. "description": "优惠金额",
  20862. "type": "number"
  20863. },
  20864. "orderid": {
  20865. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20866. "type": "string"
  20867. },
  20868. "sellaccountid": {
  20869. "description": "资金账户ID(卖方)",
  20870. "type": "integer"
  20871. },
  20872. "tradeamount": {
  20873. "description": "成交金额",
  20874. "type": "number"
  20875. },
  20876. "tradeid": {
  20877. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20878. "type": "string"
  20879. },
  20880. "usedqty": {
  20881. "description": "使用数量",
  20882. "type": "integer"
  20883. }
  20884. }
  20885. },
  20886. "models.OperationPrimaryMenu": {
  20887. "type": "object",
  20888. "properties": {
  20889. "Children": {
  20890. "description": "二级功能菜单",
  20891. "type": "array",
  20892. "items": {
  20893. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20894. }
  20895. },
  20896. "Key": {
  20897. "description": "菜单KEY",
  20898. "type": "string"
  20899. },
  20900. "Label": {
  20901. "description": "菜单标题",
  20902. "type": "string"
  20903. }
  20904. }
  20905. },
  20906. "models.OperationSecondaryMenu": {
  20907. "type": "object",
  20908. "properties": {
  20909. "Key": {
  20910. "description": "菜单KEY",
  20911. "type": "string"
  20912. },
  20913. "Label": {
  20914. "description": "菜单标题",
  20915. "type": "string"
  20916. },
  20917. "TabList": {
  20918. "description": "三级功能菜单",
  20919. "type": "array",
  20920. "items": {
  20921. "$ref": "#/definitions/models.OperationTabMenu"
  20922. }
  20923. }
  20924. }
  20925. },
  20926. "models.OperationTabMenu": {
  20927. "type": "object",
  20928. "properties": {
  20929. "Key": {
  20930. "description": "菜单KEY",
  20931. "type": "string"
  20932. },
  20933. "Label": {
  20934. "description": "菜单标题",
  20935. "type": "string"
  20936. }
  20937. }
  20938. },
  20939. "models.PendingAuditBizModel": {
  20940. "type": "object",
  20941. "properties": {
  20942. "accountid": {
  20943. "description": "现货账户",
  20944. "type": "string"
  20945. },
  20946. "areaname": {
  20947. "description": "所属部门",
  20948. "type": "string"
  20949. },
  20950. "bizid": {
  20951. "description": "业务ID",
  20952. "type": "string"
  20953. },
  20954. "bizname": {
  20955. "description": "业务名称",
  20956. "type": "string"
  20957. },
  20958. "status": {
  20959. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20960. "type": "integer"
  20961. },
  20962. "type": {
  20963. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20964. "type": "integer"
  20965. }
  20966. }
  20967. },
  20968. "models.QhjAccountOutInApply": {
  20969. "type": "object",
  20970. "properties": {
  20971. "accountcode": {
  20972. "description": "资金账号",
  20973. "type": "string"
  20974. },
  20975. "accountname": {
  20976. "description": "用户名称(名称)",
  20977. "type": "string"
  20978. },
  20979. "accountpwd": {
  20980. "description": "资金密码",
  20981. "type": "string"
  20982. },
  20983. "accountticket": {
  20984. "description": "最新账户服务流水号",
  20985. "type": "string"
  20986. },
  20987. "amount": {
  20988. "description": "金额",
  20989. "type": "number"
  20990. },
  20991. "applyremark": {
  20992. "description": "申请备注",
  20993. "type": "string"
  20994. },
  20995. "applystatus": {
  20996. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  20997. "type": "integer"
  20998. },
  20999. "auditid": {
  21000. "description": "审核人",
  21001. "type": "integer"
  21002. },
  21003. "audittime": {
  21004. "description": "审核时间",
  21005. "type": "string"
  21006. },
  21007. "bank_apply_ticket": {
  21008. "description": "银行申请流水",
  21009. "type": "string"
  21010. },
  21011. "bankaccountname": {
  21012. "description": "银行账户名",
  21013. "type": "string"
  21014. },
  21015. "bankaccountno": {
  21016. "description": "银行卡号",
  21017. "type": "string"
  21018. },
  21019. "bankid": {
  21020. "description": "银行编号",
  21021. "type": "string"
  21022. },
  21023. "bankticket": {
  21024. "description": "银行流水",
  21025. "type": "string"
  21026. },
  21027. "branchbankid": {
  21028. "description": "银行支行号",
  21029. "type": "string"
  21030. },
  21031. "branchbankname": {
  21032. "description": "银行支行名称",
  21033. "type": "string"
  21034. },
  21035. "capamountout": {
  21036. "description": "出金(劣后本金) - 外部子账户",
  21037. "type": "number"
  21038. },
  21039. "certificatephotourl": {
  21040. "description": "凭证地址",
  21041. "type": "string"
  21042. },
  21043. "charge": {
  21044. "description": "手续费",
  21045. "type": "number"
  21046. },
  21047. "checkerrorflag": {
  21048. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  21049. "type": "integer"
  21050. },
  21051. "currency": {
  21052. "description": "币种",
  21053. "type": "string"
  21054. },
  21055. "cusbankid": {
  21056. "description": "托管银行编号",
  21057. "type": "string"
  21058. },
  21059. "exchticket": {
  21060. "description": "银行服务流水号",
  21061. "type": "string"
  21062. },
  21063. "executetype": {
  21064. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  21065. "type": "integer"
  21066. },
  21067. "extendinfo": {
  21068. "description": "扩展信息",
  21069. "type": "string"
  21070. },
  21071. "extoperateid": {
  21072. "description": "交易服务流水号",
  21073. "type": "integer"
  21074. },
  21075. "infamount": {
  21076. "description": "劣后金额(自有)",
  21077. "type": "number"
  21078. },
  21079. "logincode": {
  21080. "description": "登录账号(账号)",
  21081. "type": "string"
  21082. },
  21083. "netaddr": {
  21084. "description": "调转网址",
  21085. "type": "string"
  21086. },
  21087. "priamount": {
  21088. "description": "优先金额(授信)",
  21089. "type": "number"
  21090. },
  21091. "reauditid": {
  21092. "description": "复审人",
  21093. "type": "integer"
  21094. },
  21095. "reauditremark": {
  21096. "description": "复审备注",
  21097. "type": "string"
  21098. },
  21099. "reaudittime": {
  21100. "description": "复审时间",
  21101. "type": "string"
  21102. },
  21103. "relatedorderid": {
  21104. "description": "三方关联ID",
  21105. "type": "string"
  21106. },
  21107. "remark": {
  21108. "description": "备注",
  21109. "type": "string"
  21110. },
  21111. "remark2": {
  21112. "description": "备注(失败原因)",
  21113. "type": "string"
  21114. },
  21115. "soucreamount": {
  21116. "description": "原始出入金金额",
  21117. "type": "number"
  21118. },
  21119. "soucrecurrencyid": {
  21120. "description": "原始出入金币种",
  21121. "type": "integer"
  21122. },
  21123. "tradedate": {
  21124. "description": "交易日(yyyyMMdd)",
  21125. "type": "string"
  21126. },
  21127. "updatetime": {
  21128. "description": "更新时间(申请时间)",
  21129. "type": "string"
  21130. },
  21131. "userid": {
  21132. "description": "用户id",
  21133. "type": "integer"
  21134. },
  21135. "userinfotype": {
  21136. "description": "账户类型 1-个人 2-企业",
  21137. "type": "integer"
  21138. }
  21139. }
  21140. },
  21141. "models.QhjBankAccountSign": {
  21142. "type": "object",
  21143. "properties": {
  21144. "accountcode": {
  21145. "description": "资金账号",
  21146. "type": "string"
  21147. },
  21148. "accountname": {
  21149. "description": "资金账号对应的账号名(UserName)",
  21150. "type": "string"
  21151. },
  21152. "accounttype": {
  21153. "description": "账户类型(UserType)",
  21154. "type": "integer"
  21155. },
  21156. "applicationtime": {
  21157. "description": "最后一次更新的时间",
  21158. "type": "string"
  21159. },
  21160. "applyexchticket": {
  21161. "description": "申请流水",
  21162. "type": "string"
  21163. },
  21164. "auditid": {
  21165. "description": "审核人",
  21166. "type": "integer"
  21167. },
  21168. "audittime": {
  21169. "description": "审核时间",
  21170. "type": "string"
  21171. },
  21172. "bankaccountname": {
  21173. "description": "签约银行卡账号名",
  21174. "type": "string"
  21175. },
  21176. "bankaccountno": {
  21177. "description": "银行卡号",
  21178. "type": "string"
  21179. },
  21180. "bankaccounttype": {
  21181. "description": "银行账户类型 - 1-对私; 2-对公",
  21182. "type": "integer"
  21183. },
  21184. "bankcardtype": {
  21185. "description": "银行卡类型",
  21186. "type": "integer"
  21187. },
  21188. "bankchildaccount": {
  21189. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  21190. "type": "string"
  21191. },
  21192. "bankcity": {
  21193. "description": "开户行城市",
  21194. "type": "string"
  21195. },
  21196. "bankid": {
  21197. "description": "签约银行ID",
  21198. "type": "string"
  21199. },
  21200. "bankprovince": {
  21201. "description": "开户行省份",
  21202. "type": "string"
  21203. },
  21204. "branchbankid": {
  21205. "description": "签约银行支行号",
  21206. "type": "string"
  21207. },
  21208. "branchbankname": {
  21209. "description": "签约银行支行名称",
  21210. "type": "string"
  21211. },
  21212. "cardno": {
  21213. "description": "证件号码",
  21214. "type": "string"
  21215. },
  21216. "cardtype": {
  21217. "description": "证件类型",
  21218. "type": "string"
  21219. },
  21220. "currency": {
  21221. "description": "币种",
  21222. "type": "string"
  21223. },
  21224. "cusbankid": {
  21225. "description": "托管银行编号",
  21226. "type": "string"
  21227. },
  21228. "direct": {
  21229. "description": "方向(可以判断那方先发起的签约)",
  21230. "type": "integer"
  21231. },
  21232. "exchticket": {
  21233. "description": "最后一次签约成功的流水号",
  21234. "type": "string"
  21235. },
  21236. "extendinfo": {
  21237. "description": "扩展信息(JSON字符串)",
  21238. "type": "string"
  21239. },
  21240. "mobilephone": {
  21241. "description": "手机号",
  21242. "type": "string"
  21243. },
  21244. "netaddr": {
  21245. "description": "调转网址",
  21246. "type": "string"
  21247. },
  21248. "relateduserid": {
  21249. "description": "关联使用者userid",
  21250. "type": "integer"
  21251. },
  21252. "signstatus": {
  21253. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  21254. "type": "integer"
  21255. },
  21256. "updatetime": {
  21257. "description": "更新时间(签解约更新时间)",
  21258. "type": "string"
  21259. }
  21260. }
  21261. },
  21262. "models.QhjBankInfo": {
  21263. "type": "object",
  21264. "properties": {
  21265. "bankid": {
  21266. "description": "银行ID",
  21267. "type": "string"
  21268. },
  21269. "bankname": {
  21270. "description": "银行名称",
  21271. "type": "string"
  21272. },
  21273. "clearbankno": {
  21274. "description": "清算系统银行编号",
  21275. "type": "string"
  21276. },
  21277. "orderindex": {
  21278. "description": "排序顺序",
  21279. "type": "integer"
  21280. },
  21281. "status": {
  21282. "description": "状态 - 0:正常 1:注销",
  21283. "type": "integer"
  21284. }
  21285. }
  21286. },
  21287. "models.QhjContract": {
  21288. "type": "object",
  21289. "properties": {
  21290. "contractconfirmtime": {
  21291. "description": "合同确认时间(时间)",
  21292. "type": "string"
  21293. },
  21294. "enumdicname": {
  21295. "description": "单位名称",
  21296. "type": "string"
  21297. },
  21298. "goodscode": {
  21299. "description": "商品代码",
  21300. "type": "string"
  21301. },
  21302. "goodsid": {
  21303. "description": "商品ID [5:融资单]",
  21304. "type": "integer"
  21305. },
  21306. "goodsname": {
  21307. "description": "商品名称",
  21308. "type": "string"
  21309. },
  21310. "goodunitid": {
  21311. "description": "商品单位id",
  21312. "type": "integer"
  21313. },
  21314. "initmargin": {
  21315. "description": "初始保证金(首付款)",
  21316. "type": "number"
  21317. },
  21318. "lenderamount": {
  21319. "description": "贷款金额(总额|订单总额)",
  21320. "type": "number"
  21321. },
  21322. "marginratio": {
  21323. "description": "保证金比率(首付比例)",
  21324. "type": "number"
  21325. },
  21326. "payamount": {
  21327. "description": "已付(已付货款)",
  21328. "type": "number"
  21329. },
  21330. "recoveredmargin": {
  21331. "description": "已追缴保证金",
  21332. "type": "number"
  21333. },
  21334. "remainamount": {
  21335. "description": "合同剩余金额(融资额)",
  21336. "type": "number"
  21337. },
  21338. "scfcontractid": {
  21339. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21340. "type": "integer"
  21341. },
  21342. "scfcontracttype": {
  21343. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  21344. "type": "integer"
  21345. },
  21346. "totalinterest": {
  21347. "description": "已计总利息(利息)",
  21348. "type": "number"
  21349. },
  21350. "tradeprice": {
  21351. "description": "成交价格(成本价格)",
  21352. "type": "number"
  21353. },
  21354. "userid": {
  21355. "description": "用户ID",
  21356. "type": "integer"
  21357. },
  21358. "username": {
  21359. "description": "用户名称",
  21360. "type": "string"
  21361. },
  21362. "wrqty": {
  21363. "description": "仓单数量(数量)",
  21364. "type": "integer"
  21365. }
  21366. }
  21367. },
  21368. "models.QhjContractLog": {
  21369. "type": "object",
  21370. "properties": {
  21371. "amount": {
  21372. "description": "支付金额",
  21373. "type": "number"
  21374. },
  21375. "amounttype": {
  21376. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  21377. "type": "integer"
  21378. },
  21379. "logid": {
  21380. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21381. "type": "string"
  21382. },
  21383. "remainamount": {
  21384. "description": "剩余货款",
  21385. "type": "number"
  21386. },
  21387. "scfcontractid": {
  21388. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  21389. "type": "integer"
  21390. },
  21391. "updatetime": {
  21392. "description": "更新时间",
  21393. "type": "string"
  21394. }
  21395. }
  21396. },
  21397. "models.QhjCusBankSignBankEx": {
  21398. "type": "object",
  21399. "properties": {
  21400. "banklst": {
  21401. "description": "银行列表",
  21402. "type": "array",
  21403. "items": {
  21404. "$ref": "#/definitions/models.QhjBankInfo"
  21405. }
  21406. },
  21407. "canallot": {
  21408. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  21409. "type": "integer"
  21410. },
  21411. "canallotquery": {
  21412. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  21413. "type": "integer"
  21414. },
  21415. "canbindcard": {
  21416. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  21417. "type": "integer"
  21418. },
  21419. "caninamount": {
  21420. "description": "是否可入金 - 0:不可 1:可以",
  21421. "type": "integer"
  21422. },
  21423. "caninamount2": {
  21424. "description": "是否可入金(网银端) - 0:不可 1:可以",
  21425. "type": "integer"
  21426. },
  21427. "canmodifybankcard": {
  21428. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  21429. "type": "integer"
  21430. },
  21431. "canmodifyphone": {
  21432. "description": "是否可修改手机号 - 0:不可 1:可以",
  21433. "type": "integer"
  21434. },
  21435. "canmodifysigninfo": {
  21436. "description": "是否可修改签约信息 - 0:不可 1:可以",
  21437. "type": "integer"
  21438. },
  21439. "canoutamount": {
  21440. "description": "是否可出金 - 0:不可 1:可以",
  21441. "type": "integer"
  21442. },
  21443. "canoutamount2": {
  21444. "description": "是否可出金(网银端) - 0:不可 1:可以",
  21445. "type": "integer"
  21446. },
  21447. "canrelease": {
  21448. "description": "是否可解约 - 0:不可 1:可以",
  21449. "type": "integer"
  21450. },
  21451. "canrelease2": {
  21452. "description": "是否可解约(网银端) - 0:不可 1:可以",
  21453. "type": "integer"
  21454. },
  21455. "cansign": {
  21456. "description": "是否可签约 - 0:不可 1:可以",
  21457. "type": "integer"
  21458. },
  21459. "cansign2": {
  21460. "description": "是否可签约(网银端) - 0:不可 1:可以",
  21461. "type": "integer"
  21462. },
  21463. "currency": {
  21464. "description": "币种",
  21465. "type": "string"
  21466. },
  21467. "cusbankid": {
  21468. "description": "托管银行编号(对应清算中心TRAN_NO)",
  21469. "type": "string"
  21470. },
  21471. "cusbankname": {
  21472. "description": "银行业务名称",
  21473. "type": "string"
  21474. },
  21475. "cusbankshortname": {
  21476. "description": "银行业务简称",
  21477. "type": "string"
  21478. },
  21479. "exchbankid": {
  21480. "description": "交易所开户银行ID",
  21481. "type": "string"
  21482. },
  21483. "exchpaybankaccname": {
  21484. "description": "交易所支出结算账户户名",
  21485. "type": "string"
  21486. },
  21487. "exchpaybankaccno": {
  21488. "description": "交易所支出结算账户",
  21489. "type": "string"
  21490. },
  21491. "isneedcheck": {
  21492. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  21493. "type": "integer"
  21494. },
  21495. "isneedclear": {
  21496. "description": "是否需要清算 - 0:不需要 1:需要",
  21497. "type": "integer"
  21498. },
  21499. "riskinfo": {
  21500. "description": "签约风险提示书",
  21501. "type": "string"
  21502. }
  21503. }
  21504. },
  21505. "models.QhjCustomer": {
  21506. "type": "object",
  21507. "properties": {
  21508. "address": {
  21509. "description": "通讯地址",
  21510. "type": "string"
  21511. },
  21512. "attachment1": {
  21513. "description": "附件1",
  21514. "type": "string"
  21515. },
  21516. "audittime": {
  21517. "description": "审核时间",
  21518. "type": "string"
  21519. },
  21520. "cardbackphotourl": {
  21521. "description": "证件反面图片地址",
  21522. "type": "string"
  21523. },
  21524. "cardfrontphotourl": {
  21525. "description": "证件正面图片地址",
  21526. "type": "string"
  21527. },
  21528. "cardnum": {
  21529. "description": "证件号码",
  21530. "type": "string"
  21531. },
  21532. "cardtype": {
  21533. "description": "证件类型",
  21534. "type": "integer"
  21535. },
  21536. "cardtypename": {
  21537. "description": "证件类型名称",
  21538. "type": "string"
  21539. },
  21540. "cityid": {
  21541. "description": "市",
  21542. "type": "integer"
  21543. },
  21544. "cityname": {
  21545. "description": "城市名称",
  21546. "type": "string"
  21547. },
  21548. "contactname": {
  21549. "description": "联系人",
  21550. "type": "string"
  21551. },
  21552. "countryid": {
  21553. "description": "国家",
  21554. "type": "integer"
  21555. },
  21556. "countryname": {
  21557. "description": "国家名称",
  21558. "type": "string"
  21559. },
  21560. "createtime": {
  21561. "description": "创建时间",
  21562. "type": "string"
  21563. },
  21564. "customername": {
  21565. "description": "客户名称",
  21566. "type": "string"
  21567. },
  21568. "districtid": {
  21569. "description": "区域",
  21570. "type": "integer"
  21571. },
  21572. "districtname": {
  21573. "description": "地区名称",
  21574. "type": "string"
  21575. },
  21576. "email": {
  21577. "description": "邮件",
  21578. "type": "string"
  21579. },
  21580. "legalpersonname": {
  21581. "description": "法人姓名(企业)",
  21582. "type": "string"
  21583. },
  21584. "memberuserid": {
  21585. "description": "所属机构ID(所属会员)",
  21586. "type": "integer"
  21587. },
  21588. "memberusername": {
  21589. "description": "所属会员名称",
  21590. "type": "string"
  21591. },
  21592. "mobile": {
  21593. "description": "手机号码",
  21594. "type": "string"
  21595. },
  21596. "modifytime": {
  21597. "description": "修改时间",
  21598. "type": "string"
  21599. },
  21600. "nickname": {
  21601. "description": "昵称",
  21602. "type": "string"
  21603. },
  21604. "parentuserid": {
  21605. "description": "上级机构(所属机构)",
  21606. "type": "integer"
  21607. },
  21608. "parentusername": {
  21609. "description": "所属机构名称",
  21610. "type": "string"
  21611. },
  21612. "provinceid": {
  21613. "description": "省",
  21614. "type": "integer"
  21615. },
  21616. "provincename": {
  21617. "description": "省名称",
  21618. "type": "string"
  21619. },
  21620. "remark": {
  21621. "description": "备注",
  21622. "type": "string"
  21623. },
  21624. "status": {
  21625. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21626. "type": "integer"
  21627. },
  21628. "statusdesc": {
  21629. "description": "账户状态中文描述",
  21630. "type": "string"
  21631. },
  21632. "taxpayernum": {
  21633. "description": "纳税人识别号",
  21634. "type": "string"
  21635. },
  21636. "telphone": {
  21637. "description": "联系电话",
  21638. "type": "string"
  21639. },
  21640. "userid": {
  21641. "description": "用户ID",
  21642. "type": "integer"
  21643. },
  21644. "userinfotype": {
  21645. "description": "客户类型 1-个人 2-企业",
  21646. "type": "integer"
  21647. },
  21648. "username": {
  21649. "description": "用户名称",
  21650. "type": "string"
  21651. }
  21652. }
  21653. },
  21654. "models.QhjPickArea": {
  21655. "type": "object",
  21656. "properties": {
  21657. "cityid": {
  21658. "description": "市",
  21659. "type": "integer"
  21660. },
  21661. "cityname": {
  21662. "description": "城市名称",
  21663. "type": "string"
  21664. },
  21665. "countryid": {
  21666. "description": "国家",
  21667. "type": "integer"
  21668. },
  21669. "countryname": {
  21670. "description": "国家名称",
  21671. "type": "string"
  21672. },
  21673. "districtid": {
  21674. "description": "地区",
  21675. "type": "integer"
  21676. },
  21677. "districtname": {
  21678. "description": "地区名称",
  21679. "type": "string"
  21680. },
  21681. "fromuserid": {
  21682. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21683. "type": "integer"
  21684. },
  21685. "fromusername": {
  21686. "description": "所属机构名称",
  21687. "type": "string"
  21688. },
  21689. "provinceid": {
  21690. "description": "省",
  21691. "type": "integer"
  21692. },
  21693. "provincename": {
  21694. "description": "省名称",
  21695. "type": "string"
  21696. },
  21697. "suborgtype": {
  21698. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21699. "type": "integer"
  21700. },
  21701. "userid": {
  21702. "description": "机构用户ID 其他做市关系,都设置为 1",
  21703. "type": "integer"
  21704. },
  21705. "username": {
  21706. "description": "机构用户名称(门店门称)",
  21707. "type": "string"
  21708. }
  21709. }
  21710. },
  21711. "models.QhjPickGoods": {
  21712. "type": "object",
  21713. "properties": {
  21714. "imageaddress": {
  21715. "description": "图片",
  21716. "type": "string"
  21717. },
  21718. "modifierid": {
  21719. "description": "修改人",
  21720. "type": "integer"
  21721. },
  21722. "modifiername": {
  21723. "description": "修改人名称",
  21724. "type": "string"
  21725. },
  21726. "modifysrc": {
  21727. "description": "修改来源 - 1:管理端 2:终端",
  21728. "type": "integer"
  21729. },
  21730. "pickupgoodsagreeunit": {
  21731. "description": "合约乘数",
  21732. "type": "number"
  21733. },
  21734. "pickupgoodsdesc": {
  21735. "description": "描述",
  21736. "type": "string"
  21737. },
  21738. "pickupgoodsid": {
  21739. "description": "提货商品ID",
  21740. "type": "string"
  21741. },
  21742. "pickupgoodsname": {
  21743. "description": "提货商品名称",
  21744. "type": "string"
  21745. },
  21746. "pickupgoodsstatus": {
  21747. "description": "状态 - 1:正常 2:停用 3:注销",
  21748. "type": "integer"
  21749. },
  21750. "pickupgoodsunitid": {
  21751. "description": "单位ID",
  21752. "type": "integer"
  21753. },
  21754. "preparedays": {
  21755. "description": "备货期(天)",
  21756. "type": "integer"
  21757. },
  21758. "remark": {
  21759. "description": "备注",
  21760. "type": "string"
  21761. },
  21762. "updatetime": {
  21763. "description": "更新时间",
  21764. "type": "string"
  21765. }
  21766. }
  21767. },
  21768. "models.QhjRSTriggerLog": {
  21769. "type": "object",
  21770. "properties": {
  21771. "accountid": {
  21772. "description": "用户资金账户",
  21773. "type": "integer"
  21774. },
  21775. "accountname": {
  21776. "description": "账号名称(ACCOUNTID对应的名称)",
  21777. "type": "string"
  21778. },
  21779. "currencyid": {
  21780. "description": "币种id",
  21781. "type": "integer"
  21782. },
  21783. "currencyname": {
  21784. "description": "币种名称",
  21785. "type": "string"
  21786. },
  21787. "enumdicname": {
  21788. "description": "单位名称",
  21789. "type": "string"
  21790. },
  21791. "goodscode": {
  21792. "description": "定投商品代码",
  21793. "type": "string"
  21794. },
  21795. "goodsid": {
  21796. "description": "定投商品ID",
  21797. "type": "string"
  21798. },
  21799. "goodsname": {
  21800. "description": "定投商品名称",
  21801. "type": "string"
  21802. },
  21803. "goodunitid": {
  21804. "description": "定投商品单位id",
  21805. "type": "integer"
  21806. },
  21807. "logid": {
  21808. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  21809. "type": "string"
  21810. },
  21811. "regularlycycle": {
  21812. "description": "定投频率 - 1:每周 2:每月",
  21813. "type": "integer"
  21814. },
  21815. "regularlycyclevalue": {
  21816. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  21817. "type": "string"
  21818. },
  21819. "regularlymode": {
  21820. "description": "定投方式 - 1:按数量 2:按金额",
  21821. "type": "integer"
  21822. },
  21823. "regularlymodevalue": {
  21824. "description": "定投方式值 - 数量或金额",
  21825. "type": "number"
  21826. },
  21827. "regularlystrategyid": {
  21828. "description": "定投策略ID",
  21829. "type": "integer"
  21830. },
  21831. "retcode": {
  21832. "description": "错误码",
  21833. "type": "string"
  21834. },
  21835. "tradeid": {
  21836. "description": "成交单ID",
  21837. "type": "string"
  21838. },
  21839. "triggeramount": {
  21840. "description": "触发金额",
  21841. "type": "number"
  21842. },
  21843. "triggerqty": {
  21844. "description": "触发数量",
  21845. "type": "number"
  21846. },
  21847. "triggerstatus": {
  21848. "description": "触发状态 - 1:成功 2:失败",
  21849. "type": "integer"
  21850. },
  21851. "triggertime": {
  21852. "description": "触发时间",
  21853. "type": "string"
  21854. },
  21855. "triggertradedate": {
  21856. "description": "触发交易日",
  21857. "type": "string"
  21858. },
  21859. "userid": {
  21860. "description": "所属用户ID",
  21861. "type": "integer"
  21862. },
  21863. "username": {
  21864. "description": "用户名称(userid对应的名称)",
  21865. "type": "string"
  21866. }
  21867. }
  21868. },
  21869. "models.QhjRStrategy": {
  21870. "type": "object",
  21871. "properties": {
  21872. "accountid": {
  21873. "description": "用户资金账户",
  21874. "type": "integer"
  21875. },
  21876. "accountname": {
  21877. "description": "账号名称(ACCOUNTID对应的名称)",
  21878. "type": "string"
  21879. },
  21880. "currencyid": {
  21881. "description": "币种id",
  21882. "type": "integer"
  21883. },
  21884. "currencyname": {
  21885. "description": "币种名称",
  21886. "type": "string"
  21887. },
  21888. "enumdicname": {
  21889. "description": "单位名称",
  21890. "type": "string"
  21891. },
  21892. "goodscode": {
  21893. "description": "定投商品代码",
  21894. "type": "string"
  21895. },
  21896. "goodsid": {
  21897. "description": "定投商品ID",
  21898. "type": "string"
  21899. },
  21900. "goodsname": {
  21901. "description": "定投商品名称",
  21902. "type": "string"
  21903. },
  21904. "goodunitid": {
  21905. "description": "定投商品单位id",
  21906. "type": "integer"
  21907. },
  21908. "lasteffecttradedate": {
  21909. "description": "最新生效交易日",
  21910. "type": "string"
  21911. },
  21912. "laststoptradedate": {
  21913. "description": "最新暂停交易日",
  21914. "type": "string"
  21915. },
  21916. "lasttriggertradedate": {
  21917. "description": "最新触发交易日",
  21918. "type": "string"
  21919. },
  21920. "nexttriggeramount": {
  21921. "description": "下次触发金额",
  21922. "type": "number"
  21923. },
  21924. "nexttriggerdate": {
  21925. "description": "下次触发日期",
  21926. "type": "string"
  21927. },
  21928. "nexttriggerqty": {
  21929. "description": "下次触发数量 [按小数位放大值]",
  21930. "type": "number"
  21931. },
  21932. "regularlycycle": {
  21933. "description": "定投频率 - 1:每周 2:每月",
  21934. "type": "integer"
  21935. },
  21936. "regularlycyclevalue": {
  21937. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  21938. "type": "string"
  21939. },
  21940. "regularlymode": {
  21941. "description": "定投方式 - 1:按数量 2:按金额",
  21942. "type": "integer"
  21943. },
  21944. "regularlymodevalue": {
  21945. "description": "定投方式值 - 数量或金额",
  21946. "type": "number"
  21947. },
  21948. "regularlystrategyid": {
  21949. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  21950. "type": "integer"
  21951. },
  21952. "regularlystrategystatus": {
  21953. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  21954. "type": "integer"
  21955. },
  21956. "remark": {
  21957. "description": "备注",
  21958. "type": "string"
  21959. },
  21960. "triggersuccesstimes": {
  21961. "description": "累计定投成功次数",
  21962. "type": "string"
  21963. },
  21964. "triggertotalamount": {
  21965. "description": "累计定投金额(成功)",
  21966. "type": "number"
  21967. },
  21968. "triggertotalqty": {
  21969. "description": "累计定投数量(成功) [按小数位放大值]",
  21970. "type": "number"
  21971. },
  21972. "triggertotaltimes": {
  21973. "description": "累计定投总次数",
  21974. "type": "string"
  21975. },
  21976. "updatesrc": {
  21977. "description": "更新来源 - 1:管理端 2:终端",
  21978. "type": "integer"
  21979. },
  21980. "updatetime": {
  21981. "description": "更新时间",
  21982. "type": "string"
  21983. },
  21984. "updatorid": {
  21985. "description": "更新人",
  21986. "type": "string"
  21987. },
  21988. "userid": {
  21989. "description": "所属用户ID",
  21990. "type": "integer"
  21991. },
  21992. "username": {
  21993. "description": "用户名称(userid对应的名称)",
  21994. "type": "string"
  21995. }
  21996. }
  21997. },
  21998. "models.QhjReckonPriceLog": {
  21999. "type": "object",
  22000. "properties": {
  22001. "goodsid": {
  22002. "description": "商品ID",
  22003. "type": "integer"
  22004. },
  22005. "lastreckonprice": {
  22006. "description": "上日结算价",
  22007. "type": "number"
  22008. },
  22009. "nextdnlimitprice": {
  22010. "description": "下个交易日跌停价",
  22011. "type": "number"
  22012. },
  22013. "nexttrade": {
  22014. "description": "下个交易日",
  22015. "type": "string"
  22016. },
  22017. "nextuplimitprice": {
  22018. "description": "下个交易日涨停价",
  22019. "type": "number"
  22020. },
  22021. "reckonprice": {
  22022. "description": "今日结算价(定投价)",
  22023. "type": "number"
  22024. },
  22025. "reckontime": {
  22026. "description": "结算时间",
  22027. "type": "string"
  22028. },
  22029. "totalholderqty": {
  22030. "description": "总持仓数",
  22031. "type": "integer"
  22032. },
  22033. "totalstock": {
  22034. "description": "总库存",
  22035. "type": "integer"
  22036. },
  22037. "tradedate": {
  22038. "description": "交易日",
  22039. "type": "string"
  22040. },
  22041. "updowncount": {
  22042. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  22043. "type": "integer"
  22044. },
  22045. "updownflag": {
  22046. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  22047. "type": "integer"
  22048. },
  22049. "updownrate": {
  22050. "description": "今日涨跌幅",
  22051. "type": "number"
  22052. },
  22053. "updownrate_2d": {
  22054. "description": "连续两日涨跌幅",
  22055. "type": "number"
  22056. },
  22057. "updownrate_3d": {
  22058. "description": "连续三日涨跌幅",
  22059. "type": "number"
  22060. }
  22061. }
  22062. },
  22063. "models.QhjSiteColumnDetail": {
  22064. "type": "object",
  22065. "properties": {
  22066. "author": {
  22067. "description": "作者",
  22068. "type": "string"
  22069. },
  22070. "brief": {
  22071. "description": "简介",
  22072. "type": "string"
  22073. },
  22074. "columnid": {
  22075. "description": "所属栏目",
  22076. "type": "integer"
  22077. },
  22078. "context": {
  22079. "description": "内容",
  22080. "type": "string"
  22081. },
  22082. "coverimage": {
  22083. "description": "封面图片",
  22084. "type": "string"
  22085. },
  22086. "creaedate": {
  22087. "description": "创建时间",
  22088. "type": "string"
  22089. },
  22090. "creatorid": {
  22091. "description": "创建人",
  22092. "type": "integer"
  22093. },
  22094. "hits": {
  22095. "description": "点击数",
  22096. "type": "integer"
  22097. },
  22098. "id": {
  22099. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  22100. "type": "integer"
  22101. },
  22102. "isshow": {
  22103. "description": "是否展示 - 0:不展示 1:展示",
  22104. "type": "integer"
  22105. },
  22106. "istop": {
  22107. "description": "是否置顶 - 0:不置 1:置顶",
  22108. "type": "integer"
  22109. },
  22110. "modifierid": {
  22111. "description": "操作人",
  22112. "type": "integer"
  22113. },
  22114. "publishdate": {
  22115. "description": "发布日期",
  22116. "type": "string"
  22117. },
  22118. "status": {
  22119. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  22120. "type": "integer"
  22121. },
  22122. "title": {
  22123. "description": "标题",
  22124. "type": "string"
  22125. },
  22126. "updatedate": {
  22127. "description": "修改时间",
  22128. "type": "string"
  22129. },
  22130. "userid": {
  22131. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  22132. "type": "integer"
  22133. },
  22134. "username": {
  22135. "description": "用户名称",
  22136. "type": "string"
  22137. }
  22138. }
  22139. },
  22140. "models.QhjTradeGoodsPickup": {
  22141. "type": "object",
  22142. "properties": {
  22143. "accountid": {
  22144. "description": "账户ID",
  22145. "type": "integer"
  22146. },
  22147. "address": {
  22148. "description": "提货人详细地址",
  22149. "type": "string"
  22150. },
  22151. "amount": {
  22152. "description": "提货金额",
  22153. "type": "number"
  22154. },
  22155. "artradedate": {
  22156. "description": "自动收货交易日(yyyyMMdd)",
  22157. "type": "string"
  22158. },
  22159. "auditer": {
  22160. "description": "审核人",
  22161. "type": "integer"
  22162. },
  22163. "auditsrc": {
  22164. "description": "更新来源 - 1:管理端 2:终端",
  22165. "type": "integer"
  22166. },
  22167. "audittime": {
  22168. "description": "审核时间(发货时间)",
  22169. "type": "string"
  22170. },
  22171. "audittradedate": {
  22172. "description": "审核交易日(yyyyMMdd)",
  22173. "type": "string"
  22174. },
  22175. "cardnum": {
  22176. "description": "提货人证件号码",
  22177. "type": "string"
  22178. },
  22179. "cardtypeid": {
  22180. "description": "提货人证件类型",
  22181. "type": "integer"
  22182. },
  22183. "checkremark": {
  22184. "description": "审核备注",
  22185. "type": "string"
  22186. },
  22187. "cityid": {
  22188. "description": "市",
  22189. "type": "integer"
  22190. },
  22191. "cityname": {
  22192. "description": "城市名称",
  22193. "type": "string"
  22194. },
  22195. "countryid": {
  22196. "description": "国家",
  22197. "type": "integer"
  22198. },
  22199. "countryname": {
  22200. "description": "国家名称",
  22201. "type": "string"
  22202. },
  22203. "districtid": {
  22204. "description": "地区",
  22205. "type": "integer"
  22206. },
  22207. "districtname": {
  22208. "description": "地区名称",
  22209. "type": "string"
  22210. },
  22211. "enumdicname": {
  22212. "description": "单位名称(提货商品)",
  22213. "type": "string"
  22214. },
  22215. "expresscompany": {
  22216. "description": "物流公司",
  22217. "type": "string"
  22218. },
  22219. "expressnum": {
  22220. "description": "物流单号",
  22221. "type": "string"
  22222. },
  22223. "goodsagreeunit": {
  22224. "description": "交易商品乘数",
  22225. "type": "number"
  22226. },
  22227. "goodscode": {
  22228. "description": "商品代码",
  22229. "type": "string"
  22230. },
  22231. "goodsid": {
  22232. "description": "商品ID",
  22233. "type": "integer"
  22234. },
  22235. "goodsname": {
  22236. "description": "商品名称",
  22237. "type": "string"
  22238. },
  22239. "goodsqty": {
  22240. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  22241. "type": "number"
  22242. },
  22243. "handlestatus": {
  22244. "description": "处理状态",
  22245. "type": "integer"
  22246. },
  22247. "marketid": {
  22248. "description": "市场ID",
  22249. "type": "integer"
  22250. },
  22251. "phonenum": {
  22252. "description": "提货人联系方式",
  22253. "type": "string"
  22254. },
  22255. "pickupgoodsagreeunit": {
  22256. "description": "提货商品合约乘数",
  22257. "type": "number"
  22258. },
  22259. "pickupgoodsid": {
  22260. "description": "提货商品ID",
  22261. "type": "string"
  22262. },
  22263. "pickupgoodsname": {
  22264. "description": "提货商品名称",
  22265. "type": "string"
  22266. },
  22267. "pickupgoodsqty": {
  22268. "description": "提货商品手数(数量)",
  22269. "type": "number"
  22270. },
  22271. "pickupgoodsunitid": {
  22272. "description": "单位ID(提货商品)",
  22273. "type": "integer"
  22274. },
  22275. "pickupratio": {
  22276. "description": "提货系数",
  22277. "type": "number"
  22278. },
  22279. "preparedays": {
  22280. "description": "备货期(天)-提货单明细表",
  22281. "type": "integer"
  22282. },
  22283. "provinceid": {
  22284. "description": "省",
  22285. "type": "integer"
  22286. },
  22287. "provincename": {
  22288. "description": "省名称",
  22289. "type": "string"
  22290. },
  22291. "qty": {
  22292. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  22293. "type": "number"
  22294. },
  22295. "recivername": {
  22296. "description": "提货人姓名",
  22297. "type": "string"
  22298. },
  22299. "reqtime": {
  22300. "description": "提货申请时间",
  22301. "type": "string"
  22302. },
  22303. "storeuserid": {
  22304. "description": "门店用户ID (千海金)",
  22305. "type": "integer"
  22306. },
  22307. "storeusername": {
  22308. "description": "门店用户名称",
  22309. "type": "string"
  22310. },
  22311. "takemode": {
  22312. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  22313. "type": "integer"
  22314. },
  22315. "takeorderid": {
  22316. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22317. "type": "integer"
  22318. },
  22319. "takeorderstatus": {
  22320. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  22321. "type": "integer"
  22322. },
  22323. "takeremark": {
  22324. "description": "提货备注",
  22325. "type": "string"
  22326. },
  22327. "tradedate": {
  22328. "description": "交易日(yyyyMMdd)",
  22329. "type": "string"
  22330. },
  22331. "updatetime": {
  22332. "description": "更新时间",
  22333. "type": "string"
  22334. },
  22335. "userid": {
  22336. "description": "用户ID",
  22337. "type": "integer"
  22338. },
  22339. "username": {
  22340. "description": "用户名称",
  22341. "type": "string"
  22342. }
  22343. }
  22344. },
  22345. "models.QueryErrorInfosRsp": {
  22346. "type": "object",
  22347. "required": [
  22348. "errorid"
  22349. ],
  22350. "properties": {
  22351. "description": {
  22352. "description": "异常描述",
  22353. "type": "string"
  22354. },
  22355. "errorcode": {
  22356. "description": "异常代码",
  22357. "type": "string"
  22358. },
  22359. "errorid": {
  22360. "description": "异常ID",
  22361. "type": "integer"
  22362. },
  22363. "modulecode": {
  22364. "description": "所属模块",
  22365. "type": "string"
  22366. },
  22367. "operatecode": {
  22368. "description": "所属操作",
  22369. "type": "string"
  22370. },
  22371. "rownumber": {
  22372. "description": "行号",
  22373. "type": "string"
  22374. }
  22375. }
  22376. },
  22377. "models.QueryHedgeOrderDetailRsp": {
  22378. "type": "object",
  22379. "properties": {
  22380. "accountid": {
  22381. "description": "账户ID",
  22382. "type": "integer"
  22383. },
  22384. "buyorsell": {
  22385. "description": "买卖 - 0:买 1:卖",
  22386. "type": "integer"
  22387. },
  22388. "cancellogincode": {
  22389. "description": "撤单人",
  22390. "type": "string"
  22391. },
  22392. "channelbuildtype": {
  22393. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22394. "type": "integer"
  22395. },
  22396. "channelinnerorderstatus": {
  22397. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22398. "type": "integer"
  22399. },
  22400. "channeloperatetype": {
  22401. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22402. "type": "integer"
  22403. },
  22404. "closetype": {
  22405. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22406. "type": "integer"
  22407. },
  22408. "curexchangerate": {
  22409. "description": "当前汇率",
  22410. "type": "number"
  22411. },
  22412. "exchangefullname": {
  22413. "description": "外部交易所全称",
  22414. "type": "string"
  22415. },
  22416. "goodscode": {
  22417. "description": "商品代码(内部)",
  22418. "type": "string"
  22419. },
  22420. "goodsid": {
  22421. "description": "商品ID",
  22422. "type": "integer"
  22423. },
  22424. "goodsname": {
  22425. "description": "商品名称",
  22426. "type": "string"
  22427. },
  22428. "marketid": {
  22429. "description": "市场ID",
  22430. "type": "integer"
  22431. },
  22432. "openfreezemargin": {
  22433. "description": "冻结保证金(冻结交易金额)",
  22434. "type": "number"
  22435. },
  22436. "orderid": {
  22437. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22438. "type": "string"
  22439. },
  22440. "orderlogincode": {
  22441. "description": "委托人",
  22442. "type": "string"
  22443. },
  22444. "orderprice": {
  22445. "description": "委托价格(账户)",
  22446. "type": "number"
  22447. },
  22448. "orderqty": {
  22449. "description": "委托数量",
  22450. "type": "integer"
  22451. },
  22452. "ordertime": {
  22453. "description": "委托时间",
  22454. "type": "string"
  22455. },
  22456. "pricemode": {
  22457. "description": "取价方式 - 1:市价 2: 限价",
  22458. "type": "integer"
  22459. },
  22460. "tradedate": {
  22461. "description": "交易日(yyyyMMdd)",
  22462. "type": "string"
  22463. },
  22464. "tradeqty": {
  22465. "description": "成交数量",
  22466. "type": "integer"
  22467. }
  22468. }
  22469. },
  22470. "models.QueryHedgeTradeDetailRsp": {
  22471. "type": "object",
  22472. "properties": {
  22473. "accountid": {
  22474. "description": "账号ID",
  22475. "type": "integer"
  22476. },
  22477. "buyorsell": {
  22478. "description": "方向 - 0:买 1:卖",
  22479. "type": "integer"
  22480. },
  22481. "channelbuildtype": {
  22482. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22483. "type": "integer"
  22484. },
  22485. "closecharge": {
  22486. "description": "平仓手续费(账户)",
  22487. "type": "number"
  22488. },
  22489. "closecharge2": {
  22490. "description": "平仓手续费(商品)",
  22491. "type": "number"
  22492. },
  22493. "closepl": {
  22494. "description": "平仓盈亏(账户)",
  22495. "type": "number"
  22496. },
  22497. "closepl2": {
  22498. "description": "平仓盈亏(商品)",
  22499. "type": "number"
  22500. },
  22501. "closepl3": {
  22502. "description": "平仓盈亏(账户)(逐笔)",
  22503. "type": "number"
  22504. },
  22505. "closepl4": {
  22506. "description": "平仓盈亏(商品)(逐笔)",
  22507. "type": "number"
  22508. },
  22509. "closetype": {
  22510. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22511. "type": "integer"
  22512. },
  22513. "curexchangerate": {
  22514. "description": "当前汇率",
  22515. "type": "number"
  22516. },
  22517. "exchangefullname": {
  22518. "description": "外部交易所全称",
  22519. "type": "string"
  22520. },
  22521. "goodscode": {
  22522. "description": "商品代码(内部)",
  22523. "type": "string"
  22524. },
  22525. "goodsid": {
  22526. "description": "商品ID",
  22527. "type": "integer"
  22528. },
  22529. "goodsname": {
  22530. "description": "商品名称",
  22531. "type": "string"
  22532. },
  22533. "marketid": {
  22534. "description": "市场ID",
  22535. "type": "integer"
  22536. },
  22537. "opencharge": {
  22538. "description": "建仓手续费(账户)",
  22539. "type": "number"
  22540. },
  22541. "opencharge2": {
  22542. "description": "建仓手续费(商品)",
  22543. "type": "number"
  22544. },
  22545. "orderid": {
  22546. "description": "委托单号",
  22547. "type": "string"
  22548. },
  22549. "orderlogincode": {
  22550. "description": "委托人",
  22551. "type": "string"
  22552. },
  22553. "tradeamount": {
  22554. "description": "成交金额(账户)",
  22555. "type": "number"
  22556. },
  22557. "tradedate": {
  22558. "description": "交易日(yyyyMMdd)",
  22559. "type": "string"
  22560. },
  22561. "tradeid": {
  22562. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22563. "type": "string"
  22564. },
  22565. "tradeprice": {
  22566. "description": "成交价格",
  22567. "type": "number"
  22568. },
  22569. "tradeqty": {
  22570. "description": "成交数量",
  22571. "type": "integer"
  22572. },
  22573. "tradetime": {
  22574. "description": "成交时间",
  22575. "type": "string"
  22576. },
  22577. "tradetype": {
  22578. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22579. "type": "integer"
  22580. }
  22581. }
  22582. },
  22583. "models.QuotePrimaryMenu": {
  22584. "type": "object",
  22585. "properties": {
  22586. "Index": {
  22587. "description": "序号",
  22588. "type": "integer"
  22589. },
  22590. "Key": {
  22591. "description": "键名",
  22592. "type": "string"
  22593. },
  22594. "Name": {
  22595. "description": "菜单名称",
  22596. "type": "string"
  22597. },
  22598. "SubMenus": {
  22599. "description": "子菜单",
  22600. "type": "array",
  22601. "items": {
  22602. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22603. }
  22604. },
  22605. "SubTitleType": {
  22606. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22607. "type": "integer"
  22608. },
  22609. "TradeModes": {
  22610. "description": "包含市场交易类型",
  22611. "type": "string"
  22612. }
  22613. }
  22614. },
  22615. "models.QuoteSecondaryMenu": {
  22616. "type": "object",
  22617. "properties": {
  22618. "ExExchangeCode": {
  22619. "description": "外部交易所代码",
  22620. "type": "string"
  22621. },
  22622. "ExExchangeID": {
  22623. "description": "外部交易所ID",
  22624. "type": "integer"
  22625. },
  22626. "GoodsGroupIDs": {
  22627. "description": "商品组ID列表",
  22628. "type": "array",
  22629. "items": {
  22630. "type": "integer"
  22631. }
  22632. },
  22633. "Index": {
  22634. "description": "序号",
  22635. "type": "integer"
  22636. },
  22637. "MarketID": {
  22638. "description": "市场ID",
  22639. "type": "integer"
  22640. },
  22641. "MenuTitle": {
  22642. "description": "菜单标题(市场名称或外部交易所名称)",
  22643. "type": "string"
  22644. },
  22645. "TradeMode": {
  22646. "description": "交易模式",
  22647. "type": "integer"
  22648. }
  22649. }
  22650. },
  22651. "models.SearchGoods": {
  22652. "type": "object",
  22653. "required": [
  22654. "goodscode",
  22655. "goodsid",
  22656. "goodsname",
  22657. "marketid",
  22658. "trademode"
  22659. ],
  22660. "properties": {
  22661. "goodscode": {
  22662. "description": "商品代码(内部)",
  22663. "type": "string"
  22664. },
  22665. "goodsid": {
  22666. "description": "商品ID(自增ID SEQ_GOODS)",
  22667. "type": "integer"
  22668. },
  22669. "goodsname": {
  22670. "description": "商品名称",
  22671. "type": "string"
  22672. },
  22673. "marketid": {
  22674. "description": "所属市场ID",
  22675. "type": "integer"
  22676. },
  22677. "marketname": {
  22678. "description": "市场名称",
  22679. "type": "string"
  22680. },
  22681. "trademode": {
  22682. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22683. "type": "integer"
  22684. }
  22685. }
  22686. },
  22687. "models.Systemparam": {
  22688. "type": "object",
  22689. "required": [
  22690. "paramcode"
  22691. ],
  22692. "properties": {
  22693. "loginid": {
  22694. "description": "更新用户账号,登录账号",
  22695. "type": "string"
  22696. },
  22697. "modifyflag": {
  22698. "description": "修改标志0 不允许修改 1 允许修改",
  22699. "type": "integer"
  22700. },
  22701. "paramcode": {
  22702. "description": "参数代码",
  22703. "type": "string"
  22704. },
  22705. "paramname": {
  22706. "description": "参数名",
  22707. "type": "string"
  22708. },
  22709. "paramtype": {
  22710. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22711. "type": "integer"
  22712. },
  22713. "paramvalue": {
  22714. "description": "参数值",
  22715. "type": "string"
  22716. },
  22717. "paramvalue2": {
  22718. "description": "参数值(CLOB)",
  22719. "type": "string"
  22720. },
  22721. "regexpress": {
  22722. "description": "正则表达式",
  22723. "type": "string"
  22724. },
  22725. "remark": {
  22726. "description": "备注",
  22727. "type": "string"
  22728. },
  22729. "serverip": {
  22730. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22731. "type": "string"
  22732. },
  22733. "showflag": {
  22734. "description": "是否显示0 不显示 1 显示",
  22735. "type": "integer"
  22736. },
  22737. "updatetime": {
  22738. "description": "更新时间",
  22739. "type": "string"
  22740. },
  22741. "userid": {
  22742. "description": "更新用户ID",
  22743. "type": "integer"
  22744. }
  22745. }
  22746. },
  22747. "models.Szdz3convertconfig": {
  22748. "type": "object",
  22749. "required": [
  22750. "converttype",
  22751. "innergoodsid",
  22752. "outergoodscode"
  22753. ],
  22754. "properties": {
  22755. "canin": {
  22756. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22757. "type": "integer"
  22758. },
  22759. "canout": {
  22760. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22761. "type": "integer"
  22762. },
  22763. "converttype": {
  22764. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22765. "type": "integer"
  22766. },
  22767. "createtime": {
  22768. "description": "创建时间",
  22769. "type": "string"
  22770. },
  22771. "creatorid": {
  22772. "description": "创建人",
  22773. "type": "integer"
  22774. },
  22775. "daymaxvalue": {
  22776. "description": "当日最大转入限制",
  22777. "type": "number"
  22778. },
  22779. "freezedays": {
  22780. "description": "冻结天数 [5:花生米转交易]",
  22781. "type": "integer"
  22782. },
  22783. "innergoodsid": {
  22784. "description": "内部商品ID[交易]",
  22785. "type": "integer"
  22786. },
  22787. "inratio": {
  22788. "description": "目标值",
  22789. "type": "integer"
  22790. },
  22791. "modifierid": {
  22792. "description": "修改人",
  22793. "type": "integer"
  22794. },
  22795. "modifytime": {
  22796. "description": "修改时间",
  22797. "type": "string"
  22798. },
  22799. "outergoodscode": {
  22800. "description": "外部商品代码[JD\\PD]",
  22801. "type": "string"
  22802. },
  22803. "outratio": {
  22804. "description": "源值",
  22805. "type": "integer"
  22806. },
  22807. "pddecimalplace": {
  22808. "description": "PD小数位",
  22809. "type": "integer"
  22810. },
  22811. "timemaxvalue": {
  22812. "description": "单次最大转入限制",
  22813. "type": "number"
  22814. },
  22815. "timeminvalue": {
  22816. "description": "单次最小转入限制",
  22817. "type": "number"
  22818. }
  22819. }
  22820. },
  22821. "models.Szdz3searchwhitelist": {
  22822. "type": "object",
  22823. "required": [
  22824. "userid"
  22825. ],
  22826. "properties": {
  22827. "createtime": {
  22828. "description": "创建时间",
  22829. "type": "string"
  22830. },
  22831. "creatorid": {
  22832. "description": "创建人",
  22833. "type": "integer"
  22834. },
  22835. "modifierid": {
  22836. "description": "修改人",
  22837. "type": "integer"
  22838. },
  22839. "modifytime": {
  22840. "description": "修改时间",
  22841. "type": "string"
  22842. },
  22843. "userid": {
  22844. "description": "用户ID",
  22845. "type": "integer"
  22846. }
  22847. }
  22848. },
  22849. "models.Taaccount": {
  22850. "type": "object",
  22851. "required": [
  22852. "accountid",
  22853. "userid"
  22854. ],
  22855. "properties": {
  22856. "accountflag": {
  22857. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22858. "type": "integer"
  22859. },
  22860. "accountid": {
  22861. "description": "资金账户ID",
  22862. "type": "integer"
  22863. },
  22864. "accountname": {
  22865. "description": "账户名称",
  22866. "type": "string"
  22867. },
  22868. "balance": {
  22869. "description": "期初余额",
  22870. "type": "number"
  22871. },
  22872. "capitalbalance": {
  22873. "description": "本金余额[外部子账户实际出入金余额]",
  22874. "type": "number"
  22875. },
  22876. "changeflag": {
  22877. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22878. "type": "integer"
  22879. },
  22880. "changetime": {
  22881. "description": "账户状态变更时间",
  22882. "type": "string"
  22883. },
  22884. "closepl": {
  22885. "description": "今日平仓盈亏",
  22886. "type": "number"
  22887. },
  22888. "creditdecrease": {
  22889. "description": "今日授信减少",
  22890. "type": "number"
  22891. },
  22892. "creditincrease": {
  22893. "description": "今日授信增加",
  22894. "type": "number"
  22895. },
  22896. "currencyid": {
  22897. "description": "货币ID",
  22898. "type": "integer"
  22899. },
  22900. "currentbalance": {
  22901. "description": "期末余额",
  22902. "type": "number"
  22903. },
  22904. "freezecharge": {
  22905. "description": "手续费冻结",
  22906. "type": "number"
  22907. },
  22908. "freezemargin": {
  22909. "description": "冻结保证金",
  22910. "type": "number"
  22911. },
  22912. "fromaccountid": {
  22913. "description": "所属上级账户",
  22914. "type": "integer"
  22915. },
  22916. "inamount": {
  22917. "description": "今日入金金额(包括三方入金)",
  22918. "type": "number"
  22919. },
  22920. "ismain": {
  22921. "description": "是否母账号 0:不是母账户 1:是母账户",
  22922. "type": "integer"
  22923. },
  22924. "ismarketaccount": {
  22925. "description": "是否机构接单账号 0:不是 1:是",
  22926. "type": "integer"
  22927. },
  22928. "isreckonaccount": {
  22929. "description": "是否机构分润账号 0:不是 1:是",
  22930. "type": "integer"
  22931. },
  22932. "mortgagecredit": {
  22933. "description": "授信金额",
  22934. "type": "number"
  22935. },
  22936. "orifreezecharge": {
  22937. "description": "期初手续费冻结",
  22938. "type": "number"
  22939. },
  22940. "orifreezemargin": {
  22941. "description": "期初冻结保证金",
  22942. "type": "number"
  22943. },
  22944. "orimortgagecredit": {
  22945. "description": "期初授信金额",
  22946. "type": "number"
  22947. },
  22948. "oriothercredit": {
  22949. "description": "期初其它授信金额",
  22950. "type": "number"
  22951. },
  22952. "oriotherfreezemargin": {
  22953. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22954. "type": "number"
  22955. },
  22956. "orioutamountfreeze": {
  22957. "description": "期初出金冻结",
  22958. "type": "number"
  22959. },
  22960. "oriusedmargin": {
  22961. "description": "期初占用保证金",
  22962. "type": "number"
  22963. },
  22964. "othercredit": {
  22965. "description": "其它授信金额",
  22966. "type": "number"
  22967. },
  22968. "othercreditdecrease": {
  22969. "description": "今日其它授信减少",
  22970. "type": "number"
  22971. },
  22972. "othercreditincrease": {
  22973. "description": "今日其它授信增加",
  22974. "type": "number"
  22975. },
  22976. "otherfreezemargin": {
  22977. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22978. "type": "number"
  22979. },
  22980. "otherincome": {
  22981. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22982. "type": "number"
  22983. },
  22984. "otherpay": {
  22985. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22986. "type": "number"
  22987. },
  22988. "outamount": {
  22989. "description": "今日出金金额(包括三方出金)",
  22990. "type": "number"
  22991. },
  22992. "outamountfreeze": {
  22993. "description": "出金冻结",
  22994. "type": "number"
  22995. },
  22996. "outthreshold": {
  22997. "description": "出金阈值",
  22998. "type": "number"
  22999. },
  23000. "parentaccountid": {
  23001. "description": "所属根账号",
  23002. "type": "integer"
  23003. },
  23004. "paycharge": {
  23005. "description": "今日手续费支出",
  23006. "type": "number"
  23007. },
  23008. "relatedaccountstatus": {
  23009. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  23010. "type": "integer"
  23011. },
  23012. "relateduserid": {
  23013. "description": "关联用户",
  23014. "type": "integer"
  23015. },
  23016. "serivcegroup": {
  23017. "description": "服务分组",
  23018. "type": "integer"
  23019. },
  23020. "signstatus": {
  23021. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23022. "type": "integer"
  23023. },
  23024. "sublevelpath": {
  23025. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23026. "type": "string"
  23027. },
  23028. "taaccounttype": {
  23029. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23030. "type": "integer"
  23031. },
  23032. "thirdinamount": {
  23033. "description": "今日三方入金",
  23034. "type": "number"
  23035. },
  23036. "thirdoutamount": {
  23037. "description": "今日三方出金",
  23038. "type": "number"
  23039. },
  23040. "tradestatus": {
  23041. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23042. "type": "integer"
  23043. },
  23044. "tradestatuschangetime": {
  23045. "description": "激活时间",
  23046. "type": "string"
  23047. },
  23048. "transferamount": {
  23049. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23050. "type": "number"
  23051. },
  23052. "usedmargin": {
  23053. "description": "占用保证金",
  23054. "type": "number"
  23055. },
  23056. "userid": {
  23057. "description": "用户ID",
  23058. "type": "integer"
  23059. }
  23060. }
  23061. },
  23062. "models.Tablecolumnconfig": {
  23063. "type": "object",
  23064. "required": [
  23065. "autoid"
  23066. ],
  23067. "properties": {
  23068. "aligntype": {
  23069. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23070. "type": "integer"
  23071. },
  23072. "autoid": {
  23073. "description": "AutoID",
  23074. "type": "integer"
  23075. },
  23076. "columnfield": {
  23077. "description": "列字段",
  23078. "type": "string"
  23079. },
  23080. "columntitle": {
  23081. "description": "列Title",
  23082. "type": "string"
  23083. },
  23084. "columnwidth": {
  23085. "description": "列宽",
  23086. "type": "string"
  23087. },
  23088. "formatterstring": {
  23089. "description": "格式化字符",
  23090. "type": "string"
  23091. },
  23092. "formattertype": {
  23093. "description": "格式化类型",
  23094. "type": "string"
  23095. },
  23096. "groupname": {
  23097. "description": "表头分组名称",
  23098. "type": "string"
  23099. },
  23100. "isshow": {
  23101. "description": "是否显示 - 0:不显示 1:显示",
  23102. "type": "integer"
  23103. },
  23104. "needsummary": {
  23105. "description": "是否需要汇总 - 0:不需要 1:需要",
  23106. "type": "integer"
  23107. },
  23108. "orderindex": {
  23109. "description": "顺序",
  23110. "type": "integer"
  23111. },
  23112. "remark": {
  23113. "description": "备注",
  23114. "type": "string"
  23115. },
  23116. "summarytype": {
  23117. "description": "汇总类型 - 1:加总 2:最后一个",
  23118. "type": "integer"
  23119. },
  23120. "tablekey": {
  23121. "description": "列表Key",
  23122. "type": "string"
  23123. }
  23124. }
  23125. },
  23126. "models.UserCollectConfig": {
  23127. "type": "object",
  23128. "properties": {
  23129. "accountstatus": {
  23130. "description": "账户状态 - 1:正常 2:停用 3:注销",
  23131. "type": "integer"
  23132. },
  23133. "collectaccountname": {
  23134. "description": "收款人账户名称",
  23135. "type": "string"
  23136. },
  23137. "collectaccountno": {
  23138. "description": "收款人账户",
  23139. "type": "string"
  23140. },
  23141. "collectbankname": {
  23142. "description": "收款人开户行",
  23143. "type": "string"
  23144. },
  23145. "collectbranchbankname": {
  23146. "description": "收款人开户支行",
  23147. "type": "string"
  23148. },
  23149. "collectconfigid": {
  23150. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  23151. "type": "string"
  23152. },
  23153. "remark": {
  23154. "description": "备注",
  23155. "type": "string"
  23156. },
  23157. "userid": {
  23158. "description": "收款人用户ID",
  23159. "type": "integer"
  23160. }
  23161. }
  23162. },
  23163. "models.UserReceiveInfo": {
  23164. "type": "object",
  23165. "properties": {
  23166. "address": {
  23167. "description": "提货人详细地址",
  23168. "type": "string"
  23169. },
  23170. "autoid": {
  23171. "description": "AutoID",
  23172. "type": "integer"
  23173. },
  23174. "cardnum": {
  23175. "description": "证件号码(加密存储)",
  23176. "type": "string"
  23177. },
  23178. "cardtypeid": {
  23179. "description": "证件类型",
  23180. "type": "integer"
  23181. },
  23182. "cityid": {
  23183. "description": "市",
  23184. "type": "integer"
  23185. },
  23186. "cityname": {
  23187. "description": "城市名称",
  23188. "type": "string"
  23189. },
  23190. "countryid": {
  23191. "description": "国家",
  23192. "type": "integer"
  23193. },
  23194. "countryname": {
  23195. "description": "国家名称",
  23196. "type": "string"
  23197. },
  23198. "districtid": {
  23199. "description": "地区",
  23200. "type": "integer"
  23201. },
  23202. "districtname": {
  23203. "description": "地区名称",
  23204. "type": "string"
  23205. },
  23206. "hasencrypt": {
  23207. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23208. "type": "integer"
  23209. },
  23210. "isdefault": {
  23211. "description": "是否默认地址 - 0:否 1:是",
  23212. "type": "integer"
  23213. },
  23214. "phonenum": {
  23215. "description": "提货人联系方式(加密存储)",
  23216. "type": "string"
  23217. },
  23218. "provinceid": {
  23219. "description": "省",
  23220. "type": "integer"
  23221. },
  23222. "provincename": {
  23223. "description": "省名称",
  23224. "type": "string"
  23225. },
  23226. "receivername": {
  23227. "description": "提货人姓名",
  23228. "type": "string"
  23229. },
  23230. "takeremark": {
  23231. "description": "提货备注",
  23232. "type": "string"
  23233. },
  23234. "userid": {
  23235. "description": "用户ID",
  23236. "type": "integer"
  23237. }
  23238. }
  23239. },
  23240. "models.Useraccount": {
  23241. "type": "object",
  23242. "required": [
  23243. "userid"
  23244. ],
  23245. "properties": {
  23246. "accountname": {
  23247. "description": "账户名称(机构名称)",
  23248. "type": "string"
  23249. },
  23250. "accountstatus": {
  23251. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23252. "type": "integer"
  23253. },
  23254. "applysrc": {
  23255. "description": "申请来源 - 1:管理端 2:终端",
  23256. "type": "integer"
  23257. },
  23258. "auditremark": {
  23259. "description": "审核备注",
  23260. "type": "string"
  23261. },
  23262. "auditsrc": {
  23263. "description": "审核来源 - 1:管理端 2:终端",
  23264. "type": "integer"
  23265. },
  23266. "audittime": {
  23267. "description": "审核时间",
  23268. "type": "string"
  23269. },
  23270. "audituserid": {
  23271. "description": "审核人",
  23272. "type": "integer"
  23273. },
  23274. "broker": {
  23275. "description": "所属经纪人ID",
  23276. "type": "integer"
  23277. },
  23278. "canceltime": {
  23279. "description": "销户时间",
  23280. "type": "string"
  23281. },
  23282. "canceluserid": {
  23283. "description": "销户人",
  23284. "type": "integer"
  23285. },
  23286. "canrecommend": {
  23287. "description": "是否可推荐 - 0:不可 1;可",
  23288. "type": "integer"
  23289. },
  23290. "createtime": {
  23291. "description": "创建时间",
  23292. "type": "string"
  23293. },
  23294. "creatorid": {
  23295. "description": "创建人",
  23296. "type": "integer"
  23297. },
  23298. "hasauth": {
  23299. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23300. "type": "integer"
  23301. },
  23302. "isanonymous": {
  23303. "description": "是否匿名下单 - 0:否 1:是",
  23304. "type": "integer"
  23305. },
  23306. "maxinvestornum": {
  23307. "description": "最大用户数(经纪会员下投资者个数)",
  23308. "type": "integer"
  23309. },
  23310. "memberuserid": {
  23311. "description": "所属会员ID",
  23312. "type": "integer"
  23313. },
  23314. "modifierid": {
  23315. "description": "修改人",
  23316. "type": "integer"
  23317. },
  23318. "modifyremark": {
  23319. "description": "变更备注",
  23320. "type": "string"
  23321. },
  23322. "modifystatus": {
  23323. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23324. "type": "integer"
  23325. },
  23326. "modifytime": {
  23327. "description": "修改时间",
  23328. "type": "string"
  23329. },
  23330. "parenttopuser": {
  23331. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23332. "type": "string"
  23333. },
  23334. "parentuserid": {
  23335. "description": "所属机构ID",
  23336. "type": "integer"
  23337. },
  23338. "reckonaccountid": {
  23339. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23340. "type": "integer"
  23341. },
  23342. "refercount": {
  23343. "description": "推荐总人数",
  23344. "type": "integer"
  23345. },
  23346. "refereeuserid": {
  23347. "description": "推荐人ID",
  23348. "type": "integer"
  23349. },
  23350. "refernum": {
  23351. "description": "推荐码",
  23352. "type": "string"
  23353. },
  23354. "rootuserid": {
  23355. "description": "根用户ID",
  23356. "type": "integer"
  23357. },
  23358. "subaccountlevel": {
  23359. "description": "子账户层数",
  23360. "type": "integer"
  23361. },
  23362. "subarealevelpath": {
  23363. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23364. "type": "string"
  23365. },
  23366. "userid": {
  23367. "description": "用户ID",
  23368. "type": "integer"
  23369. },
  23370. "usertype": {
  23371. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23372. "type": "integer"
  23373. }
  23374. }
  23375. },
  23376. "models.Userfavoritegoods": {
  23377. "type": "object",
  23378. "required": [
  23379. "goodsid"
  23380. ],
  23381. "properties": {
  23382. "goodsid": {
  23383. "description": "商品ID",
  23384. "type": "integer"
  23385. }
  23386. }
  23387. },
  23388. "models.Userinfo": {
  23389. "type": "object",
  23390. "required": [
  23391. "userid"
  23392. ],
  23393. "properties": {
  23394. "address": {
  23395. "description": "地址",
  23396. "type": "string"
  23397. },
  23398. "attachment1": {
  23399. "description": "附件1",
  23400. "type": "string"
  23401. },
  23402. "attachment2": {
  23403. "description": "附件2",
  23404. "type": "string"
  23405. },
  23406. "bankaccount": {
  23407. "description": "银行帐号 (加密存储)",
  23408. "type": "string"
  23409. },
  23410. "bankaccountname": {
  23411. "description": "收款人名称",
  23412. "type": "string"
  23413. },
  23414. "bankcardfrontphotourl": {
  23415. "description": "银行卡正面照地址",
  23416. "type": "string"
  23417. },
  23418. "bankid": {
  23419. "description": "银行编码",
  23420. "type": "string"
  23421. },
  23422. "bankname": {
  23423. "description": "银行名称",
  23424. "type": "string"
  23425. },
  23426. "biznature": {
  23427. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23428. "type": "integer"
  23429. },
  23430. "bizscope": {
  23431. "description": "企业经营范围(企业)",
  23432. "type": "string"
  23433. },
  23434. "cardbackphotourl": {
  23435. "description": "证件背面图片地址",
  23436. "type": "string"
  23437. },
  23438. "cardfrontphotourl": {
  23439. "description": "证件正面图片地址",
  23440. "type": "string"
  23441. },
  23442. "cardnum": {
  23443. "description": "证件号码(加密存储)",
  23444. "type": "string"
  23445. },
  23446. "cardtypeid": {
  23447. "description": "证件类型ID",
  23448. "type": "integer"
  23449. },
  23450. "cityid": {
  23451. "description": "市",
  23452. "type": "integer"
  23453. },
  23454. "company": {
  23455. "description": "公司(个人)",
  23456. "type": "string"
  23457. },
  23458. "contactname": {
  23459. "description": "联系人",
  23460. "type": "string"
  23461. },
  23462. "countryid": {
  23463. "description": "国家",
  23464. "type": "integer"
  23465. },
  23466. "createtime": {
  23467. "description": "创建时间",
  23468. "type": "string"
  23469. },
  23470. "creatorid": {
  23471. "description": "创建人",
  23472. "type": "integer"
  23473. },
  23474. "customername": {
  23475. "description": "客户名称(企业名称)",
  23476. "type": "string"
  23477. },
  23478. "districtid": {
  23479. "description": "地区",
  23480. "type": "integer"
  23481. },
  23482. "email": {
  23483. "description": "邮件(加密存储)",
  23484. "type": "string"
  23485. },
  23486. "fax": {
  23487. "description": "传真(加密存储)",
  23488. "type": "string"
  23489. },
  23490. "halfbodyphotourl": {
  23491. "description": "半身照地址",
  23492. "type": "string"
  23493. },
  23494. "hasencrypt": {
  23495. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23496. "type": "integer"
  23497. },
  23498. "headurl": {
  23499. "description": "头像地址",
  23500. "type": "string"
  23501. },
  23502. "legalcardbackphotourl": {
  23503. "description": "法人身份证背面照地址",
  23504. "type": "string"
  23505. },
  23506. "legalcardfrontphotourl": {
  23507. "description": "法人身份证正面照地址",
  23508. "type": "string"
  23509. },
  23510. "legalpersonname": {
  23511. "description": "法人姓名(企业)",
  23512. "type": "string"
  23513. },
  23514. "mobile": {
  23515. "description": "手机号码(加密存储)",
  23516. "type": "string"
  23517. },
  23518. "mobile2": {
  23519. "description": "手机号码[明文-尚志]",
  23520. "type": "string"
  23521. },
  23522. "modifierid": {
  23523. "description": "修改人",
  23524. "type": "integer"
  23525. },
  23526. "modifiertime": {
  23527. "description": "修改时间",
  23528. "type": "string"
  23529. },
  23530. "needinvoice": {
  23531. "description": "是否需要发票 - 0:不需要 1:需要",
  23532. "type": "integer"
  23533. },
  23534. "nickname": {
  23535. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  23536. "type": "string"
  23537. },
  23538. "openmode": {
  23539. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  23540. "type": "integer"
  23541. },
  23542. "otherurl": {
  23543. "description": "其它图片地址[使用分号分隔]",
  23544. "type": "string"
  23545. },
  23546. "postalcode": {
  23547. "description": "邮政编码",
  23548. "type": "string"
  23549. },
  23550. "provinceid": {
  23551. "description": "省",
  23552. "type": "integer"
  23553. },
  23554. "qq": {
  23555. "description": "QQ(加密存储",
  23556. "type": "string"
  23557. },
  23558. "remark": {
  23559. "description": "备注",
  23560. "type": "string"
  23561. },
  23562. "sex": {
  23563. "description": "用户性别 0: 女 1: 男",
  23564. "type": "integer"
  23565. },
  23566. "signpdfurl": {
  23567. "description": "签约pdf文件",
  23568. "type": "string"
  23569. },
  23570. "telphone": {
  23571. "description": "联系电话(加密存储)",
  23572. "type": "string"
  23573. },
  23574. "userid": {
  23575. "description": "用户ID",
  23576. "type": "integer"
  23577. },
  23578. "userinfotype": {
  23579. "description": "用户信息类型 - 1:个人 2:企业",
  23580. "type": "integer"
  23581. },
  23582. "userstatus": {
  23583. "description": "用户状态 - 1:正常 2:注销",
  23584. "type": "integer"
  23585. },
  23586. "usertype": {
  23587. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23588. "type": "integer"
  23589. },
  23590. "wechat": {
  23591. "description": "微信(加密存储)",
  23592. "type": "string"
  23593. },
  23594. "wskhinfo": {
  23595. "description": "开户申请信息(JSON)",
  23596. "type": "string"
  23597. }
  23598. }
  23599. },
  23600. "models.WRSConverTDetail": {
  23601. "type": "object",
  23602. "properties": {
  23603. "convertratio": {
  23604. "description": "套保系数",
  23605. "type": "number"
  23606. },
  23607. "deliverygoodscode": {
  23608. "description": "现货商品代码",
  23609. "type": "string"
  23610. },
  23611. "deliverygoodsid": {
  23612. "description": "现货品种ID",
  23613. "type": "integer"
  23614. },
  23615. "deliverygoodsname": {
  23616. "description": "现货商品名称",
  23617. "type": "string"
  23618. },
  23619. "enumdicname": {
  23620. "description": "单位名称",
  23621. "type": "string"
  23622. },
  23623. "goodsunitid": {
  23624. "description": "套保品种单位id",
  23625. "type": "integer"
  23626. },
  23627. "middlegoodscode": {
  23628. "description": "套保品种代码",
  23629. "type": "string"
  23630. },
  23631. "middlegoodsid": {
  23632. "description": "套保品种ID",
  23633. "type": "integer"
  23634. },
  23635. "middlegoodsname": {
  23636. "description": "套保品种名称",
  23637. "type": "string"
  23638. },
  23639. "modifytime": {
  23640. "description": "修改时间",
  23641. "type": "string"
  23642. },
  23643. "wrstandardid": {
  23644. "description": "品类ID",
  23645. "type": "integer"
  23646. }
  23647. }
  23648. },
  23649. "models.WRStandardInfo": {
  23650. "type": "object",
  23651. "required": [
  23652. "wrstandardid"
  23653. ],
  23654. "properties": {
  23655. "areauserid": {
  23656. "description": "所属机构",
  23657. "type": "integer"
  23658. },
  23659. "convertfactor": {
  23660. "description": "标仓系数",
  23661. "type": "number"
  23662. },
  23663. "createtime": {
  23664. "description": "创建时间",
  23665. "type": "string"
  23666. },
  23667. "creatorid": {
  23668. "description": "创建人",
  23669. "type": "integer"
  23670. },
  23671. "deliverygoodsid": {
  23672. "description": "品种ID",
  23673. "type": "integer"
  23674. },
  23675. "deliverygoodsname": {
  23676. "description": "交割商品名称",
  23677. "type": "string"
  23678. },
  23679. "factoryitemjson": {
  23680. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  23681. "type": "string"
  23682. },
  23683. "isvalid": {
  23684. "description": "是否有效 - 0:无效 1:有效",
  23685. "type": "integer"
  23686. },
  23687. "minivalue": {
  23688. "description": "最小变动值",
  23689. "type": "integer"
  23690. },
  23691. "minivaluedp": {
  23692. "description": "最小变动值小数位",
  23693. "type": "integer"
  23694. },
  23695. "realminivalue": {
  23696. "description": "实际最小变动值",
  23697. "type": "integer"
  23698. },
  23699. "realminivaluedp": {
  23700. "description": "实际最小变动值小数位",
  23701. "type": "integer"
  23702. },
  23703. "remark": {
  23704. "description": "备注",
  23705. "type": "string"
  23706. },
  23707. "unitid": {
  23708. "description": "单位ID",
  23709. "type": "integer"
  23710. },
  23711. "unitname": {
  23712. "description": "单位",
  23713. "type": "string"
  23714. },
  23715. "updatetime": {
  23716. "description": "更新时间",
  23717. "type": "string"
  23718. },
  23719. "updatorid": {
  23720. "description": "更新人",
  23721. "type": "integer"
  23722. },
  23723. "wrsstatus": {
  23724. "description": "状态 - 作废 - 0:未激活 1:正常",
  23725. "type": "integer"
  23726. },
  23727. "wrstandardcode": {
  23728. "description": "现货品类代码",
  23729. "type": "string"
  23730. },
  23731. "wrstandardid": {
  23732. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23733. "type": "integer"
  23734. },
  23735. "wrstandardname": {
  23736. "description": "现货品类名称",
  23737. "type": "string"
  23738. }
  23739. }
  23740. },
  23741. "models.Warehouseinfo": {
  23742. "type": "object",
  23743. "required": [
  23744. "autoid",
  23745. "warehousecode"
  23746. ],
  23747. "properties": {
  23748. "address": {
  23749. "description": "详细地址",
  23750. "type": "string"
  23751. },
  23752. "areauserid": {
  23753. "description": "所属机构",
  23754. "type": "integer"
  23755. },
  23756. "autoid": {
  23757. "description": "自增ID",
  23758. "type": "integer"
  23759. },
  23760. "cityid": {
  23761. "description": "市",
  23762. "type": "integer"
  23763. },
  23764. "contactname": {
  23765. "description": "联系人",
  23766. "type": "string"
  23767. },
  23768. "contactnum": {
  23769. "description": "联系电话",
  23770. "type": "string"
  23771. },
  23772. "countryid": {
  23773. "description": "国家",
  23774. "type": "integer"
  23775. },
  23776. "createtime": {
  23777. "description": "创建时间",
  23778. "type": "string"
  23779. },
  23780. "districtid": {
  23781. "description": "区",
  23782. "type": "integer"
  23783. },
  23784. "hasvideo": {
  23785. "description": "是否有视频 - 0:无 1:有",
  23786. "type": "integer"
  23787. },
  23788. "provinceid": {
  23789. "description": "省",
  23790. "type": "integer"
  23791. },
  23792. "remark": {
  23793. "description": "审核备注",
  23794. "type": "string"
  23795. },
  23796. "videourl": {
  23797. "description": "视频地址",
  23798. "type": "string"
  23799. },
  23800. "warehousecode": {
  23801. "description": "仓库代码",
  23802. "type": "string"
  23803. },
  23804. "warehousename": {
  23805. "description": "仓库名称",
  23806. "type": "string"
  23807. },
  23808. "warehousestatus": {
  23809. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23810. "type": "integer"
  23811. },
  23812. "warehousetype": {
  23813. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23814. "type": "integer"
  23815. }
  23816. }
  23817. },
  23818. "order.QueryHisTradeDetailRsp": {
  23819. "type": "object",
  23820. "required": [
  23821. "accountid",
  23822. "buyorsell",
  23823. "goodsid",
  23824. "histradedate",
  23825. "marketid",
  23826. "memberuserid",
  23827. "orderid",
  23828. "tradeamount",
  23829. "tradedate",
  23830. "tradeid",
  23831. "tradeprice",
  23832. "tradeqty",
  23833. "tradetime"
  23834. ],
  23835. "properties": {
  23836. "accountid": {
  23837. "description": "账户ID[报价币种]",
  23838. "type": "integer"
  23839. },
  23840. "buildtype": {
  23841. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23842. "type": "integer"
  23843. },
  23844. "buyorsell": {
  23845. "description": "方向 - 0:买 1:卖",
  23846. "type": "integer"
  23847. },
  23848. "charge": {
  23849. "description": "手续费",
  23850. "type": "number"
  23851. },
  23852. "closecharge": {
  23853. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23854. "type": "number"
  23855. },
  23856. "closeexchagechargevalue": {
  23857. "description": "平仓交易所手续费设置值",
  23858. "type": "number"
  23859. },
  23860. "closefeealgorithm": {
  23861. "description": "平仓手续费收取方式 1:比率 2:固定",
  23862. "type": "integer"
  23863. },
  23864. "closememberchargevalue": {
  23865. "description": "平仓会员手续费设置值",
  23866. "type": "number"
  23867. },
  23868. "closepl": {
  23869. "description": "平仓盈亏",
  23870. "type": "number"
  23871. },
  23872. "closepl2": {
  23873. "description": "平仓盈亏[逐笔]",
  23874. "type": "number"
  23875. },
  23876. "closeqty": {
  23877. "description": "平仓数量(先建后平操作 需要记录)",
  23878. "type": "integer"
  23879. },
  23880. "creditamount": {
  23881. "description": "授信金额",
  23882. "type": "number"
  23883. },
  23884. "gcaccountid": {
  23885. "description": "账户ID[合约币种]",
  23886. "type": "integer"
  23887. },
  23888. "goodscode": {
  23889. "description": "商品代码",
  23890. "type": "string"
  23891. },
  23892. "goodsid": {
  23893. "description": "商品ID",
  23894. "type": "integer"
  23895. },
  23896. "goodsname": {
  23897. "description": "商品名称",
  23898. "type": "string"
  23899. },
  23900. "histradedate": {
  23901. "description": "历史交易日",
  23902. "type": "string"
  23903. },
  23904. "intclosepl": {
  23905. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23906. "type": "integer"
  23907. },
  23908. "isconfirmexercise": {
  23909. "description": "是否确认行权- 0:否 1:是",
  23910. "type": "integer"
  23911. },
  23912. "ismain": {
  23913. "description": "是否主单 - 0:不是 1:是",
  23914. "type": "integer"
  23915. },
  23916. "ispreexercise": {
  23917. "description": "是否预申报- 0:否 1:是",
  23918. "type": "integer"
  23919. },
  23920. "isreckoned": {
  23921. "description": "是否结算 - 0:未结算 1:已结算",
  23922. "type": "integer"
  23923. },
  23924. "isvaliddata": {
  23925. "description": "是否有效 - 0:无效 1:有效",
  23926. "type": "integer"
  23927. },
  23928. "listingselecttype": {
  23929. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23930. "type": "integer"
  23931. },
  23932. "marketid": {
  23933. "description": "市场ID",
  23934. "type": "integer"
  23935. },
  23936. "marketname": {
  23937. "description": "市场名称",
  23938. "type": "string"
  23939. },
  23940. "matchaccountid": {
  23941. "description": "对手账号id",
  23942. "type": "integer"
  23943. },
  23944. "memberuserid": {
  23945. "description": "会员id 个人投资者 需要填写",
  23946. "type": "integer"
  23947. },
  23948. "opencharge": {
  23949. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23950. "type": "number"
  23951. },
  23952. "openexchagechargevalue": {
  23953. "description": "建仓交易所手续费设置值",
  23954. "type": "number"
  23955. },
  23956. "openfeealgorithm": {
  23957. "description": "建仓手续费收取方式 1:比率 2:固定",
  23958. "type": "integer"
  23959. },
  23960. "openmemberchargevalue": {
  23961. "description": "建仓会员手续费设置值",
  23962. "type": "number"
  23963. },
  23964. "openqty": {
  23965. "description": "开仓数量(先建后平操作 需要记录)",
  23966. "type": "integer"
  23967. },
  23968. "optiontype": {
  23969. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23970. "type": "integer"
  23971. },
  23972. "orderid": {
  23973. "description": "委托单号",
  23974. "type": "string"
  23975. },
  23976. "performanceplanid": {
  23977. "description": "履约计划ID[期权]",
  23978. "type": "integer"
  23979. },
  23980. "performancestatus": {
  23981. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23982. "type": "integer"
  23983. },
  23984. "preexerciseprice": {
  23985. "description": "预申报价格",
  23986. "type": "number"
  23987. },
  23988. "premium": {
  23989. "description": "权利金 - [持仓单的权利金]",
  23990. "type": "number"
  23991. },
  23992. "relatedouttradeid": {
  23993. "description": "关联外部成交单ID",
  23994. "type": "integer"
  23995. },
  23996. "status": {
  23997. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23998. "type": "integer"
  23999. },
  24000. "tradeamount": {
  24001. "description": "成交金额[账户币种,用于所有权]",
  24002. "type": "number"
  24003. },
  24004. "tradedate": {
  24005. "description": "交易日(yyyyMMdd)",
  24006. "type": "string"
  24007. },
  24008. "tradeid": {
  24009. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24010. "type": "string"
  24011. },
  24012. "trademode": {
  24013. "description": "交易模式",
  24014. "type": "integer"
  24015. },
  24016. "tradeprice": {
  24017. "description": "成交价格",
  24018. "type": "number"
  24019. },
  24020. "tradeproperty": {
  24021. "description": "交易属性",
  24022. "type": "integer"
  24023. },
  24024. "tradeqty": {
  24025. "description": "成交数量",
  24026. "type": "integer"
  24027. },
  24028. "tradetime": {
  24029. "description": "成交时间",
  24030. "type": "string"
  24031. },
  24032. "tradetype": {
  24033. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24034. "type": "integer"
  24035. }
  24036. }
  24037. },
  24038. "order.QueryHisTradeOrderDetailRsp": {
  24039. "type": "object",
  24040. "required": [
  24041. "accountid",
  24042. "buildtype",
  24043. "buyorsell",
  24044. "goodsid",
  24045. "histradedate",
  24046. "marketid",
  24047. "memberuserid",
  24048. "operatetype",
  24049. "orderid",
  24050. "orderqty",
  24051. "ordertime",
  24052. "pricemode",
  24053. "tradedate",
  24054. "validtype"
  24055. ],
  24056. "properties": {
  24057. "accountid": {
  24058. "description": "账户ID[报价币种]",
  24059. "type": "integer"
  24060. },
  24061. "buildtype": {
  24062. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24063. "type": "integer"
  24064. },
  24065. "buyorsell": {
  24066. "description": "买卖 - 0:买 1:卖",
  24067. "type": "integer"
  24068. },
  24069. "cancelorderid": {
  24070. "description": "撤单单号(撤单时填写)",
  24071. "type": "string"
  24072. },
  24073. "cancelqty": {
  24074. "description": "撤单数量",
  24075. "type": "integer"
  24076. },
  24077. "clientordertime": {
  24078. "description": "客户端委托时间",
  24079. "type": "string"
  24080. },
  24081. "clientticket": {
  24082. "description": "客户端流水号",
  24083. "type": "string"
  24084. },
  24085. "clienttype": {
  24086. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24087. "type": "integer"
  24088. },
  24089. "closeexchagechargevalue": {
  24090. "description": "平仓交易所手续费设置值",
  24091. "type": "number"
  24092. },
  24093. "closefeealgorithm": {
  24094. "description": "平仓手续费收取方式 1:比率 2:固定",
  24095. "type": "integer"
  24096. },
  24097. "closefreezecharge": {
  24098. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24099. "type": "number"
  24100. },
  24101. "closememberchargevalue": {
  24102. "description": "平仓会员手续费设置值",
  24103. "type": "number"
  24104. },
  24105. "closeqty": {
  24106. "description": "平仓数量(先建后平操作 需要记录)",
  24107. "type": "integer"
  24108. },
  24109. "closetradeqty": {
  24110. "description": "平仓成交数量(先建后平操作,需要记录)",
  24111. "type": "integer"
  24112. },
  24113. "closeunfreezecharge": {
  24114. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24115. "type": "number"
  24116. },
  24117. "delistingtype": {
  24118. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24119. "type": "integer"
  24120. },
  24121. "freezecharge": {
  24122. "description": "冻结手续费",
  24123. "type": "number"
  24124. },
  24125. "freezemargin": {
  24126. "description": "冻结保证金(冻结交易金额)",
  24127. "type": "number"
  24128. },
  24129. "gcaccountid": {
  24130. "description": "账户ID[合约币种]",
  24131. "type": "integer"
  24132. },
  24133. "goodscode": {
  24134. "description": "商品代码",
  24135. "type": "string"
  24136. },
  24137. "goodsid": {
  24138. "description": "商品ID",
  24139. "type": "integer"
  24140. },
  24141. "goodsname": {
  24142. "description": "商品名称",
  24143. "type": "string"
  24144. },
  24145. "histradedate": {
  24146. "description": "历史交易日",
  24147. "type": "string"
  24148. },
  24149. "isconfirmexercise": {
  24150. "description": "是否确认行权- 0:否 1:是",
  24151. "type": "integer"
  24152. },
  24153. "ispreexercise": {
  24154. "description": "是否预申报- 0:否 1:是",
  24155. "type": "integer"
  24156. },
  24157. "isvaliddata": {
  24158. "description": "是否有效 - 0:无效 1:有效",
  24159. "type": "integer"
  24160. },
  24161. "listingselecttype": {
  24162. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24163. "type": "integer"
  24164. },
  24165. "marginalgorithm": {
  24166. "description": "保证金收取方式 1:比率 2:固定",
  24167. "type": "integer"
  24168. },
  24169. "marginvalue": {
  24170. "description": "即市保证金设置值",
  24171. "type": "number"
  24172. },
  24173. "marketid": {
  24174. "description": "市场ID",
  24175. "type": "integer"
  24176. },
  24177. "marketmaxsub": {
  24178. "description": "市价最大偏移范围",
  24179. "type": "number"
  24180. },
  24181. "marketname": {
  24182. "description": "市场名称",
  24183. "type": "string"
  24184. },
  24185. "memberuserid": {
  24186. "description": "所属会员UserID",
  24187. "type": "integer"
  24188. },
  24189. "openexchagechargevalue": {
  24190. "description": "建仓交易所手续费设置值",
  24191. "type": "number"
  24192. },
  24193. "openfeealgorithm": {
  24194. "description": "建仓手续费收取方式 1:比率 2:固定",
  24195. "type": "integer"
  24196. },
  24197. "openfreezecharge": {
  24198. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24199. "type": "number"
  24200. },
  24201. "openmemberchargevalue": {
  24202. "description": "建仓会员手续费设置值",
  24203. "type": "number"
  24204. },
  24205. "openqty": {
  24206. "description": "开仓数量(先建后平操作,需要记录)",
  24207. "type": "integer"
  24208. },
  24209. "opentradeqty": {
  24210. "description": "开仓成交数量(先建后平操作,需要记录)",
  24211. "type": "integer"
  24212. },
  24213. "openunfreezecharge": {
  24214. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24215. "type": "number"
  24216. },
  24217. "operatetype": {
  24218. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24219. "type": "integer"
  24220. },
  24221. "operatorid": {
  24222. "description": "登录账号(LoginID)",
  24223. "type": "integer"
  24224. },
  24225. "optiontype": {
  24226. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24227. "type": "integer"
  24228. },
  24229. "orderid": {
  24230. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24231. "type": "string"
  24232. },
  24233. "orderprice": {
  24234. "description": "委托价格",
  24235. "type": "number"
  24236. },
  24237. "orderqty": {
  24238. "description": "委托数量",
  24239. "type": "integer"
  24240. },
  24241. "ordersrc": {
  24242. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24243. "type": "integer"
  24244. },
  24245. "orderstatus": {
  24246. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24247. "type": "integer"
  24248. },
  24249. "ordertime": {
  24250. "description": "委托时间",
  24251. "type": "string"
  24252. },
  24253. "preexerciseprice": {
  24254. "description": "预申报价格",
  24255. "type": "number"
  24256. },
  24257. "premium": {
  24258. "description": "权利金",
  24259. "type": "number"
  24260. },
  24261. "preorderid": {
  24262. "description": "关联预埋单号(止盈止损单时填写)",
  24263. "type": "string"
  24264. },
  24265. "pricemode": {
  24266. "description": "取价方式 - 1:市价 2: 限价",
  24267. "type": "integer"
  24268. },
  24269. "quoteid": {
  24270. "description": "报价单ID",
  24271. "type": "integer"
  24272. },
  24273. "relatedid": {
  24274. "description": "关联单号(交割单)",
  24275. "type": "string"
  24276. },
  24277. "retcode": {
  24278. "description": "错误代码",
  24279. "type": "integer"
  24280. },
  24281. "sessionid": {
  24282. "description": "会话ID",
  24283. "type": "integer"
  24284. },
  24285. "tradedate": {
  24286. "description": "交易日(yyyyMMdd)",
  24287. "type": "string"
  24288. },
  24289. "trademode": {
  24290. "description": "交易模式",
  24291. "type": "integer"
  24292. },
  24293. "tradeproperty": {
  24294. "description": "交易属性",
  24295. "type": "integer"
  24296. },
  24297. "tradeqty": {
  24298. "description": "成交数量",
  24299. "type": "integer"
  24300. },
  24301. "unfreezecharge": {
  24302. "description": "解冻手续费",
  24303. "type": "number"
  24304. },
  24305. "unfreezemargin": {
  24306. "description": "解冻保证金",
  24307. "type": "number"
  24308. },
  24309. "updatetime": {
  24310. "description": "更新时间",
  24311. "type": "string"
  24312. },
  24313. "uuid": {
  24314. "description": "发起端唯一id",
  24315. "type": "string"
  24316. },
  24317. "validtime": {
  24318. "description": "有效期限",
  24319. "type": "string"
  24320. },
  24321. "validtype": {
  24322. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24323. "type": "integer"
  24324. },
  24325. "volumetype": {
  24326. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24327. "type": "integer"
  24328. }
  24329. }
  24330. },
  24331. "order.QueryTradeDetailRsp": {
  24332. "type": "object",
  24333. "required": [
  24334. "accountid",
  24335. "buyorsell",
  24336. "goodsid",
  24337. "marketid",
  24338. "memberuserid",
  24339. "orderid",
  24340. "tradeamount",
  24341. "tradedate",
  24342. "tradeid",
  24343. "tradeprice",
  24344. "tradeqty",
  24345. "tradetime"
  24346. ],
  24347. "properties": {
  24348. "accountid": {
  24349. "description": "账户ID[报价币种]",
  24350. "type": "integer"
  24351. },
  24352. "buildtype": {
  24353. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24354. "type": "integer"
  24355. },
  24356. "buyorsell": {
  24357. "description": "方向 - 0:买 1:卖",
  24358. "type": "integer"
  24359. },
  24360. "charge": {
  24361. "description": "手续费",
  24362. "type": "number"
  24363. },
  24364. "closecharge": {
  24365. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24366. "type": "number"
  24367. },
  24368. "closeexchagechargevalue": {
  24369. "description": "平仓交易所手续费设置值",
  24370. "type": "number"
  24371. },
  24372. "closefeealgorithm": {
  24373. "description": "平仓手续费收取方式 1:比率 2:固定",
  24374. "type": "integer"
  24375. },
  24376. "closememberchargevalue": {
  24377. "description": "平仓会员手续费设置值",
  24378. "type": "number"
  24379. },
  24380. "closepl": {
  24381. "description": "平仓盈亏",
  24382. "type": "number"
  24383. },
  24384. "closepl2": {
  24385. "description": "平仓盈亏[逐笔]",
  24386. "type": "number"
  24387. },
  24388. "closeqty": {
  24389. "description": "平仓数量(先建后平操作 需要记录)",
  24390. "type": "integer"
  24391. },
  24392. "creditamount": {
  24393. "description": "授信金额",
  24394. "type": "number"
  24395. },
  24396. "gcaccountid": {
  24397. "description": "账户ID[合约币种]",
  24398. "type": "integer"
  24399. },
  24400. "goodscode": {
  24401. "description": "商品代码",
  24402. "type": "string"
  24403. },
  24404. "goodsid": {
  24405. "description": "商品ID",
  24406. "type": "integer"
  24407. },
  24408. "goodsname": {
  24409. "description": "商品名称",
  24410. "type": "string"
  24411. },
  24412. "intclosepl": {
  24413. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24414. "type": "integer"
  24415. },
  24416. "isconfirmexercise": {
  24417. "description": "是否确认行权- 0:否 1:是",
  24418. "type": "integer"
  24419. },
  24420. "ismain": {
  24421. "description": "是否主单 - 0:不是 1:是",
  24422. "type": "integer"
  24423. },
  24424. "ispreexercise": {
  24425. "description": "是否预申报- 0:否 1:是",
  24426. "type": "integer"
  24427. },
  24428. "isreckoned": {
  24429. "description": "是否结算 - 0:未结算 1:已结算",
  24430. "type": "integer"
  24431. },
  24432. "listingselecttype": {
  24433. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24434. "type": "integer"
  24435. },
  24436. "marketid": {
  24437. "description": "市场ID",
  24438. "type": "integer"
  24439. },
  24440. "marketname": {
  24441. "description": "市场名称",
  24442. "type": "string"
  24443. },
  24444. "matchaccountid": {
  24445. "description": "对手账号id",
  24446. "type": "integer"
  24447. },
  24448. "memberuserid": {
  24449. "description": "会员id 个人投资者 需要填写",
  24450. "type": "integer"
  24451. },
  24452. "opencharge": {
  24453. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24454. "type": "number"
  24455. },
  24456. "openexchagechargevalue": {
  24457. "description": "建仓交易所手续费设置值",
  24458. "type": "number"
  24459. },
  24460. "openfeealgorithm": {
  24461. "description": "建仓手续费收取方式 1:比率 2:固定",
  24462. "type": "integer"
  24463. },
  24464. "openmemberchargevalue": {
  24465. "description": "建仓会员手续费设置值",
  24466. "type": "number"
  24467. },
  24468. "openqty": {
  24469. "description": "开仓数量(先建后平操作 需要记录)",
  24470. "type": "integer"
  24471. },
  24472. "optiontype": {
  24473. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24474. "type": "integer"
  24475. },
  24476. "orderid": {
  24477. "description": "委托单号",
  24478. "type": "string"
  24479. },
  24480. "performanceplanid": {
  24481. "description": "履约计划ID[期权]",
  24482. "type": "integer"
  24483. },
  24484. "performancestatus": {
  24485. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24486. "type": "integer"
  24487. },
  24488. "preexerciseprice": {
  24489. "description": "预申报价格",
  24490. "type": "number"
  24491. },
  24492. "premium": {
  24493. "description": "权利金 - [持仓单的权利金]",
  24494. "type": "number"
  24495. },
  24496. "relatedouttradeid": {
  24497. "description": "关联外部成交单ID",
  24498. "type": "integer"
  24499. },
  24500. "status": {
  24501. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24502. "type": "integer"
  24503. },
  24504. "tradeamount": {
  24505. "description": "成交金额[账户币种,用于所有权]",
  24506. "type": "number"
  24507. },
  24508. "tradedate": {
  24509. "description": "交易日(yyyyMMdd)",
  24510. "type": "string"
  24511. },
  24512. "tradeid": {
  24513. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24514. "type": "string"
  24515. },
  24516. "trademode": {
  24517. "description": "交易模式",
  24518. "type": "integer"
  24519. },
  24520. "tradeprice": {
  24521. "description": "成交价格",
  24522. "type": "number"
  24523. },
  24524. "tradeproperty": {
  24525. "description": "交易属性",
  24526. "type": "integer"
  24527. },
  24528. "tradeqty": {
  24529. "description": "成交数量",
  24530. "type": "integer"
  24531. },
  24532. "tradetime": {
  24533. "description": "成交时间",
  24534. "type": "string"
  24535. },
  24536. "tradetype": {
  24537. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24538. "type": "integer"
  24539. }
  24540. }
  24541. },
  24542. "order.QueryTradeOrderDetailRsp": {
  24543. "type": "object",
  24544. "required": [
  24545. "accountid",
  24546. "buildtype",
  24547. "buyorsell",
  24548. "goodsid",
  24549. "marketid",
  24550. "operatetype",
  24551. "orderqty",
  24552. "ordertime",
  24553. "pricemode",
  24554. "tradedate",
  24555. "validtype"
  24556. ],
  24557. "properties": {
  24558. "accountid": {
  24559. "description": "账户ID[报价币种]",
  24560. "type": "integer"
  24561. },
  24562. "buildtype": {
  24563. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24564. "type": "integer"
  24565. },
  24566. "buyorsell": {
  24567. "description": "买卖 - 0:买 1:卖",
  24568. "type": "integer"
  24569. },
  24570. "cancelorderid": {
  24571. "description": "撤单单号(撤单时填写)",
  24572. "type": "string"
  24573. },
  24574. "cancelqty": {
  24575. "description": "撤单数量",
  24576. "type": "integer"
  24577. },
  24578. "clienttype": {
  24579. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24580. "type": "integer"
  24581. },
  24582. "closefreezecharge": {
  24583. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24584. "type": "number"
  24585. },
  24586. "closeqty": {
  24587. "description": "平仓数量(先建后平操作 需要记录)",
  24588. "type": "integer"
  24589. },
  24590. "closetradeqty": {
  24591. "description": "平仓成交数量(先建后平操作,需要记录)",
  24592. "type": "integer"
  24593. },
  24594. "closeunfreezecharge": {
  24595. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24596. "type": "number"
  24597. },
  24598. "delistingtype": {
  24599. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24600. "type": "integer"
  24601. },
  24602. "enableqty": {
  24603. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  24604. "type": "integer"
  24605. },
  24606. "freezecharge": {
  24607. "description": "冻结手续费",
  24608. "type": "number"
  24609. },
  24610. "freezemargin": {
  24611. "description": "冻结保证金(冻结交易金额)",
  24612. "type": "number"
  24613. },
  24614. "goodscode": {
  24615. "description": "商品代码",
  24616. "type": "string"
  24617. },
  24618. "goodsid": {
  24619. "description": "商品ID",
  24620. "type": "integer"
  24621. },
  24622. "goodsname": {
  24623. "description": "商品名称",
  24624. "type": "string"
  24625. },
  24626. "listingselecttype": {
  24627. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24628. "type": "integer"
  24629. },
  24630. "marketid": {
  24631. "description": "市场ID",
  24632. "type": "integer"
  24633. },
  24634. "marketname": {
  24635. "description": "市场名称",
  24636. "type": "string"
  24637. },
  24638. "openfreezecharge": {
  24639. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24640. "type": "number"
  24641. },
  24642. "openqty": {
  24643. "description": "开仓数量(先建后平操作,需要记录)",
  24644. "type": "integer"
  24645. },
  24646. "opentradeqty": {
  24647. "description": "开仓成交数量(先建后平操作,需要记录)",
  24648. "type": "integer"
  24649. },
  24650. "openunfreezecharge": {
  24651. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24652. "type": "number"
  24653. },
  24654. "operatetype": {
  24655. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24656. "type": "integer"
  24657. },
  24658. "operatorid": {
  24659. "description": "登录账号(LoginID)",
  24660. "type": "integer"
  24661. },
  24662. "orderid": {
  24663. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24664. "type": "string"
  24665. },
  24666. "orderprice": {
  24667. "description": "委托价格",
  24668. "type": "number"
  24669. },
  24670. "orderqty": {
  24671. "description": "委托数量",
  24672. "type": "integer"
  24673. },
  24674. "ordersrc": {
  24675. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24676. "type": "integer"
  24677. },
  24678. "orderstatus": {
  24679. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24680. "type": "integer"
  24681. },
  24682. "ordertime": {
  24683. "description": "委托时间",
  24684. "type": "string"
  24685. },
  24686. "preorderid": {
  24687. "description": "关联预埋单号(止盈止损单时填写)",
  24688. "type": "string"
  24689. },
  24690. "pricemode": {
  24691. "description": "取价方式 - 1:市价 2: 限价",
  24692. "type": "integer"
  24693. },
  24694. "relatedid": {
  24695. "description": "关联单号(交割单)",
  24696. "type": "string"
  24697. },
  24698. "tradedate": {
  24699. "description": "交易日(yyyyMMdd)",
  24700. "type": "string"
  24701. },
  24702. "trademode": {
  24703. "description": "交易模式",
  24704. "type": "integer"
  24705. },
  24706. "tradeqty": {
  24707. "description": "成交数量",
  24708. "type": "integer"
  24709. },
  24710. "unfreezecharge": {
  24711. "description": "解冻手续费",
  24712. "type": "number"
  24713. },
  24714. "unfreezemargin": {
  24715. "description": "解冻保证金",
  24716. "type": "number"
  24717. },
  24718. "validtime": {
  24719. "description": "有效期限",
  24720. "type": "string"
  24721. },
  24722. "validtype": {
  24723. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24724. "type": "integer"
  24725. },
  24726. "volumetype": {
  24727. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24728. "type": "integer"
  24729. }
  24730. }
  24731. },
  24732. "order.QueryTradePositionRsp": {
  24733. "type": "object",
  24734. "required": [
  24735. "goodsid"
  24736. ],
  24737. "properties": {
  24738. "accountid": {
  24739. "description": "资金账户",
  24740. "type": "integer"
  24741. },
  24742. "agreeunit": {
  24743. "description": "合约单位",
  24744. "type": "number"
  24745. },
  24746. "averageprice": {
  24747. "description": "持仓均价",
  24748. "type": "number"
  24749. },
  24750. "buyorsell": {
  24751. "description": "方向 - 0:买 1:卖",
  24752. "type": "integer"
  24753. },
  24754. "closetotalqty": {
  24755. "description": "平仓总数量",
  24756. "type": "integer"
  24757. },
  24758. "curholderamount": {
  24759. "description": "当前持仓总金额[商品币种]",
  24760. "type": "number"
  24761. },
  24762. "curpositionqty": {
  24763. "description": "当前持仓总数量",
  24764. "type": "integer"
  24765. },
  24766. "currencyid": {
  24767. "description": "报价货币ID",
  24768. "type": "integer"
  24769. },
  24770. "curtdposition": {
  24771. "description": "期末今日头寸",
  24772. "type": "integer"
  24773. },
  24774. "decimalplace": {
  24775. "description": "报价小数位",
  24776. "type": "integer"
  24777. },
  24778. "enableqty": {
  24779. "description": "可用量",
  24780. "type": "integer"
  24781. },
  24782. "fretdposition": {
  24783. "description": "冻结今日头寸",
  24784. "type": "integer"
  24785. },
  24786. "frozenqty": {
  24787. "description": "持仓冻结数量",
  24788. "type": "integer"
  24789. },
  24790. "goodscode": {
  24791. "description": "商品代码",
  24792. "type": "string"
  24793. },
  24794. "goodsid": {
  24795. "description": "商品Id",
  24796. "type": "integer"
  24797. },
  24798. "goodsname": {
  24799. "description": "商品名称",
  24800. "type": "string"
  24801. },
  24802. "goodunit": {
  24803. "description": "报价单位",
  24804. "type": "string"
  24805. },
  24806. "goodunitid": {
  24807. "description": "报价单位ID",
  24808. "type": "integer"
  24809. },
  24810. "holderamount": {
  24811. "description": "期初持仓总金额[商品币种]",
  24812. "type": "number"
  24813. },
  24814. "marketid": {
  24815. "description": "所属市场ID",
  24816. "type": "integer"
  24817. },
  24818. "openreqqty": {
  24819. "description": "开仓申请数量(用于比较最大持仓数量)",
  24820. "type": "integer"
  24821. },
  24822. "opentotalqty": {
  24823. "description": "开仓总数量",
  24824. "type": "integer"
  24825. },
  24826. "otherfrozenqty": {
  24827. "description": "持仓其他冻结数量(交割冻结)",
  24828. "type": "integer"
  24829. },
  24830. "positionqty": {
  24831. "description": "期初持仓数量",
  24832. "type": "integer"
  24833. },
  24834. "tnqty": {
  24835. "description": "T+N冻结总量",
  24836. "type": "integer"
  24837. },
  24838. "tnusedqty": {
  24839. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24840. "type": "integer"
  24841. },
  24842. "trademode": {
  24843. "description": "交易模式",
  24844. "type": "integer"
  24845. },
  24846. "usedmargin": {
  24847. "description": "占用保证金[商品币种]",
  24848. "type": "number"
  24849. }
  24850. }
  24851. },
  24852. "quote.HistoryData": {
  24853. "type": "object",
  24854. "properties": {
  24855. "c": {
  24856. "description": "收盘价",
  24857. "type": "number"
  24858. },
  24859. "f": {
  24860. "description": "是否补充数据",
  24861. "type": "boolean"
  24862. },
  24863. "h": {
  24864. "description": "最高价",
  24865. "type": "number"
  24866. },
  24867. "hv": {
  24868. "description": "持仓量",
  24869. "type": "integer"
  24870. },
  24871. "l": {
  24872. "description": "最低价",
  24873. "type": "number"
  24874. },
  24875. "o": {
  24876. "description": "开盘价",
  24877. "type": "number"
  24878. },
  24879. "s": {
  24880. "description": "结算价,日线周期(包括)以上才有",
  24881. "type": "number"
  24882. },
  24883. "ts": {
  24884. "description": "时间",
  24885. "type": "string"
  24886. },
  24887. "tt": {
  24888. "description": "总金额",
  24889. "type": "number"
  24890. },
  24891. "tv": {
  24892. "description": "总量",
  24893. "type": "integer"
  24894. }
  24895. }
  24896. },
  24897. "quote.HistoryTikData": {
  24898. "type": "object",
  24899. "properties": {
  24900. "AV": {
  24901. "description": "卖量",
  24902. "type": "integer"
  24903. },
  24904. "Ask": {
  24905. "description": "卖价",
  24906. "type": "number"
  24907. },
  24908. "BV": {
  24909. "description": "买量",
  24910. "type": "integer"
  24911. },
  24912. "Bid": {
  24913. "description": "买价",
  24914. "type": "number"
  24915. },
  24916. "HI": {
  24917. "description": "单笔持仓",
  24918. "type": "integer"
  24919. },
  24920. "HV": {
  24921. "description": "持仓量",
  24922. "type": "integer"
  24923. },
  24924. "PE": {
  24925. "description": "现价",
  24926. "type": "number"
  24927. },
  24928. "TDR": {
  24929. "description": "交易方向,0:买 1:卖",
  24930. "type": "integer"
  24931. },
  24932. "TK": {
  24933. "description": "交易类型",
  24934. "type": "integer"
  24935. },
  24936. "TS": {
  24937. "description": "行情时间文本",
  24938. "type": "string"
  24939. },
  24940. "TT": {
  24941. "description": "现金额",
  24942. "type": "number"
  24943. },
  24944. "Vol": {
  24945. "description": "现量",
  24946. "type": "integer"
  24947. }
  24948. }
  24949. },
  24950. "quote.QueryQuoteDayRsp": {
  24951. "type": "object",
  24952. "properties": {
  24953. "ask": {
  24954. "description": "卖1",
  24955. "type": "number"
  24956. },
  24957. "ask10": {
  24958. "description": "卖10",
  24959. "type": "number"
  24960. },
  24961. "ask2": {
  24962. "description": "卖2",
  24963. "type": "number"
  24964. },
  24965. "ask3": {
  24966. "description": "卖3",
  24967. "type": "number"
  24968. },
  24969. "ask4": {
  24970. "description": "卖4",
  24971. "type": "number"
  24972. },
  24973. "ask5": {
  24974. "description": "卖5",
  24975. "type": "number"
  24976. },
  24977. "ask6": {
  24978. "description": "卖6",
  24979. "type": "number"
  24980. },
  24981. "ask7": {
  24982. "description": "卖7",
  24983. "type": "number"
  24984. },
  24985. "ask8": {
  24986. "description": "卖8",
  24987. "type": "number"
  24988. },
  24989. "ask9": {
  24990. "description": "卖9",
  24991. "type": "number"
  24992. },
  24993. "askorderid": {
  24994. "description": "卖单号1",
  24995. "type": "integer"
  24996. },
  24997. "askorderid2": {
  24998. "description": "卖单号2",
  24999. "type": "integer"
  25000. },
  25001. "askorderid3": {
  25002. "description": "卖单号3",
  25003. "type": "integer"
  25004. },
  25005. "askorderid4": {
  25006. "description": "卖单号4",
  25007. "type": "integer"
  25008. },
  25009. "askorderid5": {
  25010. "description": "卖单号5",
  25011. "type": "integer"
  25012. },
  25013. "askordervolume": {
  25014. "description": "卖单量1",
  25015. "type": "integer"
  25016. },
  25017. "askordervolume10": {
  25018. "description": "卖单量10",
  25019. "type": "integer"
  25020. },
  25021. "askordervolume2": {
  25022. "description": "卖单量2",
  25023. "type": "integer"
  25024. },
  25025. "askordervolume3": {
  25026. "description": "卖单量3",
  25027. "type": "integer"
  25028. },
  25029. "askordervolume4": {
  25030. "description": "卖单量4",
  25031. "type": "integer"
  25032. },
  25033. "askordervolume5": {
  25034. "description": "卖单量5",
  25035. "type": "integer"
  25036. },
  25037. "askordervolume6": {
  25038. "description": "卖单量6",
  25039. "type": "integer"
  25040. },
  25041. "askordervolume7": {
  25042. "description": "卖单量7",
  25043. "type": "integer"
  25044. },
  25045. "askordervolume8": {
  25046. "description": "卖单量8",
  25047. "type": "integer"
  25048. },
  25049. "askordervolume9": {
  25050. "description": "卖单量9",
  25051. "type": "integer"
  25052. },
  25053. "askqueueinfo": {
  25054. "description": "大利市卖港股用",
  25055. "type": "string"
  25056. },
  25057. "askvolume": {
  25058. "description": "卖量1",
  25059. "type": "integer"
  25060. },
  25061. "askvolume10": {
  25062. "description": "卖量10",
  25063. "type": "integer"
  25064. },
  25065. "askvolume2": {
  25066. "description": "卖量2",
  25067. "type": "integer"
  25068. },
  25069. "askvolume3": {
  25070. "description": "卖量3",
  25071. "type": "integer"
  25072. },
  25073. "askvolume4": {
  25074. "description": "卖量4",
  25075. "type": "integer"
  25076. },
  25077. "askvolume5": {
  25078. "description": "卖量5",
  25079. "type": "integer"
  25080. },
  25081. "askvolume6": {
  25082. "description": "卖量6",
  25083. "type": "integer"
  25084. },
  25085. "askvolume7": {
  25086. "description": "卖量7",
  25087. "type": "integer"
  25088. },
  25089. "askvolume8": {
  25090. "description": "卖量8",
  25091. "type": "integer"
  25092. },
  25093. "askvolume9": {
  25094. "description": "卖量9",
  25095. "type": "integer"
  25096. },
  25097. "averageprice": {
  25098. "description": "均价",
  25099. "type": "number"
  25100. },
  25101. "bid": {
  25102. "description": "买1",
  25103. "type": "number"
  25104. },
  25105. "bid10": {
  25106. "description": "买10",
  25107. "type": "number"
  25108. },
  25109. "bid2": {
  25110. "description": "买2",
  25111. "type": "number"
  25112. },
  25113. "bid3": {
  25114. "description": "买3",
  25115. "type": "number"
  25116. },
  25117. "bid4": {
  25118. "description": "买4",
  25119. "type": "number"
  25120. },
  25121. "bid5": {
  25122. "description": "买5",
  25123. "type": "number"
  25124. },
  25125. "bid6": {
  25126. "description": "买6",
  25127. "type": "number"
  25128. },
  25129. "bid7": {
  25130. "description": "买7",
  25131. "type": "number"
  25132. },
  25133. "bid8": {
  25134. "description": "买8",
  25135. "type": "number"
  25136. },
  25137. "bid9": {
  25138. "description": "买9",
  25139. "type": "number"
  25140. },
  25141. "bidorderid": {
  25142. "description": "买单号1",
  25143. "type": "integer"
  25144. },
  25145. "bidorderid2": {
  25146. "description": "买单号2",
  25147. "type": "integer"
  25148. },
  25149. "bidorderid3": {
  25150. "description": "买单号3",
  25151. "type": "integer"
  25152. },
  25153. "bidorderid4": {
  25154. "description": "买单号4",
  25155. "type": "integer"
  25156. },
  25157. "bidorderid5": {
  25158. "description": "买单号5",
  25159. "type": "integer"
  25160. },
  25161. "bidordervolume": {
  25162. "description": "买单量1",
  25163. "type": "integer"
  25164. },
  25165. "bidordervolume10": {
  25166. "description": "买单量10",
  25167. "type": "integer"
  25168. },
  25169. "bidordervolume2": {
  25170. "description": "买单量2",
  25171. "type": "integer"
  25172. },
  25173. "bidordervolume3": {
  25174. "description": "买单量3",
  25175. "type": "integer"
  25176. },
  25177. "bidordervolume4": {
  25178. "description": "买单量4",
  25179. "type": "integer"
  25180. },
  25181. "bidordervolume5": {
  25182. "description": "买单量5",
  25183. "type": "integer"
  25184. },
  25185. "bidordervolume6": {
  25186. "description": "买单量6",
  25187. "type": "integer"
  25188. },
  25189. "bidordervolume7": {
  25190. "description": "买单量7",
  25191. "type": "integer"
  25192. },
  25193. "bidordervolume8": {
  25194. "description": "买单量8",
  25195. "type": "integer"
  25196. },
  25197. "bidordervolume9": {
  25198. "description": "买单量9",
  25199. "type": "integer"
  25200. },
  25201. "bidqueueinfo": {
  25202. "description": "大利市买港股用",
  25203. "type": "string"
  25204. },
  25205. "bidvolume": {
  25206. "description": "买量1",
  25207. "type": "integer"
  25208. },
  25209. "bidvolume10": {
  25210. "description": "买量10",
  25211. "type": "integer"
  25212. },
  25213. "bidvolume2": {
  25214. "description": "买量2",
  25215. "type": "integer"
  25216. },
  25217. "bidvolume3": {
  25218. "description": "买量3",
  25219. "type": "integer"
  25220. },
  25221. "bidvolume4": {
  25222. "description": "买量4",
  25223. "type": "integer"
  25224. },
  25225. "bidvolume5": {
  25226. "description": "买量5",
  25227. "type": "integer"
  25228. },
  25229. "bidvolume6": {
  25230. "description": "买量6",
  25231. "type": "integer"
  25232. },
  25233. "bidvolume7": {
  25234. "description": "买量7",
  25235. "type": "integer"
  25236. },
  25237. "bidvolume8": {
  25238. "description": "买量8",
  25239. "type": "integer"
  25240. },
  25241. "bidvolume9": {
  25242. "description": "买量9",
  25243. "type": "integer"
  25244. },
  25245. "calloptionpremiums": {
  25246. "description": "认购期权1",
  25247. "type": "integer"
  25248. },
  25249. "calloptionpremiums2": {
  25250. "description": "认购期权2",
  25251. "type": "integer"
  25252. },
  25253. "calloptionpremiums3": {
  25254. "description": "认购期权3",
  25255. "type": "integer"
  25256. },
  25257. "calloptionpremiums4": {
  25258. "description": "认购期权4",
  25259. "type": "integer"
  25260. },
  25261. "calloptionpremiums5": {
  25262. "description": "认购期权5",
  25263. "type": "integer"
  25264. },
  25265. "cleartime": {
  25266. "description": "清盘时间",
  25267. "type": "integer"
  25268. },
  25269. "exchangecode": {
  25270. "description": "交易所代码",
  25271. "type": "integer"
  25272. },
  25273. "exchangedate": {
  25274. "description": "交易日",
  25275. "type": "integer"
  25276. },
  25277. "goodscode": {
  25278. "description": "商品代码",
  25279. "type": "string"
  25280. },
  25281. "grepmarketprice": {
  25282. "description": "暗盘价 港股专用",
  25283. "type": "number"
  25284. },
  25285. "highest": {
  25286. "description": "最高价",
  25287. "type": "number"
  25288. },
  25289. "holdincrement": {
  25290. "description": "单笔持仓",
  25291. "type": "integer"
  25292. },
  25293. "holdvolume": {
  25294. "description": "持仓",
  25295. "type": "integer"
  25296. },
  25297. "iep": {
  25298. "description": "平衡价 港股专用",
  25299. "type": "number"
  25300. },
  25301. "iev": {
  25302. "description": "平衡量 港股专用",
  25303. "type": "number"
  25304. },
  25305. "inventory": {
  25306. "description": "库存",
  25307. "type": "integer"
  25308. },
  25309. "iscleared": {
  25310. "description": "是否清盘标志",
  25311. "type": "integer"
  25312. },
  25313. "issettled": {
  25314. "description": "是否结算标志",
  25315. "type": "integer"
  25316. },
  25317. "last": {
  25318. "description": "最新价",
  25319. "type": "number"
  25320. },
  25321. "lastlot": {
  25322. "description": "最新成交手数",
  25323. "type": "integer"
  25324. },
  25325. "lasttime": {
  25326. "description": "行情时间(只有现价变化行情时间才变化)",
  25327. "type": "string"
  25328. },
  25329. "lastturnover": {
  25330. "description": "最新成交金额",
  25331. "type": "number"
  25332. },
  25333. "lastvolume": {
  25334. "description": "最新成交量",
  25335. "type": "integer"
  25336. },
  25337. "limitdown": {
  25338. "description": "跌停价",
  25339. "type": "number"
  25340. },
  25341. "limitup": {
  25342. "description": "涨停价",
  25343. "type": "number"
  25344. },
  25345. "lowest": {
  25346. "description": "最低价",
  25347. "type": "number"
  25348. },
  25349. "nontotalholdervolume": {
  25350. "description": "非交易持仓量",
  25351. "type": "integer"
  25352. },
  25353. "nontotallot": {
  25354. "description": "非交易总手数",
  25355. "type": "integer"
  25356. },
  25357. "nontotalturnover": {
  25358. "description": "非交易总金额",
  25359. "type": "integer"
  25360. },
  25361. "nontotalvolume": {
  25362. "description": "非交易总量",
  25363. "type": "integer"
  25364. },
  25365. "opened": {
  25366. "description": "开盘价",
  25367. "type": "number"
  25368. },
  25369. "opentime": {
  25370. "description": "开盘时间",
  25371. "type": "string"
  25372. },
  25373. "orderid": {
  25374. "description": "序号",
  25375. "type": "integer"
  25376. },
  25377. "preclose": {
  25378. "description": "昨收",
  25379. "type": "number"
  25380. },
  25381. "preholdvolume": {
  25382. "description": "昨持仓",
  25383. "type": "integer"
  25384. },
  25385. "presettle": {
  25386. "description": "昨结价",
  25387. "type": "number"
  25388. },
  25389. "publictradetype": {
  25390. "description": "公共交易标志类型 港股专用",
  25391. "type": "string"
  25392. },
  25393. "putoptionpremiums": {
  25394. "description": "认沽期权1",
  25395. "type": "integer"
  25396. },
  25397. "putoptionpremiums2": {
  25398. "description": "认沽期权2",
  25399. "type": "integer"
  25400. },
  25401. "putoptionpremiums3": {
  25402. "description": "认沽期权3",
  25403. "type": "integer"
  25404. },
  25405. "putoptionpremiums4": {
  25406. "description": "认沽期权4",
  25407. "type": "integer"
  25408. },
  25409. "putoptionpremiums5": {
  25410. "description": "认沽期权5",
  25411. "type": "integer"
  25412. },
  25413. "settle": {
  25414. "description": "结算价",
  25415. "type": "number"
  25416. },
  25417. "strikeprice": {
  25418. "description": "发行价",
  25419. "type": "number"
  25420. },
  25421. "totalaskvolume": {
  25422. "description": "内盘",
  25423. "type": "integer"
  25424. },
  25425. "totalbidvolume": {
  25426. "description": "外盘",
  25427. "type": "integer"
  25428. },
  25429. "totallot": {
  25430. "description": "总手数",
  25431. "type": "integer"
  25432. },
  25433. "totalturnover": {
  25434. "description": "总金额",
  25435. "type": "number"
  25436. },
  25437. "totalvolume": {
  25438. "description": "总量",
  25439. "type": "integer"
  25440. },
  25441. "utclasttime": {
  25442. "description": "utc的行情时间",
  25443. "type": "string"
  25444. }
  25445. }
  25446. },
  25447. "quote.QueryTSDataRsp": {
  25448. "type": "object",
  25449. "properties": {
  25450. "Count": {
  25451. "description": "交易日应有数据个数",
  25452. "type": "integer"
  25453. },
  25454. "decimalPlace": {
  25455. "description": "小数位",
  25456. "type": "integer"
  25457. },
  25458. "endTime": {
  25459. "description": "结束时间",
  25460. "type": "string"
  25461. },
  25462. "goodsCode": {
  25463. "description": "商品代码",
  25464. "type": "string"
  25465. },
  25466. "historyDatas": {
  25467. "description": "历史数据",
  25468. "type": "array",
  25469. "items": {
  25470. "$ref": "#/definitions/quote.HistoryData"
  25471. }
  25472. },
  25473. "outGoodsCode": {
  25474. "description": "外部商品代码",
  25475. "type": "string"
  25476. },
  25477. "preSettle": {
  25478. "description": "昨结价",
  25479. "type": "number"
  25480. },
  25481. "runSteps": {
  25482. "description": "交易日开休市计划",
  25483. "type": "array",
  25484. "items": {
  25485. "$ref": "#/definitions/quote.TSDataRunStep"
  25486. }
  25487. },
  25488. "startTime": {
  25489. "description": "开始时间",
  25490. "type": "string"
  25491. },
  25492. "tradeDate": {
  25493. "description": "交易日",
  25494. "type": "string"
  25495. }
  25496. }
  25497. },
  25498. "quote.TSDataRunStep": {
  25499. "type": "object",
  25500. "properties": {
  25501. "end": {
  25502. "description": "真实结束时间",
  25503. "type": "string"
  25504. },
  25505. "endflag": {
  25506. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  25507. "type": "integer"
  25508. },
  25509. "endtime": {
  25510. "description": "结束时间(HH:mm)",
  25511. "type": "string"
  25512. },
  25513. "endweekday": {
  25514. "description": "结束周几",
  25515. "type": "integer"
  25516. },
  25517. "groupid": {
  25518. "description": "分组ID",
  25519. "type": "integer"
  25520. },
  25521. "runstep": {
  25522. "description": "运行阶段 - 2:连续交易",
  25523. "type": "integer"
  25524. },
  25525. "sectionid": {
  25526. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  25527. "type": "integer"
  25528. },
  25529. "start": {
  25530. "description": "真实开始时间",
  25531. "type": "string"
  25532. },
  25533. "startflag": {
  25534. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  25535. "type": "integer"
  25536. },
  25537. "starttime": {
  25538. "description": "起始时间(HH:mm)",
  25539. "type": "string"
  25540. },
  25541. "startweekday": {
  25542. "description": "起始周几",
  25543. "type": "integer"
  25544. },
  25545. "tradeweekday": {
  25546. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  25547. "type": "integer"
  25548. }
  25549. }
  25550. },
  25551. "szdz.QueryConvertLogRsp": {
  25552. "type": "object",
  25553. "required": [
  25554. "logid"
  25555. ],
  25556. "properties": {
  25557. "accountid": {
  25558. "description": "资金账户ID",
  25559. "type": "integer"
  25560. },
  25561. "clientticket": {
  25562. "description": "客户端流水号",
  25563. "type": "string"
  25564. },
  25565. "converttype": {
  25566. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  25567. "type": "integer"
  25568. },
  25569. "createtime": {
  25570. "description": "记账时间",
  25571. "type": "string"
  25572. },
  25573. "daymaxvalue": {
  25574. "description": "配置当日最大转入限制",
  25575. "type": "number"
  25576. },
  25577. "daymaxvalue2": {
  25578. "description": "配置当日最大转入限制(转入)",
  25579. "type": "number"
  25580. },
  25581. "goodscode": {
  25582. "description": "商品代码",
  25583. "type": "string"
  25584. },
  25585. "goodsname": {
  25586. "description": "商品名称",
  25587. "type": "string"
  25588. },
  25589. "handlestatus": {
  25590. "description": "处理状态",
  25591. "type": "integer"
  25592. },
  25593. "innergoodsid": {
  25594. "description": "内部商品ID",
  25595. "type": "integer"
  25596. },
  25597. "inratio": {
  25598. "description": "配置转入比值",
  25599. "type": "integer"
  25600. },
  25601. "invalue": {
  25602. "description": "目标值",
  25603. "type": "number"
  25604. },
  25605. "logid": {
  25606. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25607. "type": "integer"
  25608. },
  25609. "mobile": {
  25610. "description": "手机号码(加密存储)",
  25611. "type": "string"
  25612. },
  25613. "outergoodscode": {
  25614. "description": "外部商品代码[JD\\PD]",
  25615. "type": "string"
  25616. },
  25617. "outratio": {
  25618. "description": "配置转出比值",
  25619. "type": "integer"
  25620. },
  25621. "outvalue": {
  25622. "description": "源值",
  25623. "type": "number"
  25624. },
  25625. "pddecimalplace": {
  25626. "description": "PD小数位",
  25627. "type": "integer"
  25628. },
  25629. "qty": {
  25630. "description": "数量",
  25631. "type": "string"
  25632. },
  25633. "remark": {
  25634. "description": "备注",
  25635. "type": "string"
  25636. },
  25637. "sessionid": {
  25638. "description": "会话ID",
  25639. "type": "integer"
  25640. },
  25641. "timemaxvalue": {
  25642. "description": "配置单次最大转入限制",
  25643. "type": "number"
  25644. },
  25645. "timemaxvalue2": {
  25646. "description": "配置单次最大转入限制(转入)",
  25647. "type": "number"
  25648. },
  25649. "timeminvalue": {
  25650. "description": "配置单次最小数量限制",
  25651. "type": "number"
  25652. },
  25653. "timeminvalue2": {
  25654. "description": "配置单次最小数量限制(转入)",
  25655. "type": "number"
  25656. },
  25657. "tradedate": {
  25658. "description": "交易日(yyyyMMdd)",
  25659. "type": "string"
  25660. },
  25661. "userid": {
  25662. "description": "用户ID",
  25663. "type": "integer"
  25664. }
  25665. }
  25666. },
  25667. "szdz.QueryGoodsPickupRsp": {
  25668. "type": "object",
  25669. "required": [
  25670. "takeorderid"
  25671. ],
  25672. "properties": {
  25673. "accountid": {
  25674. "description": "账户ID",
  25675. "type": "integer"
  25676. },
  25677. "address": {
  25678. "description": "提货人详细地址",
  25679. "type": "string"
  25680. },
  25681. "auditer": {
  25682. "description": "审核人",
  25683. "type": "integer"
  25684. },
  25685. "audittime": {
  25686. "description": "审核时间",
  25687. "type": "string"
  25688. },
  25689. "cardnum": {
  25690. "description": "提货人证件号码",
  25691. "type": "string"
  25692. },
  25693. "cardtypeid": {
  25694. "description": "提货人证件类型",
  25695. "type": "integer"
  25696. },
  25697. "checkremark": {
  25698. "description": "审核备注",
  25699. "type": "string"
  25700. },
  25701. "goodscode": {
  25702. "description": "商品代码",
  25703. "type": "string"
  25704. },
  25705. "goodsid": {
  25706. "description": "商品ID",
  25707. "type": "integer"
  25708. },
  25709. "goodsname": {
  25710. "description": "商品名称",
  25711. "type": "string"
  25712. },
  25713. "handlestatus": {
  25714. "description": "处理状态",
  25715. "type": "integer"
  25716. },
  25717. "marketid": {
  25718. "description": "市场ID",
  25719. "type": "integer"
  25720. },
  25721. "phonenum": {
  25722. "description": "提货人联系方式",
  25723. "type": "string"
  25724. },
  25725. "qty": {
  25726. "description": "提货数量",
  25727. "type": "number"
  25728. },
  25729. "recivername": {
  25730. "description": "提货人姓名",
  25731. "type": "string"
  25732. },
  25733. "reqtime": {
  25734. "description": "更新时间",
  25735. "type": "string"
  25736. },
  25737. "takemode": {
  25738. "description": "提货方式 - 2:自提 3:配送",
  25739. "type": "integer"
  25740. },
  25741. "takeorderid": {
  25742. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25743. "type": "string"
  25744. },
  25745. "takeorderstatus": {
  25746. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25747. "type": "integer"
  25748. },
  25749. "takeremark": {
  25750. "description": "提货备注",
  25751. "type": "string"
  25752. },
  25753. "tradedate": {
  25754. "description": "交易日(yyyyMMdd)",
  25755. "type": "string"
  25756. },
  25757. "userid": {
  25758. "description": "用户ID",
  25759. "type": "integer"
  25760. }
  25761. }
  25762. },
  25763. "szdz.QueryRecieptOrderRsp": {
  25764. "type": "object",
  25765. "required": [
  25766. "ordertime"
  25767. ],
  25768. "properties": {
  25769. "accountName": {
  25770. "description": "所属账号名称(已脱敏)",
  25771. "type": "string"
  25772. },
  25773. "accountid": {
  25774. "description": "资金账号",
  25775. "type": "integer"
  25776. },
  25777. "buyorsell": {
  25778. "description": "方向 - 0:买 1:卖",
  25779. "type": "integer"
  25780. },
  25781. "enableqty": {
  25782. "description": "可摘数量",
  25783. "type": "integer"
  25784. },
  25785. "goodscode": {
  25786. "description": "商品代码",
  25787. "type": "string"
  25788. },
  25789. "goodsid": {
  25790. "description": "商品ID",
  25791. "type": "integer"
  25792. },
  25793. "goodsname": {
  25794. "description": "商品名称",
  25795. "type": "string"
  25796. },
  25797. "orderid": {
  25798. "description": "委托单号",
  25799. "type": "string"
  25800. },
  25801. "orderprice": {
  25802. "description": "委托价格",
  25803. "type": "number"
  25804. },
  25805. "ordertime": {
  25806. "description": "委托时间",
  25807. "type": "string"
  25808. },
  25809. "tradedate": {
  25810. "description": "交易日(yyyyMMdd)",
  25811. "type": "string"
  25812. }
  25813. }
  25814. },
  25815. "szdz.QuerySZDZTradePositionRsp": {
  25816. "type": "object",
  25817. "properties": {
  25818. "accountid": {
  25819. "description": "账号Id",
  25820. "type": "integer"
  25821. },
  25822. "agreeunit": {
  25823. "description": "合约单位",
  25824. "type": "number"
  25825. },
  25826. "averageprice": {
  25827. "description": "持仓均价",
  25828. "type": "number"
  25829. },
  25830. "buyorsell": {
  25831. "description": "方向 - 0:买 1:卖",
  25832. "type": "integer"
  25833. },
  25834. "closetotalqty": {
  25835. "description": "平仓总数量",
  25836. "type": "integer"
  25837. },
  25838. "curholderamount": {
  25839. "description": "当前持仓总金额",
  25840. "type": "number"
  25841. },
  25842. "curpositionqty": {
  25843. "description": "当前持仓总数量",
  25844. "type": "integer"
  25845. },
  25846. "currencyid": {
  25847. "description": "报价货币ID",
  25848. "type": "integer"
  25849. },
  25850. "curtdposition": {
  25851. "description": "期末今日头寸",
  25852. "type": "integer"
  25853. },
  25854. "decimalplace": {
  25855. "description": "报价小数位",
  25856. "type": "integer"
  25857. },
  25858. "enableqty": {
  25859. "description": "可用量",
  25860. "type": "integer"
  25861. },
  25862. "fretdposition": {
  25863. "description": "冻结今日头寸",
  25864. "type": "integer"
  25865. },
  25866. "frozenqty": {
  25867. "description": "持仓冻结数量",
  25868. "type": "integer"
  25869. },
  25870. "goodscode": {
  25871. "description": "商品代码(内部)",
  25872. "type": "string"
  25873. },
  25874. "goodsid": {
  25875. "description": "商品Id",
  25876. "type": "integer"
  25877. },
  25878. "goodsname": {
  25879. "description": "商品名称",
  25880. "type": "string"
  25881. },
  25882. "goodunit": {
  25883. "description": "报价单位",
  25884. "type": "string"
  25885. },
  25886. "goodunitid": {
  25887. "description": "报价单位ID",
  25888. "type": "integer"
  25889. },
  25890. "holderamount": {
  25891. "description": "期初持仓总金额",
  25892. "type": "number"
  25893. },
  25894. "marketid": {
  25895. "description": "市场ID",
  25896. "type": "integer"
  25897. },
  25898. "openreqqty": {
  25899. "description": "开仓申请数量",
  25900. "type": "integer"
  25901. },
  25902. "opentotalqty": {
  25903. "description": "开仓总数量",
  25904. "type": "integer"
  25905. },
  25906. "otherfrozenqty": {
  25907. "description": "持仓其他冻结数量(交割冻结)",
  25908. "type": "integer"
  25909. },
  25910. "positionqty": {
  25911. "description": "期初持仓数量",
  25912. "type": "integer"
  25913. },
  25914. "szdz3freezqty": {
  25915. "description": "尚志大宗转换冻结总数量",
  25916. "type": "integer"
  25917. },
  25918. "tnqty": {
  25919. "description": "T+N冻结总量",
  25920. "type": "integer"
  25921. },
  25922. "tnusedqty": {
  25923. "description": "T+N使用量",
  25924. "type": "integer"
  25925. },
  25926. "trademode": {
  25927. "description": "交易模式",
  25928. "type": "integer"
  25929. },
  25930. "usedmargin": {
  25931. "description": "占用保证金",
  25932. "type": "number"
  25933. }
  25934. }
  25935. },
  25936. "taaccount.QueryAmountLogRsp": {
  25937. "type": "object",
  25938. "required": [
  25939. "accountid",
  25940. "amount",
  25941. "amountadjusttype",
  25942. "autoid",
  25943. "balance",
  25944. "createtime",
  25945. "currentbalance",
  25946. "operatetype"
  25947. ],
  25948. "properties": {
  25949. "OPERATETYPENAME": {
  25950. "description": "资金操作类型名称",
  25951. "type": "string"
  25952. },
  25953. "accountid": {
  25954. "description": "资金账户ID",
  25955. "type": "integer"
  25956. },
  25957. "agoodscode": {
  25958. "description": "竞拍商品代码",
  25959. "type": "string"
  25960. },
  25961. "agoodsname": {
  25962. "description": "竞拍商品名称",
  25963. "type": "string"
  25964. },
  25965. "amount": {
  25966. "description": "资金金额",
  25967. "type": "number"
  25968. },
  25969. "amountadjusttype": {
  25970. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25971. "type": "integer"
  25972. },
  25973. "autoid": {
  25974. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25975. "type": "integer"
  25976. },
  25977. "balance": {
  25978. "description": "期初余额",
  25979. "type": "number"
  25980. },
  25981. "businesscode": {
  25982. "description": "业务编号",
  25983. "type": "integer"
  25984. },
  25985. "createtime": {
  25986. "description": "发生时间",
  25987. "type": "string"
  25988. },
  25989. "currencyid": {
  25990. "description": "币种ID",
  25991. "type": "integer"
  25992. },
  25993. "currentbalance": {
  25994. "description": "期末余额(变动后金额)",
  25995. "type": "number"
  25996. },
  25997. "dgoodscode": {
  25998. "description": "交割商品代码",
  25999. "type": "string"
  26000. },
  26001. "dgoodsname": {
  26002. "description": "交割商品名称",
  26003. "type": "string"
  26004. },
  26005. "goodscode": {
  26006. "description": "商品代码",
  26007. "type": "string"
  26008. },
  26009. "goodsid": {
  26010. "description": "商品ID",
  26011. "type": "integer"
  26012. },
  26013. "goodsname": {
  26014. "description": "商品名称",
  26015. "type": "string"
  26016. },
  26017. "marketid": {
  26018. "description": "市场ID",
  26019. "type": "integer"
  26020. },
  26021. "marketname": {
  26022. "description": "市场名称",
  26023. "type": "string"
  26024. },
  26025. "moneyticket": {
  26026. "description": "资金流水号:银行端流水号",
  26027. "type": "integer"
  26028. },
  26029. "operatetype": {
  26030. "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:营销收款",
  26031. "type": "integer"
  26032. },
  26033. "relationorderid": {
  26034. "description": "关联单号",
  26035. "type": "string"
  26036. },
  26037. "remark": {
  26038. "description": "备注",
  26039. "type": "string"
  26040. },
  26041. "trademode": {
  26042. "description": "交易模式",
  26043. "type": "integer"
  26044. }
  26045. }
  26046. },
  26047. "taaccount.QueryHisAmountLogRsp": {
  26048. "type": "object",
  26049. "required": [
  26050. "accountid",
  26051. "amount",
  26052. "amountadjusttype",
  26053. "autoid",
  26054. "balance",
  26055. "createtime",
  26056. "currentbalance",
  26057. "histradedate",
  26058. "operatetype"
  26059. ],
  26060. "properties": {
  26061. "OPERATETYPENAME": {
  26062. "description": "资金操作类型名称",
  26063. "type": "string"
  26064. },
  26065. "accountid": {
  26066. "description": "资金账户ID",
  26067. "type": "integer"
  26068. },
  26069. "agoodscode": {
  26070. "description": "竞拍商品代码",
  26071. "type": "string"
  26072. },
  26073. "agoodsname": {
  26074. "description": "竞拍商品名称",
  26075. "type": "string"
  26076. },
  26077. "amount": {
  26078. "description": "资金金额",
  26079. "type": "number"
  26080. },
  26081. "amountadjusttype": {
  26082. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  26083. "type": "integer"
  26084. },
  26085. "autoid": {
  26086. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  26087. "type": "integer"
  26088. },
  26089. "balance": {
  26090. "description": "期初余额",
  26091. "type": "number"
  26092. },
  26093. "businesscode": {
  26094. "description": "业务编号",
  26095. "type": "integer"
  26096. },
  26097. "createtime": {
  26098. "description": "发生时间",
  26099. "type": "string"
  26100. },
  26101. "currencyid": {
  26102. "description": "币种ID",
  26103. "type": "integer"
  26104. },
  26105. "currentbalance": {
  26106. "description": "期末余额(变动后金额)",
  26107. "type": "number"
  26108. },
  26109. "dgoodscode": {
  26110. "description": "交割商品代码",
  26111. "type": "string"
  26112. },
  26113. "dgoodsname": {
  26114. "description": "交割商品名称",
  26115. "type": "string"
  26116. },
  26117. "goodscode": {
  26118. "description": "商品代码",
  26119. "type": "string"
  26120. },
  26121. "goodsid": {
  26122. "description": "商品ID",
  26123. "type": "integer"
  26124. },
  26125. "goodsname": {
  26126. "description": "商品名称",
  26127. "type": "string"
  26128. },
  26129. "histradedate": {
  26130. "description": "历史交易日",
  26131. "type": "string"
  26132. },
  26133. "isvaliddata": {
  26134. "description": "是否有效 - 0:无效 1:有效",
  26135. "type": "integer"
  26136. },
  26137. "marketid": {
  26138. "description": "市场ID",
  26139. "type": "integer"
  26140. },
  26141. "marketname": {
  26142. "description": "市场名称",
  26143. "type": "string"
  26144. },
  26145. "moneyticket": {
  26146. "description": "资金流水号:银行端流水号",
  26147. "type": "integer"
  26148. },
  26149. "operatetype": {
  26150. "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:营销收款",
  26151. "type": "integer"
  26152. },
  26153. "relationorderid": {
  26154. "description": "关联单号",
  26155. "type": "string"
  26156. },
  26157. "remark": {
  26158. "description": "备注",
  26159. "type": "string"
  26160. },
  26161. "trademode": {
  26162. "description": "交易模式",
  26163. "type": "integer"
  26164. }
  26165. }
  26166. },
  26167. "trade.QueryRecieptOrderRsp": {
  26168. "type": "object",
  26169. "required": [
  26170. "ordertime"
  26171. ],
  26172. "properties": {
  26173. "accountName": {
  26174. "description": "所属账号名称(已脱敏)",
  26175. "type": "string"
  26176. },
  26177. "accountid": {
  26178. "description": "资金账号",
  26179. "type": "integer"
  26180. },
  26181. "buyorsell": {
  26182. "description": "方向 - 0:买 1:卖",
  26183. "type": "integer"
  26184. },
  26185. "enableqty": {
  26186. "description": "可摘数量",
  26187. "type": "integer"
  26188. },
  26189. "goodscode": {
  26190. "description": "商品代码",
  26191. "type": "string"
  26192. },
  26193. "goodsid": {
  26194. "description": "商品ID",
  26195. "type": "integer"
  26196. },
  26197. "goodsname": {
  26198. "description": "商品名称",
  26199. "type": "string"
  26200. },
  26201. "orderid": {
  26202. "description": "委托单号",
  26203. "type": "string"
  26204. },
  26205. "orderprice": {
  26206. "description": "委托价格",
  26207. "type": "number"
  26208. },
  26209. "ordertime": {
  26210. "description": "委托时间",
  26211. "type": "string"
  26212. },
  26213. "tradedate": {
  26214. "description": "交易日(yyyyMMdd)",
  26215. "type": "string"
  26216. }
  26217. }
  26218. },
  26219. "user.LoginQueryRsp": {
  26220. "type": "object",
  26221. "properties": {
  26222. "areaRoles": {
  26223. "description": "所属角色信息",
  26224. "type": "array",
  26225. "items": {
  26226. "$ref": "#/definitions/models.Arearole"
  26227. }
  26228. },
  26229. "externalExchanges": {
  26230. "description": "外部交易所",
  26231. "type": "array",
  26232. "items": {
  26233. "$ref": "#/definitions/models.Externalexchange"
  26234. }
  26235. },
  26236. "goodsgroups": {
  26237. "description": "商品组",
  26238. "type": "array",
  26239. "items": {
  26240. "$ref": "#/definitions/models.Goodsgroup"
  26241. }
  26242. },
  26243. "loginAccount": {
  26244. "description": "登录账号",
  26245. "type": "object",
  26246. "$ref": "#/definitions/models.Loginaccount"
  26247. },
  26248. "markets": {
  26249. "description": "市场",
  26250. "type": "array",
  26251. "items": {
  26252. "$ref": "#/definitions/models.Market"
  26253. }
  26254. },
  26255. "systemParams": {
  26256. "description": "系统参数",
  26257. "type": "array",
  26258. "items": {
  26259. "$ref": "#/definitions/models.Systemparam"
  26260. }
  26261. },
  26262. "userAccount": {
  26263. "description": "用户账号",
  26264. "type": "object",
  26265. "$ref": "#/definitions/models.Useraccount"
  26266. },
  26267. "userInfo": {
  26268. "description": "用户信息",
  26269. "type": "object",
  26270. "$ref": "#/definitions/models.Userinfo"
  26271. },
  26272. "username": {
  26273. "description": "用户姓名",
  26274. "type": "string"
  26275. }
  26276. }
  26277. }
  26278. },
  26279. "securityDefinitions": {
  26280. "ApiKeyAuth": {
  26281. "type": "apiKey",
  26282. "name": "Authorization",
  26283. "in": "header"
  26284. }
  26285. }
  26286. }`
  26287. type swaggerInfo struct {
  26288. Version string
  26289. Host string
  26290. BasePath string
  26291. Schemes []string
  26292. Title string
  26293. Description string
  26294. }
  26295. // SwaggerInfo holds exported Swagger Info so clients can modify it
  26296. var SwaggerInfo = swaggerInfo{
  26297. Version: "1.0",
  26298. Host: "",
  26299. BasePath: "/api",
  26300. Schemes: []string{},
  26301. Title: "MTP2.0 查询服务 API",
  26302. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  26303. }
  26304. type s struct{}
  26305. func (s *s) ReadDoc() string {
  26306. sInfo := SwaggerInfo
  26307. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  26308. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  26309. "marshal": func(v interface{}) string {
  26310. a, _ := json.Marshal(v)
  26311. return string(a)
  26312. },
  26313. }).Parse(doc)
  26314. if err != nil {
  26315. return doc
  26316. }
  26317. var tpl bytes.Buffer
  26318. if err := t.Execute(&tpl, sInfo); err != nil {
  26319. return doc
  26320. }
  26321. return tpl.String()
  26322. }
  26323. func init() {
  26324. swag.Register(swag.Name, &s{})
  26325. }