docs.go 891 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "品类id(明细必填)",
  3127. "name": "wrstandardid",
  3128. "in": "query"
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "币种id(明细必填)",
  3133. "name": "currencyid",
  3134. "in": "query"
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "type": "array",
  3142. "items": {
  3143. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3144. }
  3145. }
  3146. },
  3147. "500": {
  3148. "description": "Internal Server Error",
  3149. "schema": {
  3150. "$ref": "#/definitions/app.Response"
  3151. }
  3152. }
  3153. }
  3154. }
  3155. },
  3156. "/Ermcp3/QryAreaStockReport": {
  3157. "get": {
  3158. "security": [
  3159. {
  3160. "ApiKeyAuth": []
  3161. }
  3162. ],
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "企业风险管理v3(app)"
  3168. ],
  3169. "summary": "查询库存报表",
  3170. "parameters": [
  3171. {
  3172. "type": "integer",
  3173. "description": "用户ID",
  3174. "name": "userid",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "查询类型 1-报表 2-报表明细",
  3181. "name": "querytype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3188. "name": "cycletype",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3195. "name": "cycletime",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "string",
  3201. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3202. "name": "sumfields",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品种ID",
  3208. "name": "deliverygoodsid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品类ID",
  3214. "name": "wrstandardid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "品牌ID",
  3220. "name": "spotgoodsbrandid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "仓库ID",
  3226. "name": "warehouseinfoid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSumPL": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询汇总损益表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "币种id(明细必填)",
  3295. "name": "currencyid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "type": "array",
  3304. "items": {
  3305. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryFinanceReport": {
  3319. "get": {
  3320. "security": [
  3321. {
  3322. "ApiKeyAuth": []
  3323. }
  3324. ],
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "企业风险管理v3(app)"
  3330. ],
  3331. "summary": "查询财务报表",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "用户ID",
  3336. "name": "userid",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "查询类型 1-报表 2-报表明细",
  3343. "name": "querytype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3350. "name": "cycletype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3357. "name": "cycletime",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "币种id(报表明细必填)",
  3364. "name": "currencyid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. }
  3373. ],
  3374. "responses": {
  3375. "200": {
  3376. "description": "OK",
  3377. "schema": {
  3378. "type": "array",
  3379. "items": {
  3380. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3381. }
  3382. }
  3383. },
  3384. "500": {
  3385. "description": "Internal Server Error",
  3386. "schema": {
  3387. "$ref": "#/definitions/app.Response"
  3388. }
  3389. }
  3390. }
  3391. }
  3392. },
  3393. "/Ermcp3/QueryAreaStock": {
  3394. "get": {
  3395. "security": [
  3396. {
  3397. "ApiKeyAuth": []
  3398. }
  3399. ],
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "企业风险管理v3(app)"
  3405. ],
  3406. "summary": "查询机构库存(库存管理/当前库存)",
  3407. "parameters": [
  3408. {
  3409. "type": "integer",
  3410. "description": "用户ID",
  3411. "name": "userid",
  3412. "in": "query",
  3413. "required": true
  3414. }
  3415. ],
  3416. "responses": {
  3417. "200": {
  3418. "description": "OK",
  3419. "schema": {
  3420. "type": "array",
  3421. "items": {
  3422. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3423. }
  3424. }
  3425. },
  3426. "500": {
  3427. "description": "Internal Server Error",
  3428. "schema": {
  3429. "$ref": "#/definitions/app.Response"
  3430. }
  3431. }
  3432. }
  3433. }
  3434. },
  3435. "/Ermcp3/QueryAreaStockApply": {
  3436. "get": {
  3437. "security": [
  3438. {
  3439. "ApiKeyAuth": []
  3440. }
  3441. ],
  3442. "produces": [
  3443. "application/json"
  3444. ],
  3445. "tags": [
  3446. "企业风险管理v3(app)"
  3447. ],
  3448. "summary": "查询库存申请(出入库记录|库存审核)",
  3449. "parameters": [
  3450. {
  3451. "type": "integer",
  3452. "description": "用户ID",
  3453. "name": "userid",
  3454. "in": "query",
  3455. "required": true
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "用户类型 2-机构 7-企业成员",
  3460. "name": "usertype",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "现货商品ID",
  3466. "name": "deliverygoodsid",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "string",
  3471. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3472. "name": "inouttype",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "合同ID",
  3478. "name": "spotcontractid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品类ID",
  3484. "name": "wrstandardid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "品牌ID",
  3490. "name": "spotgoodsbrandid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "仓库ID",
  3496. "name": "warehouseinfoid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "string",
  3501. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3502. "name": "applystatus",
  3503. "in": "query"
  3504. }
  3505. ],
  3506. "responses": {
  3507. "200": {
  3508. "description": "OK",
  3509. "schema": {
  3510. "type": "array",
  3511. "items": {
  3512. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3513. }
  3514. }
  3515. },
  3516. "500": {
  3517. "description": "Internal Server Error",
  3518. "schema": {
  3519. "$ref": "#/definitions/app.Response"
  3520. }
  3521. }
  3522. }
  3523. }
  3524. },
  3525. "/Ermcp3/QueryAreaStockApplySum": {
  3526. "get": {
  3527. "security": [
  3528. {
  3529. "ApiKeyAuth": []
  3530. }
  3531. ],
  3532. "produces": [
  3533. "application/json"
  3534. ],
  3535. "tags": [
  3536. "企业风险管理v3(app)"
  3537. ],
  3538. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3539. "parameters": [
  3540. {
  3541. "type": "integer",
  3542. "description": "合同ID",
  3543. "name": "spotcontractid",
  3544. "in": "query"
  3545. }
  3546. ],
  3547. "responses": {
  3548. "200": {
  3549. "description": "OK",
  3550. "schema": {
  3551. "type": "array",
  3552. "items": {
  3553. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3554. }
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/Ermcp3/QueryDGFactoryItem": {
  3567. "get": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "produces": [
  3574. "application/json"
  3575. ],
  3576. "tags": [
  3577. "企业风险管理v3(app)"
  3578. ],
  3579. "summary": "查询品种要素定义项",
  3580. "parameters": [
  3581. {
  3582. "type": "integer",
  3583. "description": "用户id",
  3584. "name": "userid",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "用户类型 2-机构 7-企业成员",
  3590. "name": "usertype",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3596. "name": "dgfactoryitemid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "现货品种ID",
  3602. "name": "deliverygoodsid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "要素项类型",
  3608. "name": "dgfactoryitemtypeid",
  3609. "in": "query"
  3610. },
  3611. {
  3612. "type": "integer",
  3613. "description": "顺序",
  3614. "name": "orderindex",
  3615. "in": "query"
  3616. }
  3617. ],
  3618. "responses": {
  3619. "200": {
  3620. "description": "OK",
  3621. "schema": {
  3622. "type": "array",
  3623. "items": {
  3624. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3625. }
  3626. }
  3627. },
  3628. "500": {
  3629. "description": "Internal Server Error",
  3630. "schema": {
  3631. "$ref": "#/definitions/app.Response"
  3632. }
  3633. }
  3634. }
  3635. }
  3636. },
  3637. "/Ermcp3/QueryDeliveryGoods": {
  3638. "get": {
  3639. "security": [
  3640. {
  3641. "ApiKeyAuth": []
  3642. }
  3643. ],
  3644. "produces": [
  3645. "application/json"
  3646. ],
  3647. "tags": [
  3648. "企业风险管理v3(app)"
  3649. ],
  3650. "summary": "查询现货商品",
  3651. "parameters": [
  3652. {
  3653. "type": "integer",
  3654. "description": "用户id",
  3655. "name": "userid",
  3656. "in": "query",
  3657. "required": true
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "用户类型 2-机构 7-企业成员",
  3662. "name": "usertype",
  3663. "in": "query"
  3664. },
  3665. {
  3666. "type": "integer",
  3667. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3668. "name": "excludecfg",
  3669. "in": "query"
  3670. }
  3671. ],
  3672. "responses": {
  3673. "200": {
  3674. "description": "OK",
  3675. "schema": {
  3676. "type": "array",
  3677. "items": {
  3678. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3679. }
  3680. }
  3681. },
  3682. "500": {
  3683. "description": "Internal Server Error",
  3684. "schema": {
  3685. "$ref": "#/definitions/app.Response"
  3686. }
  3687. }
  3688. }
  3689. }
  3690. },
  3691. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3692. "get": {
  3693. "security": [
  3694. {
  3695. "ApiKeyAuth": []
  3696. }
  3697. ],
  3698. "produces": [
  3699. "application/json"
  3700. ],
  3701. "tags": [
  3702. "企业风险管理v3(app)"
  3703. ],
  3704. "summary": "查询现货商品详情",
  3705. "parameters": [
  3706. {
  3707. "type": "integer",
  3708. "description": "用户id",
  3709. "name": "userid",
  3710. "in": "query",
  3711. "required": true
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "用户类型 2-机构 7-企业成员",
  3716. "name": "usertype",
  3717. "in": "query"
  3718. },
  3719. {
  3720. "type": "integer",
  3721. "description": "现货商品id",
  3722. "name": "deliverygoodsid",
  3723. "in": "query"
  3724. }
  3725. ],
  3726. "responses": {
  3727. "200": {
  3728. "description": "OK",
  3729. "schema": {
  3730. "type": "array",
  3731. "items": {
  3732. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3733. }
  3734. }
  3735. },
  3736. "500": {
  3737. "description": "Internal Server Error",
  3738. "schema": {
  3739. "$ref": "#/definitions/app.Response"
  3740. }
  3741. }
  3742. }
  3743. }
  3744. },
  3745. "/Ermcp3/QueryExposureDetail": {
  3746. "get": {
  3747. "security": [
  3748. {
  3749. "ApiKeyAuth": []
  3750. }
  3751. ],
  3752. "produces": [
  3753. "application/json"
  3754. ],
  3755. "tags": [
  3756. "企业风险管理v3(app)"
  3757. ],
  3758. "summary": "查询敞口现货明细",
  3759. "parameters": [
  3760. {
  3761. "type": "integer",
  3762. "description": "用户id",
  3763. "name": "userid",
  3764. "in": "query",
  3765. "required": true
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "用户类型 2-机构 7-企业成员",
  3770. "name": "usertype",
  3771. "in": "query"
  3772. },
  3773. {
  3774. "type": "integer",
  3775. "description": "套保商品",
  3776. "name": "middlegoodsid",
  3777. "in": "query",
  3778. "required": true
  3779. }
  3780. ],
  3781. "responses": {
  3782. "200": {
  3783. "description": "OK",
  3784. "schema": {
  3785. "type": "array",
  3786. "items": {
  3787. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3788. }
  3789. }
  3790. },
  3791. "500": {
  3792. "description": "Internal Server Error",
  3793. "schema": {
  3794. "$ref": "#/definitions/app.Response"
  3795. }
  3796. }
  3797. }
  3798. }
  3799. },
  3800. "/Ermcp3/QueryExposureSpot": {
  3801. "get": {
  3802. "security": [
  3803. {
  3804. "ApiKeyAuth": []
  3805. }
  3806. ],
  3807. "produces": [
  3808. "application/json"
  3809. ],
  3810. "tags": [
  3811. "企业风险管理v3(app)"
  3812. ],
  3813. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3814. "parameters": [
  3815. {
  3816. "type": "integer",
  3817. "description": "用户id",
  3818. "name": "userid",
  3819. "in": "query",
  3820. "required": true
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "用户类型 2-机构 7-企业成员",
  3825. "name": "usertype",
  3826. "in": "query"
  3827. }
  3828. ],
  3829. "responses": {
  3830. "200": {
  3831. "description": "OK",
  3832. "schema": {
  3833. "type": "array",
  3834. "items": {
  3835. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3836. }
  3837. }
  3838. },
  3839. "500": {
  3840. "description": "Internal Server Error",
  3841. "schema": {
  3842. "$ref": "#/definitions/app.Response"
  3843. }
  3844. }
  3845. }
  3846. }
  3847. },
  3848. "/Ermcp3/QueryExposureSpotDetail": {
  3849. "get": {
  3850. "security": [
  3851. {
  3852. "ApiKeyAuth": []
  3853. }
  3854. ],
  3855. "produces": [
  3856. "application/json"
  3857. ],
  3858. "tags": [
  3859. "企业风险管理v3(app)"
  3860. ],
  3861. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3862. "parameters": [
  3863. {
  3864. "type": "integer",
  3865. "description": "用户id",
  3866. "name": "userid",
  3867. "in": "query",
  3868. "required": true
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "用户类型 2-机构 7-企业成员",
  3873. "name": "usertype",
  3874. "in": "query"
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "现货品种ID",
  3879. "name": "deliverygoodsid",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp3/QueryGoodsGroup": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理v3(app)"
  3915. ],
  3916. "summary": "查询期货商品组",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户id",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "用户类型 2-机构 7-企业成员",
  3928. "name": "usertype",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "integer",
  3933. "description": "排除套保品中已关联的商品组 1-排除",
  3934. "name": "excludecfg",
  3935. "in": "query"
  3936. }
  3937. ],
  3938. "responses": {
  3939. "200": {
  3940. "description": "OK",
  3941. "schema": {
  3942. "type": "array",
  3943. "items": {
  3944. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3945. }
  3946. }
  3947. },
  3948. "500": {
  3949. "description": "Internal Server Error",
  3950. "schema": {
  3951. "$ref": "#/definitions/app.Response"
  3952. }
  3953. }
  3954. }
  3955. }
  3956. },
  3957. "/Ermcp3/QueryGoodsWrstandard": {
  3958. "get": {
  3959. "security": [
  3960. {
  3961. "ApiKeyAuth": []
  3962. }
  3963. ],
  3964. "produces": [
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "企业风险管理v3(app)"
  3969. ],
  3970. "summary": "查询商品品类",
  3971. "parameters": [
  3972. {
  3973. "type": "integer",
  3974. "description": "用户id",
  3975. "name": "userid",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "用户类型 2-机构 7-企业成员",
  3982. "name": "usertype",
  3983. "in": "query"
  3984. },
  3985. {
  3986. "type": "integer",
  3987. "description": "现货商品id",
  3988. "name": "deliverygoodsid",
  3989. "in": "query"
  3990. }
  3991. ],
  3992. "responses": {
  3993. "200": {
  3994. "description": "OK",
  3995. "schema": {
  3996. "type": "array",
  3997. "items": {
  3998. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3999. }
  4000. }
  4001. },
  4002. "500": {
  4003. "description": "Internal Server Error",
  4004. "schema": {
  4005. "$ref": "#/definitions/app.Response"
  4006. }
  4007. }
  4008. }
  4009. }
  4010. },
  4011. "/Ermcp3/QueryGoodsbrand": {
  4012. "get": {
  4013. "security": [
  4014. {
  4015. "ApiKeyAuth": []
  4016. }
  4017. ],
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "企业风险管理v3(app)"
  4023. ],
  4024. "summary": "查询商品品牌",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "用户id",
  4029. "name": "userid",
  4030. "in": "query",
  4031. "required": true
  4032. },
  4033. {
  4034. "type": "integer",
  4035. "description": "用户类型 2-机构 7-企业成员",
  4036. "name": "usertype",
  4037. "in": "query"
  4038. }
  4039. ],
  4040. "responses": {
  4041. "200": {
  4042. "description": "OK",
  4043. "schema": {
  4044. "type": "array",
  4045. "items": {
  4046. "$ref": "#/definitions/models.Ermcp3Brand"
  4047. }
  4048. }
  4049. },
  4050. "500": {
  4051. "description": "Internal Server Error",
  4052. "schema": {
  4053. "$ref": "#/definitions/app.Response"
  4054. }
  4055. }
  4056. }
  4057. }
  4058. },
  4059. "/Ermcp3/QueryHedgePlan": {
  4060. "get": {
  4061. "security": [
  4062. {
  4063. "ApiKeyAuth": []
  4064. }
  4065. ],
  4066. "produces": [
  4067. "application/json"
  4068. ],
  4069. "tags": [
  4070. "企业风险管理v3(app)"
  4071. ],
  4072. "summary": "查询套保计划",
  4073. "parameters": [
  4074. {
  4075. "type": "integer",
  4076. "description": "用户ID",
  4077. "name": "userid",
  4078. "in": "query",
  4079. "required": true
  4080. },
  4081. {
  4082. "type": "integer",
  4083. "description": "用户类型 2-机构 7-企业成员",
  4084. "name": "usertype",
  4085. "in": "query"
  4086. },
  4087. {
  4088. "type": "string",
  4089. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4090. "name": "hedgeplanstatus",
  4091. "in": "query",
  4092. "required": true
  4093. }
  4094. ],
  4095. "responses": {
  4096. "200": {
  4097. "description": "OK",
  4098. "schema": {
  4099. "type": "array",
  4100. "items": {
  4101. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4102. }
  4103. }
  4104. },
  4105. "500": {
  4106. "description": "Internal Server Error",
  4107. "schema": {
  4108. "$ref": "#/definitions/app.Response"
  4109. }
  4110. }
  4111. }
  4112. }
  4113. },
  4114. "/Ermcp3/QueryMiddleGoodsDetail": {
  4115. "get": {
  4116. "security": [
  4117. {
  4118. "ApiKeyAuth": []
  4119. }
  4120. ],
  4121. "produces": [
  4122. "application/json"
  4123. ],
  4124. "tags": [
  4125. "企业风险管理v3(app)"
  4126. ],
  4127. "summary": "查询套保品种详情(套保品种/商品详情)",
  4128. "parameters": [
  4129. {
  4130. "type": "integer",
  4131. "description": "用户id",
  4132. "name": "userid",
  4133. "in": "query",
  4134. "required": true
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "用户类型 2-机构 7-企业成员",
  4139. "name": "usertype",
  4140. "in": "query"
  4141. },
  4142. {
  4143. "type": "integer",
  4144. "description": "套保品种id",
  4145. "name": "middlegoodsid",
  4146. "in": "query"
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "type": "array",
  4154. "items": {
  4155. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4156. }
  4157. }
  4158. },
  4159. "500": {
  4160. "description": "Internal Server Error",
  4161. "schema": {
  4162. "$ref": "#/definitions/app.Response"
  4163. }
  4164. }
  4165. }
  4166. }
  4167. },
  4168. "/Ermcp3/QuerySpotContract": {
  4169. "get": {
  4170. "security": [
  4171. {
  4172. "ApiKeyAuth": []
  4173. }
  4174. ],
  4175. "produces": [
  4176. "application/json"
  4177. ],
  4178. "tags": [
  4179. "企业风险管理v3(app)"
  4180. ],
  4181. "summary": "查询现货合同",
  4182. "parameters": [
  4183. {
  4184. "type": "integer",
  4185. "description": "用户id",
  4186. "name": "userid",
  4187. "in": "query",
  4188. "required": true
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "用户类型 2-机构 7-企业成员",
  4193. "name": "usertype",
  4194. "in": "query"
  4195. },
  4196. {
  4197. "type": "integer",
  4198. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4199. "name": "querytype",
  4200. "in": "query",
  4201. "required": true
  4202. },
  4203. {
  4204. "type": "string",
  4205. "description": "合同ID(SpotContractId)",
  4206. "name": "contractid",
  4207. "in": "query"
  4208. }
  4209. ],
  4210. "responses": {
  4211. "200": {
  4212. "description": "OK",
  4213. "schema": {
  4214. "type": "array",
  4215. "items": {
  4216. "$ref": "#/definitions/models.Ermcp3Contract"
  4217. }
  4218. }
  4219. },
  4220. "500": {
  4221. "description": "Internal Server Error",
  4222. "schema": {
  4223. "$ref": "#/definitions/app.Response"
  4224. }
  4225. }
  4226. }
  4227. }
  4228. },
  4229. "/Ermcp3/QuerySpotContractBS": {
  4230. "get": {
  4231. "security": [
  4232. {
  4233. "ApiKeyAuth": []
  4234. }
  4235. ],
  4236. "produces": [
  4237. "application/json"
  4238. ],
  4239. "tags": [
  4240. "企业风险管理v3(app)"
  4241. ],
  4242. "summary": "查询合同(采购/销售)",
  4243. "parameters": [
  4244. {
  4245. "type": "integer",
  4246. "description": "用户id",
  4247. "name": "userid",
  4248. "in": "query",
  4249. "required": true
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "用户类型 2-机构 7-企业成员",
  4254. "name": "usertype",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "合同类型 1-采购, -1-销售",
  4260. "name": "contracttype",
  4261. "in": "query",
  4262. "required": true
  4263. },
  4264. {
  4265. "type": "integer",
  4266. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4267. "name": "querytype",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "string",
  4273. "description": "合同ID(SpotContractId)",
  4274. "name": "contractid",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QuerySpotGoodsPrice": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询现货市价(现货市价)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户ID",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询现货市价详情(现货市价/详情)",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户ID",
  4357. "name": "userid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "现货商品ID",
  4364. "name": "deliverygoodsid",
  4365. "in": "query",
  4366. "required": true
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品牌ID",
  4371. "name": "brandid",
  4372. "in": "query"
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "品类ID",
  4377. "name": "wrstandardid",
  4378. "in": "query"
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "type": "array",
  4386. "items": {
  4387. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4388. }
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/app.Response"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/Erms2/QueryArbitrageStrategy": {
  4401. "get": {
  4402. "security": [
  4403. {
  4404. "ApiKeyAuth": []
  4405. }
  4406. ],
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "风险管理"
  4412. ],
  4413. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4414. "parameters": [
  4415. {
  4416. "type": "integer",
  4417. "description": "账户ID",
  4418. "name": "userid",
  4419. "in": "query",
  4420. "required": true
  4421. },
  4422. {
  4423. "type": "string",
  4424. "description": "商品组ID(品种ID)",
  4425. "name": "goodsgroupid",
  4426. "in": "query"
  4427. }
  4428. ],
  4429. "responses": {
  4430. "200": {
  4431. "description": "OK",
  4432. "schema": {
  4433. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4434. }
  4435. },
  4436. "500": {
  4437. "description": "Internal Server Error",
  4438. "schema": {
  4439. "$ref": "#/definitions/app.Response"
  4440. }
  4441. }
  4442. }
  4443. }
  4444. },
  4445. "/Erms2/QueryInnerTradeDetail": {
  4446. "get": {
  4447. "security": [
  4448. {
  4449. "ApiKeyAuth": []
  4450. }
  4451. ],
  4452. "produces": [
  4453. "application/json"
  4454. ],
  4455. "tags": [
  4456. "风险管理"
  4457. ],
  4458. "summary": "查询内部成交单信息",
  4459. "parameters": [
  4460. {
  4461. "type": "integer",
  4462. "description": "资金账户",
  4463. "name": "accountid",
  4464. "in": "query",
  4465. "required": true
  4466. }
  4467. ],
  4468. "responses": {
  4469. "200": {
  4470. "description": "OK",
  4471. "schema": {
  4472. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Erms2/QuerySpotContract": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "风险管理"
  4496. ],
  4497. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "策略申请ID",
  4502. "name": "asapplyid",
  4503. "in": "query",
  4504. "required": true
  4505. },
  4506. {
  4507. "type": "integer",
  4508. "description": "现货合同ID",
  4509. "name": "spotcontractid",
  4510. "in": "query"
  4511. }
  4512. ],
  4513. "responses": {
  4514. "200": {
  4515. "description": "OK",
  4516. "schema": {
  4517. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4518. }
  4519. },
  4520. "500": {
  4521. "description": "Internal Server Error",
  4522. "schema": {
  4523. "$ref": "#/definitions/app.Response"
  4524. }
  4525. }
  4526. }
  4527. }
  4528. },
  4529. "/Erms3/AddErms2ASApply": {
  4530. "post": {
  4531. "security": [
  4532. {
  4533. "ApiKeyAuth": []
  4534. }
  4535. ],
  4536. "produces": [
  4537. "application/json"
  4538. ],
  4539. "tags": [
  4540. "风险管理v3"
  4541. ],
  4542. "summary": "新增期现套利业务申请",
  4543. "parameters": [
  4544. {
  4545. "description": "申请参数",
  4546. "name": "jsonBody",
  4547. "in": "body",
  4548. "required": true,
  4549. "schema": {
  4550. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4551. }
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Erms3/AddErms2SpotTradeApply": {
  4571. "post": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "风险管理v3"
  4582. ],
  4583. "summary": "新增现货贸易业务申请",
  4584. "parameters": [
  4585. {
  4586. "description": "申请参数",
  4587. "name": "jsonBody",
  4588. "in": "body",
  4589. "required": true,
  4590. "schema": {
  4591. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4592. }
  4593. }
  4594. ],
  4595. "responses": {
  4596. "200": {
  4597. "description": "OK",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. },
  4602. "500": {
  4603. "description": "Internal Server Error",
  4604. "schema": {
  4605. "$ref": "#/definitions/app.Response"
  4606. }
  4607. }
  4608. }
  4609. }
  4610. },
  4611. "/Erms3/AddSpotContractApply": {
  4612. "post": {
  4613. "security": [
  4614. {
  4615. "ApiKeyAuth": []
  4616. }
  4617. ],
  4618. "produces": [
  4619. "application/json"
  4620. ],
  4621. "tags": [
  4622. "风险管理v3"
  4623. ],
  4624. "summary": "新增现货合同申请",
  4625. "parameters": [
  4626. {
  4627. "description": "申请参数",
  4628. "name": "jsonBody",
  4629. "in": "body",
  4630. "required": true,
  4631. "schema": {
  4632. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4633. }
  4634. }
  4635. ],
  4636. "responses": {
  4637. "200": {
  4638. "description": "OK",
  4639. "schema": {
  4640. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4641. }
  4642. },
  4643. "500": {
  4644. "description": "Internal Server Error",
  4645. "schema": {
  4646. "$ref": "#/definitions/app.Response"
  4647. }
  4648. }
  4649. }
  4650. }
  4651. },
  4652. "/Erms3/AddUserInfoApply": {
  4653. "post": {
  4654. "security": [
  4655. {
  4656. "ApiKeyAuth": []
  4657. }
  4658. ],
  4659. "produces": [
  4660. "application/json"
  4661. ],
  4662. "tags": [
  4663. "风险管理v3"
  4664. ],
  4665. "summary": "新增客户申请",
  4666. "parameters": [
  4667. {
  4668. "description": "用户信息",
  4669. "name": "jsonBody",
  4670. "in": "body",
  4671. "required": true,
  4672. "schema": {
  4673. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4674. }
  4675. }
  4676. ],
  4677. "responses": {
  4678. "200": {
  4679. "description": "OK",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. },
  4684. "500": {
  4685. "description": "Internal Server Error",
  4686. "schema": {
  4687. "$ref": "#/definitions/app.Response"
  4688. }
  4689. }
  4690. }
  4691. }
  4692. },
  4693. "/Erms3/DeleteUserInfoApply": {
  4694. "get": {
  4695. "security": [
  4696. {
  4697. "ApiKeyAuth": []
  4698. }
  4699. ],
  4700. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "风险管理v3"
  4706. ],
  4707. "summary": "删除客户申请",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "用户ID",
  4712. "name": "userID",
  4713. "in": "query",
  4714. "required": true
  4715. }
  4716. ],
  4717. "responses": {
  4718. "200": {
  4719. "description": "OK",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. },
  4724. "500": {
  4725. "description": "Internal Server Error",
  4726. "schema": {
  4727. "$ref": "#/definitions/app.Response"
  4728. }
  4729. }
  4730. }
  4731. }
  4732. },
  4733. "/Erms3/ModifyUserInfoApply": {
  4734. "post": {
  4735. "security": [
  4736. {
  4737. "ApiKeyAuth": []
  4738. }
  4739. ],
  4740. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4741. "produces": [
  4742. "application/json"
  4743. ],
  4744. "tags": [
  4745. "风险管理v3"
  4746. ],
  4747. "summary": "修改客户申请",
  4748. "parameters": [
  4749. {
  4750. "description": "用户信息",
  4751. "name": "jsonBody",
  4752. "in": "body",
  4753. "required": true,
  4754. "schema": {
  4755. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4756. }
  4757. }
  4758. ],
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/Erms3/QueryBusinessInfo": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "风险管理v3"
  4787. ],
  4788. "summary": "查询业务表单数据",
  4789. "parameters": [
  4790. {
  4791. "type": "string",
  4792. "description": "资金账号ID列表,用逗号分隔",
  4793. "name": "accountids",
  4794. "in": "query",
  4795. "required": true
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "状态,0为未结束 1为已结束",
  4800. "name": "status",
  4801. "in": "query",
  4802. "required": true
  4803. }
  4804. ],
  4805. "responses": {
  4806. "200": {
  4807. "description": "OK",
  4808. "schema": {
  4809. "type": "array",
  4810. "items": {
  4811. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4812. }
  4813. }
  4814. },
  4815. "500": {
  4816. "description": "Internal Server Error",
  4817. "schema": {
  4818. "$ref": "#/definitions/app.Response"
  4819. }
  4820. }
  4821. }
  4822. }
  4823. },
  4824. "/Erms3/QueryPendingAuditContract": {
  4825. "get": {
  4826. "security": [
  4827. {
  4828. "ApiKeyAuth": []
  4829. }
  4830. ],
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "风险管理v3"
  4836. ],
  4837. "summary": "查询待审核合同",
  4838. "parameters": [
  4839. {
  4840. "type": "string",
  4841. "description": "资金账号ID列表,逗号隔开",
  4842. "name": "accountids",
  4843. "in": "query",
  4844. "required": true
  4845. },
  4846. {
  4847. "type": "integer",
  4848. "description": "合同类型 1-采购 -1-销售",
  4849. "name": "contracttype",
  4850. "in": "query",
  4851. "required": true
  4852. },
  4853. {
  4854. "type": "integer",
  4855. "description": "合同模式 1-普通 2-回购",
  4856. "name": "contractmode",
  4857. "in": "query",
  4858. "required": true
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "type": "array",
  4866. "items": {
  4867. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4868. }
  4869. }
  4870. },
  4871. "500": {
  4872. "description": "Internal Server Error",
  4873. "schema": {
  4874. "$ref": "#/definitions/app.Response"
  4875. }
  4876. }
  4877. }
  4878. }
  4879. },
  4880. "/Erms3/QueryPendingBusiness": {
  4881. "get": {
  4882. "security": [
  4883. {
  4884. "ApiKeyAuth": []
  4885. }
  4886. ],
  4887. "produces": [
  4888. "application/json"
  4889. ],
  4890. "tags": [
  4891. "风险管理v3"
  4892. ],
  4893. "summary": "查询待审核基差贸易业务",
  4894. "parameters": [
  4895. {
  4896. "type": "string",
  4897. "description": "资金账号ID列表,逗号隔开",
  4898. "name": "accountids",
  4899. "in": "query",
  4900. "required": true
  4901. }
  4902. ],
  4903. "responses": {
  4904. "200": {
  4905. "description": "OK",
  4906. "schema": {
  4907. "type": "array",
  4908. "items": {
  4909. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4910. }
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/QuerySpotContractAppleForm": {
  4923. "get": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "查询合同申请表单数据",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "登录账号",
  4940. "name": "loginID",
  4941. "in": "query",
  4942. "required": true
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Erms3/QuerySpotContractDetail": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "风险管理v3"
  4973. ],
  4974. "summary": "查询合同详细信息",
  4975. "parameters": [
  4976. {
  4977. "type": "string",
  4978. "description": "资金账号ID列表,用逗号分隔",
  4979. "name": "accountids",
  4980. "in": "query",
  4981. "required": true
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "合同类型,1为采购合同 -1为销售合同",
  4986. "name": "contracttype",
  4987. "in": "query",
  4988. "required": true
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "合同模式,1为普通合同 2为回购销售合同",
  4993. "name": "contractmode",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "状态,0为履约中 1为已完成",
  5000. "name": "status",
  5001. "in": "query",
  5002. "required": true
  5003. }
  5004. ],
  5005. "responses": {
  5006. "200": {
  5007. "description": "OK",
  5008. "schema": {
  5009. "type": "array",
  5010. "items": {
  5011. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5012. }
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Erms3/QueryUserInfoApplies": {
  5025. "get": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "风险管理v3"
  5036. ],
  5037. "summary": "客户申请信息查询",
  5038. "parameters": [
  5039. {
  5040. "type": "integer",
  5041. "description": "页码",
  5042. "name": "page",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "integer",
  5047. "description": "每页条数",
  5048. "name": "pagesize",
  5049. "in": "query"
  5050. },
  5051. {
  5052. "type": "string",
  5053. "description": "客户名称,支持模糊查询",
  5054. "name": "userName",
  5055. "in": "query"
  5056. }
  5057. ],
  5058. "responses": {
  5059. "200": {
  5060. "description": "OK",
  5061. "schema": {
  5062. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5063. }
  5064. },
  5065. "500": {
  5066. "description": "Internal Server Error",
  5067. "schema": {
  5068. "$ref": "#/definitions/app.Response"
  5069. }
  5070. }
  5071. }
  5072. }
  5073. },
  5074. "/Erms3/QueryUserInfos": {
  5075. "get": {
  5076. "security": [
  5077. {
  5078. "ApiKeyAuth": []
  5079. }
  5080. ],
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "风险管理v3"
  5086. ],
  5087. "summary": "客户信息查询",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "页码",
  5092. "name": "page",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "integer",
  5097. "description": "每页条数",
  5098. "name": "pagesize",
  5099. "in": "query"
  5100. },
  5101. {
  5102. "type": "string",
  5103. "description": "客户名称,支持模糊查询",
  5104. "name": "userName",
  5105. "in": "query"
  5106. }
  5107. ],
  5108. "responses": {
  5109. "200": {
  5110. "description": "OK",
  5111. "schema": {
  5112. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/HSBY/GetHsbyMyCount": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "description": "说明: 不包括已完成的数量。",
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "定制【海商报业】"
  5137. ],
  5138. "summary": "获取我的订单与包裹数量",
  5139. "parameters": [
  5140. {
  5141. "type": "string",
  5142. "description": "资金账户列表,格式:1,2,3",
  5143. "name": "accountIDs",
  5144. "in": "query",
  5145. "required": true
  5146. }
  5147. ],
  5148. "responses": {
  5149. "200": {
  5150. "description": "OK",
  5151. "schema": {
  5152. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5153. }
  5154. },
  5155. "500": {
  5156. "description": "Internal Server Error",
  5157. "schema": {
  5158. "$ref": "#/definitions/app.Response"
  5159. }
  5160. }
  5161. }
  5162. }
  5163. },
  5164. "/HSBY/QueryClientFixedADConfigs": {
  5165. "get": {
  5166. "security": [
  5167. {
  5168. "ApiKeyAuth": []
  5169. }
  5170. ],
  5171. "produces": [
  5172. "application/json"
  5173. ],
  5174. "tags": [
  5175. "定制【海商报业】"
  5176. ],
  5177. "summary": "获取终端固定广告配置",
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "$ref": "#/definitions/models.Clientfixedadconfig"
  5183. }
  5184. },
  5185. "500": {
  5186. "description": "Internal Server Error",
  5187. "schema": {
  5188. "$ref": "#/definitions/app.Response"
  5189. }
  5190. }
  5191. }
  5192. }
  5193. },
  5194. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5195. "get": {
  5196. "security": [
  5197. {
  5198. "ApiKeyAuth": []
  5199. }
  5200. ],
  5201. "produces": [
  5202. "application/json"
  5203. ],
  5204. "tags": [
  5205. "定制【海商报业】"
  5206. ],
  5207. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5208. "parameters": [
  5209. {
  5210. "type": "integer",
  5211. "description": "页码",
  5212. "name": "page",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "integer",
  5217. "description": "每页条数",
  5218. "name": "pagesize",
  5219. "in": "query"
  5220. },
  5221. {
  5222. "type": "string",
  5223. "description": "资金账户列表,格式:1,2,3",
  5224. "name": "accountIDs",
  5225. "in": "query",
  5226. "required": true
  5227. }
  5228. ],
  5229. "responses": {
  5230. "200": {
  5231. "description": "OK",
  5232. "schema": {
  5233. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5234. }
  5235. },
  5236. "500": {
  5237. "description": "Internal Server Error",
  5238. "schema": {
  5239. "$ref": "#/definitions/app.Response"
  5240. }
  5241. }
  5242. }
  5243. }
  5244. },
  5245. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5246. "get": {
  5247. "security": [
  5248. {
  5249. "ApiKeyAuth": []
  5250. }
  5251. ],
  5252. "description": "说明:查询结果已按委托价格和委托时间排序",
  5253. "produces": [
  5254. "application/json"
  5255. ],
  5256. "tags": [
  5257. "定制【海商报业】"
  5258. ],
  5259. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5260. "parameters": [
  5261. {
  5262. "type": "integer",
  5263. "description": "商品ID",
  5264. "name": "goodsID",
  5265. "in": "query",
  5266. "required": true
  5267. },
  5268. {
  5269. "type": "string",
  5270. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5271. "name": "accountIDs",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "integer",
  5276. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5277. "name": "buyOrSell",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "number",
  5282. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5283. "name": "price",
  5284. "in": "query"
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "档位,不传则默认为3档",
  5289. "name": "speed",
  5290. "in": "query"
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/HSBY/QueryHsbyListingGoodsDetail": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5317. "produces": [
  5318. "application/json"
  5319. ],
  5320. "tags": [
  5321. "定制【海商报业】"
  5322. ],
  5323. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5324. "parameters": [
  5325. {
  5326. "type": "integer",
  5327. "description": "商品ID",
  5328. "name": "goodsID",
  5329. "in": "query",
  5330. "required": true
  5331. },
  5332. {
  5333. "type": "integer",
  5334. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5335. "name": "accountID",
  5336. "in": "query"
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5356. "get": {
  5357. "security": [
  5358. {
  5359. "ApiKeyAuth": []
  5360. }
  5361. ],
  5362. "produces": [
  5363. "application/json"
  5364. ],
  5365. "tags": [
  5366. "定制【海商报业】"
  5367. ],
  5368. "summary": "查询三级市场(商城)商品信息详情",
  5369. "parameters": [
  5370. {
  5371. "type": "integer",
  5372. "description": "委托单号",
  5373. "name": "orderID",
  5374. "in": "query",
  5375. "required": true
  5376. },
  5377. {
  5378. "type": "integer",
  5379. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5380. "name": "accountID",
  5381. "in": "query"
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5389. }
  5390. },
  5391. "500": {
  5392. "description": "Internal Server Error",
  5393. "schema": {
  5394. "$ref": "#/definitions/app.Response"
  5395. }
  5396. }
  5397. }
  5398. }
  5399. },
  5400. "/HSBY/QueryHsbyMarketGoodses": {
  5401. "get": {
  5402. "security": [
  5403. {
  5404. "ApiKeyAuth": []
  5405. }
  5406. ],
  5407. "produces": [
  5408. "application/json"
  5409. ],
  5410. "tags": [
  5411. "定制【海商报业】"
  5412. ],
  5413. "summary": "查询特卖商品列表(三级商城)",
  5414. "parameters": [
  5415. {
  5416. "type": "integer",
  5417. "description": "页码",
  5418. "name": "page",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "integer",
  5423. "description": "每页条数",
  5424. "name": "pagesize",
  5425. "in": "query"
  5426. },
  5427. {
  5428. "type": "string",
  5429. "description": "市场ID列表,格式:1,2,3",
  5430. "name": "marketIDs",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5437. "name": "accountID",
  5438. "in": "query",
  5439. "required": true
  5440. },
  5441. {
  5442. "type": "integer",
  5443. "description": "类别ID",
  5444. "name": "categoryID",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "string",
  5449. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5450. "name": "goodsIDs",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5456. "name": "couponTypeID",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/models.HsbyMarketGoods"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/QueryHsbyMarkets": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "produces": [
  5484. "application/json"
  5485. ],
  5486. "tags": [
  5487. "定制【海商报业】"
  5488. ],
  5489. "summary": "查询海商报业相关市场信息",
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/models.HsbyMarketInfo"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/app.Response"
  5501. }
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5507. "get": {
  5508. "security": [
  5509. {
  5510. "ApiKeyAuth": []
  5511. }
  5512. ],
  5513. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5514. "produces": [
  5515. "application/json"
  5516. ],
  5517. "tags": [
  5518. "定制【海商报业】"
  5519. ],
  5520. "summary": "查询“我的订单”信息",
  5521. "parameters": [
  5522. {
  5523. "type": "string",
  5524. "description": "资金账户列表,格式:1,2,3",
  5525. "name": "accountIDs",
  5526. "in": "query",
  5527. "required": true
  5528. }
  5529. ],
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyMyGoods": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5554. "produces": [
  5555. "application/json"
  5556. ],
  5557. "tags": [
  5558. "定制【海商报业】"
  5559. ],
  5560. "summary": "查询“我的商品”信息",
  5561. "parameters": [
  5562. {
  5563. "type": "string",
  5564. "description": "资金账户列表,格式:1,2,3",
  5565. "name": "accountIDs",
  5566. "in": "query",
  5567. "required": true
  5568. }
  5569. ],
  5570. "responses": {
  5571. "200": {
  5572. "description": "OK",
  5573. "schema": {
  5574. "$ref": "#/definitions/models.HsbyMyGoods"
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/app.Response"
  5581. }
  5582. }
  5583. }
  5584. }
  5585. },
  5586. "/HSBY/QueryHsbyMyPackages": {
  5587. "get": {
  5588. "security": [
  5589. {
  5590. "ApiKeyAuth": []
  5591. }
  5592. ],
  5593. "produces": [
  5594. "application/json"
  5595. ],
  5596. "tags": [
  5597. "定制【海商报业】"
  5598. ],
  5599. "summary": "查询我的包裹信息",
  5600. "parameters": [
  5601. {
  5602. "type": "string",
  5603. "description": "资金账户列表,格式:1,2,3",
  5604. "name": "accountIDs",
  5605. "in": "query",
  5606. "required": true
  5607. },
  5608. {
  5609. "type": "integer",
  5610. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5611. "name": "takeOrderStatus",
  5612. "in": "query"
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/models.HsbyMyPackage"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. }
  5628. }
  5629. }
  5630. },
  5631. "/HSBY/QueryHsbyPreGoodsDetail": {
  5632. "get": {
  5633. "security": [
  5634. {
  5635. "ApiKeyAuth": []
  5636. }
  5637. ],
  5638. "produces": [
  5639. "application/json"
  5640. ],
  5641. "tags": [
  5642. "定制【海商报业】"
  5643. ],
  5644. "summary": "查询一级市场(预售)商品信息详情",
  5645. "parameters": [
  5646. {
  5647. "type": "integer",
  5648. "description": "商品ID",
  5649. "name": "goodsID",
  5650. "in": "query",
  5651. "required": true
  5652. },
  5653. {
  5654. "type": "integer",
  5655. "description": "资金账户,主要用于获取预售商品购买上限",
  5656. "name": "accountID",
  5657. "in": "query"
  5658. }
  5659. ],
  5660. "responses": {
  5661. "200": {
  5662. "description": "OK",
  5663. "schema": {
  5664. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5665. }
  5666. },
  5667. "500": {
  5668. "description": "Internal Server Error",
  5669. "schema": {
  5670. "$ref": "#/definitions/app.Response"
  5671. }
  5672. }
  5673. }
  5674. }
  5675. },
  5676. "/HSBY/QueryHsbyPreGoodses": {
  5677. "get": {
  5678. "security": [
  5679. {
  5680. "ApiKeyAuth": []
  5681. }
  5682. ],
  5683. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5684. "produces": [
  5685. "application/json"
  5686. ],
  5687. "tags": [
  5688. "定制【海商报业】"
  5689. ],
  5690. "summary": "查询新品上市商品列表(一级市场预售)",
  5691. "parameters": [
  5692. {
  5693. "type": "integer",
  5694. "description": "页码",
  5695. "name": "page",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "integer",
  5700. "description": "每页条数",
  5701. "name": "pagesize",
  5702. "in": "query"
  5703. },
  5704. {
  5705. "type": "string",
  5706. "description": "市场ID列表,格式:1,2,3",
  5707. "name": "marketIDs",
  5708. "in": "query",
  5709. "required": true
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(省)ID",
  5714. "name": "descProvinceID",
  5715. "in": "query"
  5716. },
  5717. {
  5718. "type": "integer",
  5719. "description": "目的地(市)ID",
  5720. "name": "descCityID",
  5721. "in": "query"
  5722. }
  5723. ],
  5724. "responses": {
  5725. "200": {
  5726. "description": "OK",
  5727. "schema": {
  5728. "$ref": "#/definitions/models.HsbyPreGoods"
  5729. }
  5730. },
  5731. "500": {
  5732. "description": "Internal Server Error",
  5733. "schema": {
  5734. "$ref": "#/definitions/app.Response"
  5735. }
  5736. }
  5737. }
  5738. }
  5739. },
  5740. "/HSBY/QueryHsbySellMyDetails": {
  5741. "get": {
  5742. "security": [
  5743. {
  5744. "ApiKeyAuth": []
  5745. }
  5746. ],
  5747. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5748. "produces": [
  5749. "application/json"
  5750. ],
  5751. "tags": [
  5752. "定制【海商报业】"
  5753. ],
  5754. "summary": "查询\"我的闲置\"单据信息",
  5755. "parameters": [
  5756. {
  5757. "type": "integer",
  5758. "description": "页码",
  5759. "name": "page",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "integer",
  5764. "description": "每页条数",
  5765. "name": "pagesize",
  5766. "in": "query"
  5767. },
  5768. {
  5769. "type": "string",
  5770. "description": "资金账户列表,格式:1,2,3",
  5771. "name": "accountIDs",
  5772. "in": "query",
  5773. "required": true
  5774. },
  5775. {
  5776. "type": "integer",
  5777. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5778. "name": "orderType",
  5779. "in": "query"
  5780. }
  5781. ],
  5782. "responses": {
  5783. "200": {
  5784. "description": "OK",
  5785. "schema": {
  5786. "$ref": "#/definitions/models.HsbySellMyDetail"
  5787. }
  5788. },
  5789. "500": {
  5790. "description": "Internal Server Error",
  5791. "schema": {
  5792. "$ref": "#/definitions/app.Response"
  5793. }
  5794. }
  5795. }
  5796. }
  5797. },
  5798. "/HSBY/QueryHsbyTopGoodses": {
  5799. "get": {
  5800. "security": [
  5801. {
  5802. "ApiKeyAuth": []
  5803. }
  5804. ],
  5805. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5806. "produces": [
  5807. "application/json"
  5808. ],
  5809. "tags": [
  5810. "定制【海商报业】"
  5811. ],
  5812. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5813. "parameters": [
  5814. {
  5815. "type": "integer",
  5816. "description": "页码",
  5817. "name": "page",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "integer",
  5822. "description": "每页条数",
  5823. "name": "pagesize",
  5824. "in": "query"
  5825. },
  5826. {
  5827. "type": "string",
  5828. "description": "市场ID列表,格式:1,2,3",
  5829. "name": "marketIDs",
  5830. "in": "query",
  5831. "required": true
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(省)ID",
  5836. "name": "descProvinceID",
  5837. "in": "query"
  5838. },
  5839. {
  5840. "type": "integer",
  5841. "description": "目的地(市)ID",
  5842. "name": "descCityID",
  5843. "in": "query"
  5844. }
  5845. ],
  5846. "responses": {
  5847. "200": {
  5848. "description": "OK",
  5849. "schema": {
  5850. "$ref": "#/definitions/models.HsbyTopGoods"
  5851. }
  5852. },
  5853. "500": {
  5854. "description": "Internal Server Error",
  5855. "schema": {
  5856. "$ref": "#/definitions/app.Response"
  5857. }
  5858. }
  5859. }
  5860. }
  5861. },
  5862. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5863. "get": {
  5864. "security": [
  5865. {
  5866. "ApiKeyAuth": []
  5867. }
  5868. ],
  5869. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5870. "produces": [
  5871. "application/json"
  5872. ],
  5873. "tags": [
  5874. "定制【海商报业】"
  5875. ],
  5876. "summary": "查询游客三级市场(商城)商品信息详情",
  5877. "parameters": [
  5878. {
  5879. "type": "integer",
  5880. "description": "商品ID",
  5881. "name": "goodsID",
  5882. "in": "query",
  5883. "required": true
  5884. }
  5885. ],
  5886. "responses": {
  5887. "200": {
  5888. "description": "OK",
  5889. "schema": {
  5890. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5891. }
  5892. },
  5893. "500": {
  5894. "description": "Internal Server Error",
  5895. "schema": {
  5896. "$ref": "#/definitions/app.Response"
  5897. }
  5898. }
  5899. }
  5900. }
  5901. },
  5902. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5903. "get": {
  5904. "security": [
  5905. {
  5906. "ApiKeyAuth": []
  5907. }
  5908. ],
  5909. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5910. "produces": [
  5911. "application/json"
  5912. ],
  5913. "tags": [
  5914. "定制【海商报业】"
  5915. ],
  5916. "summary": "查询游客特卖商品列表(三级商城)",
  5917. "parameters": [
  5918. {
  5919. "type": "integer",
  5920. "description": "页码",
  5921. "name": "page",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "integer",
  5926. "description": "每页条数",
  5927. "name": "pagesize",
  5928. "in": "query"
  5929. },
  5930. {
  5931. "type": "string",
  5932. "description": "市场ID列表,格式:1,2,3",
  5933. "name": "marketIDs",
  5934. "in": "query",
  5935. "required": true
  5936. },
  5937. {
  5938. "type": "integer",
  5939. "description": "类别ID",
  5940. "name": "categoryID",
  5941. "in": "query"
  5942. },
  5943. {
  5944. "type": "string",
  5945. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5946. "name": "goodsIDs",
  5947. "in": "query"
  5948. }
  5949. ],
  5950. "responses": {
  5951. "200": {
  5952. "description": "OK",
  5953. "schema": {
  5954. "$ref": "#/definitions/models.HsbyMarketGoods"
  5955. }
  5956. },
  5957. "500": {
  5958. "description": "Internal Server Error",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. }
  5963. }
  5964. }
  5965. },
  5966. "/HSBY/QueryMyCollectionOrders": {
  5967. "get": {
  5968. "security": [
  5969. {
  5970. "ApiKeyAuth": []
  5971. }
  5972. ],
  5973. "produces": [
  5974. "application/json"
  5975. ],
  5976. "tags": [
  5977. "定制【海商报业】"
  5978. ],
  5979. "summary": "我的闲置中收款信息查询",
  5980. "parameters": [
  5981. {
  5982. "type": "integer",
  5983. "description": "页码",
  5984. "name": "page",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "integer",
  5989. "description": "每页条数",
  5990. "name": "pagesize",
  5991. "in": "query"
  5992. },
  5993. {
  5994. "type": "string",
  5995. "description": "资金账户,格式:1,2,3",
  5996. "name": "accountIDs",
  5997. "in": "query",
  5998. "required": true
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/HSBY/QueryMyCouponHolds": {
  6018. "get": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6025. "produces": [
  6026. "application/json"
  6027. ],
  6028. "tags": [
  6029. "定制【海商报业】"
  6030. ],
  6031. "summary": "我的优惠卷持仓查询",
  6032. "parameters": [
  6033. {
  6034. "type": "string",
  6035. "description": "资金账户列表,格式:1,2,3",
  6036. "name": "accountIDs",
  6037. "in": "query",
  6038. "required": true
  6039. },
  6040. {
  6041. "type": "string",
  6042. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6043. "name": "holdStatus",
  6044. "in": "query"
  6045. }
  6046. ],
  6047. "responses": {
  6048. "200": {
  6049. "description": "OK",
  6050. "schema": {
  6051. "$ref": "#/definitions/models.MyCouponHold"
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. }
  6060. }
  6061. }
  6062. },
  6063. "/HSBY/QueryMyCoupons": {
  6064. "get": {
  6065. "security": [
  6066. {
  6067. "ApiKeyAuth": []
  6068. }
  6069. ],
  6070. "produces": [
  6071. "application/json"
  6072. ],
  6073. "tags": [
  6074. "定制【海商报业】"
  6075. ],
  6076. "summary": "我的优惠卷查询",
  6077. "parameters": [
  6078. {
  6079. "type": "string",
  6080. "description": "资金账户列表,格式:1,2,3",
  6081. "name": "accountIDs",
  6082. "in": "query",
  6083. "required": true
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "商品ID, 一般与sellUserID配套传入",
  6088. "name": "goodsID",
  6089. "in": "query"
  6090. },
  6091. {
  6092. "type": "integer",
  6093. "description": "卖方UserID",
  6094. "name": "sellUserID",
  6095. "in": "query"
  6096. }
  6097. ],
  6098. "responses": {
  6099. "200": {
  6100. "description": "OK",
  6101. "schema": {
  6102. "$ref": "#/definitions/models.MyCoupon"
  6103. }
  6104. },
  6105. "500": {
  6106. "description": "Internal Server Error",
  6107. "schema": {
  6108. "$ref": "#/definitions/app.Response"
  6109. }
  6110. }
  6111. }
  6112. }
  6113. },
  6114. "/HSBY/QueryMyPayOrders": {
  6115. "get": {
  6116. "security": [
  6117. {
  6118. "ApiKeyAuth": []
  6119. }
  6120. ],
  6121. "produces": [
  6122. "application/json"
  6123. ],
  6124. "tags": [
  6125. "定制【海商报业】"
  6126. ],
  6127. "summary": "获取我的订单中待付款信息",
  6128. "parameters": [
  6129. {
  6130. "type": "integer",
  6131. "description": "页码",
  6132. "name": "page",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "integer",
  6137. "description": "每页条数",
  6138. "name": "pagesize",
  6139. "in": "query"
  6140. },
  6141. {
  6142. "type": "string",
  6143. "description": "资金账户列表,格式:1,2,3",
  6144. "name": "accountIDs",
  6145. "in": "query",
  6146. "required": true
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "买方委托单号",
  6151. "name": "buyOrderID",
  6152. "in": "query"
  6153. },
  6154. {
  6155. "type": "integer",
  6156. "description": "卖方委托单号",
  6157. "name": "sellOrderID",
  6158. "in": "query"
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6166. }
  6167. },
  6168. "500": {
  6169. "description": "Internal Server Error",
  6170. "schema": {
  6171. "$ref": "#/definitions/app.Response"
  6172. }
  6173. }
  6174. }
  6175. }
  6176. },
  6177. "/HSBY/QueryMyUsedCoupon": {
  6178. "get": {
  6179. "security": [
  6180. {
  6181. "ApiKeyAuth": []
  6182. }
  6183. ],
  6184. "produces": [
  6185. "application/json"
  6186. ],
  6187. "tags": [
  6188. "定制【海商报业】"
  6189. ],
  6190. "summary": "已使用优惠卷查询",
  6191. "parameters": [
  6192. {
  6193. "type": "string",
  6194. "description": "资金账户列表,格式:1,2,3",
  6195. "name": "accountIDs",
  6196. "in": "query",
  6197. "required": true
  6198. }
  6199. ],
  6200. "responses": {
  6201. "200": {
  6202. "description": "OK",
  6203. "schema": {
  6204. "$ref": "#/definitions/models.MyUsedCoupon"
  6205. }
  6206. },
  6207. "500": {
  6208. "description": "Internal Server Error",
  6209. "schema": {
  6210. "$ref": "#/definitions/app.Response"
  6211. }
  6212. }
  6213. }
  6214. }
  6215. },
  6216. "/HSBY/QueryProvincesAndCities": {
  6217. "get": {
  6218. "security": [
  6219. {
  6220. "ApiKeyAuth": []
  6221. }
  6222. ],
  6223. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6224. "produces": [
  6225. "application/json"
  6226. ],
  6227. "tags": [
  6228. "定制【海商报业】"
  6229. ],
  6230. "summary": "查询省市信息(不包括区)",
  6231. "parameters": [
  6232. {
  6233. "type": "integer",
  6234. "description": "省ID",
  6235. "name": "provinceID",
  6236. "in": "query"
  6237. }
  6238. ],
  6239. "responses": {
  6240. "200": {
  6241. "description": "OK",
  6242. "schema": {
  6243. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6244. }
  6245. },
  6246. "500": {
  6247. "description": "Internal Server Error",
  6248. "schema": {
  6249. "$ref": "#/definitions/app.Response"
  6250. }
  6251. }
  6252. }
  6253. }
  6254. },
  6255. "/HSBY/SetHsbyMyPackagesStatus": {
  6256. "post": {
  6257. "security": [
  6258. {
  6259. "ApiKeyAuth": []
  6260. }
  6261. ],
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "设置我的包裹已收货状态",
  6269. "parameters": [
  6270. {
  6271. "type": "string",
  6272. "description": "提货单号",
  6273. "name": "takeOrderID",
  6274. "in": "query",
  6275. "required": true
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "资金账号",
  6280. "name": "accountID",
  6281. "in": "query",
  6282. "required": true
  6283. }
  6284. ],
  6285. "responses": {
  6286. "200": {
  6287. "description": "OK",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. },
  6292. "500": {
  6293. "description": "Internal Server Error",
  6294. "schema": {
  6295. "$ref": "#/definitions/app.Response"
  6296. }
  6297. }
  6298. }
  6299. }
  6300. },
  6301. "/Market/QueryGoodsesByLoginID": {
  6302. "get": {
  6303. "security": [
  6304. {
  6305. "ApiKeyAuth": []
  6306. }
  6307. ],
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "通用市场"
  6313. ],
  6314. "summary": "获取登录账号有权限的商品信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "登录账号",
  6319. "name": "loginID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "市场ID列表,格式:1,2,3",
  6326. "name": "marketIDs",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "$ref": "#/definitions/models.Goods"
  6335. }
  6336. },
  6337. "500": {
  6338. "description": "Internal Server Error",
  6339. "schema": {
  6340. "$ref": "#/definitions/app.Response"
  6341. }
  6342. }
  6343. }
  6344. }
  6345. },
  6346. "/Market/QueryMarketRun": {
  6347. "get": {
  6348. "security": [
  6349. {
  6350. "ApiKeyAuth": []
  6351. }
  6352. ],
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "通用市场"
  6358. ],
  6359. "summary": "查询市场运行信息",
  6360. "parameters": [
  6361. {
  6362. "type": "integer",
  6363. "description": "市场ID,不传返回所有",
  6364. "name": "marketID",
  6365. "in": "query"
  6366. }
  6367. ],
  6368. "responses": {
  6369. "200": {
  6370. "description": "OK",
  6371. "schema": {
  6372. "$ref": "#/definitions/models.Marketrun"
  6373. }
  6374. },
  6375. "500": {
  6376. "description": "Internal Server Error",
  6377. "schema": {
  6378. "$ref": "#/definitions/app.Response"
  6379. }
  6380. }
  6381. }
  6382. }
  6383. },
  6384. "/Market/QueryMarketsByLoginID": {
  6385. "get": {
  6386. "security": [
  6387. {
  6388. "ApiKeyAuth": []
  6389. }
  6390. ],
  6391. "produces": [
  6392. "application/json"
  6393. ],
  6394. "tags": [
  6395. "通用市场"
  6396. ],
  6397. "summary": "获取登录账号有权限的市场信息",
  6398. "parameters": [
  6399. {
  6400. "type": "integer",
  6401. "description": "登录账号",
  6402. "name": "loginID",
  6403. "in": "query",
  6404. "required": true
  6405. }
  6406. ],
  6407. "responses": {
  6408. "200": {
  6409. "description": "OK",
  6410. "schema": {
  6411. "$ref": "#/definitions/models.Market"
  6412. }
  6413. },
  6414. "500": {
  6415. "description": "Internal Server Error",
  6416. "schema": {
  6417. "$ref": "#/definitions/app.Response"
  6418. }
  6419. }
  6420. }
  6421. }
  6422. },
  6423. "/Order/QueryHisTradeDetail": {
  6424. "get": {
  6425. "security": [
  6426. {
  6427. "ApiKeyAuth": []
  6428. }
  6429. ],
  6430. "produces": [
  6431. "application/json"
  6432. ],
  6433. "tags": [
  6434. "通用单据"
  6435. ],
  6436. "summary": "历史成交单查询(合约市场)",
  6437. "parameters": [
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户 - 格式:1,2,3",
  6441. "name": "accountID",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "成交单号",
  6448. "name": "tradeID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "委托单号",
  6454. "name": "orderID",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "string",
  6459. "description": "交易模式 - 格式:1,2,3",
  6460. "name": "tradeMode",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "integer",
  6465. "description": "委托单据类型",
  6466. "name": "buildType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "成交类别 - 格式:1,2,3",
  6472. "name": "tradeType",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "startDate",
  6479. "in": "query"
  6480. },
  6481. {
  6482. "type": "string",
  6483. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6484. "name": "endDate",
  6485. "in": "query"
  6486. }
  6487. ],
  6488. "responses": {
  6489. "200": {
  6490. "description": "OK",
  6491. "schema": {
  6492. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6493. }
  6494. },
  6495. "500": {
  6496. "description": "Internal Server Error",
  6497. "schema": {
  6498. "$ref": "#/definitions/app.Response"
  6499. }
  6500. }
  6501. }
  6502. }
  6503. },
  6504. "/Order/QueryHisTradeOrderDetail": {
  6505. "get": {
  6506. "security": [
  6507. {
  6508. "ApiKeyAuth": []
  6509. }
  6510. ],
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "通用单据"
  6516. ],
  6517. "summary": "历史委托单查询请求(合约市场)",
  6518. "parameters": [
  6519. {
  6520. "type": "string",
  6521. "description": "资金账户 - 格式:1,2,3",
  6522. "name": "accountID",
  6523. "in": "query",
  6524. "required": true
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "交易模式 - 格式:1,2,3",
  6529. "name": "tradeMode",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "string",
  6534. "description": "委托状态 - 格式:1,2,3",
  6535. "name": "orderStatus",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "integer",
  6540. "description": "委托单号",
  6541. "name": "orderID",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "startDate",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "string",
  6552. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6553. "name": "endDate",
  6554. "in": "query"
  6555. }
  6556. ],
  6557. "responses": {
  6558. "200": {
  6559. "description": "OK",
  6560. "schema": {
  6561. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6562. }
  6563. },
  6564. "500": {
  6565. "description": "Internal Server Error",
  6566. "schema": {
  6567. "$ref": "#/definitions/app.Response"
  6568. }
  6569. }
  6570. }
  6571. }
  6572. },
  6573. "/Order/QueryTradeDetail": {
  6574. "get": {
  6575. "security": [
  6576. {
  6577. "ApiKeyAuth": []
  6578. }
  6579. ],
  6580. "produces": [
  6581. "application/json"
  6582. ],
  6583. "tags": [
  6584. "通用单据"
  6585. ],
  6586. "summary": "成交单查询(合约市场)",
  6587. "parameters": [
  6588. {
  6589. "type": "string",
  6590. "description": "资金账户 - 格式:1,2,3",
  6591. "name": "accountID",
  6592. "in": "query",
  6593. "required": true
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "成交单号",
  6598. "name": "tradeID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "integer",
  6603. "description": "委托单号",
  6604. "name": "orderID",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "交易模式 - 格式:1,2,3",
  6610. "name": "tradeMode",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "integer",
  6615. "description": "委托单据类型",
  6616. "name": "buildType",
  6617. "in": "query"
  6618. },
  6619. {
  6620. "type": "string",
  6621. "description": "成交类别 - 格式:1,2,3",
  6622. "name": "tradeType",
  6623. "in": "query"
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/Order/QueryTradeOrderDetail": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "通用单据"
  6654. ],
  6655. "summary": "委托单查询请求(合约市场)",
  6656. "parameters": [
  6657. {
  6658. "type": "string",
  6659. "description": "资金账户 - 格式:1,2,3",
  6660. "name": "accountID",
  6661. "in": "query",
  6662. "required": true
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "交易模式 - 格式:1,2,3",
  6667. "name": "tradeMode",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "string",
  6672. "description": "委托状态 - 格式:1,2,3",
  6673. "name": "orderStatus",
  6674. "in": "query"
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "委托单号",
  6679. "name": "orderID",
  6680. "in": "query"
  6681. }
  6682. ],
  6683. "responses": {
  6684. "200": {
  6685. "description": "OK",
  6686. "schema": {
  6687. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6688. }
  6689. },
  6690. "500": {
  6691. "description": "Internal Server Error",
  6692. "schema": {
  6693. "$ref": "#/definitions/app.Response"
  6694. }
  6695. }
  6696. }
  6697. }
  6698. },
  6699. "/Order/QueryTradePosition": {
  6700. "get": {
  6701. "security": [
  6702. {
  6703. "ApiKeyAuth": []
  6704. }
  6705. ],
  6706. "produces": [
  6707. "application/json"
  6708. ],
  6709. "tags": [
  6710. "通用单据"
  6711. ],
  6712. "summary": "持仓汇总查询(合约市场)",
  6713. "parameters": [
  6714. {
  6715. "type": "string",
  6716. "description": "资金账户 - 格式:1,2,3",
  6717. "name": "accountID",
  6718. "in": "query",
  6719. "required": true
  6720. },
  6721. {
  6722. "type": "string",
  6723. "description": "交易模式 - 格式:1,2,3",
  6724. "name": "tradeMode",
  6725. "in": "query"
  6726. }
  6727. ],
  6728. "responses": {
  6729. "200": {
  6730. "description": "OK",
  6731. "schema": {
  6732. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6733. }
  6734. },
  6735. "500": {
  6736. "description": "Internal Server Error",
  6737. "schema": {
  6738. "$ref": "#/definitions/app.Response"
  6739. }
  6740. }
  6741. }
  6742. }
  6743. },
  6744. "/Qhj/QueryContract": {
  6745. "get": {
  6746. "security": [
  6747. {
  6748. "ApiKeyAuth": []
  6749. }
  6750. ],
  6751. "produces": [
  6752. "application/json"
  6753. ],
  6754. "tags": [
  6755. "大连千海金"
  6756. ],
  6757. "summary": "查询融资明细(合同)",
  6758. "parameters": [
  6759. {
  6760. "type": "integer",
  6761. "description": "用户ID",
  6762. "name": "userid",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "scf合同id",
  6769. "name": "scfcontractid",
  6770. "in": "query"
  6771. }
  6772. ],
  6773. "responses": {
  6774. "200": {
  6775. "description": "OK",
  6776. "schema": {
  6777. "type": "array",
  6778. "items": {
  6779. "$ref": "#/definitions/models.QhjContract"
  6780. }
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/Qhj/QueryContractLog": {
  6793. "get": {
  6794. "security": [
  6795. {
  6796. "ApiKeyAuth": []
  6797. }
  6798. ],
  6799. "produces": [
  6800. "application/json"
  6801. ],
  6802. "tags": [
  6803. "大连千海金"
  6804. ],
  6805. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6806. "parameters": [
  6807. {
  6808. "type": "integer",
  6809. "description": "scf合同id",
  6810. "name": "scfcontractid",
  6811. "in": "query",
  6812. "required": true
  6813. },
  6814. {
  6815. "type": "string",
  6816. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6817. "name": "amounttype",
  6818. "in": "query"
  6819. }
  6820. ],
  6821. "responses": {
  6822. "200": {
  6823. "description": "OK",
  6824. "schema": {
  6825. "type": "array",
  6826. "items": {
  6827. "$ref": "#/definitions/models.QhjContractLog"
  6828. }
  6829. }
  6830. },
  6831. "500": {
  6832. "description": "Internal Server Error",
  6833. "schema": {
  6834. "$ref": "#/definitions/app.Response"
  6835. }
  6836. }
  6837. }
  6838. }
  6839. },
  6840. "/Qhj/QueryPickArea": {
  6841. "get": {
  6842. "security": [
  6843. {
  6844. "ApiKeyAuth": []
  6845. }
  6846. ],
  6847. "produces": [
  6848. "application/json"
  6849. ],
  6850. "tags": [
  6851. "大连千海金"
  6852. ],
  6853. "summary": "查询提货门店",
  6854. "parameters": [
  6855. {
  6856. "type": "integer",
  6857. "description": "用户ID",
  6858. "name": "userid",
  6859. "in": "query"
  6860. }
  6861. ],
  6862. "responses": {
  6863. "200": {
  6864. "description": "OK",
  6865. "schema": {
  6866. "type": "array",
  6867. "items": {
  6868. "$ref": "#/definitions/models.QhjPickArea"
  6869. }
  6870. }
  6871. },
  6872. "500": {
  6873. "description": "Internal Server Error",
  6874. "schema": {
  6875. "$ref": "#/definitions/app.Response"
  6876. }
  6877. }
  6878. }
  6879. }
  6880. },
  6881. "/Qhj/QueryPickGoods": {
  6882. "get": {
  6883. "security": [
  6884. {
  6885. "ApiKeyAuth": []
  6886. }
  6887. ],
  6888. "produces": [
  6889. "application/json"
  6890. ],
  6891. "tags": [
  6892. "大连千海金"
  6893. ],
  6894. "summary": "查询提货商品",
  6895. "parameters": [
  6896. {
  6897. "type": "string",
  6898. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6899. "name": "status",
  6900. "in": "query"
  6901. }
  6902. ],
  6903. "responses": {
  6904. "200": {
  6905. "description": "OK",
  6906. "schema": {
  6907. "type": "array",
  6908. "items": {
  6909. "$ref": "#/definitions/models.QhjPickGoods"
  6910. }
  6911. }
  6912. },
  6913. "500": {
  6914. "description": "Internal Server Error",
  6915. "schema": {
  6916. "$ref": "#/definitions/app.Response"
  6917. }
  6918. }
  6919. }
  6920. }
  6921. },
  6922. "/Qhj/QueryRSTriggerLog": {
  6923. "get": {
  6924. "security": [
  6925. {
  6926. "ApiKeyAuth": []
  6927. }
  6928. ],
  6929. "produces": [
  6930. "application/json"
  6931. ],
  6932. "tags": [
  6933. "大连千海金"
  6934. ],
  6935. "summary": "查询定投记录(定投管理/详情/定投记录)",
  6936. "parameters": [
  6937. {
  6938. "type": "integer",
  6939. "description": "用户ID",
  6940. "name": "userid",
  6941. "in": "query",
  6942. "required": true
  6943. },
  6944. {
  6945. "type": "integer",
  6946. "description": "定投策略id",
  6947. "name": "regularlystrategyid",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "type": "array",
  6956. "items": {
  6957. "$ref": "#/definitions/models.QhjRSTriggerLog"
  6958. }
  6959. }
  6960. },
  6961. "500": {
  6962. "description": "Internal Server Error",
  6963. "schema": {
  6964. "$ref": "#/definitions/app.Response"
  6965. }
  6966. }
  6967. }
  6968. }
  6969. },
  6970. "/Qhj/QueryRStrategy": {
  6971. "get": {
  6972. "security": [
  6973. {
  6974. "ApiKeyAuth": []
  6975. }
  6976. ],
  6977. "produces": [
  6978. "application/json"
  6979. ],
  6980. "tags": [
  6981. "大连千海金"
  6982. ],
  6983. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  6984. "parameters": [
  6985. {
  6986. "type": "integer",
  6987. "description": "用户ID",
  6988. "name": "userid",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "string",
  6994. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  6995. "name": "status",
  6996. "in": "query"
  6997. }
  6998. ],
  6999. "responses": {
  7000. "200": {
  7001. "description": "OK",
  7002. "schema": {
  7003. "type": "array",
  7004. "items": {
  7005. "$ref": "#/definitions/models.QhjRStrategy"
  7006. }
  7007. }
  7008. },
  7009. "500": {
  7010. "description": "Internal Server Error",
  7011. "schema": {
  7012. "$ref": "#/definitions/app.Response"
  7013. }
  7014. }
  7015. }
  7016. }
  7017. },
  7018. "/Qhj/QueryTradeGoodsPickup": {
  7019. "get": {
  7020. "security": [
  7021. {
  7022. "ApiKeyAuth": []
  7023. }
  7024. ],
  7025. "produces": [
  7026. "application/json"
  7027. ],
  7028. "tags": [
  7029. "大连千海金"
  7030. ],
  7031. "summary": "查询提货",
  7032. "parameters": [
  7033. {
  7034. "type": "integer",
  7035. "description": "用户ID",
  7036. "name": "userid",
  7037. "in": "query",
  7038. "required": true
  7039. }
  7040. ],
  7041. "responses": {
  7042. "200": {
  7043. "description": "OK",
  7044. "schema": {
  7045. "type": "array",
  7046. "items": {
  7047. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7048. }
  7049. }
  7050. },
  7051. "500": {
  7052. "description": "Internal Server Error",
  7053. "schema": {
  7054. "$ref": "#/definitions/app.Response"
  7055. }
  7056. }
  7057. }
  7058. }
  7059. },
  7060. "/Qhj/QueryUserCollectConfig": {
  7061. "get": {
  7062. "security": [
  7063. {
  7064. "ApiKeyAuth": []
  7065. }
  7066. ],
  7067. "produces": [
  7068. "application/json"
  7069. ],
  7070. "tags": [
  7071. "大连千海金"
  7072. ],
  7073. "summary": "查询提现账户设置",
  7074. "parameters": [
  7075. {
  7076. "type": "integer",
  7077. "description": "用户ID",
  7078. "name": "userid",
  7079. "in": "query",
  7080. "required": true
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "type": "array",
  7088. "items": {
  7089. "$ref": "#/definitions/models.UserCollectConfig"
  7090. }
  7091. }
  7092. },
  7093. "500": {
  7094. "description": "Internal Server Error",
  7095. "schema": {
  7096. "$ref": "#/definitions/app.Response"
  7097. }
  7098. }
  7099. }
  7100. }
  7101. },
  7102. "/Qhj/QueryUserReceiveInfo": {
  7103. "get": {
  7104. "security": [
  7105. {
  7106. "ApiKeyAuth": []
  7107. }
  7108. ],
  7109. "produces": [
  7110. "application/json"
  7111. ],
  7112. "tags": [
  7113. "大连千海金"
  7114. ],
  7115. "summary": "查询收货地址信息",
  7116. "parameters": [
  7117. {
  7118. "type": "integer",
  7119. "description": "用户ID",
  7120. "name": "userid",
  7121. "in": "query",
  7122. "required": true
  7123. }
  7124. ],
  7125. "responses": {
  7126. "200": {
  7127. "description": "OK",
  7128. "schema": {
  7129. "type": "array",
  7130. "items": {
  7131. "$ref": "#/definitions/models.UserReceiveInfo"
  7132. }
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Quote/QueryHistoryDatas": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "行情服务"
  7156. ],
  7157. "summary": "查询行情历史数据",
  7158. "parameters": [
  7159. {
  7160. "type": "integer",
  7161. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7162. "name": "cycleType",
  7163. "in": "query",
  7164. "required": true
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "商品代码",
  7169. "name": "goodsCode",
  7170. "in": "query",
  7171. "required": true
  7172. },
  7173. {
  7174. "type": "string",
  7175. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7176. "name": "startTime",
  7177. "in": "query"
  7178. },
  7179. {
  7180. "type": "string",
  7181. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7182. "name": "endTime",
  7183. "in": "query"
  7184. },
  7185. {
  7186. "type": "integer",
  7187. "description": "条数",
  7188. "name": "count",
  7189. "in": "query"
  7190. },
  7191. {
  7192. "type": "boolean",
  7193. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7194. "name": "isAsc",
  7195. "in": "query"
  7196. }
  7197. ],
  7198. "responses": {
  7199. "200": {
  7200. "description": "OK",
  7201. "schema": {
  7202. "$ref": "#/definitions/quote.HistoryData"
  7203. }
  7204. },
  7205. "500": {
  7206. "description": "Internal Server Error",
  7207. "schema": {
  7208. "$ref": "#/definitions/app.Response"
  7209. }
  7210. }
  7211. }
  7212. }
  7213. },
  7214. "/Quote/QueryHistoryTikDatas": {
  7215. "get": {
  7216. "security": [
  7217. {
  7218. "ApiKeyAuth": []
  7219. }
  7220. ],
  7221. "produces": [
  7222. "application/json"
  7223. ],
  7224. "tags": [
  7225. "行情服务"
  7226. ],
  7227. "summary": "查询行情Tik数据",
  7228. "parameters": [
  7229. {
  7230. "type": "string",
  7231. "description": "商品代码",
  7232. "name": "goodsCode",
  7233. "in": "query",
  7234. "required": true
  7235. },
  7236. {
  7237. "type": "string",
  7238. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7239. "name": "startTime",
  7240. "in": "query"
  7241. },
  7242. {
  7243. "type": "string",
  7244. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7245. "name": "endTime",
  7246. "in": "query"
  7247. },
  7248. {
  7249. "type": "integer",
  7250. "description": "条数",
  7251. "name": "count",
  7252. "in": "query"
  7253. },
  7254. {
  7255. "type": "boolean",
  7256. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7257. "name": "isAsc",
  7258. "in": "query"
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "$ref": "#/definitions/quote.HistoryTikData"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "Internal Server Error",
  7270. "schema": {
  7271. "$ref": "#/definitions/app.Response"
  7272. }
  7273. }
  7274. }
  7275. }
  7276. },
  7277. "/Quote/QueryQuoteDay": {
  7278. "get": {
  7279. "security": [
  7280. {
  7281. "ApiKeyAuth": []
  7282. }
  7283. ],
  7284. "produces": [
  7285. "application/json"
  7286. ],
  7287. "tags": [
  7288. "行情服务"
  7289. ],
  7290. "summary": "获取商品盘面信息",
  7291. "parameters": [
  7292. {
  7293. "type": "string",
  7294. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7295. "name": "goodsCodes",
  7296. "in": "query",
  7297. "required": true
  7298. }
  7299. ],
  7300. "responses": {
  7301. "200": {
  7302. "description": "OK",
  7303. "schema": {
  7304. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Quote/QueryTSData": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "行情服务"
  7328. ],
  7329. "summary": "分时图数据查询",
  7330. "parameters": [
  7331. {
  7332. "type": "string",
  7333. "description": "商品代码",
  7334. "name": "goodsCode",
  7335. "in": "query",
  7336. "required": true
  7337. }
  7338. ],
  7339. "responses": {
  7340. "200": {
  7341. "description": "OK",
  7342. "schema": {
  7343. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7344. }
  7345. },
  7346. "500": {
  7347. "description": "Internal Server Error",
  7348. "schema": {
  7349. "$ref": "#/definitions/app.Response"
  7350. }
  7351. }
  7352. }
  7353. }
  7354. },
  7355. "/SZDZ/QueryConvertConfig": {
  7356. "get": {
  7357. "security": [
  7358. {
  7359. "ApiKeyAuth": []
  7360. }
  7361. ],
  7362. "produces": [
  7363. "application/json"
  7364. ],
  7365. "tags": [
  7366. "定制【尚志大宗】"
  7367. ],
  7368. "summary": "查询交易系统转换设置",
  7369. "parameters": [
  7370. {
  7371. "type": "integer",
  7372. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7373. "name": "convertType",
  7374. "in": "query"
  7375. },
  7376. {
  7377. "type": "string",
  7378. "description": "外部商品代码[JD\\PD]",
  7379. "name": "outerGoodsCode",
  7380. "in": "query"
  7381. },
  7382. {
  7383. "type": "string",
  7384. "description": "内部商品ID列表[交易],格式:1,2,3",
  7385. "name": "innerGoodsIDs",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "$ref": "#/definitions/models.Szdz3convertconfig"
  7394. }
  7395. },
  7396. "500": {
  7397. "description": "Internal Server Error",
  7398. "schema": {
  7399. "$ref": "#/definitions/app.Response"
  7400. }
  7401. }
  7402. }
  7403. }
  7404. },
  7405. "/SZDZ/QueryConvertLog": {
  7406. "get": {
  7407. "security": [
  7408. {
  7409. "ApiKeyAuth": []
  7410. }
  7411. ],
  7412. "produces": [
  7413. "application/json"
  7414. ],
  7415. "tags": [
  7416. "定制【尚志大宗】"
  7417. ],
  7418. "summary": "交易系统转换流水查询",
  7419. "parameters": [
  7420. {
  7421. "type": "string",
  7422. "description": "资金账户 - 格式:1,2,3",
  7423. "name": "accountID",
  7424. "in": "query",
  7425. "required": true
  7426. },
  7427. {
  7428. "type": "string",
  7429. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7430. "name": "startDate",
  7431. "in": "query"
  7432. },
  7433. {
  7434. "type": "string",
  7435. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7436. "name": "endDate",
  7437. "in": "query"
  7438. }
  7439. ],
  7440. "responses": {
  7441. "200": {
  7442. "description": "OK",
  7443. "schema": {
  7444. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/SZDZ/QueryGoodsPickup": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "定制【尚志大宗】"
  7468. ],
  7469. "summary": "商品提货单查询",
  7470. "parameters": [
  7471. {
  7472. "type": "string",
  7473. "description": "资金账户 - 格式:1,2,3",
  7474. "name": "accountID",
  7475. "in": "query",
  7476. "required": true
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7481. "name": "takeOrderStatus",
  7482. "in": "query"
  7483. }
  7484. ],
  7485. "responses": {
  7486. "200": {
  7487. "description": "OK",
  7488. "schema": {
  7489. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7490. }
  7491. },
  7492. "500": {
  7493. "description": "Internal Server Error",
  7494. "schema": {
  7495. "$ref": "#/definitions/app.Response"
  7496. }
  7497. }
  7498. }
  7499. }
  7500. },
  7501. "/SZDZ/QueryRecieptOrder": {
  7502. "get": {
  7503. "security": [
  7504. {
  7505. "ApiKeyAuth": []
  7506. }
  7507. ],
  7508. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7509. "produces": [
  7510. "application/json"
  7511. ],
  7512. "tags": [
  7513. "定制【尚志大宗】"
  7514. ],
  7515. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7516. "parameters": [
  7517. {
  7518. "type": "integer",
  7519. "description": "页码",
  7520. "name": "page",
  7521. "in": "query"
  7522. },
  7523. {
  7524. "type": "integer",
  7525. "description": "每页条数",
  7526. "name": "pagesize",
  7527. "in": "query"
  7528. },
  7529. {
  7530. "type": "integer",
  7531. "description": "商品ID",
  7532. "name": "goodsID",
  7533. "in": "query",
  7534. "required": true
  7535. },
  7536. {
  7537. "type": "string",
  7538. "description": "所属账户名称",
  7539. "name": "accountName",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "市场ID",
  7545. "name": "marketID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "integer",
  7550. "description": "方向 - 0:买 1:卖",
  7551. "name": "buyorsell",
  7552. "in": "query",
  7553. "required": true
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/SZDZ/QuerySZDZTradePosition": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "定制【尚志大宗】"
  7584. ],
  7585. "summary": "持仓汇总查询(尚志大宗)",
  7586. "parameters": [
  7587. {
  7588. "type": "integer",
  7589. "description": "资金账户",
  7590. "name": "accountID",
  7591. "in": "query",
  7592. "required": true
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7600. }
  7601. },
  7602. "500": {
  7603. "description": "Internal Server Error",
  7604. "schema": {
  7605. "$ref": "#/definitions/app.Response"
  7606. }
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "/SZDZ/SearchWhite": {
  7612. "get": {
  7613. "security": [
  7614. {
  7615. "ApiKeyAuth": []
  7616. }
  7617. ],
  7618. "produces": [
  7619. "application/json"
  7620. ],
  7621. "tags": [
  7622. "定制【尚志大宗】"
  7623. ],
  7624. "summary": "搜索白名单",
  7625. "parameters": [
  7626. {
  7627. "type": "integer",
  7628. "description": "用户ID",
  7629. "name": "userID",
  7630. "in": "query",
  7631. "required": true
  7632. }
  7633. ],
  7634. "responses": {
  7635. "200": {
  7636. "description": "OK",
  7637. "schema": {
  7638. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7639. }
  7640. },
  7641. "500": {
  7642. "description": "Internal Server Error",
  7643. "schema": {
  7644. "$ref": "#/definitions/app.Response"
  7645. }
  7646. }
  7647. }
  7648. }
  7649. },
  7650. "/Search/SearchGoodses": {
  7651. "get": {
  7652. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7653. "produces": [
  7654. "application/json"
  7655. ],
  7656. "tags": [
  7657. "检索服务"
  7658. ],
  7659. "summary": "检索商品信息",
  7660. "parameters": [
  7661. {
  7662. "type": "string",
  7663. "description": "检索内容",
  7664. "name": "content",
  7665. "in": "query",
  7666. "required": true
  7667. },
  7668. {
  7669. "type": "string",
  7670. "description": "交易模式,格式:1,2,3",
  7671. "name": "tradeModes",
  7672. "in": "query"
  7673. }
  7674. ],
  7675. "responses": {
  7676. "200": {
  7677. "description": "OK",
  7678. "schema": {
  7679. "$ref": "#/definitions/models.SearchGoods"
  7680. }
  7681. },
  7682. "500": {
  7683. "description": "Internal Server Error",
  7684. "schema": {
  7685. "$ref": "#/definitions/app.Response"
  7686. }
  7687. }
  7688. }
  7689. }
  7690. },
  7691. "/TaAccount/GetTaAccounts": {
  7692. "get": {
  7693. "security": [
  7694. {
  7695. "ApiKeyAuth": []
  7696. }
  7697. ],
  7698. "produces": [
  7699. "application/json"
  7700. ],
  7701. "tags": [
  7702. "资金账户"
  7703. ],
  7704. "summary": "获取资金账户信息",
  7705. "parameters": [
  7706. {
  7707. "type": "integer",
  7708. "description": "登录账户",
  7709. "name": "loginID",
  7710. "in": "query",
  7711. "required": true
  7712. },
  7713. {
  7714. "type": "integer",
  7715. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7716. "name": "taAccountType",
  7717. "in": "query"
  7718. }
  7719. ],
  7720. "responses": {
  7721. "200": {
  7722. "description": "OK",
  7723. "schema": {
  7724. "$ref": "#/definitions/models.Taaccount"
  7725. }
  7726. },
  7727. "500": {
  7728. "description": "Internal Server Error",
  7729. "schema": {
  7730. "$ref": "#/definitions/app.Response"
  7731. }
  7732. }
  7733. }
  7734. }
  7735. },
  7736. "/TaAccount/QueryAmountLog": {
  7737. "get": {
  7738. "security": [
  7739. {
  7740. "ApiKeyAuth": []
  7741. }
  7742. ],
  7743. "produces": [
  7744. "application/json"
  7745. ],
  7746. "tags": [
  7747. "资金账户"
  7748. ],
  7749. "summary": "资金流水查询(当前)",
  7750. "parameters": [
  7751. {
  7752. "type": "integer",
  7753. "description": "页码",
  7754. "name": "page",
  7755. "in": "query"
  7756. },
  7757. {
  7758. "type": "integer",
  7759. "description": "每页条数",
  7760. "name": "pagesize",
  7761. "in": "query"
  7762. },
  7763. {
  7764. "type": "string",
  7765. "description": "资金账户 - 格式:1,2,3",
  7766. "name": "accountID",
  7767. "in": "query",
  7768. "required": true
  7769. },
  7770. {
  7771. "type": "string",
  7772. "description": "资金操作类型 - 格式:1,2,3",
  7773. "name": "OperateType",
  7774. "in": "query"
  7775. }
  7776. ],
  7777. "responses": {
  7778. "200": {
  7779. "description": "OK",
  7780. "schema": {
  7781. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/TaAccount/QueryHisAmountLog": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. }
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "资金账户"
  7805. ],
  7806. "summary": "资金流水查询(历史)",
  7807. "parameters": [
  7808. {
  7809. "type": "integer",
  7810. "description": "页码",
  7811. "name": "page",
  7812. "in": "query"
  7813. },
  7814. {
  7815. "type": "integer",
  7816. "description": "每页条数",
  7817. "name": "pagesize",
  7818. "in": "query"
  7819. },
  7820. {
  7821. "type": "string",
  7822. "description": "资金账户 - 格式:1,2,3",
  7823. "name": "accountID",
  7824. "in": "query",
  7825. "required": true
  7826. },
  7827. {
  7828. "type": "string",
  7829. "description": "资金操作类型 - 格式:1,2,3",
  7830. "name": "OperateType",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7836. "name": "startDate",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7842. "name": "endDate",
  7843. "in": "query"
  7844. }
  7845. ],
  7846. "responses": {
  7847. "200": {
  7848. "description": "OK",
  7849. "schema": {
  7850. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7851. }
  7852. },
  7853. "500": {
  7854. "description": "Internal Server Error",
  7855. "schema": {
  7856. "$ref": "#/definitions/app.Response"
  7857. }
  7858. }
  7859. }
  7860. }
  7861. },
  7862. "/Trade/QueryRecieptOrder": {
  7863. "get": {
  7864. "security": [
  7865. {
  7866. "ApiKeyAuth": []
  7867. }
  7868. ],
  7869. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7870. "produces": [
  7871. "application/json"
  7872. ],
  7873. "tags": [
  7874. "通用交易"
  7875. ],
  7876. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7877. "parameters": [
  7878. {
  7879. "type": "integer",
  7880. "description": "页码",
  7881. "name": "page",
  7882. "in": "query"
  7883. },
  7884. {
  7885. "type": "integer",
  7886. "description": "每页条数",
  7887. "name": "pagesize",
  7888. "in": "query"
  7889. },
  7890. {
  7891. "type": "integer",
  7892. "description": "商品ID",
  7893. "name": "goodsID",
  7894. "in": "query",
  7895. "required": true
  7896. },
  7897. {
  7898. "type": "string",
  7899. "description": "所属账户名称",
  7900. "name": "accountName",
  7901. "in": "query"
  7902. },
  7903. {
  7904. "type": "integer",
  7905. "description": "市场ID",
  7906. "name": "marketID",
  7907. "in": "query"
  7908. },
  7909. {
  7910. "type": "integer",
  7911. "description": "方向 - 0:买 1:卖",
  7912. "name": "buyorsell",
  7913. "in": "query",
  7914. "required": true
  7915. }
  7916. ],
  7917. "responses": {
  7918. "200": {
  7919. "description": "OK",
  7920. "schema": {
  7921. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7922. }
  7923. },
  7924. "500": {
  7925. "description": "Internal Server Error",
  7926. "schema": {
  7927. "$ref": "#/definitions/app.Response"
  7928. }
  7929. }
  7930. }
  7931. }
  7932. },
  7933. "/User/AddMessageBoard": {
  7934. "post": {
  7935. "security": [
  7936. {
  7937. "ApiKeyAuth": []
  7938. }
  7939. ],
  7940. "produces": [
  7941. "application/json"
  7942. ],
  7943. "tags": [
  7944. "用户信息"
  7945. ],
  7946. "summary": "添加用户留言板信息",
  7947. "parameters": [
  7948. {
  7949. "type": "integer",
  7950. "description": "用户ID",
  7951. "name": "userID",
  7952. "in": "query",
  7953. "required": true
  7954. },
  7955. {
  7956. "type": "string",
  7957. "description": "留言信息",
  7958. "name": "message",
  7959. "in": "query",
  7960. "required": true
  7961. },
  7962. {
  7963. "type": "string",
  7964. "description": "联系电话",
  7965. "name": "contactNum",
  7966. "in": "query",
  7967. "required": true
  7968. }
  7969. ],
  7970. "responses": {
  7971. "200": {
  7972. "description": "OK",
  7973. "schema": {
  7974. "$ref": "#/definitions/app.Response"
  7975. }
  7976. },
  7977. "500": {
  7978. "description": "Internal Server Error",
  7979. "schema": {
  7980. "$ref": "#/definitions/app.Response"
  7981. }
  7982. }
  7983. }
  7984. }
  7985. },
  7986. "/User/AddUserFavoriteGoods": {
  7987. "post": {
  7988. "security": [
  7989. {
  7990. "ApiKeyAuth": []
  7991. }
  7992. ],
  7993. "produces": [
  7994. "application/json"
  7995. ],
  7996. "tags": [
  7997. "用户信息"
  7998. ],
  7999. "summary": "添加用户商品收藏信息",
  8000. "parameters": [
  8001. {
  8002. "type": "integer",
  8003. "description": "用户ID",
  8004. "name": "userID",
  8005. "in": "query",
  8006. "required": true
  8007. },
  8008. {
  8009. "type": "integer",
  8010. "description": "商品ID",
  8011. "name": "goodsID",
  8012. "in": "query",
  8013. "required": true
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "$ref": "#/definitions/app.Response"
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/User/GetLoginID": {
  8033. "get": {
  8034. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8035. "produces": [
  8036. "application/json"
  8037. ],
  8038. "tags": [
  8039. "用户信息"
  8040. ],
  8041. "summary": "获取登录ID",
  8042. "parameters": [
  8043. {
  8044. "type": "string",
  8045. "description": "登录代码",
  8046. "name": "username",
  8047. "in": "query",
  8048. "required": true
  8049. }
  8050. ],
  8051. "responses": {
  8052. "200": {
  8053. "description": "OK",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/User/GetUserAccount": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "用户信息"
  8079. ],
  8080. "summary": "获取用户账号信息",
  8081. "parameters": [
  8082. {
  8083. "type": "integer",
  8084. "description": "用户ID",
  8085. "name": "userID",
  8086. "in": "query",
  8087. "required": true
  8088. }
  8089. ],
  8090. "responses": {
  8091. "200": {
  8092. "description": "OK",
  8093. "schema": {
  8094. "$ref": "#/definitions/models.Useraccount"
  8095. }
  8096. },
  8097. "500": {
  8098. "description": "Internal Server Error",
  8099. "schema": {
  8100. "$ref": "#/definitions/app.Response"
  8101. }
  8102. }
  8103. }
  8104. }
  8105. },
  8106. "/User/GetUserAuthStatus": {
  8107. "get": {
  8108. "security": [
  8109. {
  8110. "ApiKeyAuth": []
  8111. }
  8112. ],
  8113. "produces": [
  8114. "application/json"
  8115. ],
  8116. "tags": [
  8117. "用户信息"
  8118. ],
  8119. "summary": "获取用户实名认证状态",
  8120. "parameters": [
  8121. {
  8122. "type": "integer",
  8123. "description": "用户ID",
  8124. "name": "userID",
  8125. "in": "query",
  8126. "required": true
  8127. }
  8128. ],
  8129. "responses": {
  8130. "200": {
  8131. "description": "OK",
  8132. "schema": {
  8133. "$ref": "#/definitions/app.Response"
  8134. }
  8135. },
  8136. "500": {
  8137. "description": "Internal Server Error",
  8138. "schema": {
  8139. "$ref": "#/definitions/app.Response"
  8140. }
  8141. }
  8142. }
  8143. }
  8144. },
  8145. "/User/LoginQuery": {
  8146. "get": {
  8147. "security": [
  8148. {
  8149. "ApiKeyAuth": []
  8150. }
  8151. ],
  8152. "produces": [
  8153. "application/json"
  8154. ],
  8155. "tags": [
  8156. "用户信息"
  8157. ],
  8158. "summary": "账户登录后信息查询",
  8159. "parameters": [
  8160. {
  8161. "type": "integer",
  8162. "description": "登录账号",
  8163. "name": "loginID",
  8164. "in": "query",
  8165. "required": true
  8166. }
  8167. ],
  8168. "responses": {
  8169. "200": {
  8170. "description": "OK",
  8171. "schema": {
  8172. "$ref": "#/definitions/user.LoginQueryRsp"
  8173. }
  8174. },
  8175. "500": {
  8176. "description": "Internal Server Error",
  8177. "schema": {
  8178. "$ref": "#/definitions/app.Response"
  8179. }
  8180. }
  8181. }
  8182. }
  8183. },
  8184. "/User/QueryMessageBoard": {
  8185. "get": {
  8186. "security": [
  8187. {
  8188. "ApiKeyAuth": []
  8189. }
  8190. ],
  8191. "produces": [
  8192. "application/json"
  8193. ],
  8194. "tags": [
  8195. "用户信息"
  8196. ],
  8197. "summary": "获取用户留言板信息",
  8198. "parameters": [
  8199. {
  8200. "type": "integer",
  8201. "description": "用户ID",
  8202. "name": "userID",
  8203. "in": "query",
  8204. "required": true
  8205. }
  8206. ],
  8207. "responses": {
  8208. "200": {
  8209. "description": "OK",
  8210. "schema": {
  8211. "$ref": "#/definitions/models.Messageboard"
  8212. }
  8213. },
  8214. "500": {
  8215. "description": "Internal Server Error",
  8216. "schema": {
  8217. "$ref": "#/definitions/app.Response"
  8218. }
  8219. }
  8220. }
  8221. }
  8222. },
  8223. "/User/QueryUserFavoriteGoodses": {
  8224. "get": {
  8225. "security": [
  8226. {
  8227. "ApiKeyAuth": []
  8228. }
  8229. ],
  8230. "produces": [
  8231. "application/json"
  8232. ],
  8233. "tags": [
  8234. "用户信息"
  8235. ],
  8236. "summary": "获取用户商品收藏信息",
  8237. "parameters": [
  8238. {
  8239. "type": "integer",
  8240. "description": "用户ID",
  8241. "name": "userID",
  8242. "in": "query",
  8243. "required": true
  8244. }
  8245. ],
  8246. "responses": {
  8247. "200": {
  8248. "description": "OK",
  8249. "schema": {
  8250. "$ref": "#/definitions/models.Userfavoritegoods"
  8251. }
  8252. },
  8253. "500": {
  8254. "description": "Internal Server Error",
  8255. "schema": {
  8256. "$ref": "#/definitions/app.Response"
  8257. }
  8258. }
  8259. }
  8260. }
  8261. },
  8262. "/User/QueryUserInfo": {
  8263. "get": {
  8264. "security": [
  8265. {
  8266. "ApiKeyAuth": []
  8267. }
  8268. ],
  8269. "produces": [
  8270. "application/json"
  8271. ],
  8272. "tags": [
  8273. "用户信息"
  8274. ],
  8275. "summary": "获取用户信息",
  8276. "parameters": [
  8277. {
  8278. "type": "integer",
  8279. "description": "用户ID",
  8280. "name": "userID",
  8281. "in": "query",
  8282. "required": true
  8283. },
  8284. {
  8285. "type": "boolean",
  8286. "description": "是否解密",
  8287. "name": "isDecrypt",
  8288. "in": "query"
  8289. }
  8290. ],
  8291. "responses": {
  8292. "200": {
  8293. "description": "OK",
  8294. "schema": {
  8295. "$ref": "#/definitions/models.Userinfo"
  8296. }
  8297. },
  8298. "500": {
  8299. "description": "Internal Server Error",
  8300. "schema": {
  8301. "$ref": "#/definitions/app.Response"
  8302. }
  8303. }
  8304. }
  8305. }
  8306. },
  8307. "/User/QueryUserReferNum": {
  8308. "get": {
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "用户信息"
  8314. ],
  8315. "summary": "获取用户邀请码",
  8316. "parameters": [
  8317. {
  8318. "type": "integer",
  8319. "description": "用户ID",
  8320. "name": "userID",
  8321. "in": "query",
  8322. "required": true
  8323. }
  8324. ],
  8325. "responses": {
  8326. "200": {
  8327. "description": "OK",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. },
  8332. "500": {
  8333. "description": "Internal Server Error",
  8334. "schema": {
  8335. "$ref": "#/definitions/app.Response"
  8336. }
  8337. }
  8338. }
  8339. }
  8340. },
  8341. "/User/RemoveUserFavoriteGoods": {
  8342. "post": {
  8343. "security": [
  8344. {
  8345. "ApiKeyAuth": []
  8346. }
  8347. ],
  8348. "produces": [
  8349. "application/json"
  8350. ],
  8351. "tags": [
  8352. "用户信息"
  8353. ],
  8354. "summary": "移除用户商品收藏信息",
  8355. "parameters": [
  8356. {
  8357. "type": "integer",
  8358. "description": "用户ID",
  8359. "name": "userID",
  8360. "in": "query",
  8361. "required": true
  8362. },
  8363. {
  8364. "type": "integer",
  8365. "description": "商品ID",
  8366. "name": "goodsID",
  8367. "in": "query",
  8368. "required": true
  8369. }
  8370. ],
  8371. "responses": {
  8372. "200": {
  8373. "description": "OK",
  8374. "schema": {
  8375. "$ref": "#/definitions/app.Response"
  8376. }
  8377. },
  8378. "500": {
  8379. "description": "Internal Server Error",
  8380. "schema": {
  8381. "$ref": "#/definitions/app.Response"
  8382. }
  8383. }
  8384. }
  8385. }
  8386. },
  8387. "/User/UpdateUserAccountStatus": {
  8388. "post": {
  8389. "security": [
  8390. {
  8391. "ApiKeyAuth": []
  8392. }
  8393. ],
  8394. "produces": [
  8395. "application/json"
  8396. ],
  8397. "tags": [
  8398. "用户信息"
  8399. ],
  8400. "summary": "更新用户状态",
  8401. "parameters": [
  8402. {
  8403. "type": "integer",
  8404. "description": "用户ID",
  8405. "name": "userID",
  8406. "in": "query",
  8407. "required": true
  8408. },
  8409. {
  8410. "type": "integer",
  8411. "description": "账户状态 - 4:正常 6:注销(停用)",
  8412. "name": "accountStatus",
  8413. "in": "query",
  8414. "required": true
  8415. }
  8416. ],
  8417. "responses": {
  8418. "200": {
  8419. "description": "OK",
  8420. "schema": {
  8421. "$ref": "#/definitions/app.Response"
  8422. }
  8423. },
  8424. "500": {
  8425. "description": "Internal Server Error",
  8426. "schema": {
  8427. "$ref": "#/definitions/app.Response"
  8428. }
  8429. }
  8430. }
  8431. }
  8432. },
  8433. "/WRTrade/GetAllDeliveryGoods": {
  8434. "get": {
  8435. "security": [
  8436. {
  8437. "ApiKeyAuth": []
  8438. },
  8439. {
  8440. "ApiKeyAuth": []
  8441. }
  8442. ],
  8443. "produces": [
  8444. "application/json",
  8445. "application/json"
  8446. ],
  8447. "tags": [
  8448. "仓单贸易",
  8449. "仓单贸易"
  8450. ],
  8451. "summary": "获取带仓单分类的种类信息",
  8452. "responses": {
  8453. "200": {
  8454. "description": "OK",
  8455. "schema": {
  8456. "$ref": "#/definitions/app.Response"
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. }
  8468. },
  8469. "definitions": {
  8470. "app.Response": {
  8471. "type": "object",
  8472. "properties": {
  8473. "code": {
  8474. "type": "integer"
  8475. },
  8476. "data": {
  8477. "type": "object"
  8478. },
  8479. "msg": {
  8480. "type": "string"
  8481. },
  8482. "page": {
  8483. "description": "页码",
  8484. "type": "integer"
  8485. },
  8486. "pagesize": {
  8487. "description": "每页条数",
  8488. "type": "integer"
  8489. },
  8490. "total": {
  8491. "description": "总条数",
  8492. "type": "integer"
  8493. }
  8494. }
  8495. },
  8496. "common.ClientMenu": {
  8497. "type": "object",
  8498. "properties": {
  8499. "children": {
  8500. "description": "子菜单列表",
  8501. "type": "array",
  8502. "items": {
  8503. "$ref": "#/definitions/common.ClientMenu"
  8504. }
  8505. },
  8506. "code": {
  8507. "description": "ID",
  8508. "type": "string"
  8509. },
  8510. "isshow": {
  8511. "description": "是否显示",
  8512. "type": "boolean"
  8513. },
  8514. "rulekey": {
  8515. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8516. "type": "string"
  8517. },
  8518. "sort": {
  8519. "description": "排序",
  8520. "type": "integer"
  8521. },
  8522. "title": {
  8523. "description": "标题",
  8524. "type": "string"
  8525. },
  8526. "type": {
  8527. "description": "类型,1:菜单 2:按钮",
  8528. "type": "integer"
  8529. }
  8530. }
  8531. },
  8532. "common.QueryImageConfigsRsp": {
  8533. "type": "object",
  8534. "required": [
  8535. "configid"
  8536. ],
  8537. "properties": {
  8538. "areauserid": {
  8539. "description": "所属机构ID",
  8540. "type": "integer"
  8541. },
  8542. "configid": {
  8543. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8544. "type": "integer"
  8545. },
  8546. "createdate": {
  8547. "description": "创建时间",
  8548. "type": "string"
  8549. },
  8550. "creatorid": {
  8551. "description": "创建人",
  8552. "type": "integer"
  8553. },
  8554. "imagepath": {
  8555. "description": "图片",
  8556. "type": "string"
  8557. },
  8558. "imagetype": {
  8559. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8560. "type": "integer"
  8561. },
  8562. "isshow": {
  8563. "description": "是否展示 - 0:不展示 1:展示",
  8564. "type": "integer"
  8565. },
  8566. "marketid": {
  8567. "description": "市场ID",
  8568. "type": "integer"
  8569. },
  8570. "modifierid": {
  8571. "description": "操作人",
  8572. "type": "integer"
  8573. },
  8574. "sort": {
  8575. "description": "排序",
  8576. "type": "integer"
  8577. },
  8578. "title": {
  8579. "description": "标题",
  8580. "type": "string"
  8581. },
  8582. "trademode": {
  8583. "description": "交易模式",
  8584. "type": "integer"
  8585. },
  8586. "updatedate": {
  8587. "description": "修改时间",
  8588. "type": "string"
  8589. },
  8590. "url": {
  8591. "description": "链接(地址或商品ID)",
  8592. "type": "string"
  8593. },
  8594. "urltype": {
  8595. "description": "链接类型 - 1:直接地址 2:商品ID",
  8596. "type": "integer"
  8597. }
  8598. }
  8599. },
  8600. "common.QueryNoticeRsp": {
  8601. "type": "object",
  8602. "required": [
  8603. "autoid"
  8604. ],
  8605. "properties": {
  8606. "auditoruserid": {
  8607. "description": "审核人",
  8608. "type": "integer"
  8609. },
  8610. "auditremark": {
  8611. "description": "审核备注",
  8612. "type": "string"
  8613. },
  8614. "audittime": {
  8615. "description": "审核日期",
  8616. "type": "string"
  8617. },
  8618. "autoid": {
  8619. "description": "自增ID",
  8620. "type": "integer"
  8621. },
  8622. "content": {
  8623. "description": "内容",
  8624. "type": "string"
  8625. },
  8626. "createtime": {
  8627. "description": "创建时间",
  8628. "type": "string"
  8629. },
  8630. "creatorid": {
  8631. "description": "建仓人",
  8632. "type": "integer"
  8633. },
  8634. "endtime": {
  8635. "description": "结束时间",
  8636. "type": "string"
  8637. },
  8638. "istop": {
  8639. "description": "是否置顶 - 0:不置顶 1:置顶",
  8640. "type": "integer"
  8641. },
  8642. "msgiconurl": {
  8643. "description": "消息图标Url",
  8644. "type": "string"
  8645. },
  8646. "msgtype": {
  8647. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8648. "type": "integer"
  8649. },
  8650. "publisher": {
  8651. "description": "消息发布者",
  8652. "type": "string"
  8653. },
  8654. "readed": {
  8655. "description": "是否已读",
  8656. "type": "boolean"
  8657. },
  8658. "scheduletime": {
  8659. "description": "计划发送时间",
  8660. "type": "string"
  8661. },
  8662. "sendtype": {
  8663. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8664. "type": "integer"
  8665. },
  8666. "sentstatus": {
  8667. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8668. "type": "integer"
  8669. },
  8670. "title": {
  8671. "description": "标题",
  8672. "type": "string"
  8673. },
  8674. "userid": {
  8675. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8676. "type": "integer"
  8677. }
  8678. }
  8679. },
  8680. "common.QueryProvincesAndCitiesRsp": {
  8681. "type": "object",
  8682. "properties": {
  8683. "cities": {
  8684. "description": "市",
  8685. "type": "array",
  8686. "items": {
  8687. "$ref": "#/definitions/models.Division"
  8688. }
  8689. },
  8690. "province": {
  8691. "description": "省",
  8692. "type": "object",
  8693. "$ref": "#/definitions/models.Division"
  8694. }
  8695. }
  8696. },
  8697. "common.QueryTableDefineRsp": {
  8698. "type": "object",
  8699. "required": [
  8700. "tablekey"
  8701. ],
  8702. "properties": {
  8703. "columns": {
  8704. "description": "列头信息数组",
  8705. "type": "array",
  8706. "items": {
  8707. "$ref": "#/definitions/models.Tablecolumnconfig"
  8708. }
  8709. },
  8710. "remark": {
  8711. "description": "Remark",
  8712. "type": "string"
  8713. },
  8714. "tabelmenu": {
  8715. "description": "列表菜单",
  8716. "type": "string"
  8717. },
  8718. "tablekey": {
  8719. "description": "列表Key",
  8720. "type": "string"
  8721. },
  8722. "tablename": {
  8723. "description": "列表名称",
  8724. "type": "string"
  8725. },
  8726. "tabletype": {
  8727. "description": "列表类型 - 1:管理端 2:终端",
  8728. "type": "integer"
  8729. }
  8730. }
  8731. },
  8732. "common.QueryTraderMenuRsp": {
  8733. "type": "object",
  8734. "properties": {
  8735. "OperationMenu": {
  8736. "description": "功能菜单",
  8737. "type": "array",
  8738. "items": {
  8739. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8740. }
  8741. },
  8742. "QuoteMenu": {
  8743. "description": "报价牌分类菜单",
  8744. "type": "array",
  8745. "items": {
  8746. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8747. }
  8748. }
  8749. }
  8750. },
  8751. "cptrade.Cptradepositioncancel": {
  8752. "type": "object",
  8753. "required": [
  8754. "cancelid"
  8755. ],
  8756. "properties": {
  8757. "accountid": {
  8758. "description": "申请人账户ID",
  8759. "type": "integer"
  8760. },
  8761. "applystatus": {
  8762. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8763. "type": "integer"
  8764. },
  8765. "applytime": {
  8766. "description": "申请时间",
  8767. "type": "string"
  8768. },
  8769. "cancelid": {
  8770. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8771. "type": "integer"
  8772. },
  8773. "cancelqty": {
  8774. "description": "注销数量",
  8775. "type": "integer"
  8776. },
  8777. "createtime": {
  8778. "description": "创建时间",
  8779. "type": "string"
  8780. },
  8781. "creatorid": {
  8782. "description": "创建人ID",
  8783. "type": "integer"
  8784. },
  8785. "creatorname": {
  8786. "description": "创建人",
  8787. "type": "string"
  8788. },
  8789. "goodscode": {
  8790. "description": "订单商品代码",
  8791. "type": "string"
  8792. },
  8793. "goodsid": {
  8794. "description": "商品ID",
  8795. "type": "integer"
  8796. },
  8797. "goodsname": {
  8798. "description": "订单商品名称",
  8799. "type": "string"
  8800. },
  8801. "goodunit": {
  8802. "description": "报价单位",
  8803. "type": "string"
  8804. },
  8805. "handlestatus": {
  8806. "description": "处理状态",
  8807. "type": "integer"
  8808. },
  8809. "marketid": {
  8810. "description": "市场ID",
  8811. "type": "integer"
  8812. },
  8813. "marketname": {
  8814. "description": "市场名称",
  8815. "type": "string"
  8816. },
  8817. "tradedate": {
  8818. "description": "交易日(yyyyMMdd)",
  8819. "type": "string"
  8820. },
  8821. "userid": {
  8822. "description": "申请人ID",
  8823. "type": "integer"
  8824. }
  8825. }
  8826. },
  8827. "cptrade.Cptradepresaleapply": {
  8828. "type": "object",
  8829. "required": [
  8830. "applyid"
  8831. ],
  8832. "properties": {
  8833. "accountid": {
  8834. "description": "申请人账户ID",
  8835. "type": "integer"
  8836. },
  8837. "applyid": {
  8838. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8839. "type": "integer"
  8840. },
  8841. "applyremark": {
  8842. "description": "申请备注",
  8843. "type": "string"
  8844. },
  8845. "applystatus": {
  8846. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8847. "type": "integer"
  8848. },
  8849. "applytime": {
  8850. "description": "申请时间",
  8851. "type": "string"
  8852. },
  8853. "attachmenturl": {
  8854. "description": "附件地址",
  8855. "type": "string"
  8856. },
  8857. "endtime": {
  8858. "description": "预售结束时间",
  8859. "type": "string"
  8860. },
  8861. "goodscode": {
  8862. "description": "商品代码",
  8863. "type": "string"
  8864. },
  8865. "goodsid": {
  8866. "description": "商品ID",
  8867. "type": "integer"
  8868. },
  8869. "goodsname": {
  8870. "description": "商品名称",
  8871. "type": "string"
  8872. },
  8873. "goodunit": {
  8874. "description": "报价单位",
  8875. "type": "string"
  8876. },
  8877. "handlestatus": {
  8878. "description": "处理状态",
  8879. "type": "integer"
  8880. },
  8881. "marketid": {
  8882. "description": "预售市场ID",
  8883. "type": "integer"
  8884. },
  8885. "marketname": {
  8886. "description": "预售市场名称",
  8887. "type": "string"
  8888. },
  8889. "presaleqty": {
  8890. "description": "预售数量",
  8891. "type": "integer"
  8892. },
  8893. "relatedgoodscode": {
  8894. "description": "关联交易合约代码",
  8895. "type": "string"
  8896. },
  8897. "relatedgoodsid": {
  8898. "description": "关联交易合约ID",
  8899. "type": "integer"
  8900. },
  8901. "relatedgoodsname": {
  8902. "description": "关联交易合约名称",
  8903. "type": "string"
  8904. },
  8905. "starttime": {
  8906. "description": "预售开始时间",
  8907. "type": "string"
  8908. },
  8909. "tradedate": {
  8910. "description": "交易日(yyyyMMdd)",
  8911. "type": "string"
  8912. },
  8913. "trademode": {
  8914. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8915. "type": "integer"
  8916. },
  8917. "userid": {
  8918. "description": "申请人ID",
  8919. "type": "integer"
  8920. }
  8921. }
  8922. },
  8923. "cptrade.Cptradeusergoodsdata": {
  8924. "type": "object",
  8925. "required": [
  8926. "accountid",
  8927. "goodsid"
  8928. ],
  8929. "properties": {
  8930. "EnabledQty": {
  8931. "description": "可用量",
  8932. "type": "integer"
  8933. },
  8934. "GoodsCode": {
  8935. "description": "订单商品代码",
  8936. "type": "string"
  8937. },
  8938. "GoodsName": {
  8939. "description": "订单商品名称",
  8940. "type": "string"
  8941. },
  8942. "WRStandardCode": {
  8943. "description": "仓单标准代码",
  8944. "type": "string"
  8945. },
  8946. "WRStandardName": {
  8947. "description": "仓单标准名称",
  8948. "type": "string"
  8949. },
  8950. "accountid": {
  8951. "description": "账户ID",
  8952. "type": "integer"
  8953. },
  8954. "cancelqty": {
  8955. "description": "注销量",
  8956. "type": "integer"
  8957. },
  8958. "curpresaleqty": {
  8959. "description": "当前预售量",
  8960. "type": "integer"
  8961. },
  8962. "deliveryqty": {
  8963. "description": "交割量",
  8964. "type": "integer"
  8965. },
  8966. "freezeamount": {
  8967. "description": "冻结金额",
  8968. "type": "number"
  8969. },
  8970. "goodsid": {
  8971. "description": "商品ID",
  8972. "type": "integer"
  8973. },
  8974. "goodunit": {
  8975. "description": "报价单位",
  8976. "type": "string"
  8977. },
  8978. "hasspotfreeze": {
  8979. "description": "是否有现货冻结 - 0:否 1:有",
  8980. "type": "integer"
  8981. },
  8982. "inqty": {
  8983. "description": "转入量(总数量)",
  8984. "type": "integer"
  8985. },
  8986. "marketid": {
  8987. "description": "市场ID",
  8988. "type": "integer"
  8989. },
  8990. "presaledamount": {
  8991. "description": "已预售总金额",
  8992. "type": "integer"
  8993. },
  8994. "presaledqty": {
  8995. "description": "已预售量",
  8996. "type": "integer"
  8997. },
  8998. "userid": {
  8999. "description": "用户ID",
  9000. "type": "integer"
  9001. },
  9002. "wrstandardid": {
  9003. "description": "仓单标准ID",
  9004. "type": "integer"
  9005. }
  9006. }
  9007. },
  9008. "cptrade.QueryCPTradeMyBidRsp": {
  9009. "type": "object",
  9010. "required": [
  9011. "accountid",
  9012. "goodsid",
  9013. "marketid",
  9014. "orderid",
  9015. "orderqty",
  9016. "ordertime",
  9017. "tradeprice",
  9018. "tradeqty"
  9019. ],
  9020. "properties": {
  9021. "accountid": {
  9022. "description": "账户ID[报价币种]",
  9023. "type": "integer"
  9024. },
  9025. "goodsid": {
  9026. "description": "商品ID",
  9027. "type": "integer"
  9028. },
  9029. "goodunit": {
  9030. "description": "报价单位",
  9031. "type": "string"
  9032. },
  9033. "marketid": {
  9034. "description": "市场ID",
  9035. "type": "integer"
  9036. },
  9037. "orderid": {
  9038. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9039. "type": "integer"
  9040. },
  9041. "orderprice": {
  9042. "description": "委托价格",
  9043. "type": "number"
  9044. },
  9045. "orderqty": {
  9046. "description": "委托数量",
  9047. "type": "integer"
  9048. },
  9049. "ordertime": {
  9050. "description": "委托时间",
  9051. "type": "string"
  9052. },
  9053. "ordertotalprice": {
  9054. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9055. "type": "number"
  9056. },
  9057. "ordertotalweight": {
  9058. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9059. "type": "integer"
  9060. },
  9061. "totaltotalprice": {
  9062. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9063. "type": "number"
  9064. },
  9065. "tradeprice": {
  9066. "description": "成交价格",
  9067. "type": "number"
  9068. },
  9069. "tradeqty": {
  9070. "description": "成交数量",
  9071. "type": "integer"
  9072. }
  9073. }
  9074. },
  9075. "cptrade.QueryCPTradeOrderDetailRsq": {
  9076. "type": "object",
  9077. "required": [
  9078. "accountid",
  9079. "buildtype",
  9080. "buyorsell",
  9081. "goodsid",
  9082. "marketid",
  9083. "memberuserid",
  9084. "operatetype",
  9085. "orderqty",
  9086. "ordertime",
  9087. "pricemode",
  9088. "strorderid",
  9089. "tradedate",
  9090. "validtype"
  9091. ],
  9092. "properties": {
  9093. "accountid": {
  9094. "description": "账户ID[报价币种]",
  9095. "type": "integer"
  9096. },
  9097. "buildtype": {
  9098. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9099. "type": "integer"
  9100. },
  9101. "buyorsell": {
  9102. "description": "买卖 - 0:买 1:卖",
  9103. "type": "integer"
  9104. },
  9105. "cancelorderid": {
  9106. "description": "撤单单号(撤单时填写)",
  9107. "type": "integer"
  9108. },
  9109. "cancelqty": {
  9110. "description": "撤单数量",
  9111. "type": "integer"
  9112. },
  9113. "clientordertime": {
  9114. "description": "客户端委托时间",
  9115. "type": "string"
  9116. },
  9117. "clientticket": {
  9118. "description": "客户端流水号",
  9119. "type": "string"
  9120. },
  9121. "clienttype": {
  9122. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9123. "type": "integer"
  9124. },
  9125. "closeexchagechargevalue": {
  9126. "description": "平仓交易所手续费设置值",
  9127. "type": "number"
  9128. },
  9129. "closefeealgorithm": {
  9130. "description": "平仓手续费收取方式 1:比率 2:固定",
  9131. "type": "integer"
  9132. },
  9133. "closefreezecharge": {
  9134. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9135. "type": "number"
  9136. },
  9137. "closememberchargevalue": {
  9138. "description": "平仓会员手续费设置值",
  9139. "type": "number"
  9140. },
  9141. "closeqty": {
  9142. "description": "平仓数量(先建后平操作 需要记录)",
  9143. "type": "integer"
  9144. },
  9145. "closetradeqty": {
  9146. "description": "平仓成交数量(先建后平操作,需要记录)",
  9147. "type": "integer"
  9148. },
  9149. "closeunfreezecharge": {
  9150. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9151. "type": "number"
  9152. },
  9153. "delistingtype": {
  9154. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9155. "type": "integer"
  9156. },
  9157. "freezecharge": {
  9158. "description": "冻结手续费",
  9159. "type": "number"
  9160. },
  9161. "freezemargin": {
  9162. "description": "冻结保证金(冻结交易金额)",
  9163. "type": "number"
  9164. },
  9165. "gcaccountid": {
  9166. "description": "账户ID[合约币种]",
  9167. "type": "integer"
  9168. },
  9169. "goodsid": {
  9170. "description": "商品ID",
  9171. "type": "integer"
  9172. },
  9173. "isconfirmexercise": {
  9174. "description": "是否确认行权- 0:否 1:是",
  9175. "type": "integer"
  9176. },
  9177. "ispreexercise": {
  9178. "description": "是否预申报- 0:否 1:是",
  9179. "type": "integer"
  9180. },
  9181. "listingselecttype": {
  9182. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9183. "type": "integer"
  9184. },
  9185. "marginalgorithm": {
  9186. "description": "保证金收取方式 1:比率 2:固定",
  9187. "type": "integer"
  9188. },
  9189. "marginvalue": {
  9190. "description": "即市保证金设置值",
  9191. "type": "number"
  9192. },
  9193. "marketid": {
  9194. "description": "市场ID",
  9195. "type": "integer"
  9196. },
  9197. "marketmaxsub": {
  9198. "description": "市价最大偏移范围",
  9199. "type": "number"
  9200. },
  9201. "memberuserid": {
  9202. "description": "所属会员UserID",
  9203. "type": "integer"
  9204. },
  9205. "openexchagechargevalue": {
  9206. "description": "建仓交易所手续费设置值",
  9207. "type": "number"
  9208. },
  9209. "openfeealgorithm": {
  9210. "description": "建仓手续费收取方式 1:比率 2:固定",
  9211. "type": "integer"
  9212. },
  9213. "openfreezecharge": {
  9214. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9215. "type": "number"
  9216. },
  9217. "openmemberchargevalue": {
  9218. "description": "建仓会员手续费设置值",
  9219. "type": "number"
  9220. },
  9221. "openqty": {
  9222. "description": "开仓数量(先建后平操作,需要记录)",
  9223. "type": "integer"
  9224. },
  9225. "opentradeqty": {
  9226. "description": "开仓成交数量(先建后平操作,需要记录)",
  9227. "type": "integer"
  9228. },
  9229. "openunfreezecharge": {
  9230. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9231. "type": "number"
  9232. },
  9233. "operatetype": {
  9234. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9235. "type": "integer"
  9236. },
  9237. "operatorid": {
  9238. "description": "登录账号(LoginID)",
  9239. "type": "integer"
  9240. },
  9241. "optiontype": {
  9242. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9243. "type": "integer"
  9244. },
  9245. "orderprice": {
  9246. "description": "委托价格",
  9247. "type": "number"
  9248. },
  9249. "orderqty": {
  9250. "description": "委托数量",
  9251. "type": "integer"
  9252. },
  9253. "ordersrc": {
  9254. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9255. "type": "integer"
  9256. },
  9257. "orderstatus": {
  9258. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9259. "type": "integer"
  9260. },
  9261. "ordertime": {
  9262. "description": "委托时间",
  9263. "type": "string"
  9264. },
  9265. "preexerciseprice": {
  9266. "description": "预申报价格",
  9267. "type": "number"
  9268. },
  9269. "premium": {
  9270. "description": "权利金",
  9271. "type": "number"
  9272. },
  9273. "preorderid": {
  9274. "description": "关联预埋单号(止盈止损单时填写)",
  9275. "type": "integer"
  9276. },
  9277. "pricemode": {
  9278. "description": "取价方式 - 1:市价 2: 限价",
  9279. "type": "integer"
  9280. },
  9281. "quoteid": {
  9282. "description": "报价单ID",
  9283. "type": "integer"
  9284. },
  9285. "relatedid": {
  9286. "description": "关联单号(交割单)",
  9287. "type": "integer"
  9288. },
  9289. "retcode": {
  9290. "description": "错误代码",
  9291. "type": "integer"
  9292. },
  9293. "sessionid": {
  9294. "description": "会话ID",
  9295. "type": "integer"
  9296. },
  9297. "strorderid": {
  9298. "description": "委托单号",
  9299. "type": "string"
  9300. },
  9301. "tradedate": {
  9302. "description": "交易日(yyyyMMdd)",
  9303. "type": "string"
  9304. },
  9305. "tradeproperty": {
  9306. "description": "交易属性",
  9307. "type": "integer"
  9308. },
  9309. "tradeqty": {
  9310. "description": "成交数量",
  9311. "type": "integer"
  9312. },
  9313. "unfreezecharge": {
  9314. "description": "解冻手续费",
  9315. "type": "number"
  9316. },
  9317. "unfreezemargin": {
  9318. "description": "解冻保证金",
  9319. "type": "number"
  9320. },
  9321. "updatetime": {
  9322. "description": "更新时间",
  9323. "type": "string"
  9324. },
  9325. "uuid": {
  9326. "description": "发起端唯一id",
  9327. "type": "string"
  9328. },
  9329. "validtime": {
  9330. "description": "有效期限",
  9331. "type": "string"
  9332. },
  9333. "validtype": {
  9334. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9335. "type": "integer"
  9336. },
  9337. "volumetype": {
  9338. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9339. "type": "integer"
  9340. }
  9341. }
  9342. },
  9343. "cptrade.QueryMyCPTradeGoodsRsp": {
  9344. "type": "object",
  9345. "required": [
  9346. "goodscode",
  9347. "goodsid",
  9348. "goodsname",
  9349. "marketid",
  9350. "relatedgoodscode",
  9351. "relatedgoodsname"
  9352. ],
  9353. "properties": {
  9354. "accountid": {
  9355. "description": "卖方账户ID",
  9356. "type": "integer"
  9357. },
  9358. "agreeunit": {
  9359. "description": "合约单位",
  9360. "type": "number"
  9361. },
  9362. "applyid": {
  9363. "description": "关联申请ID",
  9364. "type": "integer"
  9365. },
  9366. "attachmenturl": {
  9367. "description": "附件地址",
  9368. "type": "string"
  9369. },
  9370. "createtime": {
  9371. "description": "创建时间",
  9372. "type": "string"
  9373. },
  9374. "currencyid": {
  9375. "description": "报价货币ID",
  9376. "type": "integer"
  9377. },
  9378. "decimalplace": {
  9379. "description": "报价小数位",
  9380. "type": "integer"
  9381. },
  9382. "endtime": {
  9383. "description": "预售结束时间",
  9384. "type": "string"
  9385. },
  9386. "floorprice": {
  9387. "description": "底价[大宗式竞拍]",
  9388. "type": "number"
  9389. },
  9390. "goodscode": {
  9391. "description": "商品代码(预售)",
  9392. "type": "string"
  9393. },
  9394. "goodsdetail": {
  9395. "description": "详情[大宗]",
  9396. "type": "string"
  9397. },
  9398. "goodsid": {
  9399. "description": "商品ID(自增ID SEQ_GOODS)",
  9400. "type": "integer"
  9401. },
  9402. "goodsname": {
  9403. "description": "商品名称(预售)",
  9404. "type": "string"
  9405. },
  9406. "goodunit": {
  9407. "description": "报价单位",
  9408. "type": "string"
  9409. },
  9410. "goodunitid": {
  9411. "description": "报价单位ID",
  9412. "type": "integer"
  9413. },
  9414. "marketid": {
  9415. "description": "所属市场ID",
  9416. "type": "integer"
  9417. },
  9418. "marketname": {
  9419. "description": "预售市场名称",
  9420. "type": "string"
  9421. },
  9422. "presaledamount": {
  9423. "description": "已预售总金额(预售结束时更新)",
  9424. "type": "number"
  9425. },
  9426. "presaledqty": {
  9427. "description": "已预售量(预售结束时更新)",
  9428. "type": "integer"
  9429. },
  9430. "presalemode": {
  9431. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9432. "type": "integer"
  9433. },
  9434. "presaleqty": {
  9435. "description": "预售数量",
  9436. "type": "integer"
  9437. },
  9438. "refprice": {
  9439. "description": "参考价格[一口价]",
  9440. "type": "number"
  9441. },
  9442. "relatedgoodscode": {
  9443. "description": "商品代码(订单)",
  9444. "type": "string"
  9445. },
  9446. "relatedgoodsid": {
  9447. "description": "关联交易合约ID",
  9448. "type": "integer"
  9449. },
  9450. "relatedgoodsname": {
  9451. "description": "商品名称(订单)",
  9452. "type": "string"
  9453. },
  9454. "relatedmarketid": {
  9455. "description": "关联交易合约市场ID",
  9456. "type": "integer"
  9457. },
  9458. "sellstatus": {
  9459. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9460. "type": "integer"
  9461. },
  9462. "startprice": {
  9463. "description": "起拍价[大宗式竞拍]",
  9464. "type": "number"
  9465. },
  9466. "starttime": {
  9467. "description": "预售开始时间",
  9468. "type": "string"
  9469. },
  9470. "tradedate": {
  9471. "description": "交易日(yyyyMMdd)",
  9472. "type": "string"
  9473. },
  9474. "tradeprice": {
  9475. "description": "成交价[大宗]",
  9476. "type": "number"
  9477. },
  9478. "userid": {
  9479. "description": "卖方用户ID",
  9480. "type": "integer"
  9481. }
  9482. }
  9483. },
  9484. "cptrade.QueryPresaleGoodsExRsp": {
  9485. "type": "object",
  9486. "required": [
  9487. "goodsid"
  9488. ],
  9489. "properties": {
  9490. "attachmenturl": {
  9491. "description": "附件地址",
  9492. "type": "string"
  9493. },
  9494. "createtime": {
  9495. "description": "创建时间",
  9496. "type": "string"
  9497. },
  9498. "endtime": {
  9499. "description": "预售结束时间",
  9500. "type": "string"
  9501. },
  9502. "floorprice": {
  9503. "description": "底价[大宗式竞拍]",
  9504. "type": "number"
  9505. },
  9506. "goodsdetail": {
  9507. "description": "详情[大宗]",
  9508. "type": "string"
  9509. },
  9510. "goodsid": {
  9511. "description": "商品ID(预售)",
  9512. "type": "integer"
  9513. },
  9514. "goodunit": {
  9515. "description": "报价单位",
  9516. "type": "string"
  9517. },
  9518. "marketid": {
  9519. "description": "预售市场ID - 根据预售模式选择市场",
  9520. "type": "integer"
  9521. },
  9522. "presaledamount": {
  9523. "description": "已预售总金额(预售结束时更新)",
  9524. "type": "number"
  9525. },
  9526. "presaledqty": {
  9527. "description": "已预售量(预售结束时更新)",
  9528. "type": "integer"
  9529. },
  9530. "presalemode": {
  9531. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9532. "type": "integer"
  9533. },
  9534. "presaleqty": {
  9535. "description": "预售数量",
  9536. "type": "integer"
  9537. },
  9538. "refprice": {
  9539. "description": "参考价格[一口价]",
  9540. "type": "number"
  9541. },
  9542. "relatedgoodsid": {
  9543. "description": "关联交易合约ID",
  9544. "type": "integer"
  9545. },
  9546. "relatedmarketid": {
  9547. "description": "关联交易合约市场ID",
  9548. "type": "integer"
  9549. },
  9550. "sellstatus": {
  9551. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9552. "type": "integer"
  9553. },
  9554. "startprice": {
  9555. "description": "起拍价[大宗式竞拍]",
  9556. "type": "number"
  9557. },
  9558. "starttime": {
  9559. "description": "预售开始时间",
  9560. "type": "string"
  9561. },
  9562. "tradedate": {
  9563. "description": "交易日(yyyyMMdd)",
  9564. "type": "string"
  9565. },
  9566. "tradeprice": {
  9567. "description": "成交价[大宗]",
  9568. "type": "number"
  9569. }
  9570. }
  9571. },
  9572. "delivery.QueryDeliveryRelationRsp": {
  9573. "type": "object",
  9574. "required": [
  9575. "begindate",
  9576. "enddate",
  9577. "goodsid",
  9578. "mindeliveryqty",
  9579. "xdeliveryratio"
  9580. ],
  9581. "properties": {
  9582. "begindate": {
  9583. "description": "起始日期(yyyyMMdd)",
  9584. "type": "string"
  9585. },
  9586. "buytemplateid": {
  9587. "description": "买履约计划模板ID",
  9588. "type": "integer"
  9589. },
  9590. "deliverygoodscode": {
  9591. "description": "品种代码",
  9592. "type": "string"
  9593. },
  9594. "deliverygoodsid": {
  9595. "description": "交割商品",
  9596. "type": "integer"
  9597. },
  9598. "deliverygoodsname": {
  9599. "description": "品种名称",
  9600. "type": "string"
  9601. },
  9602. "deliverymode": {
  9603. "description": "交割方式 - 1:点选式 2:申报式",
  9604. "type": "integer"
  9605. },
  9606. "deliverypricerule": {
  9607. "description": "交割价规则- 1:行情价 2:建仓价",
  9608. "type": "integer"
  9609. },
  9610. "deliverytype": {
  9611. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9612. "type": "integer"
  9613. },
  9614. "enddate": {
  9615. "description": "结束日期(yyyyMMdd)",
  9616. "type": "string"
  9617. },
  9618. "goodscode": {
  9619. "description": "商品代码",
  9620. "type": "string"
  9621. },
  9622. "goodsid": {
  9623. "description": "交易合约ID",
  9624. "type": "integer"
  9625. },
  9626. "goodsname": {
  9627. "description": "商品名称",
  9628. "type": "string"
  9629. },
  9630. "marketid": {
  9631. "description": "市场ID",
  9632. "type": "integer"
  9633. },
  9634. "mindeliveryqty": {
  9635. "description": "最小交割系数(K)",
  9636. "type": "integer"
  9637. },
  9638. "p2deliveryprice": {
  9639. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9640. "type": "number"
  9641. },
  9642. "p2deliveryratio": {
  9643. "description": "P2合约系数(p)",
  9644. "type": "integer"
  9645. },
  9646. "p2goodsid": {
  9647. "description": "P2合约ID",
  9648. "type": "integer"
  9649. },
  9650. "p2pricemode": {
  9651. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9652. "type": "integer"
  9653. },
  9654. "pdeliveryprice": {
  9655. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9656. "type": "number"
  9657. },
  9658. "pdeliveryratio": {
  9659. "description": "P合约系数(n)",
  9660. "type": "integer"
  9661. },
  9662. "pgoodsid": {
  9663. "description": "P合约ID",
  9664. "type": "integer"
  9665. },
  9666. "ppricemode": {
  9667. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9668. "type": "integer"
  9669. },
  9670. "rratio": {
  9671. "description": "兑换系数(R)",
  9672. "type": "integer"
  9673. },
  9674. "rratio1": {
  9675. "description": "兑换系数(交易合约)(R1)",
  9676. "type": "integer"
  9677. },
  9678. "rratio2": {
  9679. "description": "兑换系数(仓单标准)(R2)",
  9680. "type": "integer"
  9681. },
  9682. "selltemplateid": {
  9683. "description": "卖履约计划模板ID",
  9684. "type": "integer"
  9685. },
  9686. "wrstandardid": {
  9687. "description": "仓单标准ID",
  9688. "type": "integer"
  9689. },
  9690. "xdeliveryratio": {
  9691. "description": "交易合约系数(m)",
  9692. "type": "integer"
  9693. }
  9694. }
  9695. },
  9696. "ermcp.ExposureDetailRsp": {
  9697. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9698. },
  9699. "ermcp.ExposureHedgePosDetailRsp": {
  9700. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9701. },
  9702. "ermcp.ExposureHedgePositionRsp": {
  9703. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9704. },
  9705. "ermcp.ExposureSpotDetailRsp": {
  9706. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9707. },
  9708. "ermcp.ExposureSpotRsp": {
  9709. "$ref": "#/definitions/models.AreaSpotModel"
  9710. },
  9711. "ermcp.HisExposureRsp": {
  9712. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9713. },
  9714. "ermcp.PendingAuditCntRsp": {
  9715. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9716. },
  9717. "ermcp.QryAvalidGPRsp": {
  9718. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9719. },
  9720. "ermcp.QryBusinessDjRsp": {
  9721. "type": "object",
  9722. "properties": {
  9723. "amount": {
  9724. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9725. "type": "number"
  9726. },
  9727. "applyid": {
  9728. "description": "申请人",
  9729. "type": "string"
  9730. },
  9731. "applyname": {
  9732. "description": "申请人名称",
  9733. "type": "string"
  9734. },
  9735. "applystatus": {
  9736. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9737. "type": "integer"
  9738. },
  9739. "applytime": {
  9740. "description": "申请时间",
  9741. "type": "string"
  9742. },
  9743. "attachurl": {
  9744. "description": "附件",
  9745. "type": "string"
  9746. },
  9747. "auditid": {
  9748. "description": "审核人ID",
  9749. "type": "string"
  9750. },
  9751. "auditname": {
  9752. "description": "审核人名称",
  9753. "type": "string"
  9754. },
  9755. "audittime": {
  9756. "description": "审核时间",
  9757. "type": "string"
  9758. },
  9759. "buyusername": {
  9760. "description": "采购方名称",
  9761. "type": "string"
  9762. },
  9763. "contractno": {
  9764. "description": "合同编号",
  9765. "type": "string"
  9766. },
  9767. "contractstatus": {
  9768. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9769. "type": "integer"
  9770. },
  9771. "contracttype": {
  9772. "description": "现货合同类型 - 1:采购 -1:销售",
  9773. "type": "integer"
  9774. },
  9775. "deliverygoodscode": {
  9776. "description": "现货品种代码",
  9777. "type": "string"
  9778. },
  9779. "deliverygoodsid": {
  9780. "description": "现货商品ID",
  9781. "type": "integer"
  9782. },
  9783. "deliverygoodsname": {
  9784. "description": "现货品种名称",
  9785. "type": "string"
  9786. },
  9787. "enumdicname": {
  9788. "description": "单位名称",
  9789. "type": "string"
  9790. },
  9791. "goodscode": {
  9792. "description": "点价合约",
  9793. "type": "string"
  9794. },
  9795. "goodsname": {
  9796. "description": "商品名称",
  9797. "type": "string"
  9798. },
  9799. "operateapplyid": {
  9800. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9801. "type": "string"
  9802. },
  9803. "operateapplytype": {
  9804. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9805. "type": "integer"
  9806. },
  9807. "pricedPrice": {
  9808. "description": "点价价格(非必填)",
  9809. "type": "number"
  9810. },
  9811. "pricedQty": {
  9812. "description": "点价数量(非必填)",
  9813. "type": "number"
  9814. },
  9815. "pricemove": {
  9816. "description": "升贴水",
  9817. "type": "number"
  9818. },
  9819. "pricetype": {
  9820. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9821. "type": "integer"
  9822. },
  9823. "relatedid": {
  9824. "description": "现货合同ID",
  9825. "type": "string"
  9826. },
  9827. "sellusername": {
  9828. "description": "销售方名字",
  9829. "type": "string"
  9830. },
  9831. "userid": {
  9832. "description": "用户ID",
  9833. "type": "integer"
  9834. },
  9835. "wrstandardcode": {
  9836. "description": "品类代码",
  9837. "type": "string"
  9838. },
  9839. "wrstandardid": {
  9840. "description": "品类id",
  9841. "type": "integer"
  9842. },
  9843. "wrstandardname": {
  9844. "description": "品类名称",
  9845. "type": "string"
  9846. }
  9847. }
  9848. },
  9849. "ermcp.QryBussinessFpRsp": {
  9850. "type": "object",
  9851. "properties": {
  9852. "applyid": {
  9853. "description": "申请人",
  9854. "type": "string"
  9855. },
  9856. "applyname": {
  9857. "description": "申请人名称",
  9858. "type": "string"
  9859. },
  9860. "applystatus": {
  9861. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9862. "type": "integer"
  9863. },
  9864. "applytime": {
  9865. "description": "申请时间",
  9866. "type": "string"
  9867. },
  9868. "attachurl": {
  9869. "description": "附件",
  9870. "type": "string"
  9871. },
  9872. "auditid": {
  9873. "description": "审核人ID",
  9874. "type": "string"
  9875. },
  9876. "auditname": {
  9877. "description": "审核人名称",
  9878. "type": "string"
  9879. },
  9880. "audittime": {
  9881. "description": "审核时间",
  9882. "type": "string"
  9883. },
  9884. "buyusername": {
  9885. "description": "采购方名称",
  9886. "type": "string"
  9887. },
  9888. "contractno": {
  9889. "description": "合同编号",
  9890. "type": "string"
  9891. },
  9892. "contractstatus": {
  9893. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9894. "type": "integer"
  9895. },
  9896. "contracttype": {
  9897. "description": "现货合同类型 - 1:采购 -1:销售",
  9898. "type": "integer"
  9899. },
  9900. "deliverygoodscode": {
  9901. "description": "现货品种代码",
  9902. "type": "string"
  9903. },
  9904. "deliverygoodsid": {
  9905. "description": "现货商品ID",
  9906. "type": "integer"
  9907. },
  9908. "deliverygoodsname": {
  9909. "description": "现货品种名称",
  9910. "type": "string"
  9911. },
  9912. "enumdicname": {
  9913. "description": "单位名称",
  9914. "type": "string"
  9915. },
  9916. "goodscode": {
  9917. "description": "点价合约",
  9918. "type": "string"
  9919. },
  9920. "goodsname": {
  9921. "description": "商品名称",
  9922. "type": "string"
  9923. },
  9924. "invoiceAmount": {
  9925. "description": "已开收票金额(销售为开票,采购为收票)",
  9926. "type": "number"
  9927. },
  9928. "operateapplyid": {
  9929. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9930. "type": "string"
  9931. },
  9932. "operateapplytype": {
  9933. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9934. "type": "integer"
  9935. },
  9936. "pricemove": {
  9937. "description": "升贴水",
  9938. "type": "number"
  9939. },
  9940. "pricetype": {
  9941. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9942. "type": "integer"
  9943. },
  9944. "relatedid": {
  9945. "description": "现货合同ID",
  9946. "type": "string"
  9947. },
  9948. "sellusername": {
  9949. "description": "销售方名字",
  9950. "type": "string"
  9951. },
  9952. "userid": {
  9953. "description": "用户ID",
  9954. "type": "integer"
  9955. },
  9956. "wrstandardcode": {
  9957. "description": "品类代码",
  9958. "type": "string"
  9959. },
  9960. "wrstandardid": {
  9961. "description": "品类id",
  9962. "type": "integer"
  9963. },
  9964. "wrstandardname": {
  9965. "description": "品类名称",
  9966. "type": "string"
  9967. }
  9968. }
  9969. },
  9970. "ermcp.QryBussinessJsExRsp": {
  9971. "type": "object",
  9972. "properties": {
  9973. "applyid": {
  9974. "description": "申请人",
  9975. "type": "string"
  9976. },
  9977. "applyname": {
  9978. "description": "申请人名称",
  9979. "type": "string"
  9980. },
  9981. "applystatus": {
  9982. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9983. "type": "integer"
  9984. },
  9985. "applytime": {
  9986. "description": "申请时间",
  9987. "type": "string"
  9988. },
  9989. "attachurl": {
  9990. "description": "附件",
  9991. "type": "string"
  9992. },
  9993. "auditid": {
  9994. "description": "审核人ID",
  9995. "type": "string"
  9996. },
  9997. "auditname": {
  9998. "description": "审核人名称",
  9999. "type": "string"
  10000. },
  10001. "audittime": {
  10002. "description": "审核时间",
  10003. "type": "string"
  10004. },
  10005. "buyusername": {
  10006. "description": "采购方名称",
  10007. "type": "string"
  10008. },
  10009. "contractno": {
  10010. "description": "合同编号",
  10011. "type": "string"
  10012. },
  10013. "contractstatus": {
  10014. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10015. "type": "integer"
  10016. },
  10017. "contracttype": {
  10018. "description": "现货合同类型 - 1:采购 -1:销售",
  10019. "type": "integer"
  10020. },
  10021. "deliverygoodscode": {
  10022. "description": "现货品种代码",
  10023. "type": "string"
  10024. },
  10025. "deliverygoodsid": {
  10026. "description": "现货商品ID",
  10027. "type": "integer"
  10028. },
  10029. "deliverygoodsname": {
  10030. "description": "现货品种名称",
  10031. "type": "string"
  10032. },
  10033. "enumdicname": {
  10034. "description": "单位名称",
  10035. "type": "string"
  10036. },
  10037. "goodscode": {
  10038. "description": "点价合约",
  10039. "type": "string"
  10040. },
  10041. "goodsname": {
  10042. "description": "商品名称",
  10043. "type": "string"
  10044. },
  10045. "operateapplyid": {
  10046. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10047. "type": "string"
  10048. },
  10049. "operateapplytype": {
  10050. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10051. "type": "integer"
  10052. },
  10053. "pricemove": {
  10054. "description": "升贴水",
  10055. "type": "number"
  10056. },
  10057. "pricetype": {
  10058. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10059. "type": "integer"
  10060. },
  10061. "reckontype": {
  10062. "description": "结算类型",
  10063. "type": "string"
  10064. },
  10065. "reckonvalue": {
  10066. "description": "值",
  10067. "type": "number"
  10068. },
  10069. "relatedid": {
  10070. "description": "现货合同ID",
  10071. "type": "string"
  10072. },
  10073. "sellusername": {
  10074. "description": "销售方名字",
  10075. "type": "string"
  10076. },
  10077. "userid": {
  10078. "description": "用户ID",
  10079. "type": "integer"
  10080. },
  10081. "wrstandardcode": {
  10082. "description": "品类代码",
  10083. "type": "string"
  10084. },
  10085. "wrstandardid": {
  10086. "description": "品类id",
  10087. "type": "integer"
  10088. },
  10089. "wrstandardname": {
  10090. "description": "品类名称",
  10091. "type": "string"
  10092. }
  10093. }
  10094. },
  10095. "ermcp.QryBussinessJsRsp": {
  10096. "type": "object",
  10097. "properties": {
  10098. "addmargin": {
  10099. "description": "追加保证金(非必填)",
  10100. "type": "number"
  10101. },
  10102. "applyid": {
  10103. "description": "申请人",
  10104. "type": "string"
  10105. },
  10106. "applyname": {
  10107. "description": "申请人名称",
  10108. "type": "string"
  10109. },
  10110. "applystatus": {
  10111. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10112. "type": "integer"
  10113. },
  10114. "applytime": {
  10115. "description": "申请时间",
  10116. "type": "string"
  10117. },
  10118. "attachurl": {
  10119. "description": "附件",
  10120. "type": "string"
  10121. },
  10122. "auditid": {
  10123. "description": "审核人ID",
  10124. "type": "string"
  10125. },
  10126. "auditname": {
  10127. "description": "审核人名称",
  10128. "type": "string"
  10129. },
  10130. "audittime": {
  10131. "description": "审核时间",
  10132. "type": "string"
  10133. },
  10134. "buyusername": {
  10135. "description": "采购方名称",
  10136. "type": "string"
  10137. },
  10138. "contractno": {
  10139. "description": "合同编号",
  10140. "type": "string"
  10141. },
  10142. "contractstatus": {
  10143. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10144. "type": "integer"
  10145. },
  10146. "contracttype": {
  10147. "description": "现货合同类型 - 1:采购 -1:销售",
  10148. "type": "integer"
  10149. },
  10150. "decmargin": {
  10151. "description": "减少保证金(非必填)",
  10152. "type": "number"
  10153. },
  10154. "deliverygoodscode": {
  10155. "description": "现货品种代码",
  10156. "type": "string"
  10157. },
  10158. "deliverygoodsid": {
  10159. "description": "现货商品ID",
  10160. "type": "integer"
  10161. },
  10162. "deliverygoodsname": {
  10163. "description": "现货品种名称",
  10164. "type": "string"
  10165. },
  10166. "enumdicname": {
  10167. "description": "单位名称",
  10168. "type": "string"
  10169. },
  10170. "goodscode": {
  10171. "description": "点价合约",
  10172. "type": "string"
  10173. },
  10174. "goodsname": {
  10175. "description": "商品名称",
  10176. "type": "string"
  10177. },
  10178. "operateapplyid": {
  10179. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10180. "type": "string"
  10181. },
  10182. "operateapplytype": {
  10183. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10184. "type": "integer"
  10185. },
  10186. "pricemove": {
  10187. "description": "升贴水",
  10188. "type": "number"
  10189. },
  10190. "pricetype": {
  10191. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10192. "type": "integer"
  10193. },
  10194. "reckonadjustamount": {
  10195. "description": "结算调整金额(非必填)",
  10196. "type": "number"
  10197. },
  10198. "reckonosamount": {
  10199. "description": "结算溢短金额(非必填)",
  10200. "type": "number"
  10201. },
  10202. "reckonotheramount": {
  10203. "description": "结算其他费用(非必填)",
  10204. "type": "number"
  10205. },
  10206. "reckonrealqty": {
  10207. "description": "结算实际数量(非必填)",
  10208. "type": "number"
  10209. },
  10210. "relatedid": {
  10211. "description": "现货合同ID",
  10212. "type": "string"
  10213. },
  10214. "sellusername": {
  10215. "description": "销售方名字",
  10216. "type": "string"
  10217. },
  10218. "userid": {
  10219. "description": "用户ID",
  10220. "type": "integer"
  10221. },
  10222. "wrstandardcode": {
  10223. "description": "品类代码",
  10224. "type": "string"
  10225. },
  10226. "wrstandardid": {
  10227. "description": "品类id",
  10228. "type": "integer"
  10229. },
  10230. "wrstandardname": {
  10231. "description": "品类名称",
  10232. "type": "string"
  10233. }
  10234. }
  10235. },
  10236. "ermcp.QryBussinessKxRsp": {
  10237. "type": "object",
  10238. "properties": {
  10239. "applyid": {
  10240. "description": "申请人",
  10241. "type": "string"
  10242. },
  10243. "applyname": {
  10244. "description": "申请人名称",
  10245. "type": "string"
  10246. },
  10247. "applystatus": {
  10248. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10249. "type": "integer"
  10250. },
  10251. "applytime": {
  10252. "description": "申请时间",
  10253. "type": "string"
  10254. },
  10255. "attachurl": {
  10256. "description": "附件",
  10257. "type": "string"
  10258. },
  10259. "auditid": {
  10260. "description": "审核人ID",
  10261. "type": "string"
  10262. },
  10263. "auditname": {
  10264. "description": "审核人名称",
  10265. "type": "string"
  10266. },
  10267. "audittime": {
  10268. "description": "审核时间",
  10269. "type": "string"
  10270. },
  10271. "buyusername": {
  10272. "description": "采购方名称",
  10273. "type": "string"
  10274. },
  10275. "contractno": {
  10276. "description": "合同编号",
  10277. "type": "string"
  10278. },
  10279. "contractstatus": {
  10280. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10281. "type": "integer"
  10282. },
  10283. "contracttype": {
  10284. "description": "现货合同类型 - 1:采购 -1:销售",
  10285. "type": "integer"
  10286. },
  10287. "deductamount": {
  10288. "description": "退款(非必填)",
  10289. "type": "number"
  10290. },
  10291. "deliverygoodscode": {
  10292. "description": "现货品种代码",
  10293. "type": "string"
  10294. },
  10295. "deliverygoodsid": {
  10296. "description": "现货商品ID",
  10297. "type": "integer"
  10298. },
  10299. "deliverygoodsname": {
  10300. "description": "现货品种名称",
  10301. "type": "string"
  10302. },
  10303. "enumdicname": {
  10304. "description": "单位名称",
  10305. "type": "string"
  10306. },
  10307. "goodscode": {
  10308. "description": "点价合约",
  10309. "type": "string"
  10310. },
  10311. "goodsname": {
  10312. "description": "商品名称",
  10313. "type": "string"
  10314. },
  10315. "kxtype": {
  10316. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10317. "type": "integer"
  10318. },
  10319. "operateapplyid": {
  10320. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10321. "type": "string"
  10322. },
  10323. "operateapplytype": {
  10324. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10325. "type": "integer"
  10326. },
  10327. "payamount": {
  10328. "description": "收付款(非必填)",
  10329. "type": "number"
  10330. },
  10331. "pricemove": {
  10332. "description": "升贴水",
  10333. "type": "number"
  10334. },
  10335. "pricetype": {
  10336. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10337. "type": "integer"
  10338. },
  10339. "relatedid": {
  10340. "description": "现货合同ID",
  10341. "type": "string"
  10342. },
  10343. "sellusername": {
  10344. "description": "销售方名字",
  10345. "type": "string"
  10346. },
  10347. "userid": {
  10348. "description": "用户ID",
  10349. "type": "integer"
  10350. },
  10351. "wrstandardcode": {
  10352. "description": "品类代码",
  10353. "type": "string"
  10354. },
  10355. "wrstandardid": {
  10356. "description": "品类id",
  10357. "type": "integer"
  10358. },
  10359. "wrstandardname": {
  10360. "description": "品类名称",
  10361. "type": "string"
  10362. }
  10363. }
  10364. },
  10365. "ermcp.QryGGCovertCfgRsp": {
  10366. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10367. },
  10368. "ermcp.QryMGChangeLogRsp": {
  10369. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10370. },
  10371. "ermcp.QryMiddleGoodsDetailRsp": {
  10372. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10373. },
  10374. "ermcp.QryMiddleGoodsRsp": {
  10375. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10376. },
  10377. "ermcp.QryOPLogRsp": {
  10378. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10379. },
  10380. "ermcp.QryUserInfoRsp": {
  10381. "$ref": "#/definitions/models.ErmcpUserModel"
  10382. },
  10383. "ermcp.QryWarehouseRsp": {
  10384. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10385. },
  10386. "ermcp.QueryErmcpTradePositionRsp": {
  10387. "type": "object",
  10388. "properties": {
  10389. "agreeunit": {
  10390. "description": "合约单位",
  10391. "type": "number"
  10392. },
  10393. "buyorsell": {
  10394. "description": "方向 - 0:买 1:卖",
  10395. "type": "integer"
  10396. },
  10397. "curpositionqty": {
  10398. "description": "持仓(总仓数量, 期末头寸)",
  10399. "type": "integer"
  10400. },
  10401. "curtdposition": {
  10402. "description": "今仓数量(期末今日头寸)",
  10403. "type": "integer"
  10404. },
  10405. "curtdpositionenabled": {
  10406. "description": "今仓可用",
  10407. "type": "integer"
  10408. },
  10409. "decimalplace": {
  10410. "description": "报价小数位",
  10411. "type": "integer"
  10412. },
  10413. "enableqty": {
  10414. "description": "可用(总仓可用)",
  10415. "type": "integer"
  10416. },
  10417. "exexchangename": {
  10418. "description": "外部交易所名称",
  10419. "type": "string"
  10420. },
  10421. "goodscode": {
  10422. "description": "商品代码(内部)",
  10423. "type": "string"
  10424. },
  10425. "goodsid": {
  10426. "description": "商品ID(自增ID SEQ_GOODS)",
  10427. "type": "integer"
  10428. },
  10429. "goodsname": {
  10430. "description": "商品名称",
  10431. "type": "string"
  10432. },
  10433. "last": {
  10434. "description": "现价",
  10435. "type": "number"
  10436. },
  10437. "marketid": {
  10438. "description": "所属市场ID",
  10439. "type": "integer"
  10440. },
  10441. "openaverageprice": {
  10442. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10443. "type": "number"
  10444. },
  10445. "opencost": {
  10446. "description": "开仓成本",
  10447. "type": "number"
  10448. },
  10449. "openpl": {
  10450. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10451. "type": "number"
  10452. },
  10453. "outgoodscode": {
  10454. "description": "商品代码(外部)",
  10455. "type": "string"
  10456. },
  10457. "positionaverageprice": {
  10458. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10459. "type": "number"
  10460. },
  10461. "positioncost": {
  10462. "description": "持仓成本",
  10463. "type": "number"
  10464. },
  10465. "positionpl": {
  10466. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10467. "type": "number"
  10468. },
  10469. "positionplrate": {
  10470. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10471. "type": "number"
  10472. },
  10473. "usedmargin": {
  10474. "description": "占用保证金",
  10475. "type": "number"
  10476. }
  10477. }
  10478. },
  10479. "ermcp.RealtimeExposurePositionRsp": {
  10480. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10481. },
  10482. "ermcp.RealtimeExposureRsp": {
  10483. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10484. },
  10485. "erms2.QueryArbitrageStrategyRsp": {
  10486. "type": "object",
  10487. "required": [
  10488. "asapplyid"
  10489. ],
  10490. "properties": {
  10491. "applybasis": {
  10492. "description": "申请基差",
  10493. "type": "number"
  10494. },
  10495. "asapplyid": {
  10496. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10497. "type": "string"
  10498. },
  10499. "asname": {
  10500. "description": "策略名称",
  10501. "type": "string"
  10502. },
  10503. "asno": {
  10504. "description": "策略编号",
  10505. "type": "string"
  10506. },
  10507. "basischangepl": {
  10508. "description": "基差变动损益[结算更新]",
  10509. "type": "number"
  10510. },
  10511. "biztype": {
  10512. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10513. "type": "integer"
  10514. },
  10515. "closetradedate": {
  10516. "description": "完结交易日(yyyyMMdd)",
  10517. "type": "string"
  10518. },
  10519. "curbasis": {
  10520. "description": "当前基差[结算更新]",
  10521. "type": "number"
  10522. },
  10523. "deliverygoodsid": {
  10524. "description": "现货品种ID",
  10525. "type": "integer"
  10526. },
  10527. "futureavgprice": {
  10528. "description": "期货建仓均价",
  10529. "type": "number"
  10530. },
  10531. "futurecloseamount": {
  10532. "description": "期货平仓金额",
  10533. "type": "number"
  10534. },
  10535. "futurecloseqty": {
  10536. "description": "期货平仓数量",
  10537. "type": "number"
  10538. },
  10539. "futureopenamount": {
  10540. "description": "期货开仓金额",
  10541. "type": "number"
  10542. },
  10543. "futureopenqty": {
  10544. "description": "期货开仓数量",
  10545. "type": "number"
  10546. },
  10547. "futurepl": {
  10548. "description": "期货总盈亏[结算更新]",
  10549. "type": "number"
  10550. },
  10551. "futureqty": {
  10552. "description": "期货持仓数量",
  10553. "type": "number"
  10554. },
  10555. "futurequote": {
  10556. "description": "期货额度",
  10557. "type": "number"
  10558. },
  10559. "goodsgroupid": {
  10560. "description": "期货品种ID",
  10561. "type": "integer"
  10562. },
  10563. "marketid": {
  10564. "description": "市场ID",
  10565. "type": "integer"
  10566. },
  10567. "netexposure": {
  10568. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10569. "type": "number"
  10570. },
  10571. "netexposurepl": {
  10572. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10573. "type": "number"
  10574. },
  10575. "netexposurerate": {
  10576. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10577. "type": "number"
  10578. },
  10579. "openbasis": {
  10580. "description": "建仓基差",
  10581. "type": "number"
  10582. },
  10583. "pricedspotqty": {
  10584. "description": "已定价现货数量",
  10585. "type": "number"
  10586. },
  10587. "pricedspotqtynotax": {
  10588. "description": "已定价现货不含税数量",
  10589. "type": "number"
  10590. },
  10591. "remark": {
  10592. "description": "备注",
  10593. "type": "string"
  10594. },
  10595. "spotavgprice": {
  10596. "description": "现货均价",
  10597. "type": "number"
  10598. },
  10599. "spotbuyamount": {
  10600. "description": "现货采购金额",
  10601. "type": "number"
  10602. },
  10603. "spotbuyqty": {
  10604. "description": "现货采购数量",
  10605. "type": "number"
  10606. },
  10607. "spotpl": {
  10608. "description": "现货总盈亏[结算更新]",
  10609. "type": "number"
  10610. },
  10611. "spotquota": {
  10612. "description": "现货额度",
  10613. "type": "number"
  10614. },
  10615. "spotsellamount": {
  10616. "description": "现货销售金额",
  10617. "type": "number"
  10618. },
  10619. "spotsellqty": {
  10620. "description": "现货销售数量",
  10621. "type": "number"
  10622. },
  10623. "spotusedquota": {
  10624. "description": "现货占用资金",
  10625. "type": "number"
  10626. },
  10627. "strategystatus": {
  10628. "description": "策略状态 - 0:未结束 1:已结束",
  10629. "type": "integer"
  10630. },
  10631. "totalpl": {
  10632. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10633. "type": "number"
  10634. },
  10635. "tradedate": {
  10636. "description": "交易日(yyyyMMdd)",
  10637. "type": "string"
  10638. },
  10639. "updatetime": {
  10640. "description": "更新时间",
  10641. "type": "string"
  10642. },
  10643. "usedquota": {
  10644. "description": "已占用资金",
  10645. "type": "number"
  10646. },
  10647. "userid": {
  10648. "description": "所属机构",
  10649. "type": "integer"
  10650. }
  10651. }
  10652. },
  10653. "erms2.QueryInnerTradeDetailRsp": {
  10654. "type": "object",
  10655. "required": [
  10656. "asapplyid",
  10657. "buyorsell",
  10658. "goodscode",
  10659. "goodsgroupid",
  10660. "goodsgroupname",
  10661. "goodsname",
  10662. "tradeid"
  10663. ],
  10664. "properties": {
  10665. "accountid": {
  10666. "description": "账号ID",
  10667. "type": "integer"
  10668. },
  10669. "agreeunit": {
  10670. "description": "合约单位",
  10671. "type": "number"
  10672. },
  10673. "asapplyid": {
  10674. "description": "策略申请ID",
  10675. "type": "integer"
  10676. },
  10677. "asname": {
  10678. "description": "策略名称",
  10679. "type": "string"
  10680. },
  10681. "asno": {
  10682. "description": "策略编号",
  10683. "type": "string"
  10684. },
  10685. "buyorsell": {
  10686. "description": "方向 - 0:买 1:卖",
  10687. "type": "integer"
  10688. },
  10689. "channelbuildtype": {
  10690. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10691. "type": "integer"
  10692. },
  10693. "closetype": {
  10694. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10695. "type": "integer"
  10696. },
  10697. "decimalplace": {
  10698. "description": "报价小数位",
  10699. "type": "integer"
  10700. },
  10701. "detailtype": {
  10702. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10703. "type": "integer"
  10704. },
  10705. "exexchangecode": {
  10706. "description": "外部交易所代码",
  10707. "type": "string"
  10708. },
  10709. "exexchangename": {
  10710. "description": "外部交易所名称",
  10711. "type": "string"
  10712. },
  10713. "goodscode": {
  10714. "description": "商品代码(合约)",
  10715. "type": "string"
  10716. },
  10717. "goodsgroupid": {
  10718. "description": "商品组ID(品种ID)",
  10719. "type": "integer"
  10720. },
  10721. "goodsgroupname": {
  10722. "description": "商品组名称(品种)",
  10723. "type": "string"
  10724. },
  10725. "goodsid": {
  10726. "description": "商品ID",
  10727. "type": "integer"
  10728. },
  10729. "goodsname": {
  10730. "description": "商品名称(合约)",
  10731. "type": "string"
  10732. },
  10733. "goodunit": {
  10734. "description": "报价单位",
  10735. "type": "string"
  10736. },
  10737. "marketid": {
  10738. "description": "市场ID",
  10739. "type": "integer"
  10740. },
  10741. "orderid": {
  10742. "description": "委托单号",
  10743. "type": "string"
  10744. },
  10745. "outgoodscode": {
  10746. "description": "商品代码(外部)",
  10747. "type": "string"
  10748. },
  10749. "relatedouttradeid": {
  10750. "description": "关联外部成交单ID",
  10751. "type": "string"
  10752. },
  10753. "remark": {
  10754. "description": "备注",
  10755. "type": "string"
  10756. },
  10757. "spotcontractid": {
  10758. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10759. "type": "integer"
  10760. },
  10761. "spotcontractno": {
  10762. "description": "现货合同编号",
  10763. "type": "string"
  10764. },
  10765. "tradeid": {
  10766. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10767. "type": "string"
  10768. },
  10769. "tradeprice": {
  10770. "description": "成交价格",
  10771. "type": "number"
  10772. },
  10773. "tradeqty": {
  10774. "description": "成交数量",
  10775. "type": "integer"
  10776. },
  10777. "tradetime": {
  10778. "description": "成交时间",
  10779. "type": "string"
  10780. },
  10781. "updatetime": {
  10782. "description": "更新时间",
  10783. "type": "string"
  10784. }
  10785. }
  10786. },
  10787. "erms2.QuerySpotContractRsp": {
  10788. "type": "object",
  10789. "required": [
  10790. "spotcontractid"
  10791. ],
  10792. "properties": {
  10793. "accountid": {
  10794. "description": "资金账户ID",
  10795. "type": "integer"
  10796. },
  10797. "areauserid": {
  10798. "description": "所属机构",
  10799. "type": "integer"
  10800. },
  10801. "closedate": {
  10802. "description": "终止日期",
  10803. "type": "string"
  10804. },
  10805. "closeremark": {
  10806. "description": "结束备注",
  10807. "type": "string"
  10808. },
  10809. "closetradedate": {
  10810. "description": "完结交易日(yyyyMMdd)",
  10811. "type": "string"
  10812. },
  10813. "closetype": {
  10814. "description": "终止类型 - 1:违约 2:提前终止",
  10815. "type": "integer"
  10816. },
  10817. "contractamount": {
  10818. "description": "合同金额",
  10819. "type": "number"
  10820. },
  10821. "contractattachment": {
  10822. "description": "合同附件",
  10823. "type": "string"
  10824. },
  10825. "contractno": {
  10826. "description": "现货合同编号",
  10827. "type": "string"
  10828. },
  10829. "contractqty": {
  10830. "description": "合同数量(数值) (用于计算)",
  10831. "type": "number"
  10832. },
  10833. "contractqtychar": {
  10834. "description": "合同数量\\已订价数量 (用于显示)",
  10835. "type": "string"
  10836. },
  10837. "contractstatus": {
  10838. "description": "合同状态 - 0:未结束 1:已结束",
  10839. "type": "integer"
  10840. },
  10841. "contracttype": {
  10842. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10843. "type": "integer"
  10844. },
  10845. "customeraccountid": {
  10846. "description": "客户资金账户ID",
  10847. "type": "integer"
  10848. },
  10849. "customeruserid": {
  10850. "description": "客户ID",
  10851. "type": "integer"
  10852. },
  10853. "deliverygoodsdesc": {
  10854. "description": "品种说明",
  10855. "type": "string"
  10856. },
  10857. "deliverygoodsid": {
  10858. "description": "现货品种ID",
  10859. "type": "integer"
  10860. },
  10861. "handlestatus": {
  10862. "description": "处理状态",
  10863. "type": "integer"
  10864. },
  10865. "invoiceatt": {
  10866. "description": "发票附件",
  10867. "type": "string"
  10868. },
  10869. "invoicedatetime": {
  10870. "description": "开收票更新时间",
  10871. "type": "string"
  10872. },
  10873. "invoiceopentime": {
  10874. "description": "开票时间",
  10875. "type": "string"
  10876. },
  10877. "invoiceremark": {
  10878. "description": "发票备注",
  10879. "type": "string"
  10880. },
  10881. "invoicestatus": {
  10882. "description": "开收票状态 - 0:未开票 1:已开票",
  10883. "type": "integer"
  10884. },
  10885. "lastdate": {
  10886. "description": "交货时间",
  10887. "type": "string"
  10888. },
  10889. "marketid": {
  10890. "description": "市场ID",
  10891. "type": "integer"
  10892. },
  10893. "paydatetime": {
  10894. "description": "收付款更新时间",
  10895. "type": "string"
  10896. },
  10897. "payremark": {
  10898. "description": "收付款备注",
  10899. "type": "string"
  10900. },
  10901. "paystatus": {
  10902. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10903. "type": "integer"
  10904. },
  10905. "positionqty": {
  10906. "description": "头寸数量 - 合同数量去小数部分",
  10907. "type": "integer"
  10908. },
  10909. "producttype": {
  10910. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10911. "type": "integer"
  10912. },
  10913. "relatedqty": {
  10914. "description": "已关联数量",
  10915. "type": "number"
  10916. },
  10917. "relatedstatus": {
  10918. "description": "关联完结状态 - 0:未结束 1:已结束",
  10919. "type": "integer"
  10920. },
  10921. "remark": {
  10922. "description": "备注",
  10923. "type": "string"
  10924. },
  10925. "signdate": {
  10926. "description": "签订日期",
  10927. "type": "string"
  10928. },
  10929. "spotcontractid": {
  10930. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10931. "type": "string"
  10932. },
  10933. "spotdatetime": {
  10934. "description": "收发货更新时间",
  10935. "type": "string"
  10936. },
  10937. "spotprice": {
  10938. "description": "价格",
  10939. "type": "number"
  10940. },
  10941. "spotremark": {
  10942. "description": "收发货备注",
  10943. "type": "string"
  10944. },
  10945. "spotstatus": {
  10946. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10947. "type": "integer"
  10948. },
  10949. "tradedate": {
  10950. "description": "交易日(yyyyMMdd)",
  10951. "type": "string"
  10952. },
  10953. "userid": {
  10954. "description": "业务员用户ID",
  10955. "type": "integer"
  10956. },
  10957. "warehouseid": {
  10958. "description": "仓库ID",
  10959. "type": "integer"
  10960. },
  10961. "wrfactortypeid": {
  10962. "description": "仓单要素类型ID",
  10963. "type": "integer"
  10964. },
  10965. "wrstandardid": {
  10966. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10967. "type": "integer"
  10968. }
  10969. }
  10970. },
  10971. "erms3.AddErms2ASApplyReq": {
  10972. "type": "object",
  10973. "required": [
  10974. "asapplyid"
  10975. ],
  10976. "properties": {
  10977. "applybasis": {
  10978. "description": "申请基差",
  10979. "type": "number"
  10980. },
  10981. "applystatus": {
  10982. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10983. "type": "integer"
  10984. },
  10985. "asapplyid": {
  10986. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10987. "type": "integer"
  10988. },
  10989. "asname": {
  10990. "description": "策略名称",
  10991. "type": "string"
  10992. },
  10993. "asno": {
  10994. "description": "策略编号",
  10995. "type": "string"
  10996. },
  10997. "auditid": {
  10998. "description": "审核人",
  10999. "type": "integer"
  11000. },
  11001. "auditremark": {
  11002. "description": "审核备注",
  11003. "type": "string"
  11004. },
  11005. "audittime": {
  11006. "description": "审核时间",
  11007. "type": "string"
  11008. },
  11009. "biztype": {
  11010. "description": "业务类型 - 1:正向套利 2:反向套利",
  11011. "type": "integer"
  11012. },
  11013. "createtime": {
  11014. "description": "创建时间",
  11015. "type": "string"
  11016. },
  11017. "creatorid": {
  11018. "description": "创建人",
  11019. "type": "integer"
  11020. },
  11021. "deliverygoodsid": {
  11022. "description": "现货品种ID",
  11023. "type": "integer"
  11024. },
  11025. "futurequote": {
  11026. "description": "期货额度",
  11027. "type": "number"
  11028. },
  11029. "goodsgroupid": {
  11030. "description": "期货品种ID",
  11031. "type": "integer"
  11032. },
  11033. "marketid": {
  11034. "description": "市场ID",
  11035. "type": "integer"
  11036. },
  11037. "remark": {
  11038. "description": "备注",
  11039. "type": "string"
  11040. },
  11041. "spotquota": {
  11042. "description": "现货额度",
  11043. "type": "number"
  11044. },
  11045. "tradedate": {
  11046. "description": "交易日(yyyyMMdd)",
  11047. "type": "string"
  11048. },
  11049. "userid": {
  11050. "description": "所属机构",
  11051. "type": "integer"
  11052. }
  11053. }
  11054. },
  11055. "erms3.AddErms2SpotTradeApplyReq": {
  11056. "type": "object",
  11057. "required": [
  11058. "spottradeid"
  11059. ],
  11060. "properties": {
  11061. "applyjsondetail": {
  11062. "description": "申请明细(JSON)",
  11063. "type": "string"
  11064. },
  11065. "applystatus": {
  11066. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11067. "type": "integer"
  11068. },
  11069. "areauserid": {
  11070. "description": "所属机构",
  11071. "type": "integer"
  11072. },
  11073. "auditid": {
  11074. "description": "审核人",
  11075. "type": "integer"
  11076. },
  11077. "auditremark": {
  11078. "description": "审核备注",
  11079. "type": "string"
  11080. },
  11081. "audittime": {
  11082. "description": "审核时间",
  11083. "type": "string"
  11084. },
  11085. "createtime": {
  11086. "description": "创建时间",
  11087. "type": "string"
  11088. },
  11089. "creatorid": {
  11090. "description": "创建人",
  11091. "type": "integer"
  11092. },
  11093. "deliverygoodsid": {
  11094. "description": "现货品种ID",
  11095. "type": "integer"
  11096. },
  11097. "futureaccountid": {
  11098. "description": "期货资金账户",
  11099. "type": "integer"
  11100. },
  11101. "goodsgroupid": {
  11102. "description": "期货品种",
  11103. "type": "integer"
  11104. },
  11105. "marketid": {
  11106. "description": "市场ID",
  11107. "type": "integer"
  11108. },
  11109. "remark": {
  11110. "description": "备注",
  11111. "type": "string"
  11112. },
  11113. "spotaccountid": {
  11114. "description": "现货资金账户",
  11115. "type": "integer"
  11116. },
  11117. "spottradeid": {
  11118. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11119. "type": "integer"
  11120. },
  11121. "spottradename": {
  11122. "description": "业务名称",
  11123. "type": "string"
  11124. },
  11125. "spottradeno": {
  11126. "description": "业务编号",
  11127. "type": "string"
  11128. },
  11129. "tradedate": {
  11130. "description": "交易日(yyyyMMdd)",
  11131. "type": "string"
  11132. },
  11133. "wrstandardid": {
  11134. "description": "仓单标准ID",
  11135. "type": "integer"
  11136. }
  11137. }
  11138. },
  11139. "erms3.AddSpotContractApplyReq": {
  11140. "type": "object",
  11141. "required": [
  11142. "accountid",
  11143. "areauserid",
  11144. "contractno",
  11145. "contracttype",
  11146. "customeraccountid",
  11147. "customeruserid",
  11148. "details",
  11149. "orimargin",
  11150. "signdate"
  11151. ],
  11152. "properties": {
  11153. "accountid": {
  11154. "description": "资金账户ID",
  11155. "type": "integer"
  11156. },
  11157. "areauserid": {
  11158. "description": "所属机构",
  11159. "type": "integer"
  11160. },
  11161. "contractattachment": {
  11162. "description": "合同附件",
  11163. "type": "string"
  11164. },
  11165. "contractno": {
  11166. "description": "现货合同编号",
  11167. "type": "string"
  11168. },
  11169. "contracttype": {
  11170. "description": "现货合同类型 - 1:采购 -1:销售",
  11171. "type": "integer"
  11172. },
  11173. "creatorid": {
  11174. "description": "申请人",
  11175. "type": "integer"
  11176. },
  11177. "customeraccountid": {
  11178. "description": "客户资金账户ID",
  11179. "type": "integer"
  11180. },
  11181. "customeruserid": {
  11182. "description": "客户ID",
  11183. "type": "integer"
  11184. },
  11185. "details": {
  11186. "description": "明细",
  11187. "type": "array",
  11188. "items": {
  11189. "$ref": "#/definitions/erms3.SoptContractDetail"
  11190. }
  11191. },
  11192. "orimargin": {
  11193. "description": "初始保证金",
  11194. "type": "number"
  11195. },
  11196. "remark": {
  11197. "description": "备注",
  11198. "type": "string"
  11199. },
  11200. "signdate": {
  11201. "description": "签订日期",
  11202. "type": "string"
  11203. }
  11204. }
  11205. },
  11206. "erms3.AddSpotContractApplyRsp": {
  11207. "type": "object",
  11208. "required": [
  11209. "contractno"
  11210. ],
  11211. "properties": {
  11212. "contractno": {
  11213. "description": "现货合同编号",
  11214. "type": "string"
  11215. },
  11216. "spotcontractid": {
  11217. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11218. "type": "integer"
  11219. }
  11220. }
  11221. },
  11222. "erms3.AddUserInfoApplyReq": {
  11223. "type": "object",
  11224. "required": [
  11225. "userid"
  11226. ],
  11227. "properties": {
  11228. "accountid": {
  11229. "description": "交易系统帐号Id (加密存储)",
  11230. "type": "integer"
  11231. },
  11232. "areacode": {
  11233. "description": "机构代码",
  11234. "type": "string"
  11235. },
  11236. "areaid": {
  11237. "description": "机构Id",
  11238. "type": "integer"
  11239. },
  11240. "attachment1": {
  11241. "description": "附件1",
  11242. "type": "string"
  11243. },
  11244. "attachment2": {
  11245. "description": "附件2",
  11246. "type": "string"
  11247. },
  11248. "attachment3": {
  11249. "description": "附件3",
  11250. "type": "string"
  11251. },
  11252. "attachment4": {
  11253. "description": "附件4",
  11254. "type": "string"
  11255. },
  11256. "attachment5": {
  11257. "description": "附件5",
  11258. "type": "string"
  11259. },
  11260. "auditedby": {
  11261. "description": "审核人",
  11262. "type": "string"
  11263. },
  11264. "auditime": {
  11265. "description": "审核时间",
  11266. "type": "string"
  11267. },
  11268. "auditsrc": {
  11269. "description": "审核来源 - 1:管理端 2:终端",
  11270. "type": "integer"
  11271. },
  11272. "bankaccount": {
  11273. "description": "银行帐号 (加密存储)",
  11274. "type": "string"
  11275. },
  11276. "bankaccountname": {
  11277. "description": "收款人名称",
  11278. "type": "string"
  11279. },
  11280. "bankcardbackphotourl": {
  11281. "description": "银行卡背面照地址",
  11282. "type": "string"
  11283. },
  11284. "bankcardfrontphotourl": {
  11285. "description": "银行卡正面照地址",
  11286. "type": "string"
  11287. },
  11288. "bankid": {
  11289. "description": "银行编码",
  11290. "type": "string"
  11291. },
  11292. "bankname": {
  11293. "description": "银行名称",
  11294. "type": "string"
  11295. },
  11296. "bankpictureurl": {
  11297. "description": "银行卡正面地址",
  11298. "type": "string"
  11299. },
  11300. "biznature": {
  11301. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11302. "type": "integer"
  11303. },
  11304. "bizscope": {
  11305. "description": "企业经营范围(企业)",
  11306. "type": "string"
  11307. },
  11308. "biztype": {
  11309. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11310. "type": "integer"
  11311. },
  11312. "brokerid": {
  11313. "description": "经纪人ID(加密存储)",
  11314. "type": "string"
  11315. },
  11316. "cardaddress": {
  11317. "description": "证件地址 (加密存储)",
  11318. "type": "string"
  11319. },
  11320. "cardbackphotourl": {
  11321. "description": "背面证件照地址",
  11322. "type": "string"
  11323. },
  11324. "cardfrontphotourl": {
  11325. "description": "正面证件照地址",
  11326. "type": "string"
  11327. },
  11328. "cardnum": {
  11329. "description": "证件号码 (加密存储)",
  11330. "type": "string"
  11331. },
  11332. "cardtype": {
  11333. "description": "证件类型",
  11334. "type": "integer"
  11335. },
  11336. "cityid": {
  11337. "description": "市",
  11338. "type": "integer"
  11339. },
  11340. "company": {
  11341. "description": "公司(个人)",
  11342. "type": "string"
  11343. },
  11344. "contactcardbackphotourl": {
  11345. "description": "联系人证件背面图片地址",
  11346. "type": "string"
  11347. },
  11348. "contactcardfrontphotourl": {
  11349. "description": "联系人证件正面图片地址",
  11350. "type": "string"
  11351. },
  11352. "contactname": {
  11353. "description": "联系人",
  11354. "type": "string"
  11355. },
  11356. "countryid": {
  11357. "description": "国家",
  11358. "type": "integer"
  11359. },
  11360. "createtime": {
  11361. "description": "开户申请时间",
  11362. "type": "string"
  11363. },
  11364. "cusbankid": {
  11365. "description": "签约类型",
  11366. "type": "string"
  11367. },
  11368. "cusbankname": {
  11369. "description": "签约类型名称",
  11370. "type": "string"
  11371. },
  11372. "customername": {
  11373. "description": "客户名称(企业名称)",
  11374. "type": "string"
  11375. },
  11376. "districtid": {
  11377. "description": "地区",
  11378. "type": "integer"
  11379. },
  11380. "email": {
  11381. "description": "Email地址(加密存储)",
  11382. "type": "string"
  11383. },
  11384. "halfbodyphotourl": {
  11385. "description": "半身照地址",
  11386. "type": "string"
  11387. },
  11388. "headurl": {
  11389. "description": "头像地址",
  11390. "type": "string"
  11391. },
  11392. "ipaddress": {
  11393. "description": "IP地址",
  11394. "type": "string"
  11395. },
  11396. "isvalidate": {
  11397. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11398. "type": "string"
  11399. },
  11400. "legalcardbackphotourl": {
  11401. "description": "法人身份证背面照地址",
  11402. "type": "string"
  11403. },
  11404. "legalcardfrontphotourl": {
  11405. "description": "法人身份证正面照地址",
  11406. "type": "string"
  11407. },
  11408. "legalpersonname": {
  11409. "description": "法人姓名(企业)",
  11410. "type": "string"
  11411. },
  11412. "logincode": {
  11413. "description": "登录帐号 (加密存储)",
  11414. "type": "string"
  11415. },
  11416. "memberareaid": {
  11417. "description": "所属会员ID",
  11418. "type": "integer"
  11419. },
  11420. "mobile2": {
  11421. "description": "手机号码[明文-尚志]",
  11422. "type": "string"
  11423. },
  11424. "mobilephone": {
  11425. "description": "手机号码 (加密存储)",
  11426. "type": "string"
  11427. },
  11428. "modifiedby": {
  11429. "description": "修改人帐号",
  11430. "type": "integer"
  11431. },
  11432. "modifiedtime": {
  11433. "description": "修改时间",
  11434. "type": "string"
  11435. },
  11436. "nickname": {
  11437. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11438. "type": "string"
  11439. },
  11440. "openmode": {
  11441. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11442. "type": "integer"
  11443. },
  11444. "otherurl": {
  11445. "description": "其它图片地址[使用分号分隔]",
  11446. "type": "string"
  11447. },
  11448. "postalcode": {
  11449. "description": "邮政编码",
  11450. "type": "string"
  11451. },
  11452. "provinceid": {
  11453. "description": "省",
  11454. "type": "integer"
  11455. },
  11456. "proxystatementurl": {
  11457. "description": "授权委托书",
  11458. "type": "string"
  11459. },
  11460. "qq": {
  11461. "description": "QQ(加密存储",
  11462. "type": "string"
  11463. },
  11464. "referral": {
  11465. "description": "推荐人编码",
  11466. "type": "string"
  11467. },
  11468. "remark": {
  11469. "description": "备注",
  11470. "type": "string"
  11471. },
  11472. "removebeforestatus": {
  11473. "description": "REMOVEBEFORESTATUS",
  11474. "type": "integer"
  11475. },
  11476. "sex": {
  11477. "description": "性别 - 0:女 1:男",
  11478. "type": "integer"
  11479. },
  11480. "signedstatus": {
  11481. "description": "账户一号签签约状态",
  11482. "type": "integer"
  11483. },
  11484. "signpdfurl": {
  11485. "description": "签约pdf文件",
  11486. "type": "string"
  11487. },
  11488. "subbranch": {
  11489. "description": "开户支行",
  11490. "type": "string"
  11491. },
  11492. "taxpayernum": {
  11493. "description": "纳税人识别号",
  11494. "type": "string"
  11495. },
  11496. "telphone": {
  11497. "description": "联系电话(加密存储)",
  11498. "type": "string"
  11499. },
  11500. "userid": {
  11501. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11502. "type": "integer"
  11503. },
  11504. "userinfotype": {
  11505. "description": "用户信息类型 - 1:个人 2:企业",
  11506. "type": "integer"
  11507. },
  11508. "username": {
  11509. "description": "用户姓名",
  11510. "type": "string"
  11511. },
  11512. "userstate": {
  11513. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11514. "type": "integer"
  11515. },
  11516. "usertype": {
  11517. "description": "用户类型 - 1:投资者 2:机构",
  11518. "type": "integer"
  11519. },
  11520. "videourl": {
  11521. "description": "视频地址",
  11522. "type": "string"
  11523. },
  11524. "wechat": {
  11525. "description": "微信号 (加密存储)",
  11526. "type": "string"
  11527. }
  11528. }
  11529. },
  11530. "erms3.CustomerInfo": {
  11531. "type": "object",
  11532. "required": [
  11533. "userid"
  11534. ],
  11535. "properties": {
  11536. "accountids": {
  11537. "description": "资金账户ID列表",
  11538. "type": "array",
  11539. "items": {
  11540. "type": "integer"
  11541. }
  11542. },
  11543. "customername": {
  11544. "description": "名称(企业名称)",
  11545. "type": "string"
  11546. },
  11547. "mobile": {
  11548. "description": "手机号码",
  11549. "type": "string"
  11550. },
  11551. "userid": {
  11552. "description": "用户ID",
  11553. "type": "integer"
  11554. }
  11555. }
  11556. },
  11557. "erms3.ModifyUserInfoApplyReq": {
  11558. "type": "object",
  11559. "required": [
  11560. "userid"
  11561. ],
  11562. "properties": {
  11563. "accountid": {
  11564. "description": "交易系统帐号Id (加密存储)",
  11565. "type": "integer"
  11566. },
  11567. "areacode": {
  11568. "description": "机构代码",
  11569. "type": "string"
  11570. },
  11571. "areaid": {
  11572. "description": "机构Id",
  11573. "type": "integer"
  11574. },
  11575. "attachment1": {
  11576. "description": "附件1",
  11577. "type": "string"
  11578. },
  11579. "attachment2": {
  11580. "description": "附件2",
  11581. "type": "string"
  11582. },
  11583. "attachment3": {
  11584. "description": "附件3",
  11585. "type": "string"
  11586. },
  11587. "attachment4": {
  11588. "description": "附件4",
  11589. "type": "string"
  11590. },
  11591. "attachment5": {
  11592. "description": "附件5",
  11593. "type": "string"
  11594. },
  11595. "auditedby": {
  11596. "description": "审核人",
  11597. "type": "string"
  11598. },
  11599. "auditime": {
  11600. "description": "审核时间",
  11601. "type": "string"
  11602. },
  11603. "auditsrc": {
  11604. "description": "审核来源 - 1:管理端 2:终端",
  11605. "type": "integer"
  11606. },
  11607. "bankaccount": {
  11608. "description": "银行帐号 (加密存储)",
  11609. "type": "string"
  11610. },
  11611. "bankaccountname": {
  11612. "description": "收款人名称",
  11613. "type": "string"
  11614. },
  11615. "bankcardbackphotourl": {
  11616. "description": "银行卡背面照地址",
  11617. "type": "string"
  11618. },
  11619. "bankcardfrontphotourl": {
  11620. "description": "银行卡正面照地址",
  11621. "type": "string"
  11622. },
  11623. "bankid": {
  11624. "description": "银行编码",
  11625. "type": "string"
  11626. },
  11627. "bankname": {
  11628. "description": "银行名称",
  11629. "type": "string"
  11630. },
  11631. "bankpictureurl": {
  11632. "description": "银行卡正面地址",
  11633. "type": "string"
  11634. },
  11635. "biznature": {
  11636. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11637. "type": "integer"
  11638. },
  11639. "bizscope": {
  11640. "description": "企业经营范围(企业)",
  11641. "type": "string"
  11642. },
  11643. "biztype": {
  11644. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11645. "type": "integer"
  11646. },
  11647. "brokerid": {
  11648. "description": "经纪人ID(加密存储)",
  11649. "type": "string"
  11650. },
  11651. "cardaddress": {
  11652. "description": "证件地址 (加密存储)",
  11653. "type": "string"
  11654. },
  11655. "cardbackphotourl": {
  11656. "description": "背面证件照地址",
  11657. "type": "string"
  11658. },
  11659. "cardfrontphotourl": {
  11660. "description": "正面证件照地址",
  11661. "type": "string"
  11662. },
  11663. "cardnum": {
  11664. "description": "证件号码 (加密存储)",
  11665. "type": "string"
  11666. },
  11667. "cardtype": {
  11668. "description": "证件类型",
  11669. "type": "integer"
  11670. },
  11671. "cityid": {
  11672. "description": "市",
  11673. "type": "integer"
  11674. },
  11675. "company": {
  11676. "description": "公司(个人)",
  11677. "type": "string"
  11678. },
  11679. "contactcardbackphotourl": {
  11680. "description": "联系人证件背面图片地址",
  11681. "type": "string"
  11682. },
  11683. "contactcardfrontphotourl": {
  11684. "description": "联系人证件正面图片地址",
  11685. "type": "string"
  11686. },
  11687. "contactname": {
  11688. "description": "联系人",
  11689. "type": "string"
  11690. },
  11691. "countryid": {
  11692. "description": "国家",
  11693. "type": "integer"
  11694. },
  11695. "createtime": {
  11696. "description": "开户申请时间",
  11697. "type": "string"
  11698. },
  11699. "cusbankid": {
  11700. "description": "签约类型",
  11701. "type": "string"
  11702. },
  11703. "cusbankname": {
  11704. "description": "签约类型名称",
  11705. "type": "string"
  11706. },
  11707. "customername": {
  11708. "description": "客户名称(企业名称)",
  11709. "type": "string"
  11710. },
  11711. "districtid": {
  11712. "description": "地区",
  11713. "type": "integer"
  11714. },
  11715. "email": {
  11716. "description": "Email地址(加密存储)",
  11717. "type": "string"
  11718. },
  11719. "halfbodyphotourl": {
  11720. "description": "半身照地址",
  11721. "type": "string"
  11722. },
  11723. "headurl": {
  11724. "description": "头像地址",
  11725. "type": "string"
  11726. },
  11727. "ipaddress": {
  11728. "description": "IP地址",
  11729. "type": "string"
  11730. },
  11731. "isvalidate": {
  11732. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11733. "type": "string"
  11734. },
  11735. "legalcardbackphotourl": {
  11736. "description": "法人身份证背面照地址",
  11737. "type": "string"
  11738. },
  11739. "legalcardfrontphotourl": {
  11740. "description": "法人身份证正面照地址",
  11741. "type": "string"
  11742. },
  11743. "legalpersonname": {
  11744. "description": "法人姓名(企业)",
  11745. "type": "string"
  11746. },
  11747. "logincode": {
  11748. "description": "登录帐号 (加密存储)",
  11749. "type": "string"
  11750. },
  11751. "memberareaid": {
  11752. "description": "所属会员ID",
  11753. "type": "integer"
  11754. },
  11755. "mobile2": {
  11756. "description": "手机号码[明文-尚志]",
  11757. "type": "string"
  11758. },
  11759. "mobilephone": {
  11760. "description": "手机号码 (加密存储)",
  11761. "type": "string"
  11762. },
  11763. "modifiedby": {
  11764. "description": "修改人帐号",
  11765. "type": "integer"
  11766. },
  11767. "modifiedtime": {
  11768. "description": "修改时间",
  11769. "type": "string"
  11770. },
  11771. "nickname": {
  11772. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11773. "type": "string"
  11774. },
  11775. "openmode": {
  11776. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11777. "type": "integer"
  11778. },
  11779. "otherurl": {
  11780. "description": "其它图片地址[使用分号分隔]",
  11781. "type": "string"
  11782. },
  11783. "postalcode": {
  11784. "description": "邮政编码",
  11785. "type": "string"
  11786. },
  11787. "provinceid": {
  11788. "description": "省",
  11789. "type": "integer"
  11790. },
  11791. "proxystatementurl": {
  11792. "description": "授权委托书",
  11793. "type": "string"
  11794. },
  11795. "qq": {
  11796. "description": "QQ(加密存储",
  11797. "type": "string"
  11798. },
  11799. "referral": {
  11800. "description": "推荐人编码",
  11801. "type": "string"
  11802. },
  11803. "remark": {
  11804. "description": "备注",
  11805. "type": "string"
  11806. },
  11807. "removebeforestatus": {
  11808. "description": "REMOVEBEFORESTATUS",
  11809. "type": "integer"
  11810. },
  11811. "sex": {
  11812. "description": "性别 - 0:女 1:男",
  11813. "type": "integer"
  11814. },
  11815. "signedstatus": {
  11816. "description": "账户一号签签约状态",
  11817. "type": "integer"
  11818. },
  11819. "signpdfurl": {
  11820. "description": "签约pdf文件",
  11821. "type": "string"
  11822. },
  11823. "subbranch": {
  11824. "description": "开户支行",
  11825. "type": "string"
  11826. },
  11827. "taxpayernum": {
  11828. "description": "纳税人识别号",
  11829. "type": "string"
  11830. },
  11831. "telphone": {
  11832. "description": "联系电话(加密存储)",
  11833. "type": "string"
  11834. },
  11835. "userid": {
  11836. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11837. "type": "integer"
  11838. },
  11839. "userinfotype": {
  11840. "description": "用户信息类型 - 1:个人 2:企业",
  11841. "type": "integer"
  11842. },
  11843. "username": {
  11844. "description": "用户姓名",
  11845. "type": "string"
  11846. },
  11847. "userstate": {
  11848. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11849. "type": "integer"
  11850. },
  11851. "usertype": {
  11852. "description": "用户类型 - 1:投资者 2:机构",
  11853. "type": "integer"
  11854. },
  11855. "videourl": {
  11856. "description": "视频地址",
  11857. "type": "string"
  11858. },
  11859. "wechat": {
  11860. "description": "微信号 (加密存储)",
  11861. "type": "string"
  11862. }
  11863. }
  11864. },
  11865. "erms3.QryAuditContractRsp": {
  11866. "type": "object",
  11867. "required": [
  11868. "matchcustomername",
  11869. "spotcontractid"
  11870. ],
  11871. "properties": {
  11872. "accountid": {
  11873. "description": "交易员ID",
  11874. "type": "string"
  11875. },
  11876. "applystatus": {
  11877. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11878. "type": "integer"
  11879. },
  11880. "curdeliveryqty": {
  11881. "description": "未交收量",
  11882. "type": "integer"
  11883. },
  11884. "customername": {
  11885. "description": "采购方ID",
  11886. "type": "string"
  11887. },
  11888. "deliverygoodsid": {
  11889. "description": "品种ID",
  11890. "type": "string"
  11891. },
  11892. "deliveryqty": {
  11893. "description": "交收量",
  11894. "type": "integer"
  11895. },
  11896. "enumdicname": {
  11897. "description": "单位名称",
  11898. "type": "string"
  11899. },
  11900. "matchaccountid": {
  11901. "description": "业务员ID",
  11902. "type": "string"
  11903. },
  11904. "matchcustomername": {
  11905. "description": "销售方ID",
  11906. "type": "string"
  11907. },
  11908. "pricedqty": {
  11909. "description": "定价量",
  11910. "type": "number"
  11911. },
  11912. "signdate": {
  11913. "description": "签订日期",
  11914. "type": "string"
  11915. },
  11916. "spotcontractid": {
  11917. "description": "合同ID",
  11918. "type": "string"
  11919. },
  11920. "totaldqty": {
  11921. "description": "合同量",
  11922. "type": "number"
  11923. },
  11924. "unpricedqty": {
  11925. "description": "未定价量",
  11926. "type": "number"
  11927. },
  11928. "wrstandardname": {
  11929. "description": "商品名称",
  11930. "type": "string"
  11931. }
  11932. }
  11933. },
  11934. "erms3.QryPendingBizRsp": {
  11935. "$ref": "#/definitions/models.PendingAuditBizModel"
  11936. },
  11937. "erms3.QueryBusinessInfoRsp": {
  11938. "type": "object",
  11939. "properties": {
  11940. "businessid": {
  11941. "description": "业务ID.",
  11942. "type": "integer"
  11943. },
  11944. "buyamount": {
  11945. "description": "采购额.",
  11946. "type": "number"
  11947. },
  11948. "buyqty": {
  11949. "description": "采购量.",
  11950. "type": "string"
  11951. },
  11952. "futurepl": {
  11953. "description": "期货盈亏.",
  11954. "type": "number"
  11955. },
  11956. "futureqty": {
  11957. "description": "期货敞口.",
  11958. "type": "string"
  11959. },
  11960. "goodsid": {
  11961. "description": "商品名称/商品代码.",
  11962. "type": "string"
  11963. },
  11964. "hedgingqty": {
  11965. "description": "套保量.",
  11966. "type": "string"
  11967. },
  11968. "sellamount": {
  11969. "description": "销售额.",
  11970. "type": "number"
  11971. },
  11972. "sellqty": {
  11973. "description": "销售量.",
  11974. "type": "string"
  11975. },
  11976. "spotmarketvalue": {
  11977. "description": "现货市值.",
  11978. "type": "number"
  11979. },
  11980. "spotpl": {
  11981. "description": "浮动权益.",
  11982. "type": "number"
  11983. },
  11984. "spotqty": {
  11985. "description": "现货量.",
  11986. "type": "string"
  11987. },
  11988. "statu": {
  11989. "description": "状态,0-未结束 1-已结束.",
  11990. "type": "integer"
  11991. },
  11992. "totalpl": {
  11993. "description": "总盈亏.",
  11994. "type": "number"
  11995. },
  11996. "totalqty": {
  11997. "description": "总敞口.",
  11998. "type": "string"
  11999. },
  12000. "type": {
  12001. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12002. "type": "integer"
  12003. }
  12004. }
  12005. },
  12006. "erms3.QuerySpotContractAppleFormRsp": {
  12007. "type": "object",
  12008. "properties": {
  12009. "goodses": {
  12010. "description": "合约列表",
  12011. "type": "array",
  12012. "items": {
  12013. "$ref": "#/definitions/models.GoodsIDAndName"
  12014. }
  12015. },
  12016. "oppositeusers": {
  12017. "description": "对方账号列表",
  12018. "type": "array",
  12019. "items": {
  12020. "$ref": "#/definitions/erms3.CustomerInfo"
  12021. }
  12022. },
  12023. "ouruser": {
  12024. "description": "我方账号",
  12025. "type": "object",
  12026. "$ref": "#/definitions/erms3.CustomerInfo"
  12027. },
  12028. "warehouseinfos": {
  12029. "description": "仓库信息列表",
  12030. "type": "array",
  12031. "items": {
  12032. "$ref": "#/definitions/models.Warehouseinfo"
  12033. }
  12034. },
  12035. "wrstandards": {
  12036. "description": "仓单标准列表",
  12037. "type": "array",
  12038. "items": {
  12039. "$ref": "#/definitions/models.WRStandardInfo"
  12040. }
  12041. }
  12042. }
  12043. },
  12044. "erms3.QuerySpotContractInfoRsp": {
  12045. "type": "object",
  12046. "properties": {
  12047. "accountid": {
  12048. "description": "表示交易员ID.",
  12049. "type": "integer"
  12050. },
  12051. "curdeliveryqty": {
  12052. "description": "表示未交收量.",
  12053. "type": "number"
  12054. },
  12055. "customername": {
  12056. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12057. "type": "string"
  12058. },
  12059. "deliverygoodsid": {
  12060. "description": "表示品种ID.",
  12061. "type": "string"
  12062. },
  12063. "deliveryqty": {
  12064. "description": "表示交收量.",
  12065. "type": "number"
  12066. },
  12067. "matchaccountid": {
  12068. "description": "表示业务员ID.",
  12069. "type": "integer"
  12070. },
  12071. "matchcustomername": {
  12072. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12073. "type": "string"
  12074. },
  12075. "priceqty": {
  12076. "description": "表示定价量.",
  12077. "type": "number"
  12078. },
  12079. "relatedbizid": {
  12080. "description": "表示业务ID.",
  12081. "type": "string"
  12082. },
  12083. "signdate": {
  12084. "description": "表示签订日期.",
  12085. "type": "string"
  12086. },
  12087. "spotcontractid": {
  12088. "description": "合同ID",
  12089. "type": "string"
  12090. },
  12091. "status": {
  12092. "description": "表示状态,0-履约中 1-已完成.",
  12093. "type": "integer"
  12094. },
  12095. "totalqty": {
  12096. "description": "表示合同量.",
  12097. "type": "number"
  12098. },
  12099. "unpricedqty": {
  12100. "description": "表示未定价量.",
  12101. "type": "number"
  12102. },
  12103. "wrstandardname": {
  12104. "description": "表示商品ID.",
  12105. "type": "string"
  12106. }
  12107. }
  12108. },
  12109. "erms3.QueryUserInfoAppliesRsp": {
  12110. "type": "object",
  12111. "required": [
  12112. "userid"
  12113. ],
  12114. "properties": {
  12115. "biznature": {
  12116. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12117. "type": "integer"
  12118. },
  12119. "contactname": {
  12120. "description": "联系人",
  12121. "type": "string"
  12122. },
  12123. "createtime": {
  12124. "description": "开户申请时间",
  12125. "type": "string"
  12126. },
  12127. "userid": {
  12128. "description": "用户ID(自增ID)",
  12129. "type": "integer"
  12130. },
  12131. "userinfotype": {
  12132. "description": "用户信息类型 - 1:个人 2:企业",
  12133. "type": "integer"
  12134. },
  12135. "username": {
  12136. "description": "用户姓名",
  12137. "type": "string"
  12138. },
  12139. "userstate": {
  12140. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12141. "type": "integer"
  12142. }
  12143. }
  12144. },
  12145. "erms3.QueryUserInfosRsp": {
  12146. "type": "object",
  12147. "required": [
  12148. "userid"
  12149. ],
  12150. "properties": {
  12151. "biznature": {
  12152. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12153. "type": "integer"
  12154. },
  12155. "contactname": {
  12156. "description": "联系人",
  12157. "type": "string"
  12158. },
  12159. "customername": {
  12160. "description": "客户名称(企业名称)",
  12161. "type": "string"
  12162. },
  12163. "userid": {
  12164. "description": "用户ID",
  12165. "type": "integer"
  12166. },
  12167. "userinfotype": {
  12168. "description": "用户信息类型 - 1:个人 2:企业",
  12169. "type": "integer"
  12170. },
  12171. "userstatus": {
  12172. "description": "用户状态 - 1:正常 2:注销",
  12173. "type": "integer"
  12174. }
  12175. }
  12176. },
  12177. "erms3.SoptContractDetail": {
  12178. "type": "object",
  12179. "required": [
  12180. "deliverygoodsid",
  12181. "producttype",
  12182. "unitname",
  12183. "warehouseid",
  12184. "wrstandardid",
  12185. "wrstandardname"
  12186. ],
  12187. "properties": {
  12188. "deliverygoodsdesc": {
  12189. "description": "现货品种说明",
  12190. "type": "string"
  12191. },
  12192. "deliverygoodsid": {
  12193. "description": "现货品种ID",
  12194. "type": "integer"
  12195. },
  12196. "deliverygoodsname": {
  12197. "description": "现货品种名称",
  12198. "type": "string"
  12199. },
  12200. "pointdesc": {
  12201. "description": "点价描述",
  12202. "type": "string"
  12203. },
  12204. "producttype": {
  12205. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12206. "type": "integer"
  12207. },
  12208. "producttypename": {
  12209. "description": "产品类型名称",
  12210. "type": "string"
  12211. },
  12212. "spotPointOrderVoList": {
  12213. "description": "点价列表",
  12214. "type": "array",
  12215. "items": {
  12216. "$ref": "#/definitions/erms3.SpotPointOrder"
  12217. }
  12218. },
  12219. "spotPriceOrderList": {
  12220. "description": "定价列表",
  12221. "type": "array",
  12222. "items": {
  12223. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12224. }
  12225. },
  12226. "unitname": {
  12227. "description": "单位名称",
  12228. "type": "string"
  12229. },
  12230. "warehouseid": {
  12231. "description": "仓库ID",
  12232. "type": "integer"
  12233. },
  12234. "warehousename": {
  12235. "description": "仓库名称",
  12236. "type": "string"
  12237. },
  12238. "wrstandardid": {
  12239. "description": "交易标的ID",
  12240. "type": "integer"
  12241. },
  12242. "wrstandardname": {
  12243. "description": "交易标的名称",
  12244. "type": "string"
  12245. }
  12246. }
  12247. },
  12248. "erms3.SpotPointOrder": {
  12249. "type": "object",
  12250. "required": [
  12251. "basic",
  12252. "goodsid",
  12253. "qty"
  12254. ],
  12255. "properties": {
  12256. "basic": {
  12257. "description": "基差",
  12258. "type": "number"
  12259. },
  12260. "deliveryenddate": {
  12261. "description": "交收结束日期",
  12262. "type": "string"
  12263. },
  12264. "deliverystartdate": {
  12265. "description": "交收开始日期",
  12266. "type": "string"
  12267. },
  12268. "enddate": {
  12269. "description": "点价结束日期",
  12270. "type": "string"
  12271. },
  12272. "goodsid": {
  12273. "description": "商品ID",
  12274. "type": "integer"
  12275. },
  12276. "goodsname": {
  12277. "description": "商品名称",
  12278. "type": "string"
  12279. },
  12280. "qty": {
  12281. "description": "数量",
  12282. "type": "number"
  12283. },
  12284. "startdate": {
  12285. "description": "点价开始日期",
  12286. "type": "string"
  12287. }
  12288. }
  12289. },
  12290. "erms3.SpotPriceOrder": {
  12291. "type": "object",
  12292. "required": [
  12293. "amount",
  12294. "price",
  12295. "qty"
  12296. ],
  12297. "properties": {
  12298. "amount": {
  12299. "description": "金额",
  12300. "type": "number"
  12301. },
  12302. "deliveryenddate": {
  12303. "description": "交收结束日期",
  12304. "type": "string"
  12305. },
  12306. "deliverystartdate": {
  12307. "description": "交收开始日期",
  12308. "type": "string"
  12309. },
  12310. "price": {
  12311. "description": "价格",
  12312. "type": "number"
  12313. },
  12314. "qty": {
  12315. "description": "数量",
  12316. "type": "number"
  12317. }
  12318. }
  12319. },
  12320. "hsby.GetHsbyMyCountRsp": {
  12321. "type": "object",
  12322. "properties": {
  12323. "myCouponCount": {
  12324. "description": "我的优惠卷数量",
  12325. "type": "integer"
  12326. },
  12327. "myOrderDetailListingCount": {
  12328. "description": "我的订单求购中数量",
  12329. "type": "integer"
  12330. },
  12331. "myOrderDetailPreCount": {
  12332. "description": "我的订单抢购中数量",
  12333. "type": "integer"
  12334. },
  12335. "myPackageUnReceiveCount": {
  12336. "description": "我的包裹待收货数量",
  12337. "type": "integer"
  12338. },
  12339. "myPackageUnSendCount": {
  12340. "description": "我的包裹待发货数量",
  12341. "type": "integer"
  12342. },
  12343. "myPayOrderCount": {
  12344. "description": "我的订单待付款数量",
  12345. "type": "integer"
  12346. }
  12347. }
  12348. },
  12349. "hsby.QueryProvincesAndCitiesRsp": {
  12350. "type": "object",
  12351. "properties": {
  12352. "cities": {
  12353. "description": "市",
  12354. "type": "array",
  12355. "items": {
  12356. "$ref": "#/definitions/models.Division"
  12357. }
  12358. },
  12359. "province": {
  12360. "description": "省",
  12361. "type": "object",
  12362. "$ref": "#/definitions/models.Division"
  12363. }
  12364. }
  12365. },
  12366. "models.AreaSpotModel": {
  12367. "type": "object",
  12368. "properties": {
  12369. "areauserid": {
  12370. "description": "所属机构",
  12371. "type": "integer"
  12372. },
  12373. "decreaseqty": {
  12374. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12375. "type": "number"
  12376. },
  12377. "increaseqty": {
  12378. "description": "增加数量=销售计划数量+采购已定价数量",
  12379. "type": "number"
  12380. },
  12381. "oritoalspotqty": {
  12382. "description": "昨日数量",
  12383. "type": "number"
  12384. },
  12385. "totalspotqty": {
  12386. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12387. "type": "number"
  12388. },
  12389. "updatetime": {
  12390. "description": "更新时间",
  12391. "type": "string"
  12392. },
  12393. "wrstandardcode": {
  12394. "description": "现货品种代码",
  12395. "type": "string"
  12396. },
  12397. "wrstandardid": {
  12398. "description": "现货商品ID",
  12399. "type": "integer"
  12400. },
  12401. "wrstandardname": {
  12402. "description": "现货品种",
  12403. "type": "string"
  12404. }
  12405. }
  12406. },
  12407. "models.Arearole": {
  12408. "type": "object",
  12409. "required": [
  12410. "roletype",
  12411. "userid"
  12412. ],
  12413. "properties": {
  12414. "createtime": {
  12415. "description": "创建时间",
  12416. "type": "string"
  12417. },
  12418. "creatorid": {
  12419. "description": "创建人ID",
  12420. "type": "integer"
  12421. },
  12422. "isreturnscore": {
  12423. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12424. "type": "integer"
  12425. },
  12426. "modifierid": {
  12427. "description": "修改人ID",
  12428. "type": "integer"
  12429. },
  12430. "modifytime": {
  12431. "description": "修改时间",
  12432. "type": "string"
  12433. },
  12434. "orgtype": {
  12435. "description": "组织机构类型 1:机构 2:交易员",
  12436. "type": "integer"
  12437. },
  12438. "outuserid": {
  12439. "description": "外部账户[场外期权做市商]",
  12440. "type": "string"
  12441. },
  12442. "parentuserid": {
  12443. "description": "上级组织机构(组织机构)",
  12444. "type": "integer"
  12445. },
  12446. "roletype": {
  12447. "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:交易员",
  12448. "type": "integer"
  12449. },
  12450. "rootuserid": {
  12451. "description": "顶级组织机构用户ID(组织机构)",
  12452. "type": "integer"
  12453. },
  12454. "shoppassword": {
  12455. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12456. "type": "string"
  12457. },
  12458. "sublevelpath": {
  12459. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12460. "type": "string"
  12461. },
  12462. "tradeaccountid": {
  12463. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12464. "type": "integer"
  12465. },
  12466. "transurl": {
  12467. "description": "物流地址(物流机构)",
  12468. "type": "string"
  12469. },
  12470. "userid": {
  12471. "description": "机构用户ID其他做市关系,都设置为 1",
  12472. "type": "integer"
  12473. }
  12474. }
  12475. },
  12476. "models.Clientfixedadconfig": {
  12477. "type": "object",
  12478. "required": [
  12479. "adsort",
  12480. "adtype"
  12481. ],
  12482. "properties": {
  12483. "adsort": {
  12484. "description": "排序",
  12485. "type": "integer"
  12486. },
  12487. "adtype": {
  12488. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12489. "type": "integer"
  12490. },
  12491. "areauserid": {
  12492. "description": "所属机构ID",
  12493. "type": "integer"
  12494. },
  12495. "createdate": {
  12496. "description": "创建时间",
  12497. "type": "string"
  12498. },
  12499. "creatorid": {
  12500. "description": "创建人",
  12501. "type": "integer"
  12502. },
  12503. "imagepath": {
  12504. "description": "图片",
  12505. "type": "string"
  12506. },
  12507. "isshow": {
  12508. "description": "是否展示 - 0:不展示 1:展示",
  12509. "type": "integer"
  12510. },
  12511. "modifierid": {
  12512. "description": "操作人",
  12513. "type": "integer"
  12514. },
  12515. "recsize": {
  12516. "description": "推荐尺寸",
  12517. "type": "string"
  12518. },
  12519. "title": {
  12520. "description": "标题",
  12521. "type": "string"
  12522. },
  12523. "updatedate": {
  12524. "description": "更新时间",
  12525. "type": "string"
  12526. },
  12527. "urlcontent": {
  12528. "description": "链接(地址或商品ID)",
  12529. "type": "string"
  12530. },
  12531. "urltype": {
  12532. "description": "链接类型 - 1:直接地址 2:商品ID",
  12533. "type": "integer"
  12534. }
  12535. }
  12536. },
  12537. "models.Division": {
  12538. "type": "object",
  12539. "required": [
  12540. "autoid",
  12541. "divisioncode"
  12542. ],
  12543. "properties": {
  12544. "autoid": {
  12545. "description": "自增ID",
  12546. "type": "integer"
  12547. },
  12548. "divisioncode": {
  12549. "description": "行政代码",
  12550. "type": "string"
  12551. },
  12552. "divisionlevel": {
  12553. "description": "行政级别",
  12554. "type": "string"
  12555. },
  12556. "divisionname": {
  12557. "description": "行政名称",
  12558. "type": "string"
  12559. },
  12560. "modifierid": {
  12561. "description": "修改人",
  12562. "type": "integer"
  12563. },
  12564. "modifytime": {
  12565. "description": "修改时间",
  12566. "type": "string"
  12567. },
  12568. "parentcode": {
  12569. "description": "上级行政代码",
  12570. "type": "string"
  12571. },
  12572. "pathname": {
  12573. "description": "路径名称",
  12574. "type": "string"
  12575. },
  12576. "postcode": {
  12577. "description": "邮政编码",
  12578. "type": "string"
  12579. },
  12580. "separablename": {
  12581. "description": "可拆分的全称",
  12582. "type": "string"
  12583. },
  12584. "shortcode": {
  12585. "description": "地区简码",
  12586. "type": "string"
  12587. }
  12588. }
  12589. },
  12590. "models.Enumdicitem": {
  12591. "type": "object",
  12592. "required": [
  12593. "autoid",
  12594. "enumdiccode",
  12595. "enumdicid",
  12596. "enumitemname"
  12597. ],
  12598. "properties": {
  12599. "autoid": {
  12600. "description": "自增ID",
  12601. "type": "integer"
  12602. },
  12603. "bankmappedvalue": {
  12604. "description": "银行服务对应值",
  12605. "type": "string"
  12606. },
  12607. "enumdiccode": {
  12608. "description": "所属枚举代码",
  12609. "type": "string"
  12610. },
  12611. "enumdicid": {
  12612. "description": "所属枚举ID",
  12613. "type": "integer"
  12614. },
  12615. "enumdicname": {
  12616. "description": "枚举项名称",
  12617. "type": "string"
  12618. },
  12619. "enumitemname": {
  12620. "description": "枚举项值",
  12621. "type": "integer"
  12622. },
  12623. "enumitemstatus": {
  12624. "description": "枚举项状态 - 1.启用 2.不启用",
  12625. "type": "integer"
  12626. },
  12627. "enumitemvalue": {
  12628. "description": "通用值 - [币种通用简写]",
  12629. "type": "string"
  12630. },
  12631. "param1": {
  12632. "description": "参数1[币种:币种小数位]",
  12633. "type": "string"
  12634. },
  12635. "param2": {
  12636. "description": "参数1[币种:币种显示单位]",
  12637. "type": "string"
  12638. },
  12639. "remark": {
  12640. "description": "备注",
  12641. "type": "string"
  12642. }
  12643. }
  12644. },
  12645. "models.Ermcp3AreaSpot": {
  12646. "type": "object",
  12647. "properties": {
  12648. "areauserid": {
  12649. "description": "所属机构",
  12650. "type": "integer"
  12651. },
  12652. "decreaseqty": {
  12653. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12654. "type": "number"
  12655. },
  12656. "deliverygoodscode": {
  12657. "description": "现货品种代码",
  12658. "type": "string"
  12659. },
  12660. "deliverygoodsid": {
  12661. "description": "现货品种id",
  12662. "type": "integer"
  12663. },
  12664. "deliverygoodsname": {
  12665. "description": "现货品种名称",
  12666. "type": "string"
  12667. },
  12668. "enumdicname": {
  12669. "description": "单位名称",
  12670. "type": "string"
  12671. },
  12672. "goodsunitid": {
  12673. "description": "现货品种单位id",
  12674. "type": "integer"
  12675. },
  12676. "increaseqty": {
  12677. "description": "增加数量=销售计划数量+采购已定价数量",
  12678. "type": "number"
  12679. },
  12680. "oritoalspotqty": {
  12681. "description": "昨日数量",
  12682. "type": "number"
  12683. },
  12684. "totalspotqty": {
  12685. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12686. "type": "number"
  12687. },
  12688. "updatetime": {
  12689. "description": "更新时间",
  12690. "type": "string"
  12691. }
  12692. }
  12693. },
  12694. "models.Ermcp3AreaSpotDetail": {
  12695. "type": "object",
  12696. "properties": {
  12697. "contracttype": {
  12698. "description": "合同类型 1-采购 -1-销售",
  12699. "type": "integer"
  12700. },
  12701. "createtime": {
  12702. "description": "创建时间",
  12703. "type": "string"
  12704. },
  12705. "deliverygoodscode": {
  12706. "description": "现货品种代码",
  12707. "type": "string"
  12708. },
  12709. "deliverygoodsid": {
  12710. "description": "现货品种id",
  12711. "type": "integer"
  12712. },
  12713. "deliverygoodsname": {
  12714. "description": "现货品种名称",
  12715. "type": "string"
  12716. },
  12717. "enumdicname": {
  12718. "description": "现货商品单位名称",
  12719. "type": "string"
  12720. },
  12721. "logtype": {
  12722. "description": "记录类型 1-套保 2-现货合同",
  12723. "type": "integer"
  12724. },
  12725. "qty": {
  12726. "description": "数量",
  12727. "type": "number"
  12728. },
  12729. "recordname": {
  12730. "description": "类型名称",
  12731. "type": "string"
  12732. },
  12733. "relatedid": {
  12734. "description": "套保计划ID/现货合同ID",
  12735. "type": "string"
  12736. },
  12737. "relatedno": {
  12738. "description": "编号",
  12739. "type": "string"
  12740. },
  12741. "strtime": {
  12742. "description": "时间",
  12743. "type": "string"
  12744. }
  12745. }
  12746. },
  12747. "models.Ermcp3AreaSpotPLReport": {
  12748. "type": "object",
  12749. "properties": {
  12750. "accountid": {
  12751. "description": "期货账户ID (作废, 默认为0)",
  12752. "type": "integer"
  12753. },
  12754. "accountname": {
  12755. "description": "机构名称",
  12756. "type": "string"
  12757. },
  12758. "actualpl": {
  12759. "description": "现货损益",
  12760. "type": "number"
  12761. },
  12762. "areauserid": {
  12763. "description": "所属机构\\交易用户ID",
  12764. "type": "integer"
  12765. },
  12766. "begindate": {
  12767. "description": "开始交易日",
  12768. "type": "string"
  12769. },
  12770. "biztype": {
  12771. "description": "业务类型 - 1:套保 2:套利",
  12772. "type": "integer"
  12773. },
  12774. "brandname": {
  12775. "description": "品牌名称",
  12776. "type": "string"
  12777. },
  12778. "curamount": {
  12779. "description": "期末额",
  12780. "type": "number"
  12781. },
  12782. "curaverageprice": {
  12783. "description": "期末均价",
  12784. "type": "number"
  12785. },
  12786. "curbuyamount": {
  12787. "description": "期末采购总额",
  12788. "type": "number"
  12789. },
  12790. "curbuyqty": {
  12791. "description": "期末采购总量",
  12792. "type": "number"
  12793. },
  12794. "curmarketvalue": {
  12795. "description": "参考市值(期末市值)",
  12796. "type": "number"
  12797. },
  12798. "curqty": {
  12799. "description": "期末量",
  12800. "type": "number"
  12801. },
  12802. "currencyid": {
  12803. "description": "结算币种ID【原值】",
  12804. "type": "integer"
  12805. },
  12806. "currencyname": {
  12807. "description": "币种名称",
  12808. "type": "string"
  12809. },
  12810. "cursellamount": {
  12811. "description": "期末销售总额",
  12812. "type": "number"
  12813. },
  12814. "cursellqty": {
  12815. "description": "期末销售总量",
  12816. "type": "number"
  12817. },
  12818. "curspotprice": {
  12819. "description": "参考市价(最新价)",
  12820. "type": "number"
  12821. },
  12822. "cycletime": {
  12823. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12824. "type": "string"
  12825. },
  12826. "cycletype": {
  12827. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12828. "type": "integer"
  12829. },
  12830. "deliverygoodscode": {
  12831. "description": "现货商品代码",
  12832. "type": "string"
  12833. },
  12834. "deliverygoodsid": {
  12835. "description": "现货品种ID",
  12836. "type": "integer"
  12837. },
  12838. "deliverygoodsname": {
  12839. "description": "现货商品名称",
  12840. "type": "string"
  12841. },
  12842. "enddate": {
  12843. "description": "结束交易日",
  12844. "type": "string"
  12845. },
  12846. "enumdicname": {
  12847. "description": "现货商品单位名称",
  12848. "type": "string"
  12849. },
  12850. "floatpl": {
  12851. "description": "浮动损益",
  12852. "type": "number"
  12853. },
  12854. "goodsunitid": {
  12855. "description": "现货商品单位id",
  12856. "type": "integer"
  12857. },
  12858. "oriamount": {
  12859. "description": "期初额",
  12860. "type": "number"
  12861. },
  12862. "oriaverageprice": {
  12863. "description": "期初均价",
  12864. "type": "number"
  12865. },
  12866. "oribuyamount": {
  12867. "description": "期初采购总额",
  12868. "type": "number"
  12869. },
  12870. "oribuyqty": {
  12871. "description": "期初采购总量",
  12872. "type": "number"
  12873. },
  12874. "oriqty": {
  12875. "description": "期初量",
  12876. "type": "number"
  12877. },
  12878. "orisellamount": {
  12879. "description": "期初销售总额",
  12880. "type": "number"
  12881. },
  12882. "orisellqty": {
  12883. "description": "期初销售总量",
  12884. "type": "number"
  12885. },
  12886. "reckondate": {
  12887. "description": "日照时期(yyyyMMdd)",
  12888. "type": "string"
  12889. },
  12890. "spotgoodsbrandid": {
  12891. "description": "现货品牌ID",
  12892. "type": "integer"
  12893. },
  12894. "todaybuyamount": {
  12895. "description": "今日采购额(今采购额)",
  12896. "type": "number"
  12897. },
  12898. "todaybuyaverageprice": {
  12899. "description": "今日采购均价",
  12900. "type": "number"
  12901. },
  12902. "todaybuyqty": {
  12903. "description": "今日采购量(今采购量)",
  12904. "type": "number"
  12905. },
  12906. "todayinqty": {
  12907. "description": "今日入库量(今入库量)",
  12908. "type": "number"
  12909. },
  12910. "todayoutqty": {
  12911. "description": "今日出库量(今出库量)",
  12912. "type": "number"
  12913. },
  12914. "todaysellamount": {
  12915. "description": "今日销售额(今销售额)",
  12916. "type": "number"
  12917. },
  12918. "todaysellaverageprice": {
  12919. "description": "今日销售均价",
  12920. "type": "number"
  12921. },
  12922. "todaysellqty": {
  12923. "description": "今日销售量(今销售量)",
  12924. "type": "number"
  12925. },
  12926. "unitid": {
  12927. "description": "品类单位id",
  12928. "type": "integer"
  12929. },
  12930. "unitidname": {
  12931. "description": "品类单位名称",
  12932. "type": "string"
  12933. },
  12934. "updatetime": {
  12935. "description": "更新时间",
  12936. "type": "string"
  12937. },
  12938. "wrfactortypeid": {
  12939. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12940. "type": "integer"
  12941. },
  12942. "wrstandardcode": {
  12943. "description": "品类代码",
  12944. "type": "string"
  12945. },
  12946. "wrstandardid": {
  12947. "description": "现货品类ID",
  12948. "type": "integer"
  12949. },
  12950. "wrstandardname": {
  12951. "description": "品类名称",
  12952. "type": "string"
  12953. }
  12954. }
  12955. },
  12956. "models.Ermcp3AreaStock": {
  12957. "type": "object",
  12958. "required": [
  12959. "userid"
  12960. ],
  12961. "properties": {
  12962. "brandname": {
  12963. "description": "品牌名称",
  12964. "type": "string"
  12965. },
  12966. "curstock": {
  12967. "description": "期末库存量(今日量)",
  12968. "type": "number"
  12969. },
  12970. "deliverygoodscode": {
  12971. "description": "现货品种代码",
  12972. "type": "string"
  12973. },
  12974. "deliverygoodsid": {
  12975. "description": "现货品种id",
  12976. "type": "integer"
  12977. },
  12978. "deliverygoodsname": {
  12979. "description": "现货品种名称",
  12980. "type": "string"
  12981. },
  12982. "enumdicname": {
  12983. "description": "单位名称",
  12984. "type": "string"
  12985. },
  12986. "goodsunitid": {
  12987. "description": "现货商品单位id",
  12988. "type": "integer"
  12989. },
  12990. "oristock": {
  12991. "description": "期初库存量(昨日量)",
  12992. "type": "number"
  12993. },
  12994. "spotgoodsbrandid": {
  12995. "description": "现货品牌ID",
  12996. "type": "integer"
  12997. },
  12998. "todaybuyinqty": {
  12999. "description": "今日采购入库量",
  13000. "type": "number"
  13001. },
  13002. "todayproduceinqty": {
  13003. "description": "今日生产入库量",
  13004. "type": "number"
  13005. },
  13006. "todayproduceoutqty": {
  13007. "description": "今日生产出库量",
  13008. "type": "number"
  13009. },
  13010. "todayselloutqty": {
  13011. "description": "今日销售出库量",
  13012. "type": "number"
  13013. },
  13014. "unitid": {
  13015. "description": "单位id",
  13016. "type": "integer"
  13017. },
  13018. "updatetime": {
  13019. "description": "更新时间",
  13020. "type": "string"
  13021. },
  13022. "userid": {
  13023. "description": "机构ID",
  13024. "type": "integer"
  13025. },
  13026. "username": {
  13027. "description": "机构名称",
  13028. "type": "string"
  13029. },
  13030. "warehousecode": {
  13031. "description": "仓库代码",
  13032. "type": "string"
  13033. },
  13034. "warehouseinfoid": {
  13035. "description": "仓库ID",
  13036. "type": "string"
  13037. },
  13038. "warehousename": {
  13039. "description": "仓库名称",
  13040. "type": "string"
  13041. },
  13042. "warehousetype": {
  13043. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13044. "type": "integer"
  13045. },
  13046. "wrstandardcode": {
  13047. "description": "品类代码",
  13048. "type": "string"
  13049. },
  13050. "wrstandardid": {
  13051. "description": "品类ID",
  13052. "type": "string"
  13053. },
  13054. "wrstandardname": {
  13055. "description": "品类名称",
  13056. "type": "string"
  13057. }
  13058. }
  13059. },
  13060. "models.Ermcp3AreaStockApply": {
  13061. "type": "object",
  13062. "properties": {
  13063. "applyid": {
  13064. "description": "申请人",
  13065. "type": "integer"
  13066. },
  13067. "applyname": {
  13068. "description": "申请人名称",
  13069. "type": "string"
  13070. },
  13071. "applyremark": {
  13072. "description": "申请备注",
  13073. "type": "string"
  13074. },
  13075. "applysrc": {
  13076. "description": "申请来源 - 1:管理端 2:终端",
  13077. "type": "integer"
  13078. },
  13079. "applystatus": {
  13080. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13081. "type": "integer"
  13082. },
  13083. "applytime": {
  13084. "description": "申请时间",
  13085. "type": "string"
  13086. },
  13087. "auditid": {
  13088. "description": "审核人",
  13089. "type": "integer"
  13090. },
  13091. "auditname": {
  13092. "description": "审核人名称",
  13093. "type": "string"
  13094. },
  13095. "auditremark": {
  13096. "description": "审核备注",
  13097. "type": "string"
  13098. },
  13099. "auditsrc": {
  13100. "description": "审核来源 - 1:管理端 2:终端",
  13101. "type": "integer"
  13102. },
  13103. "audittime": {
  13104. "description": "审核时间",
  13105. "type": "string"
  13106. },
  13107. "audittradedate": {
  13108. "description": "审核交易日(yyyyMMdd)",
  13109. "type": "string"
  13110. },
  13111. "brandname": {
  13112. "description": "品牌名称",
  13113. "type": "string"
  13114. },
  13115. "buynickname": {
  13116. "description": "采购方昵称",
  13117. "type": "string"
  13118. },
  13119. "buyuserid": {
  13120. "description": "采购方userid",
  13121. "type": "integer"
  13122. },
  13123. "buyusername": {
  13124. "description": "采购方名称",
  13125. "type": "string"
  13126. },
  13127. "contractno": {
  13128. "description": "合同编号",
  13129. "type": "string"
  13130. },
  13131. "contractqty": {
  13132. "description": "合同量",
  13133. "type": "number"
  13134. },
  13135. "contracttype": {
  13136. "description": "现货合同类型 - 1:采购 -1:销售",
  13137. "type": "integer"
  13138. },
  13139. "deliverygoodscode": {
  13140. "description": "现货品种代码",
  13141. "type": "string"
  13142. },
  13143. "deliverygoodsid": {
  13144. "description": "现货品种id",
  13145. "type": "integer"
  13146. },
  13147. "deliverygoodsname": {
  13148. "description": "现货品种名称",
  13149. "type": "string"
  13150. },
  13151. "detailjson": {
  13152. "description": "明细数据",
  13153. "type": "string"
  13154. },
  13155. "enumdicname": {
  13156. "description": "现货商品单位名称",
  13157. "type": "string"
  13158. },
  13159. "inoutapplyid": {
  13160. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13161. "type": "string"
  13162. },
  13163. "inouttype": {
  13164. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13165. "type": "integer"
  13166. },
  13167. "pricetype": {
  13168. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13169. "type": "integer"
  13170. },
  13171. "qty": {
  13172. "description": "数量",
  13173. "type": "number"
  13174. },
  13175. "sellnickname": {
  13176. "description": "销售方昵称",
  13177. "type": "string"
  13178. },
  13179. "selluserid": {
  13180. "description": "销售方userid",
  13181. "type": "integer"
  13182. },
  13183. "sellusername": {
  13184. "description": "销售方名称",
  13185. "type": "string"
  13186. },
  13187. "spotcontractid": {
  13188. "description": "关联现货合同ID",
  13189. "type": "string"
  13190. },
  13191. "spotgoodsbrandid": {
  13192. "description": "现货品牌ID",
  13193. "type": "integer"
  13194. },
  13195. "unitid": {
  13196. "description": "单位id",
  13197. "type": "integer"
  13198. },
  13199. "userid": {
  13200. "description": "机构ID",
  13201. "type": "integer"
  13202. },
  13203. "warehousecode": {
  13204. "description": "仓库代码",
  13205. "type": "string"
  13206. },
  13207. "warehouseinfoid": {
  13208. "description": "现货仓库ID",
  13209. "type": "string"
  13210. },
  13211. "warehousename": {
  13212. "description": "仓库名称",
  13213. "type": "string"
  13214. },
  13215. "warehousetype": {
  13216. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13217. "type": "integer"
  13218. },
  13219. "wrstandardcode": {
  13220. "description": "品类代码",
  13221. "type": "string"
  13222. },
  13223. "wrstandardid": {
  13224. "description": "品类ID",
  13225. "type": "integer"
  13226. },
  13227. "wrstandardname": {
  13228. "description": "品类名称",
  13229. "type": "string"
  13230. }
  13231. }
  13232. },
  13233. "models.Ermcp3AreaStockApplySum": {
  13234. "type": "object",
  13235. "properties": {
  13236. "brandname": {
  13237. "description": "品牌名称",
  13238. "type": "string"
  13239. },
  13240. "inouttype": {
  13241. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13242. "type": "integer"
  13243. },
  13244. "spotcontractid": {
  13245. "description": "关联现货合同ID",
  13246. "type": "string"
  13247. },
  13248. "spotgoodsbrandid": {
  13249. "description": "品牌id",
  13250. "type": "integer"
  13251. },
  13252. "totalqty": {
  13253. "description": "总数量",
  13254. "type": "number"
  13255. },
  13256. "wrstandardid": {
  13257. "description": "品类id",
  13258. "type": "integer"
  13259. },
  13260. "wrstandardname": {
  13261. "description": "品类名称",
  13262. "type": "string"
  13263. }
  13264. }
  13265. },
  13266. "models.Ermcp3AreaStockReportEx": {
  13267. "type": "object",
  13268. "properties": {
  13269. "begindate": {
  13270. "description": "开始交易日",
  13271. "type": "string"
  13272. },
  13273. "brandname": {
  13274. "description": "品牌名称",
  13275. "type": "string"
  13276. },
  13277. "curstock": {
  13278. "description": "期末库存量",
  13279. "type": "number"
  13280. },
  13281. "cycletime": {
  13282. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13283. "type": "string"
  13284. },
  13285. "cycletype": {
  13286. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13287. "type": "integer"
  13288. },
  13289. "deliverygoodscode": {
  13290. "description": "现货品种代码",
  13291. "type": "string"
  13292. },
  13293. "deliverygoodsid": {
  13294. "description": "现货品种id",
  13295. "type": "integer"
  13296. },
  13297. "deliverygoodsname": {
  13298. "description": "现货品种名称",
  13299. "type": "string"
  13300. },
  13301. "diffqty": {
  13302. "description": "库存变化量 = 期末 - 期初",
  13303. "type": "number"
  13304. },
  13305. "enddate": {
  13306. "description": "结束交易日",
  13307. "type": "string"
  13308. },
  13309. "enumdicname": {
  13310. "description": "单位名称",
  13311. "type": "string"
  13312. },
  13313. "goodsunitid": {
  13314. "description": "现货单位id",
  13315. "type": "integer"
  13316. },
  13317. "oristock": {
  13318. "description": "期初库存量",
  13319. "type": "number"
  13320. },
  13321. "reckondate": {
  13322. "description": "日照时期(yyyyMMdd)",
  13323. "type": "string"
  13324. },
  13325. "spotgoodsbrandid": {
  13326. "description": "现货品牌ID",
  13327. "type": "integer"
  13328. },
  13329. "todaybuyinqty": {
  13330. "description": "今采购入库量",
  13331. "type": "number"
  13332. },
  13333. "todayproduceinqty": {
  13334. "description": "今内部入库量",
  13335. "type": "number"
  13336. },
  13337. "todayproduceoutqty": {
  13338. "description": "今内部出库量",
  13339. "type": "number"
  13340. },
  13341. "todayselloutqty": {
  13342. "description": "今销售出库量",
  13343. "type": "number"
  13344. },
  13345. "unbuyinqty": {
  13346. "description": "采购未入库量(数据库未找到相关字段?)",
  13347. "type": "number"
  13348. },
  13349. "unitid": {
  13350. "description": "品类单位id",
  13351. "type": "integer"
  13352. },
  13353. "unselloutqty": {
  13354. "description": "销售未出库量(数据库未找到相关字段?)",
  13355. "type": "number"
  13356. },
  13357. "updatetime": {
  13358. "description": "更新时间",
  13359. "type": "string"
  13360. },
  13361. "userid": {
  13362. "description": "机构ID",
  13363. "type": "integer"
  13364. },
  13365. "username": {
  13366. "description": "机构名称",
  13367. "type": "string"
  13368. },
  13369. "warehousecode": {
  13370. "description": "仓库代码",
  13371. "type": "string"
  13372. },
  13373. "warehouseinfoid": {
  13374. "description": "仓库ID",
  13375. "type": "string"
  13376. },
  13377. "warehousename": {
  13378. "description": "仓库名称",
  13379. "type": "string"
  13380. },
  13381. "warehousetype": {
  13382. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13383. "type": "integer"
  13384. },
  13385. "wrstandardcode": {
  13386. "description": "品类代码",
  13387. "type": "string"
  13388. },
  13389. "wrstandardid": {
  13390. "description": "品类ID",
  13391. "type": "integer"
  13392. },
  13393. "wrstandardname": {
  13394. "description": "品类名称",
  13395. "type": "string"
  13396. }
  13397. }
  13398. },
  13399. "models.Ermcp3ArealSumPL": {
  13400. "type": "object",
  13401. "properties": {
  13402. "accountname": {
  13403. "description": "机构名称",
  13404. "type": "string"
  13405. },
  13406. "areauserid": {
  13407. "description": "所属机构\\交易用户ID",
  13408. "type": "integer"
  13409. },
  13410. "begindate": {
  13411. "description": "开始交易日",
  13412. "type": "string"
  13413. },
  13414. "currencyid": {
  13415. "description": "结算币种ID",
  13416. "type": "integer"
  13417. },
  13418. "currencyname": {
  13419. "description": "币种名称",
  13420. "type": "string"
  13421. },
  13422. "cycletime": {
  13423. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13424. "type": "string"
  13425. },
  13426. "cycletype": {
  13427. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13428. "type": "integer"
  13429. },
  13430. "enddate": {
  13431. "description": "结束交易日",
  13432. "type": "string"
  13433. },
  13434. "enumdicname": {
  13435. "description": "单位名称(套保品种)",
  13436. "type": "string"
  13437. },
  13438. "futureactualpl": {
  13439. "description": "期货损益",
  13440. "type": "number"
  13441. },
  13442. "futurefloatpl": {
  13443. "description": "期货浮动损益",
  13444. "type": "number"
  13445. },
  13446. "goodsunitid": {
  13447. "description": "套保品种单位id",
  13448. "type": "integer"
  13449. },
  13450. "middlegoodscode": {
  13451. "description": "套保品种代码",
  13452. "type": "string"
  13453. },
  13454. "middlegoodsid": {
  13455. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13456. "type": "integer"
  13457. },
  13458. "middlegoodsname": {
  13459. "description": "套保品种名称",
  13460. "type": "string"
  13461. },
  13462. "reckondate": {
  13463. "description": "日照时期(yyyyMMdd)",
  13464. "type": "string"
  13465. },
  13466. "spotactualpl": {
  13467. "description": "现货损益",
  13468. "type": "number"
  13469. },
  13470. "spotfloatpl": {
  13471. "description": "现货浮动损益",
  13472. "type": "number"
  13473. },
  13474. "sumactualpl": {
  13475. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13476. "type": "number"
  13477. },
  13478. "sumpl": {
  13479. "description": "汇总损益",
  13480. "type": "number"
  13481. },
  13482. "updatetime": {
  13483. "description": "更新时间",
  13484. "type": "string"
  13485. }
  13486. }
  13487. },
  13488. "models.Ermcp3Brand": {
  13489. "type": "object",
  13490. "properties": {
  13491. "areauserid": {
  13492. "description": "用户id",
  13493. "type": "integer"
  13494. },
  13495. "brandid": {
  13496. "description": "品牌id",
  13497. "type": "integer"
  13498. },
  13499. "brandname": {
  13500. "description": "品牌名称",
  13501. "type": "string"
  13502. },
  13503. "deliverygoodsid": {
  13504. "description": "品种ID",
  13505. "type": "integer"
  13506. }
  13507. }
  13508. },
  13509. "models.Ermcp3Contract": {
  13510. "type": "object",
  13511. "properties": {
  13512. "accountid": {
  13513. "description": "期货账户id",
  13514. "type": "string"
  13515. },
  13516. "amount": {
  13517. "description": "金额 [1:一口价、3:暂定价]",
  13518. "type": "number"
  13519. },
  13520. "attachment": {
  13521. "description": "附件",
  13522. "type": "string"
  13523. },
  13524. "auditremark": {
  13525. "description": "审核意见",
  13526. "type": "string"
  13527. },
  13528. "audittime": {
  13529. "description": "审核时间",
  13530. "type": "string"
  13531. },
  13532. "biztype": {
  13533. "description": "业务类型 1-套保 2-套利",
  13534. "type": "integer"
  13535. },
  13536. "brandname": {
  13537. "description": "品牌名称",
  13538. "type": "string"
  13539. },
  13540. "buynickname": {
  13541. "description": "销售方昵称",
  13542. "type": "string"
  13543. },
  13544. "buyuserid": {
  13545. "description": "采购方ID",
  13546. "type": "integer"
  13547. },
  13548. "buyusername": {
  13549. "description": "采购方名称",
  13550. "type": "string"
  13551. },
  13552. "contracctstatus": {
  13553. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13554. "type": "integer"
  13555. },
  13556. "contractmargin": {
  13557. "description": "合同保证金",
  13558. "type": "number"
  13559. },
  13560. "contractno": {
  13561. "description": "现货合同编号",
  13562. "type": "string"
  13563. },
  13564. "contracttype": {
  13565. "description": "现货合同类型 - 1:采购 -1:销售",
  13566. "type": "integer"
  13567. },
  13568. "convertfactor": {
  13569. "description": "标仓系数(品类)",
  13570. "type": "number"
  13571. },
  13572. "createtime": {
  13573. "description": "创建时间",
  13574. "type": "string"
  13575. },
  13576. "currencyid": {
  13577. "description": "币种id",
  13578. "type": "integer"
  13579. },
  13580. "currencyname": {
  13581. "description": "币种名称",
  13582. "type": "string"
  13583. },
  13584. "deliveryenddate": {
  13585. "description": "交收期(结束)",
  13586. "type": "string"
  13587. },
  13588. "deliverygoodscode": {
  13589. "description": "现货品种代码",
  13590. "type": "string"
  13591. },
  13592. "deliverygoodsid": {
  13593. "description": "现货品种ID",
  13594. "type": "integer"
  13595. },
  13596. "deliverygoodsname": {
  13597. "description": "现货品种名称",
  13598. "type": "string"
  13599. },
  13600. "deliverystartdate": {
  13601. "description": "交收期(开始)",
  13602. "type": "string"
  13603. },
  13604. "enddate": {
  13605. "description": "点价结束日期 [2:点价 3:暂定价]",
  13606. "type": "string"
  13607. },
  13608. "enumdicname": {
  13609. "description": "单位名称",
  13610. "type": "string"
  13611. },
  13612. "goodscode": {
  13613. "description": "点价合约代码",
  13614. "type": "string"
  13615. },
  13616. "goodsid": {
  13617. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13618. "type": "integer"
  13619. },
  13620. "goodsname": {
  13621. "description": "点价商品名称",
  13622. "type": "string"
  13623. },
  13624. "margin": {
  13625. "description": "当前保证金",
  13626. "type": "number"
  13627. },
  13628. "meruserid": {
  13629. "description": "跟单员id",
  13630. "type": "integer"
  13631. },
  13632. "meruserlogincode": {
  13633. "description": "跟单员登录代码",
  13634. "type": "string"
  13635. },
  13636. "price": {
  13637. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13638. "type": "number"
  13639. },
  13640. "pricemove": {
  13641. "description": "升贴水 [2:点价 3:暂定价]",
  13642. "type": "number"
  13643. },
  13644. "pricetype": {
  13645. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13646. "type": "integer"
  13647. },
  13648. "producttype": {
  13649. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13650. "type": "integer"
  13651. },
  13652. "qty": {
  13653. "description": "数量",
  13654. "type": "number"
  13655. },
  13656. "remark": {
  13657. "description": "备注",
  13658. "type": "string"
  13659. },
  13660. "saleuserid": {
  13661. "description": "业务员id",
  13662. "type": "integer"
  13663. },
  13664. "saleuserlogincode": {
  13665. "description": "业务员登录代码",
  13666. "type": "string"
  13667. },
  13668. "sellnickname": {
  13669. "description": "采购方昵称",
  13670. "type": "string"
  13671. },
  13672. "selluserid": {
  13673. "description": "销售方ID",
  13674. "type": "integer"
  13675. },
  13676. "sellusername": {
  13677. "description": "销售方名称",
  13678. "type": "string"
  13679. },
  13680. "spotcontractid": {
  13681. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13682. "type": "string"
  13683. },
  13684. "spotgoodsbrandid": {
  13685. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13686. "type": "integer"
  13687. },
  13688. "spotgoodsdesc": {
  13689. "description": "商品型号",
  13690. "type": "string"
  13691. },
  13692. "startdate": {
  13693. "description": "点价开始日期 [2:点价 3:暂定价]",
  13694. "type": "string"
  13695. },
  13696. "tradeuserid": {
  13697. "description": "交易员id",
  13698. "type": "integer"
  13699. },
  13700. "tradeuserlogincode": {
  13701. "description": "交易员登录代码",
  13702. "type": "string"
  13703. },
  13704. "tradeusername": {
  13705. "description": "交易员名称",
  13706. "type": "string"
  13707. },
  13708. "unitid": {
  13709. "description": "单位id(取品类上的单位id)",
  13710. "type": "integer"
  13711. },
  13712. "updatetime": {
  13713. "description": "更新时间",
  13714. "type": "string"
  13715. },
  13716. "userid": {
  13717. "description": "所属机构ID",
  13718. "type": "integer"
  13719. },
  13720. "wrstandardcode": {
  13721. "description": "品类代码",
  13722. "type": "string"
  13723. },
  13724. "wrstandardid": {
  13725. "description": "品类ID",
  13726. "type": "integer"
  13727. },
  13728. "wrstandardname": {
  13729. "description": "品类名称",
  13730. "type": "string"
  13731. }
  13732. }
  13733. },
  13734. "models.Ermcp3ExposureContractDetail": {
  13735. "type": "object",
  13736. "properties": {
  13737. "biztype": {
  13738. "description": "业务类型 1-套保 2-套利",
  13739. "type": "integer"
  13740. },
  13741. "brandname": {
  13742. "description": "品牌名称",
  13743. "type": "string"
  13744. },
  13745. "buyuserid": {
  13746. "description": "采购方id",
  13747. "type": "integer"
  13748. },
  13749. "buyusername": {
  13750. "description": "采购方名称",
  13751. "type": "string"
  13752. },
  13753. "contractno": {
  13754. "description": "合同编号",
  13755. "type": "string"
  13756. },
  13757. "contracttype": {
  13758. "description": "现货合同类型 - 1:采购 -1:销售",
  13759. "type": "integer"
  13760. },
  13761. "convertratio": {
  13762. "description": "折算系数(套保品种)",
  13763. "type": "number"
  13764. },
  13765. "curqty": {
  13766. "description": "今定价量",
  13767. "type": "number"
  13768. },
  13769. "deliverygoodscode": {
  13770. "description": "现货商品代码",
  13771. "type": "string"
  13772. },
  13773. "deliverygoodsid": {
  13774. "description": "现货商品id",
  13775. "type": "integer"
  13776. },
  13777. "deliverygoodsname": {
  13778. "description": "现货商品名称",
  13779. "type": "string"
  13780. },
  13781. "diffqty": {
  13782. "description": "套保品种今变动量",
  13783. "type": "number"
  13784. },
  13785. "enumdicname": {
  13786. "description": "单位名称",
  13787. "type": "string"
  13788. },
  13789. "middlegoodscode": {
  13790. "description": "套保品种代码",
  13791. "type": "string"
  13792. },
  13793. "middlegoodsid": {
  13794. "description": "套保品种id",
  13795. "type": "integer"
  13796. },
  13797. "middlegoodsname": {
  13798. "description": "套保品种名称",
  13799. "type": "string"
  13800. },
  13801. "needarbitrageratio": {
  13802. "description": "应套利比例",
  13803. "type": "number"
  13804. },
  13805. "needhedgeratio": {
  13806. "description": "应套保比例",
  13807. "type": "number"
  13808. },
  13809. "pricedqty": {
  13810. "description": "已定价量",
  13811. "type": "number"
  13812. },
  13813. "qty": {
  13814. "description": "合同量",
  13815. "type": "number"
  13816. },
  13817. "selluserid": {
  13818. "description": "销售方id",
  13819. "type": "integer"
  13820. },
  13821. "sellusername": {
  13822. "description": "销售方名称",
  13823. "type": "string"
  13824. },
  13825. "spotcontractid": {
  13826. "description": "合同id",
  13827. "type": "string"
  13828. },
  13829. "tradedate": {
  13830. "description": "交易日",
  13831. "type": "string"
  13832. },
  13833. "unitid": {
  13834. "description": "品类单位id",
  13835. "type": "integer"
  13836. },
  13837. "userid": {
  13838. "description": "机构id",
  13839. "type": "integer"
  13840. },
  13841. "wrstandardcode": {
  13842. "description": "品类代码",
  13843. "type": "string"
  13844. },
  13845. "wrstandardid": {
  13846. "description": "品类id",
  13847. "type": "integer"
  13848. },
  13849. "wrstandardname": {
  13850. "description": "品类名称",
  13851. "type": "string"
  13852. }
  13853. }
  13854. },
  13855. "models.Ermcp3ExposureDetail": {
  13856. "type": "object",
  13857. "properties": {
  13858. "areauserid": {
  13859. "description": "机构ID",
  13860. "type": "integer"
  13861. },
  13862. "changeQty": {
  13863. "description": "套保变动量",
  13864. "type": "number"
  13865. },
  13866. "contracttype": {
  13867. "description": "现货合同类型 - 1:采购 -1:销售",
  13868. "type": "integer"
  13869. },
  13870. "convertfactor": {
  13871. "description": "标仓系数",
  13872. "type": "number"
  13873. },
  13874. "convertratio": {
  13875. "description": "套保系数",
  13876. "type": "number"
  13877. },
  13878. "createtime": {
  13879. "description": "时间",
  13880. "type": "string"
  13881. },
  13882. "deliverygoodscode": {
  13883. "description": "现货品种代码",
  13884. "type": "string"
  13885. },
  13886. "deliverygoodsid": {
  13887. "description": "现货品种id",
  13888. "type": "integer"
  13889. },
  13890. "deliverygoodsname": {
  13891. "description": "现货品种名称",
  13892. "type": "string"
  13893. },
  13894. "enumdicname": {
  13895. "description": "现货商品单位名称",
  13896. "type": "string"
  13897. },
  13898. "logtype": {
  13899. "description": "类型 - 1:套保计划 2:现货合同",
  13900. "type": "integer"
  13901. },
  13902. "mgunitid": {
  13903. "description": "套保品种单位id",
  13904. "type": "integer"
  13905. },
  13906. "mgunitidname": {
  13907. "description": "套保品种单位名称",
  13908. "type": "string"
  13909. },
  13910. "middlegoodsId": {
  13911. "description": "套保商品id",
  13912. "type": "integer"
  13913. },
  13914. "middlegoodscode": {
  13915. "description": "套保商品代码",
  13916. "type": "string"
  13917. },
  13918. "middlegoodsname": {
  13919. "description": "套保商品名称",
  13920. "type": "string"
  13921. },
  13922. "qty": {
  13923. "description": "数量",
  13924. "type": "number"
  13925. },
  13926. "relateNo": {
  13927. "description": "现货合同/套保计划编号",
  13928. "type": "string"
  13929. }
  13930. }
  13931. },
  13932. "models.Ermcp3ExposureHedgeplanDetail": {
  13933. "type": "object",
  13934. "properties": {
  13935. "biztype": {
  13936. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13937. "type": "integer"
  13938. },
  13939. "changqty": {
  13940. "description": "应套保总量变化量",
  13941. "type": "number"
  13942. },
  13943. "contracttype": {
  13944. "description": "计划类型 - 1:采购 -1:销售",
  13945. "type": "integer"
  13946. },
  13947. "convertratio": {
  13948. "description": "折算系数(套保品种)",
  13949. "type": "number"
  13950. },
  13951. "deliverygoodscode": {
  13952. "description": "现货商品代码",
  13953. "type": "string"
  13954. },
  13955. "deliverygoodsid": {
  13956. "description": "现货商品id",
  13957. "type": "integer"
  13958. },
  13959. "deliverygoodsname": {
  13960. "description": "现货商吕名称",
  13961. "type": "string"
  13962. },
  13963. "dgunitid": {
  13964. "description": "现货商品单位id",
  13965. "type": "integer"
  13966. },
  13967. "dgunitidname": {
  13968. "description": "单位名称(现货商品)",
  13969. "type": "string"
  13970. },
  13971. "diffqty": {
  13972. "description": "套保品种今变动量",
  13973. "type": "number"
  13974. },
  13975. "enumdicname": {
  13976. "description": "单位名称(品类)",
  13977. "type": "string"
  13978. },
  13979. "hedgeplanid": {
  13980. "description": "套保计划id",
  13981. "type": "string"
  13982. },
  13983. "hedgeplanno": {
  13984. "description": "套保计划编号",
  13985. "type": "string"
  13986. },
  13987. "hedgeplanstatus": {
  13988. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13989. "type": "integer"
  13990. },
  13991. "mgunitidname": {
  13992. "description": "单位名称(套保商品)",
  13993. "type": "string"
  13994. },
  13995. "middlegoodscode": {
  13996. "description": "套保品种代码",
  13997. "type": "string"
  13998. },
  13999. "middlegoodsid": {
  14000. "description": "套保品种id",
  14001. "type": "integer"
  14002. },
  14003. "middlegoodsname": {
  14004. "description": "套保品种名称",
  14005. "type": "string"
  14006. },
  14007. "needarbitrageratio": {
  14008. "description": "应套利比例",
  14009. "type": "number"
  14010. },
  14011. "needhedgeratio": {
  14012. "description": "应套保比例",
  14013. "type": "number"
  14014. },
  14015. "pricedqty": {
  14016. "description": "已定价量",
  14017. "type": "number"
  14018. },
  14019. "qty": {
  14020. "description": "合同量",
  14021. "type": "number"
  14022. },
  14023. "tradedate": {
  14024. "description": "交易日(登记日)",
  14025. "type": "string"
  14026. },
  14027. "unitid": {
  14028. "description": "品类单位id",
  14029. "type": "integer"
  14030. },
  14031. "userid": {
  14032. "description": "机构id",
  14033. "type": "integer"
  14034. },
  14035. "wrstandardcode": {
  14036. "description": "品类代码",
  14037. "type": "string"
  14038. },
  14039. "wrstandardid": {
  14040. "description": "品类id",
  14041. "type": "integer"
  14042. },
  14043. "wrstandardname": {
  14044. "description": "品类名称",
  14045. "type": "string"
  14046. }
  14047. }
  14048. },
  14049. "models.Ermcp3ExpourseReport": {
  14050. "type": "object",
  14051. "properties": {
  14052. "accountid": {
  14053. "description": "期货账户ID (作废, 默认为0)",
  14054. "type": "integer"
  14055. },
  14056. "accountname": {
  14057. "description": "机构名称",
  14058. "type": "string"
  14059. },
  14060. "arbitrageqty": {
  14061. "description": "套利量",
  14062. "type": "number"
  14063. },
  14064. "areauserid": {
  14065. "description": "所属机构\\交易用户ID",
  14066. "type": "integer"
  14067. },
  14068. "begindate": {
  14069. "description": "开始交易日",
  14070. "type": "string"
  14071. },
  14072. "buyfutureqty": {
  14073. "description": "买入期货数量",
  14074. "type": "number"
  14075. },
  14076. "buyplanqty": {
  14077. "description": "采购计划数量",
  14078. "type": "number"
  14079. },
  14080. "buypricedqty": {
  14081. "description": "采购合同已定价数量",
  14082. "type": "number"
  14083. },
  14084. "cycletime": {
  14085. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14086. "type": "string"
  14087. },
  14088. "cycletype": {
  14089. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14090. "type": "integer"
  14091. },
  14092. "diffexposure": {
  14093. "description": "变动量(套保敞口)",
  14094. "type": "number"
  14095. },
  14096. "difffutuqty": {
  14097. "description": "变动量(期货)",
  14098. "type": "number"
  14099. },
  14100. "diffhedgeqty": {
  14101. "description": "变动量(现货应套保总量)",
  14102. "type": "number"
  14103. },
  14104. "diffmgqtya": {
  14105. "description": "套保变动量",
  14106. "type": "number"
  14107. },
  14108. "diffmgqtyb": {
  14109. "description": "套利变动量",
  14110. "type": "number"
  14111. },
  14112. "diffqty": {
  14113. "description": "变动量(总敞口)",
  14114. "type": "number"
  14115. },
  14116. "diffspotqty": {
  14117. "description": "变动量(现货)",
  14118. "type": "number"
  14119. },
  14120. "enddate": {
  14121. "description": "结束交易日",
  14122. "type": "string"
  14123. },
  14124. "enumdicname": {
  14125. "description": "单位名称",
  14126. "type": "string"
  14127. },
  14128. "hedgeqty": {
  14129. "description": "套保量",
  14130. "type": "number"
  14131. },
  14132. "mgneedhedgeratio": {
  14133. "description": "套保比例(套保品的)",
  14134. "type": "number"
  14135. },
  14136. "middlegoodsid": {
  14137. "description": "套保品种ID",
  14138. "type": "integer"
  14139. },
  14140. "middlegoodsname": {
  14141. "description": "套保商品名称",
  14142. "type": "string"
  14143. },
  14144. "middlgoodscode": {
  14145. "description": "套保商品代码",
  14146. "type": "string"
  14147. },
  14148. "needarbitrageqty": {
  14149. "description": "应套利量",
  14150. "type": "number"
  14151. },
  14152. "needarbitrageratio": {
  14153. "description": "套利比例(套保品的)",
  14154. "type": "number"
  14155. },
  14156. "needhedgeexposoure": {
  14157. "description": "应套保敞口(套保敞口)",
  14158. "type": "number"
  14159. },
  14160. "needhedgeqty": {
  14161. "description": "应套保量",
  14162. "type": "number"
  14163. },
  14164. "needhedgeratio": {
  14165. "description": "应套保敞口比例",
  14166. "type": "number"
  14167. },
  14168. "oriarbitrageqty": {
  14169. "description": "期初套利量",
  14170. "type": "number"
  14171. },
  14172. "oribuyfutureqty": {
  14173. "description": "期初买入期货数量",
  14174. "type": "number"
  14175. },
  14176. "oribuyplanqty": {
  14177. "description": "期初采购计划数量",
  14178. "type": "number"
  14179. },
  14180. "oribuypricedqty": {
  14181. "description": "期初采购合同已定价数量",
  14182. "type": "number"
  14183. },
  14184. "orihedgeqty": {
  14185. "description": "期初套保量",
  14186. "type": "number"
  14187. },
  14188. "orineedarbitrageqty": {
  14189. "description": "期初应套利量",
  14190. "type": "number"
  14191. },
  14192. "orineedhedgeexposoure": {
  14193. "description": "期初应套保敞口",
  14194. "type": "number"
  14195. },
  14196. "orineedhedgeqty": {
  14197. "description": "期初应套保量",
  14198. "type": "number"
  14199. },
  14200. "orisellfutureqty": {
  14201. "description": "期初卖出期货数量",
  14202. "type": "number"
  14203. },
  14204. "orisellplanqty": {
  14205. "description": "期初销售计划数量",
  14206. "type": "number"
  14207. },
  14208. "orisellpricedqty": {
  14209. "description": "期初销售合同已定价数量",
  14210. "type": "number"
  14211. },
  14212. "oritotalexposure": {
  14213. "description": "期初实时总敞口",
  14214. "type": "number"
  14215. },
  14216. "oritotalfutureqty": {
  14217. "description": "期初期货头寸总量",
  14218. "type": "number"
  14219. },
  14220. "oritotalneedhedgeqty": {
  14221. "description": "期初应套保总量",
  14222. "type": "number"
  14223. },
  14224. "oritotalspotqty": {
  14225. "description": "期初现货头寸总量",
  14226. "type": "number"
  14227. },
  14228. "reckondate": {
  14229. "description": "日照时期(yyyyMMdd)",
  14230. "type": "string"
  14231. },
  14232. "sellfutureqty": {
  14233. "description": "卖出期货数量",
  14234. "type": "number"
  14235. },
  14236. "sellplanqty": {
  14237. "description": "销售计划数量",
  14238. "type": "number"
  14239. },
  14240. "sellpricedqty": {
  14241. "description": "销售合同已定价数量",
  14242. "type": "number"
  14243. },
  14244. "totalexposure": {
  14245. "description": "实时总敞口(总敞口)",
  14246. "type": "number"
  14247. },
  14248. "totalfutureqty": {
  14249. "description": "期货头寸总量(期货总量)",
  14250. "type": "number"
  14251. },
  14252. "totalhedgeratio": {
  14253. "description": "敞口比例",
  14254. "type": "number"
  14255. },
  14256. "totalneedhedgeqty": {
  14257. "description": "应套保总量(现货应套保总量)",
  14258. "type": "number"
  14259. },
  14260. "totalspotqty": {
  14261. "description": "现货头寸总量",
  14262. "type": "number"
  14263. },
  14264. "unitid": {
  14265. "description": "单位id",
  14266. "type": "integer"
  14267. },
  14268. "updatetime": {
  14269. "description": "更新时间",
  14270. "type": "string"
  14271. }
  14272. }
  14273. },
  14274. "models.Ermcp3FinanceReport": {
  14275. "type": "object",
  14276. "properties": {
  14277. "accountname": {
  14278. "description": "机构名称",
  14279. "type": "string"
  14280. },
  14281. "areauserid": {
  14282. "description": "所属机构\\交易用户ID",
  14283. "type": "integer"
  14284. },
  14285. "begindate": {
  14286. "description": "开始交易日",
  14287. "type": "string"
  14288. },
  14289. "biztype": {
  14290. "description": "业务类型 - 1:套保 2:套利",
  14291. "type": "integer"
  14292. },
  14293. "brandname": {
  14294. "description": "品牌名称",
  14295. "type": "string"
  14296. },
  14297. "buypreinvoicedamount": {
  14298. "description": "采购预收票额(预收票额)",
  14299. "type": "number"
  14300. },
  14301. "buyprepaidamount": {
  14302. "description": "采购预付款额(预付货款额)",
  14303. "type": "number"
  14304. },
  14305. "buytodayinvoiceamount": {
  14306. "description": "采购今收票额(今收票额)",
  14307. "type": "number"
  14308. },
  14309. "buytodayrefundamount": {
  14310. "description": "采购今收退款额(今收退款额)",
  14311. "type": "number"
  14312. },
  14313. "buytodaysettleamount": {
  14314. "description": "采购今付款额(今付货款额)",
  14315. "type": "number"
  14316. },
  14317. "buyuninvoicedamount": {
  14318. "description": "采购应收票额(应收票额)",
  14319. "type": "number"
  14320. },
  14321. "buyunpaidamount": {
  14322. "description": "采购应付款额(应付货款额)",
  14323. "type": "number"
  14324. },
  14325. "currencyid": {
  14326. "description": "结算币种ID",
  14327. "type": "integer"
  14328. },
  14329. "currencyname": {
  14330. "description": "币种名称",
  14331. "type": "string"
  14332. },
  14333. "cycletime": {
  14334. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14335. "type": "string"
  14336. },
  14337. "cycletype": {
  14338. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14339. "type": "integer"
  14340. },
  14341. "deliverygoodscode": {
  14342. "description": "现货品种代码",
  14343. "type": "string"
  14344. },
  14345. "deliverygoodsid": {
  14346. "description": "现货品种ID",
  14347. "type": "integer"
  14348. },
  14349. "deliverygoodsname": {
  14350. "description": "现货品种名称",
  14351. "type": "string"
  14352. },
  14353. "enddate": {
  14354. "description": "结束交易日",
  14355. "type": "string"
  14356. },
  14357. "reckondate": {
  14358. "description": "日照时期(yyyyMMdd)",
  14359. "type": "string"
  14360. },
  14361. "sellpreinvoicedamount": {
  14362. "description": "销售预开票额(预开票额)",
  14363. "type": "number"
  14364. },
  14365. "sellprepaidamount": {
  14366. "description": "销售预收款额(预收货款额)",
  14367. "type": "number"
  14368. },
  14369. "selltodayinvoiceamount": {
  14370. "description": "销售今开票额(今开票额)",
  14371. "type": "number"
  14372. },
  14373. "selltodayrefundamount": {
  14374. "description": "销售今付退款额(今付退款额)",
  14375. "type": "number"
  14376. },
  14377. "selltodaysettleamount": {
  14378. "description": "销售今收款额(今收货款额)",
  14379. "type": "number"
  14380. },
  14381. "selluninvoicedamount": {
  14382. "description": "销售应开票额(应开票额)",
  14383. "type": "number"
  14384. },
  14385. "sellunpaidamount": {
  14386. "description": "销售应收款额(应收货款额)",
  14387. "type": "number"
  14388. },
  14389. "spotgoodsbrandid": {
  14390. "description": "现货品牌ID",
  14391. "type": "integer"
  14392. },
  14393. "todaypaysum": {
  14394. "description": "今付款合计",
  14395. "type": "number"
  14396. },
  14397. "todayreceivesum": {
  14398. "description": "今收款合计",
  14399. "type": "number"
  14400. },
  14401. "updatetime": {
  14402. "description": "更新时间",
  14403. "type": "string"
  14404. },
  14405. "wrfactortypeid": {
  14406. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14407. "type": "integer"
  14408. },
  14409. "wrstandardcode": {
  14410. "description": "品类代码",
  14411. "type": "string"
  14412. },
  14413. "wrstandardid": {
  14414. "description": "现货商品ID",
  14415. "type": "integer"
  14416. },
  14417. "wrstandardname": {
  14418. "description": "品类名称",
  14419. "type": "string"
  14420. }
  14421. }
  14422. },
  14423. "models.Ermcp3Goods": {
  14424. "type": "object",
  14425. "properties": {
  14426. "agreeunit": {
  14427. "description": "合约单位(合约乘数)",
  14428. "type": "number"
  14429. },
  14430. "enumdicname": {
  14431. "description": "单位名称",
  14432. "type": "string"
  14433. },
  14434. "exexchangecode": {
  14435. "description": "交易所代码",
  14436. "type": "string"
  14437. },
  14438. "goodscode": {
  14439. "description": "期货商品代码",
  14440. "type": "string"
  14441. },
  14442. "goodsid": {
  14443. "description": "期货商品id",
  14444. "type": "integer"
  14445. },
  14446. "goodsname": {
  14447. "description": "期货商品名称",
  14448. "type": "string"
  14449. }
  14450. }
  14451. },
  14452. "models.Ermcp3GoodsGroup": {
  14453. "type": "object",
  14454. "required": [
  14455. "areauserid"
  14456. ],
  14457. "properties": {
  14458. "agreeunit": {
  14459. "description": "合约单位",
  14460. "type": "number"
  14461. },
  14462. "areauserid": {
  14463. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14464. "type": "integer"
  14465. },
  14466. "canshort": {
  14467. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14468. "type": "integer"
  14469. },
  14470. "closepricemode": {
  14471. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14472. "type": "integer"
  14473. },
  14474. "createtime": {
  14475. "description": "创建时间",
  14476. "type": "string"
  14477. },
  14478. "creatorid": {
  14479. "description": "创建人",
  14480. "type": "integer"
  14481. },
  14482. "currencyid": {
  14483. "description": "报价货币ID",
  14484. "type": "integer"
  14485. },
  14486. "decimalplace": {
  14487. "description": "报价小数位",
  14488. "type": "integer"
  14489. },
  14490. "enumdicname": {
  14491. "description": "单位名称",
  14492. "type": "string"
  14493. },
  14494. "excludecfg": {
  14495. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14496. "type": "integer"
  14497. },
  14498. "exexchangeid": {
  14499. "description": "外部交易所ID[通道交易]",
  14500. "type": "integer"
  14501. },
  14502. "goodsgroupid": {
  14503. "description": "商品组ID(自增ID)",
  14504. "type": "integer"
  14505. },
  14506. "goodsgroupname": {
  14507. "description": "商品组名称",
  14508. "type": "string"
  14509. },
  14510. "goodsgroupstatus": {
  14511. "description": "商品组状态 - 1:正常 2:注销",
  14512. "type": "integer"
  14513. },
  14514. "goodunitid": {
  14515. "description": "报价单位ID",
  14516. "type": "integer"
  14517. },
  14518. "groupcategroyid": {
  14519. "description": "品种分类ID",
  14520. "type": "integer"
  14521. },
  14522. "innerdealmode": {
  14523. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14524. "type": "integer"
  14525. },
  14526. "marketid": {
  14527. "description": "所属市场ID",
  14528. "type": "integer"
  14529. },
  14530. "modifierid": {
  14531. "description": "修改人",
  14532. "type": "integer"
  14533. },
  14534. "modifytime": {
  14535. "description": "修改时间",
  14536. "type": "string"
  14537. },
  14538. "outerdealmode": {
  14539. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14540. "type": "integer"
  14541. },
  14542. "outergroupcode": {
  14543. "description": "外部商品组代码[通道交易]",
  14544. "type": "string"
  14545. },
  14546. "quoteminunit": {
  14547. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14548. "type": "integer"
  14549. },
  14550. "quotesourcegroupid": {
  14551. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14552. "type": "integer"
  14553. },
  14554. "syncgoodsqty": {
  14555. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14556. "type": "integer"
  14557. }
  14558. }
  14559. },
  14560. "models.Ermcp3GoodsGroupEx": {
  14561. "type": "object",
  14562. "properties": {
  14563. "convertratio": {
  14564. "description": "折算系数(品种系数)",
  14565. "type": "number"
  14566. },
  14567. "enumdicname": {
  14568. "description": "单位名称",
  14569. "type": "string"
  14570. },
  14571. "exexchangecode": {
  14572. "description": "交易所代码",
  14573. "type": "string"
  14574. },
  14575. "glist": {
  14576. "description": "合约列表",
  14577. "type": "array",
  14578. "items": {
  14579. "$ref": "#/definitions/models.Ermcp3Goods"
  14580. }
  14581. },
  14582. "goodsgroupid": {
  14583. "description": "商品组id",
  14584. "type": "integer"
  14585. },
  14586. "goodsgroupname": {
  14587. "description": "商品组名称",
  14588. "type": "string"
  14589. },
  14590. "goodsunitid": {
  14591. "description": "单位id",
  14592. "type": "integer"
  14593. },
  14594. "middlegoodsid": {
  14595. "description": "套保商品id",
  14596. "type": "integer"
  14597. }
  14598. }
  14599. },
  14600. "models.Ermcp3HedgePlan": {
  14601. "type": "object",
  14602. "properties": {
  14603. "accountid": {
  14604. "description": "资金账号",
  14605. "type": "integer"
  14606. },
  14607. "areauserid": {
  14608. "description": "用户ID",
  14609. "type": "integer"
  14610. },
  14611. "audittime": {
  14612. "description": "审核时间",
  14613. "type": "string"
  14614. },
  14615. "contracttype": {
  14616. "description": "计划类型 - 1:采购 -1:销售",
  14617. "type": "integer"
  14618. },
  14619. "convertfactor": {
  14620. "description": "标仓系数",
  14621. "type": "number"
  14622. },
  14623. "createtime": {
  14624. "description": "创建时间",
  14625. "type": "string"
  14626. },
  14627. "currencyid": {
  14628. "description": "币种id",
  14629. "type": "integer"
  14630. },
  14631. "currencyname": {
  14632. "description": "币种名称",
  14633. "type": "string"
  14634. },
  14635. "deliverygoodscode": {
  14636. "description": "现货品种代码",
  14637. "type": "string"
  14638. },
  14639. "deliverygoodsid": {
  14640. "description": "现货品种ID",
  14641. "type": "integer"
  14642. },
  14643. "deliverygoodsname": {
  14644. "description": "现货品种名称",
  14645. "type": "string"
  14646. },
  14647. "enumdicname": {
  14648. "description": "单位名称(现货商品)",
  14649. "type": "string"
  14650. },
  14651. "hedgeplanid": {
  14652. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14653. "type": "string"
  14654. },
  14655. "hedgeplanno": {
  14656. "description": "套保计划编号(名称)",
  14657. "type": "string"
  14658. },
  14659. "hedgeplanstatus": {
  14660. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14661. "type": "integer"
  14662. },
  14663. "planqty": {
  14664. "description": "计划数量",
  14665. "type": "number"
  14666. },
  14667. "plantime": {
  14668. "description": "计划时间",
  14669. "type": "string"
  14670. },
  14671. "producttype": {
  14672. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14673. "type": "integer"
  14674. },
  14675. "remark": {
  14676. "description": "备注",
  14677. "type": "string"
  14678. },
  14679. "spotgoodsdesc": {
  14680. "description": "商品型号",
  14681. "type": "string"
  14682. },
  14683. "taaccountname": {
  14684. "description": "资金账号名称",
  14685. "type": "string"
  14686. },
  14687. "tradeuserid": {
  14688. "description": "交易用户id",
  14689. "type": "integer"
  14690. },
  14691. "tradeusername": {
  14692. "description": "交易用户名称",
  14693. "type": "string"
  14694. },
  14695. "unitid": {
  14696. "description": "单位id(现货商品)",
  14697. "type": "integer"
  14698. },
  14699. "updatetime": {
  14700. "description": "更新时间",
  14701. "type": "string"
  14702. },
  14703. "wrstandardcode": {
  14704. "description": "品类代码",
  14705. "type": "string"
  14706. },
  14707. "wrstandardid": {
  14708. "description": "品类id",
  14709. "type": "integer"
  14710. },
  14711. "wrstandardname": {
  14712. "description": "品类名称",
  14713. "type": "string"
  14714. },
  14715. "wrunitid": {
  14716. "description": "品类单位id",
  14717. "type": "integer"
  14718. },
  14719. "wrunitidame": {
  14720. "description": "品类单位名称",
  14721. "type": "string"
  14722. }
  14723. }
  14724. },
  14725. "models.Ermcp3MiddleGoodsDetail2": {
  14726. "type": "object",
  14727. "properties": {
  14728. "convertratio": {
  14729. "description": "套保系数(折算系数)",
  14730. "type": "number"
  14731. },
  14732. "gplist": {
  14733. "description": "关联商品组列表",
  14734. "type": "array",
  14735. "items": {
  14736. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14737. }
  14738. },
  14739. "mg": {
  14740. "description": "套保商品信息",
  14741. "type": "object",
  14742. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14743. }
  14744. }
  14745. },
  14746. "models.Ermcp3MiddleGoodsDetailEx": {
  14747. "type": "object",
  14748. "properties": {
  14749. "dglist": {
  14750. "description": "关联的现货品种列表",
  14751. "type": "array",
  14752. "items": {
  14753. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14754. }
  14755. },
  14756. "gplist": {
  14757. "description": "关联商品组列表",
  14758. "type": "array",
  14759. "items": {
  14760. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14761. }
  14762. },
  14763. "mg": {
  14764. "description": "套保商品信息",
  14765. "type": "object",
  14766. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14767. }
  14768. }
  14769. },
  14770. "models.Ermcp3SellBuyContract": {
  14771. "type": "object",
  14772. "properties": {
  14773. "accountid": {
  14774. "description": "期货账户id",
  14775. "type": "string"
  14776. },
  14777. "accountname": {
  14778. "description": "账户名称",
  14779. "type": "string"
  14780. },
  14781. "attachment": {
  14782. "description": "附件",
  14783. "type": "string"
  14784. },
  14785. "audittime": {
  14786. "description": "审核时间",
  14787. "type": "string"
  14788. },
  14789. "biztype": {
  14790. "description": "业务类型 1-套保 2-套利",
  14791. "type": "integer"
  14792. },
  14793. "brandname": {
  14794. "description": "品牌名称",
  14795. "type": "string"
  14796. },
  14797. "contracctstatus": {
  14798. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14799. "type": "integer"
  14800. },
  14801. "contractmargin": {
  14802. "description": "合同保证金",
  14803. "type": "number"
  14804. },
  14805. "contractno": {
  14806. "description": "合同编号",
  14807. "type": "string"
  14808. },
  14809. "contracttype": {
  14810. "description": "合同类型 1-采购, -1-销售",
  14811. "type": "integer"
  14812. },
  14813. "convertfactor": {
  14814. "description": "标仓系数(品类)",
  14815. "type": "number"
  14816. },
  14817. "createtime": {
  14818. "description": "创建时间",
  14819. "type": "string"
  14820. },
  14821. "currencyid": {
  14822. "description": "币种id",
  14823. "type": "integer"
  14824. },
  14825. "currencyname": {
  14826. "description": "币种名称",
  14827. "type": "string"
  14828. },
  14829. "daikaiamount": {
  14830. "description": "应收(开)票额",
  14831. "type": "number"
  14832. },
  14833. "deliveryenddate": {
  14834. "description": "交割结束日",
  14835. "type": "string"
  14836. },
  14837. "deliverygoodscode": {
  14838. "description": "现货品种代码",
  14839. "type": "string"
  14840. },
  14841. "deliverygoodsid": {
  14842. "description": "现货商品ID",
  14843. "type": "integer"
  14844. },
  14845. "deliverygoodsname": {
  14846. "description": "现货品种名称",
  14847. "type": "string"
  14848. },
  14849. "deliverystartdate": {
  14850. "description": "交割开始日",
  14851. "type": "string"
  14852. },
  14853. "enddate": {
  14854. "description": "点价结束日",
  14855. "type": "string"
  14856. },
  14857. "enumdicname": {
  14858. "description": "单位名称",
  14859. "type": "string"
  14860. },
  14861. "goodscode": {
  14862. "description": "点价商品代码",
  14863. "type": "string"
  14864. },
  14865. "goodsid": {
  14866. "description": "点价商品ID",
  14867. "type": "integer"
  14868. },
  14869. "goodsname": {
  14870. "description": "点价商品名称",
  14871. "type": "string"
  14872. },
  14873. "invoiceamount": {
  14874. "description": "已开票额",
  14875. "type": "number"
  14876. },
  14877. "loanamount": {
  14878. "description": "贷款总额=已定价额+调整金额",
  14879. "type": "number"
  14880. },
  14881. "margin": {
  14882. "description": "保证金",
  14883. "type": "number"
  14884. },
  14885. "meruserid": {
  14886. "description": "跟单员id",
  14887. "type": "integer"
  14888. },
  14889. "meruserlogincode": {
  14890. "description": "跟单员登录代码",
  14891. "type": "string"
  14892. },
  14893. "nickname": {
  14894. "description": "账户昵称",
  14895. "type": "string"
  14896. },
  14897. "payamount": {
  14898. "description": "已收付额(收款或付款)",
  14899. "type": "number"
  14900. },
  14901. "preinvoiceamount": {
  14902. "description": "预收(开)票额",
  14903. "type": "number"
  14904. },
  14905. "prepayamount": {
  14906. "description": "预收付额",
  14907. "type": "number"
  14908. },
  14909. "price": {
  14910. "description": "价格",
  14911. "type": "number"
  14912. },
  14913. "pricedamount": {
  14914. "description": "已定价额",
  14915. "type": "number"
  14916. },
  14917. "pricedavg": {
  14918. "description": "已点均价",
  14919. "type": "number"
  14920. },
  14921. "pricedqty": {
  14922. "description": "已定价量",
  14923. "type": "number"
  14924. },
  14925. "pricemove": {
  14926. "description": "升贴水",
  14927. "type": "number"
  14928. },
  14929. "pricetype": {
  14930. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14931. "type": "integer"
  14932. },
  14933. "producttype": {
  14934. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14935. "type": "integer"
  14936. },
  14937. "qty": {
  14938. "description": "合同量",
  14939. "type": "number"
  14940. },
  14941. "reckonadjustamount": {
  14942. "description": "调整金额",
  14943. "type": "number"
  14944. },
  14945. "reckonedamount": {
  14946. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14947. "type": "number"
  14948. },
  14949. "reckonotheramount": {
  14950. "description": "其它费用",
  14951. "type": "number"
  14952. },
  14953. "reckonrealqty": {
  14954. "description": "已确定量",
  14955. "type": "number"
  14956. },
  14957. "remark": {
  14958. "description": "备注",
  14959. "type": "string"
  14960. },
  14961. "saleuserid": {
  14962. "description": "业务员id",
  14963. "type": "integer"
  14964. },
  14965. "saleuserlogincode": {
  14966. "description": "业务员登录代码",
  14967. "type": "string"
  14968. },
  14969. "spotcontractid": {
  14970. "description": "合同ID",
  14971. "type": "string"
  14972. },
  14973. "spotgoodsbrandid": {
  14974. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14975. "type": "integer"
  14976. },
  14977. "spotgoodsdesc": {
  14978. "description": "商品型号(商品规格)",
  14979. "type": "string"
  14980. },
  14981. "startdate": {
  14982. "description": "点价开始日",
  14983. "type": "string"
  14984. },
  14985. "totalamount": {
  14986. "description": "合计总额",
  14987. "type": "number"
  14988. },
  14989. "tradeuserid": {
  14990. "description": "交易员id",
  14991. "type": "integer"
  14992. },
  14993. "tradeuserlogincode": {
  14994. "description": "交易员登录代码",
  14995. "type": "string"
  14996. },
  14997. "tradeusername": {
  14998. "description": "交易员名称",
  14999. "type": "string"
  15000. },
  15001. "unpayamount": {
  15002. "description": "应收付款额(应支付或应收款)",
  15003. "type": "number"
  15004. },
  15005. "unpricedqty": {
  15006. "description": "未定价量",
  15007. "type": "number"
  15008. },
  15009. "unsureqty": {
  15010. "description": "未确定量",
  15011. "type": "number"
  15012. },
  15013. "userid": {
  15014. "description": "机构ID",
  15015. "type": "integer"
  15016. },
  15017. "wrstandardcode": {
  15018. "description": "品类代码",
  15019. "type": "string"
  15020. },
  15021. "wrstandardid": {
  15022. "description": "品类ID",
  15023. "type": "integer"
  15024. },
  15025. "wrstandardname": {
  15026. "description": "品类名称",
  15027. "type": "string"
  15028. }
  15029. }
  15030. },
  15031. "models.Ermcp3SpotGoodsPrice": {
  15032. "type": "object",
  15033. "properties": {
  15034. "areauserid": {
  15035. "description": "所属机构id",
  15036. "type": "integer"
  15037. },
  15038. "brandname": {
  15039. "description": "品牌名称",
  15040. "type": "string"
  15041. },
  15042. "currencyid": {
  15043. "description": "报价货币ID",
  15044. "type": "integer"
  15045. },
  15046. "currencyname": {
  15047. "description": "币种名称",
  15048. "type": "string"
  15049. },
  15050. "deliverygoodscode": {
  15051. "description": "现货商品代码",
  15052. "type": "string"
  15053. },
  15054. "deliverygoodsid": {
  15055. "description": "现货商品id",
  15056. "type": "integer"
  15057. },
  15058. "deliverygoodsname": {
  15059. "description": "现货商品名称",
  15060. "type": "string"
  15061. },
  15062. "enumdicname": {
  15063. "description": "现货商品单位名称",
  15064. "type": "string"
  15065. },
  15066. "gbenumdicname": {
  15067. "description": "品类单位名称",
  15068. "type": "string"
  15069. },
  15070. "gmunitid": {
  15071. "description": "品类单位id",
  15072. "type": "integer"
  15073. },
  15074. "isvalid": {
  15075. "description": "是否有效 - 0:无效 1:有效",
  15076. "type": "integer"
  15077. },
  15078. "operateid": {
  15079. "description": "最后操作人",
  15080. "type": "integer"
  15081. },
  15082. "operatesrc": {
  15083. "description": "最后操作来源 - 1:管理端 2:终端",
  15084. "type": "integer"
  15085. },
  15086. "operatetime": {
  15087. "description": "最后操作时间",
  15088. "type": "string"
  15089. },
  15090. "operatorname": {
  15091. "description": "操作人名称",
  15092. "type": "string"
  15093. },
  15094. "spotgoodsbrandid": {
  15095. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15096. "type": "integer"
  15097. },
  15098. "spotgoodsprice": {
  15099. "description": "现货价格",
  15100. "type": "number"
  15101. },
  15102. "tradedate": {
  15103. "description": "交易日(yyyyMMdd)",
  15104. "type": "string"
  15105. },
  15106. "unitid": {
  15107. "description": "现货商品单位id",
  15108. "type": "integer"
  15109. },
  15110. "wrstandardcode": {
  15111. "description": "品类代码",
  15112. "type": "string"
  15113. },
  15114. "wrstandardid": {
  15115. "description": "现货品类ID(通用则为0)",
  15116. "type": "integer"
  15117. },
  15118. "wrstandardname": {
  15119. "description": "品类名称",
  15120. "type": "string"
  15121. }
  15122. }
  15123. },
  15124. "models.Ermcp3SpotGoodsPriceLog": {
  15125. "type": "object",
  15126. "properties": {
  15127. "areauserid": {
  15128. "description": "所属机构id",
  15129. "type": "integer"
  15130. },
  15131. "brandname": {
  15132. "description": "品牌名称",
  15133. "type": "string"
  15134. },
  15135. "currencyid": {
  15136. "description": "报价货币ID",
  15137. "type": "integer"
  15138. },
  15139. "deliverygoodscode": {
  15140. "description": "现货商品代码",
  15141. "type": "string"
  15142. },
  15143. "deliverygoodsid": {
  15144. "description": "现货商品id",
  15145. "type": "integer"
  15146. },
  15147. "deliverygoodsname": {
  15148. "description": "现货商品名称",
  15149. "type": "string"
  15150. },
  15151. "enumdicname": {
  15152. "description": "现货商品单位名称",
  15153. "type": "string"
  15154. },
  15155. "gbenumdicname": {
  15156. "description": "品类单位名称",
  15157. "type": "string"
  15158. },
  15159. "gmunitid": {
  15160. "description": "品类单位id",
  15161. "type": "integer"
  15162. },
  15163. "logid": {
  15164. "description": "日志id",
  15165. "type": "integer"
  15166. },
  15167. "operateid": {
  15168. "description": "最后操作人",
  15169. "type": "integer"
  15170. },
  15171. "operatesrc": {
  15172. "description": "最后操作来源 - 1:管理端 2:终端",
  15173. "type": "integer"
  15174. },
  15175. "operatetime": {
  15176. "description": "最后操作时间",
  15177. "type": "string"
  15178. },
  15179. "operatorname": {
  15180. "description": "操作人名称",
  15181. "type": "string"
  15182. },
  15183. "spotgoodsbrandid": {
  15184. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15185. "type": "integer"
  15186. },
  15187. "spotgoodsprice": {
  15188. "description": "现货价格",
  15189. "type": "number"
  15190. },
  15191. "tradedate": {
  15192. "description": "交易日(yyyyMMdd)",
  15193. "type": "string"
  15194. },
  15195. "unitid": {
  15196. "description": "现货商品单位id",
  15197. "type": "integer"
  15198. },
  15199. "wrstandardcode": {
  15200. "description": "品类代码",
  15201. "type": "string"
  15202. },
  15203. "wrstandardid": {
  15204. "description": "现货品类ID(通用则为0)",
  15205. "type": "integer"
  15206. },
  15207. "wrstandardname": {
  15208. "description": "品类名称",
  15209. "type": "string"
  15210. }
  15211. }
  15212. },
  15213. "models.Ermcp3Wrstandard": {
  15214. "type": "object",
  15215. "properties": {
  15216. "areauserid": {
  15217. "description": "所属机构",
  15218. "type": "integer"
  15219. },
  15220. "convertfactor": {
  15221. "description": "标仓系数",
  15222. "type": "number"
  15223. },
  15224. "createtime": {
  15225. "description": "创建时间",
  15226. "type": "string"
  15227. },
  15228. "creatorid": {
  15229. "description": "创建人",
  15230. "type": "integer"
  15231. },
  15232. "deliverygoodsid": {
  15233. "description": "现货品种ID",
  15234. "type": "integer"
  15235. },
  15236. "enumdicname": {
  15237. "description": "品类单位名称",
  15238. "type": "string"
  15239. },
  15240. "isvalid": {
  15241. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15242. "type": "integer"
  15243. },
  15244. "minivalue": {
  15245. "description": "最小变动值",
  15246. "type": "integer"
  15247. },
  15248. "minivaluedp": {
  15249. "description": "最小变动值小数位",
  15250. "type": "integer"
  15251. },
  15252. "realminivalue": {
  15253. "description": "实际最小变动值",
  15254. "type": "integer"
  15255. },
  15256. "realminivaluedp": {
  15257. "description": "实际最小变动值小数位",
  15258. "type": "integer"
  15259. },
  15260. "remark": {
  15261. "description": "备注",
  15262. "type": "string"
  15263. },
  15264. "unitid": {
  15265. "description": "品类单位ID",
  15266. "type": "integer"
  15267. },
  15268. "updatetime": {
  15269. "description": "更新时间",
  15270. "type": "string"
  15271. },
  15272. "wrstandardcode": {
  15273. "description": "品类代码",
  15274. "type": "string"
  15275. },
  15276. "wrstandardid": {
  15277. "description": "品类ID(SEQ_WRSTANDARD)",
  15278. "type": "integer"
  15279. },
  15280. "wrstandardname": {
  15281. "description": "品类名称",
  15282. "type": "string"
  15283. }
  15284. }
  15285. },
  15286. "models.ErmcpAreaSpotDetailModel": {
  15287. "type": "object",
  15288. "properties": {
  15289. "contracttype": {
  15290. "description": "合同类型 1-采购 -1-销售",
  15291. "type": "integer"
  15292. },
  15293. "createtime": {
  15294. "description": "创建时间",
  15295. "type": "string"
  15296. },
  15297. "enumdicname": {
  15298. "description": "现货商品单位名称",
  15299. "type": "string"
  15300. },
  15301. "logtype": {
  15302. "description": "记录类型 1-套保 2-现货合同",
  15303. "type": "integer"
  15304. },
  15305. "qty": {
  15306. "description": "数量",
  15307. "type": "number"
  15308. },
  15309. "recordname": {
  15310. "description": "类型名称",
  15311. "type": "string"
  15312. },
  15313. "relatedid": {
  15314. "description": "套保计划ID/现货合同ID",
  15315. "type": "string"
  15316. },
  15317. "relatedno": {
  15318. "description": "编号",
  15319. "type": "string"
  15320. },
  15321. "strtime": {
  15322. "description": "时间",
  15323. "type": "string"
  15324. },
  15325. "wrstandardcode": {
  15326. "description": "现货商品代码",
  15327. "type": "string"
  15328. },
  15329. "wrstandardname": {
  15330. "description": "现货商品名称",
  15331. "type": "string"
  15332. }
  15333. }
  15334. },
  15335. "models.ErmcpAvalidGoodsGroupModel": {
  15336. "type": "object",
  15337. "properties": {
  15338. "goodsgroupid": {
  15339. "description": "期货品种id",
  15340. "type": "integer"
  15341. },
  15342. "goodsgroupname": {
  15343. "description": "期货品种名称",
  15344. "type": "string"
  15345. },
  15346. "goodunitid": {
  15347. "description": "品种单位id",
  15348. "type": "integer"
  15349. },
  15350. "goodunitname": {
  15351. "description": "品种单位名称",
  15352. "type": "string"
  15353. },
  15354. "outergroupcode": {
  15355. "description": "期货品种代码",
  15356. "type": "string"
  15357. }
  15358. }
  15359. },
  15360. "models.ErmcpBizGroupEx": {
  15361. "type": "object",
  15362. "properties": {
  15363. "acclist": {
  15364. "description": "账号列表",
  15365. "type": "array",
  15366. "items": {
  15367. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15368. }
  15369. },
  15370. "bizgroupid": {
  15371. "description": "业务分组id",
  15372. "type": "integer"
  15373. },
  15374. "biztype": {
  15375. "description": "业务类型 1-套保 2-套利",
  15376. "type": "integer"
  15377. },
  15378. "wrlist": {
  15379. "description": "现货商品表",
  15380. "type": "array",
  15381. "items": {
  15382. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15383. }
  15384. }
  15385. }
  15386. },
  15387. "models.ErmcpBizGroupSpotGoods": {
  15388. "type": "object",
  15389. "properties": {
  15390. "areauserid": {
  15391. "description": "所属机构id",
  15392. "type": "integer"
  15393. },
  15394. "bizgroupid": {
  15395. "description": "分组id",
  15396. "type": "integer"
  15397. },
  15398. "biztype": {
  15399. "description": "业务类型 1-套保 2-套利",
  15400. "type": "integer"
  15401. },
  15402. "deliverygoodscode": {
  15403. "description": "现货商品代码",
  15404. "type": "string"
  15405. },
  15406. "deliverygoodsid": {
  15407. "description": "现货商品id",
  15408. "type": "integer"
  15409. },
  15410. "deliverygoodsname": {
  15411. "description": "现货商品名称",
  15412. "type": "string"
  15413. },
  15414. "unitid": {
  15415. "description": "现货商品单位id",
  15416. "type": "integer"
  15417. }
  15418. }
  15419. },
  15420. "models.ErmcpBizGroupTaAccount": {
  15421. "type": "object",
  15422. "properties": {
  15423. "accountid": {
  15424. "description": "账号id",
  15425. "type": "integer"
  15426. },
  15427. "accountname": {
  15428. "description": "账号名称",
  15429. "type": "string"
  15430. },
  15431. "areauserid": {
  15432. "description": "所属机构id",
  15433. "type": "integer"
  15434. },
  15435. "bizgroupid": {
  15436. "description": "业务分组id",
  15437. "type": "integer"
  15438. },
  15439. "ismain": {
  15440. "description": "是否主账号 1-是 0-否",
  15441. "type": "integer"
  15442. }
  15443. }
  15444. },
  15445. "models.ErmcpDGFactoryItem": {
  15446. "type": "object",
  15447. "properties": {
  15448. "areauserid": {
  15449. "description": "用户id",
  15450. "type": "integer"
  15451. },
  15452. "deliverygoodsid": {
  15453. "description": "现货品种ID",
  15454. "type": "integer"
  15455. },
  15456. "dgfactoryitemid": {
  15457. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15458. "type": "integer"
  15459. },
  15460. "dgfactoryitemtypeid": {
  15461. "description": "要素项类型",
  15462. "type": "integer"
  15463. },
  15464. "dgfactoryitemvalue": {
  15465. "description": "要素项值(类型为仓库时填写仓库名称)",
  15466. "type": "string"
  15467. },
  15468. "isvalid": {
  15469. "description": "是否有效 - 0:无效 1:有效",
  15470. "type": "integer"
  15471. },
  15472. "orderindex": {
  15473. "description": "顺序",
  15474. "type": "integer"
  15475. },
  15476. "warehouseid": {
  15477. "description": "仓库ID(类型为仓库时填写)",
  15478. "type": "integer"
  15479. }
  15480. }
  15481. },
  15482. "models.ErmcpDeliveryGoods": {
  15483. "type": "object",
  15484. "properties": {
  15485. "agreeunit": {
  15486. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15487. "type": "integer"
  15488. },
  15489. "areauserid": {
  15490. "description": "所属机构",
  15491. "type": "integer"
  15492. },
  15493. "auditflag": {
  15494. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15495. "type": "integer"
  15496. },
  15497. "categoryid": {
  15498. "description": "类别ID(SEQ_WRCATEGORY)",
  15499. "type": "integer"
  15500. },
  15501. "deliverygoodscode": {
  15502. "description": "现货品种代码",
  15503. "type": "string"
  15504. },
  15505. "deliverygoodsid": {
  15506. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15507. "type": "integer"
  15508. },
  15509. "deliverygoodsname": {
  15510. "description": "现货品种名称",
  15511. "type": "string"
  15512. },
  15513. "deliverygoodstype": {
  15514. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15515. "type": "integer"
  15516. },
  15517. "dgstatus": {
  15518. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15519. "type": "integer"
  15520. },
  15521. "enumdicname": {
  15522. "description": "现货品种单位名称",
  15523. "type": "string"
  15524. },
  15525. "goodsunitid": {
  15526. "description": "现货品种单位ID",
  15527. "type": "integer"
  15528. },
  15529. "isvalid": {
  15530. "description": "是否有效 - 0:无效 1:有效",
  15531. "type": "integer"
  15532. },
  15533. "qtydecimalplace": {
  15534. "description": "成交量小数位",
  15535. "type": "integer"
  15536. },
  15537. "remark": {
  15538. "description": "备注",
  15539. "type": "string"
  15540. },
  15541. "standardqty": {
  15542. "description": "标准数量(库位数量) [标准品特有]",
  15543. "type": "integer"
  15544. },
  15545. "standardqtyrange": {
  15546. "description": "标准数量偏差范围 [标准品特有]",
  15547. "type": "integer"
  15548. }
  15549. }
  15550. },
  15551. "models.ErmcpDeliveryGoodsDetail2": {
  15552. "type": "object",
  15553. "properties": {
  15554. "convertratio": {
  15555. "description": "套保系数(折算系数)",
  15556. "type": "number"
  15557. },
  15558. "data": {
  15559. "description": "现货商品基本信息(交割品种)",
  15560. "type": "object",
  15561. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15562. },
  15563. "gblist": {
  15564. "description": "品牌列表",
  15565. "type": "array",
  15566. "items": {
  15567. "$ref": "#/definitions/models.Ermcp3Brand"
  15568. }
  15569. },
  15570. "gmlist": {
  15571. "description": "品类列表(仓单标准)",
  15572. "type": "array",
  15573. "items": {
  15574. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15575. }
  15576. }
  15577. }
  15578. },
  15579. "models.ErmcpDeliveryGoodsDetailEx": {
  15580. "type": "object",
  15581. "properties": {
  15582. "data": {
  15583. "description": "现货商品基本信息(交割品种)",
  15584. "type": "object",
  15585. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15586. },
  15587. "gblist": {
  15588. "description": "品牌列表",
  15589. "type": "array",
  15590. "items": {
  15591. "$ref": "#/definitions/models.Ermcp3Brand"
  15592. }
  15593. },
  15594. "gmlist": {
  15595. "description": "品类列表(仓单标准)",
  15596. "type": "array",
  15597. "items": {
  15598. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15599. }
  15600. },
  15601. "mgList": {
  15602. "description": "套保列表",
  15603. "type": "array",
  15604. "items": {
  15605. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15606. }
  15607. }
  15608. }
  15609. },
  15610. "models.ErmcpExposureDetailModel": {
  15611. "type": "object",
  15612. "properties": {
  15613. "areauserid": {
  15614. "description": "机构ID",
  15615. "type": "integer"
  15616. },
  15617. "changeQty": {
  15618. "description": "套保变动量",
  15619. "type": "number"
  15620. },
  15621. "contracttype": {
  15622. "description": "现货合同类型 - 1:采购 -1:销售",
  15623. "type": "integer"
  15624. },
  15625. "convertfactor": {
  15626. "description": "标仓系数",
  15627. "type": "number"
  15628. },
  15629. "convertratio": {
  15630. "description": "套保系数",
  15631. "type": "number"
  15632. },
  15633. "createtime": {
  15634. "description": "时间",
  15635. "type": "string"
  15636. },
  15637. "enumdicname": {
  15638. "description": "现货商品单位名称",
  15639. "type": "string"
  15640. },
  15641. "logtype": {
  15642. "description": "类型 - 1:套保计划 2:现货合同",
  15643. "type": "integer"
  15644. },
  15645. "middlegoodsId": {
  15646. "description": "套保商品id",
  15647. "type": "integer"
  15648. },
  15649. "middlegoodscode": {
  15650. "description": "套保商品代码",
  15651. "type": "string"
  15652. },
  15653. "middlegoodsname": {
  15654. "description": "套保商品名称",
  15655. "type": "string"
  15656. },
  15657. "qty": {
  15658. "description": "数量",
  15659. "type": "number"
  15660. },
  15661. "relateNo": {
  15662. "description": "现货合同/套保计划编号",
  15663. "type": "string"
  15664. },
  15665. "wrstandardcode": {
  15666. "description": "现货商品代码",
  15667. "type": "string"
  15668. },
  15669. "wrstandardid": {
  15670. "description": "现货商品ID",
  15671. "type": "integer"
  15672. },
  15673. "wrstandardname": {
  15674. "description": "现货商品名称",
  15675. "type": "string"
  15676. }
  15677. }
  15678. },
  15679. "models.ErmcpExposurePostion": {
  15680. "type": "object",
  15681. "properties": {
  15682. "agreeunit": {
  15683. "description": "合约单位",
  15684. "type": "string"
  15685. },
  15686. "areauserid": {
  15687. "description": "所属机构id",
  15688. "type": "integer"
  15689. },
  15690. "convertratio": {
  15691. "description": "期货品种系数(折算系数)",
  15692. "type": "number"
  15693. },
  15694. "curqty": {
  15695. "description": "当前持仓",
  15696. "type": "integer"
  15697. },
  15698. "diffhedgeqty": {
  15699. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15700. "type": "number"
  15701. },
  15702. "diffqty": {
  15703. "description": "持仓变动量=当前持仓-昨日持仓",
  15704. "type": "integer"
  15705. },
  15706. "goodscode": {
  15707. "description": "商品代码",
  15708. "type": "string"
  15709. },
  15710. "goodsid": {
  15711. "description": "商品id",
  15712. "type": "integer"
  15713. },
  15714. "goodsname": {
  15715. "description": "商品名称",
  15716. "type": "string"
  15717. },
  15718. "middlegoodsid": {
  15719. "description": "套保商品id",
  15720. "type": "integer"
  15721. },
  15722. "ydqty": {
  15723. "description": "昨日持仓",
  15724. "type": "integer"
  15725. }
  15726. }
  15727. },
  15728. "models.ErmcpFuturesCompany": {
  15729. "type": "object",
  15730. "properties": {
  15731. "brokerid": {
  15732. "description": "经纪公司代码",
  15733. "type": "string"
  15734. },
  15735. "channeladdress": {
  15736. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15737. "type": "string"
  15738. },
  15739. "channelid": {
  15740. "description": "对冲渠道ID",
  15741. "type": "string"
  15742. },
  15743. "createtime": {
  15744. "description": "创建时间",
  15745. "type": "string"
  15746. },
  15747. "creatorid": {
  15748. "description": "创建人",
  15749. "type": "string"
  15750. },
  15751. "fcid": {
  15752. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15753. "type": "integer"
  15754. },
  15755. "fcname": {
  15756. "description": "期货公司名称",
  15757. "type": "string"
  15758. },
  15759. "isvalid": {
  15760. "description": "是否有效 - 0:无效 1:有效",
  15761. "type": "integer"
  15762. },
  15763. "mhpaddress": {
  15764. "description": "MHP服务地址(IP:Port)",
  15765. "type": "string"
  15766. },
  15767. "riskrulegroupid": {
  15768. "description": "风控规则组ID",
  15769. "type": "string"
  15770. },
  15771. "tradefeetmpid": {
  15772. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15773. "type": "string"
  15774. },
  15775. "trademargintmpid": {
  15776. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15777. "type": "string"
  15778. },
  15779. "traderatetmpid": {
  15780. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15781. "type": "string"
  15782. },
  15783. "updatetime": {
  15784. "description": "更新时间",
  15785. "type": "string"
  15786. },
  15787. "updatorid": {
  15788. "description": "更新人",
  15789. "type": "string"
  15790. }
  15791. }
  15792. },
  15793. "models.ErmcpGGConvertCfg": {
  15794. "type": "object",
  15795. "properties": {
  15796. "convertratio": {
  15797. "description": "折算系数",
  15798. "type": "number"
  15799. },
  15800. "destgoodsgroupid": {
  15801. "description": "目标品种ID",
  15802. "type": "integer"
  15803. },
  15804. "dstcode": {
  15805. "description": "目录品种代码",
  15806. "type": "string"
  15807. },
  15808. "dstexchangecode": {
  15809. "description": "目标期货交易所",
  15810. "type": "string"
  15811. },
  15812. "dstname": {
  15813. "description": "目标品种名称",
  15814. "type": "string"
  15815. },
  15816. "dstunitid": {
  15817. "description": "目标品种单位ID",
  15818. "type": "integer"
  15819. },
  15820. "dstunitidname": {
  15821. "description": "目标品种单位名称",
  15822. "type": "string"
  15823. },
  15824. "modifytime": {
  15825. "description": "修改时间",
  15826. "type": "string"
  15827. },
  15828. "srccode": {
  15829. "description": "源品种代码",
  15830. "type": "string"
  15831. },
  15832. "srcexchangecode": {
  15833. "description": "源期货交易所",
  15834. "type": "string"
  15835. },
  15836. "srcgoodsgroupid": {
  15837. "description": "源品种ID",
  15838. "type": "integer"
  15839. },
  15840. "srcname": {
  15841. "description": "源品种名称",
  15842. "type": "string"
  15843. },
  15844. "srcunitid": {
  15845. "description": "源品种单位ID",
  15846. "type": "integer"
  15847. },
  15848. "srcunitidname": {
  15849. "description": "源品种单位名称",
  15850. "type": "string"
  15851. }
  15852. }
  15853. },
  15854. "models.ErmcpGoodsBrand": {
  15855. "type": "object",
  15856. "properties": {
  15857. "areauserid": {
  15858. "description": "所属机构",
  15859. "type": "integer"
  15860. },
  15861. "brandid": {
  15862. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15863. "type": "integer"
  15864. },
  15865. "brandname": {
  15866. "description": "品牌名称",
  15867. "type": "string"
  15868. },
  15869. "createtime": {
  15870. "description": "创建时间",
  15871. "type": "string"
  15872. },
  15873. "creatorid": {
  15874. "description": "创建人",
  15875. "type": "integer"
  15876. },
  15877. "creatorsrc": {
  15878. "description": "创建人来源 - 1:管理端 2:终端",
  15879. "type": "integer"
  15880. },
  15881. "deliverygoodsid": {
  15882. "description": "现货品种ID",
  15883. "type": "integer"
  15884. },
  15885. "isvalid": {
  15886. "description": "是否有效 - 0:无效 1:有效",
  15887. "type": "integer"
  15888. },
  15889. "updatetime": {
  15890. "description": "更新时间",
  15891. "type": "string"
  15892. },
  15893. "updatorid": {
  15894. "description": "更新人",
  15895. "type": "integer"
  15896. },
  15897. "updatorsrc": {
  15898. "description": "更新人来源 - 1:管理端 2:终端",
  15899. "type": "integer"
  15900. },
  15901. "wrstandardid": {
  15902. "description": "现货商品ID",
  15903. "type": "integer"
  15904. }
  15905. }
  15906. },
  15907. "models.ErmcpGoodsModel": {
  15908. "type": "object",
  15909. "properties": {
  15910. "areauserid": {
  15911. "description": "所属机构",
  15912. "type": "integer"
  15913. },
  15914. "convertfactor": {
  15915. "description": "标仓系数",
  15916. "type": "number"
  15917. },
  15918. "createtime": {
  15919. "description": "创建时间",
  15920. "type": "string"
  15921. },
  15922. "creatorid": {
  15923. "description": "创建人",
  15924. "type": "integer"
  15925. },
  15926. "creatorsrc": {
  15927. "description": "创建人来源 - 1:管理端 2:终端",
  15928. "type": "integer"
  15929. },
  15930. "deliverygoodsid": {
  15931. "description": "现货品种ID",
  15932. "type": "integer"
  15933. },
  15934. "isvalid": {
  15935. "description": "是否有效 - 0:无效 1:有效",
  15936. "type": "integer"
  15937. },
  15938. "modelid": {
  15939. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15940. "type": "integer"
  15941. },
  15942. "modelname": {
  15943. "description": "型号名称",
  15944. "type": "string"
  15945. },
  15946. "updatetime": {
  15947. "description": "更新时间",
  15948. "type": "string"
  15949. },
  15950. "updatorid": {
  15951. "description": "更新人",
  15952. "type": "integer"
  15953. },
  15954. "updatorsrc": {
  15955. "description": "更新人来源 - 1:管理端 2:终端",
  15956. "type": "integer"
  15957. },
  15958. "wrstandardid": {
  15959. "description": "现货商品ID",
  15960. "type": "integer"
  15961. }
  15962. }
  15963. },
  15964. "models.ErmcpHedgePosition": {
  15965. "type": "object",
  15966. "properties": {
  15967. "accountid": {
  15968. "description": "资金账号[外部母账户]",
  15969. "type": "integer"
  15970. },
  15971. "curbuyposition": {
  15972. "description": "期末买头寸",
  15973. "type": "integer"
  15974. },
  15975. "cursellposition": {
  15976. "description": "期末卖头寸",
  15977. "type": "integer"
  15978. },
  15979. "curtdbuyposition": {
  15980. "description": "期末今日买头寸",
  15981. "type": "integer"
  15982. },
  15983. "curtdsellposition": {
  15984. "description": "期末今日卖头寸",
  15985. "type": "integer"
  15986. },
  15987. "curydbuyposition": {
  15988. "description": "期末上日买头寸",
  15989. "type": "integer"
  15990. },
  15991. "curydsellposition": {
  15992. "description": "期末上日卖头寸",
  15993. "type": "integer"
  15994. },
  15995. "decreaseqty": {
  15996. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15997. "type": "integer"
  15998. },
  15999. "fretdbuyposition": {
  16000. "description": "冻结今日买头寸",
  16001. "type": "integer"
  16002. },
  16003. "fretdsellposition": {
  16004. "description": "冻结今日卖头寸",
  16005. "type": "integer"
  16006. },
  16007. "freydbuyposition": {
  16008. "description": "冻结上日买头寸",
  16009. "type": "integer"
  16010. },
  16011. "freydsellposition": {
  16012. "description": "冻结上日卖头寸",
  16013. "type": "integer"
  16014. },
  16015. "goodscode": {
  16016. "description": "商品代码",
  16017. "type": "string"
  16018. },
  16019. "goodsid": {
  16020. "description": "商品id",
  16021. "type": "integer"
  16022. },
  16023. "goodsname": {
  16024. "description": "商品名称",
  16025. "type": "string"
  16026. },
  16027. "hedgeaccountcode": {
  16028. "description": "对冲账号",
  16029. "type": "string"
  16030. },
  16031. "hedgegoodsid": {
  16032. "description": "对冲合约ID",
  16033. "type": "integer"
  16034. },
  16035. "increaseqty": {
  16036. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16037. "type": "integer"
  16038. },
  16039. "marketid": {
  16040. "description": "市场ID",
  16041. "type": "integer"
  16042. },
  16043. "relateduserid": {
  16044. "description": "关联用户id",
  16045. "type": "integer"
  16046. },
  16047. "totalcurqty": {
  16048. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16049. "type": "integer"
  16050. },
  16051. "totalydqty": {
  16052. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16053. "type": "integer"
  16054. },
  16055. "tradedate": {
  16056. "description": "交易日(yyyyMMdd)",
  16057. "type": "string"
  16058. },
  16059. "ydbuyposition": {
  16060. "description": "期初买头寸",
  16061. "type": "integer"
  16062. },
  16063. "ydsellposition": {
  16064. "description": "期初卖头寸",
  16065. "type": "integer"
  16066. }
  16067. }
  16068. },
  16069. "models.ErmcpHedgePositionDetail": {
  16070. "type": "object",
  16071. "properties": {
  16072. "buyorsell": {
  16073. "description": "买卖方向 0-买 1-卖",
  16074. "type": "integer"
  16075. },
  16076. "channelbuildtype": {
  16077. "description": "开平方向 1-建仓 2-平仓",
  16078. "type": "integer"
  16079. },
  16080. "goodscode": {
  16081. "description": "商品代码",
  16082. "type": "string"
  16083. },
  16084. "goodsname": {
  16085. "description": "商品名称",
  16086. "type": "string"
  16087. },
  16088. "hedgegoodsid": {
  16089. "description": "商品id",
  16090. "type": "integer"
  16091. },
  16092. "tradeqty": {
  16093. "description": "数量(成交数量)",
  16094. "type": "integer"
  16095. },
  16096. "tradetime": {
  16097. "description": "时间(成交时间)",
  16098. "type": "string"
  16099. }
  16100. }
  16101. },
  16102. "models.ErmcpHisExposure": {
  16103. "type": "object",
  16104. "properties": {
  16105. "needhedgeexposoure": {
  16106. "description": "应套保敞口",
  16107. "type": "number"
  16108. },
  16109. "reckondate": {
  16110. "description": "日照时期(yyyyMMdd)",
  16111. "type": "string"
  16112. },
  16113. "totalexposure": {
  16114. "description": "总敞口",
  16115. "type": "number"
  16116. }
  16117. }
  16118. },
  16119. "models.ErmcpHisExposureS": {
  16120. "type": "object",
  16121. "properties": {
  16122. "data": {
  16123. "description": "历史敞口",
  16124. "type": "array",
  16125. "items": {
  16126. "$ref": "#/definitions/models.ErmcpHisExposure"
  16127. }
  16128. },
  16129. "enumdicname": {
  16130. "description": "单位名称",
  16131. "type": "string"
  16132. },
  16133. "middlegoodscode": {
  16134. "description": "套保品种代码",
  16135. "type": "string"
  16136. },
  16137. "middlegoodsid": {
  16138. "description": "套保品种ID",
  16139. "type": "integer"
  16140. },
  16141. "middlegoodsname": {
  16142. "description": "套保品种名称",
  16143. "type": "string"
  16144. }
  16145. }
  16146. },
  16147. "models.ErmcpLoginTaAccount": {
  16148. "type": "object",
  16149. "properties": {
  16150. "accountid": {
  16151. "description": "账号id",
  16152. "type": "integer"
  16153. },
  16154. "accountname": {
  16155. "description": "账号名称",
  16156. "type": "string"
  16157. }
  16158. }
  16159. },
  16160. "models.ErmcpLoginUser": {
  16161. "type": "object",
  16162. "properties": {
  16163. "acclist": {
  16164. "description": "关联资金账号",
  16165. "type": "array",
  16166. "items": {
  16167. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16168. }
  16169. },
  16170. "accountname": {
  16171. "description": "用户名称",
  16172. "type": "string"
  16173. },
  16174. "clientroleid": {
  16175. "description": "角色id(usertype=2)",
  16176. "type": "integer"
  16177. },
  16178. "createtime": {
  16179. "description": "创建时间",
  16180. "type": "string"
  16181. },
  16182. "logincode": {
  16183. "description": "登录代码",
  16184. "type": "string"
  16185. },
  16186. "loginid": {
  16187. "description": "登录id(LOGINID)",
  16188. "type": "integer"
  16189. },
  16190. "loginname": {
  16191. "description": "登录名称(loginaccount表中的accountname字段)",
  16192. "type": "string"
  16193. },
  16194. "loginstatus": {
  16195. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16196. "type": "integer"
  16197. },
  16198. "memberuserid": {
  16199. "description": "所属会员id",
  16200. "type": "integer"
  16201. },
  16202. "mobile": {
  16203. "description": "手机号",
  16204. "type": "string"
  16205. },
  16206. "modifytime": {
  16207. "description": "修改时间",
  16208. "type": "string"
  16209. },
  16210. "password": {
  16211. "description": "密码(不可解密)",
  16212. "type": "string"
  16213. },
  16214. "rolename": {
  16215. "description": "角色名称",
  16216. "type": "string"
  16217. },
  16218. "rolestatus": {
  16219. "description": "角色状态 1-启用 2-停用",
  16220. "type": "integer"
  16221. },
  16222. "roletype": {
  16223. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16224. "type": "string"
  16225. },
  16226. "userid": {
  16227. "description": "用户id",
  16228. "type": "integer"
  16229. },
  16230. "usertype": {
  16231. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16232. "type": "integer"
  16233. }
  16234. }
  16235. },
  16236. "models.ErmcpLoginUserEx": {
  16237. "type": "object",
  16238. "properties": {
  16239. "accountstatus": {
  16240. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16241. "type": "integer"
  16242. },
  16243. "mobile": {
  16244. "description": "手机号",
  16245. "type": "string"
  16246. },
  16247. "querytype": {
  16248. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16249. "type": "integer"
  16250. },
  16251. "roleid": {
  16252. "description": "角色id(交易账户-\u003e用户id)",
  16253. "type": "integer"
  16254. },
  16255. "rolename": {
  16256. "description": "角色名称(交易账户-\u003e用户名称)",
  16257. "type": "string"
  16258. },
  16259. "userlist": {
  16260. "description": "用户列表",
  16261. "type": "array",
  16262. "items": {
  16263. "$ref": "#/definitions/models.ErmcpLoginUser"
  16264. }
  16265. },
  16266. "usertype": {
  16267. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16268. "type": "integer"
  16269. }
  16270. }
  16271. },
  16272. "models.ErmcpMiddleGoodsChangeLog": {
  16273. "type": "object",
  16274. "properties": {
  16275. "aftervalue": {
  16276. "description": "变更后",
  16277. "type": "number"
  16278. },
  16279. "applyid": {
  16280. "description": "操作人",
  16281. "type": "integer"
  16282. },
  16283. "applyname": {
  16284. "description": "操作人名称",
  16285. "type": "string"
  16286. },
  16287. "applysrc": {
  16288. "description": "操作来源 - 1:管理端 2:终端",
  16289. "type": "integer"
  16290. },
  16291. "beforevalue": {
  16292. "description": "变更前",
  16293. "type": "number"
  16294. },
  16295. "changelogtype": {
  16296. "description": "变更流水类型 - 1:套保比率变更",
  16297. "type": "integer"
  16298. },
  16299. "handlestatus": {
  16300. "description": "处理状态",
  16301. "type": "integer"
  16302. },
  16303. "logdatetime": {
  16304. "description": "流水日期",
  16305. "type": "string"
  16306. },
  16307. "logid": {
  16308. "description": "流水ID",
  16309. "type": "integer"
  16310. },
  16311. "logremark": {
  16312. "description": "流水备注",
  16313. "type": "string"
  16314. },
  16315. "middlegoodsid": {
  16316. "description": "套保品种ID",
  16317. "type": "integer"
  16318. },
  16319. "tradedate": {
  16320. "description": "交易日(yyyyMMdd)",
  16321. "type": "string"
  16322. },
  16323. "updatetime": {
  16324. "description": "更新时间",
  16325. "type": "string"
  16326. }
  16327. }
  16328. },
  16329. "models.ErmcpMiddleGoodsDetail": {
  16330. "type": "object",
  16331. "properties": {
  16332. "cvList": {
  16333. "description": "期货品种折算列表",
  16334. "type": "array",
  16335. "items": {
  16336. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16337. }
  16338. },
  16339. "mg": {
  16340. "description": "套保品种基本信息",
  16341. "type": "object",
  16342. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16343. },
  16344. "wrcList": {
  16345. "description": "现货品种列表(现货商品折算配置)",
  16346. "type": "array",
  16347. "items": {
  16348. "$ref": "#/definitions/models.WRSConverTDetail"
  16349. }
  16350. }
  16351. }
  16352. },
  16353. "models.ErmcpMiddleGoodsModel": {
  16354. "type": "object",
  16355. "properties": {
  16356. "areauserid": {
  16357. "description": "机构用户ID",
  16358. "type": "integer"
  16359. },
  16360. "createtime": {
  16361. "description": "修改时间",
  16362. "type": "string"
  16363. },
  16364. "enumdicname": {
  16365. "description": "单位名称",
  16366. "type": "string"
  16367. },
  16368. "evaluateratio": {
  16369. "description": "估价系数",
  16370. "type": "number"
  16371. },
  16372. "goodsgroupid": {
  16373. "description": "关联期货品种ID",
  16374. "type": "integer"
  16375. },
  16376. "goodsunitid": {
  16377. "description": "单位ID",
  16378. "type": "integer"
  16379. },
  16380. "isvalid": {
  16381. "description": "状态 0-无效(停用) 1-有效(正常)",
  16382. "type": "integer"
  16383. },
  16384. "middlegoodscode": {
  16385. "description": "套保品种代码",
  16386. "type": "string"
  16387. },
  16388. "middlegoodsid": {
  16389. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16390. "type": "integer"
  16391. },
  16392. "middlegoodsname": {
  16393. "description": "套保品种名称",
  16394. "type": "string"
  16395. },
  16396. "modifytime": {
  16397. "description": "修改时间",
  16398. "type": "string"
  16399. },
  16400. "needarbitrageratio": {
  16401. "description": "套利比例",
  16402. "type": "number"
  16403. },
  16404. "needhedgeratio": {
  16405. "description": "套保比率",
  16406. "type": "number"
  16407. },
  16408. "qtydecimalplace": {
  16409. "description": "数量小数位",
  16410. "type": "integer"
  16411. },
  16412. "relatedgoodsid": {
  16413. "description": "关联交易商品ID",
  16414. "type": "integer"
  16415. },
  16416. "relatedgoodstype": {
  16417. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16418. "type": "integer"
  16419. },
  16420. "remark": {
  16421. "description": "备注",
  16422. "type": "string"
  16423. }
  16424. }
  16425. },
  16426. "models.ErmcpOPLogModel": {
  16427. "type": "object",
  16428. "properties": {
  16429. "aftervalue": {
  16430. "description": "变更后",
  16431. "type": "number"
  16432. },
  16433. "applyid": {
  16434. "description": "操作人ID",
  16435. "type": "string"
  16436. },
  16437. "applyname": {
  16438. "description": "操作人名称",
  16439. "type": "string"
  16440. },
  16441. "beforevalue": {
  16442. "description": "变更前",
  16443. "type": "number"
  16444. },
  16445. "biztype": {
  16446. "description": "业务类型 - 1:套保计划 2:现货合同",
  16447. "type": "integer"
  16448. },
  16449. "contracttype": {
  16450. "description": "现货合同类型 - 1:采购 -1:销售",
  16451. "type": "integer"
  16452. },
  16453. "logvalue": {
  16454. "description": "数值",
  16455. "type": "number"
  16456. },
  16457. "operatelogtype": {
  16458. "description": "操作流水类型",
  16459. "type": "integer"
  16460. },
  16461. "operatelogtypedesc": {
  16462. "description": "操作流水类型名称",
  16463. "type": "string"
  16464. },
  16465. "relatedid": {
  16466. "description": "现货合同ID\\套保计划",
  16467. "type": "string"
  16468. },
  16469. "updatetime": {
  16470. "description": "更新时间",
  16471. "type": "string"
  16472. }
  16473. }
  16474. },
  16475. "models.ErmcpPendingAudit": {
  16476. "type": "object",
  16477. "properties": {
  16478. "areastockqty": {
  16479. "description": "待审核数量: 库存申请",
  16480. "type": "integer"
  16481. },
  16482. "businessdjqty": {
  16483. "description": "待审核数量: 点价",
  16484. "type": "integer"
  16485. },
  16486. "businessfpqty": {
  16487. "description": "待审核数量: 发票",
  16488. "type": "integer"
  16489. },
  16490. "businessjsqty": {
  16491. "description": "待审核数量: 结算",
  16492. "type": "integer"
  16493. },
  16494. "businesskxqty": {
  16495. "description": "待审核数量: 款项",
  16496. "type": "integer"
  16497. },
  16498. "hedgeplanqty": {
  16499. "description": "待审核数量: 套保计划",
  16500. "type": "integer"
  16501. },
  16502. "spotcontractqty": {
  16503. "description": "待审核数量: 现货合同",
  16504. "type": "integer"
  16505. },
  16506. "userqty": {
  16507. "description": "待审核数量: 用户",
  16508. "type": "integer"
  16509. }
  16510. }
  16511. },
  16512. "models.ErmcpRealExposureModel": {
  16513. "type": "object",
  16514. "properties": {
  16515. "AreaUserID": {
  16516. "description": "所属机构",
  16517. "type": "integer"
  16518. },
  16519. "BuyFutureQty": {
  16520. "description": "买入期货数量",
  16521. "type": "number"
  16522. },
  16523. "BuyPlanQty": {
  16524. "description": "采购计划数量",
  16525. "type": "number"
  16526. },
  16527. "BuyPricedQty": {
  16528. "description": "采购合同已定价数量",
  16529. "type": "number"
  16530. },
  16531. "MiddleGoodsCode": {
  16532. "description": "套保品种代码",
  16533. "type": "string"
  16534. },
  16535. "MiddleGoodsHedgeRatio": {
  16536. "description": "套保比例",
  16537. "type": "number"
  16538. },
  16539. "MiddleGoodsID": {
  16540. "description": "套保品种",
  16541. "type": "integer"
  16542. },
  16543. "MiddleGoodsName": {
  16544. "description": "套保品种名称",
  16545. "type": "string"
  16546. },
  16547. "NeedHedgeExposoure": {
  16548. "description": "应套保敞口(套保敞口)",
  16549. "type": "number"
  16550. },
  16551. "NeedHedgeRatio": {
  16552. "description": "应套保敞口比例",
  16553. "type": "number"
  16554. },
  16555. "OriBuyFutureQty": {
  16556. "description": "期初买入期货数量",
  16557. "type": "number"
  16558. },
  16559. "OriBuyPlanQty": {
  16560. "description": "期初采购计划数量",
  16561. "type": "number"
  16562. },
  16563. "OriBuyPricedQty": {
  16564. "description": "期初采购合同已定价数量",
  16565. "type": "number"
  16566. },
  16567. "OriSellFutureQty": {
  16568. "description": "期初卖出期货数量",
  16569. "type": "number"
  16570. },
  16571. "OriSellPlanQty": {
  16572. "description": "期初销售计划数量",
  16573. "type": "number"
  16574. },
  16575. "OriSellPricedQty": {
  16576. "description": "期初销售合同已定价数量",
  16577. "type": "number"
  16578. },
  16579. "SellFutureQty": {
  16580. "description": "卖出期货数量",
  16581. "type": "number"
  16582. },
  16583. "SellPlanQty": {
  16584. "description": "销售计划数量",
  16585. "type": "number"
  16586. },
  16587. "SellPricedQty": {
  16588. "description": "销售合同已定价数量",
  16589. "type": "number"
  16590. },
  16591. "TotalExposure": {
  16592. "description": "总敞口",
  16593. "type": "number"
  16594. },
  16595. "TotalFutureQty": {
  16596. "description": "期货总量",
  16597. "type": "number"
  16598. },
  16599. "TotalHedgeRatio": {
  16600. "description": "敞口比例",
  16601. "type": "number"
  16602. },
  16603. "TotalNeedHedgeQty": {
  16604. "description": "应套保总量(现货应套保总量)",
  16605. "type": "number"
  16606. },
  16607. "TotalSpotQty": {
  16608. "description": "现货总量",
  16609. "type": "number"
  16610. },
  16611. "arbitrageqty": {
  16612. "description": "套利量",
  16613. "type": "number"
  16614. },
  16615. "diffArbitrageQty": {
  16616. "description": "套利变动量",
  16617. "type": "number"
  16618. },
  16619. "diffExposoureQty": {
  16620. "description": "变动量(套保敞口)",
  16621. "type": "number"
  16622. },
  16623. "diffFutuQty": {
  16624. "description": "变动量(期货总量)",
  16625. "type": "number"
  16626. },
  16627. "diffHedgeQty": {
  16628. "description": "套保变动量",
  16629. "type": "number"
  16630. },
  16631. "diffQty": {
  16632. "description": "变动量(总敞口)",
  16633. "type": "number"
  16634. },
  16635. "diffSpotHedgeQty": {
  16636. "description": "变动量(现货应套保总量)",
  16637. "type": "number"
  16638. },
  16639. "diffSpotQty": {
  16640. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16641. "type": "number"
  16642. },
  16643. "enumdicname": {
  16644. "description": "单位名称",
  16645. "type": "string"
  16646. },
  16647. "hedgeqty": {
  16648. "description": "套保量",
  16649. "type": "number"
  16650. },
  16651. "needarbitrageqty": {
  16652. "description": "应套利量",
  16653. "type": "number"
  16654. },
  16655. "needarbitrageratio": {
  16656. "description": "套利比例",
  16657. "type": "number"
  16658. },
  16659. "needhedgeqty": {
  16660. "description": "应套保量",
  16661. "type": "number"
  16662. },
  16663. "oriTotalFutuQty": {
  16664. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16665. "type": "number"
  16666. },
  16667. "oriTotalSpotQty": {
  16668. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16669. "type": "number"
  16670. },
  16671. "oriarbitrageqty": {
  16672. "description": "期初套利量",
  16673. "type": "number"
  16674. },
  16675. "orihedgeqty": {
  16676. "description": "期初套保量",
  16677. "type": "number"
  16678. },
  16679. "orineedhedgeexposoure": {
  16680. "description": "期初套保敞口",
  16681. "type": "number"
  16682. },
  16683. "oritotalexposure": {
  16684. "description": "期初总敞口",
  16685. "type": "number"
  16686. },
  16687. "oritotalfutureqty": {
  16688. "description": "期初期货总量",
  16689. "type": "number"
  16690. },
  16691. "oritotalneedhedgeqty": {
  16692. "description": "期初现货应套保量",
  16693. "type": "number"
  16694. }
  16695. }
  16696. },
  16697. "models.ErmcpRole": {
  16698. "type": "object",
  16699. "properties": {
  16700. "areauserid": {
  16701. "description": "所属机构",
  16702. "type": "integer"
  16703. },
  16704. "autoid": {
  16705. "description": "角色ID(自增ID)",
  16706. "type": "integer"
  16707. },
  16708. "modifierid": {
  16709. "description": "修改人(创建人)",
  16710. "type": "integer"
  16711. },
  16712. "modifiername": {
  16713. "description": "修改人名称",
  16714. "type": "string"
  16715. },
  16716. "modifytime": {
  16717. "description": "修改时间(创建时间)",
  16718. "type": "string"
  16719. },
  16720. "rolename": {
  16721. "description": "角色名称",
  16722. "type": "string"
  16723. },
  16724. "rolestatus": {
  16725. "description": "角色状态 - 1:启用 2:停用",
  16726. "type": "integer"
  16727. },
  16728. "roletype": {
  16729. "description": "角色类型 - 1- 管理端 2- 交易端",
  16730. "type": "integer"
  16731. }
  16732. }
  16733. },
  16734. "models.ErmcpRoleMenu": {
  16735. "type": "object",
  16736. "properties": {
  16737. "iconame": {
  16738. "description": "菜单图标",
  16739. "type": "string"
  16740. },
  16741. "ishadrole": {
  16742. "description": "是否有权限",
  16743. "type": "boolean"
  16744. },
  16745. "menutype": {
  16746. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16747. "type": "integer"
  16748. },
  16749. "parentcode": {
  16750. "description": "上级资源代码",
  16751. "type": "string"
  16752. },
  16753. "remark": {
  16754. "description": "菜单备注",
  16755. "type": "string"
  16756. },
  16757. "resourcecode": {
  16758. "description": "菜单代码",
  16759. "type": "string"
  16760. },
  16761. "resourcelevel": {
  16762. "description": "级别",
  16763. "type": "integer"
  16764. },
  16765. "resourcename": {
  16766. "description": "菜单名称",
  16767. "type": "string"
  16768. },
  16769. "roleid": {
  16770. "description": "角色id",
  16771. "type": "integer"
  16772. },
  16773. "sort": {
  16774. "description": "排序",
  16775. "type": "integer"
  16776. },
  16777. "url": {
  16778. "description": "URL",
  16779. "type": "string"
  16780. },
  16781. "userid": {
  16782. "description": "用户id",
  16783. "type": "integer"
  16784. }
  16785. }
  16786. },
  16787. "models.ErmcpRoleMenuEx": {
  16788. "type": "object",
  16789. "properties": {
  16790. "menu": {
  16791. "description": "父级菜单",
  16792. "type": "object",
  16793. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16794. },
  16795. "subMenu": {
  16796. "description": "子级菜单",
  16797. "type": "array",
  16798. "items": {
  16799. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16800. }
  16801. }
  16802. }
  16803. },
  16804. "models.ErmcpTaAccount": {
  16805. "type": "object",
  16806. "properties": {
  16807. "accountid": {
  16808. "description": "账户id",
  16809. "type": "integer"
  16810. },
  16811. "accountname": {
  16812. "description": "账户名称",
  16813. "type": "string"
  16814. },
  16815. "currencyid": {
  16816. "description": "币种id",
  16817. "type": "integer"
  16818. },
  16819. "hedgeaccountcode": {
  16820. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16821. "type": "string"
  16822. },
  16823. "ismain": {
  16824. "description": "是否主账户 0-否 1-是",
  16825. "type": "integer"
  16826. },
  16827. "parentaccountid": {
  16828. "description": "父账户id",
  16829. "type": "integer"
  16830. },
  16831. "relateduserid": {
  16832. "description": "关联userid",
  16833. "type": "integer"
  16834. },
  16835. "tradestatus": {
  16836. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16837. "type": "integer"
  16838. },
  16839. "userid": {
  16840. "description": "用户id",
  16841. "type": "integer"
  16842. }
  16843. }
  16844. },
  16845. "models.ErmcpTaAccountEx": {
  16846. "type": "object",
  16847. "properties": {
  16848. "mainAcc": {
  16849. "description": "主账号",
  16850. "type": "object",
  16851. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16852. },
  16853. "subacclist": {
  16854. "description": "子账号列表",
  16855. "type": "array",
  16856. "items": {
  16857. "$ref": "#/definitions/models.ErmcpTaAccount"
  16858. }
  16859. }
  16860. }
  16861. },
  16862. "models.ErmcpTaAccountInfo": {
  16863. "type": "object",
  16864. "properties": {
  16865. "accountid": {
  16866. "description": "资金账户ID",
  16867. "type": "integer"
  16868. },
  16869. "accountname": {
  16870. "description": "账户名称",
  16871. "type": "string"
  16872. },
  16873. "balance": {
  16874. "description": "期初余额",
  16875. "type": "number"
  16876. },
  16877. "capitalbalance": {
  16878. "description": "本金余额[外部子账户实际出入金余额]",
  16879. "type": "number"
  16880. },
  16881. "closepl": {
  16882. "description": "今日平仓盈亏",
  16883. "type": "number"
  16884. },
  16885. "creditdecrease": {
  16886. "description": "今日授信减少",
  16887. "type": "number"
  16888. },
  16889. "creditincrease": {
  16890. "description": "今日授信增加",
  16891. "type": "number"
  16892. },
  16893. "curdebt": {
  16894. "description": "期末欠款",
  16895. "type": "number"
  16896. },
  16897. "currencyid": {
  16898. "description": "货币ID",
  16899. "type": "integer"
  16900. },
  16901. "currentbalance": {
  16902. "description": "期末余额",
  16903. "type": "number"
  16904. },
  16905. "freezecharge": {
  16906. "description": "手续费冻结",
  16907. "type": "number"
  16908. },
  16909. "freezemargin": {
  16910. "description": "冻结保证金",
  16911. "type": "number"
  16912. },
  16913. "fromaccountid": {
  16914. "description": "所属上级账户",
  16915. "type": "integer"
  16916. },
  16917. "inamount": {
  16918. "description": "今日入金金额(包括三方入金)",
  16919. "type": "number"
  16920. },
  16921. "ismain": {
  16922. "description": "是否母账号 0:不是母账户 1:是母账户",
  16923. "type": "integer"
  16924. },
  16925. "mortgagecredit": {
  16926. "description": "授信金额",
  16927. "type": "number"
  16928. },
  16929. "oridebt": {
  16930. "description": "期初欠款",
  16931. "type": "number"
  16932. },
  16933. "orifreezecharge": {
  16934. "description": "期初手续费冻结",
  16935. "type": "number"
  16936. },
  16937. "orifreezemargin": {
  16938. "description": "期初冻结保证金",
  16939. "type": "number"
  16940. },
  16941. "orimortgagecredit": {
  16942. "description": "期初授信金额",
  16943. "type": "number"
  16944. },
  16945. "oriothercredit": {
  16946. "description": "期初其它授信金额",
  16947. "type": "number"
  16948. },
  16949. "oriotherfreezemargin": {
  16950. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16951. "type": "number"
  16952. },
  16953. "orioutamountfreeze": {
  16954. "description": "期初出金冻结",
  16955. "type": "number"
  16956. },
  16957. "oriusedmargin": {
  16958. "description": "期初占用保证金",
  16959. "type": "number"
  16960. },
  16961. "othercredit": {
  16962. "description": "其它授信金额",
  16963. "type": "number"
  16964. },
  16965. "othercreditdecrease": {
  16966. "description": "今日其它授信减少",
  16967. "type": "number"
  16968. },
  16969. "othercreditincrease": {
  16970. "description": "今日其它授信增加",
  16971. "type": "number"
  16972. },
  16973. "otherfreezemargin": {
  16974. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16975. "type": "number"
  16976. },
  16977. "outamount": {
  16978. "description": "今日出金金额(包括三方出金)",
  16979. "type": "number"
  16980. },
  16981. "outamountfreeze": {
  16982. "description": "出金冻结",
  16983. "type": "number"
  16984. },
  16985. "outthreshold": {
  16986. "description": "出金阈值",
  16987. "type": "number"
  16988. },
  16989. "parentaccountid": {
  16990. "description": "所属根账号",
  16991. "type": "integer"
  16992. },
  16993. "paycharge": {
  16994. "description": "今日手续费支出",
  16995. "type": "number"
  16996. },
  16997. "relateduserid": {
  16998. "description": "关联用户",
  16999. "type": "integer"
  17000. },
  17001. "signstatus": {
  17002. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17003. "type": "integer"
  17004. },
  17005. "sublevelpath": {
  17006. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17007. "type": "string"
  17008. },
  17009. "taaccounttype": {
  17010. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17011. "type": "integer"
  17012. },
  17013. "thirdinamount": {
  17014. "description": "今日三方入金",
  17015. "type": "number"
  17016. },
  17017. "thirdoutamount": {
  17018. "description": "今日三方出金",
  17019. "type": "number"
  17020. },
  17021. "tradestatus": {
  17022. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17023. "type": "integer"
  17024. },
  17025. "transferamount": {
  17026. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17027. "type": "number"
  17028. },
  17029. "usedmargin": {
  17030. "description": "占用保证金",
  17031. "type": "number"
  17032. },
  17033. "userid": {
  17034. "description": "用户ID",
  17035. "type": "integer"
  17036. }
  17037. }
  17038. },
  17039. "models.ErmcpTaAccountM": {
  17040. "type": "object",
  17041. "properties": {
  17042. "accountid": {
  17043. "description": "账户id",
  17044. "type": "integer"
  17045. },
  17046. "accountname": {
  17047. "description": "账户名称",
  17048. "type": "string"
  17049. },
  17050. "currencyid": {
  17051. "description": "币种id",
  17052. "type": "integer"
  17053. },
  17054. "fcid": {
  17055. "description": "期货公司id",
  17056. "type": "integer"
  17057. },
  17058. "fcname": {
  17059. "description": "期货公司代码",
  17060. "type": "string"
  17061. },
  17062. "hedgeaccountcode": {
  17063. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17064. "type": "string"
  17065. },
  17066. "ismain": {
  17067. "description": "是否主账户 0-否 1-是",
  17068. "type": "integer"
  17069. },
  17070. "parentaccountid": {
  17071. "description": "父账户id",
  17072. "type": "integer"
  17073. },
  17074. "relateduserid": {
  17075. "description": "关联userid",
  17076. "type": "integer"
  17077. },
  17078. "tradestatus": {
  17079. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17080. "type": "integer"
  17081. },
  17082. "userid": {
  17083. "description": "用户id",
  17084. "type": "integer"
  17085. }
  17086. }
  17087. },
  17088. "models.ErmcpTradeConfigTMP": {
  17089. "type": "object",
  17090. "properties": {
  17091. "areauserid": {
  17092. "description": "所属机构",
  17093. "type": "integer"
  17094. },
  17095. "basiccurrencyid": {
  17096. "description": "基本币种ID[汇率] - 目标币种",
  17097. "type": "integer"
  17098. },
  17099. "mainaccountid": {
  17100. "description": "主账户ID",
  17101. "type": "integer"
  17102. },
  17103. "modifierid": {
  17104. "description": "修改人",
  17105. "type": "integer"
  17106. },
  17107. "remark": {
  17108. "description": "备注",
  17109. "type": "string"
  17110. },
  17111. "tradeconfigtmpid": {
  17112. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17113. "type": "integer"
  17114. },
  17115. "tradeconfigtmpname": {
  17116. "description": "交易配置模板名称",
  17117. "type": "string"
  17118. },
  17119. "tradeconfigtmptype": {
  17120. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17121. "type": "integer"
  17122. },
  17123. "updatetime": {
  17124. "description": "更新时间",
  17125. "type": "string"
  17126. }
  17127. }
  17128. },
  17129. "models.ErmcpUserModel": {
  17130. "type": "object",
  17131. "properties": {
  17132. "address": {
  17133. "description": "通讯地址",
  17134. "type": "string"
  17135. },
  17136. "attachment1": {
  17137. "description": "附件1",
  17138. "type": "string"
  17139. },
  17140. "audittime": {
  17141. "description": "审核时间",
  17142. "type": "string"
  17143. },
  17144. "cardbackphotourl": {
  17145. "description": "证件反面图片地址",
  17146. "type": "string"
  17147. },
  17148. "cardfrontphotourl": {
  17149. "description": "证件正面图片地址",
  17150. "type": "string"
  17151. },
  17152. "cardnum": {
  17153. "description": "证件号码",
  17154. "type": "string"
  17155. },
  17156. "cardtype": {
  17157. "description": "证件类型",
  17158. "type": "integer"
  17159. },
  17160. "cardtypename": {
  17161. "description": "证件类型名称",
  17162. "type": "string"
  17163. },
  17164. "cityid": {
  17165. "description": "市",
  17166. "type": "integer"
  17167. },
  17168. "contactname": {
  17169. "description": "联系人",
  17170. "type": "string"
  17171. },
  17172. "countryid": {
  17173. "description": "国家",
  17174. "type": "integer"
  17175. },
  17176. "createtime": {
  17177. "description": "创建时间",
  17178. "type": "string"
  17179. },
  17180. "customername": {
  17181. "description": "企业名称",
  17182. "type": "string"
  17183. },
  17184. "districtid": {
  17185. "description": "区域",
  17186. "type": "integer"
  17187. },
  17188. "email": {
  17189. "description": "邮件",
  17190. "type": "string"
  17191. },
  17192. "legalpersonname": {
  17193. "description": "法人姓名(企业)",
  17194. "type": "string"
  17195. },
  17196. "memberuserid": {
  17197. "description": "所属机构ID",
  17198. "type": "integer"
  17199. },
  17200. "mobile": {
  17201. "description": "手机号码",
  17202. "type": "string"
  17203. },
  17204. "modifytime": {
  17205. "description": "修改时间",
  17206. "type": "string"
  17207. },
  17208. "nickname": {
  17209. "description": "昵称",
  17210. "type": "string"
  17211. },
  17212. "provinceid": {
  17213. "description": "省",
  17214. "type": "integer"
  17215. },
  17216. "remark": {
  17217. "description": "备注",
  17218. "type": "string"
  17219. },
  17220. "status": {
  17221. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17222. "type": "integer"
  17223. },
  17224. "statusdesc": {
  17225. "description": "账户状态中文描述",
  17226. "type": "string"
  17227. },
  17228. "taxpayernum": {
  17229. "description": "纳税人识别号",
  17230. "type": "string"
  17231. },
  17232. "telphone": {
  17233. "description": "联系电话",
  17234. "type": "string"
  17235. },
  17236. "userid": {
  17237. "description": "用户ID",
  17238. "type": "integer"
  17239. },
  17240. "userinfotype": {
  17241. "description": "客户类型",
  17242. "type": "string"
  17243. }
  17244. }
  17245. },
  17246. "models.ErmcpWareHouseInfo": {
  17247. "type": "object",
  17248. "properties": {
  17249. "address": {
  17250. "description": "详细地址",
  17251. "type": "string"
  17252. },
  17253. "areauserid": {
  17254. "description": "所属机构",
  17255. "type": "integer"
  17256. },
  17257. "autoid": {
  17258. "description": "自增ID(仓库ID)",
  17259. "type": "integer"
  17260. },
  17261. "cityid": {
  17262. "description": "市",
  17263. "type": "integer"
  17264. },
  17265. "contactname": {
  17266. "description": "联系人",
  17267. "type": "string"
  17268. },
  17269. "contactnum": {
  17270. "description": "联系电话",
  17271. "type": "string"
  17272. },
  17273. "countryid": {
  17274. "description": "国家",
  17275. "type": "integer"
  17276. },
  17277. "createtime": {
  17278. "description": "创建时间",
  17279. "type": "string"
  17280. },
  17281. "districtid": {
  17282. "description": "区",
  17283. "type": "integer"
  17284. },
  17285. "hasvideo": {
  17286. "description": "是否有视频 - 0:无 1:有",
  17287. "type": "integer"
  17288. },
  17289. "provinceid": {
  17290. "description": "省",
  17291. "type": "integer"
  17292. },
  17293. "remark": {
  17294. "description": "审核备注",
  17295. "type": "string"
  17296. },
  17297. "videourl": {
  17298. "description": "视频地址",
  17299. "type": "string"
  17300. },
  17301. "warehousecode": {
  17302. "description": "仓库代码",
  17303. "type": "string"
  17304. },
  17305. "warehousename": {
  17306. "description": "仓库名称",
  17307. "type": "string"
  17308. },
  17309. "warehousestatus": {
  17310. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17311. "type": "integer"
  17312. },
  17313. "warehousetype": {
  17314. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17315. "type": "integer"
  17316. }
  17317. }
  17318. },
  17319. "models.Externalexchange": {
  17320. "type": "object",
  17321. "required": [
  17322. "autoid"
  17323. ],
  17324. "properties": {
  17325. "autoid": {
  17326. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17327. "type": "integer"
  17328. },
  17329. "exchangefullname": {
  17330. "description": "外部交易所全称",
  17331. "type": "string"
  17332. },
  17333. "exexchangecode": {
  17334. "description": "外部交易所代码",
  17335. "type": "string"
  17336. },
  17337. "exexchangename": {
  17338. "description": "外部交易所名称(简称)",
  17339. "type": "string"
  17340. },
  17341. "ismarketprice": {
  17342. "description": "是否支持市价 - 0:不支持 1:支持",
  17343. "type": "integer"
  17344. },
  17345. "quotegear": {
  17346. "description": "行情档位(1-10)",
  17347. "type": "integer"
  17348. },
  17349. "showbrokerflag": {
  17350. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17351. "type": "integer"
  17352. },
  17353. "updatetime": {
  17354. "description": "更新时间",
  17355. "type": "string"
  17356. }
  17357. }
  17358. },
  17359. "models.Funcmenulist": {
  17360. "type": "object",
  17361. "required": [
  17362. "resourcecode"
  17363. ],
  17364. "properties": {
  17365. "iconame": {
  17366. "description": "菜单图标",
  17367. "type": "string"
  17368. },
  17369. "menutype": {
  17370. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17371. "type": "integer"
  17372. },
  17373. "parentcode": {
  17374. "description": "上级资源代码",
  17375. "type": "string"
  17376. },
  17377. "remark": {
  17378. "description": "备注",
  17379. "type": "string"
  17380. },
  17381. "resourcecode": {
  17382. "description": "资源代码",
  17383. "type": "string"
  17384. },
  17385. "resourcelevel": {
  17386. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17387. "type": "integer"
  17388. },
  17389. "resourcename": {
  17390. "description": "资源名",
  17391. "type": "string"
  17392. },
  17393. "sort": {
  17394. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17395. "type": "integer"
  17396. },
  17397. "url": {
  17398. "description": "URL",
  17399. "type": "string"
  17400. }
  17401. }
  17402. },
  17403. "models.Goods": {
  17404. "type": "object",
  17405. "required": [
  17406. "goodscode",
  17407. "goodsid",
  17408. "goodsname",
  17409. "marketid"
  17410. ],
  17411. "properties": {
  17412. "agreeunit": {
  17413. "description": "合约单位",
  17414. "type": "number"
  17415. },
  17416. "auditaccountid": {
  17417. "description": "审核操作员账号",
  17418. "type": "integer"
  17419. },
  17420. "audittime": {
  17421. "description": "审核时间",
  17422. "type": "string"
  17423. },
  17424. "cancelaccountid": {
  17425. "description": "注销操作员账号",
  17426. "type": "integer"
  17427. },
  17428. "canceltime": {
  17429. "description": "注销时间",
  17430. "type": "string"
  17431. },
  17432. "closepricemode": {
  17433. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17434. "type": "integer"
  17435. },
  17436. "closepriceparam": {
  17437. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17438. "type": "number"
  17439. },
  17440. "createtime": {
  17441. "description": "创建时间",
  17442. "type": "string"
  17443. },
  17444. "creatorid": {
  17445. "description": "创建人",
  17446. "type": "integer"
  17447. },
  17448. "currencyid": {
  17449. "description": "报价货币ID",
  17450. "type": "integer"
  17451. },
  17452. "cutmode": {
  17453. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17454. "type": "integer"
  17455. },
  17456. "decimalplace": {
  17457. "description": "报价小数位",
  17458. "type": "integer"
  17459. },
  17460. "delistingdate": {
  17461. "description": "商品退市时间(状态:退市) -- 已作废",
  17462. "type": "string"
  17463. },
  17464. "delistingmode": {
  17465. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17466. "type": "integer"
  17467. },
  17468. "deliveryflag": {
  17469. "description": "交割标志 - 0:不可交割 1:可交割",
  17470. "type": "integer"
  17471. },
  17472. "forceclosemode": {
  17473. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17474. "type": "integer"
  17475. },
  17476. "forceclosevalue": {
  17477. "description": "定期强平参数 [收益权]",
  17478. "type": "integer"
  17479. },
  17480. "goodscode": {
  17481. "description": "商品代码(内部)",
  17482. "type": "string"
  17483. },
  17484. "goodscurrencyid": {
  17485. "description": "合约货币ID",
  17486. "type": "integer"
  17487. },
  17488. "goodsgroupid": {
  17489. "description": "所属商品组ID",
  17490. "type": "integer"
  17491. },
  17492. "goodsid": {
  17493. "description": "商品ID(自增ID SEQ_GOODS)",
  17494. "type": "integer"
  17495. },
  17496. "goodsname": {
  17497. "description": "商品名称",
  17498. "type": "string"
  17499. },
  17500. "goodsquotetype": {
  17501. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17502. "type": "integer"
  17503. },
  17504. "goodsstatus": {
  17505. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17506. "type": "integer"
  17507. },
  17508. "goodstradetype": {
  17509. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17510. "type": "integer"
  17511. },
  17512. "goodunitid": {
  17513. "description": "报价单位ID",
  17514. "type": "integer"
  17515. },
  17516. "hasquoter": {
  17517. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17518. "type": "integer"
  17519. },
  17520. "hqprotecttime": {
  17521. "description": "行情保护时间(秒)",
  17522. "type": "integer"
  17523. },
  17524. "innerdealmode": {
  17525. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17526. "type": "integer"
  17527. },
  17528. "isbuylimited": {
  17529. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17530. "type": "integer"
  17531. },
  17532. "lasttradedate": {
  17533. "description": "最后交易日期(状态:待退市)",
  17534. "type": "string"
  17535. },
  17536. "listingdate": {
  17537. "description": "交易开始日期",
  17538. "type": "string"
  17539. },
  17540. "marketid": {
  17541. "description": "所属市场ID",
  17542. "type": "integer"
  17543. },
  17544. "modifierid": {
  17545. "description": "修改人",
  17546. "type": "integer"
  17547. },
  17548. "modifystatus": {
  17549. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17550. "type": "integer"
  17551. },
  17552. "modifytime": {
  17553. "description": "修改时间",
  17554. "type": "string"
  17555. },
  17556. "outerdealmode": {
  17557. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17558. "type": "integer"
  17559. },
  17560. "outgoodscode": {
  17561. "description": "商品代码(外部)",
  17562. "type": "string"
  17563. },
  17564. "qtydecimalplace": {
  17565. "description": "成交量小数位",
  17566. "type": "integer"
  17567. },
  17568. "quotegear": {
  17569. "description": "行情档位(1-10)",
  17570. "type": "integer"
  17571. },
  17572. "quoteminunit": {
  17573. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17574. "type": "integer"
  17575. },
  17576. "quoteshowtype": {
  17577. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17578. "type": "integer"
  17579. },
  17580. "quoteshowtypeinterval": {
  17581. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17582. "type": "integer"
  17583. },
  17584. "remark": {
  17585. "description": "备注",
  17586. "type": "string"
  17587. }
  17588. }
  17589. },
  17590. "models.GoodsIDAndName": {
  17591. "type": "object",
  17592. "required": [
  17593. "goodscode",
  17594. "goodsid",
  17595. "goodsname",
  17596. "marketid"
  17597. ],
  17598. "properties": {
  17599. "goodscode": {
  17600. "description": "商品代码(内部)",
  17601. "type": "string"
  17602. },
  17603. "goodsid": {
  17604. "description": "商品ID(自增ID SEQ_GOODS)",
  17605. "type": "integer"
  17606. },
  17607. "goodsname": {
  17608. "description": "商品名称",
  17609. "type": "string"
  17610. },
  17611. "marketid": {
  17612. "description": "所属市场ID",
  17613. "type": "integer"
  17614. }
  17615. }
  17616. },
  17617. "models.Goodsgroup": {
  17618. "type": "object",
  17619. "required": [
  17620. "goodsgroupid",
  17621. "goodsgroupname",
  17622. "goodsgroupstatus",
  17623. "marketid"
  17624. ],
  17625. "properties": {
  17626. "agreeunit": {
  17627. "description": "合约单位",
  17628. "type": "number"
  17629. },
  17630. "canshort": {
  17631. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17632. "type": "integer"
  17633. },
  17634. "closepricemode": {
  17635. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17636. "type": "integer"
  17637. },
  17638. "closepriceparam": {
  17639. "description": "强平最新价浮动比例 - 方式为2时使用",
  17640. "type": "number"
  17641. },
  17642. "createtime": {
  17643. "description": "创建时间",
  17644. "type": "string"
  17645. },
  17646. "creatorid": {
  17647. "description": "创建人",
  17648. "type": "integer"
  17649. },
  17650. "currencyid": {
  17651. "description": "报价货币ID",
  17652. "type": "integer"
  17653. },
  17654. "decimalplace": {
  17655. "description": "报价小数位",
  17656. "type": "integer"
  17657. },
  17658. "exercisetype": {
  17659. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17660. "type": "integer"
  17661. },
  17662. "exexchangeid": {
  17663. "description": "外部交易所ID[通道交易]",
  17664. "type": "integer"
  17665. },
  17666. "goodsgroupid": {
  17667. "description": "商品组ID(自增ID)",
  17668. "type": "integer"
  17669. },
  17670. "goodsgroupname": {
  17671. "description": "商品组名称",
  17672. "type": "string"
  17673. },
  17674. "goodsgroupstatus": {
  17675. "description": "商品组状态 - 1:正常 2:注销",
  17676. "type": "integer"
  17677. },
  17678. "goodunitid": {
  17679. "description": "报价单位ID",
  17680. "type": "integer"
  17681. },
  17682. "innerdealmode": {
  17683. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17684. "type": "integer"
  17685. },
  17686. "isbuylimited": {
  17687. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17688. "type": "integer"
  17689. },
  17690. "marketid": {
  17691. "description": "所属市场ID",
  17692. "type": "integer"
  17693. },
  17694. "modifierid": {
  17695. "description": "修改人",
  17696. "type": "integer"
  17697. },
  17698. "modifytime": {
  17699. "description": "修改时间",
  17700. "type": "string"
  17701. },
  17702. "outerdealmode": {
  17703. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17704. "type": "integer"
  17705. },
  17706. "outergroupcode": {
  17707. "description": "外部商品组代码[通道交易]",
  17708. "type": "string"
  17709. },
  17710. "premiumdecimalplace": {
  17711. "description": "权利金小数位[场外期权]",
  17712. "type": "integer"
  17713. },
  17714. "premiumspreadalgorithm": {
  17715. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17716. "type": "integer"
  17717. },
  17718. "premiumspreadvalue": {
  17719. "description": "权利金点差值[场外期权]",
  17720. "type": "number"
  17721. },
  17722. "qtydecimalplace": {
  17723. "description": "成交量小数位",
  17724. "type": "integer"
  17725. },
  17726. "quotegear": {
  17727. "description": "行情档位(1-10)",
  17728. "type": "integer"
  17729. },
  17730. "quoteminunit": {
  17731. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17732. "type": "integer"
  17733. },
  17734. "quoterid": {
  17735. "description": "报价商ID[场外期权]",
  17736. "type": "integer"
  17737. },
  17738. "quotesourcegroupid": {
  17739. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17740. "type": "integer"
  17741. },
  17742. "syncgoodsqty": {
  17743. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17744. "type": "integer"
  17745. }
  17746. }
  17747. },
  17748. "models.Goodssortbypreposition": {
  17749. "type": "object",
  17750. "required": [
  17751. "goodscode",
  17752. "tradedate"
  17753. ],
  17754. "properties": {
  17755. "goodscode": {
  17756. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17757. "type": "string"
  17758. },
  17759. "goodsgroupcode": {
  17760. "description": "品种代码",
  17761. "type": "string"
  17762. },
  17763. "prepositionqty": {
  17764. "description": "昨持仓量",
  17765. "type": "integer"
  17766. },
  17767. "sortindex": {
  17768. "description": "排序",
  17769. "type": "integer"
  17770. },
  17771. "tradedate": {
  17772. "description": "交易日",
  17773. "type": "string"
  17774. },
  17775. "updatetime": {
  17776. "description": "更新时间",
  17777. "type": "string"
  17778. }
  17779. }
  17780. },
  17781. "models.Hedgeinnerholderdetail": {
  17782. "type": "object",
  17783. "required": [
  17784. "buyorsell",
  17785. "tradeid"
  17786. ],
  17787. "properties": {
  17788. "accountid": {
  17789. "description": "账号ID",
  17790. "type": "integer"
  17791. },
  17792. "buyorsell": {
  17793. "description": "方向 - 0:买 1:卖",
  17794. "type": "integer"
  17795. },
  17796. "freezeqty": {
  17797. "description": "冻结数量 - 按单平使用",
  17798. "type": "integer"
  17799. },
  17800. "goodsid": {
  17801. "description": "商品ID",
  17802. "type": "integer"
  17803. },
  17804. "holderamount": {
  17805. "description": "持仓金额 [商品币种]",
  17806. "type": "number"
  17807. },
  17808. "holderdays": {
  17809. "description": "剩余冻结天数",
  17810. "type": "integer"
  17811. },
  17812. "holderprice": {
  17813. "description": "持仓价格",
  17814. "type": "number"
  17815. },
  17816. "holderqty": {
  17817. "description": "持仓数量",
  17818. "type": "integer"
  17819. },
  17820. "marketid": {
  17821. "description": "市场ID",
  17822. "type": "integer"
  17823. },
  17824. "openprice": {
  17825. "description": "建仓价格",
  17826. "type": "number"
  17827. },
  17828. "openqty": {
  17829. "description": "建仓数量",
  17830. "type": "integer"
  17831. },
  17832. "parentaccountid": {
  17833. "description": "所属母账户",
  17834. "type": "integer"
  17835. },
  17836. "releaseamount": {
  17837. "description": "释放持仓金额[商品币种]",
  17838. "type": "number"
  17839. },
  17840. "tradeamount": {
  17841. "description": "成交金额[账户]",
  17842. "type": "number"
  17843. },
  17844. "tradedate": {
  17845. "description": "交易日(yyyyMMdd)",
  17846. "type": "string"
  17847. },
  17848. "tradeid": {
  17849. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17850. "type": "string"
  17851. },
  17852. "tradetime": {
  17853. "description": "交易时间",
  17854. "type": "string"
  17855. }
  17856. }
  17857. },
  17858. "models.Hedgemarketopenlog": {
  17859. "type": "object",
  17860. "required": [
  17861. "accountid"
  17862. ],
  17863. "properties": {
  17864. "accountid": {
  17865. "description": "资金账号[外部母账户]",
  17866. "type": "integer"
  17867. },
  17868. "fcname": {
  17869. "description": "期货公司名称",
  17870. "type": "string"
  17871. },
  17872. "handlestatus": {
  17873. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17874. "type": "integer"
  17875. },
  17876. "marketid": {
  17877. "description": "市场ID",
  17878. "type": "integer"
  17879. },
  17880. "status": {
  17881. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17882. "type": "integer"
  17883. },
  17884. "tradedate": {
  17885. "description": "交易日(yyyyMMdd)",
  17886. "type": "string"
  17887. },
  17888. "updatetime": {
  17889. "description": "更新时间",
  17890. "type": "string"
  17891. }
  17892. }
  17893. },
  17894. "models.HsbyBuyMyPayOrder": {
  17895. "type": "object",
  17896. "required": [
  17897. "goodscode",
  17898. "goodsname",
  17899. "tradeid",
  17900. "trademode"
  17901. ],
  17902. "properties": {
  17903. "agreeunit": {
  17904. "description": "合约单位",
  17905. "type": "number"
  17906. },
  17907. "buyaccountid": {
  17908. "description": "买方账号ID[报价币种]",
  17909. "type": "integer"
  17910. },
  17911. "buyorderid": {
  17912. "description": "买方委托单号",
  17913. "type": "string"
  17914. },
  17915. "createtime": {
  17916. "description": "创建时间",
  17917. "type": "string"
  17918. },
  17919. "currencysign": {
  17920. "description": "货币符号",
  17921. "type": "string"
  17922. },
  17923. "decimalplace": {
  17924. "description": "报价小数位",
  17925. "type": "integer"
  17926. },
  17927. "goodscode": {
  17928. "description": "商品代码(内部)",
  17929. "type": "string"
  17930. },
  17931. "goodsid": {
  17932. "description": "商品ID",
  17933. "type": "integer"
  17934. },
  17935. "goodsname": {
  17936. "description": "商品名称",
  17937. "type": "string"
  17938. },
  17939. "marketid": {
  17940. "description": "市场ID",
  17941. "type": "integer"
  17942. },
  17943. "offamount": {
  17944. "description": "优惠金额",
  17945. "type": "number"
  17946. },
  17947. "originalamount": {
  17948. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17949. "type": "number"
  17950. },
  17951. "payamount": {
  17952. "description": "支付金额 = TradeAmount + TradeCharge",
  17953. "type": "number"
  17954. },
  17955. "payflag": {
  17956. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17957. "type": "integer"
  17958. },
  17959. "paylimitedtime": {
  17960. "description": "支付期限",
  17961. "type": "string"
  17962. },
  17963. "paytime": {
  17964. "description": "付款时间",
  17965. "type": "string"
  17966. },
  17967. "picurls1": {
  17968. "description": "预售商品介绍图片[多张用逗号分隔]",
  17969. "type": "string"
  17970. },
  17971. "picurls2": {
  17972. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17973. "type": "string"
  17974. },
  17975. "sellaccountid": {
  17976. "description": "卖方账号ID[报价币种]",
  17977. "type": "integer"
  17978. },
  17979. "sellorderid": {
  17980. "description": "卖方委托单号",
  17981. "type": "string"
  17982. },
  17983. "tradeamount": {
  17984. "description": "成交金额",
  17985. "type": "number"
  17986. },
  17987. "tradecharge": {
  17988. "description": "成交手续费(买方)",
  17989. "type": "number"
  17990. },
  17991. "tradedate": {
  17992. "description": "交易日(yyyyMMdd)",
  17993. "type": "string"
  17994. },
  17995. "tradeid": {
  17996. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17997. "type": "string"
  17998. },
  17999. "trademode": {
  18000. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18001. "type": "integer"
  18002. },
  18003. "tradeprice": {
  18004. "description": "成交价格",
  18005. "type": "number"
  18006. },
  18007. "tradeqty": {
  18008. "description": "成交数量",
  18009. "type": "integer"
  18010. },
  18011. "vendorname1": {
  18012. "description": "预售商品供应商名称",
  18013. "type": "string"
  18014. },
  18015. "vendorname2": {
  18016. "description": "挂牌商品供应商名称",
  18017. "type": "string"
  18018. }
  18019. }
  18020. },
  18021. "models.HsbyBuyMyTradeDetail": {
  18022. "type": "object",
  18023. "required": [
  18024. "accountid",
  18025. "buyorsell",
  18026. "goodscode",
  18027. "goodsid",
  18028. "goodsname",
  18029. "marketid",
  18030. "orderid",
  18031. "qty",
  18032. "time",
  18033. "trademode"
  18034. ],
  18035. "properties": {
  18036. "accountid": {
  18037. "description": "账户ID[报价币种]",
  18038. "type": "integer"
  18039. },
  18040. "agreeunit": {
  18041. "description": "合约单位",
  18042. "type": "number"
  18043. },
  18044. "amount": {
  18045. "description": "金额 = 价格 * 数量 * 合约单位",
  18046. "type": "number"
  18047. },
  18048. "buyorsell": {
  18049. "description": "买卖 - 0:买 1:卖",
  18050. "type": "integer"
  18051. },
  18052. "currencysign": {
  18053. "description": "货币符号",
  18054. "type": "string"
  18055. },
  18056. "decimalplace": {
  18057. "description": "报价小数位",
  18058. "type": "integer"
  18059. },
  18060. "goodscode": {
  18061. "description": "商品代码(内部)",
  18062. "type": "string"
  18063. },
  18064. "goodsid": {
  18065. "description": "商品ID",
  18066. "type": "integer"
  18067. },
  18068. "goodsname": {
  18069. "description": "商品名称",
  18070. "type": "string"
  18071. },
  18072. "marketid": {
  18073. "description": "市场ID",
  18074. "type": "integer"
  18075. },
  18076. "orderamount": {
  18077. "description": "委托金额",
  18078. "type": "number"
  18079. },
  18080. "orderid": {
  18081. "description": "单号(成交单号)",
  18082. "type": "string"
  18083. },
  18084. "picurls1": {
  18085. "description": "预售商品介绍图片[多张用逗号分隔]",
  18086. "type": "string"
  18087. },
  18088. "picurls2": {
  18089. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18090. "type": "string"
  18091. },
  18092. "price": {
  18093. "description": "价格",
  18094. "type": "number"
  18095. },
  18096. "qty": {
  18097. "description": "数量",
  18098. "type": "integer"
  18099. },
  18100. "time": {
  18101. "description": "时间",
  18102. "type": "string"
  18103. },
  18104. "trademode": {
  18105. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18106. "type": "integer"
  18107. },
  18108. "vendorname1": {
  18109. "description": "预售商品供应商名称",
  18110. "type": "string"
  18111. },
  18112. "vendorname2": {
  18113. "description": "挂牌商品供应商名称",
  18114. "type": "string"
  18115. }
  18116. }
  18117. },
  18118. "models.HsbyGoodsOrderDetail": {
  18119. "type": "object",
  18120. "required": [
  18121. "buyorsell",
  18122. "orderid",
  18123. "ordertime"
  18124. ],
  18125. "properties": {
  18126. "buyorsell": {
  18127. "description": "买卖 - 0:买 1:卖",
  18128. "type": "integer"
  18129. },
  18130. "currencysign": {
  18131. "description": "货币符号",
  18132. "type": "string"
  18133. },
  18134. "customername": {
  18135. "description": "客户名称(企业名称),已脱敏",
  18136. "type": "string"
  18137. },
  18138. "enableqty": {
  18139. "description": "可用数量",
  18140. "type": "integer"
  18141. },
  18142. "goodunit": {
  18143. "description": "报价单位",
  18144. "type": "string"
  18145. },
  18146. "orderid": {
  18147. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18148. "type": "string"
  18149. },
  18150. "orderprice": {
  18151. "description": "委托价格",
  18152. "type": "number"
  18153. },
  18154. "ordertime": {
  18155. "description": "委托时间",
  18156. "type": "string"
  18157. }
  18158. }
  18159. },
  18160. "models.HsbyListingGoodsDetail": {
  18161. "type": "object",
  18162. "required": [
  18163. "goodscode",
  18164. "goodsid",
  18165. "goodsname",
  18166. "marketid",
  18167. "trademode"
  18168. ],
  18169. "properties": {
  18170. "agreeunit": {
  18171. "description": "合约单位",
  18172. "type": "number"
  18173. },
  18174. "buymaxqty": {
  18175. "description": "购买上限 [71] - 0为不限",
  18176. "type": "integer"
  18177. },
  18178. "currency": {
  18179. "description": "货币",
  18180. "type": "string"
  18181. },
  18182. "currencysign": {
  18183. "description": "货币符号",
  18184. "type": "string"
  18185. },
  18186. "decimalplace": {
  18187. "description": "报价小数位",
  18188. "type": "integer"
  18189. },
  18190. "desccityid": {
  18191. "description": "目的地(市)ID",
  18192. "type": "integer"
  18193. },
  18194. "descprovinceid": {
  18195. "description": "目的地(省)ID",
  18196. "type": "integer"
  18197. },
  18198. "goodscode": {
  18199. "description": "商品代码(内部)",
  18200. "type": "string"
  18201. },
  18202. "goodsdesc": {
  18203. "description": "商品详情",
  18204. "type": "string"
  18205. },
  18206. "goodsid": {
  18207. "description": "商品ID(自增ID SEQ_GOODS)",
  18208. "type": "integer"
  18209. },
  18210. "goodsname": {
  18211. "description": "商品名称",
  18212. "type": "string"
  18213. },
  18214. "goodsprice": {
  18215. "description": "商品价格",
  18216. "type": "number"
  18217. },
  18218. "hotindex": {
  18219. "description": "景点热度",
  18220. "type": "integer"
  18221. },
  18222. "last": {
  18223. "description": "现价",
  18224. "type": "number"
  18225. },
  18226. "limitdown": {
  18227. "description": "跌停价",
  18228. "type": "number"
  18229. },
  18230. "limitup": {
  18231. "description": "涨停价",
  18232. "type": "number"
  18233. },
  18234. "lotsize": {
  18235. "description": "手数最小变动单位",
  18236. "type": "integer"
  18237. },
  18238. "marketid": {
  18239. "description": "所属市场ID",
  18240. "type": "integer"
  18241. },
  18242. "picurls": {
  18243. "description": "介绍图片[多张用逗号分隔]",
  18244. "type": "string"
  18245. },
  18246. "quoteminunit": {
  18247. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18248. "type": "integer"
  18249. },
  18250. "stepvalue": {
  18251. "description": "价格最小变动单位",
  18252. "type": "number"
  18253. },
  18254. "trademode": {
  18255. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18256. "type": "integer"
  18257. },
  18258. "vendorattr": {
  18259. "description": "供应商附件(多张,逗号分隔)",
  18260. "type": "string"
  18261. },
  18262. "vendorname": {
  18263. "description": "供应商名称",
  18264. "type": "string"
  18265. },
  18266. "vendorphone": {
  18267. "description": "供应商客服电话",
  18268. "type": "string"
  18269. },
  18270. "videourls": {
  18271. "description": "介绍视频[多张用逗号分隔]",
  18272. "type": "string"
  18273. }
  18274. }
  18275. },
  18276. "models.HsbyMarketGoods": {
  18277. "type": "object",
  18278. "required": [
  18279. "accountid",
  18280. "buyorsell",
  18281. "goodscode",
  18282. "goodsid",
  18283. "goodsname",
  18284. "marketid",
  18285. "orderid",
  18286. "trademode"
  18287. ],
  18288. "properties": {
  18289. "accountid": {
  18290. "description": "账户ID[报价币种]",
  18291. "type": "integer"
  18292. },
  18293. "agreeunit": {
  18294. "description": "合约单位",
  18295. "type": "number"
  18296. },
  18297. "buyorsell": {
  18298. "description": "买卖 - 0:买 1:卖",
  18299. "type": "integer"
  18300. },
  18301. "categoryid": {
  18302. "description": "类别ID(WRCATEGORY)",
  18303. "type": "integer"
  18304. },
  18305. "currency": {
  18306. "description": "货币",
  18307. "type": "string"
  18308. },
  18309. "currencysign": {
  18310. "description": "货币符号",
  18311. "type": "string"
  18312. },
  18313. "customername": {
  18314. "description": "卖家名称",
  18315. "type": "string"
  18316. },
  18317. "decimalplace": {
  18318. "description": "报价小数位",
  18319. "type": "integer"
  18320. },
  18321. "goodscode": {
  18322. "description": "商品代码(内部)",
  18323. "type": "string"
  18324. },
  18325. "goodsid": {
  18326. "description": "商品ID",
  18327. "type": "integer"
  18328. },
  18329. "goodsname": {
  18330. "description": "商品名称",
  18331. "type": "string"
  18332. },
  18333. "goodsprice": {
  18334. "description": "商品价格",
  18335. "type": "number"
  18336. },
  18337. "hascoupon": {
  18338. "description": "是否可用优惠卷",
  18339. "type": "boolean"
  18340. },
  18341. "hotindex": {
  18342. "description": "景点热度",
  18343. "type": "integer"
  18344. },
  18345. "marketid": {
  18346. "description": "市场ID",
  18347. "type": "integer"
  18348. },
  18349. "orderid": {
  18350. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18351. "type": "string"
  18352. },
  18353. "orderprice": {
  18354. "description": "委托价格",
  18355. "type": "number"
  18356. },
  18357. "orderstatus": {
  18358. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18359. "type": "integer"
  18360. },
  18361. "picurls": {
  18362. "description": "介绍图片[多张用逗号分隔]",
  18363. "type": "string"
  18364. },
  18365. "quoteminunit": {
  18366. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18367. "type": "integer"
  18368. },
  18369. "sellUserID": {
  18370. "description": "卖方UserID",
  18371. "type": "integer"
  18372. },
  18373. "trademode": {
  18374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18375. "type": "integer"
  18376. },
  18377. "videourls": {
  18378. "description": "介绍视频[多张用逗号分隔]",
  18379. "type": "string"
  18380. }
  18381. }
  18382. },
  18383. "models.HsbyMarketGoodsDetail": {
  18384. "type": "object",
  18385. "required": [
  18386. "accountid",
  18387. "buyorsell",
  18388. "goodscode",
  18389. "goodsid",
  18390. "goodsname",
  18391. "marketid",
  18392. "orderid",
  18393. "orderqty",
  18394. "trademode"
  18395. ],
  18396. "properties": {
  18397. "accountid": {
  18398. "description": "账户ID[报价币种]",
  18399. "type": "integer"
  18400. },
  18401. "agreeunit": {
  18402. "description": "合约单位",
  18403. "type": "number"
  18404. },
  18405. "buymaxqty": {
  18406. "description": "购买上限 [71] - 0为不限",
  18407. "type": "integer"
  18408. },
  18409. "buyorsell": {
  18410. "description": "买卖 - 0:买 1:卖",
  18411. "type": "integer"
  18412. },
  18413. "cancelqty": {
  18414. "description": "撤单数量",
  18415. "type": "integer"
  18416. },
  18417. "categoryid": {
  18418. "description": "类别ID(WRCATEGORY)",
  18419. "type": "integer"
  18420. },
  18421. "currency": {
  18422. "description": "货币",
  18423. "type": "string"
  18424. },
  18425. "currencysign": {
  18426. "description": "货币符号",
  18427. "type": "string"
  18428. },
  18429. "customername": {
  18430. "description": "卖家名称",
  18431. "type": "string"
  18432. },
  18433. "decimalplace": {
  18434. "description": "报价小数位",
  18435. "type": "integer"
  18436. },
  18437. "goodscode": {
  18438. "description": "商品代码(内部)",
  18439. "type": "string"
  18440. },
  18441. "goodsdesc": {
  18442. "description": "商品详情",
  18443. "type": "string"
  18444. },
  18445. "goodsid": {
  18446. "description": "商品ID",
  18447. "type": "integer"
  18448. },
  18449. "goodsname": {
  18450. "description": "商品名称",
  18451. "type": "string"
  18452. },
  18453. "goodsprice": {
  18454. "description": "商品价格",
  18455. "type": "number"
  18456. },
  18457. "hotindex": {
  18458. "description": "景点热度",
  18459. "type": "integer"
  18460. },
  18461. "lotsize": {
  18462. "description": "手数最小变动单位",
  18463. "type": "integer"
  18464. },
  18465. "marketid": {
  18466. "description": "市场ID",
  18467. "type": "integer"
  18468. },
  18469. "orderid": {
  18470. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18471. "type": "string"
  18472. },
  18473. "orderprice": {
  18474. "description": "委托价格",
  18475. "type": "number"
  18476. },
  18477. "orderqty": {
  18478. "description": "委托数量",
  18479. "type": "integer"
  18480. },
  18481. "orderstatus": {
  18482. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18483. "type": "integer"
  18484. },
  18485. "picurls": {
  18486. "description": "介绍图片[多张用逗号分隔]",
  18487. "type": "string"
  18488. },
  18489. "quoteminunit": {
  18490. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18491. "type": "integer"
  18492. },
  18493. "sellUserID": {
  18494. "description": "卖方UserID",
  18495. "type": "integer"
  18496. },
  18497. "trademode": {
  18498. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18499. "type": "integer"
  18500. },
  18501. "tradeqty": {
  18502. "description": "成交数量",
  18503. "type": "integer"
  18504. },
  18505. "vendorattr": {
  18506. "description": "供应商附件(多张,逗号分隔)",
  18507. "type": "string"
  18508. },
  18509. "vendorname": {
  18510. "description": "供应商名称",
  18511. "type": "string"
  18512. },
  18513. "vendorphone": {
  18514. "description": "供应商客服电话",
  18515. "type": "string"
  18516. },
  18517. "videourls": {
  18518. "description": "介绍视频[多张用逗号分隔]",
  18519. "type": "string"
  18520. }
  18521. }
  18522. },
  18523. "models.HsbyMarketInfo": {
  18524. "type": "object",
  18525. "required": [
  18526. "marketid",
  18527. "marketstatus",
  18528. "trademode"
  18529. ],
  18530. "properties": {
  18531. "marketid": {
  18532. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18533. "type": "integer"
  18534. },
  18535. "marketname": {
  18536. "description": "市场名称",
  18537. "type": "string"
  18538. },
  18539. "marketstatus": {
  18540. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18541. "type": "integer"
  18542. },
  18543. "trademode": {
  18544. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18545. "type": "integer"
  18546. }
  18547. }
  18548. },
  18549. "models.HsbyMyGoods": {
  18550. "type": "object",
  18551. "required": [
  18552. "accountid",
  18553. "goodscode",
  18554. "goodsid",
  18555. "goodsname",
  18556. "marketid",
  18557. "trademode"
  18558. ],
  18559. "properties": {
  18560. "accountid": {
  18561. "description": "账号Id",
  18562. "type": "integer"
  18563. },
  18564. "agreeunit": {
  18565. "description": "合约单位",
  18566. "type": "number"
  18567. },
  18568. "buyaverageprice": {
  18569. "description": "持仓均价",
  18570. "type": "number"
  18571. },
  18572. "buycurholderamount": {
  18573. "description": "买当前持仓总金额[商品币种]",
  18574. "type": "number"
  18575. },
  18576. "buycurpositionqty": {
  18577. "description": "买当前持仓总数量",
  18578. "type": "integer"
  18579. },
  18580. "buymaxqty": {
  18581. "description": "购买上限 [71] - 0为不限",
  18582. "type": "integer"
  18583. },
  18584. "currencysign": {
  18585. "description": "货币符号",
  18586. "type": "string"
  18587. },
  18588. "decimalplace": {
  18589. "description": "报价小数位",
  18590. "type": "integer"
  18591. },
  18592. "enableqty": {
  18593. "description": "可用数量",
  18594. "type": "integer"
  18595. },
  18596. "goodscode": {
  18597. "description": "商品代码(内部)",
  18598. "type": "string"
  18599. },
  18600. "goodsid": {
  18601. "description": "商品Id",
  18602. "type": "integer"
  18603. },
  18604. "goodsname": {
  18605. "description": "商品名称",
  18606. "type": "string"
  18607. },
  18608. "goodsprice": {
  18609. "description": "商品价格",
  18610. "type": "number"
  18611. },
  18612. "goodsstatus": {
  18613. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18614. "type": "integer"
  18615. },
  18616. "last": {
  18617. "description": "现价(仅使用于挂牌点选)",
  18618. "type": "number"
  18619. },
  18620. "limitdown": {
  18621. "description": "跌停价(仅使用于挂牌点选)",
  18622. "type": "number"
  18623. },
  18624. "limitup": {
  18625. "description": "涨停价(仅使用于挂牌点选)",
  18626. "type": "number"
  18627. },
  18628. "lotsize": {
  18629. "description": "手数最小变动单位",
  18630. "type": "integer"
  18631. },
  18632. "marketid": {
  18633. "description": "所属市场ID",
  18634. "type": "integer"
  18635. },
  18636. "picurls": {
  18637. "description": "介绍图片[多张用逗号分隔]",
  18638. "type": "string"
  18639. },
  18640. "quoteminunit": {
  18641. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18642. "type": "integer"
  18643. },
  18644. "stepvalue": {
  18645. "description": "价格最小变动单位",
  18646. "type": "number"
  18647. },
  18648. "trademode": {
  18649. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18650. "type": "integer"
  18651. }
  18652. }
  18653. },
  18654. "models.HsbyMyPackage": {
  18655. "type": "object",
  18656. "required": [
  18657. "goodscode",
  18658. "goodsname",
  18659. "takeorderid",
  18660. "trademode"
  18661. ],
  18662. "properties": {
  18663. "accountid": {
  18664. "description": "账户ID",
  18665. "type": "integer"
  18666. },
  18667. "address": {
  18668. "description": "提货人详细地址",
  18669. "type": "string"
  18670. },
  18671. "agreeunit": {
  18672. "description": "合约单位",
  18673. "type": "number"
  18674. },
  18675. "amount": {
  18676. "description": "提货金额",
  18677. "type": "number"
  18678. },
  18679. "auditer": {
  18680. "description": "审核人",
  18681. "type": "integer"
  18682. },
  18683. "audittime": {
  18684. "description": "审核时间",
  18685. "type": "string"
  18686. },
  18687. "averageprice": {
  18688. "description": "均价",
  18689. "type": "number"
  18690. },
  18691. "cardnum": {
  18692. "description": "提货人证件号码",
  18693. "type": "string"
  18694. },
  18695. "cardtypeid": {
  18696. "description": "提货人证件类型",
  18697. "type": "integer"
  18698. },
  18699. "checkremark": {
  18700. "description": "审核备注",
  18701. "type": "string"
  18702. },
  18703. "currencysign": {
  18704. "description": "货币符号",
  18705. "type": "string"
  18706. },
  18707. "decimalplace": {
  18708. "description": "报价小数位",
  18709. "type": "integer"
  18710. },
  18711. "goodscode": {
  18712. "description": "商品代码(内部)",
  18713. "type": "string"
  18714. },
  18715. "goodsid": {
  18716. "description": "商品ID",
  18717. "type": "integer"
  18718. },
  18719. "goodsname": {
  18720. "description": "商品名称",
  18721. "type": "string"
  18722. },
  18723. "handlestatus": {
  18724. "description": "处理状态",
  18725. "type": "integer"
  18726. },
  18727. "marketid": {
  18728. "description": "市场ID",
  18729. "type": "integer"
  18730. },
  18731. "phonenum": {
  18732. "description": "提货人联系方式",
  18733. "type": "string"
  18734. },
  18735. "picurls": {
  18736. "description": "介绍图片[多张用逗号分隔]",
  18737. "type": "string"
  18738. },
  18739. "qty": {
  18740. "description": "提货数量",
  18741. "type": "number"
  18742. },
  18743. "recivername": {
  18744. "description": "提货人姓名",
  18745. "type": "string"
  18746. },
  18747. "reqtime": {
  18748. "description": "更新时间",
  18749. "type": "string"
  18750. },
  18751. "takemode": {
  18752. "description": "提货方式 - 2:自提 3:配送",
  18753. "type": "integer"
  18754. },
  18755. "takeorderid": {
  18756. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18757. "type": "string"
  18758. },
  18759. "takeorderstatus": {
  18760. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18761. "type": "integer"
  18762. },
  18763. "takeremark": {
  18764. "description": "提货备注",
  18765. "type": "string"
  18766. },
  18767. "tradedate": {
  18768. "description": "交易日(yyyyMMdd)",
  18769. "type": "string"
  18770. },
  18771. "trademode": {
  18772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18773. "type": "integer"
  18774. },
  18775. "userid": {
  18776. "description": "用户ID",
  18777. "type": "integer"
  18778. },
  18779. "vendorname": {
  18780. "description": "供应商名称",
  18781. "type": "string"
  18782. }
  18783. }
  18784. },
  18785. "models.HsbyPreGoods": {
  18786. "type": "object",
  18787. "required": [
  18788. "goodscode",
  18789. "goodsid",
  18790. "goodsname",
  18791. "marketid",
  18792. "trademode"
  18793. ],
  18794. "properties": {
  18795. "agreeunit": {
  18796. "description": "合约单位",
  18797. "type": "number"
  18798. },
  18799. "currency": {
  18800. "description": "货币",
  18801. "type": "string"
  18802. },
  18803. "currencysign": {
  18804. "description": "货币符号",
  18805. "type": "string"
  18806. },
  18807. "decimalplace": {
  18808. "description": "报价小数位",
  18809. "type": "integer"
  18810. },
  18811. "desccityid": {
  18812. "description": "目的地(市)",
  18813. "type": "integer"
  18814. },
  18815. "descprovinceid": {
  18816. "description": "目的地(省)",
  18817. "type": "integer"
  18818. },
  18819. "enableqty": {
  18820. "description": "剩余数量",
  18821. "type": "integer"
  18822. },
  18823. "goodscode": {
  18824. "description": "商品代码(内部)",
  18825. "type": "string"
  18826. },
  18827. "goodsid": {
  18828. "description": "商品ID(自增ID SEQ_GOODS)",
  18829. "type": "integer"
  18830. },
  18831. "goodsname": {
  18832. "description": "商品名称",
  18833. "type": "string"
  18834. },
  18835. "goodsstatus": {
  18836. "description": "商品状态- 2:未上市 3:上市",
  18837. "type": "integer"
  18838. },
  18839. "lasttradedate": {
  18840. "description": "最后交易日期(状态:待退市)",
  18841. "type": "string"
  18842. },
  18843. "listingdate": {
  18844. "description": "交易开始日期",
  18845. "type": "string"
  18846. },
  18847. "marketid": {
  18848. "description": "所属市场ID",
  18849. "type": "integer"
  18850. },
  18851. "picurls": {
  18852. "description": "介绍图片[多张用逗号分隔]",
  18853. "type": "string"
  18854. },
  18855. "presaledqty": {
  18856. "description": "已预售量(预售结束时更新)",
  18857. "type": "integer"
  18858. },
  18859. "presaleqty": {
  18860. "description": "预售数量",
  18861. "type": "integer"
  18862. },
  18863. "quoteminunit": {
  18864. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18865. "type": "integer"
  18866. },
  18867. "refprice": {
  18868. "description": "参考价格[一口价]",
  18869. "type": "number"
  18870. },
  18871. "relatedgoodsid": {
  18872. "description": "关联交易合约ID",
  18873. "type": "integer"
  18874. },
  18875. "trademode": {
  18876. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18877. "type": "integer"
  18878. },
  18879. "videourls": {
  18880. "description": "介绍视频[多张用逗号分隔]",
  18881. "type": "string"
  18882. }
  18883. }
  18884. },
  18885. "models.HsbyPreGoodsDetail": {
  18886. "type": "object",
  18887. "required": [
  18888. "goodscode",
  18889. "goodsid",
  18890. "goodsname",
  18891. "marketid",
  18892. "trademode"
  18893. ],
  18894. "properties": {
  18895. "agreeunit": {
  18896. "description": "合约单位",
  18897. "type": "number"
  18898. },
  18899. "buymaxqty": {
  18900. "description": "购买上限 [71] - 0为不限",
  18901. "type": "integer"
  18902. },
  18903. "currency": {
  18904. "description": "货币",
  18905. "type": "string"
  18906. },
  18907. "currencysign": {
  18908. "description": "货币符号",
  18909. "type": "string"
  18910. },
  18911. "customername": {
  18912. "description": "发行单位",
  18913. "type": "string"
  18914. },
  18915. "decimalplace": {
  18916. "description": "报价小数位",
  18917. "type": "integer"
  18918. },
  18919. "desccityid": {
  18920. "description": "目的地(市)ID",
  18921. "type": "integer"
  18922. },
  18923. "descprovinceid": {
  18924. "description": "目的地(省)ID",
  18925. "type": "integer"
  18926. },
  18927. "enableqty": {
  18928. "description": "剩余数量",
  18929. "type": "integer"
  18930. },
  18931. "goodscode": {
  18932. "description": "商品代码(内部)",
  18933. "type": "string"
  18934. },
  18935. "goodsdesc": {
  18936. "description": "商品详情",
  18937. "type": "string"
  18938. },
  18939. "goodsid": {
  18940. "description": "商品ID(自增ID SEQ_GOODS)",
  18941. "type": "integer"
  18942. },
  18943. "goodsname": {
  18944. "description": "商品名称",
  18945. "type": "string"
  18946. },
  18947. "goodsstatus": {
  18948. "description": "商品状态- 2:未上市 3:上市",
  18949. "type": "integer"
  18950. },
  18951. "goodunit": {
  18952. "description": "报价单位",
  18953. "type": "string"
  18954. },
  18955. "lasttradedate": {
  18956. "description": "最后交易日期(状态:待退市)",
  18957. "type": "string"
  18958. },
  18959. "listingdate": {
  18960. "description": "交易开始日期",
  18961. "type": "string"
  18962. },
  18963. "lotsize": {
  18964. "description": "手数最小变动单位",
  18965. "type": "integer"
  18966. },
  18967. "marketid": {
  18968. "description": "所属市场ID",
  18969. "type": "integer"
  18970. },
  18971. "picurls": {
  18972. "description": "介绍图片[多张用逗号分隔]",
  18973. "type": "string"
  18974. },
  18975. "presaledqty": {
  18976. "description": "已预售量(预售结束时更新)",
  18977. "type": "integer"
  18978. },
  18979. "presaleqty": {
  18980. "description": "预售数量",
  18981. "type": "integer"
  18982. },
  18983. "quoteminunit": {
  18984. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18985. "type": "integer"
  18986. },
  18987. "refprice": {
  18988. "description": "参考价格[一口价]",
  18989. "type": "number"
  18990. },
  18991. "relatedgoodsid": {
  18992. "description": "关联交易合约ID",
  18993. "type": "integer"
  18994. },
  18995. "stepvalue": {
  18996. "description": "价格最小变动单位",
  18997. "type": "number"
  18998. },
  18999. "trademode": {
  19000. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19001. "type": "integer"
  19002. },
  19003. "vendorattr": {
  19004. "description": "供应商附件(多张,逗号分隔)",
  19005. "type": "string"
  19006. },
  19007. "vendorname": {
  19008. "description": "供应商名称",
  19009. "type": "string"
  19010. },
  19011. "vendorphone": {
  19012. "description": "供应商客服电话",
  19013. "type": "string"
  19014. },
  19015. "videourls": {
  19016. "description": "介绍视频[多张用逗号分隔]",
  19017. "type": "string"
  19018. }
  19019. }
  19020. },
  19021. "models.HsbySellCollectionOrder": {
  19022. "type": "object",
  19023. "required": [
  19024. "goodscode",
  19025. "goodsname",
  19026. "tradeid",
  19027. "trademode"
  19028. ],
  19029. "properties": {
  19030. "agreeunit": {
  19031. "description": "合约单位",
  19032. "type": "number"
  19033. },
  19034. "buyaccountid": {
  19035. "description": "买方账号ID[报价币种]",
  19036. "type": "integer"
  19037. },
  19038. "buyorderid": {
  19039. "description": "买方委托单号",
  19040. "type": "string"
  19041. },
  19042. "createtime": {
  19043. "description": "创建时间",
  19044. "type": "string"
  19045. },
  19046. "currencysign": {
  19047. "description": "货币符号",
  19048. "type": "string"
  19049. },
  19050. "decimalplace": {
  19051. "description": "报价小数位",
  19052. "type": "integer"
  19053. },
  19054. "goodscode": {
  19055. "description": "商品代码(内部)",
  19056. "type": "string"
  19057. },
  19058. "goodsid": {
  19059. "description": "商品ID",
  19060. "type": "integer"
  19061. },
  19062. "goodsname": {
  19063. "description": "商品名称",
  19064. "type": "string"
  19065. },
  19066. "marketid": {
  19067. "description": "市场ID",
  19068. "type": "integer"
  19069. },
  19070. "offamount": {
  19071. "description": "优惠金额",
  19072. "type": "number"
  19073. },
  19074. "payamount": {
  19075. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19076. "type": "number"
  19077. },
  19078. "payflag": {
  19079. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19080. "type": "integer"
  19081. },
  19082. "paylimitedtime": {
  19083. "description": "支付期限",
  19084. "type": "string"
  19085. },
  19086. "paytime": {
  19087. "description": "付款时间",
  19088. "type": "string"
  19089. },
  19090. "picurls": {
  19091. "description": "商品介绍图片[多张用逗号分隔]",
  19092. "type": "string"
  19093. },
  19094. "sellaccountid": {
  19095. "description": "卖方账号ID[报价币种]",
  19096. "type": "integer"
  19097. },
  19098. "sellorderid": {
  19099. "description": "卖方委托单号",
  19100. "type": "string"
  19101. },
  19102. "tradeamount": {
  19103. "description": "成交金额",
  19104. "type": "number"
  19105. },
  19106. "tradecharge": {
  19107. "description": "成交手续费(买方)",
  19108. "type": "number"
  19109. },
  19110. "tradedate": {
  19111. "description": "交易日(yyyyMMdd)",
  19112. "type": "string"
  19113. },
  19114. "tradeid": {
  19115. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19116. "type": "string"
  19117. },
  19118. "trademode": {
  19119. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19120. "type": "integer"
  19121. },
  19122. "tradeprice": {
  19123. "description": "成交价格",
  19124. "type": "number"
  19125. },
  19126. "tradeqty": {
  19127. "description": "成交数量",
  19128. "type": "integer"
  19129. }
  19130. }
  19131. },
  19132. "models.HsbySellMyDetail": {
  19133. "type": "object",
  19134. "required": [
  19135. "accountid",
  19136. "buyorsell",
  19137. "goodscode",
  19138. "goodsid",
  19139. "goodsname",
  19140. "marketid",
  19141. "orderid",
  19142. "time",
  19143. "trademode"
  19144. ],
  19145. "properties": {
  19146. "accountid": {
  19147. "description": "账户ID[报价币种]",
  19148. "type": "integer"
  19149. },
  19150. "agreeunit": {
  19151. "description": "合约单位",
  19152. "type": "number"
  19153. },
  19154. "buyorsell": {
  19155. "description": "买卖 - 0:买 1:卖",
  19156. "type": "integer"
  19157. },
  19158. "currencysign": {
  19159. "description": "货币符号",
  19160. "type": "string"
  19161. },
  19162. "decimalplace": {
  19163. "description": "报价小数位",
  19164. "type": "integer"
  19165. },
  19166. "goodscode": {
  19167. "description": "商品代码(内部)",
  19168. "type": "string"
  19169. },
  19170. "goodsid": {
  19171. "description": "商品ID",
  19172. "type": "integer"
  19173. },
  19174. "goodsname": {
  19175. "description": "商品名称",
  19176. "type": "string"
  19177. },
  19178. "marketid": {
  19179. "description": "市场ID",
  19180. "type": "integer"
  19181. },
  19182. "orderid": {
  19183. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19184. "type": "string"
  19185. },
  19186. "ordertype": {
  19187. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19188. "type": "integer"
  19189. },
  19190. "picurls": {
  19191. "description": "介绍图片[多张用逗号分隔]",
  19192. "type": "string"
  19193. },
  19194. "price": {
  19195. "description": "价格",
  19196. "type": "number"
  19197. },
  19198. "qty": {
  19199. "description": "数量",
  19200. "type": "integer"
  19201. },
  19202. "time": {
  19203. "description": "时间",
  19204. "type": "string"
  19205. },
  19206. "trademode": {
  19207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19208. "type": "integer"
  19209. },
  19210. "vendorname": {
  19211. "description": "供应商名称",
  19212. "type": "string"
  19213. }
  19214. }
  19215. },
  19216. "models.HsbyTopGoods": {
  19217. "type": "object",
  19218. "required": [
  19219. "goodscode",
  19220. "goodsid",
  19221. "goodsname",
  19222. "marketid",
  19223. "trademode"
  19224. ],
  19225. "properties": {
  19226. "agreeunit": {
  19227. "description": "合约单位",
  19228. "type": "number"
  19229. },
  19230. "currency": {
  19231. "description": "货币",
  19232. "type": "string"
  19233. },
  19234. "currencysign": {
  19235. "description": "货币符号",
  19236. "type": "string"
  19237. },
  19238. "decimalplace": {
  19239. "description": "报价小数位",
  19240. "type": "integer"
  19241. },
  19242. "desccityid": {
  19243. "description": "目的地(市)",
  19244. "type": "integer"
  19245. },
  19246. "descprovinceid": {
  19247. "description": "目的地(省)",
  19248. "type": "integer"
  19249. },
  19250. "goodscode": {
  19251. "description": "商品代码(内部)",
  19252. "type": "string"
  19253. },
  19254. "goodsid": {
  19255. "description": "商品ID(自增ID SEQ_GOODS)",
  19256. "type": "integer"
  19257. },
  19258. "goodsname": {
  19259. "description": "商品名称",
  19260. "type": "string"
  19261. },
  19262. "hotindex": {
  19263. "description": "景点热度",
  19264. "type": "integer"
  19265. },
  19266. "last": {
  19267. "description": "现价",
  19268. "type": "number"
  19269. },
  19270. "marketid": {
  19271. "description": "所属市场ID",
  19272. "type": "integer"
  19273. },
  19274. "picurls": {
  19275. "description": "介绍图片[多张用逗号分隔]",
  19276. "type": "string"
  19277. },
  19278. "quoteminunit": {
  19279. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19280. "type": "integer"
  19281. },
  19282. "trademode": {
  19283. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19284. "type": "integer"
  19285. },
  19286. "videourls": {
  19287. "description": "介绍视频[多张用逗号分隔]",
  19288. "type": "string"
  19289. }
  19290. }
  19291. },
  19292. "models.HybsMyBuyOrderDetail": {
  19293. "type": "object",
  19294. "required": [
  19295. "accountid",
  19296. "buyorsell",
  19297. "goodscode",
  19298. "goodsid",
  19299. "goodsname",
  19300. "marketid",
  19301. "orderid",
  19302. "orderqty",
  19303. "ordertime",
  19304. "trademode"
  19305. ],
  19306. "properties": {
  19307. "accountid": {
  19308. "description": "账户ID[报价币种]",
  19309. "type": "integer"
  19310. },
  19311. "agreeunit": {
  19312. "description": "合约单位",
  19313. "type": "number"
  19314. },
  19315. "buyorsell": {
  19316. "description": "买卖 - 0:买 1:卖",
  19317. "type": "integer"
  19318. },
  19319. "cancelqty": {
  19320. "description": "撤单数量",
  19321. "type": "integer"
  19322. },
  19323. "currencysign": {
  19324. "description": "货币符号",
  19325. "type": "string"
  19326. },
  19327. "decimalplace": {
  19328. "description": "报价小数位",
  19329. "type": "integer"
  19330. },
  19331. "goodscode": {
  19332. "description": "商品代码(内部)",
  19333. "type": "string"
  19334. },
  19335. "goodsid": {
  19336. "description": "商品ID",
  19337. "type": "integer"
  19338. },
  19339. "goodsname": {
  19340. "description": "商品名称",
  19341. "type": "string"
  19342. },
  19343. "listingselecttype": {
  19344. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19345. "type": "integer"
  19346. },
  19347. "marketid": {
  19348. "description": "市场ID",
  19349. "type": "integer"
  19350. },
  19351. "mybuystatus": {
  19352. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19353. "type": "integer"
  19354. },
  19355. "orderamount": {
  19356. "description": "委托金额",
  19357. "type": "number"
  19358. },
  19359. "orderid": {
  19360. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19361. "type": "string"
  19362. },
  19363. "orderprice": {
  19364. "description": "委托价格",
  19365. "type": "number"
  19366. },
  19367. "orderqty": {
  19368. "description": "委托数量",
  19369. "type": "integer"
  19370. },
  19371. "orderstatus": {
  19372. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19373. "type": "integer"
  19374. },
  19375. "ordertime": {
  19376. "description": "委托时间",
  19377. "type": "string"
  19378. },
  19379. "picurls1": {
  19380. "description": "预售商品介绍图片[多张用逗号分隔]",
  19381. "type": "string"
  19382. },
  19383. "picurls2": {
  19384. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19385. "type": "string"
  19386. },
  19387. "trademode": {
  19388. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19389. "type": "integer"
  19390. },
  19391. "tradeqty": {
  19392. "description": "成交数量",
  19393. "type": "integer"
  19394. },
  19395. "vendorname1": {
  19396. "description": "预售商品供应商名称",
  19397. "type": "string"
  19398. },
  19399. "vendorname2": {
  19400. "description": "挂牌商品供应商名称",
  19401. "type": "string"
  19402. }
  19403. }
  19404. },
  19405. "models.Loginaccount": {
  19406. "type": "object",
  19407. "required": [
  19408. "loginid"
  19409. ],
  19410. "properties": {
  19411. "canoutin": {
  19412. "description": "是否可出入金 - 0:不可 1:可",
  19413. "type": "integer"
  19414. },
  19415. "clientroleid": {
  19416. "description": "终端角色ID",
  19417. "type": "integer"
  19418. },
  19419. "haslogined": {
  19420. "description": "是否已登录 - 0:未登录 1:已登录",
  19421. "type": "integer"
  19422. },
  19423. "hasupdatedpwd": {
  19424. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19425. "type": "integer"
  19426. },
  19427. "lastloginip": {
  19428. "description": "最新登录地址",
  19429. "type": "string"
  19430. },
  19431. "lastloginmode": {
  19432. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19433. "type": "integer"
  19434. },
  19435. "lastloginremark": {
  19436. "description": "最新登录描述",
  19437. "type": "string"
  19438. },
  19439. "lastlogintime": {
  19440. "description": "最新登录时间",
  19441. "type": "string"
  19442. },
  19443. "logincode": {
  19444. "description": "登录代码",
  19445. "type": "string"
  19446. },
  19447. "loginfailnum": {
  19448. "description": "连续登录失败次数(登录成功时清零)",
  19449. "type": "integer"
  19450. },
  19451. "loginid": {
  19452. "description": "登陆账号",
  19453. "type": "integer"
  19454. },
  19455. "loginport": {
  19456. "description": "最新登录端口",
  19457. "type": "integer"
  19458. },
  19459. "loginstatus": {
  19460. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19461. "type": "integer"
  19462. },
  19463. "loginusertype": {
  19464. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19465. "type": "integer"
  19466. },
  19467. "modifierid": {
  19468. "description": "修改人",
  19469. "type": "integer"
  19470. },
  19471. "modifytime": {
  19472. "description": "修改时间",
  19473. "type": "string"
  19474. },
  19475. "pwdwrongcount": {
  19476. "description": "密码错误次数",
  19477. "type": "integer"
  19478. },
  19479. "taaccountrighttype": {
  19480. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19481. "type": "integer"
  19482. },
  19483. "unfreezetime": {
  19484. "description": "账户解冻时间",
  19485. "type": "string"
  19486. },
  19487. "userid": {
  19488. "description": "用户ID",
  19489. "type": "integer"
  19490. }
  19491. }
  19492. },
  19493. "models.MainAccountInfo": {
  19494. "type": "object",
  19495. "properties": {
  19496. "accountid": {
  19497. "description": "账号id",
  19498. "type": "integer"
  19499. },
  19500. "accountname": {
  19501. "description": "账号名称(taaccount表中的名称)",
  19502. "type": "string"
  19503. },
  19504. "appid": {
  19505. "description": "AppID",
  19506. "type": "string"
  19507. },
  19508. "authcode": {
  19509. "description": "授权码",
  19510. "type": "string"
  19511. },
  19512. "brokerid": {
  19513. "description": "经纪商id",
  19514. "type": "string"
  19515. },
  19516. "fcid": {
  19517. "description": "期货公司id",
  19518. "type": "integer"
  19519. },
  19520. "fcname": {
  19521. "description": "期货公司代码",
  19522. "type": "string"
  19523. },
  19524. "hedgeaccountcode": {
  19525. "description": "外部账号代码(主账号登录代码)",
  19526. "type": "string"
  19527. },
  19528. "hedgeaccountpwd": {
  19529. "description": "密码",
  19530. "type": "string"
  19531. },
  19532. "ismain": {
  19533. "description": "是否主账号",
  19534. "type": "integer"
  19535. },
  19536. "relateduserid": {
  19537. "description": "关联用户id",
  19538. "type": "integer"
  19539. },
  19540. "userid": {
  19541. "description": "关联用户id",
  19542. "type": "integer"
  19543. }
  19544. }
  19545. },
  19546. "models.Market": {
  19547. "type": "object",
  19548. "required": [
  19549. "marketid",
  19550. "marketstatus",
  19551. "openmethod",
  19552. "reckonpricealgorithm",
  19553. "trademode",
  19554. "tradeproperty"
  19555. ],
  19556. "properties": {
  19557. "auctionwrtype": {
  19558. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19559. "type": "integer"
  19560. },
  19561. "canacceptquote": {
  19562. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19563. "type": "integer"
  19564. },
  19565. "cangoodsexercise": {
  19566. "description": "[期权]是否可现货行权- 0:否 1:是",
  19567. "type": "integer"
  19568. },
  19569. "cangoodsexercisetype": {
  19570. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19571. "type": "integer"
  19572. },
  19573. "canmanualquotestrike": {
  19574. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19575. "type": "integer"
  19576. },
  19577. "canmutistage": {
  19578. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19579. "type": "integer"
  19580. },
  19581. "canpreexercise": {
  19582. "description": "[期权]是否可预申报- 0:否 1:是",
  19583. "type": "integer"
  19584. },
  19585. "clearinterval": {
  19586. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19587. "type": "integer"
  19588. },
  19589. "contracttmp": {
  19590. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19591. "type": "string"
  19592. },
  19593. "exchareaid": {
  19594. "description": "所属交易所,可以没有",
  19595. "type": "integer"
  19596. },
  19597. "goodstype": {
  19598. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19599. "type": "integer"
  19600. },
  19601. "hasrebate": {
  19602. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19603. "type": "integer"
  19604. },
  19605. "hastradecredit": {
  19606. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19607. "type": "integer"
  19608. },
  19609. "haswr": {
  19610. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19611. "type": "integer"
  19612. },
  19613. "isdeductmargin": {
  19614. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19615. "type": "integer"
  19616. },
  19617. "isrecordsource": {
  19618. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19619. "type": "integer"
  19620. },
  19621. "isreleasemargin": {
  19622. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19623. "type": "integer"
  19624. },
  19625. "marginformula": {
  19626. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19627. "type": "integer"
  19628. },
  19629. "marginformula2": {
  19630. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19631. "type": "integer"
  19632. },
  19633. "marketid": {
  19634. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19635. "type": "integer"
  19636. },
  19637. "marketname": {
  19638. "description": "市场名称",
  19639. "type": "string"
  19640. },
  19641. "marketserviceid": {
  19642. "description": "市场服务ID",
  19643. "type": "integer"
  19644. },
  19645. "marketstatus": {
  19646. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19647. "type": "integer"
  19648. },
  19649. "markettype": {
  19650. "description": "市场类型- 1:非交易服务 2:交易服务",
  19651. "type": "integer"
  19652. },
  19653. "matchermode": {
  19654. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19655. "type": "integer"
  19656. },
  19657. "openmethod": {
  19658. "description": "开盘模式 - 0 自动 1手动",
  19659. "type": "integer"
  19660. },
  19661. "otcuserid": {
  19662. "description": "场外期权做市商[场外期权]",
  19663. "type": "integer"
  19664. },
  19665. "outersynctime": {
  19666. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19667. "type": "string"
  19668. },
  19669. "pendingflag": {
  19670. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19671. "type": "integer"
  19672. },
  19673. "pendingtime": {
  19674. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19675. "type": "string"
  19676. },
  19677. "performancetempid": {
  19678. "description": "履约计划模板ID - 作废",
  19679. "type": "integer"
  19680. },
  19681. "premiumquotemode": {
  19682. "description": "权利金报价方式 - 1:自动 2:手动",
  19683. "type": "integer"
  19684. },
  19685. "rebateratio": {
  19686. "description": "返利比率[竞价式]",
  19687. "type": "number"
  19688. },
  19689. "reckonorder": {
  19690. "description": "结算顺序",
  19691. "type": "integer"
  19692. },
  19693. "reckonpricealgorithm": {
  19694. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19695. "type": "integer"
  19696. },
  19697. "reckonpriceparam": {
  19698. "description": "结算价参数",
  19699. "type": "integer"
  19700. },
  19701. "reckontime": {
  19702. "description": "结算时间[通道交易-对冲](HH:mm)",
  19703. "type": "string"
  19704. },
  19705. "roleprioritytype": {
  19706. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19707. "type": "integer"
  19708. },
  19709. "selllistingauditflag": {
  19710. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19711. "type": "integer"
  19712. },
  19713. "trademarkettype": {
  19714. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19715. "type": "integer"
  19716. },
  19717. "trademode": {
  19718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19719. "type": "integer"
  19720. },
  19721. "tradeproperty": {
  19722. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19723. "type": "integer"
  19724. },
  19725. "tradetype": {
  19726. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19727. "type": "integer"
  19728. }
  19729. }
  19730. },
  19731. "models.Marketrun": {
  19732. "type": "object",
  19733. "required": [
  19734. "marketid",
  19735. "nexttradedate",
  19736. "reckonflag",
  19737. "runstatus",
  19738. "tradedate",
  19739. "tradedate2"
  19740. ],
  19741. "properties": {
  19742. "afternexttradedate": {
  19743. "description": "下下交易日",
  19744. "type": "string"
  19745. },
  19746. "clearquoteflag": {
  19747. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19748. "type": "integer"
  19749. },
  19750. "lastreckondate": {
  19751. "description": "最新交易日(结算成功)",
  19752. "type": "string"
  19753. },
  19754. "machinedate": {
  19755. "description": "机器时间",
  19756. "type": "string"
  19757. },
  19758. "manualflag": {
  19759. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19760. "type": "integer"
  19761. },
  19762. "marketid": {
  19763. "description": "市场ID",
  19764. "type": "integer"
  19765. },
  19766. "nexttradedate": {
  19767. "description": "下一交易日",
  19768. "type": "string"
  19769. },
  19770. "pretradedate": {
  19771. "description": "上一交易日",
  19772. "type": "string"
  19773. },
  19774. "reckonflag": {
  19775. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19776. "type": "integer"
  19777. },
  19778. "runstatus": {
  19779. "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.今日免清算",
  19780. "type": "integer"
  19781. },
  19782. "sectionid": {
  19783. "description": "时间段号[多时段时用]",
  19784. "type": "integer"
  19785. },
  19786. "tradedate": {
  19787. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19788. "type": "string"
  19789. },
  19790. "tradedate2": {
  19791. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19792. "type": "string"
  19793. },
  19794. "updatetime": {
  19795. "description": "更新时间",
  19796. "type": "string"
  19797. }
  19798. }
  19799. },
  19800. "models.Messageboard": {
  19801. "type": "object",
  19802. "required": [
  19803. "messageboardid"
  19804. ],
  19805. "properties": {
  19806. "contactnum": {
  19807. "description": "联系电话",
  19808. "type": "string"
  19809. },
  19810. "createtime": {
  19811. "description": "创建时间",
  19812. "type": "string"
  19813. },
  19814. "message": {
  19815. "description": "留言信息",
  19816. "type": "string"
  19817. },
  19818. "messageboardid": {
  19819. "description": "留言簿ID(SEQ_MessageBoard)",
  19820. "type": "integer"
  19821. },
  19822. "userid": {
  19823. "description": "用户ID",
  19824. "type": "integer"
  19825. }
  19826. }
  19827. },
  19828. "models.MyCoupon": {
  19829. "type": "object",
  19830. "required": [
  19831. "accountid",
  19832. "coupontypeid"
  19833. ],
  19834. "properties": {
  19835. "accountid": {
  19836. "description": "资金账户ID",
  19837. "type": "integer"
  19838. },
  19839. "areauserid": {
  19840. "description": "所属机构",
  19841. "type": "integer"
  19842. },
  19843. "conditionvalue": {
  19844. "description": "条件阈值(可为0)",
  19845. "type": "number"
  19846. },
  19847. "couponcategroy": {
  19848. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19849. "type": "integer"
  19850. },
  19851. "couponname": {
  19852. "description": "优惠券名称",
  19853. "type": "string"
  19854. },
  19855. "coupontypeid": {
  19856. "description": "优惠券类型ID",
  19857. "type": "string"
  19858. },
  19859. "couponvalue": {
  19860. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19861. "type": "number"
  19862. },
  19863. "curfreezeqty": {
  19864. "description": "期末冻结数量",
  19865. "type": "integer"
  19866. },
  19867. "curqty": {
  19868. "description": "期末数量",
  19869. "type": "integer"
  19870. },
  19871. "isgeneral": {
  19872. "description": "是否通用券 - 0:否 1:是",
  19873. "type": "integer"
  19874. },
  19875. "isunusable": {
  19876. "description": "是否不可用",
  19877. "type": "boolean"
  19878. },
  19879. "limitedflag": {
  19880. "description": "是否指定商品 - 0:不限 1:限制",
  19881. "type": "integer"
  19882. },
  19883. "limitedgoodsids": {
  19884. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19885. "type": "string"
  19886. },
  19887. "orifreezeqty": {
  19888. "description": "期初冻结数量",
  19889. "type": "integer"
  19890. },
  19891. "oriqty": {
  19892. "description": "期初数量",
  19893. "type": "integer"
  19894. },
  19895. "reasontype": {
  19896. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19897. "type": "integer"
  19898. },
  19899. "todaydecrease": {
  19900. "description": "今日减少",
  19901. "type": "integer"
  19902. },
  19903. "todayincrease": {
  19904. "description": "今日增加",
  19905. "type": "integer"
  19906. },
  19907. "userid": {
  19908. "description": "用户ID",
  19909. "type": "integer"
  19910. },
  19911. "userscope": {
  19912. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19913. "type": "string"
  19914. }
  19915. }
  19916. },
  19917. "models.MyCouponHold": {
  19918. "type": "object",
  19919. "required": [
  19920. "couponholdid"
  19921. ],
  19922. "properties": {
  19923. "accountid": {
  19924. "description": "资金账户ID",
  19925. "type": "integer"
  19926. },
  19927. "conditionvalue": {
  19928. "description": "条件阈值(可为0)",
  19929. "type": "number"
  19930. },
  19931. "couponcategroy": {
  19932. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19933. "type": "integer"
  19934. },
  19935. "couponholdid": {
  19936. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19937. "type": "string"
  19938. },
  19939. "couponname": {
  19940. "description": "优惠券名称",
  19941. "type": "string"
  19942. },
  19943. "coupontypeid": {
  19944. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19945. "type": "string"
  19946. },
  19947. "couponvalue": {
  19948. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19949. "type": "number"
  19950. },
  19951. "createtime": {
  19952. "description": "创建时间",
  19953. "type": "string"
  19954. },
  19955. "enddate": {
  19956. "description": "结束日期",
  19957. "type": "string"
  19958. },
  19959. "giveapplyid": {
  19960. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19961. "type": "integer"
  19962. },
  19963. "holdstatus": {
  19964. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19965. "type": "integer"
  19966. },
  19967. "isgeneral": {
  19968. "description": "是否通用券 - 0:否 1:是",
  19969. "type": "integer"
  19970. },
  19971. "limitedflag": {
  19972. "description": "是否指定商品 - 0:不限 1:限制",
  19973. "type": "integer"
  19974. },
  19975. "limitedgoodsids": {
  19976. "description": "指定商品IDs[逗号分隔]",
  19977. "type": "string"
  19978. },
  19979. "qty": {
  19980. "description": "数量(按1平铺)",
  19981. "type": "integer"
  19982. },
  19983. "startdate": {
  19984. "description": "开始日期",
  19985. "type": "string"
  19986. },
  19987. "userid": {
  19988. "description": "用户ID",
  19989. "type": "integer"
  19990. },
  19991. "userscope": {
  19992. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19993. "type": "string"
  19994. }
  19995. }
  19996. },
  19997. "models.MyUsedCoupon": {
  19998. "type": "object",
  19999. "required": [
  20000. "coupontypeid",
  20001. "orderid"
  20002. ],
  20003. "properties": {
  20004. "accountid": {
  20005. "description": "资金账户ID(买方)",
  20006. "type": "integer"
  20007. },
  20008. "conditionvalue": {
  20009. "description": "条件阈值(可为0)",
  20010. "type": "number"
  20011. },
  20012. "couponcategroy": {
  20013. "description": "种类 - 1:现金券 2:折扣券",
  20014. "type": "integer"
  20015. },
  20016. "couponname": {
  20017. "description": "优惠券名称",
  20018. "type": "string"
  20019. },
  20020. "coupontypeid": {
  20021. "description": "优惠券类型ID(买方)",
  20022. "type": "string"
  20023. },
  20024. "couponvalue": {
  20025. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20026. "type": "number"
  20027. },
  20028. "createtime": {
  20029. "description": "创建时间",
  20030. "type": "string"
  20031. },
  20032. "goodsid": {
  20033. "description": "商品ID",
  20034. "type": "integer"
  20035. },
  20036. "handlestatus": {
  20037. "description": "处理状态",
  20038. "type": "integer"
  20039. },
  20040. "marketid": {
  20041. "description": "市场ID",
  20042. "type": "integer"
  20043. },
  20044. "offamount": {
  20045. "description": "优惠金额",
  20046. "type": "number"
  20047. },
  20048. "orderid": {
  20049. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20050. "type": "string"
  20051. },
  20052. "sellaccountid": {
  20053. "description": "资金账户ID(卖方)",
  20054. "type": "integer"
  20055. },
  20056. "tradeamount": {
  20057. "description": "成交金额",
  20058. "type": "number"
  20059. },
  20060. "tradeid": {
  20061. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20062. "type": "string"
  20063. },
  20064. "usedqty": {
  20065. "description": "使用数量",
  20066. "type": "integer"
  20067. }
  20068. }
  20069. },
  20070. "models.OperationPrimaryMenu": {
  20071. "type": "object",
  20072. "properties": {
  20073. "Children": {
  20074. "description": "二级功能菜单",
  20075. "type": "array",
  20076. "items": {
  20077. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20078. }
  20079. },
  20080. "Key": {
  20081. "description": "菜单KEY",
  20082. "type": "string"
  20083. },
  20084. "Label": {
  20085. "description": "菜单标题",
  20086. "type": "string"
  20087. }
  20088. }
  20089. },
  20090. "models.OperationSecondaryMenu": {
  20091. "type": "object",
  20092. "properties": {
  20093. "Key": {
  20094. "description": "菜单KEY",
  20095. "type": "string"
  20096. },
  20097. "Label": {
  20098. "description": "菜单标题",
  20099. "type": "string"
  20100. },
  20101. "TabList": {
  20102. "description": "三级功能菜单",
  20103. "type": "array",
  20104. "items": {
  20105. "$ref": "#/definitions/models.OperationTabMenu"
  20106. }
  20107. }
  20108. }
  20109. },
  20110. "models.OperationTabMenu": {
  20111. "type": "object",
  20112. "properties": {
  20113. "Key": {
  20114. "description": "菜单KEY",
  20115. "type": "string"
  20116. },
  20117. "Label": {
  20118. "description": "菜单标题",
  20119. "type": "string"
  20120. }
  20121. }
  20122. },
  20123. "models.PendingAuditBizModel": {
  20124. "type": "object",
  20125. "properties": {
  20126. "accountid": {
  20127. "description": "现货账户",
  20128. "type": "string"
  20129. },
  20130. "areaname": {
  20131. "description": "所属部门",
  20132. "type": "string"
  20133. },
  20134. "bizid": {
  20135. "description": "业务ID",
  20136. "type": "string"
  20137. },
  20138. "bizname": {
  20139. "description": "业务名称",
  20140. "type": "string"
  20141. },
  20142. "status": {
  20143. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20144. "type": "integer"
  20145. },
  20146. "type": {
  20147. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20148. "type": "integer"
  20149. }
  20150. }
  20151. },
  20152. "models.QhjContract": {
  20153. "type": "object",
  20154. "properties": {
  20155. "contractconfirmtime": {
  20156. "description": "合同确认时间(时间)",
  20157. "type": "string"
  20158. },
  20159. "enumdicname": {
  20160. "description": "单位名称",
  20161. "type": "string"
  20162. },
  20163. "goodscode": {
  20164. "description": "商品代码",
  20165. "type": "string"
  20166. },
  20167. "goodsid": {
  20168. "description": "商品ID [5:融资单]",
  20169. "type": "integer"
  20170. },
  20171. "goodsname": {
  20172. "description": "商品名称",
  20173. "type": "string"
  20174. },
  20175. "goodunitid": {
  20176. "description": "商品单位id",
  20177. "type": "integer"
  20178. },
  20179. "initmargin": {
  20180. "description": "初始保证金(首付款)",
  20181. "type": "number"
  20182. },
  20183. "lenderamount": {
  20184. "description": "贷款金额(总额|订单总额)",
  20185. "type": "number"
  20186. },
  20187. "marginratio": {
  20188. "description": "保证金比率(首付比例)",
  20189. "type": "number"
  20190. },
  20191. "payamount": {
  20192. "description": "已付(已付货款)",
  20193. "type": "number"
  20194. },
  20195. "recoveredmargin": {
  20196. "description": "已追缴保证金",
  20197. "type": "number"
  20198. },
  20199. "remainamount": {
  20200. "description": "合同剩余金额(融资额)",
  20201. "type": "number"
  20202. },
  20203. "scfcontractid": {
  20204. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20205. "type": "integer"
  20206. },
  20207. "scfcontracttype": {
  20208. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20209. "type": "integer"
  20210. },
  20211. "totalinterest": {
  20212. "description": "已计总利息(利息)",
  20213. "type": "number"
  20214. },
  20215. "tradeprice": {
  20216. "description": "成交价格(成本价格)",
  20217. "type": "number"
  20218. },
  20219. "userid": {
  20220. "description": "用户ID",
  20221. "type": "integer"
  20222. },
  20223. "username": {
  20224. "description": "用户名称",
  20225. "type": "string"
  20226. },
  20227. "wrqty": {
  20228. "description": "仓单数量(数量)",
  20229. "type": "integer"
  20230. }
  20231. }
  20232. },
  20233. "models.QhjContractLog": {
  20234. "type": "object",
  20235. "properties": {
  20236. "amount": {
  20237. "description": "支付金额",
  20238. "type": "number"
  20239. },
  20240. "amounttype": {
  20241. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20242. "type": "integer"
  20243. },
  20244. "logid": {
  20245. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20246. "type": "string"
  20247. },
  20248. "remainamount": {
  20249. "description": "剩余货款",
  20250. "type": "number"
  20251. },
  20252. "scfcontractid": {
  20253. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20254. "type": "integer"
  20255. },
  20256. "updatetime": {
  20257. "description": "更新时间",
  20258. "type": "string"
  20259. }
  20260. }
  20261. },
  20262. "models.QhjPickArea": {
  20263. "type": "object",
  20264. "properties": {
  20265. "cityid": {
  20266. "description": "市",
  20267. "type": "integer"
  20268. },
  20269. "cityname": {
  20270. "description": "城市名称",
  20271. "type": "string"
  20272. },
  20273. "countryid": {
  20274. "description": "国家",
  20275. "type": "integer"
  20276. },
  20277. "countryname": {
  20278. "description": "国家名称",
  20279. "type": "string"
  20280. },
  20281. "districtid": {
  20282. "description": "地区",
  20283. "type": "integer"
  20284. },
  20285. "districtname": {
  20286. "description": "地区名称",
  20287. "type": "string"
  20288. },
  20289. "fromuserid": {
  20290. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20291. "type": "integer"
  20292. },
  20293. "fromusername": {
  20294. "description": "所属机构名称",
  20295. "type": "string"
  20296. },
  20297. "provinceid": {
  20298. "description": "省",
  20299. "type": "integer"
  20300. },
  20301. "provincename": {
  20302. "description": "省名称",
  20303. "type": "string"
  20304. },
  20305. "suborgtype": {
  20306. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20307. "type": "integer"
  20308. },
  20309. "userid": {
  20310. "description": "机构用户ID 其他做市关系,都设置为 1",
  20311. "type": "integer"
  20312. },
  20313. "username": {
  20314. "description": "机构用户名称(门店门称)",
  20315. "type": "string"
  20316. }
  20317. }
  20318. },
  20319. "models.QhjPickGoods": {
  20320. "type": "object",
  20321. "properties": {
  20322. "imageaddress": {
  20323. "description": "图片",
  20324. "type": "string"
  20325. },
  20326. "modifierid": {
  20327. "description": "修改人",
  20328. "type": "integer"
  20329. },
  20330. "modifiername": {
  20331. "description": "修改人名称",
  20332. "type": "string"
  20333. },
  20334. "modifysrc": {
  20335. "description": "修改来源 - 1:管理端 2:终端",
  20336. "type": "integer"
  20337. },
  20338. "pickupgoodsagreeunit": {
  20339. "description": "合约乘数",
  20340. "type": "number"
  20341. },
  20342. "pickupgoodsdesc": {
  20343. "description": "描述",
  20344. "type": "string"
  20345. },
  20346. "pickupgoodsid": {
  20347. "description": "提货商品ID",
  20348. "type": "string"
  20349. },
  20350. "pickupgoodsname": {
  20351. "description": "提货商品名称",
  20352. "type": "string"
  20353. },
  20354. "pickupgoodsstatus": {
  20355. "description": "状态 - 1:正常 2:停用 3:注销",
  20356. "type": "integer"
  20357. },
  20358. "pickupgoodsunitid": {
  20359. "description": "单位ID",
  20360. "type": "integer"
  20361. },
  20362. "preparedays": {
  20363. "description": "备货期(天)",
  20364. "type": "integer"
  20365. },
  20366. "remark": {
  20367. "description": "备注",
  20368. "type": "string"
  20369. },
  20370. "updatetime": {
  20371. "description": "更新时间",
  20372. "type": "string"
  20373. }
  20374. }
  20375. },
  20376. "models.QhjRSTriggerLog": {
  20377. "type": "object",
  20378. "properties": {
  20379. "accountid": {
  20380. "description": "用户资金账户",
  20381. "type": "integer"
  20382. },
  20383. "accountname": {
  20384. "description": "账号名称(ACCOUNTID对应的名称)",
  20385. "type": "string"
  20386. },
  20387. "currencyid": {
  20388. "description": "币种id",
  20389. "type": "integer"
  20390. },
  20391. "currencyname": {
  20392. "description": "币种名称",
  20393. "type": "string"
  20394. },
  20395. "enumdicname": {
  20396. "description": "单位名称",
  20397. "type": "string"
  20398. },
  20399. "goodscode": {
  20400. "description": "定投商品代码",
  20401. "type": "string"
  20402. },
  20403. "goodsid": {
  20404. "description": "定投商品ID",
  20405. "type": "string"
  20406. },
  20407. "goodsname": {
  20408. "description": "定投商品名称",
  20409. "type": "string"
  20410. },
  20411. "goodunitid": {
  20412. "description": "定投商品单位id",
  20413. "type": "integer"
  20414. },
  20415. "logid": {
  20416. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20417. "type": "string"
  20418. },
  20419. "regularlycycle": {
  20420. "description": "定投频率 - 1:每周 2:每月",
  20421. "type": "integer"
  20422. },
  20423. "regularlycyclevalue": {
  20424. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20425. "type": "string"
  20426. },
  20427. "regularlymode": {
  20428. "description": "定投方式 - 1:按数量 2:按金额",
  20429. "type": "integer"
  20430. },
  20431. "regularlymodevalue": {
  20432. "description": "定投方式值 - 数量或金额",
  20433. "type": "number"
  20434. },
  20435. "regularlystrategyid": {
  20436. "description": "定投策略ID",
  20437. "type": "integer"
  20438. },
  20439. "retcode": {
  20440. "description": "错误码",
  20441. "type": "string"
  20442. },
  20443. "tradeid": {
  20444. "description": "成交单ID",
  20445. "type": "string"
  20446. },
  20447. "triggeramount": {
  20448. "description": "触发金额",
  20449. "type": "number"
  20450. },
  20451. "triggerqty": {
  20452. "description": "触发数量",
  20453. "type": "number"
  20454. },
  20455. "triggerstatus": {
  20456. "description": "触发状态 - 1:成功 2:失败",
  20457. "type": "integer"
  20458. },
  20459. "triggertime": {
  20460. "description": "触发时间",
  20461. "type": "string"
  20462. },
  20463. "triggertradedate": {
  20464. "description": "触发交易日",
  20465. "type": "string"
  20466. },
  20467. "userid": {
  20468. "description": "所属用户ID",
  20469. "type": "integer"
  20470. },
  20471. "username": {
  20472. "description": "用户名称(userid对应的名称)",
  20473. "type": "string"
  20474. }
  20475. }
  20476. },
  20477. "models.QhjRStrategy": {
  20478. "type": "object",
  20479. "properties": {
  20480. "accountid": {
  20481. "description": "用户资金账户",
  20482. "type": "integer"
  20483. },
  20484. "accountname": {
  20485. "description": "账号名称(ACCOUNTID对应的名称)",
  20486. "type": "string"
  20487. },
  20488. "currencyid": {
  20489. "description": "币种id",
  20490. "type": "integer"
  20491. },
  20492. "currencyname": {
  20493. "description": "币种名称",
  20494. "type": "string"
  20495. },
  20496. "enumdicname": {
  20497. "description": "单位名称",
  20498. "type": "string"
  20499. },
  20500. "goodscode": {
  20501. "description": "定投商品代码",
  20502. "type": "string"
  20503. },
  20504. "goodsid": {
  20505. "description": "定投商品ID",
  20506. "type": "string"
  20507. },
  20508. "goodsname": {
  20509. "description": "定投商品名称",
  20510. "type": "string"
  20511. },
  20512. "goodunitid": {
  20513. "description": "定投商品单位id",
  20514. "type": "integer"
  20515. },
  20516. "lasteffecttradedate": {
  20517. "description": "最新生效交易日",
  20518. "type": "string"
  20519. },
  20520. "laststoptradedate": {
  20521. "description": "最新暂停交易日",
  20522. "type": "string"
  20523. },
  20524. "lasttriggertradedate": {
  20525. "description": "最新触发交易日",
  20526. "type": "string"
  20527. },
  20528. "nexttriggeramount": {
  20529. "description": "下次触发金额",
  20530. "type": "number"
  20531. },
  20532. "nexttriggerdate": {
  20533. "description": "下次触发日期",
  20534. "type": "string"
  20535. },
  20536. "nexttriggerqty": {
  20537. "description": "下次触发数量 [按小数位放大值]",
  20538. "type": "number"
  20539. },
  20540. "regularlycycle": {
  20541. "description": "定投频率 - 1:每周 2:每月",
  20542. "type": "integer"
  20543. },
  20544. "regularlycyclevalue": {
  20545. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20546. "type": "string"
  20547. },
  20548. "regularlymode": {
  20549. "description": "定投方式 - 1:按数量 2:按金额",
  20550. "type": "integer"
  20551. },
  20552. "regularlymodevalue": {
  20553. "description": "定投方式值 - 数量或金额",
  20554. "type": "number"
  20555. },
  20556. "regularlystrategyid": {
  20557. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20558. "type": "integer"
  20559. },
  20560. "regularlystrategystatus": {
  20561. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20562. "type": "integer"
  20563. },
  20564. "remark": {
  20565. "description": "备注",
  20566. "type": "string"
  20567. },
  20568. "triggersuccesstimes": {
  20569. "description": "累计定投成功次数",
  20570. "type": "string"
  20571. },
  20572. "triggertotalamount": {
  20573. "description": "累计定投金额(成功)",
  20574. "type": "number"
  20575. },
  20576. "triggertotalqty": {
  20577. "description": "累计定投数量(成功) [按小数位放大值]",
  20578. "type": "number"
  20579. },
  20580. "triggertotaltimes": {
  20581. "description": "累计定投总次数",
  20582. "type": "string"
  20583. },
  20584. "updatesrc": {
  20585. "description": "更新来源 - 1:管理端 2:终端",
  20586. "type": "integer"
  20587. },
  20588. "updatetime": {
  20589. "description": "更新时间",
  20590. "type": "string"
  20591. },
  20592. "updatorid": {
  20593. "description": "更新人",
  20594. "type": "string"
  20595. },
  20596. "userid": {
  20597. "description": "所属用户ID",
  20598. "type": "integer"
  20599. },
  20600. "username": {
  20601. "description": "用户名称(userid对应的名称)",
  20602. "type": "string"
  20603. }
  20604. }
  20605. },
  20606. "models.QhjTradeGoodsPickup": {
  20607. "type": "object",
  20608. "properties": {
  20609. "accountid": {
  20610. "description": "账户ID",
  20611. "type": "integer"
  20612. },
  20613. "address": {
  20614. "description": "提货人详细地址",
  20615. "type": "string"
  20616. },
  20617. "amount": {
  20618. "description": "提货金额",
  20619. "type": "number"
  20620. },
  20621. "artradedate": {
  20622. "description": "自动收货交易日(yyyyMMdd)",
  20623. "type": "string"
  20624. },
  20625. "auditer": {
  20626. "description": "审核人",
  20627. "type": "integer"
  20628. },
  20629. "auditsrc": {
  20630. "description": "更新来源 - 1:管理端 2:终端",
  20631. "type": "integer"
  20632. },
  20633. "audittime": {
  20634. "description": "审核时间(发货时间)",
  20635. "type": "string"
  20636. },
  20637. "audittradedate": {
  20638. "description": "审核交易日(yyyyMMdd)",
  20639. "type": "string"
  20640. },
  20641. "cardnum": {
  20642. "description": "提货人证件号码",
  20643. "type": "string"
  20644. },
  20645. "cardtypeid": {
  20646. "description": "提货人证件类型",
  20647. "type": "integer"
  20648. },
  20649. "checkremark": {
  20650. "description": "审核备注",
  20651. "type": "string"
  20652. },
  20653. "cityid": {
  20654. "description": "市",
  20655. "type": "integer"
  20656. },
  20657. "cityname": {
  20658. "description": "城市名称",
  20659. "type": "string"
  20660. },
  20661. "countryid": {
  20662. "description": "国家",
  20663. "type": "integer"
  20664. },
  20665. "countryname": {
  20666. "description": "国家名称",
  20667. "type": "string"
  20668. },
  20669. "districtid": {
  20670. "description": "地区",
  20671. "type": "integer"
  20672. },
  20673. "districtname": {
  20674. "description": "地区名称",
  20675. "type": "string"
  20676. },
  20677. "enumdicname": {
  20678. "description": "单位名称(提货商品)",
  20679. "type": "string"
  20680. },
  20681. "expresscompany": {
  20682. "description": "物流公司",
  20683. "type": "string"
  20684. },
  20685. "expressnum": {
  20686. "description": "物流单号",
  20687. "type": "string"
  20688. },
  20689. "goodsagreeunit": {
  20690. "description": "交易商品乘数",
  20691. "type": "number"
  20692. },
  20693. "goodscode": {
  20694. "description": "商品代码",
  20695. "type": "string"
  20696. },
  20697. "goodsid": {
  20698. "description": "商品ID",
  20699. "type": "integer"
  20700. },
  20701. "goodsname": {
  20702. "description": "商品名称",
  20703. "type": "string"
  20704. },
  20705. "goodsqty": {
  20706. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  20707. "type": "number"
  20708. },
  20709. "handlestatus": {
  20710. "description": "处理状态",
  20711. "type": "integer"
  20712. },
  20713. "marketid": {
  20714. "description": "市场ID",
  20715. "type": "integer"
  20716. },
  20717. "phonenum": {
  20718. "description": "提货人联系方式",
  20719. "type": "string"
  20720. },
  20721. "pickupgoodsagreeunit": {
  20722. "description": "提货商品合约乘数",
  20723. "type": "number"
  20724. },
  20725. "pickupgoodsid": {
  20726. "description": "提货商品ID",
  20727. "type": "string"
  20728. },
  20729. "pickupgoodsname": {
  20730. "description": "提货商品名称",
  20731. "type": "string"
  20732. },
  20733. "pickupgoodsqty": {
  20734. "description": "提货商品手数(数量)",
  20735. "type": "number"
  20736. },
  20737. "pickupgoodsunitid": {
  20738. "description": "单位ID(提货商品)",
  20739. "type": "integer"
  20740. },
  20741. "pickupratio": {
  20742. "description": "提货系数",
  20743. "type": "number"
  20744. },
  20745. "preparedays": {
  20746. "description": "备货期(天)-提货单明细表",
  20747. "type": "integer"
  20748. },
  20749. "provinceid": {
  20750. "description": "省",
  20751. "type": "integer"
  20752. },
  20753. "provincename": {
  20754. "description": "省名称",
  20755. "type": "string"
  20756. },
  20757. "qty": {
  20758. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  20759. "type": "number"
  20760. },
  20761. "recivername": {
  20762. "description": "提货人姓名",
  20763. "type": "string"
  20764. },
  20765. "reqtime": {
  20766. "description": "提货申请时间",
  20767. "type": "string"
  20768. },
  20769. "storeuserid": {
  20770. "description": "门店用户ID (千海金)",
  20771. "type": "integer"
  20772. },
  20773. "storeusername": {
  20774. "description": "门店用户名称",
  20775. "type": "string"
  20776. },
  20777. "takemode": {
  20778. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  20779. "type": "integer"
  20780. },
  20781. "takeorderid": {
  20782. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20783. "type": "integer"
  20784. },
  20785. "takeorderstatus": {
  20786. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  20787. "type": "integer"
  20788. },
  20789. "takeremark": {
  20790. "description": "提货备注",
  20791. "type": "string"
  20792. },
  20793. "tradedate": {
  20794. "description": "交易日(yyyyMMdd)",
  20795. "type": "string"
  20796. },
  20797. "updatetime": {
  20798. "description": "更新时间",
  20799. "type": "string"
  20800. },
  20801. "userid": {
  20802. "description": "用户ID",
  20803. "type": "integer"
  20804. },
  20805. "username": {
  20806. "description": "用户名称",
  20807. "type": "string"
  20808. }
  20809. }
  20810. },
  20811. "models.QueryErrorInfosRsp": {
  20812. "type": "object",
  20813. "required": [
  20814. "errorid"
  20815. ],
  20816. "properties": {
  20817. "description": {
  20818. "description": "异常描述",
  20819. "type": "string"
  20820. },
  20821. "errorcode": {
  20822. "description": "异常代码",
  20823. "type": "string"
  20824. },
  20825. "errorid": {
  20826. "description": "异常ID",
  20827. "type": "integer"
  20828. },
  20829. "modulecode": {
  20830. "description": "所属模块",
  20831. "type": "string"
  20832. },
  20833. "operatecode": {
  20834. "description": "所属操作",
  20835. "type": "string"
  20836. },
  20837. "rownumber": {
  20838. "description": "行号",
  20839. "type": "string"
  20840. }
  20841. }
  20842. },
  20843. "models.QueryHedgeOrderDetailRsp": {
  20844. "type": "object",
  20845. "properties": {
  20846. "accountid": {
  20847. "description": "账户ID",
  20848. "type": "integer"
  20849. },
  20850. "buyorsell": {
  20851. "description": "买卖 - 0:买 1:卖",
  20852. "type": "integer"
  20853. },
  20854. "cancellogincode": {
  20855. "description": "撤单人",
  20856. "type": "string"
  20857. },
  20858. "channelbuildtype": {
  20859. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20860. "type": "integer"
  20861. },
  20862. "channelinnerorderstatus": {
  20863. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20864. "type": "integer"
  20865. },
  20866. "channeloperatetype": {
  20867. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20868. "type": "integer"
  20869. },
  20870. "closetype": {
  20871. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20872. "type": "integer"
  20873. },
  20874. "curexchangerate": {
  20875. "description": "当前汇率",
  20876. "type": "number"
  20877. },
  20878. "exchangefullname": {
  20879. "description": "外部交易所全称",
  20880. "type": "string"
  20881. },
  20882. "goodscode": {
  20883. "description": "商品代码(内部)",
  20884. "type": "string"
  20885. },
  20886. "goodsid": {
  20887. "description": "商品ID",
  20888. "type": "integer"
  20889. },
  20890. "goodsname": {
  20891. "description": "商品名称",
  20892. "type": "string"
  20893. },
  20894. "marketid": {
  20895. "description": "市场ID",
  20896. "type": "integer"
  20897. },
  20898. "openfreezemargin": {
  20899. "description": "冻结保证金(冻结交易金额)",
  20900. "type": "number"
  20901. },
  20902. "orderid": {
  20903. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20904. "type": "string"
  20905. },
  20906. "orderlogincode": {
  20907. "description": "委托人",
  20908. "type": "string"
  20909. },
  20910. "orderprice": {
  20911. "description": "委托价格(账户)",
  20912. "type": "number"
  20913. },
  20914. "orderqty": {
  20915. "description": "委托数量",
  20916. "type": "integer"
  20917. },
  20918. "ordertime": {
  20919. "description": "委托时间",
  20920. "type": "string"
  20921. },
  20922. "pricemode": {
  20923. "description": "取价方式 - 1:市价 2: 限价",
  20924. "type": "integer"
  20925. },
  20926. "tradedate": {
  20927. "description": "交易日(yyyyMMdd)",
  20928. "type": "string"
  20929. },
  20930. "tradeqty": {
  20931. "description": "成交数量",
  20932. "type": "integer"
  20933. }
  20934. }
  20935. },
  20936. "models.QueryHedgeTradeDetailRsp": {
  20937. "type": "object",
  20938. "properties": {
  20939. "accountid": {
  20940. "description": "账号ID",
  20941. "type": "integer"
  20942. },
  20943. "buyorsell": {
  20944. "description": "方向 - 0:买 1:卖",
  20945. "type": "integer"
  20946. },
  20947. "channelbuildtype": {
  20948. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20949. "type": "integer"
  20950. },
  20951. "closecharge": {
  20952. "description": "平仓手续费(账户)",
  20953. "type": "number"
  20954. },
  20955. "closecharge2": {
  20956. "description": "平仓手续费(商品)",
  20957. "type": "number"
  20958. },
  20959. "closepl": {
  20960. "description": "平仓盈亏(账户)",
  20961. "type": "number"
  20962. },
  20963. "closepl2": {
  20964. "description": "平仓盈亏(商品)",
  20965. "type": "number"
  20966. },
  20967. "closepl3": {
  20968. "description": "平仓盈亏(账户)(逐笔)",
  20969. "type": "number"
  20970. },
  20971. "closepl4": {
  20972. "description": "平仓盈亏(商品)(逐笔)",
  20973. "type": "number"
  20974. },
  20975. "closetype": {
  20976. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20977. "type": "integer"
  20978. },
  20979. "curexchangerate": {
  20980. "description": "当前汇率",
  20981. "type": "number"
  20982. },
  20983. "exchangefullname": {
  20984. "description": "外部交易所全称",
  20985. "type": "string"
  20986. },
  20987. "goodscode": {
  20988. "description": "商品代码(内部)",
  20989. "type": "string"
  20990. },
  20991. "goodsid": {
  20992. "description": "商品ID",
  20993. "type": "integer"
  20994. },
  20995. "goodsname": {
  20996. "description": "商品名称",
  20997. "type": "string"
  20998. },
  20999. "marketid": {
  21000. "description": "市场ID",
  21001. "type": "integer"
  21002. },
  21003. "opencharge": {
  21004. "description": "建仓手续费(账户)",
  21005. "type": "number"
  21006. },
  21007. "opencharge2": {
  21008. "description": "建仓手续费(商品)",
  21009. "type": "number"
  21010. },
  21011. "orderid": {
  21012. "description": "委托单号",
  21013. "type": "string"
  21014. },
  21015. "orderlogincode": {
  21016. "description": "委托人",
  21017. "type": "string"
  21018. },
  21019. "tradeamount": {
  21020. "description": "成交金额(账户)",
  21021. "type": "number"
  21022. },
  21023. "tradedate": {
  21024. "description": "交易日(yyyyMMdd)",
  21025. "type": "string"
  21026. },
  21027. "tradeid": {
  21028. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21029. "type": "string"
  21030. },
  21031. "tradeprice": {
  21032. "description": "成交价格",
  21033. "type": "number"
  21034. },
  21035. "tradeqty": {
  21036. "description": "成交数量",
  21037. "type": "integer"
  21038. },
  21039. "tradetime": {
  21040. "description": "成交时间",
  21041. "type": "string"
  21042. },
  21043. "tradetype": {
  21044. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21045. "type": "integer"
  21046. }
  21047. }
  21048. },
  21049. "models.QuotePrimaryMenu": {
  21050. "type": "object",
  21051. "properties": {
  21052. "Index": {
  21053. "description": "序号",
  21054. "type": "integer"
  21055. },
  21056. "Key": {
  21057. "description": "键名",
  21058. "type": "string"
  21059. },
  21060. "Name": {
  21061. "description": "菜单名称",
  21062. "type": "string"
  21063. },
  21064. "SubMenus": {
  21065. "description": "子菜单",
  21066. "type": "array",
  21067. "items": {
  21068. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21069. }
  21070. },
  21071. "SubTitleType": {
  21072. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21073. "type": "integer"
  21074. },
  21075. "TradeModes": {
  21076. "description": "包含市场交易类型",
  21077. "type": "string"
  21078. }
  21079. }
  21080. },
  21081. "models.QuoteSecondaryMenu": {
  21082. "type": "object",
  21083. "properties": {
  21084. "ExExchangeCode": {
  21085. "description": "外部交易所代码",
  21086. "type": "string"
  21087. },
  21088. "ExExchangeID": {
  21089. "description": "外部交易所ID",
  21090. "type": "integer"
  21091. },
  21092. "GoodsGroupIDs": {
  21093. "description": "商品组ID列表",
  21094. "type": "array",
  21095. "items": {
  21096. "type": "integer"
  21097. }
  21098. },
  21099. "Index": {
  21100. "description": "序号",
  21101. "type": "integer"
  21102. },
  21103. "MarketID": {
  21104. "description": "市场ID",
  21105. "type": "integer"
  21106. },
  21107. "MenuTitle": {
  21108. "description": "菜单标题(市场名称或外部交易所名称)",
  21109. "type": "string"
  21110. },
  21111. "TradeMode": {
  21112. "description": "交易模式",
  21113. "type": "integer"
  21114. }
  21115. }
  21116. },
  21117. "models.SearchGoods": {
  21118. "type": "object",
  21119. "required": [
  21120. "goodscode",
  21121. "goodsid",
  21122. "goodsname",
  21123. "marketid",
  21124. "trademode"
  21125. ],
  21126. "properties": {
  21127. "goodscode": {
  21128. "description": "商品代码(内部)",
  21129. "type": "string"
  21130. },
  21131. "goodsid": {
  21132. "description": "商品ID(自增ID SEQ_GOODS)",
  21133. "type": "integer"
  21134. },
  21135. "goodsname": {
  21136. "description": "商品名称",
  21137. "type": "string"
  21138. },
  21139. "marketid": {
  21140. "description": "所属市场ID",
  21141. "type": "integer"
  21142. },
  21143. "marketname": {
  21144. "description": "市场名称",
  21145. "type": "string"
  21146. },
  21147. "trademode": {
  21148. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21149. "type": "integer"
  21150. }
  21151. }
  21152. },
  21153. "models.Systemparam": {
  21154. "type": "object",
  21155. "required": [
  21156. "paramcode"
  21157. ],
  21158. "properties": {
  21159. "loginid": {
  21160. "description": "更新用户账号,登录账号",
  21161. "type": "string"
  21162. },
  21163. "modifyflag": {
  21164. "description": "修改标志0 不允许修改 1 允许修改",
  21165. "type": "integer"
  21166. },
  21167. "paramcode": {
  21168. "description": "参数代码",
  21169. "type": "string"
  21170. },
  21171. "paramname": {
  21172. "description": "参数名",
  21173. "type": "string"
  21174. },
  21175. "paramtype": {
  21176. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21177. "type": "integer"
  21178. },
  21179. "paramvalue": {
  21180. "description": "参数值",
  21181. "type": "string"
  21182. },
  21183. "paramvalue2": {
  21184. "description": "参数值(CLOB)",
  21185. "type": "string"
  21186. },
  21187. "regexpress": {
  21188. "description": "正则表达式",
  21189. "type": "string"
  21190. },
  21191. "remark": {
  21192. "description": "备注",
  21193. "type": "string"
  21194. },
  21195. "serverip": {
  21196. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21197. "type": "string"
  21198. },
  21199. "showflag": {
  21200. "description": "是否显示0 不显示 1 显示",
  21201. "type": "integer"
  21202. },
  21203. "updatetime": {
  21204. "description": "更新时间",
  21205. "type": "string"
  21206. },
  21207. "userid": {
  21208. "description": "更新用户ID",
  21209. "type": "integer"
  21210. }
  21211. }
  21212. },
  21213. "models.Szdz3convertconfig": {
  21214. "type": "object",
  21215. "required": [
  21216. "converttype",
  21217. "innergoodsid",
  21218. "outergoodscode"
  21219. ],
  21220. "properties": {
  21221. "canin": {
  21222. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21223. "type": "integer"
  21224. },
  21225. "canout": {
  21226. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21227. "type": "integer"
  21228. },
  21229. "converttype": {
  21230. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21231. "type": "integer"
  21232. },
  21233. "createtime": {
  21234. "description": "创建时间",
  21235. "type": "string"
  21236. },
  21237. "creatorid": {
  21238. "description": "创建人",
  21239. "type": "integer"
  21240. },
  21241. "daymaxvalue": {
  21242. "description": "当日最大转入限制",
  21243. "type": "number"
  21244. },
  21245. "freezedays": {
  21246. "description": "冻结天数 [5:花生米转交易]",
  21247. "type": "integer"
  21248. },
  21249. "innergoodsid": {
  21250. "description": "内部商品ID[交易]",
  21251. "type": "integer"
  21252. },
  21253. "inratio": {
  21254. "description": "目标值",
  21255. "type": "integer"
  21256. },
  21257. "modifierid": {
  21258. "description": "修改人",
  21259. "type": "integer"
  21260. },
  21261. "modifytime": {
  21262. "description": "修改时间",
  21263. "type": "string"
  21264. },
  21265. "outergoodscode": {
  21266. "description": "外部商品代码[JD\\PD]",
  21267. "type": "string"
  21268. },
  21269. "outratio": {
  21270. "description": "源值",
  21271. "type": "integer"
  21272. },
  21273. "pddecimalplace": {
  21274. "description": "PD小数位",
  21275. "type": "integer"
  21276. },
  21277. "timemaxvalue": {
  21278. "description": "单次最大转入限制",
  21279. "type": "number"
  21280. },
  21281. "timeminvalue": {
  21282. "description": "单次最小转入限制",
  21283. "type": "number"
  21284. }
  21285. }
  21286. },
  21287. "models.Szdz3searchwhitelist": {
  21288. "type": "object",
  21289. "required": [
  21290. "userid"
  21291. ],
  21292. "properties": {
  21293. "createtime": {
  21294. "description": "创建时间",
  21295. "type": "string"
  21296. },
  21297. "creatorid": {
  21298. "description": "创建人",
  21299. "type": "integer"
  21300. },
  21301. "modifierid": {
  21302. "description": "修改人",
  21303. "type": "integer"
  21304. },
  21305. "modifytime": {
  21306. "description": "修改时间",
  21307. "type": "string"
  21308. },
  21309. "userid": {
  21310. "description": "用户ID",
  21311. "type": "integer"
  21312. }
  21313. }
  21314. },
  21315. "models.Taaccount": {
  21316. "type": "object",
  21317. "required": [
  21318. "accountid",
  21319. "userid"
  21320. ],
  21321. "properties": {
  21322. "accountflag": {
  21323. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21324. "type": "integer"
  21325. },
  21326. "accountid": {
  21327. "description": "资金账户ID",
  21328. "type": "integer"
  21329. },
  21330. "accountname": {
  21331. "description": "账户名称",
  21332. "type": "string"
  21333. },
  21334. "balance": {
  21335. "description": "期初余额",
  21336. "type": "number"
  21337. },
  21338. "capitalbalance": {
  21339. "description": "本金余额[外部子账户实际出入金余额]",
  21340. "type": "number"
  21341. },
  21342. "changeflag": {
  21343. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21344. "type": "integer"
  21345. },
  21346. "changetime": {
  21347. "description": "账户状态变更时间",
  21348. "type": "string"
  21349. },
  21350. "closepl": {
  21351. "description": "今日平仓盈亏",
  21352. "type": "number"
  21353. },
  21354. "creditdecrease": {
  21355. "description": "今日授信减少",
  21356. "type": "number"
  21357. },
  21358. "creditincrease": {
  21359. "description": "今日授信增加",
  21360. "type": "number"
  21361. },
  21362. "currencyid": {
  21363. "description": "货币ID",
  21364. "type": "integer"
  21365. },
  21366. "currentbalance": {
  21367. "description": "期末余额",
  21368. "type": "number"
  21369. },
  21370. "freezecharge": {
  21371. "description": "手续费冻结",
  21372. "type": "number"
  21373. },
  21374. "freezemargin": {
  21375. "description": "冻结保证金",
  21376. "type": "number"
  21377. },
  21378. "fromaccountid": {
  21379. "description": "所属上级账户",
  21380. "type": "integer"
  21381. },
  21382. "inamount": {
  21383. "description": "今日入金金额(包括三方入金)",
  21384. "type": "number"
  21385. },
  21386. "ismain": {
  21387. "description": "是否母账号 0:不是母账户 1:是母账户",
  21388. "type": "integer"
  21389. },
  21390. "ismarketaccount": {
  21391. "description": "是否机构接单账号 0:不是 1:是",
  21392. "type": "integer"
  21393. },
  21394. "isreckonaccount": {
  21395. "description": "是否机构分润账号 0:不是 1:是",
  21396. "type": "integer"
  21397. },
  21398. "mortgagecredit": {
  21399. "description": "授信金额",
  21400. "type": "number"
  21401. },
  21402. "orifreezecharge": {
  21403. "description": "期初手续费冻结",
  21404. "type": "number"
  21405. },
  21406. "orifreezemargin": {
  21407. "description": "期初冻结保证金",
  21408. "type": "number"
  21409. },
  21410. "orimortgagecredit": {
  21411. "description": "期初授信金额",
  21412. "type": "number"
  21413. },
  21414. "oriothercredit": {
  21415. "description": "期初其它授信金额",
  21416. "type": "number"
  21417. },
  21418. "oriotherfreezemargin": {
  21419. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21420. "type": "number"
  21421. },
  21422. "orioutamountfreeze": {
  21423. "description": "期初出金冻结",
  21424. "type": "number"
  21425. },
  21426. "oriusedmargin": {
  21427. "description": "期初占用保证金",
  21428. "type": "number"
  21429. },
  21430. "othercredit": {
  21431. "description": "其它授信金额",
  21432. "type": "number"
  21433. },
  21434. "othercreditdecrease": {
  21435. "description": "今日其它授信减少",
  21436. "type": "number"
  21437. },
  21438. "othercreditincrease": {
  21439. "description": "今日其它授信增加",
  21440. "type": "number"
  21441. },
  21442. "otherfreezemargin": {
  21443. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21444. "type": "number"
  21445. },
  21446. "otherincome": {
  21447. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21448. "type": "number"
  21449. },
  21450. "otherpay": {
  21451. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21452. "type": "number"
  21453. },
  21454. "outamount": {
  21455. "description": "今日出金金额(包括三方出金)",
  21456. "type": "number"
  21457. },
  21458. "outamountfreeze": {
  21459. "description": "出金冻结",
  21460. "type": "number"
  21461. },
  21462. "outthreshold": {
  21463. "description": "出金阈值",
  21464. "type": "number"
  21465. },
  21466. "parentaccountid": {
  21467. "description": "所属根账号",
  21468. "type": "integer"
  21469. },
  21470. "paycharge": {
  21471. "description": "今日手续费支出",
  21472. "type": "number"
  21473. },
  21474. "relatedaccountstatus": {
  21475. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21476. "type": "integer"
  21477. },
  21478. "relateduserid": {
  21479. "description": "关联用户",
  21480. "type": "integer"
  21481. },
  21482. "serivcegroup": {
  21483. "description": "服务分组",
  21484. "type": "integer"
  21485. },
  21486. "signstatus": {
  21487. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21488. "type": "integer"
  21489. },
  21490. "sublevelpath": {
  21491. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21492. "type": "string"
  21493. },
  21494. "taaccounttype": {
  21495. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21496. "type": "integer"
  21497. },
  21498. "thirdinamount": {
  21499. "description": "今日三方入金",
  21500. "type": "number"
  21501. },
  21502. "thirdoutamount": {
  21503. "description": "今日三方出金",
  21504. "type": "number"
  21505. },
  21506. "tradestatus": {
  21507. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21508. "type": "integer"
  21509. },
  21510. "tradestatuschangetime": {
  21511. "description": "激活时间",
  21512. "type": "string"
  21513. },
  21514. "transferamount": {
  21515. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21516. "type": "number"
  21517. },
  21518. "usedmargin": {
  21519. "description": "占用保证金",
  21520. "type": "number"
  21521. },
  21522. "userid": {
  21523. "description": "用户ID",
  21524. "type": "integer"
  21525. }
  21526. }
  21527. },
  21528. "models.Tablecolumnconfig": {
  21529. "type": "object",
  21530. "required": [
  21531. "autoid"
  21532. ],
  21533. "properties": {
  21534. "aligntype": {
  21535. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21536. "type": "integer"
  21537. },
  21538. "autoid": {
  21539. "description": "AutoID",
  21540. "type": "integer"
  21541. },
  21542. "columnfield": {
  21543. "description": "列字段",
  21544. "type": "string"
  21545. },
  21546. "columntitle": {
  21547. "description": "列Title",
  21548. "type": "string"
  21549. },
  21550. "columnwidth": {
  21551. "description": "列宽",
  21552. "type": "string"
  21553. },
  21554. "formatterstring": {
  21555. "description": "格式化字符",
  21556. "type": "string"
  21557. },
  21558. "formattertype": {
  21559. "description": "格式化类型",
  21560. "type": "string"
  21561. },
  21562. "groupname": {
  21563. "description": "表头分组名称",
  21564. "type": "string"
  21565. },
  21566. "isshow": {
  21567. "description": "是否显示 - 0:不显示 1:显示",
  21568. "type": "integer"
  21569. },
  21570. "needsummary": {
  21571. "description": "是否需要汇总 - 0:不需要 1:需要",
  21572. "type": "integer"
  21573. },
  21574. "orderindex": {
  21575. "description": "顺序",
  21576. "type": "integer"
  21577. },
  21578. "remark": {
  21579. "description": "备注",
  21580. "type": "string"
  21581. },
  21582. "summarytype": {
  21583. "description": "汇总类型 - 1:加总 2:最后一个",
  21584. "type": "integer"
  21585. },
  21586. "tablekey": {
  21587. "description": "列表Key",
  21588. "type": "string"
  21589. }
  21590. }
  21591. },
  21592. "models.UserCollectConfig": {
  21593. "type": "object",
  21594. "properties": {
  21595. "accountstatus": {
  21596. "description": "账户状态 - 1:正常 2:停用 3:注销",
  21597. "type": "integer"
  21598. },
  21599. "collectaccountname": {
  21600. "description": "收款人账户名称",
  21601. "type": "string"
  21602. },
  21603. "collectaccountno": {
  21604. "description": "收款人账户",
  21605. "type": "string"
  21606. },
  21607. "collectbankname": {
  21608. "description": "收款人开户行",
  21609. "type": "string"
  21610. },
  21611. "collectbranchbankname": {
  21612. "description": "收款人开户支行",
  21613. "type": "string"
  21614. },
  21615. "collectconfigid": {
  21616. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  21617. "type": "string"
  21618. },
  21619. "remark": {
  21620. "description": "备注",
  21621. "type": "string"
  21622. },
  21623. "userid": {
  21624. "description": "收款人用户ID",
  21625. "type": "integer"
  21626. }
  21627. }
  21628. },
  21629. "models.UserReceiveInfo": {
  21630. "type": "object",
  21631. "properties": {
  21632. "address": {
  21633. "description": "提货人详细地址",
  21634. "type": "string"
  21635. },
  21636. "autoid": {
  21637. "description": "AutoID",
  21638. "type": "integer"
  21639. },
  21640. "cardnum": {
  21641. "description": "证件号码(加密存储)",
  21642. "type": "string"
  21643. },
  21644. "cardtypeid": {
  21645. "description": "证件类型",
  21646. "type": "integer"
  21647. },
  21648. "cityid": {
  21649. "description": "市",
  21650. "type": "integer"
  21651. },
  21652. "cityname": {
  21653. "description": "城市名称",
  21654. "type": "string"
  21655. },
  21656. "countryid": {
  21657. "description": "国家",
  21658. "type": "integer"
  21659. },
  21660. "countryname": {
  21661. "description": "国家名称",
  21662. "type": "string"
  21663. },
  21664. "districtid": {
  21665. "description": "地区",
  21666. "type": "integer"
  21667. },
  21668. "districtname": {
  21669. "description": "地区名称",
  21670. "type": "string"
  21671. },
  21672. "hasencrypt": {
  21673. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21674. "type": "integer"
  21675. },
  21676. "isdefault": {
  21677. "description": "是否默认地址 - 0:否 1:是",
  21678. "type": "integer"
  21679. },
  21680. "phonenum": {
  21681. "description": "提货人联系方式(加密存储)",
  21682. "type": "string"
  21683. },
  21684. "provinceid": {
  21685. "description": "省",
  21686. "type": "integer"
  21687. },
  21688. "provincename": {
  21689. "description": "省名称",
  21690. "type": "string"
  21691. },
  21692. "receivername": {
  21693. "description": "提货人姓名",
  21694. "type": "string"
  21695. },
  21696. "takeremark": {
  21697. "description": "提货备注",
  21698. "type": "string"
  21699. },
  21700. "userid": {
  21701. "description": "用户ID",
  21702. "type": "integer"
  21703. }
  21704. }
  21705. },
  21706. "models.Useraccount": {
  21707. "type": "object",
  21708. "required": [
  21709. "userid"
  21710. ],
  21711. "properties": {
  21712. "accountname": {
  21713. "description": "账户名称(机构名称)",
  21714. "type": "string"
  21715. },
  21716. "accountstatus": {
  21717. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21718. "type": "integer"
  21719. },
  21720. "auditremark": {
  21721. "description": "审核备注",
  21722. "type": "string"
  21723. },
  21724. "audittime": {
  21725. "description": "审核时间",
  21726. "type": "string"
  21727. },
  21728. "audituserid": {
  21729. "description": "审核人",
  21730. "type": "integer"
  21731. },
  21732. "broker": {
  21733. "description": "所属经纪人ID",
  21734. "type": "integer"
  21735. },
  21736. "canceltime": {
  21737. "description": "销户时间",
  21738. "type": "string"
  21739. },
  21740. "canceluserid": {
  21741. "description": "销户人",
  21742. "type": "integer"
  21743. },
  21744. "createtime": {
  21745. "description": "创建时间",
  21746. "type": "string"
  21747. },
  21748. "creatorid": {
  21749. "description": "创建人",
  21750. "type": "integer"
  21751. },
  21752. "hasauth": {
  21753. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21754. "type": "integer"
  21755. },
  21756. "isanonymous": {
  21757. "description": "是否匿名下单 - 0:否 1:是",
  21758. "type": "integer"
  21759. },
  21760. "maxinvestornum": {
  21761. "description": "最大用户数(经纪会员下投资者个数)",
  21762. "type": "integer"
  21763. },
  21764. "memberuserid": {
  21765. "description": "所属会员ID",
  21766. "type": "integer"
  21767. },
  21768. "modifierid": {
  21769. "description": "修改人",
  21770. "type": "integer"
  21771. },
  21772. "modifyremark": {
  21773. "description": "变更备注",
  21774. "type": "string"
  21775. },
  21776. "modifystatus": {
  21777. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21778. "type": "integer"
  21779. },
  21780. "modifytime": {
  21781. "description": "修改时间",
  21782. "type": "string"
  21783. },
  21784. "parentuserid": {
  21785. "description": "所属机构ID",
  21786. "type": "integer"
  21787. },
  21788. "reckonaccountid": {
  21789. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21790. "type": "integer"
  21791. },
  21792. "refercount": {
  21793. "description": "推荐总人数",
  21794. "type": "integer"
  21795. },
  21796. "refereeuserid": {
  21797. "description": "推荐人ID",
  21798. "type": "integer"
  21799. },
  21800. "refernum": {
  21801. "description": "推荐码",
  21802. "type": "string"
  21803. },
  21804. "subarealevelpath": {
  21805. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21806. "type": "string"
  21807. },
  21808. "userid": {
  21809. "description": "用户ID",
  21810. "type": "integer"
  21811. },
  21812. "usertype": {
  21813. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21814. "type": "integer"
  21815. }
  21816. }
  21817. },
  21818. "models.Userfavoritegoods": {
  21819. "type": "object",
  21820. "required": [
  21821. "goodsid"
  21822. ],
  21823. "properties": {
  21824. "goodsid": {
  21825. "description": "商品ID",
  21826. "type": "integer"
  21827. }
  21828. }
  21829. },
  21830. "models.Userinfo": {
  21831. "type": "object",
  21832. "required": [
  21833. "userid"
  21834. ],
  21835. "properties": {
  21836. "address": {
  21837. "description": "地址",
  21838. "type": "string"
  21839. },
  21840. "attachment1": {
  21841. "description": "附件1",
  21842. "type": "string"
  21843. },
  21844. "attachment2": {
  21845. "description": "附件2",
  21846. "type": "string"
  21847. },
  21848. "bankaccount": {
  21849. "description": "银行帐号 (加密存储)",
  21850. "type": "string"
  21851. },
  21852. "bankaccountname": {
  21853. "description": "收款人名称",
  21854. "type": "string"
  21855. },
  21856. "bankcardfrontphotourl": {
  21857. "description": "银行卡正面照地址",
  21858. "type": "string"
  21859. },
  21860. "bankid": {
  21861. "description": "银行编码",
  21862. "type": "string"
  21863. },
  21864. "bankname": {
  21865. "description": "银行名称",
  21866. "type": "string"
  21867. },
  21868. "biznature": {
  21869. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21870. "type": "integer"
  21871. },
  21872. "bizscope": {
  21873. "description": "企业经营范围(企业)",
  21874. "type": "string"
  21875. },
  21876. "cardbackphotourl": {
  21877. "description": "证件背面图片地址",
  21878. "type": "string"
  21879. },
  21880. "cardfrontphotourl": {
  21881. "description": "证件正面图片地址",
  21882. "type": "string"
  21883. },
  21884. "cardnum": {
  21885. "description": "证件号码(加密存储)",
  21886. "type": "string"
  21887. },
  21888. "cardtypeid": {
  21889. "description": "证件类型ID",
  21890. "type": "integer"
  21891. },
  21892. "cityid": {
  21893. "description": "市",
  21894. "type": "integer"
  21895. },
  21896. "company": {
  21897. "description": "公司(个人)",
  21898. "type": "string"
  21899. },
  21900. "contactname": {
  21901. "description": "联系人",
  21902. "type": "string"
  21903. },
  21904. "countryid": {
  21905. "description": "国家",
  21906. "type": "integer"
  21907. },
  21908. "createtime": {
  21909. "description": "创建时间",
  21910. "type": "string"
  21911. },
  21912. "creatorid": {
  21913. "description": "创建人",
  21914. "type": "integer"
  21915. },
  21916. "customername": {
  21917. "description": "客户名称(企业名称)",
  21918. "type": "string"
  21919. },
  21920. "districtid": {
  21921. "description": "地区",
  21922. "type": "integer"
  21923. },
  21924. "email": {
  21925. "description": "邮件(加密存储)",
  21926. "type": "string"
  21927. },
  21928. "fax": {
  21929. "description": "传真(加密存储)",
  21930. "type": "string"
  21931. },
  21932. "halfbodyphotourl": {
  21933. "description": "半身照地址",
  21934. "type": "string"
  21935. },
  21936. "hasencrypt": {
  21937. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21938. "type": "integer"
  21939. },
  21940. "headurl": {
  21941. "description": "头像地址",
  21942. "type": "string"
  21943. },
  21944. "legalcardbackphotourl": {
  21945. "description": "法人身份证背面照地址",
  21946. "type": "string"
  21947. },
  21948. "legalcardfrontphotourl": {
  21949. "description": "法人身份证正面照地址",
  21950. "type": "string"
  21951. },
  21952. "legalpersonname": {
  21953. "description": "法人姓名(企业)",
  21954. "type": "string"
  21955. },
  21956. "mobile": {
  21957. "description": "手机号码(加密存储)",
  21958. "type": "string"
  21959. },
  21960. "mobile2": {
  21961. "description": "手机号码[明文-尚志]",
  21962. "type": "string"
  21963. },
  21964. "modifierid": {
  21965. "description": "修改人",
  21966. "type": "integer"
  21967. },
  21968. "modifiertime": {
  21969. "description": "修改时间",
  21970. "type": "string"
  21971. },
  21972. "needinvoice": {
  21973. "description": "是否需要发票 - 0:不需要 1:需要",
  21974. "type": "integer"
  21975. },
  21976. "nickname": {
  21977. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21978. "type": "string"
  21979. },
  21980. "openmode": {
  21981. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21982. "type": "integer"
  21983. },
  21984. "otherurl": {
  21985. "description": "其它图片地址[使用分号分隔]",
  21986. "type": "string"
  21987. },
  21988. "postalcode": {
  21989. "description": "邮政编码",
  21990. "type": "string"
  21991. },
  21992. "provinceid": {
  21993. "description": "省",
  21994. "type": "integer"
  21995. },
  21996. "qq": {
  21997. "description": "QQ(加密存储",
  21998. "type": "string"
  21999. },
  22000. "remark": {
  22001. "description": "备注",
  22002. "type": "string"
  22003. },
  22004. "sex": {
  22005. "description": "用户性别 0: 女 1: 男",
  22006. "type": "integer"
  22007. },
  22008. "signpdfurl": {
  22009. "description": "签约pdf文件",
  22010. "type": "string"
  22011. },
  22012. "telphone": {
  22013. "description": "联系电话(加密存储)",
  22014. "type": "string"
  22015. },
  22016. "userid": {
  22017. "description": "用户ID",
  22018. "type": "integer"
  22019. },
  22020. "userinfotype": {
  22021. "description": "用户信息类型 - 1:个人 2:企业",
  22022. "type": "integer"
  22023. },
  22024. "userstatus": {
  22025. "description": "用户状态 - 1:正常 2:注销",
  22026. "type": "integer"
  22027. },
  22028. "usertype": {
  22029. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22030. "type": "integer"
  22031. },
  22032. "wechat": {
  22033. "description": "微信(加密存储)",
  22034. "type": "string"
  22035. },
  22036. "wskhinfo": {
  22037. "description": "开户申请信息(JSON)",
  22038. "type": "string"
  22039. }
  22040. }
  22041. },
  22042. "models.WRSConverTDetail": {
  22043. "type": "object",
  22044. "properties": {
  22045. "convertratio": {
  22046. "description": "套保系数",
  22047. "type": "number"
  22048. },
  22049. "deliverygoodscode": {
  22050. "description": "现货商品代码",
  22051. "type": "string"
  22052. },
  22053. "deliverygoodsid": {
  22054. "description": "现货品种ID",
  22055. "type": "integer"
  22056. },
  22057. "deliverygoodsname": {
  22058. "description": "现货商品名称",
  22059. "type": "string"
  22060. },
  22061. "enumdicname": {
  22062. "description": "单位名称",
  22063. "type": "string"
  22064. },
  22065. "goodsunitid": {
  22066. "description": "套保品种单位id",
  22067. "type": "integer"
  22068. },
  22069. "middlegoodscode": {
  22070. "description": "套保品种代码",
  22071. "type": "string"
  22072. },
  22073. "middlegoodsid": {
  22074. "description": "套保品种ID",
  22075. "type": "integer"
  22076. },
  22077. "middlegoodsname": {
  22078. "description": "套保品种名称",
  22079. "type": "string"
  22080. },
  22081. "modifytime": {
  22082. "description": "修改时间",
  22083. "type": "string"
  22084. },
  22085. "wrstandardid": {
  22086. "description": "品类ID",
  22087. "type": "integer"
  22088. }
  22089. }
  22090. },
  22091. "models.WRStandardInfo": {
  22092. "type": "object",
  22093. "required": [
  22094. "wrstandardid"
  22095. ],
  22096. "properties": {
  22097. "areauserid": {
  22098. "description": "所属机构",
  22099. "type": "integer"
  22100. },
  22101. "convertfactor": {
  22102. "description": "标仓系数",
  22103. "type": "number"
  22104. },
  22105. "createtime": {
  22106. "description": "创建时间",
  22107. "type": "string"
  22108. },
  22109. "creatorid": {
  22110. "description": "创建人",
  22111. "type": "integer"
  22112. },
  22113. "deliverygoodsid": {
  22114. "description": "品种ID",
  22115. "type": "integer"
  22116. },
  22117. "deliverygoodsname": {
  22118. "description": "交割商品名称",
  22119. "type": "string"
  22120. },
  22121. "factoryitemjson": {
  22122. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22123. "type": "string"
  22124. },
  22125. "isvalid": {
  22126. "description": "是否有效 - 0:无效 1:有效",
  22127. "type": "integer"
  22128. },
  22129. "minivalue": {
  22130. "description": "最小变动值",
  22131. "type": "integer"
  22132. },
  22133. "minivaluedp": {
  22134. "description": "最小变动值小数位",
  22135. "type": "integer"
  22136. },
  22137. "realminivalue": {
  22138. "description": "实际最小变动值",
  22139. "type": "integer"
  22140. },
  22141. "realminivaluedp": {
  22142. "description": "实际最小变动值小数位",
  22143. "type": "integer"
  22144. },
  22145. "remark": {
  22146. "description": "备注",
  22147. "type": "string"
  22148. },
  22149. "unitid": {
  22150. "description": "单位ID",
  22151. "type": "integer"
  22152. },
  22153. "unitname": {
  22154. "description": "单位",
  22155. "type": "string"
  22156. },
  22157. "updatetime": {
  22158. "description": "更新时间",
  22159. "type": "string"
  22160. },
  22161. "updatorid": {
  22162. "description": "更新人",
  22163. "type": "integer"
  22164. },
  22165. "wrsstatus": {
  22166. "description": "状态 - 作废 - 0:未激活 1:正常",
  22167. "type": "integer"
  22168. },
  22169. "wrstandardcode": {
  22170. "description": "现货品类代码",
  22171. "type": "string"
  22172. },
  22173. "wrstandardid": {
  22174. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22175. "type": "integer"
  22176. },
  22177. "wrstandardname": {
  22178. "description": "现货品类名称",
  22179. "type": "string"
  22180. }
  22181. }
  22182. },
  22183. "models.Warehouseinfo": {
  22184. "type": "object",
  22185. "required": [
  22186. "autoid",
  22187. "warehousecode"
  22188. ],
  22189. "properties": {
  22190. "address": {
  22191. "description": "详细地址",
  22192. "type": "string"
  22193. },
  22194. "areauserid": {
  22195. "description": "所属机构",
  22196. "type": "integer"
  22197. },
  22198. "autoid": {
  22199. "description": "自增ID",
  22200. "type": "integer"
  22201. },
  22202. "cityid": {
  22203. "description": "市",
  22204. "type": "integer"
  22205. },
  22206. "contactname": {
  22207. "description": "联系人",
  22208. "type": "string"
  22209. },
  22210. "contactnum": {
  22211. "description": "联系电话",
  22212. "type": "string"
  22213. },
  22214. "countryid": {
  22215. "description": "国家",
  22216. "type": "integer"
  22217. },
  22218. "createtime": {
  22219. "description": "创建时间",
  22220. "type": "string"
  22221. },
  22222. "districtid": {
  22223. "description": "区",
  22224. "type": "integer"
  22225. },
  22226. "hasvideo": {
  22227. "description": "是否有视频 - 0:无 1:有",
  22228. "type": "integer"
  22229. },
  22230. "provinceid": {
  22231. "description": "省",
  22232. "type": "integer"
  22233. },
  22234. "remark": {
  22235. "description": "审核备注",
  22236. "type": "string"
  22237. },
  22238. "videourl": {
  22239. "description": "视频地址",
  22240. "type": "string"
  22241. },
  22242. "warehousecode": {
  22243. "description": "仓库代码",
  22244. "type": "string"
  22245. },
  22246. "warehousename": {
  22247. "description": "仓库名称",
  22248. "type": "string"
  22249. },
  22250. "warehousestatus": {
  22251. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22252. "type": "integer"
  22253. },
  22254. "warehousetype": {
  22255. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22256. "type": "integer"
  22257. }
  22258. }
  22259. },
  22260. "order.QueryHisTradeDetailRsp": {
  22261. "type": "object",
  22262. "required": [
  22263. "accountid",
  22264. "buyorsell",
  22265. "goodsid",
  22266. "histradedate",
  22267. "marketid",
  22268. "memberuserid",
  22269. "orderid",
  22270. "tradeamount",
  22271. "tradedate",
  22272. "tradeid",
  22273. "tradeprice",
  22274. "tradeqty",
  22275. "tradetime"
  22276. ],
  22277. "properties": {
  22278. "accountid": {
  22279. "description": "账户ID[报价币种]",
  22280. "type": "integer"
  22281. },
  22282. "buildtype": {
  22283. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22284. "type": "integer"
  22285. },
  22286. "buyorsell": {
  22287. "description": "方向 - 0:买 1:卖",
  22288. "type": "integer"
  22289. },
  22290. "charge": {
  22291. "description": "手续费",
  22292. "type": "number"
  22293. },
  22294. "closecharge": {
  22295. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22296. "type": "number"
  22297. },
  22298. "closeexchagechargevalue": {
  22299. "description": "平仓交易所手续费设置值",
  22300. "type": "number"
  22301. },
  22302. "closefeealgorithm": {
  22303. "description": "平仓手续费收取方式 1:比率 2:固定",
  22304. "type": "integer"
  22305. },
  22306. "closememberchargevalue": {
  22307. "description": "平仓会员手续费设置值",
  22308. "type": "number"
  22309. },
  22310. "closepl": {
  22311. "description": "平仓盈亏",
  22312. "type": "number"
  22313. },
  22314. "closepl2": {
  22315. "description": "平仓盈亏[逐笔]",
  22316. "type": "number"
  22317. },
  22318. "closeqty": {
  22319. "description": "平仓数量(先建后平操作 需要记录)",
  22320. "type": "integer"
  22321. },
  22322. "creditamount": {
  22323. "description": "授信金额",
  22324. "type": "number"
  22325. },
  22326. "gcaccountid": {
  22327. "description": "账户ID[合约币种]",
  22328. "type": "integer"
  22329. },
  22330. "goodscode": {
  22331. "description": "商品代码",
  22332. "type": "string"
  22333. },
  22334. "goodsid": {
  22335. "description": "商品ID",
  22336. "type": "integer"
  22337. },
  22338. "goodsname": {
  22339. "description": "商品名称",
  22340. "type": "string"
  22341. },
  22342. "histradedate": {
  22343. "description": "历史交易日",
  22344. "type": "string"
  22345. },
  22346. "intclosepl": {
  22347. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22348. "type": "integer"
  22349. },
  22350. "isconfirmexercise": {
  22351. "description": "是否确认行权- 0:否 1:是",
  22352. "type": "integer"
  22353. },
  22354. "ismain": {
  22355. "description": "是否主单 - 0:不是 1:是",
  22356. "type": "integer"
  22357. },
  22358. "ispreexercise": {
  22359. "description": "是否预申报- 0:否 1:是",
  22360. "type": "integer"
  22361. },
  22362. "isreckoned": {
  22363. "description": "是否结算 - 0:未结算 1:已结算",
  22364. "type": "integer"
  22365. },
  22366. "isvaliddata": {
  22367. "description": "是否有效 - 0:无效 1:有效",
  22368. "type": "integer"
  22369. },
  22370. "listingselecttype": {
  22371. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22372. "type": "integer"
  22373. },
  22374. "marketid": {
  22375. "description": "市场ID",
  22376. "type": "integer"
  22377. },
  22378. "marketname": {
  22379. "description": "市场名称",
  22380. "type": "string"
  22381. },
  22382. "matchaccountid": {
  22383. "description": "对手账号id",
  22384. "type": "integer"
  22385. },
  22386. "memberuserid": {
  22387. "description": "会员id 个人投资者 需要填写",
  22388. "type": "integer"
  22389. },
  22390. "opencharge": {
  22391. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22392. "type": "number"
  22393. },
  22394. "openexchagechargevalue": {
  22395. "description": "建仓交易所手续费设置值",
  22396. "type": "number"
  22397. },
  22398. "openfeealgorithm": {
  22399. "description": "建仓手续费收取方式 1:比率 2:固定",
  22400. "type": "integer"
  22401. },
  22402. "openmemberchargevalue": {
  22403. "description": "建仓会员手续费设置值",
  22404. "type": "number"
  22405. },
  22406. "openqty": {
  22407. "description": "开仓数量(先建后平操作 需要记录)",
  22408. "type": "integer"
  22409. },
  22410. "optiontype": {
  22411. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22412. "type": "integer"
  22413. },
  22414. "orderid": {
  22415. "description": "委托单号",
  22416. "type": "string"
  22417. },
  22418. "performanceplanid": {
  22419. "description": "履约计划ID[期权]",
  22420. "type": "integer"
  22421. },
  22422. "performancestatus": {
  22423. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22424. "type": "integer"
  22425. },
  22426. "preexerciseprice": {
  22427. "description": "预申报价格",
  22428. "type": "number"
  22429. },
  22430. "premium": {
  22431. "description": "权利金 - [持仓单的权利金]",
  22432. "type": "number"
  22433. },
  22434. "relatedouttradeid": {
  22435. "description": "关联外部成交单ID",
  22436. "type": "integer"
  22437. },
  22438. "status": {
  22439. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22440. "type": "integer"
  22441. },
  22442. "tradeamount": {
  22443. "description": "成交金额[账户币种,用于所有权]",
  22444. "type": "number"
  22445. },
  22446. "tradedate": {
  22447. "description": "交易日(yyyyMMdd)",
  22448. "type": "string"
  22449. },
  22450. "tradeid": {
  22451. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22452. "type": "string"
  22453. },
  22454. "trademode": {
  22455. "description": "交易模式",
  22456. "type": "integer"
  22457. },
  22458. "tradeprice": {
  22459. "description": "成交价格",
  22460. "type": "number"
  22461. },
  22462. "tradeproperty": {
  22463. "description": "交易属性",
  22464. "type": "integer"
  22465. },
  22466. "tradeqty": {
  22467. "description": "成交数量",
  22468. "type": "integer"
  22469. },
  22470. "tradetime": {
  22471. "description": "成交时间",
  22472. "type": "string"
  22473. },
  22474. "tradetype": {
  22475. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22476. "type": "integer"
  22477. }
  22478. }
  22479. },
  22480. "order.QueryHisTradeOrderDetailRsp": {
  22481. "type": "object",
  22482. "required": [
  22483. "accountid",
  22484. "buildtype",
  22485. "buyorsell",
  22486. "goodsid",
  22487. "histradedate",
  22488. "marketid",
  22489. "memberuserid",
  22490. "operatetype",
  22491. "orderid",
  22492. "orderqty",
  22493. "ordertime",
  22494. "pricemode",
  22495. "tradedate",
  22496. "validtype"
  22497. ],
  22498. "properties": {
  22499. "accountid": {
  22500. "description": "账户ID[报价币种]",
  22501. "type": "integer"
  22502. },
  22503. "buildtype": {
  22504. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22505. "type": "integer"
  22506. },
  22507. "buyorsell": {
  22508. "description": "买卖 - 0:买 1:卖",
  22509. "type": "integer"
  22510. },
  22511. "cancelorderid": {
  22512. "description": "撤单单号(撤单时填写)",
  22513. "type": "string"
  22514. },
  22515. "cancelqty": {
  22516. "description": "撤单数量",
  22517. "type": "integer"
  22518. },
  22519. "clientordertime": {
  22520. "description": "客户端委托时间",
  22521. "type": "string"
  22522. },
  22523. "clientticket": {
  22524. "description": "客户端流水号",
  22525. "type": "string"
  22526. },
  22527. "clienttype": {
  22528. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22529. "type": "integer"
  22530. },
  22531. "closeexchagechargevalue": {
  22532. "description": "平仓交易所手续费设置值",
  22533. "type": "number"
  22534. },
  22535. "closefeealgorithm": {
  22536. "description": "平仓手续费收取方式 1:比率 2:固定",
  22537. "type": "integer"
  22538. },
  22539. "closefreezecharge": {
  22540. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22541. "type": "number"
  22542. },
  22543. "closememberchargevalue": {
  22544. "description": "平仓会员手续费设置值",
  22545. "type": "number"
  22546. },
  22547. "closeqty": {
  22548. "description": "平仓数量(先建后平操作 需要记录)",
  22549. "type": "integer"
  22550. },
  22551. "closetradeqty": {
  22552. "description": "平仓成交数量(先建后平操作,需要记录)",
  22553. "type": "integer"
  22554. },
  22555. "closeunfreezecharge": {
  22556. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22557. "type": "number"
  22558. },
  22559. "delistingtype": {
  22560. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22561. "type": "integer"
  22562. },
  22563. "freezecharge": {
  22564. "description": "冻结手续费",
  22565. "type": "number"
  22566. },
  22567. "freezemargin": {
  22568. "description": "冻结保证金(冻结交易金额)",
  22569. "type": "number"
  22570. },
  22571. "gcaccountid": {
  22572. "description": "账户ID[合约币种]",
  22573. "type": "integer"
  22574. },
  22575. "goodscode": {
  22576. "description": "商品代码",
  22577. "type": "string"
  22578. },
  22579. "goodsid": {
  22580. "description": "商品ID",
  22581. "type": "integer"
  22582. },
  22583. "goodsname": {
  22584. "description": "商品名称",
  22585. "type": "string"
  22586. },
  22587. "histradedate": {
  22588. "description": "历史交易日",
  22589. "type": "string"
  22590. },
  22591. "isconfirmexercise": {
  22592. "description": "是否确认行权- 0:否 1:是",
  22593. "type": "integer"
  22594. },
  22595. "ispreexercise": {
  22596. "description": "是否预申报- 0:否 1:是",
  22597. "type": "integer"
  22598. },
  22599. "isvaliddata": {
  22600. "description": "是否有效 - 0:无效 1:有效",
  22601. "type": "integer"
  22602. },
  22603. "listingselecttype": {
  22604. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22605. "type": "integer"
  22606. },
  22607. "marginalgorithm": {
  22608. "description": "保证金收取方式 1:比率 2:固定",
  22609. "type": "integer"
  22610. },
  22611. "marginvalue": {
  22612. "description": "即市保证金设置值",
  22613. "type": "number"
  22614. },
  22615. "marketid": {
  22616. "description": "市场ID",
  22617. "type": "integer"
  22618. },
  22619. "marketmaxsub": {
  22620. "description": "市价最大偏移范围",
  22621. "type": "number"
  22622. },
  22623. "marketname": {
  22624. "description": "市场名称",
  22625. "type": "string"
  22626. },
  22627. "memberuserid": {
  22628. "description": "所属会员UserID",
  22629. "type": "integer"
  22630. },
  22631. "openexchagechargevalue": {
  22632. "description": "建仓交易所手续费设置值",
  22633. "type": "number"
  22634. },
  22635. "openfeealgorithm": {
  22636. "description": "建仓手续费收取方式 1:比率 2:固定",
  22637. "type": "integer"
  22638. },
  22639. "openfreezecharge": {
  22640. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22641. "type": "number"
  22642. },
  22643. "openmemberchargevalue": {
  22644. "description": "建仓会员手续费设置值",
  22645. "type": "number"
  22646. },
  22647. "openqty": {
  22648. "description": "开仓数量(先建后平操作,需要记录)",
  22649. "type": "integer"
  22650. },
  22651. "opentradeqty": {
  22652. "description": "开仓成交数量(先建后平操作,需要记录)",
  22653. "type": "integer"
  22654. },
  22655. "openunfreezecharge": {
  22656. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22657. "type": "number"
  22658. },
  22659. "operatetype": {
  22660. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22661. "type": "integer"
  22662. },
  22663. "operatorid": {
  22664. "description": "登录账号(LoginID)",
  22665. "type": "integer"
  22666. },
  22667. "optiontype": {
  22668. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22669. "type": "integer"
  22670. },
  22671. "orderid": {
  22672. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22673. "type": "string"
  22674. },
  22675. "orderprice": {
  22676. "description": "委托价格",
  22677. "type": "number"
  22678. },
  22679. "orderqty": {
  22680. "description": "委托数量",
  22681. "type": "integer"
  22682. },
  22683. "ordersrc": {
  22684. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22685. "type": "integer"
  22686. },
  22687. "orderstatus": {
  22688. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22689. "type": "integer"
  22690. },
  22691. "ordertime": {
  22692. "description": "委托时间",
  22693. "type": "string"
  22694. },
  22695. "preexerciseprice": {
  22696. "description": "预申报价格",
  22697. "type": "number"
  22698. },
  22699. "premium": {
  22700. "description": "权利金",
  22701. "type": "number"
  22702. },
  22703. "preorderid": {
  22704. "description": "关联预埋单号(止盈止损单时填写)",
  22705. "type": "string"
  22706. },
  22707. "pricemode": {
  22708. "description": "取价方式 - 1:市价 2: 限价",
  22709. "type": "integer"
  22710. },
  22711. "quoteid": {
  22712. "description": "报价单ID",
  22713. "type": "integer"
  22714. },
  22715. "relatedid": {
  22716. "description": "关联单号(交割单)",
  22717. "type": "string"
  22718. },
  22719. "retcode": {
  22720. "description": "错误代码",
  22721. "type": "integer"
  22722. },
  22723. "sessionid": {
  22724. "description": "会话ID",
  22725. "type": "integer"
  22726. },
  22727. "tradedate": {
  22728. "description": "交易日(yyyyMMdd)",
  22729. "type": "string"
  22730. },
  22731. "trademode": {
  22732. "description": "交易模式",
  22733. "type": "integer"
  22734. },
  22735. "tradeproperty": {
  22736. "description": "交易属性",
  22737. "type": "integer"
  22738. },
  22739. "tradeqty": {
  22740. "description": "成交数量",
  22741. "type": "integer"
  22742. },
  22743. "unfreezecharge": {
  22744. "description": "解冻手续费",
  22745. "type": "number"
  22746. },
  22747. "unfreezemargin": {
  22748. "description": "解冻保证金",
  22749. "type": "number"
  22750. },
  22751. "updatetime": {
  22752. "description": "更新时间",
  22753. "type": "string"
  22754. },
  22755. "uuid": {
  22756. "description": "发起端唯一id",
  22757. "type": "string"
  22758. },
  22759. "validtime": {
  22760. "description": "有效期限",
  22761. "type": "string"
  22762. },
  22763. "validtype": {
  22764. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22765. "type": "integer"
  22766. },
  22767. "volumetype": {
  22768. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22769. "type": "integer"
  22770. }
  22771. }
  22772. },
  22773. "order.QueryTradeDetailRsp": {
  22774. "type": "object",
  22775. "required": [
  22776. "accountid",
  22777. "buyorsell",
  22778. "goodsid",
  22779. "marketid",
  22780. "memberuserid",
  22781. "orderid",
  22782. "tradeamount",
  22783. "tradedate",
  22784. "tradeid",
  22785. "tradeprice",
  22786. "tradeqty",
  22787. "tradetime"
  22788. ],
  22789. "properties": {
  22790. "accountid": {
  22791. "description": "账户ID[报价币种]",
  22792. "type": "integer"
  22793. },
  22794. "buildtype": {
  22795. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22796. "type": "integer"
  22797. },
  22798. "buyorsell": {
  22799. "description": "方向 - 0:买 1:卖",
  22800. "type": "integer"
  22801. },
  22802. "charge": {
  22803. "description": "手续费",
  22804. "type": "number"
  22805. },
  22806. "closecharge": {
  22807. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22808. "type": "number"
  22809. },
  22810. "closeexchagechargevalue": {
  22811. "description": "平仓交易所手续费设置值",
  22812. "type": "number"
  22813. },
  22814. "closefeealgorithm": {
  22815. "description": "平仓手续费收取方式 1:比率 2:固定",
  22816. "type": "integer"
  22817. },
  22818. "closememberchargevalue": {
  22819. "description": "平仓会员手续费设置值",
  22820. "type": "number"
  22821. },
  22822. "closepl": {
  22823. "description": "平仓盈亏",
  22824. "type": "number"
  22825. },
  22826. "closepl2": {
  22827. "description": "平仓盈亏[逐笔]",
  22828. "type": "number"
  22829. },
  22830. "closeqty": {
  22831. "description": "平仓数量(先建后平操作 需要记录)",
  22832. "type": "integer"
  22833. },
  22834. "creditamount": {
  22835. "description": "授信金额",
  22836. "type": "number"
  22837. },
  22838. "gcaccountid": {
  22839. "description": "账户ID[合约币种]",
  22840. "type": "integer"
  22841. },
  22842. "goodscode": {
  22843. "description": "商品代码",
  22844. "type": "string"
  22845. },
  22846. "goodsid": {
  22847. "description": "商品ID",
  22848. "type": "integer"
  22849. },
  22850. "goodsname": {
  22851. "description": "商品名称",
  22852. "type": "string"
  22853. },
  22854. "intclosepl": {
  22855. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22856. "type": "integer"
  22857. },
  22858. "isconfirmexercise": {
  22859. "description": "是否确认行权- 0:否 1:是",
  22860. "type": "integer"
  22861. },
  22862. "ismain": {
  22863. "description": "是否主单 - 0:不是 1:是",
  22864. "type": "integer"
  22865. },
  22866. "ispreexercise": {
  22867. "description": "是否预申报- 0:否 1:是",
  22868. "type": "integer"
  22869. },
  22870. "isreckoned": {
  22871. "description": "是否结算 - 0:未结算 1:已结算",
  22872. "type": "integer"
  22873. },
  22874. "listingselecttype": {
  22875. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22876. "type": "integer"
  22877. },
  22878. "marketid": {
  22879. "description": "市场ID",
  22880. "type": "integer"
  22881. },
  22882. "marketname": {
  22883. "description": "市场名称",
  22884. "type": "string"
  22885. },
  22886. "matchaccountid": {
  22887. "description": "对手账号id",
  22888. "type": "integer"
  22889. },
  22890. "memberuserid": {
  22891. "description": "会员id 个人投资者 需要填写",
  22892. "type": "integer"
  22893. },
  22894. "opencharge": {
  22895. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22896. "type": "number"
  22897. },
  22898. "openexchagechargevalue": {
  22899. "description": "建仓交易所手续费设置值",
  22900. "type": "number"
  22901. },
  22902. "openfeealgorithm": {
  22903. "description": "建仓手续费收取方式 1:比率 2:固定",
  22904. "type": "integer"
  22905. },
  22906. "openmemberchargevalue": {
  22907. "description": "建仓会员手续费设置值",
  22908. "type": "number"
  22909. },
  22910. "openqty": {
  22911. "description": "开仓数量(先建后平操作 需要记录)",
  22912. "type": "integer"
  22913. },
  22914. "optiontype": {
  22915. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22916. "type": "integer"
  22917. },
  22918. "orderid": {
  22919. "description": "委托单号",
  22920. "type": "string"
  22921. },
  22922. "performanceplanid": {
  22923. "description": "履约计划ID[期权]",
  22924. "type": "integer"
  22925. },
  22926. "performancestatus": {
  22927. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22928. "type": "integer"
  22929. },
  22930. "preexerciseprice": {
  22931. "description": "预申报价格",
  22932. "type": "number"
  22933. },
  22934. "premium": {
  22935. "description": "权利金 - [持仓单的权利金]",
  22936. "type": "number"
  22937. },
  22938. "relatedouttradeid": {
  22939. "description": "关联外部成交单ID",
  22940. "type": "integer"
  22941. },
  22942. "status": {
  22943. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22944. "type": "integer"
  22945. },
  22946. "tradeamount": {
  22947. "description": "成交金额[账户币种,用于所有权]",
  22948. "type": "number"
  22949. },
  22950. "tradedate": {
  22951. "description": "交易日(yyyyMMdd)",
  22952. "type": "string"
  22953. },
  22954. "tradeid": {
  22955. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22956. "type": "string"
  22957. },
  22958. "trademode": {
  22959. "description": "交易模式",
  22960. "type": "integer"
  22961. },
  22962. "tradeprice": {
  22963. "description": "成交价格",
  22964. "type": "number"
  22965. },
  22966. "tradeproperty": {
  22967. "description": "交易属性",
  22968. "type": "integer"
  22969. },
  22970. "tradeqty": {
  22971. "description": "成交数量",
  22972. "type": "integer"
  22973. },
  22974. "tradetime": {
  22975. "description": "成交时间",
  22976. "type": "string"
  22977. },
  22978. "tradetype": {
  22979. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22980. "type": "integer"
  22981. }
  22982. }
  22983. },
  22984. "order.QueryTradeOrderDetailRsp": {
  22985. "type": "object",
  22986. "required": [
  22987. "accountid",
  22988. "buildtype",
  22989. "buyorsell",
  22990. "goodsid",
  22991. "marketid",
  22992. "operatetype",
  22993. "orderqty",
  22994. "ordertime",
  22995. "pricemode",
  22996. "tradedate",
  22997. "validtype"
  22998. ],
  22999. "properties": {
  23000. "accountid": {
  23001. "description": "账户ID[报价币种]",
  23002. "type": "integer"
  23003. },
  23004. "buildtype": {
  23005. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23006. "type": "integer"
  23007. },
  23008. "buyorsell": {
  23009. "description": "买卖 - 0:买 1:卖",
  23010. "type": "integer"
  23011. },
  23012. "cancelorderid": {
  23013. "description": "撤单单号(撤单时填写)",
  23014. "type": "string"
  23015. },
  23016. "cancelqty": {
  23017. "description": "撤单数量",
  23018. "type": "integer"
  23019. },
  23020. "clienttype": {
  23021. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23022. "type": "integer"
  23023. },
  23024. "closefreezecharge": {
  23025. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23026. "type": "number"
  23027. },
  23028. "closeqty": {
  23029. "description": "平仓数量(先建后平操作 需要记录)",
  23030. "type": "integer"
  23031. },
  23032. "closetradeqty": {
  23033. "description": "平仓成交数量(先建后平操作,需要记录)",
  23034. "type": "integer"
  23035. },
  23036. "closeunfreezecharge": {
  23037. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23038. "type": "number"
  23039. },
  23040. "delistingtype": {
  23041. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23042. "type": "integer"
  23043. },
  23044. "enableqty": {
  23045. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23046. "type": "integer"
  23047. },
  23048. "freezecharge": {
  23049. "description": "冻结手续费",
  23050. "type": "number"
  23051. },
  23052. "freezemargin": {
  23053. "description": "冻结保证金(冻结交易金额)",
  23054. "type": "number"
  23055. },
  23056. "goodscode": {
  23057. "description": "商品代码",
  23058. "type": "string"
  23059. },
  23060. "goodsid": {
  23061. "description": "商品ID",
  23062. "type": "integer"
  23063. },
  23064. "goodsname": {
  23065. "description": "商品名称",
  23066. "type": "string"
  23067. },
  23068. "listingselecttype": {
  23069. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23070. "type": "integer"
  23071. },
  23072. "marketid": {
  23073. "description": "市场ID",
  23074. "type": "integer"
  23075. },
  23076. "marketname": {
  23077. "description": "市场名称",
  23078. "type": "string"
  23079. },
  23080. "openfreezecharge": {
  23081. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23082. "type": "number"
  23083. },
  23084. "openqty": {
  23085. "description": "开仓数量(先建后平操作,需要记录)",
  23086. "type": "integer"
  23087. },
  23088. "opentradeqty": {
  23089. "description": "开仓成交数量(先建后平操作,需要记录)",
  23090. "type": "integer"
  23091. },
  23092. "openunfreezecharge": {
  23093. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23094. "type": "number"
  23095. },
  23096. "operatetype": {
  23097. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23098. "type": "integer"
  23099. },
  23100. "operatorid": {
  23101. "description": "登录账号(LoginID)",
  23102. "type": "integer"
  23103. },
  23104. "orderid": {
  23105. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23106. "type": "string"
  23107. },
  23108. "orderprice": {
  23109. "description": "委托价格",
  23110. "type": "number"
  23111. },
  23112. "orderqty": {
  23113. "description": "委托数量",
  23114. "type": "integer"
  23115. },
  23116. "ordersrc": {
  23117. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23118. "type": "integer"
  23119. },
  23120. "orderstatus": {
  23121. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23122. "type": "integer"
  23123. },
  23124. "ordertime": {
  23125. "description": "委托时间",
  23126. "type": "string"
  23127. },
  23128. "preorderid": {
  23129. "description": "关联预埋单号(止盈止损单时填写)",
  23130. "type": "string"
  23131. },
  23132. "pricemode": {
  23133. "description": "取价方式 - 1:市价 2: 限价",
  23134. "type": "integer"
  23135. },
  23136. "relatedid": {
  23137. "description": "关联单号(交割单)",
  23138. "type": "string"
  23139. },
  23140. "tradedate": {
  23141. "description": "交易日(yyyyMMdd)",
  23142. "type": "string"
  23143. },
  23144. "trademode": {
  23145. "description": "交易模式",
  23146. "type": "integer"
  23147. },
  23148. "tradeqty": {
  23149. "description": "成交数量",
  23150. "type": "integer"
  23151. },
  23152. "unfreezecharge": {
  23153. "description": "解冻手续费",
  23154. "type": "number"
  23155. },
  23156. "unfreezemargin": {
  23157. "description": "解冻保证金",
  23158. "type": "number"
  23159. },
  23160. "validtime": {
  23161. "description": "有效期限",
  23162. "type": "string"
  23163. },
  23164. "validtype": {
  23165. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23166. "type": "integer"
  23167. },
  23168. "volumetype": {
  23169. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23170. "type": "integer"
  23171. }
  23172. }
  23173. },
  23174. "order.QueryTradePositionRsp": {
  23175. "type": "object",
  23176. "required": [
  23177. "goodsid"
  23178. ],
  23179. "properties": {
  23180. "accountid": {
  23181. "description": "资金账户",
  23182. "type": "integer"
  23183. },
  23184. "agreeunit": {
  23185. "description": "合约单位",
  23186. "type": "number"
  23187. },
  23188. "averageprice": {
  23189. "description": "持仓均价",
  23190. "type": "number"
  23191. },
  23192. "buyorsell": {
  23193. "description": "方向 - 0:买 1:卖",
  23194. "type": "integer"
  23195. },
  23196. "closetotalqty": {
  23197. "description": "平仓总数量",
  23198. "type": "integer"
  23199. },
  23200. "curholderamount": {
  23201. "description": "当前持仓总金额[商品币种]",
  23202. "type": "number"
  23203. },
  23204. "curpositionqty": {
  23205. "description": "当前持仓总数量",
  23206. "type": "integer"
  23207. },
  23208. "currencyid": {
  23209. "description": "报价货币ID",
  23210. "type": "integer"
  23211. },
  23212. "curtdposition": {
  23213. "description": "期末今日头寸",
  23214. "type": "integer"
  23215. },
  23216. "decimalplace": {
  23217. "description": "报价小数位",
  23218. "type": "integer"
  23219. },
  23220. "enableqty": {
  23221. "description": "可用量",
  23222. "type": "integer"
  23223. },
  23224. "fretdposition": {
  23225. "description": "冻结今日头寸",
  23226. "type": "integer"
  23227. },
  23228. "frozenqty": {
  23229. "description": "持仓冻结数量",
  23230. "type": "integer"
  23231. },
  23232. "goodscode": {
  23233. "description": "商品代码",
  23234. "type": "string"
  23235. },
  23236. "goodsid": {
  23237. "description": "商品Id",
  23238. "type": "integer"
  23239. },
  23240. "goodsname": {
  23241. "description": "商品名称",
  23242. "type": "string"
  23243. },
  23244. "goodunit": {
  23245. "description": "报价单位",
  23246. "type": "string"
  23247. },
  23248. "goodunitid": {
  23249. "description": "报价单位ID",
  23250. "type": "integer"
  23251. },
  23252. "holderamount": {
  23253. "description": "期初持仓总金额[商品币种]",
  23254. "type": "number"
  23255. },
  23256. "marketid": {
  23257. "description": "所属市场ID",
  23258. "type": "integer"
  23259. },
  23260. "openreqqty": {
  23261. "description": "开仓申请数量(用于比较最大持仓数量)",
  23262. "type": "integer"
  23263. },
  23264. "opentotalqty": {
  23265. "description": "开仓总数量",
  23266. "type": "integer"
  23267. },
  23268. "otherfrozenqty": {
  23269. "description": "持仓其他冻结数量(交割冻结)",
  23270. "type": "integer"
  23271. },
  23272. "positionqty": {
  23273. "description": "期初持仓数量",
  23274. "type": "integer"
  23275. },
  23276. "tnqty": {
  23277. "description": "T+N冻结总量",
  23278. "type": "integer"
  23279. },
  23280. "tnusedqty": {
  23281. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23282. "type": "integer"
  23283. },
  23284. "trademode": {
  23285. "description": "交易模式",
  23286. "type": "integer"
  23287. },
  23288. "usedmargin": {
  23289. "description": "占用保证金[商品币种]",
  23290. "type": "number"
  23291. }
  23292. }
  23293. },
  23294. "quote.HistoryData": {
  23295. "type": "object",
  23296. "properties": {
  23297. "c": {
  23298. "description": "收盘价",
  23299. "type": "number"
  23300. },
  23301. "f": {
  23302. "description": "是否补充数据",
  23303. "type": "boolean"
  23304. },
  23305. "h": {
  23306. "description": "最高价",
  23307. "type": "number"
  23308. },
  23309. "hv": {
  23310. "description": "持仓量",
  23311. "type": "integer"
  23312. },
  23313. "l": {
  23314. "description": "最低价",
  23315. "type": "number"
  23316. },
  23317. "o": {
  23318. "description": "开盘价",
  23319. "type": "number"
  23320. },
  23321. "s": {
  23322. "description": "结算价,日线周期(包括)以上才有",
  23323. "type": "number"
  23324. },
  23325. "ts": {
  23326. "description": "时间",
  23327. "type": "string"
  23328. },
  23329. "tt": {
  23330. "description": "总金额",
  23331. "type": "number"
  23332. },
  23333. "tv": {
  23334. "description": "总量",
  23335. "type": "integer"
  23336. }
  23337. }
  23338. },
  23339. "quote.HistoryTikData": {
  23340. "type": "object",
  23341. "properties": {
  23342. "AV": {
  23343. "description": "卖量",
  23344. "type": "integer"
  23345. },
  23346. "Ask": {
  23347. "description": "卖价",
  23348. "type": "number"
  23349. },
  23350. "BV": {
  23351. "description": "买量",
  23352. "type": "integer"
  23353. },
  23354. "Bid": {
  23355. "description": "买价",
  23356. "type": "number"
  23357. },
  23358. "HI": {
  23359. "description": "单笔持仓",
  23360. "type": "integer"
  23361. },
  23362. "HV": {
  23363. "description": "持仓量",
  23364. "type": "integer"
  23365. },
  23366. "PE": {
  23367. "description": "现价",
  23368. "type": "number"
  23369. },
  23370. "TDR": {
  23371. "description": "交易方向,0:买 1:卖",
  23372. "type": "integer"
  23373. },
  23374. "TK": {
  23375. "description": "交易类型",
  23376. "type": "integer"
  23377. },
  23378. "TS": {
  23379. "description": "行情时间文本",
  23380. "type": "string"
  23381. },
  23382. "TT": {
  23383. "description": "现金额",
  23384. "type": "number"
  23385. },
  23386. "Vol": {
  23387. "description": "现量",
  23388. "type": "integer"
  23389. }
  23390. }
  23391. },
  23392. "quote.QueryQuoteDayRsp": {
  23393. "type": "object",
  23394. "properties": {
  23395. "ask": {
  23396. "description": "卖1",
  23397. "type": "number"
  23398. },
  23399. "ask10": {
  23400. "description": "卖10",
  23401. "type": "number"
  23402. },
  23403. "ask2": {
  23404. "description": "卖2",
  23405. "type": "number"
  23406. },
  23407. "ask3": {
  23408. "description": "卖3",
  23409. "type": "number"
  23410. },
  23411. "ask4": {
  23412. "description": "卖4",
  23413. "type": "number"
  23414. },
  23415. "ask5": {
  23416. "description": "卖5",
  23417. "type": "number"
  23418. },
  23419. "ask6": {
  23420. "description": "卖6",
  23421. "type": "number"
  23422. },
  23423. "ask7": {
  23424. "description": "卖7",
  23425. "type": "number"
  23426. },
  23427. "ask8": {
  23428. "description": "卖8",
  23429. "type": "number"
  23430. },
  23431. "ask9": {
  23432. "description": "卖9",
  23433. "type": "number"
  23434. },
  23435. "askorderid": {
  23436. "description": "卖单号1",
  23437. "type": "integer"
  23438. },
  23439. "askorderid2": {
  23440. "description": "卖单号2",
  23441. "type": "integer"
  23442. },
  23443. "askorderid3": {
  23444. "description": "卖单号3",
  23445. "type": "integer"
  23446. },
  23447. "askorderid4": {
  23448. "description": "卖单号4",
  23449. "type": "integer"
  23450. },
  23451. "askorderid5": {
  23452. "description": "卖单号5",
  23453. "type": "integer"
  23454. },
  23455. "askordervolume": {
  23456. "description": "卖单量1",
  23457. "type": "integer"
  23458. },
  23459. "askordervolume10": {
  23460. "description": "卖单量10",
  23461. "type": "integer"
  23462. },
  23463. "askordervolume2": {
  23464. "description": "卖单量2",
  23465. "type": "integer"
  23466. },
  23467. "askordervolume3": {
  23468. "description": "卖单量3",
  23469. "type": "integer"
  23470. },
  23471. "askordervolume4": {
  23472. "description": "卖单量4",
  23473. "type": "integer"
  23474. },
  23475. "askordervolume5": {
  23476. "description": "卖单量5",
  23477. "type": "integer"
  23478. },
  23479. "askordervolume6": {
  23480. "description": "卖单量6",
  23481. "type": "integer"
  23482. },
  23483. "askordervolume7": {
  23484. "description": "卖单量7",
  23485. "type": "integer"
  23486. },
  23487. "askordervolume8": {
  23488. "description": "卖单量8",
  23489. "type": "integer"
  23490. },
  23491. "askordervolume9": {
  23492. "description": "卖单量9",
  23493. "type": "integer"
  23494. },
  23495. "askqueueinfo": {
  23496. "description": "大利市卖港股用",
  23497. "type": "string"
  23498. },
  23499. "askvolume": {
  23500. "description": "卖量1",
  23501. "type": "integer"
  23502. },
  23503. "askvolume10": {
  23504. "description": "卖量10",
  23505. "type": "integer"
  23506. },
  23507. "askvolume2": {
  23508. "description": "卖量2",
  23509. "type": "integer"
  23510. },
  23511. "askvolume3": {
  23512. "description": "卖量3",
  23513. "type": "integer"
  23514. },
  23515. "askvolume4": {
  23516. "description": "卖量4",
  23517. "type": "integer"
  23518. },
  23519. "askvolume5": {
  23520. "description": "卖量5",
  23521. "type": "integer"
  23522. },
  23523. "askvolume6": {
  23524. "description": "卖量6",
  23525. "type": "integer"
  23526. },
  23527. "askvolume7": {
  23528. "description": "卖量7",
  23529. "type": "integer"
  23530. },
  23531. "askvolume8": {
  23532. "description": "卖量8",
  23533. "type": "integer"
  23534. },
  23535. "askvolume9": {
  23536. "description": "卖量9",
  23537. "type": "integer"
  23538. },
  23539. "averageprice": {
  23540. "description": "均价",
  23541. "type": "number"
  23542. },
  23543. "bid": {
  23544. "description": "买1",
  23545. "type": "number"
  23546. },
  23547. "bid10": {
  23548. "description": "买10",
  23549. "type": "number"
  23550. },
  23551. "bid2": {
  23552. "description": "买2",
  23553. "type": "number"
  23554. },
  23555. "bid3": {
  23556. "description": "买3",
  23557. "type": "number"
  23558. },
  23559. "bid4": {
  23560. "description": "买4",
  23561. "type": "number"
  23562. },
  23563. "bid5": {
  23564. "description": "买5",
  23565. "type": "number"
  23566. },
  23567. "bid6": {
  23568. "description": "买6",
  23569. "type": "number"
  23570. },
  23571. "bid7": {
  23572. "description": "买7",
  23573. "type": "number"
  23574. },
  23575. "bid8": {
  23576. "description": "买8",
  23577. "type": "number"
  23578. },
  23579. "bid9": {
  23580. "description": "买9",
  23581. "type": "number"
  23582. },
  23583. "bidorderid": {
  23584. "description": "买单号1",
  23585. "type": "integer"
  23586. },
  23587. "bidorderid2": {
  23588. "description": "买单号2",
  23589. "type": "integer"
  23590. },
  23591. "bidorderid3": {
  23592. "description": "买单号3",
  23593. "type": "integer"
  23594. },
  23595. "bidorderid4": {
  23596. "description": "买单号4",
  23597. "type": "integer"
  23598. },
  23599. "bidorderid5": {
  23600. "description": "买单号5",
  23601. "type": "integer"
  23602. },
  23603. "bidordervolume": {
  23604. "description": "买单量1",
  23605. "type": "integer"
  23606. },
  23607. "bidordervolume10": {
  23608. "description": "买单量10",
  23609. "type": "integer"
  23610. },
  23611. "bidordervolume2": {
  23612. "description": "买单量2",
  23613. "type": "integer"
  23614. },
  23615. "bidordervolume3": {
  23616. "description": "买单量3",
  23617. "type": "integer"
  23618. },
  23619. "bidordervolume4": {
  23620. "description": "买单量4",
  23621. "type": "integer"
  23622. },
  23623. "bidordervolume5": {
  23624. "description": "买单量5",
  23625. "type": "integer"
  23626. },
  23627. "bidordervolume6": {
  23628. "description": "买单量6",
  23629. "type": "integer"
  23630. },
  23631. "bidordervolume7": {
  23632. "description": "买单量7",
  23633. "type": "integer"
  23634. },
  23635. "bidordervolume8": {
  23636. "description": "买单量8",
  23637. "type": "integer"
  23638. },
  23639. "bidordervolume9": {
  23640. "description": "买单量9",
  23641. "type": "integer"
  23642. },
  23643. "bidqueueinfo": {
  23644. "description": "大利市买港股用",
  23645. "type": "string"
  23646. },
  23647. "bidvolume": {
  23648. "description": "买量1",
  23649. "type": "integer"
  23650. },
  23651. "bidvolume10": {
  23652. "description": "买量10",
  23653. "type": "integer"
  23654. },
  23655. "bidvolume2": {
  23656. "description": "买量2",
  23657. "type": "integer"
  23658. },
  23659. "bidvolume3": {
  23660. "description": "买量3",
  23661. "type": "integer"
  23662. },
  23663. "bidvolume4": {
  23664. "description": "买量4",
  23665. "type": "integer"
  23666. },
  23667. "bidvolume5": {
  23668. "description": "买量5",
  23669. "type": "integer"
  23670. },
  23671. "bidvolume6": {
  23672. "description": "买量6",
  23673. "type": "integer"
  23674. },
  23675. "bidvolume7": {
  23676. "description": "买量7",
  23677. "type": "integer"
  23678. },
  23679. "bidvolume8": {
  23680. "description": "买量8",
  23681. "type": "integer"
  23682. },
  23683. "bidvolume9": {
  23684. "description": "买量9",
  23685. "type": "integer"
  23686. },
  23687. "calloptionpremiums": {
  23688. "description": "认购期权1",
  23689. "type": "integer"
  23690. },
  23691. "calloptionpremiums2": {
  23692. "description": "认购期权2",
  23693. "type": "integer"
  23694. },
  23695. "calloptionpremiums3": {
  23696. "description": "认购期权3",
  23697. "type": "integer"
  23698. },
  23699. "calloptionpremiums4": {
  23700. "description": "认购期权4",
  23701. "type": "integer"
  23702. },
  23703. "calloptionpremiums5": {
  23704. "description": "认购期权5",
  23705. "type": "integer"
  23706. },
  23707. "cleartime": {
  23708. "description": "清盘时间",
  23709. "type": "integer"
  23710. },
  23711. "exchangecode": {
  23712. "description": "交易所代码",
  23713. "type": "integer"
  23714. },
  23715. "exchangedate": {
  23716. "description": "交易日",
  23717. "type": "integer"
  23718. },
  23719. "goodscode": {
  23720. "description": "商品代码",
  23721. "type": "string"
  23722. },
  23723. "grepmarketprice": {
  23724. "description": "暗盘价 港股专用",
  23725. "type": "number"
  23726. },
  23727. "highest": {
  23728. "description": "最高价",
  23729. "type": "number"
  23730. },
  23731. "holdincrement": {
  23732. "description": "单笔持仓",
  23733. "type": "integer"
  23734. },
  23735. "holdvolume": {
  23736. "description": "持仓",
  23737. "type": "integer"
  23738. },
  23739. "iep": {
  23740. "description": "平衡价 港股专用",
  23741. "type": "number"
  23742. },
  23743. "iev": {
  23744. "description": "平衡量 港股专用",
  23745. "type": "number"
  23746. },
  23747. "inventory": {
  23748. "description": "库存",
  23749. "type": "integer"
  23750. },
  23751. "iscleared": {
  23752. "description": "是否清盘标志",
  23753. "type": "integer"
  23754. },
  23755. "issettled": {
  23756. "description": "是否结算标志",
  23757. "type": "integer"
  23758. },
  23759. "last": {
  23760. "description": "最新价",
  23761. "type": "number"
  23762. },
  23763. "lastlot": {
  23764. "description": "最新成交手数",
  23765. "type": "integer"
  23766. },
  23767. "lasttime": {
  23768. "description": "行情时间(只有现价变化行情时间才变化)",
  23769. "type": "string"
  23770. },
  23771. "lastturnover": {
  23772. "description": "最新成交金额",
  23773. "type": "number"
  23774. },
  23775. "lastvolume": {
  23776. "description": "最新成交量",
  23777. "type": "integer"
  23778. },
  23779. "limitdown": {
  23780. "description": "跌停价",
  23781. "type": "number"
  23782. },
  23783. "limitup": {
  23784. "description": "涨停价",
  23785. "type": "number"
  23786. },
  23787. "lowest": {
  23788. "description": "最低价",
  23789. "type": "number"
  23790. },
  23791. "nontotalholdervolume": {
  23792. "description": "非交易持仓量",
  23793. "type": "integer"
  23794. },
  23795. "nontotallot": {
  23796. "description": "非交易总手数",
  23797. "type": "integer"
  23798. },
  23799. "nontotalturnover": {
  23800. "description": "非交易总金额",
  23801. "type": "integer"
  23802. },
  23803. "nontotalvolume": {
  23804. "description": "非交易总量",
  23805. "type": "integer"
  23806. },
  23807. "opened": {
  23808. "description": "开盘价",
  23809. "type": "number"
  23810. },
  23811. "opentime": {
  23812. "description": "开盘时间",
  23813. "type": "string"
  23814. },
  23815. "orderid": {
  23816. "description": "序号",
  23817. "type": "integer"
  23818. },
  23819. "preclose": {
  23820. "description": "昨收",
  23821. "type": "number"
  23822. },
  23823. "preholdvolume": {
  23824. "description": "昨持仓",
  23825. "type": "integer"
  23826. },
  23827. "presettle": {
  23828. "description": "昨结价",
  23829. "type": "number"
  23830. },
  23831. "publictradetype": {
  23832. "description": "公共交易标志类型 港股专用",
  23833. "type": "string"
  23834. },
  23835. "putoptionpremiums": {
  23836. "description": "认沽期权1",
  23837. "type": "integer"
  23838. },
  23839. "putoptionpremiums2": {
  23840. "description": "认沽期权2",
  23841. "type": "integer"
  23842. },
  23843. "putoptionpremiums3": {
  23844. "description": "认沽期权3",
  23845. "type": "integer"
  23846. },
  23847. "putoptionpremiums4": {
  23848. "description": "认沽期权4",
  23849. "type": "integer"
  23850. },
  23851. "putoptionpremiums5": {
  23852. "description": "认沽期权5",
  23853. "type": "integer"
  23854. },
  23855. "settle": {
  23856. "description": "结算价",
  23857. "type": "number"
  23858. },
  23859. "strikeprice": {
  23860. "description": "发行价",
  23861. "type": "number"
  23862. },
  23863. "totalaskvolume": {
  23864. "description": "内盘",
  23865. "type": "integer"
  23866. },
  23867. "totalbidvolume": {
  23868. "description": "外盘",
  23869. "type": "integer"
  23870. },
  23871. "totallot": {
  23872. "description": "总手数",
  23873. "type": "integer"
  23874. },
  23875. "totalturnover": {
  23876. "description": "总金额",
  23877. "type": "number"
  23878. },
  23879. "totalvolume": {
  23880. "description": "总量",
  23881. "type": "integer"
  23882. },
  23883. "utclasttime": {
  23884. "description": "utc的行情时间",
  23885. "type": "string"
  23886. }
  23887. }
  23888. },
  23889. "quote.QueryTSDataRsp": {
  23890. "type": "object",
  23891. "properties": {
  23892. "Count": {
  23893. "description": "交易日应有数据个数",
  23894. "type": "integer"
  23895. },
  23896. "decimalPlace": {
  23897. "description": "小数位",
  23898. "type": "integer"
  23899. },
  23900. "endTime": {
  23901. "description": "结束时间",
  23902. "type": "string"
  23903. },
  23904. "goodsCode": {
  23905. "description": "商品代码",
  23906. "type": "string"
  23907. },
  23908. "historyDatas": {
  23909. "description": "历史数据",
  23910. "type": "array",
  23911. "items": {
  23912. "$ref": "#/definitions/quote.HistoryData"
  23913. }
  23914. },
  23915. "outGoodsCode": {
  23916. "description": "外部商品代码",
  23917. "type": "string"
  23918. },
  23919. "preSettle": {
  23920. "description": "昨结价",
  23921. "type": "number"
  23922. },
  23923. "runSteps": {
  23924. "description": "交易日开休市计划",
  23925. "type": "array",
  23926. "items": {
  23927. "$ref": "#/definitions/quote.TSDataRunStep"
  23928. }
  23929. },
  23930. "startTime": {
  23931. "description": "开始时间",
  23932. "type": "string"
  23933. },
  23934. "tradeDate": {
  23935. "description": "交易日",
  23936. "type": "string"
  23937. }
  23938. }
  23939. },
  23940. "quote.TSDataRunStep": {
  23941. "type": "object",
  23942. "properties": {
  23943. "end": {
  23944. "description": "真实结束时间",
  23945. "type": "string"
  23946. },
  23947. "endflag": {
  23948. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23949. "type": "integer"
  23950. },
  23951. "endtime": {
  23952. "description": "结束时间(HH:mm)",
  23953. "type": "string"
  23954. },
  23955. "endweekday": {
  23956. "description": "结束周几",
  23957. "type": "integer"
  23958. },
  23959. "groupid": {
  23960. "description": "分组ID",
  23961. "type": "integer"
  23962. },
  23963. "runstep": {
  23964. "description": "运行阶段 - 2:连续交易",
  23965. "type": "integer"
  23966. },
  23967. "sectionid": {
  23968. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23969. "type": "integer"
  23970. },
  23971. "start": {
  23972. "description": "真实开始时间",
  23973. "type": "string"
  23974. },
  23975. "startflag": {
  23976. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23977. "type": "integer"
  23978. },
  23979. "starttime": {
  23980. "description": "起始时间(HH:mm)",
  23981. "type": "string"
  23982. },
  23983. "startweekday": {
  23984. "description": "起始周几",
  23985. "type": "integer"
  23986. },
  23987. "tradeweekday": {
  23988. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23989. "type": "integer"
  23990. }
  23991. }
  23992. },
  23993. "szdz.QueryConvertLogRsp": {
  23994. "type": "object",
  23995. "required": [
  23996. "logid"
  23997. ],
  23998. "properties": {
  23999. "accountid": {
  24000. "description": "资金账户ID",
  24001. "type": "integer"
  24002. },
  24003. "clientticket": {
  24004. "description": "客户端流水号",
  24005. "type": "string"
  24006. },
  24007. "converttype": {
  24008. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24009. "type": "integer"
  24010. },
  24011. "createtime": {
  24012. "description": "记账时间",
  24013. "type": "string"
  24014. },
  24015. "daymaxvalue": {
  24016. "description": "配置当日最大转入限制",
  24017. "type": "number"
  24018. },
  24019. "daymaxvalue2": {
  24020. "description": "配置当日最大转入限制(转入)",
  24021. "type": "number"
  24022. },
  24023. "goodscode": {
  24024. "description": "商品代码",
  24025. "type": "string"
  24026. },
  24027. "goodsname": {
  24028. "description": "商品名称",
  24029. "type": "string"
  24030. },
  24031. "handlestatus": {
  24032. "description": "处理状态",
  24033. "type": "integer"
  24034. },
  24035. "innergoodsid": {
  24036. "description": "内部商品ID",
  24037. "type": "integer"
  24038. },
  24039. "inratio": {
  24040. "description": "配置转入比值",
  24041. "type": "integer"
  24042. },
  24043. "invalue": {
  24044. "description": "目标值",
  24045. "type": "number"
  24046. },
  24047. "logid": {
  24048. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24049. "type": "integer"
  24050. },
  24051. "mobile": {
  24052. "description": "手机号码(加密存储)",
  24053. "type": "string"
  24054. },
  24055. "outergoodscode": {
  24056. "description": "外部商品代码[JD\\PD]",
  24057. "type": "string"
  24058. },
  24059. "outratio": {
  24060. "description": "配置转出比值",
  24061. "type": "integer"
  24062. },
  24063. "outvalue": {
  24064. "description": "源值",
  24065. "type": "number"
  24066. },
  24067. "pddecimalplace": {
  24068. "description": "PD小数位",
  24069. "type": "integer"
  24070. },
  24071. "qty": {
  24072. "description": "数量",
  24073. "type": "string"
  24074. },
  24075. "remark": {
  24076. "description": "备注",
  24077. "type": "string"
  24078. },
  24079. "sessionid": {
  24080. "description": "会话ID",
  24081. "type": "integer"
  24082. },
  24083. "timemaxvalue": {
  24084. "description": "配置单次最大转入限制",
  24085. "type": "number"
  24086. },
  24087. "timemaxvalue2": {
  24088. "description": "配置单次最大转入限制(转入)",
  24089. "type": "number"
  24090. },
  24091. "timeminvalue": {
  24092. "description": "配置单次最小数量限制",
  24093. "type": "number"
  24094. },
  24095. "timeminvalue2": {
  24096. "description": "配置单次最小数量限制(转入)",
  24097. "type": "number"
  24098. },
  24099. "tradedate": {
  24100. "description": "交易日(yyyyMMdd)",
  24101. "type": "string"
  24102. },
  24103. "userid": {
  24104. "description": "用户ID",
  24105. "type": "integer"
  24106. }
  24107. }
  24108. },
  24109. "szdz.QueryGoodsPickupRsp": {
  24110. "type": "object",
  24111. "required": [
  24112. "takeorderid"
  24113. ],
  24114. "properties": {
  24115. "accountid": {
  24116. "description": "账户ID",
  24117. "type": "integer"
  24118. },
  24119. "address": {
  24120. "description": "提货人详细地址",
  24121. "type": "string"
  24122. },
  24123. "auditer": {
  24124. "description": "审核人",
  24125. "type": "integer"
  24126. },
  24127. "audittime": {
  24128. "description": "审核时间",
  24129. "type": "string"
  24130. },
  24131. "cardnum": {
  24132. "description": "提货人证件号码",
  24133. "type": "string"
  24134. },
  24135. "cardtypeid": {
  24136. "description": "提货人证件类型",
  24137. "type": "integer"
  24138. },
  24139. "checkremark": {
  24140. "description": "审核备注",
  24141. "type": "string"
  24142. },
  24143. "goodscode": {
  24144. "description": "商品代码",
  24145. "type": "string"
  24146. },
  24147. "goodsid": {
  24148. "description": "商品ID",
  24149. "type": "integer"
  24150. },
  24151. "goodsname": {
  24152. "description": "商品名称",
  24153. "type": "string"
  24154. },
  24155. "handlestatus": {
  24156. "description": "处理状态",
  24157. "type": "integer"
  24158. },
  24159. "marketid": {
  24160. "description": "市场ID",
  24161. "type": "integer"
  24162. },
  24163. "phonenum": {
  24164. "description": "提货人联系方式",
  24165. "type": "string"
  24166. },
  24167. "qty": {
  24168. "description": "提货数量",
  24169. "type": "number"
  24170. },
  24171. "recivername": {
  24172. "description": "提货人姓名",
  24173. "type": "string"
  24174. },
  24175. "reqtime": {
  24176. "description": "更新时间",
  24177. "type": "string"
  24178. },
  24179. "takemode": {
  24180. "description": "提货方式 - 2:自提 3:配送",
  24181. "type": "integer"
  24182. },
  24183. "takeorderid": {
  24184. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24185. "type": "string"
  24186. },
  24187. "takeorderstatus": {
  24188. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24189. "type": "integer"
  24190. },
  24191. "takeremark": {
  24192. "description": "提货备注",
  24193. "type": "string"
  24194. },
  24195. "tradedate": {
  24196. "description": "交易日(yyyyMMdd)",
  24197. "type": "string"
  24198. },
  24199. "userid": {
  24200. "description": "用户ID",
  24201. "type": "integer"
  24202. }
  24203. }
  24204. },
  24205. "szdz.QueryRecieptOrderRsp": {
  24206. "type": "object",
  24207. "required": [
  24208. "ordertime"
  24209. ],
  24210. "properties": {
  24211. "accountName": {
  24212. "description": "所属账号名称(已脱敏)",
  24213. "type": "string"
  24214. },
  24215. "accountid": {
  24216. "description": "资金账号",
  24217. "type": "integer"
  24218. },
  24219. "buyorsell": {
  24220. "description": "方向 - 0:买 1:卖",
  24221. "type": "integer"
  24222. },
  24223. "enableqty": {
  24224. "description": "可摘数量",
  24225. "type": "integer"
  24226. },
  24227. "goodscode": {
  24228. "description": "商品代码",
  24229. "type": "string"
  24230. },
  24231. "goodsid": {
  24232. "description": "商品ID",
  24233. "type": "integer"
  24234. },
  24235. "goodsname": {
  24236. "description": "商品名称",
  24237. "type": "string"
  24238. },
  24239. "orderid": {
  24240. "description": "委托单号",
  24241. "type": "string"
  24242. },
  24243. "orderprice": {
  24244. "description": "委托价格",
  24245. "type": "number"
  24246. },
  24247. "ordertime": {
  24248. "description": "委托时间",
  24249. "type": "string"
  24250. },
  24251. "tradedate": {
  24252. "description": "交易日(yyyyMMdd)",
  24253. "type": "string"
  24254. }
  24255. }
  24256. },
  24257. "szdz.QuerySZDZTradePositionRsp": {
  24258. "type": "object",
  24259. "properties": {
  24260. "accountid": {
  24261. "description": "账号Id",
  24262. "type": "integer"
  24263. },
  24264. "agreeunit": {
  24265. "description": "合约单位",
  24266. "type": "number"
  24267. },
  24268. "averageprice": {
  24269. "description": "持仓均价",
  24270. "type": "number"
  24271. },
  24272. "buyorsell": {
  24273. "description": "方向 - 0:买 1:卖",
  24274. "type": "integer"
  24275. },
  24276. "closetotalqty": {
  24277. "description": "平仓总数量",
  24278. "type": "integer"
  24279. },
  24280. "curholderamount": {
  24281. "description": "当前持仓总金额",
  24282. "type": "number"
  24283. },
  24284. "curpositionqty": {
  24285. "description": "当前持仓总数量",
  24286. "type": "integer"
  24287. },
  24288. "currencyid": {
  24289. "description": "报价货币ID",
  24290. "type": "integer"
  24291. },
  24292. "curtdposition": {
  24293. "description": "期末今日头寸",
  24294. "type": "integer"
  24295. },
  24296. "decimalplace": {
  24297. "description": "报价小数位",
  24298. "type": "integer"
  24299. },
  24300. "enableqty": {
  24301. "description": "可用量",
  24302. "type": "integer"
  24303. },
  24304. "fretdposition": {
  24305. "description": "冻结今日头寸",
  24306. "type": "integer"
  24307. },
  24308. "frozenqty": {
  24309. "description": "持仓冻结数量",
  24310. "type": "integer"
  24311. },
  24312. "goodscode": {
  24313. "description": "商品代码(内部)",
  24314. "type": "string"
  24315. },
  24316. "goodsid": {
  24317. "description": "商品Id",
  24318. "type": "integer"
  24319. },
  24320. "goodsname": {
  24321. "description": "商品名称",
  24322. "type": "string"
  24323. },
  24324. "goodunit": {
  24325. "description": "报价单位",
  24326. "type": "string"
  24327. },
  24328. "goodunitid": {
  24329. "description": "报价单位ID",
  24330. "type": "integer"
  24331. },
  24332. "holderamount": {
  24333. "description": "期初持仓总金额",
  24334. "type": "number"
  24335. },
  24336. "marketid": {
  24337. "description": "市场ID",
  24338. "type": "integer"
  24339. },
  24340. "openreqqty": {
  24341. "description": "开仓申请数量",
  24342. "type": "integer"
  24343. },
  24344. "opentotalqty": {
  24345. "description": "开仓总数量",
  24346. "type": "integer"
  24347. },
  24348. "otherfrozenqty": {
  24349. "description": "持仓其他冻结数量(交割冻结)",
  24350. "type": "integer"
  24351. },
  24352. "positionqty": {
  24353. "description": "期初持仓数量",
  24354. "type": "integer"
  24355. },
  24356. "szdz3freezqty": {
  24357. "description": "尚志大宗转换冻结总数量",
  24358. "type": "integer"
  24359. },
  24360. "tnqty": {
  24361. "description": "T+N冻结总量",
  24362. "type": "integer"
  24363. },
  24364. "tnusedqty": {
  24365. "description": "T+N使用量",
  24366. "type": "integer"
  24367. },
  24368. "trademode": {
  24369. "description": "交易模式",
  24370. "type": "integer"
  24371. },
  24372. "usedmargin": {
  24373. "description": "占用保证金",
  24374. "type": "number"
  24375. }
  24376. }
  24377. },
  24378. "taaccount.QueryAmountLogRsp": {
  24379. "type": "object",
  24380. "required": [
  24381. "accountid",
  24382. "amount",
  24383. "amountadjusttype",
  24384. "autoid",
  24385. "balance",
  24386. "createtime",
  24387. "currentbalance",
  24388. "operatetype"
  24389. ],
  24390. "properties": {
  24391. "OPERATETYPENAME": {
  24392. "description": "资金操作类型名称",
  24393. "type": "string"
  24394. },
  24395. "accountid": {
  24396. "description": "资金账户ID",
  24397. "type": "integer"
  24398. },
  24399. "agoodscode": {
  24400. "description": "竞拍商品代码",
  24401. "type": "string"
  24402. },
  24403. "agoodsname": {
  24404. "description": "竞拍商品名称",
  24405. "type": "string"
  24406. },
  24407. "amount": {
  24408. "description": "资金金额",
  24409. "type": "number"
  24410. },
  24411. "amountadjusttype": {
  24412. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24413. "type": "integer"
  24414. },
  24415. "autoid": {
  24416. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24417. "type": "integer"
  24418. },
  24419. "balance": {
  24420. "description": "期初余额",
  24421. "type": "number"
  24422. },
  24423. "businesscode": {
  24424. "description": "业务编号",
  24425. "type": "integer"
  24426. },
  24427. "createtime": {
  24428. "description": "发生时间",
  24429. "type": "string"
  24430. },
  24431. "currencyid": {
  24432. "description": "币种ID",
  24433. "type": "integer"
  24434. },
  24435. "currentbalance": {
  24436. "description": "期末余额(变动后金额)",
  24437. "type": "number"
  24438. },
  24439. "dgoodscode": {
  24440. "description": "交割商品代码",
  24441. "type": "string"
  24442. },
  24443. "dgoodsname": {
  24444. "description": "交割商品名称",
  24445. "type": "string"
  24446. },
  24447. "goodscode": {
  24448. "description": "商品代码",
  24449. "type": "string"
  24450. },
  24451. "goodsid": {
  24452. "description": "商品ID",
  24453. "type": "integer"
  24454. },
  24455. "goodsname": {
  24456. "description": "商品名称",
  24457. "type": "string"
  24458. },
  24459. "marketid": {
  24460. "description": "市场ID",
  24461. "type": "integer"
  24462. },
  24463. "marketname": {
  24464. "description": "市场名称",
  24465. "type": "string"
  24466. },
  24467. "moneyticket": {
  24468. "description": "资金流水号:银行端流水号",
  24469. "type": "integer"
  24470. },
  24471. "operatetype": {
  24472. "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:营销收款",
  24473. "type": "integer"
  24474. },
  24475. "relationorderid": {
  24476. "description": "关联单号",
  24477. "type": "string"
  24478. },
  24479. "remark": {
  24480. "description": "备注",
  24481. "type": "string"
  24482. },
  24483. "trademode": {
  24484. "description": "交易模式",
  24485. "type": "integer"
  24486. }
  24487. }
  24488. },
  24489. "taaccount.QueryHisAmountLogRsp": {
  24490. "type": "object",
  24491. "required": [
  24492. "accountid",
  24493. "amount",
  24494. "amountadjusttype",
  24495. "autoid",
  24496. "balance",
  24497. "createtime",
  24498. "currentbalance",
  24499. "histradedate",
  24500. "operatetype"
  24501. ],
  24502. "properties": {
  24503. "OPERATETYPENAME": {
  24504. "description": "资金操作类型名称",
  24505. "type": "string"
  24506. },
  24507. "accountid": {
  24508. "description": "资金账户ID",
  24509. "type": "integer"
  24510. },
  24511. "agoodscode": {
  24512. "description": "竞拍商品代码",
  24513. "type": "string"
  24514. },
  24515. "agoodsname": {
  24516. "description": "竞拍商品名称",
  24517. "type": "string"
  24518. },
  24519. "amount": {
  24520. "description": "资金金额",
  24521. "type": "number"
  24522. },
  24523. "amountadjusttype": {
  24524. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24525. "type": "integer"
  24526. },
  24527. "autoid": {
  24528. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24529. "type": "integer"
  24530. },
  24531. "balance": {
  24532. "description": "期初余额",
  24533. "type": "number"
  24534. },
  24535. "businesscode": {
  24536. "description": "业务编号",
  24537. "type": "integer"
  24538. },
  24539. "createtime": {
  24540. "description": "发生时间",
  24541. "type": "string"
  24542. },
  24543. "currencyid": {
  24544. "description": "币种ID",
  24545. "type": "integer"
  24546. },
  24547. "currentbalance": {
  24548. "description": "期末余额(变动后金额)",
  24549. "type": "number"
  24550. },
  24551. "dgoodscode": {
  24552. "description": "交割商品代码",
  24553. "type": "string"
  24554. },
  24555. "dgoodsname": {
  24556. "description": "交割商品名称",
  24557. "type": "string"
  24558. },
  24559. "goodscode": {
  24560. "description": "商品代码",
  24561. "type": "string"
  24562. },
  24563. "goodsid": {
  24564. "description": "商品ID",
  24565. "type": "integer"
  24566. },
  24567. "goodsname": {
  24568. "description": "商品名称",
  24569. "type": "string"
  24570. },
  24571. "histradedate": {
  24572. "description": "历史交易日",
  24573. "type": "string"
  24574. },
  24575. "isvaliddata": {
  24576. "description": "是否有效 - 0:无效 1:有效",
  24577. "type": "integer"
  24578. },
  24579. "marketid": {
  24580. "description": "市场ID",
  24581. "type": "integer"
  24582. },
  24583. "marketname": {
  24584. "description": "市场名称",
  24585. "type": "string"
  24586. },
  24587. "moneyticket": {
  24588. "description": "资金流水号:银行端流水号",
  24589. "type": "integer"
  24590. },
  24591. "operatetype": {
  24592. "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:营销收款",
  24593. "type": "integer"
  24594. },
  24595. "relationorderid": {
  24596. "description": "关联单号",
  24597. "type": "string"
  24598. },
  24599. "remark": {
  24600. "description": "备注",
  24601. "type": "string"
  24602. },
  24603. "trademode": {
  24604. "description": "交易模式",
  24605. "type": "integer"
  24606. }
  24607. }
  24608. },
  24609. "trade.QueryRecieptOrderRsp": {
  24610. "type": "object",
  24611. "required": [
  24612. "ordertime"
  24613. ],
  24614. "properties": {
  24615. "accountName": {
  24616. "description": "所属账号名称(已脱敏)",
  24617. "type": "string"
  24618. },
  24619. "accountid": {
  24620. "description": "资金账号",
  24621. "type": "integer"
  24622. },
  24623. "buyorsell": {
  24624. "description": "方向 - 0:买 1:卖",
  24625. "type": "integer"
  24626. },
  24627. "enableqty": {
  24628. "description": "可摘数量",
  24629. "type": "integer"
  24630. },
  24631. "goodscode": {
  24632. "description": "商品代码",
  24633. "type": "string"
  24634. },
  24635. "goodsid": {
  24636. "description": "商品ID",
  24637. "type": "integer"
  24638. },
  24639. "goodsname": {
  24640. "description": "商品名称",
  24641. "type": "string"
  24642. },
  24643. "orderid": {
  24644. "description": "委托单号",
  24645. "type": "string"
  24646. },
  24647. "orderprice": {
  24648. "description": "委托价格",
  24649. "type": "number"
  24650. },
  24651. "ordertime": {
  24652. "description": "委托时间",
  24653. "type": "string"
  24654. },
  24655. "tradedate": {
  24656. "description": "交易日(yyyyMMdd)",
  24657. "type": "string"
  24658. }
  24659. }
  24660. },
  24661. "user.LoginQueryRsp": {
  24662. "type": "object",
  24663. "properties": {
  24664. "areaRoles": {
  24665. "description": "所属角色信息",
  24666. "type": "array",
  24667. "items": {
  24668. "$ref": "#/definitions/models.Arearole"
  24669. }
  24670. },
  24671. "externalExchanges": {
  24672. "description": "外部交易所",
  24673. "type": "array",
  24674. "items": {
  24675. "$ref": "#/definitions/models.Externalexchange"
  24676. }
  24677. },
  24678. "goodsgroups": {
  24679. "description": "商品组",
  24680. "type": "array",
  24681. "items": {
  24682. "$ref": "#/definitions/models.Goodsgroup"
  24683. }
  24684. },
  24685. "loginAccount": {
  24686. "description": "登录账号",
  24687. "type": "object",
  24688. "$ref": "#/definitions/models.Loginaccount"
  24689. },
  24690. "markets": {
  24691. "description": "市场",
  24692. "type": "array",
  24693. "items": {
  24694. "$ref": "#/definitions/models.Market"
  24695. }
  24696. },
  24697. "systemParams": {
  24698. "description": "系统参数",
  24699. "type": "array",
  24700. "items": {
  24701. "$ref": "#/definitions/models.Systemparam"
  24702. }
  24703. },
  24704. "userAccount": {
  24705. "description": "用户账号",
  24706. "type": "object",
  24707. "$ref": "#/definitions/models.Useraccount"
  24708. },
  24709. "userInfo": {
  24710. "description": "用户信息",
  24711. "type": "object",
  24712. "$ref": "#/definitions/models.Userinfo"
  24713. },
  24714. "username": {
  24715. "description": "用户姓名",
  24716. "type": "string"
  24717. }
  24718. }
  24719. }
  24720. },
  24721. "securityDefinitions": {
  24722. "ApiKeyAuth": {
  24723. "type": "apiKey",
  24724. "name": "Authorization",
  24725. "in": "header"
  24726. }
  24727. }
  24728. }`
  24729. type swaggerInfo struct {
  24730. Version string
  24731. Host string
  24732. BasePath string
  24733. Schemes []string
  24734. Title string
  24735. Description string
  24736. }
  24737. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24738. var SwaggerInfo = swaggerInfo{
  24739. Version: "1.0",
  24740. Host: "",
  24741. BasePath: "/api",
  24742. Schemes: []string{},
  24743. Title: "MTP2.0 查询服务 API",
  24744. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24745. }
  24746. type s struct{}
  24747. func (s *s) ReadDoc() string {
  24748. sInfo := SwaggerInfo
  24749. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24750. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24751. "marshal": func(v interface{}) string {
  24752. a, _ := json.Marshal(v)
  24753. return string(a)
  24754. },
  24755. }).Parse(doc)
  24756. if err != nil {
  24757. return doc
  24758. }
  24759. var tpl bytes.Buffer
  24760. if err := t.Execute(&tpl, sInfo); err != nil {
  24761. return doc
  24762. }
  24763. return tpl.String()
  24764. }
  24765. func init() {
  24766. swag.Register(swag.Name, &s{})
  24767. }