docs.go 815 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  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.Funcmenulist"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportAreaSpotPL": {
  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": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "integer",
  977. "description": "查询类型 1-日报表 2-月报表",
  978. "name": "querytype",
  979. "in": "query",
  980. "required": true
  981. },
  982. {
  983. "type": "string",
  984. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  985. "name": "querydate",
  986. "in": "query",
  987. "required": true
  988. },
  989. {
  990. "type": "integer",
  991. "description": "现货商品ID",
  992. "name": "wrstandardid",
  993. "in": "query"
  994. },
  995. {
  996. "type": "integer",
  997. "description": "品牌ID",
  998. "name": "spotgoodsbrandid",
  999. "in": "query"
  1000. },
  1001. {
  1002. "type": "integer",
  1003. "description": "型号ID",
  1004. "name": "spotgoodsmodelid",
  1005. "in": "query"
  1006. }
  1007. ],
  1008. "responses": {
  1009. "200": {
  1010. "description": "OK",
  1011. "schema": {
  1012. "type": "array",
  1013. "items": {
  1014. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1015. }
  1016. }
  1017. },
  1018. "500": {
  1019. "description": "Internal Server Error",
  1020. "schema": {
  1021. "$ref": "#/definitions/app.Response"
  1022. }
  1023. }
  1024. }
  1025. }
  1026. },
  1027. "/Ermcp/QryReportDayExposure": {
  1028. "get": {
  1029. "security": [
  1030. {
  1031. "ApiKeyAuth": []
  1032. }
  1033. ],
  1034. "produces": [
  1035. "application/json"
  1036. ],
  1037. "tags": [
  1038. "企业风险管理(app)"
  1039. ],
  1040. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1041. "parameters": [
  1042. {
  1043. "type": "integer",
  1044. "description": "用户ID",
  1045. "name": "userid",
  1046. "in": "query",
  1047. "required": true
  1048. },
  1049. {
  1050. "type": "string",
  1051. "description": "交易日(格式:yyyyMMdd)",
  1052. "name": "tradedate",
  1053. "in": "query",
  1054. "required": true
  1055. }
  1056. ],
  1057. "responses": {
  1058. "200": {
  1059. "description": "OK",
  1060. "schema": {
  1061. "type": "array",
  1062. "items": {
  1063. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1064. }
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/app.Response"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/Ermcp/QryReportDayFinance": {
  1077. "get": {
  1078. "security": [
  1079. {
  1080. "ApiKeyAuth": []
  1081. }
  1082. ],
  1083. "produces": [
  1084. "application/json"
  1085. ],
  1086. "tags": [
  1087. "企业风险管理(app)"
  1088. ],
  1089. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1090. "parameters": [
  1091. {
  1092. "type": "integer",
  1093. "description": "用户ID",
  1094. "name": "userid",
  1095. "in": "query",
  1096. "required": true
  1097. },
  1098. {
  1099. "type": "string",
  1100. "description": "交易日(格式:yyyyMMdd)",
  1101. "name": "tradedate",
  1102. "in": "query",
  1103. "required": true
  1104. }
  1105. ],
  1106. "responses": {
  1107. "200": {
  1108. "description": "OK",
  1109. "schema": {
  1110. "type": "array",
  1111. "items": {
  1112. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1113. }
  1114. }
  1115. },
  1116. "500": {
  1117. "description": "Internal Server Error",
  1118. "schema": {
  1119. "$ref": "#/definitions/app.Response"
  1120. }
  1121. }
  1122. }
  1123. }
  1124. },
  1125. "/Ermcp/QryReportDayFinanceFp": {
  1126. "get": {
  1127. "security": [
  1128. {
  1129. "ApiKeyAuth": []
  1130. }
  1131. ],
  1132. "produces": [
  1133. "application/json"
  1134. ],
  1135. "tags": [
  1136. "企业风险管理(app)"
  1137. ],
  1138. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1139. "parameters": [
  1140. {
  1141. "type": "integer",
  1142. "description": "用户ID",
  1143. "name": "userid",
  1144. "in": "query",
  1145. "required": true
  1146. },
  1147. {
  1148. "type": "string",
  1149. "description": "交易日(格式:yyyyMMdd)",
  1150. "name": "tradedate",
  1151. "in": "query",
  1152. "required": true
  1153. }
  1154. ],
  1155. "responses": {
  1156. "200": {
  1157. "description": "OK",
  1158. "schema": {
  1159. "type": "array",
  1160. "items": {
  1161. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1162. }
  1163. }
  1164. },
  1165. "500": {
  1166. "description": "Internal Server Error",
  1167. "schema": {
  1168. "$ref": "#/definitions/app.Response"
  1169. }
  1170. }
  1171. }
  1172. }
  1173. },
  1174. "/Ermcp/QryReportDayFinanceKx": {
  1175. "get": {
  1176. "security": [
  1177. {
  1178. "ApiKeyAuth": []
  1179. }
  1180. ],
  1181. "produces": [
  1182. "application/json"
  1183. ],
  1184. "tags": [
  1185. "企业风险管理(app)"
  1186. ],
  1187. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1188. "parameters": [
  1189. {
  1190. "type": "integer",
  1191. "description": "用户ID",
  1192. "name": "userid",
  1193. "in": "query",
  1194. "required": true
  1195. },
  1196. {
  1197. "type": "string",
  1198. "description": "交易日(格式:yyyyMMdd)",
  1199. "name": "tradedate",
  1200. "in": "query",
  1201. "required": true
  1202. }
  1203. ],
  1204. "responses": {
  1205. "200": {
  1206. "description": "OK",
  1207. "schema": {
  1208. "type": "array",
  1209. "items": {
  1210. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1211. }
  1212. }
  1213. },
  1214. "500": {
  1215. "description": "Internal Server Error",
  1216. "schema": {
  1217. "$ref": "#/definitions/app.Response"
  1218. }
  1219. }
  1220. }
  1221. }
  1222. },
  1223. "/Ermcp/QryReportDaySpot": {
  1224. "get": {
  1225. "security": [
  1226. {
  1227. "ApiKeyAuth": []
  1228. }
  1229. ],
  1230. "produces": [
  1231. "application/json"
  1232. ],
  1233. "tags": [
  1234. "企业风险管理(app)"
  1235. ],
  1236. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1237. "parameters": [
  1238. {
  1239. "type": "integer",
  1240. "description": "用户ID",
  1241. "name": "userid",
  1242. "in": "query",
  1243. "required": true
  1244. },
  1245. {
  1246. "type": "string",
  1247. "description": "交易日(格式:yyyyMMdd)",
  1248. "name": "tradedate",
  1249. "in": "query",
  1250. "required": true
  1251. }
  1252. ],
  1253. "responses": {
  1254. "200": {
  1255. "description": "OK",
  1256. "schema": {
  1257. "type": "array",
  1258. "items": {
  1259. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1260. }
  1261. }
  1262. },
  1263. "500": {
  1264. "description": "Internal Server Error",
  1265. "schema": {
  1266. "$ref": "#/definitions/app.Response"
  1267. }
  1268. }
  1269. }
  1270. }
  1271. },
  1272. "/Ermcp/QryReportDaySpotDetail": {
  1273. "get": {
  1274. "security": [
  1275. {
  1276. "ApiKeyAuth": []
  1277. }
  1278. ],
  1279. "produces": [
  1280. "application/json"
  1281. ],
  1282. "tags": [
  1283. "企业风险管理(app)"
  1284. ],
  1285. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1286. "parameters": [
  1287. {
  1288. "type": "integer",
  1289. "description": "用户ID",
  1290. "name": "userid",
  1291. "in": "query",
  1292. "required": true
  1293. },
  1294. {
  1295. "type": "integer",
  1296. "description": "现货商品id",
  1297. "name": "wrstandardid",
  1298. "in": "query",
  1299. "required": true
  1300. },
  1301. {
  1302. "type": "string",
  1303. "description": "交易日(格式:yyyyMMdd)",
  1304. "name": "tradedate",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QryReportMonthFinance": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "用户ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. },
  1350. {
  1351. "type": "string",
  1352. "description": "周期时间:月(格式:yyyyMM)",
  1353. "name": "cycletime",
  1354. "in": "query",
  1355. "required": true
  1356. }
  1357. ],
  1358. "responses": {
  1359. "200": {
  1360. "description": "OK",
  1361. "schema": {
  1362. "type": "array",
  1363. "items": {
  1364. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1365. }
  1366. }
  1367. },
  1368. "500": {
  1369. "description": "Internal Server Error",
  1370. "schema": {
  1371. "$ref": "#/definitions/app.Response"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/Ermcp/QryReportMonthSpot": {
  1378. "get": {
  1379. "security": [
  1380. {
  1381. "ApiKeyAuth": []
  1382. }
  1383. ],
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "企业风险管理(app)"
  1389. ],
  1390. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "description": "用户ID",
  1395. "name": "userid",
  1396. "in": "query",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "string",
  1401. "description": "周期时间:月(格式:yyyyMM)",
  1402. "name": "cycletime",
  1403. "in": "query",
  1404. "required": true
  1405. }
  1406. ],
  1407. "responses": {
  1408. "200": {
  1409. "description": "OK",
  1410. "schema": {
  1411. "type": "array",
  1412. "items": {
  1413. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1414. }
  1415. }
  1416. },
  1417. "500": {
  1418. "description": "Internal Server Error",
  1419. "schema": {
  1420. "$ref": "#/definitions/app.Response"
  1421. }
  1422. }
  1423. }
  1424. }
  1425. },
  1426. "/Ermcp/QryReportMonthSpotDetail": {
  1427. "get": {
  1428. "security": [
  1429. {
  1430. "ApiKeyAuth": []
  1431. }
  1432. ],
  1433. "produces": [
  1434. "application/json"
  1435. ],
  1436. "tags": [
  1437. "企业风险管理(app)"
  1438. ],
  1439. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1440. "parameters": [
  1441. {
  1442. "type": "integer",
  1443. "description": "用户ID",
  1444. "name": "userid",
  1445. "in": "query",
  1446. "required": true
  1447. },
  1448. {
  1449. "type": "integer",
  1450. "description": "现货商品id",
  1451. "name": "wrstandardid",
  1452. "in": "query",
  1453. "required": true
  1454. },
  1455. {
  1456. "type": "string",
  1457. "description": "周期时间:月(格式:yyyyMM)",
  1458. "name": "cycletime",
  1459. "in": "query",
  1460. "required": true
  1461. }
  1462. ],
  1463. "responses": {
  1464. "200": {
  1465. "description": "OK",
  1466. "schema": {
  1467. "type": "array",
  1468. "items": {
  1469. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1470. }
  1471. }
  1472. },
  1473. "500": {
  1474. "description": "Internal Server Error",
  1475. "schema": {
  1476. "$ref": "#/definitions/app.Response"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. },
  1482. "/Ermcp/QueryAccMgrBizGroupSet": {
  1483. "get": {
  1484. "security": [
  1485. {
  1486. "ApiKeyAuth": []
  1487. }
  1488. ],
  1489. "produces": [
  1490. "application/json"
  1491. ],
  1492. "tags": [
  1493. "企业风险管理(app)"
  1494. ],
  1495. "summary": "查询业务类型分组(账户管理/账户设置)",
  1496. "parameters": [
  1497. {
  1498. "type": "integer",
  1499. "description": "用户ID",
  1500. "name": "userid",
  1501. "in": "query",
  1502. "required": true
  1503. }
  1504. ],
  1505. "responses": {
  1506. "200": {
  1507. "description": "OK",
  1508. "schema": {
  1509. "type": "array",
  1510. "items": {
  1511. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1512. }
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "Internal Server Error",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/Ermcp/QueryAccMgrLoginUser": {
  1525. "get": {
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "企业风险管理(app)"
  1536. ],
  1537. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1538. "parameters": [
  1539. {
  1540. "type": "integer",
  1541. "description": "用户ID",
  1542. "name": "userid",
  1543. "in": "query",
  1544. "required": true
  1545. }
  1546. ],
  1547. "responses": {
  1548. "200": {
  1549. "description": "OK",
  1550. "schema": {
  1551. "type": "array",
  1552. "items": {
  1553. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1554. }
  1555. }
  1556. },
  1557. "500": {
  1558. "description": "Internal Server Error",
  1559. "schema": {
  1560. "$ref": "#/definitions/app.Response"
  1561. }
  1562. }
  1563. }
  1564. }
  1565. },
  1566. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1567. "get": {
  1568. "security": [
  1569. {
  1570. "ApiKeyAuth": []
  1571. }
  1572. ],
  1573. "produces": [
  1574. "application/json"
  1575. ],
  1576. "tags": [
  1577. "企业风险管理(app)"
  1578. ],
  1579. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1580. "parameters": [
  1581. {
  1582. "type": "integer",
  1583. "description": "用户ID",
  1584. "name": "userid",
  1585. "in": "query"
  1586. },
  1587. {
  1588. "type": "integer",
  1589. "description": "主账号id",
  1590. "name": "accountid",
  1591. "in": "query"
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/models.MainAccountInfo"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Ermcp/QueryAccMgrRole": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "企业风险管理(app)"
  1625. ],
  1626. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "用户ID",
  1631. "name": "userid",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/models.ErmcpRole"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryAccMgrRoleMenu": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "用户ID",
  1673. "name": "userid",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "string",
  1679. "description": "角色id(可多个,逗号隔开)",
  1680. "name": "roleid",
  1681. "in": "query"
  1682. }
  1683. ],
  1684. "responses": {
  1685. "200": {
  1686. "description": "OK",
  1687. "schema": {
  1688. "type": "array",
  1689. "items": {
  1690. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1691. }
  1692. }
  1693. },
  1694. "500": {
  1695. "description": "Internal Server Error",
  1696. "schema": {
  1697. "$ref": "#/definitions/app.Response"
  1698. }
  1699. }
  1700. }
  1701. }
  1702. },
  1703. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1704. "get": {
  1705. "security": [
  1706. {
  1707. "ApiKeyAuth": []
  1708. }
  1709. ],
  1710. "produces": [
  1711. "application/json"
  1712. ],
  1713. "tags": [
  1714. "企业风险管理(app)"
  1715. ],
  1716. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1717. "parameters": [
  1718. {
  1719. "type": "integer",
  1720. "description": "用户ID",
  1721. "name": "userid",
  1722. "in": "query",
  1723. "required": true
  1724. },
  1725. {
  1726. "type": "integer",
  1727. "description": "账号id",
  1728. "name": "accountid",
  1729. "in": "query"
  1730. }
  1731. ],
  1732. "responses": {
  1733. "200": {
  1734. "description": "OK",
  1735. "schema": {
  1736. "type": "array",
  1737. "items": {
  1738. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1739. }
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryAccMgrTaaccount": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "用户ID",
  1769. "name": "userid",
  1770. "in": "query",
  1771. "required": true
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryAreaStock": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询机构库存(库存管理/当前库存)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "用户ID",
  1811. "name": "userid",
  1812. "in": "query",
  1813. "required": true
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "type": "array",
  1821. "items": {
  1822. "$ref": "#/definitions/models.ErmcpAreaStock"
  1823. }
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/Ermcp/QueryAreaStockApply": {
  1836. "get": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "企业风险管理(app)"
  1847. ],
  1848. "summary": "查询库存申请(出入库记录|库存审核)",
  1849. "parameters": [
  1850. {
  1851. "type": "integer",
  1852. "description": "用户ID",
  1853. "name": "userid",
  1854. "in": "query",
  1855. "required": true
  1856. },
  1857. {
  1858. "type": "string",
  1859. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1860. "name": "inouttype",
  1861. "in": "query"
  1862. },
  1863. {
  1864. "type": "integer",
  1865. "description": "合同ID",
  1866. "name": "spotcontractid",
  1867. "in": "query"
  1868. },
  1869. {
  1870. "type": "integer",
  1871. "description": "现货商品ID",
  1872. "name": "wrstandardid",
  1873. "in": "query"
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "品牌ID",
  1878. "name": "spotgoodsbrandid",
  1879. "in": "query"
  1880. },
  1881. {
  1882. "type": "integer",
  1883. "description": "型号ID",
  1884. "name": "spotgoodsmodelid",
  1885. "in": "query"
  1886. },
  1887. {
  1888. "type": "integer",
  1889. "description": "仓库ID",
  1890. "name": "warehouseinfoid",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "string",
  1895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1896. "name": "applystatus",
  1897. "in": "query"
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "type": "array",
  1905. "items": {
  1906. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1907. }
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Ermcp/QueryAreaStockApplySum": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "企业风险管理(app)"
  1931. ],
  1932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "合同ID",
  1937. "name": "spotcontractid",
  1938. "in": "query"
  1939. }
  1940. ],
  1941. "responses": {
  1942. "200": {
  1943. "description": "OK",
  1944. "schema": {
  1945. "type": "array",
  1946. "items": {
  1947. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1948. }
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/Ermcp/QueryAreaStockReport": {
  1961. "get": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "企业风险管理(app)"
  1972. ],
  1973. "summary": "查询库存报表",
  1974. "parameters": [
  1975. {
  1976. "type": "integer",
  1977. "description": "用户ID",
  1978. "name": "userid",
  1979. "in": "query",
  1980. "required": true
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "查询类型 1-日报表 2-月报表",
  1985. "name": "querytype",
  1986. "in": "query",
  1987. "required": true
  1988. },
  1989. {
  1990. "type": "string",
  1991. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1992. "name": "querydate",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "现货商品ID",
  1999. "name": "wrstandardid",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "品牌ID",
  2005. "name": "spotgoodsbrandid",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "型号ID",
  2011. "name": "spotgoodsmodelid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "仓库ID",
  2017. "name": "warehouseinfoid",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryAreaStockReportDetail": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询库存报表明细",
  2054. "parameters": [
  2055. {
  2056. "type": "integer",
  2057. "description": "用户ID",
  2058. "name": "userid",
  2059. "in": "query",
  2060. "required": true
  2061. },
  2062. {
  2063. "type": "integer",
  2064. "description": "查询类型 1-日报表明细 2-月报表明细",
  2065. "name": "querytype",
  2066. "in": "query",
  2067. "required": true
  2068. },
  2069. {
  2070. "type": "integer",
  2071. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2072. "name": "detailtype",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "string",
  2078. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2079. "name": "querydate",
  2080. "in": "query",
  2081. "required": true
  2082. },
  2083. {
  2084. "type": "integer",
  2085. "description": "现货商品ID",
  2086. "name": "wrstandardid",
  2087. "in": "query"
  2088. },
  2089. {
  2090. "type": "integer",
  2091. "description": "品牌ID",
  2092. "name": "spotgoodsbrandid",
  2093. "in": "query"
  2094. },
  2095. {
  2096. "type": "integer",
  2097. "description": "型号ID",
  2098. "name": "spotgoodsmodelid",
  2099. "in": "query"
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "仓库ID",
  2104. "name": "warehouseinfoid",
  2105. "in": "query"
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2115. }
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/Ermcp/QueryAvaildGoodsGroup": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "produces": [
  2135. "application/json"
  2136. ],
  2137. "tags": [
  2138. "企业风险管理(app)"
  2139. ],
  2140. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2141. "parameters": [
  2142. {
  2143. "type": "integer",
  2144. "description": "所属机构ID",
  2145. "name": "userid",
  2146. "in": "query",
  2147. "required": true
  2148. }
  2149. ],
  2150. "responses": {
  2151. "200": {
  2152. "description": "OK",
  2153. "schema": {
  2154. "type": "array",
  2155. "items": {
  2156. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2157. }
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Ermcp/QueryBusinessDj": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "企业风险管理(app)"
  2181. ],
  2182. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2183. "parameters": [
  2184. {
  2185. "type": "integer",
  2186. "description": "用户ID",
  2187. "name": "UserId",
  2188. "in": "query",
  2189. "required": true
  2190. },
  2191. {
  2192. "type": "string",
  2193. "description": "现货合同ID, 不填则查所有",
  2194. "name": "relatedid",
  2195. "in": "query"
  2196. },
  2197. {
  2198. "type": "string",
  2199. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2200. "name": "applystatus",
  2201. "in": "query"
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryBusinessFp": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "用户ID",
  2241. "name": "UserId",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "string",
  2247. "description": "现货合同ID, 不填则查所有",
  2248. "name": "relatedid",
  2249. "in": "query"
  2250. },
  2251. {
  2252. "type": "string",
  2253. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2254. "name": "applystatus",
  2255. "in": "query"
  2256. }
  2257. ],
  2258. "responses": {
  2259. "200": {
  2260. "description": "OK",
  2261. "schema": {
  2262. "type": "array",
  2263. "items": {
  2264. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2265. }
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryBusinessJs": {
  2278. "get": {
  2279. "security": [
  2280. {
  2281. "ApiKeyAuth": []
  2282. }
  2283. ],
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "企业风险管理(app)"
  2289. ],
  2290. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "用户ID",
  2295. "name": "UserId",
  2296. "in": "query",
  2297. "required": true
  2298. },
  2299. {
  2300. "type": "string",
  2301. "description": "现货合同ID, 不填则查所有",
  2302. "name": "relatedid",
  2303. "in": "query"
  2304. },
  2305. {
  2306. "type": "string",
  2307. "description": "操作申请id",
  2308. "name": "operateapplyid",
  2309. "in": "query"
  2310. },
  2311. {
  2312. "type": "string",
  2313. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2314. "name": "applystatus",
  2315. "in": "query"
  2316. }
  2317. ],
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryBusinessJsEx": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "用户ID",
  2355. "name": "UserId",
  2356. "in": "query",
  2357. "required": true
  2358. },
  2359. {
  2360. "type": "string",
  2361. "description": "现货合同ID, 不填则查所有",
  2362. "name": "relatedid",
  2363. "in": "query"
  2364. },
  2365. {
  2366. "type": "string",
  2367. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2368. "name": "applystatus",
  2369. "in": "query"
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QueryBusinessKx": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "企业风险管理(app)"
  2403. ],
  2404. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "用户ID",
  2409. "name": "UserId",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "string",
  2415. "description": "现货合同ID, 不填则查所有",
  2416. "name": "relatedid",
  2417. "in": "query"
  2418. },
  2419. {
  2420. "type": "string",
  2421. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2422. "name": "applystatus",
  2423. "in": "query"
  2424. }
  2425. ],
  2426. "responses": {
  2427. "200": {
  2428. "description": "OK",
  2429. "schema": {
  2430. "type": "array",
  2431. "items": {
  2432. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2433. }
  2434. }
  2435. },
  2436. "500": {
  2437. "description": "Internal Server Error",
  2438. "schema": {
  2439. "$ref": "#/definitions/app.Response"
  2440. }
  2441. }
  2442. }
  2443. }
  2444. },
  2445. "/Ermcp/QueryChangeLog": {
  2446. "get": {
  2447. "security": [
  2448. {
  2449. "ApiKeyAuth": []
  2450. }
  2451. ],
  2452. "produces": [
  2453. "application/json"
  2454. ],
  2455. "tags": [
  2456. "企业风险管理(app)"
  2457. ],
  2458. "summary": "查询变更记录",
  2459. "parameters": [
  2460. {
  2461. "type": "string",
  2462. "description": "合同ID",
  2463. "name": "RelatedId",
  2464. "in": "query",
  2465. "required": true
  2466. }
  2467. ],
  2468. "responses": {
  2469. "200": {
  2470. "description": "OK",
  2471. "schema": {
  2472. "type": "array",
  2473. "items": {
  2474. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2475. }
  2476. }
  2477. },
  2478. "500": {
  2479. "description": "Internal Server Error",
  2480. "schema": {
  2481. "$ref": "#/definitions/app.Response"
  2482. }
  2483. }
  2484. }
  2485. }
  2486. },
  2487. "/Ermcp/QueryContract": {
  2488. "get": {
  2489. "security": [
  2490. {
  2491. "ApiKeyAuth": []
  2492. }
  2493. ],
  2494. "produces": [
  2495. "application/json"
  2496. ],
  2497. "tags": [
  2498. "企业风险管理(app)"
  2499. ],
  2500. "summary": "查询合同(采购和销售)",
  2501. "parameters": [
  2502. {
  2503. "type": "integer",
  2504. "description": "用户ID",
  2505. "name": "userId",
  2506. "in": "query",
  2507. "required": true
  2508. },
  2509. {
  2510. "type": "integer",
  2511. "description": "合同类型 1-采购, -1-销售",
  2512. "name": "contracttype",
  2513. "in": "query",
  2514. "required": true
  2515. },
  2516. {
  2517. "type": "integer",
  2518. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2519. "name": "querytype",
  2520. "in": "query",
  2521. "required": true
  2522. },
  2523. {
  2524. "type": "string",
  2525. "description": "合同ID(SpotContractId)",
  2526. "name": "contractid",
  2527. "in": "query"
  2528. }
  2529. ],
  2530. "responses": {
  2531. "200": {
  2532. "description": "OK",
  2533. "schema": {
  2534. "type": "array",
  2535. "items": {
  2536. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2537. }
  2538. }
  2539. },
  2540. "500": {
  2541. "description": "Internal Server Error",
  2542. "schema": {
  2543. "$ref": "#/definitions/app.Response"
  2544. }
  2545. }
  2546. }
  2547. }
  2548. },
  2549. "/Ermcp/QueryErmcpHisOrderDetails": {
  2550. "get": {
  2551. "security": [
  2552. {
  2553. "ApiKeyAuth": []
  2554. }
  2555. ],
  2556. "produces": [
  2557. "application/json"
  2558. ],
  2559. "tags": [
  2560. "企业风险管理(app)"
  2561. ],
  2562. "summary": "获取企业风管期货历史委托单信息",
  2563. "parameters": [
  2564. {
  2565. "type": "integer",
  2566. "description": "资金账户ID",
  2567. "name": "accountID",
  2568. "in": "query",
  2569. "required": true
  2570. },
  2571. {
  2572. "type": "string",
  2573. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2574. "name": "startDate",
  2575. "in": "query"
  2576. },
  2577. {
  2578. "type": "string",
  2579. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2580. "name": "endDate",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2589. }
  2590. },
  2591. "500": {
  2592. "description": "Internal Server Error",
  2593. "schema": {
  2594. "$ref": "#/definitions/app.Response"
  2595. }
  2596. }
  2597. }
  2598. }
  2599. },
  2600. "/Ermcp/QueryErmcpHisTradeDetails": {
  2601. "get": {
  2602. "security": [
  2603. {
  2604. "ApiKeyAuth": []
  2605. }
  2606. ],
  2607. "produces": [
  2608. "application/json"
  2609. ],
  2610. "tags": [
  2611. "企业风险管理(app)"
  2612. ],
  2613. "summary": "获取企业风管期货历史成交单信息",
  2614. "parameters": [
  2615. {
  2616. "type": "integer",
  2617. "description": "资金账户ID",
  2618. "name": "accountID",
  2619. "in": "query",
  2620. "required": true
  2621. },
  2622. {
  2623. "type": "integer",
  2624. "description": "商品ID",
  2625. "name": "goodsID",
  2626. "in": "query"
  2627. },
  2628. {
  2629. "type": "integer",
  2630. "description": "买卖方向,0:买 1:卖",
  2631. "name": "buyOrSell",
  2632. "in": "query"
  2633. },
  2634. {
  2635. "type": "integer",
  2636. "description": "关联委托单号",
  2637. "name": "orderID",
  2638. "in": "query"
  2639. },
  2640. {
  2641. "type": "string",
  2642. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2643. "name": "startDate",
  2644. "in": "query"
  2645. },
  2646. {
  2647. "type": "string",
  2648. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2649. "name": "endDate",
  2650. "in": "query"
  2651. }
  2652. ],
  2653. "responses": {
  2654. "200": {
  2655. "description": "OK",
  2656. "schema": {
  2657. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "获取企业风管期货内部持仓单信息",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "资金账户ID",
  2687. "name": "accountID",
  2688. "in": "query",
  2689. "required": true
  2690. },
  2691. {
  2692. "type": "integer",
  2693. "description": "商品ID",
  2694. "name": "goodsID",
  2695. "in": "query"
  2696. },
  2697. {
  2698. "type": "integer",
  2699. "description": "买卖方向,0:买 1:卖",
  2700. "name": "buyOrSell",
  2701. "in": "query"
  2702. }
  2703. ],
  2704. "responses": {
  2705. "200": {
  2706. "description": "OK",
  2707. "schema": {
  2708. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2709. }
  2710. },
  2711. "500": {
  2712. "description": "Internal Server Error",
  2713. "schema": {
  2714. "$ref": "#/definitions/app.Response"
  2715. }
  2716. }
  2717. }
  2718. }
  2719. },
  2720. "/Ermcp/QueryErmcpOrderDetails": {
  2721. "get": {
  2722. "security": [
  2723. {
  2724. "ApiKeyAuth": []
  2725. }
  2726. ],
  2727. "produces": [
  2728. "application/json"
  2729. ],
  2730. "tags": [
  2731. "企业风险管理(app)"
  2732. ],
  2733. "summary": "获取企业风管期货委托单信息",
  2734. "parameters": [
  2735. {
  2736. "type": "integer",
  2737. "description": "资金账户ID",
  2738. "name": "accountID",
  2739. "in": "query",
  2740. "required": true
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpTradeDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货成交单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "商品ID",
  2784. "name": "goodsID",
  2785. "in": "query"
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "买卖方向,0:买 1:卖",
  2790. "name": "buyOrSell",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "integer",
  2795. "description": "关联委托单号",
  2796. "name": "orderID",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryErmcpTradePosition": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "企业风险管理(app)"
  2829. ],
  2830. "summary": "获取企业风管期货持仓头寸信息",
  2831. "parameters": [
  2832. {
  2833. "type": "integer",
  2834. "description": "资金账户ID",
  2835. "name": "accountID",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "integer",
  2841. "description": "所属市场ID",
  2842. "name": "marketID",
  2843. "in": "query"
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2851. }
  2852. },
  2853. "500": {
  2854. "description": "Internal Server Error",
  2855. "schema": {
  2856. "$ref": "#/definitions/app.Response"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "/Ermcp/QueryExposureDetail": {
  2863. "get": {
  2864. "security": [
  2865. {
  2866. "ApiKeyAuth": []
  2867. }
  2868. ],
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "企业风险管理(app)"
  2874. ],
  2875. "summary": "查询敞口现货明细",
  2876. "parameters": [
  2877. {
  2878. "type": "integer",
  2879. "description": "所属机构ID",
  2880. "name": "areaUserId",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "integer",
  2886. "description": "套保商品",
  2887. "name": "middleGoodsId",
  2888. "in": "query",
  2889. "required": true
  2890. }
  2891. ],
  2892. "responses": {
  2893. "200": {
  2894. "description": "OK",
  2895. "schema": {
  2896. "type": "array",
  2897. "items": {
  2898. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2899. }
  2900. }
  2901. },
  2902. "500": {
  2903. "description": "Internal Server Error",
  2904. "schema": {
  2905. "$ref": "#/definitions/app.Response"
  2906. }
  2907. }
  2908. }
  2909. }
  2910. },
  2911. "/Ermcp/QueryExposureHedgePosition": {
  2912. "get": {
  2913. "security": [
  2914. {
  2915. "ApiKeyAuth": []
  2916. }
  2917. ],
  2918. "produces": [
  2919. "application/json"
  2920. ],
  2921. "tags": [
  2922. "企业风险管理(app)"
  2923. ],
  2924. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2925. "parameters": [
  2926. {
  2927. "type": "integer",
  2928. "description": "所属机构ID",
  2929. "name": "areaUserId",
  2930. "in": "query",
  2931. "required": true
  2932. }
  2933. ],
  2934. "responses": {
  2935. "200": {
  2936. "description": "OK",
  2937. "schema": {
  2938. "type": "array",
  2939. "items": {
  2940. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2941. }
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Ermcp/QueryExposureHedgePositionDetail": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "企业风险管理(app)"
  2965. ],
  2966. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2967. "parameters": [
  2968. {
  2969. "type": "integer",
  2970. "description": "所属机构ID",
  2971. "name": "areaUserId",
  2972. "in": "query",
  2973. "required": true
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "商品id",
  2978. "name": "goodsId",
  2979. "in": "query",
  2980. "required": true
  2981. }
  2982. ],
  2983. "responses": {
  2984. "200": {
  2985. "description": "OK",
  2986. "schema": {
  2987. "type": "array",
  2988. "items": {
  2989. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2990. }
  2991. }
  2992. },
  2993. "500": {
  2994. "description": "Internal Server Error",
  2995. "schema": {
  2996. "$ref": "#/definitions/app.Response"
  2997. }
  2998. }
  2999. }
  3000. }
  3001. },
  3002. "/Ermcp/QueryExposureSpot": {
  3003. "get": {
  3004. "security": [
  3005. {
  3006. "ApiKeyAuth": []
  3007. }
  3008. ],
  3009. "produces": [
  3010. "application/json"
  3011. ],
  3012. "tags": [
  3013. "企业风险管理(app)"
  3014. ],
  3015. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3016. "parameters": [
  3017. {
  3018. "type": "integer",
  3019. "description": "所属机构ID",
  3020. "name": "areaUserId",
  3021. "in": "query",
  3022. "required": true
  3023. }
  3024. ],
  3025. "responses": {
  3026. "200": {
  3027. "description": "OK",
  3028. "schema": {
  3029. "type": "array",
  3030. "items": {
  3031. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3032. }
  3033. }
  3034. },
  3035. "500": {
  3036. "description": "Internal Server Error",
  3037. "schema": {
  3038. "$ref": "#/definitions/app.Response"
  3039. }
  3040. }
  3041. }
  3042. }
  3043. },
  3044. "/Ermcp/QueryExposureSpotDetail": {
  3045. "get": {
  3046. "security": [
  3047. {
  3048. "ApiKeyAuth": []
  3049. }
  3050. ],
  3051. "produces": [
  3052. "application/json"
  3053. ],
  3054. "tags": [
  3055. "企业风险管理(app)"
  3056. ],
  3057. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3058. "parameters": [
  3059. {
  3060. "type": "integer",
  3061. "description": "所属机构ID",
  3062. "name": "areaUserId",
  3063. "in": "query",
  3064. "required": true
  3065. },
  3066. {
  3067. "type": "integer",
  3068. "description": "现货品种ID",
  3069. "name": "wrstandardId",
  3070. "in": "query",
  3071. "required": true
  3072. }
  3073. ],
  3074. "responses": {
  3075. "200": {
  3076. "description": "OK",
  3077. "schema": {
  3078. "type": "array",
  3079. "items": {
  3080. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3081. }
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/Ermcp/QueryFuturesCompany": {
  3094. "get": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "produces": [
  3101. "application/json"
  3102. ],
  3103. "tags": [
  3104. "企业风险管理(app)"
  3105. ],
  3106. "summary": "查询期货公司",
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "type": "array",
  3112. "items": {
  3113. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3114. }
  3115. }
  3116. },
  3117. "500": {
  3118. "description": "Internal Server Error",
  3119. "schema": {
  3120. "$ref": "#/definitions/app.Response"
  3121. }
  3122. }
  3123. }
  3124. }
  3125. },
  3126. "/Ermcp/QueryGGConvertConfig": {
  3127. "get": {
  3128. "security": [
  3129. {
  3130. "ApiKeyAuth": []
  3131. }
  3132. ],
  3133. "produces": [
  3134. "application/json"
  3135. ],
  3136. "tags": [
  3137. "企业风险管理(app)"
  3138. ],
  3139. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3140. "parameters": [
  3141. {
  3142. "type": "integer",
  3143. "description": "品种id(不填则查所有)",
  3144. "name": "goodsgroupid",
  3145. "in": "query"
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp/QueryGoodsBrand": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理(app)"
  3179. ],
  3180. "summary": "查询商品品牌",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "现货商品ID",
  3192. "name": "wrstandardid",
  3193. "in": "query"
  3194. }
  3195. ],
  3196. "responses": {
  3197. "200": {
  3198. "description": "OK",
  3199. "schema": {
  3200. "type": "array",
  3201. "items": {
  3202. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3203. }
  3204. }
  3205. },
  3206. "500": {
  3207. "description": "Internal Server Error",
  3208. "schema": {
  3209. "$ref": "#/definitions/app.Response"
  3210. }
  3211. }
  3212. }
  3213. }
  3214. },
  3215. "/Ermcp/QueryGoodsModel": {
  3216. "get": {
  3217. "security": [
  3218. {
  3219. "ApiKeyAuth": []
  3220. }
  3221. ],
  3222. "produces": [
  3223. "application/json"
  3224. ],
  3225. "tags": [
  3226. "企业风险管理(app)"
  3227. ],
  3228. "summary": "查询商品型号",
  3229. "parameters": [
  3230. {
  3231. "type": "integer",
  3232. "description": "用户ID",
  3233. "name": "userid",
  3234. "in": "query",
  3235. "required": true
  3236. }
  3237. ],
  3238. "responses": {
  3239. "200": {
  3240. "description": "OK",
  3241. "schema": {
  3242. "type": "array",
  3243. "items": {
  3244. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3245. }
  3246. }
  3247. },
  3248. "500": {
  3249. "description": "Internal Server Error",
  3250. "schema": {
  3251. "$ref": "#/definitions/app.Response"
  3252. }
  3253. }
  3254. }
  3255. }
  3256. },
  3257. "/Ermcp/QueryHedgePlan": {
  3258. "get": {
  3259. "security": [
  3260. {
  3261. "ApiKeyAuth": []
  3262. }
  3263. ],
  3264. "produces": [
  3265. "application/json"
  3266. ],
  3267. "tags": [
  3268. "企业风险管理(app)"
  3269. ],
  3270. "summary": "查询套保计划",
  3271. "parameters": [
  3272. {
  3273. "type": "integer",
  3274. "description": "用户ID",
  3275. "name": "userId",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3282. "name": "HedgePlanStatus",
  3283. "in": "query",
  3284. "required": true
  3285. }
  3286. ],
  3287. "responses": {
  3288. "200": {
  3289. "description": "OK",
  3290. "schema": {
  3291. "type": "array",
  3292. "items": {
  3293. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3294. }
  3295. }
  3296. },
  3297. "500": {
  3298. "description": "Internal Server Error",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/Ermcp/QueryHisExposure": {
  3307. "get": {
  3308. "security": [
  3309. {
  3310. "ApiKeyAuth": []
  3311. }
  3312. ],
  3313. "produces": [
  3314. "application/json"
  3315. ],
  3316. "tags": [
  3317. "企业风险管理(app)"
  3318. ],
  3319. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3320. "parameters": [
  3321. {
  3322. "type": "integer",
  3323. "description": "所属机构ID",
  3324. "name": "areaUserId",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "每个品种记录数",
  3331. "name": "lastNum",
  3332. "in": "query",
  3333. "required": true
  3334. }
  3335. ],
  3336. "responses": {
  3337. "200": {
  3338. "description": "OK",
  3339. "schema": {
  3340. "type": "array",
  3341. "items": {
  3342. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3343. }
  3344. }
  3345. },
  3346. "500": {
  3347. "description": "Internal Server Error",
  3348. "schema": {
  3349. "$ref": "#/definitions/app.Response"
  3350. }
  3351. }
  3352. }
  3353. }
  3354. },
  3355. "/Ermcp/QueryMiddleGoods": {
  3356. "get": {
  3357. "security": [
  3358. {
  3359. "ApiKeyAuth": []
  3360. }
  3361. ],
  3362. "produces": [
  3363. "application/json"
  3364. ],
  3365. "tags": [
  3366. "企业风险管理(app)"
  3367. ],
  3368. "summary": "查询套保品种(菜单:套保品种)",
  3369. "parameters": [
  3370. {
  3371. "type": "integer",
  3372. "description": "所属机构ID",
  3373. "name": "userid",
  3374. "in": "query",
  3375. "required": true
  3376. },
  3377. {
  3378. "type": "integer",
  3379. "description": "状态 0-停用 1-正常",
  3380. "name": "status",
  3381. "in": "query",
  3382. "required": true
  3383. }
  3384. ],
  3385. "responses": {
  3386. "200": {
  3387. "description": "OK",
  3388. "schema": {
  3389. "type": "array",
  3390. "items": {
  3391. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3392. }
  3393. }
  3394. },
  3395. "500": {
  3396. "description": "Internal Server Error",
  3397. "schema": {
  3398. "$ref": "#/definitions/app.Response"
  3399. }
  3400. }
  3401. }
  3402. }
  3403. },
  3404. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3405. "get": {
  3406. "security": [
  3407. {
  3408. "ApiKeyAuth": []
  3409. }
  3410. ],
  3411. "produces": [
  3412. "application/json"
  3413. ],
  3414. "tags": [
  3415. "企业风险管理(app)"
  3416. ],
  3417. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3418. "parameters": [
  3419. {
  3420. "type": "integer",
  3421. "description": "所属机构ID",
  3422. "name": "userid",
  3423. "in": "query",
  3424. "required": true
  3425. },
  3426. {
  3427. "type": "integer",
  3428. "description": "套保品种id",
  3429. "name": "middlegoodsid",
  3430. "in": "query",
  3431. "required": true
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "type": "array",
  3439. "items": {
  3440. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3441. }
  3442. }
  3443. },
  3444. "500": {
  3445. "description": "Internal Server Error",
  3446. "schema": {
  3447. "$ref": "#/definitions/app.Response"
  3448. }
  3449. }
  3450. }
  3451. }
  3452. },
  3453. "/Ermcp/QueryMiddleGoodsDetail": {
  3454. "get": {
  3455. "security": [
  3456. {
  3457. "ApiKeyAuth": []
  3458. }
  3459. ],
  3460. "produces": [
  3461. "application/json"
  3462. ],
  3463. "tags": [
  3464. "企业风险管理(app)"
  3465. ],
  3466. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3467. "parameters": [
  3468. {
  3469. "type": "integer",
  3470. "description": "所属机构ID",
  3471. "name": "userid",
  3472. "in": "query",
  3473. "required": true
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "套保品种id",
  3478. "name": "middlegoodsid",
  3479. "in": "query"
  3480. }
  3481. ],
  3482. "responses": {
  3483. "200": {
  3484. "description": "OK",
  3485. "schema": {
  3486. "type": "array",
  3487. "items": {
  3488. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3489. }
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/Ermcp/QueryPendingAuditInfo": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "produces": [
  3509. "application/json"
  3510. ],
  3511. "tags": [
  3512. "企业风险管理(app)"
  3513. ],
  3514. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3515. "parameters": [
  3516. {
  3517. "type": "integer",
  3518. "description": "用户ID",
  3519. "name": "UserId",
  3520. "in": "query",
  3521. "required": true
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "type": "array",
  3529. "items": {
  3530. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3531. }
  3532. }
  3533. },
  3534. "500": {
  3535. "description": "Internal Server Error",
  3536. "schema": {
  3537. "$ref": "#/definitions/app.Response"
  3538. }
  3539. }
  3540. }
  3541. }
  3542. },
  3543. "/Ermcp/QueryRealtimeExposure": {
  3544. "get": {
  3545. "security": [
  3546. {
  3547. "ApiKeyAuth": []
  3548. }
  3549. ],
  3550. "produces": [
  3551. "application/json"
  3552. ],
  3553. "tags": [
  3554. "企业风险管理(app)"
  3555. ],
  3556. "summary": "查询实时敞口",
  3557. "parameters": [
  3558. {
  3559. "type": "integer",
  3560. "description": "所属机构ID",
  3561. "name": "AreaUserID",
  3562. "in": "query",
  3563. "required": true
  3564. }
  3565. ],
  3566. "responses": {
  3567. "200": {
  3568. "description": "OK",
  3569. "schema": {
  3570. "type": "array",
  3571. "items": {
  3572. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3573. }
  3574. }
  3575. },
  3576. "500": {
  3577. "description": "Internal Server Error",
  3578. "schema": {
  3579. "$ref": "#/definitions/app.Response"
  3580. }
  3581. }
  3582. }
  3583. }
  3584. },
  3585. "/Ermcp/QueryRealtimeExposurePosition": {
  3586. "get": {
  3587. "security": [
  3588. {
  3589. "ApiKeyAuth": []
  3590. }
  3591. ],
  3592. "produces": [
  3593. "application/json"
  3594. ],
  3595. "tags": [
  3596. "企业风险管理(app)"
  3597. ],
  3598. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3599. "parameters": [
  3600. {
  3601. "type": "integer",
  3602. "description": "所属机构ID",
  3603. "name": "areaUserId",
  3604. "in": "query",
  3605. "required": true
  3606. },
  3607. {
  3608. "type": "integer",
  3609. "description": "套保商品ID",
  3610. "name": "middleGoodsId",
  3611. "in": "query",
  3612. "required": true
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "type": "array",
  3620. "items": {
  3621. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3622. }
  3623. }
  3624. },
  3625. "500": {
  3626. "description": "Internal Server Error",
  3627. "schema": {
  3628. "$ref": "#/definitions/app.Response"
  3629. }
  3630. }
  3631. }
  3632. }
  3633. },
  3634. "/Ermcp/QuerySpotContract": {
  3635. "get": {
  3636. "security": [
  3637. {
  3638. "ApiKeyAuth": []
  3639. }
  3640. ],
  3641. "produces": [
  3642. "application/json"
  3643. ],
  3644. "tags": [
  3645. "企业风险管理(app)"
  3646. ],
  3647. "summary": "查询现货合同(对应现货合同菜单)",
  3648. "parameters": [
  3649. {
  3650. "type": "integer",
  3651. "description": "用户ID",
  3652. "name": "userId",
  3653. "in": "query",
  3654. "required": true
  3655. },
  3656. {
  3657. "type": "integer",
  3658. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3659. "name": "QueryType",
  3660. "in": "query",
  3661. "required": true
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "type": "array",
  3669. "items": {
  3670. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3671. }
  3672. }
  3673. },
  3674. "500": {
  3675. "description": "Internal Server Error",
  3676. "schema": {
  3677. "$ref": "#/definitions/app.Response"
  3678. }
  3679. }
  3680. }
  3681. }
  3682. },
  3683. "/Ermcp/QuerySpotGoodsPrice": {
  3684. "get": {
  3685. "security": [
  3686. {
  3687. "ApiKeyAuth": []
  3688. }
  3689. ],
  3690. "produces": [
  3691. "application/json"
  3692. ],
  3693. "tags": [
  3694. "企业风险管理(app)"
  3695. ],
  3696. "summary": "查询现货市价(现货市价)",
  3697. "parameters": [
  3698. {
  3699. "type": "integer",
  3700. "description": "用户ID",
  3701. "name": "userid",
  3702. "in": "query",
  3703. "required": true
  3704. }
  3705. ],
  3706. "responses": {
  3707. "200": {
  3708. "description": "OK",
  3709. "schema": {
  3710. "type": "array",
  3711. "items": {
  3712. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3713. }
  3714. }
  3715. },
  3716. "500": {
  3717. "description": "Internal Server Error",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. }
  3722. }
  3723. }
  3724. },
  3725. "/Ermcp/QuerySpotGoodsPriceLog": {
  3726. "get": {
  3727. "security": [
  3728. {
  3729. "ApiKeyAuth": []
  3730. }
  3731. ],
  3732. "produces": [
  3733. "application/json"
  3734. ],
  3735. "tags": [
  3736. "企业风险管理(app)"
  3737. ],
  3738. "summary": "查询现货市价详情(现货市价/详情)",
  3739. "parameters": [
  3740. {
  3741. "type": "integer",
  3742. "description": "用户ID",
  3743. "name": "userid",
  3744. "in": "query",
  3745. "required": true
  3746. },
  3747. {
  3748. "type": "integer",
  3749. "description": "现货商品ID",
  3750. "name": "wrstandardid",
  3751. "in": "query",
  3752. "required": true
  3753. }
  3754. ],
  3755. "responses": {
  3756. "200": {
  3757. "description": "OK",
  3758. "schema": {
  3759. "type": "array",
  3760. "items": {
  3761. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3762. }
  3763. }
  3764. },
  3765. "500": {
  3766. "description": "Internal Server Error",
  3767. "schema": {
  3768. "$ref": "#/definitions/app.Response"
  3769. }
  3770. }
  3771. }
  3772. }
  3773. },
  3774. "/Ermcp/QueryTradeConfigTMP": {
  3775. "get": {
  3776. "security": [
  3777. {
  3778. "ApiKeyAuth": []
  3779. }
  3780. ],
  3781. "produces": [
  3782. "application/json"
  3783. ],
  3784. "tags": [
  3785. "企业风险管理(app)"
  3786. ],
  3787. "summary": "查询交易模板配置",
  3788. "parameters": [
  3789. {
  3790. "type": "integer",
  3791. "description": "所属机构id",
  3792. "name": "areauserid",
  3793. "in": "query",
  3794. "required": true
  3795. }
  3796. ],
  3797. "responses": {
  3798. "200": {
  3799. "description": "OK",
  3800. "schema": {
  3801. "type": "array",
  3802. "items": {
  3803. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3804. }
  3805. }
  3806. },
  3807. "500": {
  3808. "description": "Internal Server Error",
  3809. "schema": {
  3810. "$ref": "#/definitions/app.Response"
  3811. }
  3812. }
  3813. }
  3814. }
  3815. },
  3816. "/Ermcp/QueryUserInfo": {
  3817. "get": {
  3818. "security": [
  3819. {
  3820. "ApiKeyAuth": []
  3821. }
  3822. ],
  3823. "produces": [
  3824. "application/json"
  3825. ],
  3826. "tags": [
  3827. "企业风险管理(app)"
  3828. ],
  3829. "summary": "查询客户资料",
  3830. "parameters": [
  3831. {
  3832. "type": "integer",
  3833. "description": "所属机构用户ID",
  3834. "name": "MemberUserID",
  3835. "in": "query",
  3836. "required": true
  3837. },
  3838. {
  3839. "type": "integer",
  3840. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3841. "name": "queryType",
  3842. "in": "query",
  3843. "required": true
  3844. }
  3845. ],
  3846. "responses": {
  3847. "200": {
  3848. "description": "OK",
  3849. "schema": {
  3850. "type": "array",
  3851. "items": {
  3852. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3853. }
  3854. }
  3855. },
  3856. "500": {
  3857. "description": "Internal Server Error",
  3858. "schema": {
  3859. "$ref": "#/definitions/app.Response"
  3860. }
  3861. }
  3862. }
  3863. }
  3864. },
  3865. "/Ermcp/QueryWarehouseInfo": {
  3866. "get": {
  3867. "security": [
  3868. {
  3869. "ApiKeyAuth": []
  3870. }
  3871. ],
  3872. "produces": [
  3873. "application/json"
  3874. ],
  3875. "tags": [
  3876. "企业风险管理(app)"
  3877. ],
  3878. "summary": "查询仓库信息",
  3879. "parameters": [
  3880. {
  3881. "type": "integer",
  3882. "description": "用户ID",
  3883. "name": "userid",
  3884. "in": "query",
  3885. "required": true
  3886. },
  3887. {
  3888. "type": "string",
  3889. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3890. "name": "status",
  3891. "in": "query"
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "type": "array",
  3899. "items": {
  3900. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3901. }
  3902. }
  3903. },
  3904. "500": {
  3905. "description": "Internal Server Error",
  3906. "schema": {
  3907. "$ref": "#/definitions/app.Response"
  3908. }
  3909. }
  3910. }
  3911. }
  3912. },
  3913. "/Ermcp/QueryWrStandard": {
  3914. "get": {
  3915. "security": [
  3916. {
  3917. "ApiKeyAuth": []
  3918. }
  3919. ],
  3920. "produces": [
  3921. "application/json"
  3922. ],
  3923. "tags": [
  3924. "企业风险管理(app)"
  3925. ],
  3926. "summary": "查询现货商品",
  3927. "parameters": [
  3928. {
  3929. "type": "integer",
  3930. "description": "所属机构ID",
  3931. "name": "userid",
  3932. "in": "query",
  3933. "required": true
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "状态 0-停用 1-正常",
  3938. "name": "status",
  3939. "in": "query",
  3940. "required": true
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "type": "array",
  3948. "items": {
  3949. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3950. }
  3951. }
  3952. },
  3953. "500": {
  3954. "description": "Internal Server Error",
  3955. "schema": {
  3956. "$ref": "#/definitions/app.Response"
  3957. }
  3958. }
  3959. }
  3960. }
  3961. },
  3962. "/Ermcp/QueryWrStandardDetail": {
  3963. "get": {
  3964. "security": [
  3965. {
  3966. "ApiKeyAuth": []
  3967. }
  3968. ],
  3969. "produces": [
  3970. "application/json"
  3971. ],
  3972. "tags": [
  3973. "企业风险管理(app)"
  3974. ],
  3975. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3976. "parameters": [
  3977. {
  3978. "type": "integer",
  3979. "description": "所属机构ID",
  3980. "name": "userid",
  3981. "in": "query",
  3982. "required": true
  3983. },
  3984. {
  3985. "type": "integer",
  3986. "description": "现货商品ID",
  3987. "name": "wrstandardid",
  3988. "in": "query"
  3989. },
  3990. {
  3991. "type": "integer",
  3992. "description": "可不填, 1-查询关联交易商品",
  3993. "name": "goods",
  3994. "in": "query"
  3995. }
  3996. ],
  3997. "responses": {
  3998. "200": {
  3999. "description": "OK",
  4000. "schema": {
  4001. "type": "array",
  4002. "items": {
  4003. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4004. }
  4005. }
  4006. },
  4007. "500": {
  4008. "description": "Internal Server Error",
  4009. "schema": {
  4010. "$ref": "#/definitions/app.Response"
  4011. }
  4012. }
  4013. }
  4014. }
  4015. },
  4016. "/Ermcp3/QueryDeliveryGoods": {
  4017. "get": {
  4018. "security": [
  4019. {
  4020. "ApiKeyAuth": []
  4021. }
  4022. ],
  4023. "produces": [
  4024. "application/json"
  4025. ],
  4026. "tags": [
  4027. "企业风险管理v3(app)"
  4028. ],
  4029. "summary": "查询现货商品",
  4030. "parameters": [
  4031. {
  4032. "type": "integer",
  4033. "description": "所属机构id",
  4034. "name": "areauserid",
  4035. "in": "query",
  4036. "required": true
  4037. },
  4038. {
  4039. "type": "integer",
  4040. "description": "排除已配置的现货商品 1-排除",
  4041. "name": "excludecfg",
  4042. "in": "query"
  4043. }
  4044. ],
  4045. "responses": {
  4046. "200": {
  4047. "description": "OK",
  4048. "schema": {
  4049. "type": "array",
  4050. "items": {
  4051. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4052. }
  4053. }
  4054. },
  4055. "500": {
  4056. "description": "Internal Server Error",
  4057. "schema": {
  4058. "$ref": "#/definitions/app.Response"
  4059. }
  4060. }
  4061. }
  4062. }
  4063. },
  4064. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4065. "get": {
  4066. "security": [
  4067. {
  4068. "ApiKeyAuth": []
  4069. }
  4070. ],
  4071. "produces": [
  4072. "application/json"
  4073. ],
  4074. "tags": [
  4075. "企业风险管理v3(app)"
  4076. ],
  4077. "summary": "查询现货商品详情",
  4078. "parameters": [
  4079. {
  4080. "type": "integer",
  4081. "description": "所属机构id",
  4082. "name": "areauserid",
  4083. "in": "query",
  4084. "required": true
  4085. },
  4086. {
  4087. "type": "integer",
  4088. "description": "现货商品id",
  4089. "name": "deliverygoodsid",
  4090. "in": "query"
  4091. },
  4092. {
  4093. "type": "integer",
  4094. "description": "是否查询关联交易商品 1-查询",
  4095. "name": "qrytradegoods",
  4096. "in": "query"
  4097. }
  4098. ],
  4099. "responses": {
  4100. "200": {
  4101. "description": "OK",
  4102. "schema": {
  4103. "type": "array",
  4104. "items": {
  4105. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4106. }
  4107. }
  4108. },
  4109. "500": {
  4110. "description": "Internal Server Error",
  4111. "schema": {
  4112. "$ref": "#/definitions/app.Response"
  4113. }
  4114. }
  4115. }
  4116. }
  4117. },
  4118. "/Ermcp3/QuerySpotContract": {
  4119. "get": {
  4120. "security": [
  4121. {
  4122. "ApiKeyAuth": []
  4123. }
  4124. ],
  4125. "produces": [
  4126. "application/json"
  4127. ],
  4128. "tags": [
  4129. "企业风险管理v3(app)"
  4130. ],
  4131. "summary": "查询现货合同",
  4132. "parameters": [
  4133. {
  4134. "type": "integer",
  4135. "description": "所属机构ID",
  4136. "name": "areauserid",
  4137. "in": "query",
  4138. "required": true
  4139. },
  4140. {
  4141. "type": "integer",
  4142. "description": "合同类型 1-采购, -1-销售",
  4143. "name": "contracttype",
  4144. "in": "query",
  4145. "required": true
  4146. },
  4147. {
  4148. "type": "integer",
  4149. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4150. "name": "querytype",
  4151. "in": "query",
  4152. "required": true
  4153. },
  4154. {
  4155. "type": "integer",
  4156. "description": "用户ID",
  4157. "name": "userid",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "integer",
  4162. "description": "用户类型 2-机构 7-企业成员",
  4163. "name": "usertype",
  4164. "in": "query"
  4165. },
  4166. {
  4167. "type": "string",
  4168. "description": "合同ID(SpotContractId)",
  4169. "name": "contractid",
  4170. "in": "query"
  4171. }
  4172. ],
  4173. "responses": {
  4174. "200": {
  4175. "description": "OK",
  4176. "schema": {
  4177. "type": "array",
  4178. "items": {
  4179. "$ref": "#/definitions/models.Ermcp3Contract"
  4180. }
  4181. }
  4182. },
  4183. "500": {
  4184. "description": "Internal Server Error",
  4185. "schema": {
  4186. "$ref": "#/definitions/app.Response"
  4187. }
  4188. }
  4189. }
  4190. }
  4191. },
  4192. "/Ermcp3/QuerySpotContractBS": {
  4193. "get": {
  4194. "security": [
  4195. {
  4196. "ApiKeyAuth": []
  4197. }
  4198. ],
  4199. "produces": [
  4200. "application/json"
  4201. ],
  4202. "tags": [
  4203. "企业风险管理v3(app)"
  4204. ],
  4205. "summary": "查询合同(采购/销售)",
  4206. "parameters": [
  4207. {
  4208. "type": "integer",
  4209. "description": "所属机构ID",
  4210. "name": "areauserid",
  4211. "in": "query",
  4212. "required": true
  4213. },
  4214. {
  4215. "type": "integer",
  4216. "description": "合同类型 1-采购, -1-销售",
  4217. "name": "contracttype",
  4218. "in": "query",
  4219. "required": true
  4220. },
  4221. {
  4222. "type": "integer",
  4223. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4224. "name": "querytype",
  4225. "in": "query",
  4226. "required": true
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "用户ID",
  4231. "name": "userid",
  4232. "in": "query"
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "用户类型 2-机构 7-企业成员",
  4237. "name": "usertype",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "string",
  4242. "description": "合同ID(SpotContractId)",
  4243. "name": "contractid",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "type": "array",
  4252. "items": {
  4253. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4254. }
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/Erms2/QueryArbitrageStrategy": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "风险管理"
  4278. ],
  4279. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4280. "parameters": [
  4281. {
  4282. "type": "integer",
  4283. "description": "账户ID",
  4284. "name": "userid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "string",
  4290. "description": "商品组ID(品种ID)",
  4291. "name": "goodsgroupid",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4300. }
  4301. },
  4302. "500": {
  4303. "description": "Internal Server Error",
  4304. "schema": {
  4305. "$ref": "#/definitions/app.Response"
  4306. }
  4307. }
  4308. }
  4309. }
  4310. },
  4311. "/Erms2/QueryInnerTradeDetail": {
  4312. "get": {
  4313. "security": [
  4314. {
  4315. "ApiKeyAuth": []
  4316. }
  4317. ],
  4318. "produces": [
  4319. "application/json"
  4320. ],
  4321. "tags": [
  4322. "风险管理"
  4323. ],
  4324. "summary": "查询内部成交单信息",
  4325. "parameters": [
  4326. {
  4327. "type": "integer",
  4328. "description": "资金账户",
  4329. "name": "accountid",
  4330. "in": "query",
  4331. "required": true
  4332. }
  4333. ],
  4334. "responses": {
  4335. "200": {
  4336. "description": "OK",
  4337. "schema": {
  4338. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4339. }
  4340. },
  4341. "500": {
  4342. "description": "Internal Server Error",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. }
  4347. }
  4348. }
  4349. },
  4350. "/Erms2/QuerySpotContract": {
  4351. "get": {
  4352. "security": [
  4353. {
  4354. "ApiKeyAuth": []
  4355. }
  4356. ],
  4357. "produces": [
  4358. "application/json"
  4359. ],
  4360. "tags": [
  4361. "风险管理"
  4362. ],
  4363. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4364. "parameters": [
  4365. {
  4366. "type": "integer",
  4367. "description": "策略申请ID",
  4368. "name": "asapplyid",
  4369. "in": "query",
  4370. "required": true
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "现货合同ID",
  4375. "name": "spotcontractid",
  4376. "in": "query"
  4377. }
  4378. ],
  4379. "responses": {
  4380. "200": {
  4381. "description": "OK",
  4382. "schema": {
  4383. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4384. }
  4385. },
  4386. "500": {
  4387. "description": "Internal Server Error",
  4388. "schema": {
  4389. "$ref": "#/definitions/app.Response"
  4390. }
  4391. }
  4392. }
  4393. }
  4394. },
  4395. "/Erms3/AddErms2ASApply": {
  4396. "post": {
  4397. "security": [
  4398. {
  4399. "ApiKeyAuth": []
  4400. }
  4401. ],
  4402. "produces": [
  4403. "application/json"
  4404. ],
  4405. "tags": [
  4406. "风险管理v3"
  4407. ],
  4408. "summary": "新增期现套利业务申请",
  4409. "parameters": [
  4410. {
  4411. "description": "申请参数",
  4412. "name": "jsonBody",
  4413. "in": "body",
  4414. "required": true,
  4415. "schema": {
  4416. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4417. }
  4418. }
  4419. ],
  4420. "responses": {
  4421. "200": {
  4422. "description": "OK",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/Erms3/AddErms2SpotTradeApply": {
  4437. "post": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "风险管理v3"
  4448. ],
  4449. "summary": "新增现货贸易业务申请",
  4450. "parameters": [
  4451. {
  4452. "description": "申请参数",
  4453. "name": "jsonBody",
  4454. "in": "body",
  4455. "required": true,
  4456. "schema": {
  4457. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4458. }
  4459. }
  4460. ],
  4461. "responses": {
  4462. "200": {
  4463. "description": "OK",
  4464. "schema": {
  4465. "$ref": "#/definitions/app.Response"
  4466. }
  4467. },
  4468. "500": {
  4469. "description": "Internal Server Error",
  4470. "schema": {
  4471. "$ref": "#/definitions/app.Response"
  4472. }
  4473. }
  4474. }
  4475. }
  4476. },
  4477. "/Erms3/AddSpotContractApply": {
  4478. "post": {
  4479. "security": [
  4480. {
  4481. "ApiKeyAuth": []
  4482. }
  4483. ],
  4484. "produces": [
  4485. "application/json"
  4486. ],
  4487. "tags": [
  4488. "风险管理v3"
  4489. ],
  4490. "summary": "新增现货合同申请",
  4491. "parameters": [
  4492. {
  4493. "description": "申请参数",
  4494. "name": "jsonBody",
  4495. "in": "body",
  4496. "required": true,
  4497. "schema": {
  4498. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4499. }
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Erms3/AddUserInfoApply": {
  4519. "post": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "风险管理v3"
  4530. ],
  4531. "summary": "新增客户申请",
  4532. "parameters": [
  4533. {
  4534. "description": "用户信息",
  4535. "name": "jsonBody",
  4536. "in": "body",
  4537. "required": true,
  4538. "schema": {
  4539. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4540. }
  4541. }
  4542. ],
  4543. "responses": {
  4544. "200": {
  4545. "description": "OK",
  4546. "schema": {
  4547. "$ref": "#/definitions/app.Response"
  4548. }
  4549. },
  4550. "500": {
  4551. "description": "Internal Server Error",
  4552. "schema": {
  4553. "$ref": "#/definitions/app.Response"
  4554. }
  4555. }
  4556. }
  4557. }
  4558. },
  4559. "/Erms3/ModifyUserInfoApply": {
  4560. "post": {
  4561. "security": [
  4562. {
  4563. "ApiKeyAuth": []
  4564. }
  4565. ],
  4566. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "风险管理v3"
  4572. ],
  4573. "summary": "修改客户申请",
  4574. "parameters": [
  4575. {
  4576. "description": "用户信息",
  4577. "name": "jsonBody",
  4578. "in": "body",
  4579. "required": true,
  4580. "schema": {
  4581. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4582. }
  4583. }
  4584. ],
  4585. "responses": {
  4586. "200": {
  4587. "description": "OK",
  4588. "schema": {
  4589. "$ref": "#/definitions/app.Response"
  4590. }
  4591. },
  4592. "500": {
  4593. "description": "Internal Server Error",
  4594. "schema": {
  4595. "$ref": "#/definitions/app.Response"
  4596. }
  4597. }
  4598. }
  4599. }
  4600. },
  4601. "/Erms3/QueryBusinessInfo": {
  4602. "get": {
  4603. "security": [
  4604. {
  4605. "ApiKeyAuth": []
  4606. }
  4607. ],
  4608. "produces": [
  4609. "application/json"
  4610. ],
  4611. "tags": [
  4612. "风险管理v3"
  4613. ],
  4614. "summary": "查询业务表单数据",
  4615. "parameters": [
  4616. {
  4617. "type": "string",
  4618. "description": "资金账号ID列表,用逗号分隔",
  4619. "name": "accountids",
  4620. "in": "query",
  4621. "required": true
  4622. },
  4623. {
  4624. "type": "integer",
  4625. "description": "状态,0为未结束 1为已结束",
  4626. "name": "status",
  4627. "in": "query",
  4628. "required": true
  4629. }
  4630. ],
  4631. "responses": {
  4632. "200": {
  4633. "description": "OK",
  4634. "schema": {
  4635. "type": "array",
  4636. "items": {
  4637. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4638. }
  4639. }
  4640. },
  4641. "500": {
  4642. "description": "Internal Server Error",
  4643. "schema": {
  4644. "$ref": "#/definitions/app.Response"
  4645. }
  4646. }
  4647. }
  4648. }
  4649. },
  4650. "/Erms3/QueryPendingAuditContract": {
  4651. "get": {
  4652. "security": [
  4653. {
  4654. "ApiKeyAuth": []
  4655. }
  4656. ],
  4657. "produces": [
  4658. "application/json"
  4659. ],
  4660. "tags": [
  4661. "风险管理v3"
  4662. ],
  4663. "summary": "查询待审核合同",
  4664. "parameters": [
  4665. {
  4666. "type": "string",
  4667. "description": "资金账号ID列表,逗号隔开",
  4668. "name": "accountids",
  4669. "in": "query",
  4670. "required": true
  4671. },
  4672. {
  4673. "type": "integer",
  4674. "description": "合同类型 1-采购 -1-销售",
  4675. "name": "contracttype",
  4676. "in": "query",
  4677. "required": true
  4678. },
  4679. {
  4680. "type": "integer",
  4681. "description": "合同模式 1-普通 2-回购",
  4682. "name": "contractmode",
  4683. "in": "query",
  4684. "required": true
  4685. }
  4686. ],
  4687. "responses": {
  4688. "200": {
  4689. "description": "OK",
  4690. "schema": {
  4691. "type": "array",
  4692. "items": {
  4693. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4694. }
  4695. }
  4696. },
  4697. "500": {
  4698. "description": "Internal Server Error",
  4699. "schema": {
  4700. "$ref": "#/definitions/app.Response"
  4701. }
  4702. }
  4703. }
  4704. }
  4705. },
  4706. "/Erms3/QueryPendingBusiness": {
  4707. "get": {
  4708. "security": [
  4709. {
  4710. "ApiKeyAuth": []
  4711. }
  4712. ],
  4713. "produces": [
  4714. "application/json"
  4715. ],
  4716. "tags": [
  4717. "风险管理v3"
  4718. ],
  4719. "summary": "查询待审核基差贸易业务",
  4720. "parameters": [
  4721. {
  4722. "type": "string",
  4723. "description": "资金账号ID列表,逗号隔开",
  4724. "name": "accountids",
  4725. "in": "query",
  4726. "required": true
  4727. }
  4728. ],
  4729. "responses": {
  4730. "200": {
  4731. "description": "OK",
  4732. "schema": {
  4733. "type": "array",
  4734. "items": {
  4735. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4736. }
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/Erms3/QuerySpotContractAppleForm": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "风险管理v3"
  4760. ],
  4761. "summary": "查询合同申请表单数据",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "登录账号",
  4766. "name": "loginID",
  4767. "in": "query",
  4768. "required": true
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/Erms3/QuerySpotContractDetail": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "produces": [
  4795. "application/json"
  4796. ],
  4797. "tags": [
  4798. "风险管理v3"
  4799. ],
  4800. "summary": "查询合同详细信息",
  4801. "parameters": [
  4802. {
  4803. "type": "string",
  4804. "description": "资金账号ID列表,用逗号分隔",
  4805. "name": "accountids",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "合同类型,1为采购合同 -1为销售合同",
  4812. "name": "contracttype",
  4813. "in": "query",
  4814. "required": true
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "合同模式,1为普通合同 2为回购销售合同",
  4819. "name": "contractmode",
  4820. "in": "query",
  4821. "required": true
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "状态,0为履约中 1为已完成",
  4826. "name": "status",
  4827. "in": "query",
  4828. "required": true
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Erms3/QueryUserInfoApplies": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "风险管理v3"
  4862. ],
  4863. "summary": "客户申请信息查询",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "页码",
  4868. "name": "page",
  4869. "in": "query"
  4870. },
  4871. {
  4872. "type": "integer",
  4873. "description": "每页条数",
  4874. "name": "pagesize",
  4875. "in": "query"
  4876. },
  4877. {
  4878. "type": "string",
  4879. "description": "客户名称,支持模糊查询",
  4880. "name": "userName",
  4881. "in": "query"
  4882. }
  4883. ],
  4884. "responses": {
  4885. "200": {
  4886. "description": "OK",
  4887. "schema": {
  4888. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4889. }
  4890. },
  4891. "500": {
  4892. "description": "Internal Server Error",
  4893. "schema": {
  4894. "$ref": "#/definitions/app.Response"
  4895. }
  4896. }
  4897. }
  4898. }
  4899. },
  4900. "/Erms3/QueryUserInfos": {
  4901. "get": {
  4902. "security": [
  4903. {
  4904. "ApiKeyAuth": []
  4905. }
  4906. ],
  4907. "produces": [
  4908. "application/json"
  4909. ],
  4910. "tags": [
  4911. "风险管理v3"
  4912. ],
  4913. "summary": "客户信息查询",
  4914. "parameters": [
  4915. {
  4916. "type": "integer",
  4917. "description": "页码",
  4918. "name": "page",
  4919. "in": "query"
  4920. },
  4921. {
  4922. "type": "integer",
  4923. "description": "每页条数",
  4924. "name": "pagesize",
  4925. "in": "query"
  4926. },
  4927. {
  4928. "type": "string",
  4929. "description": "客户名称,支持模糊查询",
  4930. "name": "userName",
  4931. "in": "query"
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/HSBY/GetHsbyMyCount": {
  4951. "get": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "description": "说明: 不包括已完成的数量。",
  4958. "produces": [
  4959. "application/json"
  4960. ],
  4961. "tags": [
  4962. "定制【海商报业】"
  4963. ],
  4964. "summary": "获取我的订单与包裹数量",
  4965. "parameters": [
  4966. {
  4967. "type": "string",
  4968. "description": "资金账户列表,格式:1,2,3",
  4969. "name": "accountIDs",
  4970. "in": "query",
  4971. "required": true
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/HSBY/QueryClientFixedADConfigs": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "produces": [
  4998. "application/json"
  4999. ],
  5000. "tags": [
  5001. "定制【海商报业】"
  5002. ],
  5003. "summary": "获取终端固定广告配置",
  5004. "responses": {
  5005. "200": {
  5006. "description": "OK",
  5007. "schema": {
  5008. "$ref": "#/definitions/models.Clientfixedadconfig"
  5009. }
  5010. },
  5011. "500": {
  5012. "description": "Internal Server Error",
  5013. "schema": {
  5014. "$ref": "#/definitions/app.Response"
  5015. }
  5016. }
  5017. }
  5018. }
  5019. },
  5020. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5021. "get": {
  5022. "security": [
  5023. {
  5024. "ApiKeyAuth": []
  5025. }
  5026. ],
  5027. "produces": [
  5028. "application/json"
  5029. ],
  5030. "tags": [
  5031. "定制【海商报业】"
  5032. ],
  5033. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5034. "parameters": [
  5035. {
  5036. "type": "integer",
  5037. "description": "页码",
  5038. "name": "page",
  5039. "in": "query"
  5040. },
  5041. {
  5042. "type": "integer",
  5043. "description": "每页条数",
  5044. "name": "pagesize",
  5045. "in": "query"
  5046. },
  5047. {
  5048. "type": "string",
  5049. "description": "资金账户列表,格式:1,2,3",
  5050. "name": "accountIDs",
  5051. "in": "query",
  5052. "required": true
  5053. }
  5054. ],
  5055. "responses": {
  5056. "200": {
  5057. "description": "OK",
  5058. "schema": {
  5059. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5060. }
  5061. },
  5062. "500": {
  5063. "description": "Internal Server Error",
  5064. "schema": {
  5065. "$ref": "#/definitions/app.Response"
  5066. }
  5067. }
  5068. }
  5069. }
  5070. },
  5071. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5072. "get": {
  5073. "security": [
  5074. {
  5075. "ApiKeyAuth": []
  5076. }
  5077. ],
  5078. "description": "说明:查询结果已按委托价格和委托时间排序",
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "定制【海商报业】"
  5084. ],
  5085. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5086. "parameters": [
  5087. {
  5088. "type": "integer",
  5089. "description": "商品ID",
  5090. "name": "goodsID",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "string",
  5096. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5097. "name": "accountIDs",
  5098. "in": "query"
  5099. },
  5100. {
  5101. "type": "integer",
  5102. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5103. "name": "buyOrSell",
  5104. "in": "query"
  5105. },
  5106. {
  5107. "type": "number",
  5108. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5109. "name": "price",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "integer",
  5114. "description": "档位,不传则默认为3档",
  5115. "name": "speed",
  5116. "in": "query"
  5117. }
  5118. ],
  5119. "responses": {
  5120. "200": {
  5121. "description": "OK",
  5122. "schema": {
  5123. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/HSBY/QueryHsbyListingGoodsDetail": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5143. "produces": [
  5144. "application/json"
  5145. ],
  5146. "tags": [
  5147. "定制【海商报业】"
  5148. ],
  5149. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5150. "parameters": [
  5151. {
  5152. "type": "integer",
  5153. "description": "商品ID",
  5154. "name": "goodsID",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "integer",
  5160. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5161. "name": "accountID",
  5162. "in": "query"
  5163. }
  5164. ],
  5165. "responses": {
  5166. "200": {
  5167. "description": "OK",
  5168. "schema": {
  5169. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5170. }
  5171. },
  5172. "500": {
  5173. "description": "Internal Server Error",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. }
  5178. }
  5179. }
  5180. },
  5181. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5182. "get": {
  5183. "security": [
  5184. {
  5185. "ApiKeyAuth": []
  5186. }
  5187. ],
  5188. "produces": [
  5189. "application/json"
  5190. ],
  5191. "tags": [
  5192. "定制【海商报业】"
  5193. ],
  5194. "summary": "查询三级市场(商城)商品信息详情",
  5195. "parameters": [
  5196. {
  5197. "type": "integer",
  5198. "description": "委托单号",
  5199. "name": "orderID",
  5200. "in": "query",
  5201. "required": true
  5202. },
  5203. {
  5204. "type": "integer",
  5205. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5206. "name": "accountID",
  5207. "in": "query"
  5208. }
  5209. ],
  5210. "responses": {
  5211. "200": {
  5212. "description": "OK",
  5213. "schema": {
  5214. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5215. }
  5216. },
  5217. "500": {
  5218. "description": "Internal Server Error",
  5219. "schema": {
  5220. "$ref": "#/definitions/app.Response"
  5221. }
  5222. }
  5223. }
  5224. }
  5225. },
  5226. "/HSBY/QueryHsbyMarketGoodses": {
  5227. "get": {
  5228. "security": [
  5229. {
  5230. "ApiKeyAuth": []
  5231. }
  5232. ],
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "定制【海商报业】"
  5238. ],
  5239. "summary": "查询特卖商品列表(三级商城)",
  5240. "parameters": [
  5241. {
  5242. "type": "integer",
  5243. "description": "页码",
  5244. "name": "page",
  5245. "in": "query"
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "每页条数",
  5250. "name": "pagesize",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "string",
  5255. "description": "市场ID列表,格式:1,2,3",
  5256. "name": "marketIDs",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5263. "name": "accountID",
  5264. "in": "query",
  5265. "required": true
  5266. },
  5267. {
  5268. "type": "integer",
  5269. "description": "类别ID",
  5270. "name": "categoryID",
  5271. "in": "query"
  5272. },
  5273. {
  5274. "type": "string",
  5275. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5276. "name": "goodsIDs",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5282. "name": "couponTypeID",
  5283. "in": "query"
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "$ref": "#/definitions/models.HsbyMarketGoods"
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/HSBY/QueryHsbyMarkets": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "produces": [
  5310. "application/json"
  5311. ],
  5312. "tags": [
  5313. "定制【海商报业】"
  5314. ],
  5315. "summary": "查询海商报业相关市场信息",
  5316. "responses": {
  5317. "200": {
  5318. "description": "OK",
  5319. "schema": {
  5320. "$ref": "#/definitions/models.HsbyMarketInfo"
  5321. }
  5322. },
  5323. "500": {
  5324. "description": "Internal Server Error",
  5325. "schema": {
  5326. "$ref": "#/definitions/app.Response"
  5327. }
  5328. }
  5329. }
  5330. }
  5331. },
  5332. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5333. "get": {
  5334. "security": [
  5335. {
  5336. "ApiKeyAuth": []
  5337. }
  5338. ],
  5339. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5340. "produces": [
  5341. "application/json"
  5342. ],
  5343. "tags": [
  5344. "定制【海商报业】"
  5345. ],
  5346. "summary": "查询“我的订单”信息",
  5347. "parameters": [
  5348. {
  5349. "type": "string",
  5350. "description": "资金账户列表,格式:1,2,3",
  5351. "name": "accountIDs",
  5352. "in": "query",
  5353. "required": true
  5354. }
  5355. ],
  5356. "responses": {
  5357. "200": {
  5358. "description": "OK",
  5359. "schema": {
  5360. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5361. }
  5362. },
  5363. "500": {
  5364. "description": "Internal Server Error",
  5365. "schema": {
  5366. "$ref": "#/definitions/app.Response"
  5367. }
  5368. }
  5369. }
  5370. }
  5371. },
  5372. "/HSBY/QueryHsbyMyGoods": {
  5373. "get": {
  5374. "security": [
  5375. {
  5376. "ApiKeyAuth": []
  5377. }
  5378. ],
  5379. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5380. "produces": [
  5381. "application/json"
  5382. ],
  5383. "tags": [
  5384. "定制【海商报业】"
  5385. ],
  5386. "summary": "查询“我的商品”信息",
  5387. "parameters": [
  5388. {
  5389. "type": "string",
  5390. "description": "资金账户列表,格式:1,2,3",
  5391. "name": "accountIDs",
  5392. "in": "query",
  5393. "required": true
  5394. }
  5395. ],
  5396. "responses": {
  5397. "200": {
  5398. "description": "OK",
  5399. "schema": {
  5400. "$ref": "#/definitions/models.HsbyMyGoods"
  5401. }
  5402. },
  5403. "500": {
  5404. "description": "Internal Server Error",
  5405. "schema": {
  5406. "$ref": "#/definitions/app.Response"
  5407. }
  5408. }
  5409. }
  5410. }
  5411. },
  5412. "/HSBY/QueryHsbyMyPackages": {
  5413. "get": {
  5414. "security": [
  5415. {
  5416. "ApiKeyAuth": []
  5417. }
  5418. ],
  5419. "produces": [
  5420. "application/json"
  5421. ],
  5422. "tags": [
  5423. "定制【海商报业】"
  5424. ],
  5425. "summary": "查询我的包裹信息",
  5426. "parameters": [
  5427. {
  5428. "type": "string",
  5429. "description": "资金账户列表,格式:1,2,3",
  5430. "name": "accountIDs",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5437. "name": "takeOrderStatus",
  5438. "in": "query"
  5439. }
  5440. ],
  5441. "responses": {
  5442. "200": {
  5443. "description": "OK",
  5444. "schema": {
  5445. "$ref": "#/definitions/models.HsbyMyPackage"
  5446. }
  5447. },
  5448. "500": {
  5449. "description": "Internal Server Error",
  5450. "schema": {
  5451. "$ref": "#/definitions/app.Response"
  5452. }
  5453. }
  5454. }
  5455. }
  5456. },
  5457. "/HSBY/QueryHsbyPreGoodsDetail": {
  5458. "get": {
  5459. "security": [
  5460. {
  5461. "ApiKeyAuth": []
  5462. }
  5463. ],
  5464. "produces": [
  5465. "application/json"
  5466. ],
  5467. "tags": [
  5468. "定制【海商报业】"
  5469. ],
  5470. "summary": "查询一级市场(预售)商品信息详情",
  5471. "parameters": [
  5472. {
  5473. "type": "integer",
  5474. "description": "商品ID",
  5475. "name": "goodsID",
  5476. "in": "query",
  5477. "required": true
  5478. },
  5479. {
  5480. "type": "integer",
  5481. "description": "资金账户,主要用于获取预售商品购买上限",
  5482. "name": "accountID",
  5483. "in": "query"
  5484. }
  5485. ],
  5486. "responses": {
  5487. "200": {
  5488. "description": "OK",
  5489. "schema": {
  5490. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5491. }
  5492. },
  5493. "500": {
  5494. "description": "Internal Server Error",
  5495. "schema": {
  5496. "$ref": "#/definitions/app.Response"
  5497. }
  5498. }
  5499. }
  5500. }
  5501. },
  5502. "/HSBY/QueryHsbyPreGoodses": {
  5503. "get": {
  5504. "security": [
  5505. {
  5506. "ApiKeyAuth": []
  5507. }
  5508. ],
  5509. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5510. "produces": [
  5511. "application/json"
  5512. ],
  5513. "tags": [
  5514. "定制【海商报业】"
  5515. ],
  5516. "summary": "查询新品上市商品列表(一级市场预售)",
  5517. "parameters": [
  5518. {
  5519. "type": "integer",
  5520. "description": "页码",
  5521. "name": "page",
  5522. "in": "query"
  5523. },
  5524. {
  5525. "type": "integer",
  5526. "description": "每页条数",
  5527. "name": "pagesize",
  5528. "in": "query"
  5529. },
  5530. {
  5531. "type": "string",
  5532. "description": "市场ID列表,格式:1,2,3",
  5533. "name": "marketIDs",
  5534. "in": "query",
  5535. "required": true
  5536. },
  5537. {
  5538. "type": "integer",
  5539. "description": "目的地(省)ID",
  5540. "name": "descProvinceID",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "integer",
  5545. "description": "目的地(市)ID",
  5546. "name": "descCityID",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "$ref": "#/definitions/models.HsbyPreGoods"
  5555. }
  5556. },
  5557. "500": {
  5558. "description": "Internal Server Error",
  5559. "schema": {
  5560. "$ref": "#/definitions/app.Response"
  5561. }
  5562. }
  5563. }
  5564. }
  5565. },
  5566. "/HSBY/QueryHsbySellMyDetails": {
  5567. "get": {
  5568. "security": [
  5569. {
  5570. "ApiKeyAuth": []
  5571. }
  5572. ],
  5573. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5574. "produces": [
  5575. "application/json"
  5576. ],
  5577. "tags": [
  5578. "定制【海商报业】"
  5579. ],
  5580. "summary": "查询\"我的闲置\"单据信息",
  5581. "parameters": [
  5582. {
  5583. "type": "integer",
  5584. "description": "页码",
  5585. "name": "page",
  5586. "in": "query"
  5587. },
  5588. {
  5589. "type": "integer",
  5590. "description": "每页条数",
  5591. "name": "pagesize",
  5592. "in": "query"
  5593. },
  5594. {
  5595. "type": "string",
  5596. "description": "资金账户列表,格式:1,2,3",
  5597. "name": "accountIDs",
  5598. "in": "query",
  5599. "required": true
  5600. },
  5601. {
  5602. "type": "integer",
  5603. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5604. "name": "orderType",
  5605. "in": "query"
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/models.HsbySellMyDetail"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/HSBY/QueryHsbyTopGoodses": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "定制【海商报业】"
  5637. ],
  5638. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5639. "parameters": [
  5640. {
  5641. "type": "integer",
  5642. "description": "页码",
  5643. "name": "page",
  5644. "in": "query"
  5645. },
  5646. {
  5647. "type": "integer",
  5648. "description": "每页条数",
  5649. "name": "pagesize",
  5650. "in": "query"
  5651. },
  5652. {
  5653. "type": "string",
  5654. "description": "市场ID列表,格式:1,2,3",
  5655. "name": "marketIDs",
  5656. "in": "query",
  5657. "required": true
  5658. },
  5659. {
  5660. "type": "integer",
  5661. "description": "目的地(省)ID",
  5662. "name": "descProvinceID",
  5663. "in": "query"
  5664. },
  5665. {
  5666. "type": "integer",
  5667. "description": "目的地(市)ID",
  5668. "name": "descCityID",
  5669. "in": "query"
  5670. }
  5671. ],
  5672. "responses": {
  5673. "200": {
  5674. "description": "OK",
  5675. "schema": {
  5676. "$ref": "#/definitions/models.HsbyTopGoods"
  5677. }
  5678. },
  5679. "500": {
  5680. "description": "Internal Server Error",
  5681. "schema": {
  5682. "$ref": "#/definitions/app.Response"
  5683. }
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5689. "get": {
  5690. "security": [
  5691. {
  5692. "ApiKeyAuth": []
  5693. }
  5694. ],
  5695. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5696. "produces": [
  5697. "application/json"
  5698. ],
  5699. "tags": [
  5700. "定制【海商报业】"
  5701. ],
  5702. "summary": "查询游客三级市场(商城)商品信息详情",
  5703. "parameters": [
  5704. {
  5705. "type": "integer",
  5706. "description": "商品ID",
  5707. "name": "goodsID",
  5708. "in": "query",
  5709. "required": true
  5710. }
  5711. ],
  5712. "responses": {
  5713. "200": {
  5714. "description": "OK",
  5715. "schema": {
  5716. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5717. }
  5718. },
  5719. "500": {
  5720. "description": "Internal Server Error",
  5721. "schema": {
  5722. "$ref": "#/definitions/app.Response"
  5723. }
  5724. }
  5725. }
  5726. }
  5727. },
  5728. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5729. "get": {
  5730. "security": [
  5731. {
  5732. "ApiKeyAuth": []
  5733. }
  5734. ],
  5735. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5736. "produces": [
  5737. "application/json"
  5738. ],
  5739. "tags": [
  5740. "定制【海商报业】"
  5741. ],
  5742. "summary": "查询游客特卖商品列表(三级商城)",
  5743. "parameters": [
  5744. {
  5745. "type": "integer",
  5746. "description": "页码",
  5747. "name": "page",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "每页条数",
  5753. "name": "pagesize",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "string",
  5758. "description": "市场ID列表,格式:1,2,3",
  5759. "name": "marketIDs",
  5760. "in": "query",
  5761. "required": true
  5762. },
  5763. {
  5764. "type": "integer",
  5765. "description": "类别ID",
  5766. "name": "categoryID",
  5767. "in": "query"
  5768. },
  5769. {
  5770. "type": "string",
  5771. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5772. "name": "goodsIDs",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.HsbyMarketGoods"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryMyCollectionOrders": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "produces": [
  5800. "application/json"
  5801. ],
  5802. "tags": [
  5803. "定制【海商报业】"
  5804. ],
  5805. "summary": "我的闲置中收款信息查询",
  5806. "parameters": [
  5807. {
  5808. "type": "integer",
  5809. "description": "页码",
  5810. "name": "page",
  5811. "in": "query"
  5812. },
  5813. {
  5814. "type": "integer",
  5815. "description": "每页条数",
  5816. "name": "pagesize",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryMyCouponHolds": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "我的优惠卷持仓查询",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账户列表,格式:1,2,3",
  5862. "name": "accountIDs",
  5863. "in": "query",
  5864. "required": true
  5865. },
  5866. {
  5867. "type": "string",
  5868. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5869. "name": "holdStatus",
  5870. "in": "query"
  5871. }
  5872. ],
  5873. "responses": {
  5874. "200": {
  5875. "description": "OK",
  5876. "schema": {
  5877. "$ref": "#/definitions/models.MyCouponHold"
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/HSBY/QueryMyCoupons": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "定制【海商报业】"
  5901. ],
  5902. "summary": "我的优惠卷查询",
  5903. "parameters": [
  5904. {
  5905. "type": "string",
  5906. "description": "资金账户列表,格式:1,2,3",
  5907. "name": "accountIDs",
  5908. "in": "query",
  5909. "required": true
  5910. },
  5911. {
  5912. "type": "integer",
  5913. "description": "商品ID, 一般与sellUserID配套传入",
  5914. "name": "goodsID",
  5915. "in": "query"
  5916. },
  5917. {
  5918. "type": "integer",
  5919. "description": "卖方UserID",
  5920. "name": "sellUserID",
  5921. "in": "query"
  5922. }
  5923. ],
  5924. "responses": {
  5925. "200": {
  5926. "description": "OK",
  5927. "schema": {
  5928. "$ref": "#/definitions/models.MyCoupon"
  5929. }
  5930. },
  5931. "500": {
  5932. "description": "Internal Server Error",
  5933. "schema": {
  5934. "$ref": "#/definitions/app.Response"
  5935. }
  5936. }
  5937. }
  5938. }
  5939. },
  5940. "/HSBY/QueryMyPayOrders": {
  5941. "get": {
  5942. "security": [
  5943. {
  5944. "ApiKeyAuth": []
  5945. }
  5946. ],
  5947. "produces": [
  5948. "application/json"
  5949. ],
  5950. "tags": [
  5951. "定制【海商报业】"
  5952. ],
  5953. "summary": "获取我的订单中待付款信息",
  5954. "parameters": [
  5955. {
  5956. "type": "integer",
  5957. "description": "页码",
  5958. "name": "page",
  5959. "in": "query"
  5960. },
  5961. {
  5962. "type": "integer",
  5963. "description": "每页条数",
  5964. "name": "pagesize",
  5965. "in": "query"
  5966. },
  5967. {
  5968. "type": "string",
  5969. "description": "资金账户列表,格式:1,2,3",
  5970. "name": "accountIDs",
  5971. "in": "query",
  5972. "required": true
  5973. },
  5974. {
  5975. "type": "integer",
  5976. "description": "买方委托单号",
  5977. "name": "buyOrderID",
  5978. "in": "query"
  5979. },
  5980. {
  5981. "type": "integer",
  5982. "description": "卖方委托单号",
  5983. "name": "sellOrderID",
  5984. "in": "query"
  5985. }
  5986. ],
  5987. "responses": {
  5988. "200": {
  5989. "description": "OK",
  5990. "schema": {
  5991. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5992. }
  5993. },
  5994. "500": {
  5995. "description": "Internal Server Error",
  5996. "schema": {
  5997. "$ref": "#/definitions/app.Response"
  5998. }
  5999. }
  6000. }
  6001. }
  6002. },
  6003. "/HSBY/QueryMyUsedCoupon": {
  6004. "get": {
  6005. "security": [
  6006. {
  6007. "ApiKeyAuth": []
  6008. }
  6009. ],
  6010. "produces": [
  6011. "application/json"
  6012. ],
  6013. "tags": [
  6014. "定制【海商报业】"
  6015. ],
  6016. "summary": "已使用优惠卷查询",
  6017. "parameters": [
  6018. {
  6019. "type": "string",
  6020. "description": "资金账户列表,格式:1,2,3",
  6021. "name": "accountIDs",
  6022. "in": "query",
  6023. "required": true
  6024. }
  6025. ],
  6026. "responses": {
  6027. "200": {
  6028. "description": "OK",
  6029. "schema": {
  6030. "$ref": "#/definitions/models.MyUsedCoupon"
  6031. }
  6032. },
  6033. "500": {
  6034. "description": "Internal Server Error",
  6035. "schema": {
  6036. "$ref": "#/definitions/app.Response"
  6037. }
  6038. }
  6039. }
  6040. }
  6041. },
  6042. "/HSBY/QueryProvincesAndCities": {
  6043. "get": {
  6044. "security": [
  6045. {
  6046. "ApiKeyAuth": []
  6047. }
  6048. ],
  6049. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6050. "produces": [
  6051. "application/json"
  6052. ],
  6053. "tags": [
  6054. "定制【海商报业】"
  6055. ],
  6056. "summary": "查询省市信息(不包括区)",
  6057. "parameters": [
  6058. {
  6059. "type": "integer",
  6060. "description": "省ID",
  6061. "name": "provinceID",
  6062. "in": "query"
  6063. }
  6064. ],
  6065. "responses": {
  6066. "200": {
  6067. "description": "OK",
  6068. "schema": {
  6069. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6070. }
  6071. },
  6072. "500": {
  6073. "description": "Internal Server Error",
  6074. "schema": {
  6075. "$ref": "#/definitions/app.Response"
  6076. }
  6077. }
  6078. }
  6079. }
  6080. },
  6081. "/HSBY/SetHsbyMyPackagesStatus": {
  6082. "post": {
  6083. "security": [
  6084. {
  6085. "ApiKeyAuth": []
  6086. }
  6087. ],
  6088. "produces": [
  6089. "application/json"
  6090. ],
  6091. "tags": [
  6092. "定制【海商报业】"
  6093. ],
  6094. "summary": "设置我的包裹已收货状态",
  6095. "parameters": [
  6096. {
  6097. "type": "string",
  6098. "description": "提货单号",
  6099. "name": "takeOrderID",
  6100. "in": "query",
  6101. "required": true
  6102. },
  6103. {
  6104. "type": "integer",
  6105. "description": "资金账号",
  6106. "name": "accountID",
  6107. "in": "query",
  6108. "required": true
  6109. }
  6110. ],
  6111. "responses": {
  6112. "200": {
  6113. "description": "OK",
  6114. "schema": {
  6115. "$ref": "#/definitions/app.Response"
  6116. }
  6117. },
  6118. "500": {
  6119. "description": "Internal Server Error",
  6120. "schema": {
  6121. "$ref": "#/definitions/app.Response"
  6122. }
  6123. }
  6124. }
  6125. }
  6126. },
  6127. "/Market/QueryGoodsesByLoginID": {
  6128. "get": {
  6129. "security": [
  6130. {
  6131. "ApiKeyAuth": []
  6132. }
  6133. ],
  6134. "produces": [
  6135. "application/json"
  6136. ],
  6137. "tags": [
  6138. "通用市场"
  6139. ],
  6140. "summary": "获取登录账号有权限的商品信息",
  6141. "parameters": [
  6142. {
  6143. "type": "integer",
  6144. "description": "登录账号",
  6145. "name": "loginID",
  6146. "in": "query",
  6147. "required": true
  6148. },
  6149. {
  6150. "type": "string",
  6151. "description": "市场ID列表,格式:1,2,3",
  6152. "name": "marketIDs",
  6153. "in": "query"
  6154. }
  6155. ],
  6156. "responses": {
  6157. "200": {
  6158. "description": "OK",
  6159. "schema": {
  6160. "$ref": "#/definitions/models.Goods"
  6161. }
  6162. },
  6163. "500": {
  6164. "description": "Internal Server Error",
  6165. "schema": {
  6166. "$ref": "#/definitions/app.Response"
  6167. }
  6168. }
  6169. }
  6170. }
  6171. },
  6172. "/Market/QueryMarketRun": {
  6173. "get": {
  6174. "security": [
  6175. {
  6176. "ApiKeyAuth": []
  6177. }
  6178. ],
  6179. "produces": [
  6180. "application/json"
  6181. ],
  6182. "tags": [
  6183. "通用市场"
  6184. ],
  6185. "summary": "查询市场运行信息",
  6186. "parameters": [
  6187. {
  6188. "type": "integer",
  6189. "description": "市场ID,不传返回所有",
  6190. "name": "marketID",
  6191. "in": "query"
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.Marketrun"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/Market/QueryMarketsByLoginID": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "produces": [
  6218. "application/json"
  6219. ],
  6220. "tags": [
  6221. "通用市场"
  6222. ],
  6223. "summary": "获取登录账号有权限的市场信息",
  6224. "parameters": [
  6225. {
  6226. "type": "integer",
  6227. "description": "登录账号",
  6228. "name": "loginID",
  6229. "in": "query",
  6230. "required": true
  6231. }
  6232. ],
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/models.Market"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/Order/QueryHisTradeDetail": {
  6250. "get": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "通用单据"
  6261. ],
  6262. "summary": "历史成交单查询(合约市场)",
  6263. "parameters": [
  6264. {
  6265. "type": "string",
  6266. "description": "资金账户 - 格式:1,2,3",
  6267. "name": "accountID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "成交单号",
  6274. "name": "tradeID",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "委托单号",
  6280. "name": "orderID",
  6281. "in": "query"
  6282. },
  6283. {
  6284. "type": "string",
  6285. "description": "交易模式 - 格式:1,2,3",
  6286. "name": "tradeMode",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "委托单据类型",
  6292. "name": "buildType",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "成交类别 - 格式:1,2,3",
  6298. "name": "tradeType",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6304. "name": "startDate",
  6305. "in": "query"
  6306. },
  6307. {
  6308. "type": "string",
  6309. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6310. "name": "endDate",
  6311. "in": "query"
  6312. }
  6313. ],
  6314. "responses": {
  6315. "200": {
  6316. "description": "OK",
  6317. "schema": {
  6318. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6319. }
  6320. },
  6321. "500": {
  6322. "description": "Internal Server Error",
  6323. "schema": {
  6324. "$ref": "#/definitions/app.Response"
  6325. }
  6326. }
  6327. }
  6328. }
  6329. },
  6330. "/Order/QueryHisTradeOrderDetail": {
  6331. "get": {
  6332. "security": [
  6333. {
  6334. "ApiKeyAuth": []
  6335. }
  6336. ],
  6337. "produces": [
  6338. "application/json"
  6339. ],
  6340. "tags": [
  6341. "通用单据"
  6342. ],
  6343. "summary": "历史委托单查询请求(合约市场)",
  6344. "parameters": [
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户 - 格式:1,2,3",
  6348. "name": "accountID",
  6349. "in": "query",
  6350. "required": true
  6351. },
  6352. {
  6353. "type": "string",
  6354. "description": "交易模式 - 格式:1,2,3",
  6355. "name": "tradeMode",
  6356. "in": "query"
  6357. },
  6358. {
  6359. "type": "string",
  6360. "description": "委托状态 - 格式:1,2,3",
  6361. "name": "orderStatus",
  6362. "in": "query"
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "委托单号",
  6367. "name": "orderID",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "string",
  6372. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6373. "name": "startDate",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "string",
  6378. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6379. "name": "endDate",
  6380. "in": "query"
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/Order/QueryTradeDetail": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "produces": [
  6407. "application/json"
  6408. ],
  6409. "tags": [
  6410. "通用单据"
  6411. ],
  6412. "summary": "成交单查询(合约市场)",
  6413. "parameters": [
  6414. {
  6415. "type": "string",
  6416. "description": "资金账户 - 格式:1,2,3",
  6417. "name": "accountID",
  6418. "in": "query",
  6419. "required": true
  6420. },
  6421. {
  6422. "type": "integer",
  6423. "description": "成交单号",
  6424. "name": "tradeID",
  6425. "in": "query"
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "委托单号",
  6430. "name": "orderID",
  6431. "in": "query"
  6432. },
  6433. {
  6434. "type": "string",
  6435. "description": "交易模式 - 格式:1,2,3",
  6436. "name": "tradeMode",
  6437. "in": "query"
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "委托单据类型",
  6442. "name": "buildType",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "string",
  6447. "description": "成交类别 - 格式:1,2,3",
  6448. "name": "tradeType",
  6449. "in": "query"
  6450. }
  6451. ],
  6452. "responses": {
  6453. "200": {
  6454. "description": "OK",
  6455. "schema": {
  6456. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6457. }
  6458. },
  6459. "500": {
  6460. "description": "Internal Server Error",
  6461. "schema": {
  6462. "$ref": "#/definitions/app.Response"
  6463. }
  6464. }
  6465. }
  6466. }
  6467. },
  6468. "/Order/QueryTradeOrderDetail": {
  6469. "get": {
  6470. "security": [
  6471. {
  6472. "ApiKeyAuth": []
  6473. }
  6474. ],
  6475. "produces": [
  6476. "application/json"
  6477. ],
  6478. "tags": [
  6479. "通用单据"
  6480. ],
  6481. "summary": "委托单查询请求(合约市场)",
  6482. "parameters": [
  6483. {
  6484. "type": "string",
  6485. "description": "资金账户 - 格式:1,2,3",
  6486. "name": "accountID",
  6487. "in": "query",
  6488. "required": true
  6489. },
  6490. {
  6491. "type": "string",
  6492. "description": "交易模式 - 格式:1,2,3",
  6493. "name": "tradeMode",
  6494. "in": "query"
  6495. },
  6496. {
  6497. "type": "string",
  6498. "description": "委托状态 - 格式:1,2,3",
  6499. "name": "orderStatus",
  6500. "in": "query"
  6501. },
  6502. {
  6503. "type": "integer",
  6504. "description": "委托单号",
  6505. "name": "orderID",
  6506. "in": "query"
  6507. }
  6508. ],
  6509. "responses": {
  6510. "200": {
  6511. "description": "OK",
  6512. "schema": {
  6513. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6514. }
  6515. },
  6516. "500": {
  6517. "description": "Internal Server Error",
  6518. "schema": {
  6519. "$ref": "#/definitions/app.Response"
  6520. }
  6521. }
  6522. }
  6523. }
  6524. },
  6525. "/Order/QueryTradePosition": {
  6526. "get": {
  6527. "security": [
  6528. {
  6529. "ApiKeyAuth": []
  6530. }
  6531. ],
  6532. "produces": [
  6533. "application/json"
  6534. ],
  6535. "tags": [
  6536. "通用单据"
  6537. ],
  6538. "summary": "持仓汇总查询(合约市场)",
  6539. "parameters": [
  6540. {
  6541. "type": "string",
  6542. "description": "资金账户 - 格式:1,2,3",
  6543. "name": "accountID",
  6544. "in": "query",
  6545. "required": true
  6546. },
  6547. {
  6548. "type": "string",
  6549. "description": "交易模式 - 格式:1,2,3",
  6550. "name": "tradeMode",
  6551. "in": "query"
  6552. }
  6553. ],
  6554. "responses": {
  6555. "200": {
  6556. "description": "OK",
  6557. "schema": {
  6558. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6559. }
  6560. },
  6561. "500": {
  6562. "description": "Internal Server Error",
  6563. "schema": {
  6564. "$ref": "#/definitions/app.Response"
  6565. }
  6566. }
  6567. }
  6568. }
  6569. },
  6570. "/Quote/QueryHistoryDatas": {
  6571. "get": {
  6572. "security": [
  6573. {
  6574. "ApiKeyAuth": []
  6575. }
  6576. ],
  6577. "produces": [
  6578. "application/json"
  6579. ],
  6580. "tags": [
  6581. "行情服务"
  6582. ],
  6583. "summary": "查询行情历史数据",
  6584. "parameters": [
  6585. {
  6586. "type": "integer",
  6587. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6588. "name": "cycleType",
  6589. "in": "query",
  6590. "required": true
  6591. },
  6592. {
  6593. "type": "string",
  6594. "description": "商品代码",
  6595. "name": "goodsCode",
  6596. "in": "query",
  6597. "required": true
  6598. },
  6599. {
  6600. "type": "string",
  6601. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6602. "name": "startTime",
  6603. "in": "query"
  6604. },
  6605. {
  6606. "type": "string",
  6607. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6608. "name": "endTime",
  6609. "in": "query"
  6610. },
  6611. {
  6612. "type": "integer",
  6613. "description": "条数",
  6614. "name": "count",
  6615. "in": "query"
  6616. },
  6617. {
  6618. "type": "boolean",
  6619. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6620. "name": "isAsc",
  6621. "in": "query"
  6622. }
  6623. ],
  6624. "responses": {
  6625. "200": {
  6626. "description": "OK",
  6627. "schema": {
  6628. "$ref": "#/definitions/quote.HistoryData"
  6629. }
  6630. },
  6631. "500": {
  6632. "description": "Internal Server Error",
  6633. "schema": {
  6634. "$ref": "#/definitions/app.Response"
  6635. }
  6636. }
  6637. }
  6638. }
  6639. },
  6640. "/Quote/QueryHistoryTikDatas": {
  6641. "get": {
  6642. "security": [
  6643. {
  6644. "ApiKeyAuth": []
  6645. }
  6646. ],
  6647. "produces": [
  6648. "application/json"
  6649. ],
  6650. "tags": [
  6651. "行情服务"
  6652. ],
  6653. "summary": "查询行情Tik数据",
  6654. "parameters": [
  6655. {
  6656. "type": "string",
  6657. "description": "商品代码",
  6658. "name": "goodsCode",
  6659. "in": "query",
  6660. "required": true
  6661. },
  6662. {
  6663. "type": "string",
  6664. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6665. "name": "startTime",
  6666. "in": "query"
  6667. },
  6668. {
  6669. "type": "string",
  6670. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6671. "name": "endTime",
  6672. "in": "query"
  6673. },
  6674. {
  6675. "type": "integer",
  6676. "description": "条数",
  6677. "name": "count",
  6678. "in": "query"
  6679. },
  6680. {
  6681. "type": "boolean",
  6682. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6683. "name": "isAsc",
  6684. "in": "query"
  6685. }
  6686. ],
  6687. "responses": {
  6688. "200": {
  6689. "description": "OK",
  6690. "schema": {
  6691. "$ref": "#/definitions/quote.HistoryTikData"
  6692. }
  6693. },
  6694. "500": {
  6695. "description": "Internal Server Error",
  6696. "schema": {
  6697. "$ref": "#/definitions/app.Response"
  6698. }
  6699. }
  6700. }
  6701. }
  6702. },
  6703. "/Quote/QueryQuoteDay": {
  6704. "get": {
  6705. "security": [
  6706. {
  6707. "ApiKeyAuth": []
  6708. }
  6709. ],
  6710. "produces": [
  6711. "application/json"
  6712. ],
  6713. "tags": [
  6714. "行情服务"
  6715. ],
  6716. "summary": "获取商品盘面信息",
  6717. "parameters": [
  6718. {
  6719. "type": "string",
  6720. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6721. "name": "goodsCodes",
  6722. "in": "query",
  6723. "required": true
  6724. }
  6725. ],
  6726. "responses": {
  6727. "200": {
  6728. "description": "OK",
  6729. "schema": {
  6730. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6731. }
  6732. },
  6733. "500": {
  6734. "description": "Internal Server Error",
  6735. "schema": {
  6736. "$ref": "#/definitions/app.Response"
  6737. }
  6738. }
  6739. }
  6740. }
  6741. },
  6742. "/Quote/QueryTSData": {
  6743. "get": {
  6744. "security": [
  6745. {
  6746. "ApiKeyAuth": []
  6747. }
  6748. ],
  6749. "produces": [
  6750. "application/json"
  6751. ],
  6752. "tags": [
  6753. "行情服务"
  6754. ],
  6755. "summary": "分时图数据查询",
  6756. "parameters": [
  6757. {
  6758. "type": "string",
  6759. "description": "商品代码",
  6760. "name": "goodsCode",
  6761. "in": "query",
  6762. "required": true
  6763. }
  6764. ],
  6765. "responses": {
  6766. "200": {
  6767. "description": "OK",
  6768. "schema": {
  6769. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6770. }
  6771. },
  6772. "500": {
  6773. "description": "Internal Server Error",
  6774. "schema": {
  6775. "$ref": "#/definitions/app.Response"
  6776. }
  6777. }
  6778. }
  6779. }
  6780. },
  6781. "/SZDZ/QueryConvertConfig": {
  6782. "get": {
  6783. "security": [
  6784. {
  6785. "ApiKeyAuth": []
  6786. }
  6787. ],
  6788. "produces": [
  6789. "application/json"
  6790. ],
  6791. "tags": [
  6792. "定制【尚志大宗】"
  6793. ],
  6794. "summary": "查询交易系统转换设置",
  6795. "parameters": [
  6796. {
  6797. "type": "integer",
  6798. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6799. "name": "convertType",
  6800. "in": "query"
  6801. },
  6802. {
  6803. "type": "string",
  6804. "description": "外部商品代码[JD\\PD]",
  6805. "name": "outerGoodsCode",
  6806. "in": "query"
  6807. },
  6808. {
  6809. "type": "string",
  6810. "description": "内部商品ID列表[交易],格式:1,2,3",
  6811. "name": "innerGoodsIDs",
  6812. "in": "query"
  6813. }
  6814. ],
  6815. "responses": {
  6816. "200": {
  6817. "description": "OK",
  6818. "schema": {
  6819. "$ref": "#/definitions/models.Szdz3convertconfig"
  6820. }
  6821. },
  6822. "500": {
  6823. "description": "Internal Server Error",
  6824. "schema": {
  6825. "$ref": "#/definitions/app.Response"
  6826. }
  6827. }
  6828. }
  6829. }
  6830. },
  6831. "/SZDZ/QueryConvertLog": {
  6832. "get": {
  6833. "security": [
  6834. {
  6835. "ApiKeyAuth": []
  6836. }
  6837. ],
  6838. "produces": [
  6839. "application/json"
  6840. ],
  6841. "tags": [
  6842. "定制【尚志大宗】"
  6843. ],
  6844. "summary": "交易系统转换流水查询",
  6845. "parameters": [
  6846. {
  6847. "type": "string",
  6848. "description": "资金账户 - 格式:1,2,3",
  6849. "name": "accountID",
  6850. "in": "query",
  6851. "required": true
  6852. },
  6853. {
  6854. "type": "string",
  6855. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6856. "name": "startDate",
  6857. "in": "query"
  6858. },
  6859. {
  6860. "type": "string",
  6861. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6862. "name": "endDate",
  6863. "in": "query"
  6864. }
  6865. ],
  6866. "responses": {
  6867. "200": {
  6868. "description": "OK",
  6869. "schema": {
  6870. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6871. }
  6872. },
  6873. "500": {
  6874. "description": "Internal Server Error",
  6875. "schema": {
  6876. "$ref": "#/definitions/app.Response"
  6877. }
  6878. }
  6879. }
  6880. }
  6881. },
  6882. "/SZDZ/QueryGoodsPickup": {
  6883. "get": {
  6884. "security": [
  6885. {
  6886. "ApiKeyAuth": []
  6887. }
  6888. ],
  6889. "produces": [
  6890. "application/json"
  6891. ],
  6892. "tags": [
  6893. "定制【尚志大宗】"
  6894. ],
  6895. "summary": "商品提货单查询",
  6896. "parameters": [
  6897. {
  6898. "type": "string",
  6899. "description": "资金账户 - 格式:1,2,3",
  6900. "name": "accountID",
  6901. "in": "query",
  6902. "required": true
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6907. "name": "takeOrderStatus",
  6908. "in": "query"
  6909. }
  6910. ],
  6911. "responses": {
  6912. "200": {
  6913. "description": "OK",
  6914. "schema": {
  6915. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6916. }
  6917. },
  6918. "500": {
  6919. "description": "Internal Server Error",
  6920. "schema": {
  6921. "$ref": "#/definitions/app.Response"
  6922. }
  6923. }
  6924. }
  6925. }
  6926. },
  6927. "/SZDZ/QueryRecieptOrder": {
  6928. "get": {
  6929. "security": [
  6930. {
  6931. "ApiKeyAuth": []
  6932. }
  6933. ],
  6934. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6935. "produces": [
  6936. "application/json"
  6937. ],
  6938. "tags": [
  6939. "定制【尚志大宗】"
  6940. ],
  6941. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6942. "parameters": [
  6943. {
  6944. "type": "integer",
  6945. "description": "页码",
  6946. "name": "page",
  6947. "in": "query"
  6948. },
  6949. {
  6950. "type": "integer",
  6951. "description": "每页条数",
  6952. "name": "pagesize",
  6953. "in": "query"
  6954. },
  6955. {
  6956. "type": "integer",
  6957. "description": "商品ID",
  6958. "name": "goodsID",
  6959. "in": "query",
  6960. "required": true
  6961. },
  6962. {
  6963. "type": "string",
  6964. "description": "所属账户名称",
  6965. "name": "accountName",
  6966. "in": "query"
  6967. },
  6968. {
  6969. "type": "integer",
  6970. "description": "市场ID",
  6971. "name": "marketID",
  6972. "in": "query"
  6973. },
  6974. {
  6975. "type": "integer",
  6976. "description": "方向 - 0:买 1:卖",
  6977. "name": "buyorsell",
  6978. "in": "query",
  6979. "required": true
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/SZDZ/QuerySZDZTradePosition": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【尚志大宗】"
  7010. ],
  7011. "summary": "持仓汇总查询(尚志大宗)",
  7012. "parameters": [
  7013. {
  7014. "type": "integer",
  7015. "description": "资金账户",
  7016. "name": "accountID",
  7017. "in": "query",
  7018. "required": true
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/SZDZ/SearchWhite": {
  7038. "get": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "定制【尚志大宗】"
  7049. ],
  7050. "summary": "搜索白名单",
  7051. "parameters": [
  7052. {
  7053. "type": "integer",
  7054. "description": "用户ID",
  7055. "name": "userID",
  7056. "in": "query",
  7057. "required": true
  7058. }
  7059. ],
  7060. "responses": {
  7061. "200": {
  7062. "description": "OK",
  7063. "schema": {
  7064. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7065. }
  7066. },
  7067. "500": {
  7068. "description": "Internal Server Error",
  7069. "schema": {
  7070. "$ref": "#/definitions/app.Response"
  7071. }
  7072. }
  7073. }
  7074. }
  7075. },
  7076. "/Search/SearchGoodses": {
  7077. "get": {
  7078. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7079. "produces": [
  7080. "application/json"
  7081. ],
  7082. "tags": [
  7083. "检索服务"
  7084. ],
  7085. "summary": "检索商品信息",
  7086. "parameters": [
  7087. {
  7088. "type": "string",
  7089. "description": "检索内容",
  7090. "name": "content",
  7091. "in": "query",
  7092. "required": true
  7093. },
  7094. {
  7095. "type": "string",
  7096. "description": "交易模式,格式:1,2,3",
  7097. "name": "tradeModes",
  7098. "in": "query"
  7099. }
  7100. ],
  7101. "responses": {
  7102. "200": {
  7103. "description": "OK",
  7104. "schema": {
  7105. "$ref": "#/definitions/models.SearchGoods"
  7106. }
  7107. },
  7108. "500": {
  7109. "description": "Internal Server Error",
  7110. "schema": {
  7111. "$ref": "#/definitions/app.Response"
  7112. }
  7113. }
  7114. }
  7115. }
  7116. },
  7117. "/TaAccount/GetTaAccounts": {
  7118. "get": {
  7119. "security": [
  7120. {
  7121. "ApiKeyAuth": []
  7122. }
  7123. ],
  7124. "produces": [
  7125. "application/json"
  7126. ],
  7127. "tags": [
  7128. "资金账户"
  7129. ],
  7130. "summary": "获取资金账户信息",
  7131. "parameters": [
  7132. {
  7133. "type": "integer",
  7134. "description": "登录账户",
  7135. "name": "loginID",
  7136. "in": "query",
  7137. "required": true
  7138. },
  7139. {
  7140. "type": "integer",
  7141. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7142. "name": "taAccountType",
  7143. "in": "query"
  7144. }
  7145. ],
  7146. "responses": {
  7147. "200": {
  7148. "description": "OK",
  7149. "schema": {
  7150. "$ref": "#/definitions/models.Taaccount"
  7151. }
  7152. },
  7153. "500": {
  7154. "description": "Internal Server Error",
  7155. "schema": {
  7156. "$ref": "#/definitions/app.Response"
  7157. }
  7158. }
  7159. }
  7160. }
  7161. },
  7162. "/TaAccount/QueryAmountLog": {
  7163. "get": {
  7164. "security": [
  7165. {
  7166. "ApiKeyAuth": []
  7167. }
  7168. ],
  7169. "produces": [
  7170. "application/json"
  7171. ],
  7172. "tags": [
  7173. "资金账户"
  7174. ],
  7175. "summary": "资金流水查询(当前)",
  7176. "parameters": [
  7177. {
  7178. "type": "integer",
  7179. "description": "页码",
  7180. "name": "page",
  7181. "in": "query"
  7182. },
  7183. {
  7184. "type": "integer",
  7185. "description": "每页条数",
  7186. "name": "pagesize",
  7187. "in": "query"
  7188. },
  7189. {
  7190. "type": "string",
  7191. "description": "资金账户 - 格式:1,2,3",
  7192. "name": "accountID",
  7193. "in": "query",
  7194. "required": true
  7195. },
  7196. {
  7197. "type": "string",
  7198. "description": "资金操作类型 - 格式:1,2,3",
  7199. "name": "OperateType",
  7200. "in": "query"
  7201. }
  7202. ],
  7203. "responses": {
  7204. "200": {
  7205. "description": "OK",
  7206. "schema": {
  7207. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7208. }
  7209. },
  7210. "500": {
  7211. "description": "Internal Server Error",
  7212. "schema": {
  7213. "$ref": "#/definitions/app.Response"
  7214. }
  7215. }
  7216. }
  7217. }
  7218. },
  7219. "/TaAccount/QueryHisAmountLog": {
  7220. "get": {
  7221. "security": [
  7222. {
  7223. "ApiKeyAuth": []
  7224. }
  7225. ],
  7226. "produces": [
  7227. "application/json"
  7228. ],
  7229. "tags": [
  7230. "资金账户"
  7231. ],
  7232. "summary": "资金流水查询(历史)",
  7233. "parameters": [
  7234. {
  7235. "type": "integer",
  7236. "description": "页码",
  7237. "name": "page",
  7238. "in": "query"
  7239. },
  7240. {
  7241. "type": "integer",
  7242. "description": "每页条数",
  7243. "name": "pagesize",
  7244. "in": "query"
  7245. },
  7246. {
  7247. "type": "string",
  7248. "description": "资金账户 - 格式:1,2,3",
  7249. "name": "accountID",
  7250. "in": "query",
  7251. "required": true
  7252. },
  7253. {
  7254. "type": "string",
  7255. "description": "资金操作类型 - 格式:1,2,3",
  7256. "name": "OperateType",
  7257. "in": "query"
  7258. },
  7259. {
  7260. "type": "string",
  7261. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7262. "name": "startDate",
  7263. "in": "query"
  7264. },
  7265. {
  7266. "type": "string",
  7267. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7268. "name": "endDate",
  7269. "in": "query"
  7270. }
  7271. ],
  7272. "responses": {
  7273. "200": {
  7274. "description": "OK",
  7275. "schema": {
  7276. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7277. }
  7278. },
  7279. "500": {
  7280. "description": "Internal Server Error",
  7281. "schema": {
  7282. "$ref": "#/definitions/app.Response"
  7283. }
  7284. }
  7285. }
  7286. }
  7287. },
  7288. "/Trade/QueryRecieptOrder": {
  7289. "get": {
  7290. "security": [
  7291. {
  7292. "ApiKeyAuth": []
  7293. }
  7294. ],
  7295. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7296. "produces": [
  7297. "application/json"
  7298. ],
  7299. "tags": [
  7300. "通用交易"
  7301. ],
  7302. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7303. "parameters": [
  7304. {
  7305. "type": "integer",
  7306. "description": "页码",
  7307. "name": "page",
  7308. "in": "query"
  7309. },
  7310. {
  7311. "type": "integer",
  7312. "description": "每页条数",
  7313. "name": "pagesize",
  7314. "in": "query"
  7315. },
  7316. {
  7317. "type": "integer",
  7318. "description": "商品ID",
  7319. "name": "goodsID",
  7320. "in": "query",
  7321. "required": true
  7322. },
  7323. {
  7324. "type": "string",
  7325. "description": "所属账户名称",
  7326. "name": "accountName",
  7327. "in": "query"
  7328. },
  7329. {
  7330. "type": "integer",
  7331. "description": "市场ID",
  7332. "name": "marketID",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "integer",
  7337. "description": "方向 - 0:买 1:卖",
  7338. "name": "buyorsell",
  7339. "in": "query",
  7340. "required": true
  7341. }
  7342. ],
  7343. "responses": {
  7344. "200": {
  7345. "description": "OK",
  7346. "schema": {
  7347. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7348. }
  7349. },
  7350. "500": {
  7351. "description": "Internal Server Error",
  7352. "schema": {
  7353. "$ref": "#/definitions/app.Response"
  7354. }
  7355. }
  7356. }
  7357. }
  7358. },
  7359. "/User/AddMessageBoard": {
  7360. "post": {
  7361. "security": [
  7362. {
  7363. "ApiKeyAuth": []
  7364. }
  7365. ],
  7366. "produces": [
  7367. "application/json"
  7368. ],
  7369. "tags": [
  7370. "用户信息"
  7371. ],
  7372. "summary": "添加用户留言板信息",
  7373. "parameters": [
  7374. {
  7375. "type": "integer",
  7376. "description": "用户ID",
  7377. "name": "userID",
  7378. "in": "query",
  7379. "required": true
  7380. },
  7381. {
  7382. "type": "string",
  7383. "description": "留言信息",
  7384. "name": "message",
  7385. "in": "query",
  7386. "required": true
  7387. },
  7388. {
  7389. "type": "string",
  7390. "description": "联系电话",
  7391. "name": "contactNum",
  7392. "in": "query",
  7393. "required": true
  7394. }
  7395. ],
  7396. "responses": {
  7397. "200": {
  7398. "description": "OK",
  7399. "schema": {
  7400. "$ref": "#/definitions/app.Response"
  7401. }
  7402. },
  7403. "500": {
  7404. "description": "Internal Server Error",
  7405. "schema": {
  7406. "$ref": "#/definitions/app.Response"
  7407. }
  7408. }
  7409. }
  7410. }
  7411. },
  7412. "/User/AddUserFavoriteGoods": {
  7413. "post": {
  7414. "security": [
  7415. {
  7416. "ApiKeyAuth": []
  7417. }
  7418. ],
  7419. "produces": [
  7420. "application/json"
  7421. ],
  7422. "tags": [
  7423. "用户信息"
  7424. ],
  7425. "summary": "添加用户商品收藏信息",
  7426. "parameters": [
  7427. {
  7428. "type": "integer",
  7429. "description": "用户ID",
  7430. "name": "userID",
  7431. "in": "query",
  7432. "required": true
  7433. },
  7434. {
  7435. "type": "integer",
  7436. "description": "商品ID",
  7437. "name": "goodsID",
  7438. "in": "query",
  7439. "required": true
  7440. }
  7441. ],
  7442. "responses": {
  7443. "200": {
  7444. "description": "OK",
  7445. "schema": {
  7446. "$ref": "#/definitions/app.Response"
  7447. }
  7448. },
  7449. "500": {
  7450. "description": "Internal Server Error",
  7451. "schema": {
  7452. "$ref": "#/definitions/app.Response"
  7453. }
  7454. }
  7455. }
  7456. }
  7457. },
  7458. "/User/GetLoginID": {
  7459. "get": {
  7460. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7461. "produces": [
  7462. "application/json"
  7463. ],
  7464. "tags": [
  7465. "用户信息"
  7466. ],
  7467. "summary": "获取登录ID",
  7468. "parameters": [
  7469. {
  7470. "type": "string",
  7471. "description": "登录代码",
  7472. "name": "username",
  7473. "in": "query",
  7474. "required": true
  7475. }
  7476. ],
  7477. "responses": {
  7478. "200": {
  7479. "description": "OK",
  7480. "schema": {
  7481. "$ref": "#/definitions/app.Response"
  7482. }
  7483. },
  7484. "500": {
  7485. "description": "Internal Server Error",
  7486. "schema": {
  7487. "$ref": "#/definitions/app.Response"
  7488. }
  7489. }
  7490. }
  7491. }
  7492. },
  7493. "/User/GetUserAccount": {
  7494. "get": {
  7495. "security": [
  7496. {
  7497. "ApiKeyAuth": []
  7498. }
  7499. ],
  7500. "produces": [
  7501. "application/json"
  7502. ],
  7503. "tags": [
  7504. "用户信息"
  7505. ],
  7506. "summary": "获取用户账号信息",
  7507. "parameters": [
  7508. {
  7509. "type": "integer",
  7510. "description": "用户ID",
  7511. "name": "userID",
  7512. "in": "query",
  7513. "required": true
  7514. }
  7515. ],
  7516. "responses": {
  7517. "200": {
  7518. "description": "OK",
  7519. "schema": {
  7520. "$ref": "#/definitions/models.Useraccount"
  7521. }
  7522. },
  7523. "500": {
  7524. "description": "Internal Server Error",
  7525. "schema": {
  7526. "$ref": "#/definitions/app.Response"
  7527. }
  7528. }
  7529. }
  7530. }
  7531. },
  7532. "/User/GetUserAuthStatus": {
  7533. "get": {
  7534. "security": [
  7535. {
  7536. "ApiKeyAuth": []
  7537. }
  7538. ],
  7539. "produces": [
  7540. "application/json"
  7541. ],
  7542. "tags": [
  7543. "用户信息"
  7544. ],
  7545. "summary": "获取用户实名认证状态",
  7546. "parameters": [
  7547. {
  7548. "type": "integer",
  7549. "description": "用户ID",
  7550. "name": "userID",
  7551. "in": "query",
  7552. "required": true
  7553. }
  7554. ],
  7555. "responses": {
  7556. "200": {
  7557. "description": "OK",
  7558. "schema": {
  7559. "$ref": "#/definitions/app.Response"
  7560. }
  7561. },
  7562. "500": {
  7563. "description": "Internal Server Error",
  7564. "schema": {
  7565. "$ref": "#/definitions/app.Response"
  7566. }
  7567. }
  7568. }
  7569. }
  7570. },
  7571. "/User/LoginQuery": {
  7572. "get": {
  7573. "security": [
  7574. {
  7575. "ApiKeyAuth": []
  7576. }
  7577. ],
  7578. "produces": [
  7579. "application/json"
  7580. ],
  7581. "tags": [
  7582. "用户信息"
  7583. ],
  7584. "summary": "账户登录后信息查询",
  7585. "parameters": [
  7586. {
  7587. "type": "integer",
  7588. "description": "登录账号",
  7589. "name": "loginID",
  7590. "in": "query",
  7591. "required": true
  7592. }
  7593. ],
  7594. "responses": {
  7595. "200": {
  7596. "description": "OK",
  7597. "schema": {
  7598. "$ref": "#/definitions/user.LoginQueryRsp"
  7599. }
  7600. },
  7601. "500": {
  7602. "description": "Internal Server Error",
  7603. "schema": {
  7604. "$ref": "#/definitions/app.Response"
  7605. }
  7606. }
  7607. }
  7608. }
  7609. },
  7610. "/User/QueryMessageBoard": {
  7611. "get": {
  7612. "security": [
  7613. {
  7614. "ApiKeyAuth": []
  7615. }
  7616. ],
  7617. "produces": [
  7618. "application/json"
  7619. ],
  7620. "tags": [
  7621. "用户信息"
  7622. ],
  7623. "summary": "获取用户留言板信息",
  7624. "parameters": [
  7625. {
  7626. "type": "integer",
  7627. "description": "用户ID",
  7628. "name": "userID",
  7629. "in": "query",
  7630. "required": true
  7631. }
  7632. ],
  7633. "responses": {
  7634. "200": {
  7635. "description": "OK",
  7636. "schema": {
  7637. "$ref": "#/definitions/models.Messageboard"
  7638. }
  7639. },
  7640. "500": {
  7641. "description": "Internal Server Error",
  7642. "schema": {
  7643. "$ref": "#/definitions/app.Response"
  7644. }
  7645. }
  7646. }
  7647. }
  7648. },
  7649. "/User/QueryUserFavoriteGoodses": {
  7650. "get": {
  7651. "security": [
  7652. {
  7653. "ApiKeyAuth": []
  7654. }
  7655. ],
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "用户信息"
  7661. ],
  7662. "summary": "获取用户商品收藏信息",
  7663. "parameters": [
  7664. {
  7665. "type": "integer",
  7666. "description": "用户ID",
  7667. "name": "userID",
  7668. "in": "query",
  7669. "required": true
  7670. }
  7671. ],
  7672. "responses": {
  7673. "200": {
  7674. "description": "OK",
  7675. "schema": {
  7676. "$ref": "#/definitions/models.Userfavoritegoods"
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/User/QueryUserInfo": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "用户信息"
  7700. ],
  7701. "summary": "获取用户信息",
  7702. "parameters": [
  7703. {
  7704. "type": "integer",
  7705. "description": "用户ID",
  7706. "name": "userID",
  7707. "in": "query",
  7708. "required": true
  7709. },
  7710. {
  7711. "type": "boolean",
  7712. "description": "是否解密",
  7713. "name": "isDecrypt",
  7714. "in": "query"
  7715. }
  7716. ],
  7717. "responses": {
  7718. "200": {
  7719. "description": "OK",
  7720. "schema": {
  7721. "$ref": "#/definitions/models.Userinfo"
  7722. }
  7723. },
  7724. "500": {
  7725. "description": "Internal Server Error",
  7726. "schema": {
  7727. "$ref": "#/definitions/app.Response"
  7728. }
  7729. }
  7730. }
  7731. }
  7732. },
  7733. "/User/QueryUserReferNum": {
  7734. "get": {
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "用户信息"
  7740. ],
  7741. "summary": "获取用户邀请码",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "用户ID",
  7746. "name": "userID",
  7747. "in": "query",
  7748. "required": true
  7749. }
  7750. ],
  7751. "responses": {
  7752. "200": {
  7753. "description": "OK",
  7754. "schema": {
  7755. "$ref": "#/definitions/app.Response"
  7756. }
  7757. },
  7758. "500": {
  7759. "description": "Internal Server Error",
  7760. "schema": {
  7761. "$ref": "#/definitions/app.Response"
  7762. }
  7763. }
  7764. }
  7765. }
  7766. },
  7767. "/User/RemoveUserFavoriteGoods": {
  7768. "post": {
  7769. "security": [
  7770. {
  7771. "ApiKeyAuth": []
  7772. }
  7773. ],
  7774. "produces": [
  7775. "application/json"
  7776. ],
  7777. "tags": [
  7778. "用户信息"
  7779. ],
  7780. "summary": "移除用户商品收藏信息",
  7781. "parameters": [
  7782. {
  7783. "type": "integer",
  7784. "description": "用户ID",
  7785. "name": "userID",
  7786. "in": "query",
  7787. "required": true
  7788. },
  7789. {
  7790. "type": "integer",
  7791. "description": "商品ID",
  7792. "name": "goodsID",
  7793. "in": "query",
  7794. "required": true
  7795. }
  7796. ],
  7797. "responses": {
  7798. "200": {
  7799. "description": "OK",
  7800. "schema": {
  7801. "$ref": "#/definitions/app.Response"
  7802. }
  7803. },
  7804. "500": {
  7805. "description": "Internal Server Error",
  7806. "schema": {
  7807. "$ref": "#/definitions/app.Response"
  7808. }
  7809. }
  7810. }
  7811. }
  7812. },
  7813. "/User/UpdateUserAccountStatus": {
  7814. "post": {
  7815. "security": [
  7816. {
  7817. "ApiKeyAuth": []
  7818. }
  7819. ],
  7820. "produces": [
  7821. "application/json"
  7822. ],
  7823. "tags": [
  7824. "用户信息"
  7825. ],
  7826. "summary": "更新用户状态",
  7827. "parameters": [
  7828. {
  7829. "type": "integer",
  7830. "description": "用户ID",
  7831. "name": "userID",
  7832. "in": "query",
  7833. "required": true
  7834. },
  7835. {
  7836. "type": "integer",
  7837. "description": "账户状态 - 4:正常 6:注销(停用)",
  7838. "name": "accountStatus",
  7839. "in": "query",
  7840. "required": true
  7841. }
  7842. ],
  7843. "responses": {
  7844. "200": {
  7845. "description": "OK",
  7846. "schema": {
  7847. "$ref": "#/definitions/app.Response"
  7848. }
  7849. },
  7850. "500": {
  7851. "description": "Internal Server Error",
  7852. "schema": {
  7853. "$ref": "#/definitions/app.Response"
  7854. }
  7855. }
  7856. }
  7857. }
  7858. },
  7859. "/WR/GetWRCategoryInfo": {
  7860. "get": {
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "仓单服务"
  7866. ],
  7867. "summary": "获取现货分类信息",
  7868. "responses": {
  7869. "200": {
  7870. "description": "OK",
  7871. "schema": {
  7872. "$ref": "#/definitions/models.WRCategoryTree"
  7873. }
  7874. },
  7875. "500": {
  7876. "description": "Internal Server Error",
  7877. "schema": {
  7878. "$ref": "#/definitions/app.Response"
  7879. }
  7880. }
  7881. }
  7882. }
  7883. },
  7884. "/WRTrade/GetAllDeliveryGoods": {
  7885. "get": {
  7886. "security": [
  7887. {
  7888. "ApiKeyAuth": []
  7889. },
  7890. {
  7891. "ApiKeyAuth": []
  7892. }
  7893. ],
  7894. "produces": [
  7895. "application/json",
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "仓单贸易",
  7900. "仓单贸易"
  7901. ],
  7902. "summary": "获取带仓单分类的种类信息",
  7903. "responses": {
  7904. "200": {
  7905. "description": "OK",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. }
  7919. },
  7920. "definitions": {
  7921. "app.Response": {
  7922. "type": "object",
  7923. "properties": {
  7924. "code": {
  7925. "type": "integer"
  7926. },
  7927. "data": {
  7928. "type": "object"
  7929. },
  7930. "msg": {
  7931. "type": "string"
  7932. },
  7933. "page": {
  7934. "description": "页码",
  7935. "type": "integer"
  7936. },
  7937. "pagesize": {
  7938. "description": "每页条数",
  7939. "type": "integer"
  7940. },
  7941. "total": {
  7942. "description": "总条数",
  7943. "type": "integer"
  7944. }
  7945. }
  7946. },
  7947. "common.ClientMenu": {
  7948. "type": "object",
  7949. "properties": {
  7950. "children": {
  7951. "description": "子菜单列表",
  7952. "type": "array",
  7953. "items": {
  7954. "$ref": "#/definitions/common.ClientMenu"
  7955. }
  7956. },
  7957. "code": {
  7958. "description": "ID",
  7959. "type": "string"
  7960. },
  7961. "isshow": {
  7962. "description": "是否显示",
  7963. "type": "boolean"
  7964. },
  7965. "rulekey": {
  7966. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7967. "type": "string"
  7968. },
  7969. "sort": {
  7970. "description": "排序",
  7971. "type": "integer"
  7972. },
  7973. "title": {
  7974. "description": "标题",
  7975. "type": "string"
  7976. },
  7977. "type": {
  7978. "description": "类型,1:菜单 2:按钮",
  7979. "type": "integer"
  7980. }
  7981. }
  7982. },
  7983. "common.QueryImageConfigsRsp": {
  7984. "type": "object",
  7985. "required": [
  7986. "configid"
  7987. ],
  7988. "properties": {
  7989. "areauserid": {
  7990. "description": "所属机构ID",
  7991. "type": "integer"
  7992. },
  7993. "configid": {
  7994. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7995. "type": "integer"
  7996. },
  7997. "createdate": {
  7998. "description": "创建时间",
  7999. "type": "string"
  8000. },
  8001. "creatorid": {
  8002. "description": "创建人",
  8003. "type": "integer"
  8004. },
  8005. "imagepath": {
  8006. "description": "图片",
  8007. "type": "string"
  8008. },
  8009. "imagetype": {
  8010. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8011. "type": "integer"
  8012. },
  8013. "isshow": {
  8014. "description": "是否展示 - 0:不展示 1:展示",
  8015. "type": "integer"
  8016. },
  8017. "marketid": {
  8018. "description": "市场ID",
  8019. "type": "integer"
  8020. },
  8021. "modifierid": {
  8022. "description": "操作人",
  8023. "type": "integer"
  8024. },
  8025. "sort": {
  8026. "description": "排序",
  8027. "type": "integer"
  8028. },
  8029. "title": {
  8030. "description": "标题",
  8031. "type": "string"
  8032. },
  8033. "trademode": {
  8034. "description": "交易模式",
  8035. "type": "integer"
  8036. },
  8037. "updatedate": {
  8038. "description": "修改时间",
  8039. "type": "string"
  8040. },
  8041. "url": {
  8042. "description": "链接(地址或商品ID)",
  8043. "type": "string"
  8044. },
  8045. "urltype": {
  8046. "description": "链接类型 - 1:直接地址 2:商品ID",
  8047. "type": "integer"
  8048. }
  8049. }
  8050. },
  8051. "common.QueryNoticeRsp": {
  8052. "type": "object",
  8053. "required": [
  8054. "autoid"
  8055. ],
  8056. "properties": {
  8057. "auditoruserid": {
  8058. "description": "审核人",
  8059. "type": "integer"
  8060. },
  8061. "auditremark": {
  8062. "description": "审核备注",
  8063. "type": "string"
  8064. },
  8065. "audittime": {
  8066. "description": "审核日期",
  8067. "type": "string"
  8068. },
  8069. "autoid": {
  8070. "description": "自增ID",
  8071. "type": "integer"
  8072. },
  8073. "content": {
  8074. "description": "内容",
  8075. "type": "string"
  8076. },
  8077. "createtime": {
  8078. "description": "创建时间",
  8079. "type": "string"
  8080. },
  8081. "creatorid": {
  8082. "description": "建仓人",
  8083. "type": "integer"
  8084. },
  8085. "endtime": {
  8086. "description": "结束时间",
  8087. "type": "string"
  8088. },
  8089. "istop": {
  8090. "description": "是否置顶 - 0:不置顶 1:置顶",
  8091. "type": "integer"
  8092. },
  8093. "msgiconurl": {
  8094. "description": "消息图标Url",
  8095. "type": "string"
  8096. },
  8097. "msgtype": {
  8098. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8099. "type": "integer"
  8100. },
  8101. "publisher": {
  8102. "description": "消息发布者",
  8103. "type": "string"
  8104. },
  8105. "readed": {
  8106. "description": "是否已读",
  8107. "type": "boolean"
  8108. },
  8109. "scheduletime": {
  8110. "description": "计划发送时间",
  8111. "type": "string"
  8112. },
  8113. "sendtype": {
  8114. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8115. "type": "integer"
  8116. },
  8117. "sentstatus": {
  8118. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8119. "type": "integer"
  8120. },
  8121. "title": {
  8122. "description": "标题",
  8123. "type": "string"
  8124. },
  8125. "userid": {
  8126. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8127. "type": "integer"
  8128. }
  8129. }
  8130. },
  8131. "common.QueryProvincesAndCitiesRsp": {
  8132. "type": "object",
  8133. "properties": {
  8134. "cities": {
  8135. "description": "市",
  8136. "type": "array",
  8137. "items": {
  8138. "$ref": "#/definitions/models.Division"
  8139. }
  8140. },
  8141. "province": {
  8142. "description": "省",
  8143. "type": "object",
  8144. "$ref": "#/definitions/models.Division"
  8145. }
  8146. }
  8147. },
  8148. "common.QueryTableDefineRsp": {
  8149. "type": "object",
  8150. "required": [
  8151. "tablekey"
  8152. ],
  8153. "properties": {
  8154. "columns": {
  8155. "description": "列头信息数组",
  8156. "type": "array",
  8157. "items": {
  8158. "$ref": "#/definitions/models.Tablecolumnconfig"
  8159. }
  8160. },
  8161. "remark": {
  8162. "description": "Remark",
  8163. "type": "string"
  8164. },
  8165. "tabelmenu": {
  8166. "description": "列表菜单",
  8167. "type": "string"
  8168. },
  8169. "tablekey": {
  8170. "description": "列表Key",
  8171. "type": "string"
  8172. },
  8173. "tablename": {
  8174. "description": "列表名称",
  8175. "type": "string"
  8176. },
  8177. "tabletype": {
  8178. "description": "列表类型 - 1:管理端 2:终端",
  8179. "type": "integer"
  8180. }
  8181. }
  8182. },
  8183. "common.QueryTraderMenuRsp": {
  8184. "type": "object",
  8185. "properties": {
  8186. "OperationMenu": {
  8187. "description": "功能菜单",
  8188. "type": "array",
  8189. "items": {
  8190. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8191. }
  8192. },
  8193. "QuoteMenu": {
  8194. "description": "报价牌分类菜单",
  8195. "type": "array",
  8196. "items": {
  8197. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8198. }
  8199. }
  8200. }
  8201. },
  8202. "cptrade.Cptradepositioncancel": {
  8203. "type": "object",
  8204. "required": [
  8205. "cancelid"
  8206. ],
  8207. "properties": {
  8208. "accountid": {
  8209. "description": "申请人账户ID",
  8210. "type": "integer"
  8211. },
  8212. "applystatus": {
  8213. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8214. "type": "integer"
  8215. },
  8216. "applytime": {
  8217. "description": "申请时间",
  8218. "type": "string"
  8219. },
  8220. "cancelid": {
  8221. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8222. "type": "integer"
  8223. },
  8224. "cancelqty": {
  8225. "description": "注销数量",
  8226. "type": "integer"
  8227. },
  8228. "createtime": {
  8229. "description": "创建时间",
  8230. "type": "string"
  8231. },
  8232. "creatorid": {
  8233. "description": "创建人ID",
  8234. "type": "integer"
  8235. },
  8236. "creatorname": {
  8237. "description": "创建人",
  8238. "type": "string"
  8239. },
  8240. "goodscode": {
  8241. "description": "订单商品代码",
  8242. "type": "string"
  8243. },
  8244. "goodsid": {
  8245. "description": "商品ID",
  8246. "type": "integer"
  8247. },
  8248. "goodsname": {
  8249. "description": "订单商品名称",
  8250. "type": "string"
  8251. },
  8252. "goodunit": {
  8253. "description": "报价单位",
  8254. "type": "string"
  8255. },
  8256. "handlestatus": {
  8257. "description": "处理状态",
  8258. "type": "integer"
  8259. },
  8260. "marketid": {
  8261. "description": "市场ID",
  8262. "type": "integer"
  8263. },
  8264. "marketname": {
  8265. "description": "市场名称",
  8266. "type": "string"
  8267. },
  8268. "tradedate": {
  8269. "description": "交易日(yyyyMMdd)",
  8270. "type": "string"
  8271. },
  8272. "userid": {
  8273. "description": "申请人ID",
  8274. "type": "integer"
  8275. }
  8276. }
  8277. },
  8278. "cptrade.Cptradepresaleapply": {
  8279. "type": "object",
  8280. "required": [
  8281. "applyid"
  8282. ],
  8283. "properties": {
  8284. "accountid": {
  8285. "description": "申请人账户ID",
  8286. "type": "integer"
  8287. },
  8288. "applyid": {
  8289. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8290. "type": "integer"
  8291. },
  8292. "applyremark": {
  8293. "description": "申请备注",
  8294. "type": "string"
  8295. },
  8296. "applystatus": {
  8297. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8298. "type": "integer"
  8299. },
  8300. "applytime": {
  8301. "description": "申请时间",
  8302. "type": "string"
  8303. },
  8304. "attachmenturl": {
  8305. "description": "附件地址",
  8306. "type": "string"
  8307. },
  8308. "endtime": {
  8309. "description": "预售结束时间",
  8310. "type": "string"
  8311. },
  8312. "goodscode": {
  8313. "description": "商品代码",
  8314. "type": "string"
  8315. },
  8316. "goodsid": {
  8317. "description": "商品ID",
  8318. "type": "integer"
  8319. },
  8320. "goodsname": {
  8321. "description": "商品名称",
  8322. "type": "string"
  8323. },
  8324. "goodunit": {
  8325. "description": "报价单位",
  8326. "type": "string"
  8327. },
  8328. "handlestatus": {
  8329. "description": "处理状态",
  8330. "type": "integer"
  8331. },
  8332. "marketid": {
  8333. "description": "预售市场ID",
  8334. "type": "integer"
  8335. },
  8336. "marketname": {
  8337. "description": "预售市场名称",
  8338. "type": "string"
  8339. },
  8340. "presaleqty": {
  8341. "description": "预售数量",
  8342. "type": "integer"
  8343. },
  8344. "relatedgoodscode": {
  8345. "description": "关联交易合约代码",
  8346. "type": "string"
  8347. },
  8348. "relatedgoodsid": {
  8349. "description": "关联交易合约ID",
  8350. "type": "integer"
  8351. },
  8352. "relatedgoodsname": {
  8353. "description": "关联交易合约名称",
  8354. "type": "string"
  8355. },
  8356. "starttime": {
  8357. "description": "预售开始时间",
  8358. "type": "string"
  8359. },
  8360. "tradedate": {
  8361. "description": "交易日(yyyyMMdd)",
  8362. "type": "string"
  8363. },
  8364. "trademode": {
  8365. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8366. "type": "integer"
  8367. },
  8368. "userid": {
  8369. "description": "申请人ID",
  8370. "type": "integer"
  8371. }
  8372. }
  8373. },
  8374. "cptrade.Cptradeusergoodsdata": {
  8375. "type": "object",
  8376. "required": [
  8377. "accountid",
  8378. "goodsid"
  8379. ],
  8380. "properties": {
  8381. "EnabledQty": {
  8382. "description": "可用量",
  8383. "type": "integer"
  8384. },
  8385. "GoodsCode": {
  8386. "description": "订单商品代码",
  8387. "type": "string"
  8388. },
  8389. "GoodsName": {
  8390. "description": "订单商品名称",
  8391. "type": "string"
  8392. },
  8393. "WRStandardCode": {
  8394. "description": "仓单标准代码",
  8395. "type": "string"
  8396. },
  8397. "WRStandardName": {
  8398. "description": "仓单标准名称",
  8399. "type": "string"
  8400. },
  8401. "accountid": {
  8402. "description": "账户ID",
  8403. "type": "integer"
  8404. },
  8405. "cancelqty": {
  8406. "description": "注销量",
  8407. "type": "integer"
  8408. },
  8409. "curpresaleqty": {
  8410. "description": "当前预售量",
  8411. "type": "integer"
  8412. },
  8413. "deliveryqty": {
  8414. "description": "交割量",
  8415. "type": "integer"
  8416. },
  8417. "freezeamount": {
  8418. "description": "冻结金额",
  8419. "type": "number"
  8420. },
  8421. "goodsid": {
  8422. "description": "商品ID",
  8423. "type": "integer"
  8424. },
  8425. "goodunit": {
  8426. "description": "报价单位",
  8427. "type": "string"
  8428. },
  8429. "hasspotfreeze": {
  8430. "description": "是否有现货冻结 - 0:否 1:有",
  8431. "type": "integer"
  8432. },
  8433. "inqty": {
  8434. "description": "转入量(总数量)",
  8435. "type": "integer"
  8436. },
  8437. "marketid": {
  8438. "description": "市场ID",
  8439. "type": "integer"
  8440. },
  8441. "presaledamount": {
  8442. "description": "已预售总金额",
  8443. "type": "integer"
  8444. },
  8445. "presaledqty": {
  8446. "description": "已预售量",
  8447. "type": "integer"
  8448. },
  8449. "userid": {
  8450. "description": "用户ID",
  8451. "type": "integer"
  8452. },
  8453. "wrstandardid": {
  8454. "description": "仓单标准ID",
  8455. "type": "integer"
  8456. }
  8457. }
  8458. },
  8459. "cptrade.QueryCPTradeMyBidRsp": {
  8460. "type": "object",
  8461. "required": [
  8462. "accountid",
  8463. "goodsid",
  8464. "marketid",
  8465. "orderid",
  8466. "orderqty",
  8467. "ordertime",
  8468. "tradeprice",
  8469. "tradeqty"
  8470. ],
  8471. "properties": {
  8472. "accountid": {
  8473. "description": "账户ID[报价币种]",
  8474. "type": "integer"
  8475. },
  8476. "goodsid": {
  8477. "description": "商品ID",
  8478. "type": "integer"
  8479. },
  8480. "goodunit": {
  8481. "description": "报价单位",
  8482. "type": "string"
  8483. },
  8484. "marketid": {
  8485. "description": "市场ID",
  8486. "type": "integer"
  8487. },
  8488. "orderid": {
  8489. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8490. "type": "integer"
  8491. },
  8492. "orderprice": {
  8493. "description": "委托价格",
  8494. "type": "number"
  8495. },
  8496. "orderqty": {
  8497. "description": "委托数量",
  8498. "type": "integer"
  8499. },
  8500. "ordertime": {
  8501. "description": "委托时间",
  8502. "type": "string"
  8503. },
  8504. "ordertotalprice": {
  8505. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8506. "type": "number"
  8507. },
  8508. "ordertotalweight": {
  8509. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8510. "type": "integer"
  8511. },
  8512. "totaltotalprice": {
  8513. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8514. "type": "number"
  8515. },
  8516. "tradeprice": {
  8517. "description": "成交价格",
  8518. "type": "number"
  8519. },
  8520. "tradeqty": {
  8521. "description": "成交数量",
  8522. "type": "integer"
  8523. }
  8524. }
  8525. },
  8526. "cptrade.QueryCPTradeOrderDetailRsq": {
  8527. "type": "object",
  8528. "required": [
  8529. "accountid",
  8530. "buildtype",
  8531. "buyorsell",
  8532. "goodsid",
  8533. "marketid",
  8534. "memberuserid",
  8535. "operatetype",
  8536. "orderqty",
  8537. "ordertime",
  8538. "pricemode",
  8539. "strorderid",
  8540. "tradedate",
  8541. "validtype"
  8542. ],
  8543. "properties": {
  8544. "accountid": {
  8545. "description": "账户ID[报价币种]",
  8546. "type": "integer"
  8547. },
  8548. "buildtype": {
  8549. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8550. "type": "integer"
  8551. },
  8552. "buyorsell": {
  8553. "description": "买卖 - 0:买 1:卖",
  8554. "type": "integer"
  8555. },
  8556. "cancelorderid": {
  8557. "description": "撤单单号(撤单时填写)",
  8558. "type": "integer"
  8559. },
  8560. "cancelqty": {
  8561. "description": "撤单数量",
  8562. "type": "integer"
  8563. },
  8564. "clientordertime": {
  8565. "description": "客户端委托时间",
  8566. "type": "string"
  8567. },
  8568. "clientticket": {
  8569. "description": "客户端流水号",
  8570. "type": "string"
  8571. },
  8572. "clienttype": {
  8573. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8574. "type": "integer"
  8575. },
  8576. "closeexchagechargevalue": {
  8577. "description": "平仓交易所手续费设置值",
  8578. "type": "number"
  8579. },
  8580. "closefeealgorithm": {
  8581. "description": "平仓手续费收取方式 1:比率 2:固定",
  8582. "type": "integer"
  8583. },
  8584. "closefreezecharge": {
  8585. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8586. "type": "number"
  8587. },
  8588. "closememberchargevalue": {
  8589. "description": "平仓会员手续费设置值",
  8590. "type": "number"
  8591. },
  8592. "closeqty": {
  8593. "description": "平仓数量(先建后平操作 需要记录)",
  8594. "type": "integer"
  8595. },
  8596. "closetradeqty": {
  8597. "description": "平仓成交数量(先建后平操作,需要记录)",
  8598. "type": "integer"
  8599. },
  8600. "closeunfreezecharge": {
  8601. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8602. "type": "number"
  8603. },
  8604. "delistingtype": {
  8605. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8606. "type": "integer"
  8607. },
  8608. "freezecharge": {
  8609. "description": "冻结手续费",
  8610. "type": "number"
  8611. },
  8612. "freezemargin": {
  8613. "description": "冻结保证金(冻结交易金额)",
  8614. "type": "number"
  8615. },
  8616. "gcaccountid": {
  8617. "description": "账户ID[合约币种]",
  8618. "type": "integer"
  8619. },
  8620. "goodsid": {
  8621. "description": "商品ID",
  8622. "type": "integer"
  8623. },
  8624. "isconfirmexercise": {
  8625. "description": "是否确认行权- 0:否 1:是",
  8626. "type": "integer"
  8627. },
  8628. "ispreexercise": {
  8629. "description": "是否预申报- 0:否 1:是",
  8630. "type": "integer"
  8631. },
  8632. "listingselecttype": {
  8633. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8634. "type": "integer"
  8635. },
  8636. "marginalgorithm": {
  8637. "description": "保证金收取方式 1:比率 2:固定",
  8638. "type": "integer"
  8639. },
  8640. "marginvalue": {
  8641. "description": "即市保证金设置值",
  8642. "type": "number"
  8643. },
  8644. "marketid": {
  8645. "description": "市场ID",
  8646. "type": "integer"
  8647. },
  8648. "marketmaxsub": {
  8649. "description": "市价最大偏移范围",
  8650. "type": "number"
  8651. },
  8652. "memberuserid": {
  8653. "description": "所属会员UserID",
  8654. "type": "integer"
  8655. },
  8656. "openexchagechargevalue": {
  8657. "description": "建仓交易所手续费设置值",
  8658. "type": "number"
  8659. },
  8660. "openfeealgorithm": {
  8661. "description": "建仓手续费收取方式 1:比率 2:固定",
  8662. "type": "integer"
  8663. },
  8664. "openfreezecharge": {
  8665. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8666. "type": "number"
  8667. },
  8668. "openmemberchargevalue": {
  8669. "description": "建仓会员手续费设置值",
  8670. "type": "number"
  8671. },
  8672. "openqty": {
  8673. "description": "开仓数量(先建后平操作,需要记录)",
  8674. "type": "integer"
  8675. },
  8676. "opentradeqty": {
  8677. "description": "开仓成交数量(先建后平操作,需要记录)",
  8678. "type": "integer"
  8679. },
  8680. "openunfreezecharge": {
  8681. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8682. "type": "number"
  8683. },
  8684. "operatetype": {
  8685. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8686. "type": "integer"
  8687. },
  8688. "operatorid": {
  8689. "description": "登录账号(LoginID)",
  8690. "type": "integer"
  8691. },
  8692. "optiontype": {
  8693. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8694. "type": "integer"
  8695. },
  8696. "orderprice": {
  8697. "description": "委托价格",
  8698. "type": "number"
  8699. },
  8700. "orderqty": {
  8701. "description": "委托数量",
  8702. "type": "integer"
  8703. },
  8704. "ordersrc": {
  8705. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8706. "type": "integer"
  8707. },
  8708. "orderstatus": {
  8709. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8710. "type": "integer"
  8711. },
  8712. "ordertime": {
  8713. "description": "委托时间",
  8714. "type": "string"
  8715. },
  8716. "preexerciseprice": {
  8717. "description": "预申报价格",
  8718. "type": "number"
  8719. },
  8720. "premium": {
  8721. "description": "权利金",
  8722. "type": "number"
  8723. },
  8724. "preorderid": {
  8725. "description": "关联预埋单号(止盈止损单时填写)",
  8726. "type": "integer"
  8727. },
  8728. "pricemode": {
  8729. "description": "取价方式 - 1:市价 2: 限价",
  8730. "type": "integer"
  8731. },
  8732. "quoteid": {
  8733. "description": "报价单ID",
  8734. "type": "integer"
  8735. },
  8736. "relatedid": {
  8737. "description": "关联单号(交割单)",
  8738. "type": "integer"
  8739. },
  8740. "retcode": {
  8741. "description": "错误代码",
  8742. "type": "integer"
  8743. },
  8744. "sessionid": {
  8745. "description": "会话ID",
  8746. "type": "integer"
  8747. },
  8748. "strorderid": {
  8749. "description": "委托单号",
  8750. "type": "string"
  8751. },
  8752. "tradedate": {
  8753. "description": "交易日(yyyyMMdd)",
  8754. "type": "string"
  8755. },
  8756. "tradeproperty": {
  8757. "description": "交易属性",
  8758. "type": "integer"
  8759. },
  8760. "tradeqty": {
  8761. "description": "成交数量",
  8762. "type": "integer"
  8763. },
  8764. "unfreezecharge": {
  8765. "description": "解冻手续费",
  8766. "type": "number"
  8767. },
  8768. "unfreezemargin": {
  8769. "description": "解冻保证金",
  8770. "type": "number"
  8771. },
  8772. "updatetime": {
  8773. "description": "更新时间",
  8774. "type": "string"
  8775. },
  8776. "uuid": {
  8777. "description": "发起端唯一id",
  8778. "type": "string"
  8779. },
  8780. "validtime": {
  8781. "description": "有效期限",
  8782. "type": "string"
  8783. },
  8784. "validtype": {
  8785. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8786. "type": "integer"
  8787. },
  8788. "volumetype": {
  8789. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8790. "type": "integer"
  8791. }
  8792. }
  8793. },
  8794. "cptrade.QueryMyCPTradeGoodsRsp": {
  8795. "type": "object",
  8796. "required": [
  8797. "goodscode",
  8798. "goodsid",
  8799. "goodsname",
  8800. "marketid",
  8801. "relatedgoodscode",
  8802. "relatedgoodsname"
  8803. ],
  8804. "properties": {
  8805. "accountid": {
  8806. "description": "卖方账户ID",
  8807. "type": "integer"
  8808. },
  8809. "agreeunit": {
  8810. "description": "合约单位",
  8811. "type": "number"
  8812. },
  8813. "applyid": {
  8814. "description": "关联申请ID",
  8815. "type": "integer"
  8816. },
  8817. "attachmenturl": {
  8818. "description": "附件地址",
  8819. "type": "string"
  8820. },
  8821. "createtime": {
  8822. "description": "创建时间",
  8823. "type": "string"
  8824. },
  8825. "currencyid": {
  8826. "description": "报价货币ID",
  8827. "type": "integer"
  8828. },
  8829. "decimalplace": {
  8830. "description": "报价小数位",
  8831. "type": "integer"
  8832. },
  8833. "endtime": {
  8834. "description": "预售结束时间",
  8835. "type": "string"
  8836. },
  8837. "floorprice": {
  8838. "description": "底价[大宗式竞拍]",
  8839. "type": "number"
  8840. },
  8841. "goodscode": {
  8842. "description": "商品代码(预售)",
  8843. "type": "string"
  8844. },
  8845. "goodsdetail": {
  8846. "description": "详情[大宗]",
  8847. "type": "string"
  8848. },
  8849. "goodsid": {
  8850. "description": "商品ID(自增ID SEQ_GOODS)",
  8851. "type": "integer"
  8852. },
  8853. "goodsname": {
  8854. "description": "商品名称(预售)",
  8855. "type": "string"
  8856. },
  8857. "goodunit": {
  8858. "description": "报价单位",
  8859. "type": "string"
  8860. },
  8861. "goodunitid": {
  8862. "description": "报价单位ID",
  8863. "type": "integer"
  8864. },
  8865. "marketid": {
  8866. "description": "所属市场ID",
  8867. "type": "integer"
  8868. },
  8869. "marketname": {
  8870. "description": "预售市场名称",
  8871. "type": "string"
  8872. },
  8873. "presaledamount": {
  8874. "description": "已预售总金额(预售结束时更新)",
  8875. "type": "number"
  8876. },
  8877. "presaledqty": {
  8878. "description": "已预售量(预售结束时更新)",
  8879. "type": "integer"
  8880. },
  8881. "presalemode": {
  8882. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8883. "type": "integer"
  8884. },
  8885. "presaleqty": {
  8886. "description": "预售数量",
  8887. "type": "integer"
  8888. },
  8889. "refprice": {
  8890. "description": "参考价格[一口价]",
  8891. "type": "number"
  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. "relatedmarketid": {
  8906. "description": "关联交易合约市场ID",
  8907. "type": "integer"
  8908. },
  8909. "sellstatus": {
  8910. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8911. "type": "integer"
  8912. },
  8913. "startprice": {
  8914. "description": "起拍价[大宗式竞拍]",
  8915. "type": "number"
  8916. },
  8917. "starttime": {
  8918. "description": "预售开始时间",
  8919. "type": "string"
  8920. },
  8921. "tradedate": {
  8922. "description": "交易日(yyyyMMdd)",
  8923. "type": "string"
  8924. },
  8925. "tradeprice": {
  8926. "description": "成交价[大宗]",
  8927. "type": "number"
  8928. },
  8929. "userid": {
  8930. "description": "卖方用户ID",
  8931. "type": "integer"
  8932. }
  8933. }
  8934. },
  8935. "cptrade.QueryPresaleGoodsExRsp": {
  8936. "type": "object",
  8937. "required": [
  8938. "goodsid"
  8939. ],
  8940. "properties": {
  8941. "attachmenturl": {
  8942. "description": "附件地址",
  8943. "type": "string"
  8944. },
  8945. "createtime": {
  8946. "description": "创建时间",
  8947. "type": "string"
  8948. },
  8949. "endtime": {
  8950. "description": "预售结束时间",
  8951. "type": "string"
  8952. },
  8953. "floorprice": {
  8954. "description": "底价[大宗式竞拍]",
  8955. "type": "number"
  8956. },
  8957. "goodsdetail": {
  8958. "description": "详情[大宗]",
  8959. "type": "string"
  8960. },
  8961. "goodsid": {
  8962. "description": "商品ID(预售)",
  8963. "type": "integer"
  8964. },
  8965. "goodunit": {
  8966. "description": "报价单位",
  8967. "type": "string"
  8968. },
  8969. "marketid": {
  8970. "description": "预售市场ID - 根据预售模式选择市场",
  8971. "type": "integer"
  8972. },
  8973. "presaledamount": {
  8974. "description": "已预售总金额(预售结束时更新)",
  8975. "type": "number"
  8976. },
  8977. "presaledqty": {
  8978. "description": "已预售量(预售结束时更新)",
  8979. "type": "integer"
  8980. },
  8981. "presalemode": {
  8982. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8983. "type": "integer"
  8984. },
  8985. "presaleqty": {
  8986. "description": "预售数量",
  8987. "type": "integer"
  8988. },
  8989. "refprice": {
  8990. "description": "参考价格[一口价]",
  8991. "type": "number"
  8992. },
  8993. "relatedgoodsid": {
  8994. "description": "关联交易合约ID",
  8995. "type": "integer"
  8996. },
  8997. "relatedmarketid": {
  8998. "description": "关联交易合约市场ID",
  8999. "type": "integer"
  9000. },
  9001. "sellstatus": {
  9002. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9003. "type": "integer"
  9004. },
  9005. "startprice": {
  9006. "description": "起拍价[大宗式竞拍]",
  9007. "type": "number"
  9008. },
  9009. "starttime": {
  9010. "description": "预售开始时间",
  9011. "type": "string"
  9012. },
  9013. "tradedate": {
  9014. "description": "交易日(yyyyMMdd)",
  9015. "type": "string"
  9016. },
  9017. "tradeprice": {
  9018. "description": "成交价[大宗]",
  9019. "type": "number"
  9020. }
  9021. }
  9022. },
  9023. "delivery.QueryDeliveryRelationRsp": {
  9024. "type": "object",
  9025. "required": [
  9026. "begindate",
  9027. "enddate",
  9028. "goodsid",
  9029. "mindeliveryqty",
  9030. "xdeliveryratio"
  9031. ],
  9032. "properties": {
  9033. "begindate": {
  9034. "description": "起始日期(yyyyMMdd)",
  9035. "type": "string"
  9036. },
  9037. "buytemplateid": {
  9038. "description": "买履约计划模板ID",
  9039. "type": "integer"
  9040. },
  9041. "deliverygoodscode": {
  9042. "description": "品种代码",
  9043. "type": "string"
  9044. },
  9045. "deliverygoodsid": {
  9046. "description": "交割商品",
  9047. "type": "integer"
  9048. },
  9049. "deliverygoodsname": {
  9050. "description": "品种名称",
  9051. "type": "string"
  9052. },
  9053. "deliverymode": {
  9054. "description": "交割方式 - 1:点选式 2:申报式",
  9055. "type": "integer"
  9056. },
  9057. "deliverypricerule": {
  9058. "description": "交割价规则- 1:行情价 2:建仓价",
  9059. "type": "integer"
  9060. },
  9061. "deliverytype": {
  9062. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9063. "type": "integer"
  9064. },
  9065. "enddate": {
  9066. "description": "结束日期(yyyyMMdd)",
  9067. "type": "string"
  9068. },
  9069. "goodscode": {
  9070. "description": "商品代码",
  9071. "type": "string"
  9072. },
  9073. "goodsid": {
  9074. "description": "交易合约ID",
  9075. "type": "integer"
  9076. },
  9077. "goodsname": {
  9078. "description": "商品名称",
  9079. "type": "string"
  9080. },
  9081. "marketid": {
  9082. "description": "市场ID",
  9083. "type": "integer"
  9084. },
  9085. "mindeliveryqty": {
  9086. "description": "最小交割系数(K)",
  9087. "type": "integer"
  9088. },
  9089. "p2deliveryprice": {
  9090. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9091. "type": "number"
  9092. },
  9093. "p2deliveryratio": {
  9094. "description": "P2合约系数(p)",
  9095. "type": "integer"
  9096. },
  9097. "p2goodsid": {
  9098. "description": "P2合约ID",
  9099. "type": "integer"
  9100. },
  9101. "p2pricemode": {
  9102. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9103. "type": "integer"
  9104. },
  9105. "pdeliveryprice": {
  9106. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9107. "type": "number"
  9108. },
  9109. "pdeliveryratio": {
  9110. "description": "P合约系数(n)",
  9111. "type": "integer"
  9112. },
  9113. "pgoodsid": {
  9114. "description": "P合约ID",
  9115. "type": "integer"
  9116. },
  9117. "ppricemode": {
  9118. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9119. "type": "integer"
  9120. },
  9121. "rratio": {
  9122. "description": "兑换系数(R)",
  9123. "type": "integer"
  9124. },
  9125. "rratio1": {
  9126. "description": "兑换系数(交易合约)(R1)",
  9127. "type": "integer"
  9128. },
  9129. "rratio2": {
  9130. "description": "兑换系数(仓单标准)(R2)",
  9131. "type": "integer"
  9132. },
  9133. "selltemplateid": {
  9134. "description": "卖履约计划模板ID",
  9135. "type": "integer"
  9136. },
  9137. "wrstandardid": {
  9138. "description": "仓单标准ID",
  9139. "type": "integer"
  9140. },
  9141. "xdeliveryratio": {
  9142. "description": "交易合约系数(m)",
  9143. "type": "integer"
  9144. }
  9145. }
  9146. },
  9147. "ermcp.ExposureDetailRsp": {
  9148. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9149. },
  9150. "ermcp.ExposureHedgePosDetailRsp": {
  9151. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9152. },
  9153. "ermcp.ExposureHedgePositionRsp": {
  9154. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9155. },
  9156. "ermcp.ExposureSpotDetailRsp": {
  9157. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9158. },
  9159. "ermcp.ExposureSpotRsp": {
  9160. "$ref": "#/definitions/models.AreaSpotModel"
  9161. },
  9162. "ermcp.HisExposureRsp": {
  9163. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9164. },
  9165. "ermcp.PendingAuditCntRsp": {
  9166. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9167. },
  9168. "ermcp.QryAreaStockApplyRsp": {
  9169. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  9170. },
  9171. "ermcp.QryAvalidGPRsp": {
  9172. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9173. },
  9174. "ermcp.QryBusinessDjRsp": {
  9175. "type": "object",
  9176. "properties": {
  9177. "amount": {
  9178. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9179. "type": "number"
  9180. },
  9181. "applyid": {
  9182. "description": "申请人",
  9183. "type": "string"
  9184. },
  9185. "applyname": {
  9186. "description": "申请人名称",
  9187. "type": "string"
  9188. },
  9189. "applystatus": {
  9190. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9191. "type": "integer"
  9192. },
  9193. "applytime": {
  9194. "description": "申请时间",
  9195. "type": "string"
  9196. },
  9197. "attachurl": {
  9198. "description": "附件",
  9199. "type": "string"
  9200. },
  9201. "auditid": {
  9202. "description": "审核人ID",
  9203. "type": "string"
  9204. },
  9205. "auditname": {
  9206. "description": "审核人名称",
  9207. "type": "string"
  9208. },
  9209. "audittime": {
  9210. "description": "审核时间",
  9211. "type": "string"
  9212. },
  9213. "buyusername": {
  9214. "description": "采购方名称",
  9215. "type": "string"
  9216. },
  9217. "contractno": {
  9218. "description": "合同编号",
  9219. "type": "string"
  9220. },
  9221. "contractstatus": {
  9222. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9223. "type": "integer"
  9224. },
  9225. "contracttype": {
  9226. "description": "现货合同类型 - 1:采购 -1:销售",
  9227. "type": "integer"
  9228. },
  9229. "deliverygoodscode": {
  9230. "description": "现货品种代码",
  9231. "type": "string"
  9232. },
  9233. "deliverygoodsid": {
  9234. "description": "现货商品ID",
  9235. "type": "integer"
  9236. },
  9237. "deliverygoodsname": {
  9238. "description": "现货品种名称",
  9239. "type": "string"
  9240. },
  9241. "enumdicname": {
  9242. "description": "单位名称",
  9243. "type": "string"
  9244. },
  9245. "goodscode": {
  9246. "description": "点价合约",
  9247. "type": "string"
  9248. },
  9249. "goodsname": {
  9250. "description": "商品名称",
  9251. "type": "string"
  9252. },
  9253. "operateapplyid": {
  9254. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9255. "type": "string"
  9256. },
  9257. "operateapplytype": {
  9258. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9259. "type": "integer"
  9260. },
  9261. "pricedPrice": {
  9262. "description": "点价价格(非必填)",
  9263. "type": "number"
  9264. },
  9265. "pricedQty": {
  9266. "description": "点价数量(非必填)",
  9267. "type": "number"
  9268. },
  9269. "pricemove": {
  9270. "description": "升贴水",
  9271. "type": "number"
  9272. },
  9273. "pricetype": {
  9274. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9275. "type": "integer"
  9276. },
  9277. "relatedid": {
  9278. "description": "现货合同ID",
  9279. "type": "string"
  9280. },
  9281. "sellusername": {
  9282. "description": "销售方名字",
  9283. "type": "string"
  9284. },
  9285. "userid": {
  9286. "description": "用户ID",
  9287. "type": "integer"
  9288. },
  9289. "wrstandardcode": {
  9290. "description": "品类代码",
  9291. "type": "string"
  9292. },
  9293. "wrstandardid": {
  9294. "description": "品类id",
  9295. "type": "integer"
  9296. },
  9297. "wrstandardname": {
  9298. "description": "品类名称",
  9299. "type": "string"
  9300. }
  9301. }
  9302. },
  9303. "ermcp.QryBussinessFpRsp": {
  9304. "type": "object",
  9305. "properties": {
  9306. "applyid": {
  9307. "description": "申请人",
  9308. "type": "string"
  9309. },
  9310. "applyname": {
  9311. "description": "申请人名称",
  9312. "type": "string"
  9313. },
  9314. "applystatus": {
  9315. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9316. "type": "integer"
  9317. },
  9318. "applytime": {
  9319. "description": "申请时间",
  9320. "type": "string"
  9321. },
  9322. "attachurl": {
  9323. "description": "附件",
  9324. "type": "string"
  9325. },
  9326. "auditid": {
  9327. "description": "审核人ID",
  9328. "type": "string"
  9329. },
  9330. "auditname": {
  9331. "description": "审核人名称",
  9332. "type": "string"
  9333. },
  9334. "audittime": {
  9335. "description": "审核时间",
  9336. "type": "string"
  9337. },
  9338. "buyusername": {
  9339. "description": "采购方名称",
  9340. "type": "string"
  9341. },
  9342. "contractno": {
  9343. "description": "合同编号",
  9344. "type": "string"
  9345. },
  9346. "contractstatus": {
  9347. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9348. "type": "integer"
  9349. },
  9350. "contracttype": {
  9351. "description": "现货合同类型 - 1:采购 -1:销售",
  9352. "type": "integer"
  9353. },
  9354. "deliverygoodscode": {
  9355. "description": "现货品种代码",
  9356. "type": "string"
  9357. },
  9358. "deliverygoodsid": {
  9359. "description": "现货商品ID",
  9360. "type": "integer"
  9361. },
  9362. "deliverygoodsname": {
  9363. "description": "现货品种名称",
  9364. "type": "string"
  9365. },
  9366. "enumdicname": {
  9367. "description": "单位名称",
  9368. "type": "string"
  9369. },
  9370. "goodscode": {
  9371. "description": "点价合约",
  9372. "type": "string"
  9373. },
  9374. "goodsname": {
  9375. "description": "商品名称",
  9376. "type": "string"
  9377. },
  9378. "invoiceAmount": {
  9379. "description": "已开收票金额(销售为开票,采购为收票)",
  9380. "type": "number"
  9381. },
  9382. "operateapplyid": {
  9383. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9384. "type": "string"
  9385. },
  9386. "operateapplytype": {
  9387. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9388. "type": "integer"
  9389. },
  9390. "pricemove": {
  9391. "description": "升贴水",
  9392. "type": "number"
  9393. },
  9394. "pricetype": {
  9395. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9396. "type": "integer"
  9397. },
  9398. "relatedid": {
  9399. "description": "现货合同ID",
  9400. "type": "string"
  9401. },
  9402. "sellusername": {
  9403. "description": "销售方名字",
  9404. "type": "string"
  9405. },
  9406. "userid": {
  9407. "description": "用户ID",
  9408. "type": "integer"
  9409. },
  9410. "wrstandardcode": {
  9411. "description": "品类代码",
  9412. "type": "string"
  9413. },
  9414. "wrstandardid": {
  9415. "description": "品类id",
  9416. "type": "integer"
  9417. },
  9418. "wrstandardname": {
  9419. "description": "品类名称",
  9420. "type": "string"
  9421. }
  9422. }
  9423. },
  9424. "ermcp.QryBussinessJsExRsp": {
  9425. "type": "object",
  9426. "properties": {
  9427. "applyid": {
  9428. "description": "申请人",
  9429. "type": "string"
  9430. },
  9431. "applyname": {
  9432. "description": "申请人名称",
  9433. "type": "string"
  9434. },
  9435. "applystatus": {
  9436. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9437. "type": "integer"
  9438. },
  9439. "applytime": {
  9440. "description": "申请时间",
  9441. "type": "string"
  9442. },
  9443. "attachurl": {
  9444. "description": "附件",
  9445. "type": "string"
  9446. },
  9447. "auditid": {
  9448. "description": "审核人ID",
  9449. "type": "string"
  9450. },
  9451. "auditname": {
  9452. "description": "审核人名称",
  9453. "type": "string"
  9454. },
  9455. "audittime": {
  9456. "description": "审核时间",
  9457. "type": "string"
  9458. },
  9459. "buyusername": {
  9460. "description": "采购方名称",
  9461. "type": "string"
  9462. },
  9463. "contractno": {
  9464. "description": "合同编号",
  9465. "type": "string"
  9466. },
  9467. "contractstatus": {
  9468. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9469. "type": "integer"
  9470. },
  9471. "contracttype": {
  9472. "description": "现货合同类型 - 1:采购 -1:销售",
  9473. "type": "integer"
  9474. },
  9475. "deliverygoodscode": {
  9476. "description": "现货品种代码",
  9477. "type": "string"
  9478. },
  9479. "deliverygoodsid": {
  9480. "description": "现货商品ID",
  9481. "type": "integer"
  9482. },
  9483. "deliverygoodsname": {
  9484. "description": "现货品种名称",
  9485. "type": "string"
  9486. },
  9487. "enumdicname": {
  9488. "description": "单位名称",
  9489. "type": "string"
  9490. },
  9491. "goodscode": {
  9492. "description": "点价合约",
  9493. "type": "string"
  9494. },
  9495. "goodsname": {
  9496. "description": "商品名称",
  9497. "type": "string"
  9498. },
  9499. "operateapplyid": {
  9500. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9501. "type": "string"
  9502. },
  9503. "operateapplytype": {
  9504. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9505. "type": "integer"
  9506. },
  9507. "pricemove": {
  9508. "description": "升贴水",
  9509. "type": "number"
  9510. },
  9511. "pricetype": {
  9512. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9513. "type": "integer"
  9514. },
  9515. "reckontype": {
  9516. "description": "结算类型",
  9517. "type": "string"
  9518. },
  9519. "reckonvalue": {
  9520. "description": "值",
  9521. "type": "number"
  9522. },
  9523. "relatedid": {
  9524. "description": "现货合同ID",
  9525. "type": "string"
  9526. },
  9527. "sellusername": {
  9528. "description": "销售方名字",
  9529. "type": "string"
  9530. },
  9531. "userid": {
  9532. "description": "用户ID",
  9533. "type": "integer"
  9534. },
  9535. "wrstandardcode": {
  9536. "description": "品类代码",
  9537. "type": "string"
  9538. },
  9539. "wrstandardid": {
  9540. "description": "品类id",
  9541. "type": "integer"
  9542. },
  9543. "wrstandardname": {
  9544. "description": "品类名称",
  9545. "type": "string"
  9546. }
  9547. }
  9548. },
  9549. "ermcp.QryBussinessJsRsp": {
  9550. "type": "object",
  9551. "properties": {
  9552. "addmargin": {
  9553. "description": "追加保证金(非必填)",
  9554. "type": "number"
  9555. },
  9556. "applyid": {
  9557. "description": "申请人",
  9558. "type": "string"
  9559. },
  9560. "applyname": {
  9561. "description": "申请人名称",
  9562. "type": "string"
  9563. },
  9564. "applystatus": {
  9565. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9566. "type": "integer"
  9567. },
  9568. "applytime": {
  9569. "description": "申请时间",
  9570. "type": "string"
  9571. },
  9572. "attachurl": {
  9573. "description": "附件",
  9574. "type": "string"
  9575. },
  9576. "auditid": {
  9577. "description": "审核人ID",
  9578. "type": "string"
  9579. },
  9580. "auditname": {
  9581. "description": "审核人名称",
  9582. "type": "string"
  9583. },
  9584. "audittime": {
  9585. "description": "审核时间",
  9586. "type": "string"
  9587. },
  9588. "buyusername": {
  9589. "description": "采购方名称",
  9590. "type": "string"
  9591. },
  9592. "contractno": {
  9593. "description": "合同编号",
  9594. "type": "string"
  9595. },
  9596. "contractstatus": {
  9597. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9598. "type": "integer"
  9599. },
  9600. "contracttype": {
  9601. "description": "现货合同类型 - 1:采购 -1:销售",
  9602. "type": "integer"
  9603. },
  9604. "decmargin": {
  9605. "description": "减少保证金(非必填)",
  9606. "type": "number"
  9607. },
  9608. "deliverygoodscode": {
  9609. "description": "现货品种代码",
  9610. "type": "string"
  9611. },
  9612. "deliverygoodsid": {
  9613. "description": "现货商品ID",
  9614. "type": "integer"
  9615. },
  9616. "deliverygoodsname": {
  9617. "description": "现货品种名称",
  9618. "type": "string"
  9619. },
  9620. "enumdicname": {
  9621. "description": "单位名称",
  9622. "type": "string"
  9623. },
  9624. "goodscode": {
  9625. "description": "点价合约",
  9626. "type": "string"
  9627. },
  9628. "goodsname": {
  9629. "description": "商品名称",
  9630. "type": "string"
  9631. },
  9632. "operateapplyid": {
  9633. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9634. "type": "string"
  9635. },
  9636. "operateapplytype": {
  9637. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9638. "type": "integer"
  9639. },
  9640. "pricemove": {
  9641. "description": "升贴水",
  9642. "type": "number"
  9643. },
  9644. "pricetype": {
  9645. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9646. "type": "integer"
  9647. },
  9648. "reckonadjustamount": {
  9649. "description": "结算调整金额(非必填)",
  9650. "type": "number"
  9651. },
  9652. "reckonosamount": {
  9653. "description": "结算溢短金额(非必填)",
  9654. "type": "number"
  9655. },
  9656. "reckonotheramount": {
  9657. "description": "结算其他费用(非必填)",
  9658. "type": "number"
  9659. },
  9660. "reckonrealqty": {
  9661. "description": "结算实际数量(非必填)",
  9662. "type": "number"
  9663. },
  9664. "relatedid": {
  9665. "description": "现货合同ID",
  9666. "type": "string"
  9667. },
  9668. "sellusername": {
  9669. "description": "销售方名字",
  9670. "type": "string"
  9671. },
  9672. "userid": {
  9673. "description": "用户ID",
  9674. "type": "integer"
  9675. },
  9676. "wrstandardcode": {
  9677. "description": "品类代码",
  9678. "type": "string"
  9679. },
  9680. "wrstandardid": {
  9681. "description": "品类id",
  9682. "type": "integer"
  9683. },
  9684. "wrstandardname": {
  9685. "description": "品类名称",
  9686. "type": "string"
  9687. }
  9688. }
  9689. },
  9690. "ermcp.QryBussinessKxRsp": {
  9691. "type": "object",
  9692. "properties": {
  9693. "applyid": {
  9694. "description": "申请人",
  9695. "type": "string"
  9696. },
  9697. "applyname": {
  9698. "description": "申请人名称",
  9699. "type": "string"
  9700. },
  9701. "applystatus": {
  9702. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9703. "type": "integer"
  9704. },
  9705. "applytime": {
  9706. "description": "申请时间",
  9707. "type": "string"
  9708. },
  9709. "attachurl": {
  9710. "description": "附件",
  9711. "type": "string"
  9712. },
  9713. "auditid": {
  9714. "description": "审核人ID",
  9715. "type": "string"
  9716. },
  9717. "auditname": {
  9718. "description": "审核人名称",
  9719. "type": "string"
  9720. },
  9721. "audittime": {
  9722. "description": "审核时间",
  9723. "type": "string"
  9724. },
  9725. "buyusername": {
  9726. "description": "采购方名称",
  9727. "type": "string"
  9728. },
  9729. "contractno": {
  9730. "description": "合同编号",
  9731. "type": "string"
  9732. },
  9733. "contractstatus": {
  9734. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9735. "type": "integer"
  9736. },
  9737. "contracttype": {
  9738. "description": "现货合同类型 - 1:采购 -1:销售",
  9739. "type": "integer"
  9740. },
  9741. "deductamount": {
  9742. "description": "退款(非必填)",
  9743. "type": "number"
  9744. },
  9745. "deliverygoodscode": {
  9746. "description": "现货品种代码",
  9747. "type": "string"
  9748. },
  9749. "deliverygoodsid": {
  9750. "description": "现货商品ID",
  9751. "type": "integer"
  9752. },
  9753. "deliverygoodsname": {
  9754. "description": "现货品种名称",
  9755. "type": "string"
  9756. },
  9757. "enumdicname": {
  9758. "description": "单位名称",
  9759. "type": "string"
  9760. },
  9761. "goodscode": {
  9762. "description": "点价合约",
  9763. "type": "string"
  9764. },
  9765. "goodsname": {
  9766. "description": "商品名称",
  9767. "type": "string"
  9768. },
  9769. "kxtype": {
  9770. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9771. "type": "integer"
  9772. },
  9773. "operateapplyid": {
  9774. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9775. "type": "string"
  9776. },
  9777. "operateapplytype": {
  9778. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9779. "type": "integer"
  9780. },
  9781. "payamount": {
  9782. "description": "收付款(非必填)",
  9783. "type": "number"
  9784. },
  9785. "pricemove": {
  9786. "description": "升贴水",
  9787. "type": "number"
  9788. },
  9789. "pricetype": {
  9790. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9791. "type": "integer"
  9792. },
  9793. "relatedid": {
  9794. "description": "现货合同ID",
  9795. "type": "string"
  9796. },
  9797. "sellusername": {
  9798. "description": "销售方名字",
  9799. "type": "string"
  9800. },
  9801. "userid": {
  9802. "description": "用户ID",
  9803. "type": "integer"
  9804. },
  9805. "wrstandardcode": {
  9806. "description": "品类代码",
  9807. "type": "string"
  9808. },
  9809. "wrstandardid": {
  9810. "description": "品类id",
  9811. "type": "integer"
  9812. },
  9813. "wrstandardname": {
  9814. "description": "品类名称",
  9815. "type": "string"
  9816. }
  9817. }
  9818. },
  9819. "ermcp.QryErmcpRsp": {
  9820. "$ref": "#/definitions/models.ErmcpModel"
  9821. },
  9822. "ermcp.QryGGCovertCfgRsp": {
  9823. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9824. },
  9825. "ermcp.QryHedgePlanRsp": {
  9826. "$ref": "#/definitions/models.ErmcpHedgePlan"
  9827. },
  9828. "ermcp.QryMGChangeLogRsp": {
  9829. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9830. },
  9831. "ermcp.QryMiddleGoodsDetailRsp": {
  9832. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9833. },
  9834. "ermcp.QryMiddleGoodsRsp": {
  9835. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9836. },
  9837. "ermcp.QryOPLogRsp": {
  9838. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9839. },
  9840. "ermcp.QryReportDaySpotDetailRsp": {
  9841. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9842. },
  9843. "ermcp.QryReportExposureDayRsp": {
  9844. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  9845. },
  9846. "ermcp.QryReportFinanceDayRsp": {
  9847. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9848. },
  9849. "ermcp.QryReportFinanceKxRsp": {
  9850. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9851. },
  9852. "ermcp.QryReportFinanceMonRsp": {
  9853. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  9854. },
  9855. "ermcp.QryReportSpotDayRsp": {
  9856. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9857. },
  9858. "ermcp.QryReportSpotMonRsp": {
  9859. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  9860. },
  9861. "ermcp.QryReportSpotMonthDetailRsp": {
  9862. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9863. },
  9864. "ermcp.QrySpotContractRsp": {
  9865. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  9866. },
  9867. "ermcp.QryUserInfoRsp": {
  9868. "$ref": "#/definitions/models.ErmcpUserModel"
  9869. },
  9870. "ermcp.QryWarehouseRsp": {
  9871. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9872. },
  9873. "ermcp.QryWrStandardDetailRsp": {
  9874. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  9875. },
  9876. "ermcp.QryWrStandardRsp": {
  9877. "$ref": "#/definitions/models.ErmcpWrstandard"
  9878. },
  9879. "ermcp.QueryAreaStockApplySumRsp": {
  9880. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  9881. },
  9882. "ermcp.QueryErmcpTradePositionRsp": {
  9883. "type": "object",
  9884. "properties": {
  9885. "agreeunit": {
  9886. "description": "合约单位",
  9887. "type": "number"
  9888. },
  9889. "buyorsell": {
  9890. "description": "方向 - 0:买 1:卖",
  9891. "type": "integer"
  9892. },
  9893. "curpositionqty": {
  9894. "description": "持仓(总仓数量, 期末头寸)",
  9895. "type": "integer"
  9896. },
  9897. "curtdposition": {
  9898. "description": "今仓数量(期末今日头寸)",
  9899. "type": "integer"
  9900. },
  9901. "curtdpositionenabled": {
  9902. "description": "今仓可用",
  9903. "type": "integer"
  9904. },
  9905. "decimalplace": {
  9906. "description": "报价小数位",
  9907. "type": "integer"
  9908. },
  9909. "enableqty": {
  9910. "description": "可用(总仓可用)",
  9911. "type": "integer"
  9912. },
  9913. "exexchangename": {
  9914. "description": "外部交易所名称",
  9915. "type": "string"
  9916. },
  9917. "goodscode": {
  9918. "description": "商品代码(内部)",
  9919. "type": "string"
  9920. },
  9921. "goodsid": {
  9922. "description": "商品ID(自增ID SEQ_GOODS)",
  9923. "type": "integer"
  9924. },
  9925. "goodsname": {
  9926. "description": "商品名称",
  9927. "type": "string"
  9928. },
  9929. "last": {
  9930. "description": "现价",
  9931. "type": "number"
  9932. },
  9933. "marketid": {
  9934. "description": "所属市场ID",
  9935. "type": "integer"
  9936. },
  9937. "openaverageprice": {
  9938. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9939. "type": "number"
  9940. },
  9941. "opencost": {
  9942. "description": "开仓成本",
  9943. "type": "number"
  9944. },
  9945. "openpl": {
  9946. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9947. "type": "number"
  9948. },
  9949. "outgoodscode": {
  9950. "description": "商品代码(外部)",
  9951. "type": "string"
  9952. },
  9953. "positionaverageprice": {
  9954. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9955. "type": "number"
  9956. },
  9957. "positioncost": {
  9958. "description": "持仓成本",
  9959. "type": "number"
  9960. },
  9961. "positionpl": {
  9962. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9963. "type": "number"
  9964. },
  9965. "positionplrate": {
  9966. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9967. "type": "number"
  9968. },
  9969. "usedmargin": {
  9970. "description": "占用保证金",
  9971. "type": "number"
  9972. }
  9973. }
  9974. },
  9975. "ermcp.RealtimeExposurePositionRsp": {
  9976. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9977. },
  9978. "ermcp.RealtimeExposureRsp": {
  9979. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9980. },
  9981. "erms2.QueryArbitrageStrategyRsp": {
  9982. "type": "object",
  9983. "required": [
  9984. "asapplyid"
  9985. ],
  9986. "properties": {
  9987. "applybasis": {
  9988. "description": "申请基差",
  9989. "type": "number"
  9990. },
  9991. "asapplyid": {
  9992. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9993. "type": "string"
  9994. },
  9995. "asname": {
  9996. "description": "策略名称",
  9997. "type": "string"
  9998. },
  9999. "asno": {
  10000. "description": "策略编号",
  10001. "type": "string"
  10002. },
  10003. "basischangepl": {
  10004. "description": "基差变动损益[结算更新]",
  10005. "type": "number"
  10006. },
  10007. "biztype": {
  10008. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10009. "type": "integer"
  10010. },
  10011. "closetradedate": {
  10012. "description": "完结交易日(yyyyMMdd)",
  10013. "type": "string"
  10014. },
  10015. "curbasis": {
  10016. "description": "当前基差[结算更新]",
  10017. "type": "number"
  10018. },
  10019. "deliverygoodsid": {
  10020. "description": "现货品种ID",
  10021. "type": "integer"
  10022. },
  10023. "futureavgprice": {
  10024. "description": "期货建仓均价",
  10025. "type": "number"
  10026. },
  10027. "futurecloseamount": {
  10028. "description": "期货平仓金额",
  10029. "type": "number"
  10030. },
  10031. "futurecloseqty": {
  10032. "description": "期货平仓数量",
  10033. "type": "number"
  10034. },
  10035. "futureopenamount": {
  10036. "description": "期货开仓金额",
  10037. "type": "number"
  10038. },
  10039. "futureopenqty": {
  10040. "description": "期货开仓数量",
  10041. "type": "number"
  10042. },
  10043. "futurepl": {
  10044. "description": "期货总盈亏[结算更新]",
  10045. "type": "number"
  10046. },
  10047. "futureqty": {
  10048. "description": "期货持仓数量",
  10049. "type": "number"
  10050. },
  10051. "futurequote": {
  10052. "description": "期货额度",
  10053. "type": "number"
  10054. },
  10055. "goodsgroupid": {
  10056. "description": "期货品种ID",
  10057. "type": "integer"
  10058. },
  10059. "marketid": {
  10060. "description": "市场ID",
  10061. "type": "integer"
  10062. },
  10063. "netexposure": {
  10064. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10065. "type": "number"
  10066. },
  10067. "netexposurepl": {
  10068. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10069. "type": "number"
  10070. },
  10071. "netexposurerate": {
  10072. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10073. "type": "number"
  10074. },
  10075. "openbasis": {
  10076. "description": "建仓基差",
  10077. "type": "number"
  10078. },
  10079. "pricedspotqty": {
  10080. "description": "已定价现货数量",
  10081. "type": "number"
  10082. },
  10083. "pricedspotqtynotax": {
  10084. "description": "已定价现货不含税数量",
  10085. "type": "number"
  10086. },
  10087. "remark": {
  10088. "description": "备注",
  10089. "type": "string"
  10090. },
  10091. "spotavgprice": {
  10092. "description": "现货均价",
  10093. "type": "number"
  10094. },
  10095. "spotbuyamount": {
  10096. "description": "现货采购金额",
  10097. "type": "number"
  10098. },
  10099. "spotbuyqty": {
  10100. "description": "现货采购数量",
  10101. "type": "number"
  10102. },
  10103. "spotpl": {
  10104. "description": "现货总盈亏[结算更新]",
  10105. "type": "number"
  10106. },
  10107. "spotquota": {
  10108. "description": "现货额度",
  10109. "type": "number"
  10110. },
  10111. "spotsellamount": {
  10112. "description": "现货销售金额",
  10113. "type": "number"
  10114. },
  10115. "spotsellqty": {
  10116. "description": "现货销售数量",
  10117. "type": "number"
  10118. },
  10119. "spotusedquota": {
  10120. "description": "现货占用资金",
  10121. "type": "number"
  10122. },
  10123. "strategystatus": {
  10124. "description": "策略状态 - 0:未结束 1:已结束",
  10125. "type": "integer"
  10126. },
  10127. "totalpl": {
  10128. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10129. "type": "number"
  10130. },
  10131. "tradedate": {
  10132. "description": "交易日(yyyyMMdd)",
  10133. "type": "string"
  10134. },
  10135. "updatetime": {
  10136. "description": "更新时间",
  10137. "type": "string"
  10138. },
  10139. "usedquota": {
  10140. "description": "已占用资金",
  10141. "type": "number"
  10142. },
  10143. "userid": {
  10144. "description": "所属机构",
  10145. "type": "integer"
  10146. }
  10147. }
  10148. },
  10149. "erms2.QueryInnerTradeDetailRsp": {
  10150. "type": "object",
  10151. "required": [
  10152. "asapplyid",
  10153. "buyorsell",
  10154. "goodscode",
  10155. "goodsgroupid",
  10156. "goodsgroupname",
  10157. "goodsname",
  10158. "tradeid"
  10159. ],
  10160. "properties": {
  10161. "accountid": {
  10162. "description": "账号ID",
  10163. "type": "integer"
  10164. },
  10165. "agreeunit": {
  10166. "description": "合约单位",
  10167. "type": "number"
  10168. },
  10169. "asapplyid": {
  10170. "description": "策略申请ID",
  10171. "type": "integer"
  10172. },
  10173. "asname": {
  10174. "description": "策略名称",
  10175. "type": "string"
  10176. },
  10177. "asno": {
  10178. "description": "策略编号",
  10179. "type": "string"
  10180. },
  10181. "buyorsell": {
  10182. "description": "方向 - 0:买 1:卖",
  10183. "type": "integer"
  10184. },
  10185. "channelbuildtype": {
  10186. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10187. "type": "integer"
  10188. },
  10189. "closetype": {
  10190. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10191. "type": "integer"
  10192. },
  10193. "decimalplace": {
  10194. "description": "报价小数位",
  10195. "type": "integer"
  10196. },
  10197. "detailtype": {
  10198. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10199. "type": "integer"
  10200. },
  10201. "exexchangecode": {
  10202. "description": "外部交易所代码",
  10203. "type": "string"
  10204. },
  10205. "exexchangename": {
  10206. "description": "外部交易所名称",
  10207. "type": "string"
  10208. },
  10209. "goodscode": {
  10210. "description": "商品代码(合约)",
  10211. "type": "string"
  10212. },
  10213. "goodsgroupid": {
  10214. "description": "商品组ID(品种ID)",
  10215. "type": "integer"
  10216. },
  10217. "goodsgroupname": {
  10218. "description": "商品组名称(品种)",
  10219. "type": "string"
  10220. },
  10221. "goodsid": {
  10222. "description": "商品ID",
  10223. "type": "integer"
  10224. },
  10225. "goodsname": {
  10226. "description": "商品名称(合约)",
  10227. "type": "string"
  10228. },
  10229. "goodunit": {
  10230. "description": "报价单位",
  10231. "type": "string"
  10232. },
  10233. "marketid": {
  10234. "description": "市场ID",
  10235. "type": "integer"
  10236. },
  10237. "orderid": {
  10238. "description": "委托单号",
  10239. "type": "string"
  10240. },
  10241. "outgoodscode": {
  10242. "description": "商品代码(外部)",
  10243. "type": "string"
  10244. },
  10245. "relatedouttradeid": {
  10246. "description": "关联外部成交单ID",
  10247. "type": "string"
  10248. },
  10249. "remark": {
  10250. "description": "备注",
  10251. "type": "string"
  10252. },
  10253. "spotcontractid": {
  10254. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10255. "type": "integer"
  10256. },
  10257. "spotcontractno": {
  10258. "description": "现货合同编号",
  10259. "type": "string"
  10260. },
  10261. "tradeid": {
  10262. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10263. "type": "string"
  10264. },
  10265. "tradeprice": {
  10266. "description": "成交价格",
  10267. "type": "number"
  10268. },
  10269. "tradeqty": {
  10270. "description": "成交数量",
  10271. "type": "integer"
  10272. },
  10273. "tradetime": {
  10274. "description": "成交时间",
  10275. "type": "string"
  10276. },
  10277. "updatetime": {
  10278. "description": "更新时间",
  10279. "type": "string"
  10280. }
  10281. }
  10282. },
  10283. "erms2.QuerySpotContractRsp": {
  10284. "type": "object",
  10285. "required": [
  10286. "spotcontractid"
  10287. ],
  10288. "properties": {
  10289. "accountid": {
  10290. "description": "资金账户ID",
  10291. "type": "integer"
  10292. },
  10293. "areauserid": {
  10294. "description": "所属机构",
  10295. "type": "integer"
  10296. },
  10297. "closedate": {
  10298. "description": "终止日期",
  10299. "type": "string"
  10300. },
  10301. "closeremark": {
  10302. "description": "结束备注",
  10303. "type": "string"
  10304. },
  10305. "closetradedate": {
  10306. "description": "完结交易日(yyyyMMdd)",
  10307. "type": "string"
  10308. },
  10309. "closetype": {
  10310. "description": "终止类型 - 1:违约 2:提前终止",
  10311. "type": "integer"
  10312. },
  10313. "contractamount": {
  10314. "description": "合同金额",
  10315. "type": "number"
  10316. },
  10317. "contractattachment": {
  10318. "description": "合同附件",
  10319. "type": "string"
  10320. },
  10321. "contractno": {
  10322. "description": "现货合同编号",
  10323. "type": "string"
  10324. },
  10325. "contractqty": {
  10326. "description": "合同数量(数值) (用于计算)",
  10327. "type": "number"
  10328. },
  10329. "contractqtychar": {
  10330. "description": "合同数量\\已订价数量 (用于显示)",
  10331. "type": "string"
  10332. },
  10333. "contractstatus": {
  10334. "description": "合同状态 - 0:未结束 1:已结束",
  10335. "type": "integer"
  10336. },
  10337. "contracttype": {
  10338. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10339. "type": "integer"
  10340. },
  10341. "customeraccountid": {
  10342. "description": "客户资金账户ID",
  10343. "type": "integer"
  10344. },
  10345. "customeruserid": {
  10346. "description": "客户ID",
  10347. "type": "integer"
  10348. },
  10349. "deliverygoodsdesc": {
  10350. "description": "品种说明",
  10351. "type": "string"
  10352. },
  10353. "deliverygoodsid": {
  10354. "description": "现货品种ID",
  10355. "type": "integer"
  10356. },
  10357. "handlestatus": {
  10358. "description": "处理状态",
  10359. "type": "integer"
  10360. },
  10361. "invoiceatt": {
  10362. "description": "发票附件",
  10363. "type": "string"
  10364. },
  10365. "invoicedatetime": {
  10366. "description": "开收票更新时间",
  10367. "type": "string"
  10368. },
  10369. "invoiceopentime": {
  10370. "description": "开票时间",
  10371. "type": "string"
  10372. },
  10373. "invoiceremark": {
  10374. "description": "发票备注",
  10375. "type": "string"
  10376. },
  10377. "invoicestatus": {
  10378. "description": "开收票状态 - 0:未开票 1:已开票",
  10379. "type": "integer"
  10380. },
  10381. "lastdate": {
  10382. "description": "交货时间",
  10383. "type": "string"
  10384. },
  10385. "marketid": {
  10386. "description": "市场ID",
  10387. "type": "integer"
  10388. },
  10389. "paydatetime": {
  10390. "description": "收付款更新时间",
  10391. "type": "string"
  10392. },
  10393. "payremark": {
  10394. "description": "收付款备注",
  10395. "type": "string"
  10396. },
  10397. "paystatus": {
  10398. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10399. "type": "integer"
  10400. },
  10401. "positionqty": {
  10402. "description": "头寸数量 - 合同数量去小数部分",
  10403. "type": "integer"
  10404. },
  10405. "producttype": {
  10406. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10407. "type": "integer"
  10408. },
  10409. "relatedqty": {
  10410. "description": "已关联数量",
  10411. "type": "number"
  10412. },
  10413. "relatedstatus": {
  10414. "description": "关联完结状态 - 0:未结束 1:已结束",
  10415. "type": "integer"
  10416. },
  10417. "remark": {
  10418. "description": "备注",
  10419. "type": "string"
  10420. },
  10421. "signdate": {
  10422. "description": "签订日期",
  10423. "type": "string"
  10424. },
  10425. "spotcontractid": {
  10426. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10427. "type": "string"
  10428. },
  10429. "spotdatetime": {
  10430. "description": "收发货更新时间",
  10431. "type": "string"
  10432. },
  10433. "spotprice": {
  10434. "description": "价格",
  10435. "type": "number"
  10436. },
  10437. "spotremark": {
  10438. "description": "收发货备注",
  10439. "type": "string"
  10440. },
  10441. "spotstatus": {
  10442. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10443. "type": "integer"
  10444. },
  10445. "tradedate": {
  10446. "description": "交易日(yyyyMMdd)",
  10447. "type": "string"
  10448. },
  10449. "userid": {
  10450. "description": "业务员用户ID",
  10451. "type": "integer"
  10452. },
  10453. "warehouseid": {
  10454. "description": "仓库ID",
  10455. "type": "integer"
  10456. },
  10457. "wrfactortypeid": {
  10458. "description": "仓单要素类型ID",
  10459. "type": "integer"
  10460. },
  10461. "wrstandardid": {
  10462. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10463. "type": "integer"
  10464. }
  10465. }
  10466. },
  10467. "erms3.AddErms2ASApplyReq": {
  10468. "type": "object",
  10469. "required": [
  10470. "asapplyid"
  10471. ],
  10472. "properties": {
  10473. "applybasis": {
  10474. "description": "申请基差",
  10475. "type": "number"
  10476. },
  10477. "applystatus": {
  10478. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10479. "type": "integer"
  10480. },
  10481. "asapplyid": {
  10482. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10483. "type": "integer"
  10484. },
  10485. "asname": {
  10486. "description": "策略名称",
  10487. "type": "string"
  10488. },
  10489. "asno": {
  10490. "description": "策略编号",
  10491. "type": "string"
  10492. },
  10493. "auditid": {
  10494. "description": "审核人",
  10495. "type": "integer"
  10496. },
  10497. "auditremark": {
  10498. "description": "审核备注",
  10499. "type": "string"
  10500. },
  10501. "audittime": {
  10502. "description": "审核时间",
  10503. "type": "string"
  10504. },
  10505. "biztype": {
  10506. "description": "业务类型 - 1:正向套利 2:反向套利",
  10507. "type": "integer"
  10508. },
  10509. "createtime": {
  10510. "description": "创建时间",
  10511. "type": "string"
  10512. },
  10513. "creatorid": {
  10514. "description": "创建人",
  10515. "type": "integer"
  10516. },
  10517. "deliverygoodsid": {
  10518. "description": "现货品种ID",
  10519. "type": "integer"
  10520. },
  10521. "futurequote": {
  10522. "description": "期货额度",
  10523. "type": "number"
  10524. },
  10525. "goodsgroupid": {
  10526. "description": "期货品种ID",
  10527. "type": "integer"
  10528. },
  10529. "marketid": {
  10530. "description": "市场ID",
  10531. "type": "integer"
  10532. },
  10533. "remark": {
  10534. "description": "备注",
  10535. "type": "string"
  10536. },
  10537. "spotquota": {
  10538. "description": "现货额度",
  10539. "type": "number"
  10540. },
  10541. "tradedate": {
  10542. "description": "交易日(yyyyMMdd)",
  10543. "type": "string"
  10544. },
  10545. "userid": {
  10546. "description": "所属机构",
  10547. "type": "integer"
  10548. }
  10549. }
  10550. },
  10551. "erms3.AddErms2SpotTradeApplyReq": {
  10552. "type": "object",
  10553. "required": [
  10554. "spottradeid"
  10555. ],
  10556. "properties": {
  10557. "applyjsondetail": {
  10558. "description": "申请明细(JSON)",
  10559. "type": "string"
  10560. },
  10561. "applystatus": {
  10562. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10563. "type": "integer"
  10564. },
  10565. "areauserid": {
  10566. "description": "所属机构",
  10567. "type": "integer"
  10568. },
  10569. "auditid": {
  10570. "description": "审核人",
  10571. "type": "integer"
  10572. },
  10573. "auditremark": {
  10574. "description": "审核备注",
  10575. "type": "string"
  10576. },
  10577. "audittime": {
  10578. "description": "审核时间",
  10579. "type": "string"
  10580. },
  10581. "createtime": {
  10582. "description": "创建时间",
  10583. "type": "string"
  10584. },
  10585. "creatorid": {
  10586. "description": "创建人",
  10587. "type": "integer"
  10588. },
  10589. "deliverygoodsid": {
  10590. "description": "现货品种ID",
  10591. "type": "integer"
  10592. },
  10593. "futureaccountid": {
  10594. "description": "期货资金账户",
  10595. "type": "integer"
  10596. },
  10597. "goodsgroupid": {
  10598. "description": "期货品种",
  10599. "type": "integer"
  10600. },
  10601. "marketid": {
  10602. "description": "市场ID",
  10603. "type": "integer"
  10604. },
  10605. "remark": {
  10606. "description": "备注",
  10607. "type": "string"
  10608. },
  10609. "spotaccountid": {
  10610. "description": "现货资金账户",
  10611. "type": "integer"
  10612. },
  10613. "spottradeid": {
  10614. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10615. "type": "integer"
  10616. },
  10617. "spottradename": {
  10618. "description": "业务名称",
  10619. "type": "string"
  10620. },
  10621. "spottradeno": {
  10622. "description": "业务编号",
  10623. "type": "string"
  10624. },
  10625. "tradedate": {
  10626. "description": "交易日(yyyyMMdd)",
  10627. "type": "string"
  10628. },
  10629. "wrstandardid": {
  10630. "description": "仓单标准ID",
  10631. "type": "integer"
  10632. }
  10633. }
  10634. },
  10635. "erms3.AddSpotContractApplyReq": {
  10636. "type": "object",
  10637. "required": [
  10638. "accountid",
  10639. "areauserid",
  10640. "contractno",
  10641. "contracttype",
  10642. "customeraccountid",
  10643. "customeruserid",
  10644. "details",
  10645. "orimargin",
  10646. "signdate"
  10647. ],
  10648. "properties": {
  10649. "accountid": {
  10650. "description": "资金账户ID",
  10651. "type": "integer"
  10652. },
  10653. "areauserid": {
  10654. "description": "所属机构",
  10655. "type": "integer"
  10656. },
  10657. "contractattachment": {
  10658. "description": "合同附件",
  10659. "type": "string"
  10660. },
  10661. "contractno": {
  10662. "description": "现货合同编号",
  10663. "type": "string"
  10664. },
  10665. "contracttype": {
  10666. "description": "现货合同类型 - 1:采购 -1:销售",
  10667. "type": "integer"
  10668. },
  10669. "creatorid": {
  10670. "description": "申请人",
  10671. "type": "integer"
  10672. },
  10673. "customeraccountid": {
  10674. "description": "客户资金账户ID",
  10675. "type": "integer"
  10676. },
  10677. "customeruserid": {
  10678. "description": "客户ID",
  10679. "type": "integer"
  10680. },
  10681. "details": {
  10682. "description": "明细",
  10683. "type": "array",
  10684. "items": {
  10685. "$ref": "#/definitions/erms3.SoptContractDetail"
  10686. }
  10687. },
  10688. "orimargin": {
  10689. "description": "初始保证金",
  10690. "type": "number"
  10691. },
  10692. "remark": {
  10693. "description": "备注",
  10694. "type": "string"
  10695. },
  10696. "signdate": {
  10697. "description": "签订日期",
  10698. "type": "string"
  10699. }
  10700. }
  10701. },
  10702. "erms3.AddSpotContractApplyRsp": {
  10703. "type": "object",
  10704. "required": [
  10705. "contractno"
  10706. ],
  10707. "properties": {
  10708. "contractno": {
  10709. "description": "现货合同编号",
  10710. "type": "string"
  10711. },
  10712. "spotcontractid": {
  10713. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10714. "type": "integer"
  10715. }
  10716. }
  10717. },
  10718. "erms3.AddUserInfoApplyReq": {
  10719. "type": "object",
  10720. "required": [
  10721. "userid"
  10722. ],
  10723. "properties": {
  10724. "accountid": {
  10725. "description": "交易系统帐号Id (加密存储)",
  10726. "type": "integer"
  10727. },
  10728. "areacode": {
  10729. "description": "机构代码",
  10730. "type": "string"
  10731. },
  10732. "areaid": {
  10733. "description": "机构Id",
  10734. "type": "integer"
  10735. },
  10736. "attachment1": {
  10737. "description": "附件1",
  10738. "type": "string"
  10739. },
  10740. "attachment2": {
  10741. "description": "附件2",
  10742. "type": "string"
  10743. },
  10744. "attachment3": {
  10745. "description": "附件3",
  10746. "type": "string"
  10747. },
  10748. "attachment4": {
  10749. "description": "附件4",
  10750. "type": "string"
  10751. },
  10752. "attachment5": {
  10753. "description": "附件5",
  10754. "type": "string"
  10755. },
  10756. "auditedby": {
  10757. "description": "审核人",
  10758. "type": "string"
  10759. },
  10760. "auditime": {
  10761. "description": "审核时间",
  10762. "type": "string"
  10763. },
  10764. "bankaccount": {
  10765. "description": "银行帐号 (加密存储)",
  10766. "type": "string"
  10767. },
  10768. "bankaccountname": {
  10769. "description": "收款人名称",
  10770. "type": "string"
  10771. },
  10772. "bankcardbackphotourl": {
  10773. "description": "银行卡背面照地址",
  10774. "type": "string"
  10775. },
  10776. "bankcardfrontphotourl": {
  10777. "description": "银行卡正面照地址",
  10778. "type": "string"
  10779. },
  10780. "bankid": {
  10781. "description": "银行编码",
  10782. "type": "string"
  10783. },
  10784. "bankname": {
  10785. "description": "银行名称",
  10786. "type": "string"
  10787. },
  10788. "bankpictureurl": {
  10789. "description": "银行卡正面地址",
  10790. "type": "string"
  10791. },
  10792. "biznature": {
  10793. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10794. "type": "integer"
  10795. },
  10796. "bizscope": {
  10797. "description": "企业经营范围(企业)",
  10798. "type": "string"
  10799. },
  10800. "biztype": {
  10801. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10802. "type": "integer"
  10803. },
  10804. "brokerid": {
  10805. "description": "经纪人ID(加密存储)",
  10806. "type": "string"
  10807. },
  10808. "cardaddress": {
  10809. "description": "证件地址 (加密存储)",
  10810. "type": "string"
  10811. },
  10812. "cardbackphotourl": {
  10813. "description": "背面证件照地址",
  10814. "type": "string"
  10815. },
  10816. "cardfrontphotourl": {
  10817. "description": "正面证件照地址",
  10818. "type": "string"
  10819. },
  10820. "cardnum": {
  10821. "description": "证件号码 (加密存储)",
  10822. "type": "string"
  10823. },
  10824. "cardtype": {
  10825. "description": "证件类型",
  10826. "type": "integer"
  10827. },
  10828. "cityid": {
  10829. "description": "市",
  10830. "type": "integer"
  10831. },
  10832. "company": {
  10833. "description": "公司(个人)",
  10834. "type": "string"
  10835. },
  10836. "contactcardbackphotourl": {
  10837. "description": "联系人证件背面图片地址",
  10838. "type": "string"
  10839. },
  10840. "contactcardfrontphotourl": {
  10841. "description": "联系人证件正面图片地址",
  10842. "type": "string"
  10843. },
  10844. "contactname": {
  10845. "description": "联系人",
  10846. "type": "string"
  10847. },
  10848. "countryid": {
  10849. "description": "国家",
  10850. "type": "integer"
  10851. },
  10852. "createtime": {
  10853. "description": "开户申请时间",
  10854. "type": "string"
  10855. },
  10856. "cusbankid": {
  10857. "description": "签约类型",
  10858. "type": "string"
  10859. },
  10860. "cusbankname": {
  10861. "description": "签约类型名称",
  10862. "type": "string"
  10863. },
  10864. "customername": {
  10865. "description": "客户名称(企业名称)",
  10866. "type": "string"
  10867. },
  10868. "districtid": {
  10869. "description": "地区",
  10870. "type": "integer"
  10871. },
  10872. "email": {
  10873. "description": "Email地址(加密存储)",
  10874. "type": "string"
  10875. },
  10876. "halfbodyphotourl": {
  10877. "description": "半身照地址",
  10878. "type": "string"
  10879. },
  10880. "headurl": {
  10881. "description": "头像地址",
  10882. "type": "string"
  10883. },
  10884. "ipaddress": {
  10885. "description": "IP地址",
  10886. "type": "string"
  10887. },
  10888. "isvalidate": {
  10889. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10890. "type": "string"
  10891. },
  10892. "legalcardbackphotourl": {
  10893. "description": "法人身份证背面照地址",
  10894. "type": "string"
  10895. },
  10896. "legalcardfrontphotourl": {
  10897. "description": "法人身份证正面照地址",
  10898. "type": "string"
  10899. },
  10900. "legalpersonname": {
  10901. "description": "法人姓名(企业)",
  10902. "type": "string"
  10903. },
  10904. "logincode": {
  10905. "description": "登录帐号 (加密存储)",
  10906. "type": "string"
  10907. },
  10908. "memberareaid": {
  10909. "description": "所属会员ID",
  10910. "type": "integer"
  10911. },
  10912. "mobile2": {
  10913. "description": "手机号码[明文-尚志]",
  10914. "type": "string"
  10915. },
  10916. "mobilephone": {
  10917. "description": "手机号码 (加密存储)",
  10918. "type": "string"
  10919. },
  10920. "modifiedby": {
  10921. "description": "修改人帐号",
  10922. "type": "integer"
  10923. },
  10924. "modifiedtime": {
  10925. "description": "修改时间",
  10926. "type": "string"
  10927. },
  10928. "nickname": {
  10929. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10930. "type": "string"
  10931. },
  10932. "openmode": {
  10933. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10934. "type": "integer"
  10935. },
  10936. "otherurl": {
  10937. "description": "其它图片地址[使用分号分隔]",
  10938. "type": "string"
  10939. },
  10940. "postalcode": {
  10941. "description": "邮政编码",
  10942. "type": "string"
  10943. },
  10944. "provinceid": {
  10945. "description": "省",
  10946. "type": "integer"
  10947. },
  10948. "proxystatementurl": {
  10949. "description": "授权委托书",
  10950. "type": "string"
  10951. },
  10952. "qq": {
  10953. "description": "QQ(加密存储",
  10954. "type": "string"
  10955. },
  10956. "referral": {
  10957. "description": "推荐人编码",
  10958. "type": "string"
  10959. },
  10960. "remark": {
  10961. "description": "备注",
  10962. "type": "string"
  10963. },
  10964. "removebeforestatus": {
  10965. "description": "REMOVEBEFORESTATUS",
  10966. "type": "integer"
  10967. },
  10968. "sex": {
  10969. "description": "性别 - 0:女 1:男",
  10970. "type": "integer"
  10971. },
  10972. "signedstatus": {
  10973. "description": "账户一号签签约状态",
  10974. "type": "integer"
  10975. },
  10976. "signpdfurl": {
  10977. "description": "签约pdf文件",
  10978. "type": "string"
  10979. },
  10980. "subbranch": {
  10981. "description": "开户支行",
  10982. "type": "string"
  10983. },
  10984. "telphone": {
  10985. "description": "联系电话(加密存储)",
  10986. "type": "string"
  10987. },
  10988. "userid": {
  10989. "description": "用户ID(自增ID)",
  10990. "type": "integer"
  10991. },
  10992. "userinfotype": {
  10993. "description": "用户信息类型 - 1:个人 2:企业",
  10994. "type": "integer"
  10995. },
  10996. "username": {
  10997. "description": "用户姓名",
  10998. "type": "string"
  10999. },
  11000. "userstate": {
  11001. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11002. "type": "integer"
  11003. },
  11004. "usertype": {
  11005. "description": "用户类型 - 1:投资者 2:机构",
  11006. "type": "integer"
  11007. },
  11008. "videourl": {
  11009. "description": "视频地址",
  11010. "type": "string"
  11011. },
  11012. "wechat": {
  11013. "description": "微信号 (加密存储)",
  11014. "type": "string"
  11015. }
  11016. }
  11017. },
  11018. "erms3.CustomerInfo": {
  11019. "type": "object",
  11020. "required": [
  11021. "userid"
  11022. ],
  11023. "properties": {
  11024. "accountids": {
  11025. "description": "资金账户ID列表",
  11026. "type": "array",
  11027. "items": {
  11028. "type": "integer"
  11029. }
  11030. },
  11031. "customername": {
  11032. "description": "名称(企业名称)",
  11033. "type": "string"
  11034. },
  11035. "mobile": {
  11036. "description": "手机号码",
  11037. "type": "string"
  11038. },
  11039. "userid": {
  11040. "description": "用户ID",
  11041. "type": "integer"
  11042. }
  11043. }
  11044. },
  11045. "erms3.ModifyUserInfoApplyReq": {
  11046. "type": "object",
  11047. "required": [
  11048. "userid"
  11049. ],
  11050. "properties": {
  11051. "accountid": {
  11052. "description": "交易系统帐号Id (加密存储)",
  11053. "type": "integer"
  11054. },
  11055. "areacode": {
  11056. "description": "机构代码",
  11057. "type": "string"
  11058. },
  11059. "areaid": {
  11060. "description": "机构Id",
  11061. "type": "integer"
  11062. },
  11063. "attachment1": {
  11064. "description": "附件1",
  11065. "type": "string"
  11066. },
  11067. "attachment2": {
  11068. "description": "附件2",
  11069. "type": "string"
  11070. },
  11071. "attachment3": {
  11072. "description": "附件3",
  11073. "type": "string"
  11074. },
  11075. "attachment4": {
  11076. "description": "附件4",
  11077. "type": "string"
  11078. },
  11079. "attachment5": {
  11080. "description": "附件5",
  11081. "type": "string"
  11082. },
  11083. "auditedby": {
  11084. "description": "审核人",
  11085. "type": "string"
  11086. },
  11087. "auditime": {
  11088. "description": "审核时间",
  11089. "type": "string"
  11090. },
  11091. "bankaccount": {
  11092. "description": "银行帐号 (加密存储)",
  11093. "type": "string"
  11094. },
  11095. "bankaccountname": {
  11096. "description": "收款人名称",
  11097. "type": "string"
  11098. },
  11099. "bankcardbackphotourl": {
  11100. "description": "银行卡背面照地址",
  11101. "type": "string"
  11102. },
  11103. "bankcardfrontphotourl": {
  11104. "description": "银行卡正面照地址",
  11105. "type": "string"
  11106. },
  11107. "bankid": {
  11108. "description": "银行编码",
  11109. "type": "string"
  11110. },
  11111. "bankname": {
  11112. "description": "银行名称",
  11113. "type": "string"
  11114. },
  11115. "bankpictureurl": {
  11116. "description": "银行卡正面地址",
  11117. "type": "string"
  11118. },
  11119. "biznature": {
  11120. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11121. "type": "integer"
  11122. },
  11123. "bizscope": {
  11124. "description": "企业经营范围(企业)",
  11125. "type": "string"
  11126. },
  11127. "biztype": {
  11128. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11129. "type": "integer"
  11130. },
  11131. "brokerid": {
  11132. "description": "经纪人ID(加密存储)",
  11133. "type": "string"
  11134. },
  11135. "cardaddress": {
  11136. "description": "证件地址 (加密存储)",
  11137. "type": "string"
  11138. },
  11139. "cardbackphotourl": {
  11140. "description": "背面证件照地址",
  11141. "type": "string"
  11142. },
  11143. "cardfrontphotourl": {
  11144. "description": "正面证件照地址",
  11145. "type": "string"
  11146. },
  11147. "cardnum": {
  11148. "description": "证件号码 (加密存储)",
  11149. "type": "string"
  11150. },
  11151. "cardtype": {
  11152. "description": "证件类型",
  11153. "type": "integer"
  11154. },
  11155. "cityid": {
  11156. "description": "市",
  11157. "type": "integer"
  11158. },
  11159. "company": {
  11160. "description": "公司(个人)",
  11161. "type": "string"
  11162. },
  11163. "contactcardbackphotourl": {
  11164. "description": "联系人证件背面图片地址",
  11165. "type": "string"
  11166. },
  11167. "contactcardfrontphotourl": {
  11168. "description": "联系人证件正面图片地址",
  11169. "type": "string"
  11170. },
  11171. "contactname": {
  11172. "description": "联系人",
  11173. "type": "string"
  11174. },
  11175. "countryid": {
  11176. "description": "国家",
  11177. "type": "integer"
  11178. },
  11179. "createtime": {
  11180. "description": "开户申请时间",
  11181. "type": "string"
  11182. },
  11183. "cusbankid": {
  11184. "description": "签约类型",
  11185. "type": "string"
  11186. },
  11187. "cusbankname": {
  11188. "description": "签约类型名称",
  11189. "type": "string"
  11190. },
  11191. "customername": {
  11192. "description": "客户名称(企业名称)",
  11193. "type": "string"
  11194. },
  11195. "districtid": {
  11196. "description": "地区",
  11197. "type": "integer"
  11198. },
  11199. "email": {
  11200. "description": "Email地址(加密存储)",
  11201. "type": "string"
  11202. },
  11203. "halfbodyphotourl": {
  11204. "description": "半身照地址",
  11205. "type": "string"
  11206. },
  11207. "headurl": {
  11208. "description": "头像地址",
  11209. "type": "string"
  11210. },
  11211. "ipaddress": {
  11212. "description": "IP地址",
  11213. "type": "string"
  11214. },
  11215. "isvalidate": {
  11216. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11217. "type": "string"
  11218. },
  11219. "legalcardbackphotourl": {
  11220. "description": "法人身份证背面照地址",
  11221. "type": "string"
  11222. },
  11223. "legalcardfrontphotourl": {
  11224. "description": "法人身份证正面照地址",
  11225. "type": "string"
  11226. },
  11227. "legalpersonname": {
  11228. "description": "法人姓名(企业)",
  11229. "type": "string"
  11230. },
  11231. "logincode": {
  11232. "description": "登录帐号 (加密存储)",
  11233. "type": "string"
  11234. },
  11235. "memberareaid": {
  11236. "description": "所属会员ID",
  11237. "type": "integer"
  11238. },
  11239. "mobile2": {
  11240. "description": "手机号码[明文-尚志]",
  11241. "type": "string"
  11242. },
  11243. "mobilephone": {
  11244. "description": "手机号码 (加密存储)",
  11245. "type": "string"
  11246. },
  11247. "modifiedby": {
  11248. "description": "修改人帐号",
  11249. "type": "integer"
  11250. },
  11251. "modifiedtime": {
  11252. "description": "修改时间",
  11253. "type": "string"
  11254. },
  11255. "nickname": {
  11256. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11257. "type": "string"
  11258. },
  11259. "openmode": {
  11260. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11261. "type": "integer"
  11262. },
  11263. "otherurl": {
  11264. "description": "其它图片地址[使用分号分隔]",
  11265. "type": "string"
  11266. },
  11267. "postalcode": {
  11268. "description": "邮政编码",
  11269. "type": "string"
  11270. },
  11271. "provinceid": {
  11272. "description": "省",
  11273. "type": "integer"
  11274. },
  11275. "proxystatementurl": {
  11276. "description": "授权委托书",
  11277. "type": "string"
  11278. },
  11279. "qq": {
  11280. "description": "QQ(加密存储",
  11281. "type": "string"
  11282. },
  11283. "referral": {
  11284. "description": "推荐人编码",
  11285. "type": "string"
  11286. },
  11287. "remark": {
  11288. "description": "备注",
  11289. "type": "string"
  11290. },
  11291. "removebeforestatus": {
  11292. "description": "REMOVEBEFORESTATUS",
  11293. "type": "integer"
  11294. },
  11295. "sex": {
  11296. "description": "性别 - 0:女 1:男",
  11297. "type": "integer"
  11298. },
  11299. "signedstatus": {
  11300. "description": "账户一号签签约状态",
  11301. "type": "integer"
  11302. },
  11303. "signpdfurl": {
  11304. "description": "签约pdf文件",
  11305. "type": "string"
  11306. },
  11307. "subbranch": {
  11308. "description": "开户支行",
  11309. "type": "string"
  11310. },
  11311. "telphone": {
  11312. "description": "联系电话(加密存储)",
  11313. "type": "string"
  11314. },
  11315. "userid": {
  11316. "description": "用户ID(自增ID)",
  11317. "type": "integer"
  11318. },
  11319. "userinfotype": {
  11320. "description": "用户信息类型 - 1:个人 2:企业",
  11321. "type": "integer"
  11322. },
  11323. "username": {
  11324. "description": "用户姓名",
  11325. "type": "string"
  11326. },
  11327. "userstate": {
  11328. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11329. "type": "integer"
  11330. },
  11331. "usertype": {
  11332. "description": "用户类型 - 1:投资者 2:机构",
  11333. "type": "integer"
  11334. },
  11335. "videourl": {
  11336. "description": "视频地址",
  11337. "type": "string"
  11338. },
  11339. "wechat": {
  11340. "description": "微信号 (加密存储)",
  11341. "type": "string"
  11342. }
  11343. }
  11344. },
  11345. "erms3.QryAuditContractRsp": {
  11346. "type": "object",
  11347. "required": [
  11348. "matchcustomername",
  11349. "spotcontractid"
  11350. ],
  11351. "properties": {
  11352. "accountid": {
  11353. "description": "交易员ID",
  11354. "type": "string"
  11355. },
  11356. "applystatus": {
  11357. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11358. "type": "integer"
  11359. },
  11360. "curdeliveryqty": {
  11361. "description": "未交收量",
  11362. "type": "integer"
  11363. },
  11364. "customername": {
  11365. "description": "采购方ID",
  11366. "type": "string"
  11367. },
  11368. "deliverygoodsid": {
  11369. "description": "品种ID",
  11370. "type": "string"
  11371. },
  11372. "deliveryqty": {
  11373. "description": "交收量",
  11374. "type": "integer"
  11375. },
  11376. "enumdicname": {
  11377. "description": "单位名称",
  11378. "type": "string"
  11379. },
  11380. "matchaccountid": {
  11381. "description": "业务员ID",
  11382. "type": "string"
  11383. },
  11384. "matchcustomername": {
  11385. "description": "销售方ID",
  11386. "type": "string"
  11387. },
  11388. "pricedqty": {
  11389. "description": "定价量",
  11390. "type": "number"
  11391. },
  11392. "signdate": {
  11393. "description": "签订日期",
  11394. "type": "string"
  11395. },
  11396. "spotcontractid": {
  11397. "description": "合同ID",
  11398. "type": "string"
  11399. },
  11400. "totaldqty": {
  11401. "description": "合同量",
  11402. "type": "number"
  11403. },
  11404. "unpricedqty": {
  11405. "description": "未定价量",
  11406. "type": "number"
  11407. },
  11408. "wrstandardname": {
  11409. "description": "商品名称",
  11410. "type": "string"
  11411. }
  11412. }
  11413. },
  11414. "erms3.QryPendingBizRsp": {
  11415. "$ref": "#/definitions/models.PendingAuditBizModel"
  11416. },
  11417. "erms3.QueryBusinessInfoRsp": {
  11418. "type": "object",
  11419. "properties": {
  11420. "businessid": {
  11421. "description": "业务ID.",
  11422. "type": "integer"
  11423. },
  11424. "buyamount": {
  11425. "description": "采购额.",
  11426. "type": "number"
  11427. },
  11428. "buyqty": {
  11429. "description": "采购量.",
  11430. "type": "string"
  11431. },
  11432. "futurepl": {
  11433. "description": "期货盈亏.",
  11434. "type": "number"
  11435. },
  11436. "futureqty": {
  11437. "description": "期货敞口.",
  11438. "type": "string"
  11439. },
  11440. "goodsid": {
  11441. "description": "商品名称/商品代码.",
  11442. "type": "string"
  11443. },
  11444. "hedgingqty": {
  11445. "description": "套保量.",
  11446. "type": "string"
  11447. },
  11448. "sellamount": {
  11449. "description": "销售额.",
  11450. "type": "number"
  11451. },
  11452. "sellqty": {
  11453. "description": "销售量.",
  11454. "type": "string"
  11455. },
  11456. "spotmarketvalue": {
  11457. "description": "现货市值.",
  11458. "type": "number"
  11459. },
  11460. "spotpl": {
  11461. "description": "浮动权益.",
  11462. "type": "number"
  11463. },
  11464. "spotqty": {
  11465. "description": "现货量.",
  11466. "type": "string"
  11467. },
  11468. "statu": {
  11469. "description": "状态,0-未结束 1-已结束.",
  11470. "type": "integer"
  11471. },
  11472. "totalpl": {
  11473. "description": "总盈亏.",
  11474. "type": "number"
  11475. },
  11476. "totalqty": {
  11477. "description": "总敞口.",
  11478. "type": "string"
  11479. },
  11480. "type": {
  11481. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11482. "type": "integer"
  11483. }
  11484. }
  11485. },
  11486. "erms3.QuerySpotContractAppleFormRsp": {
  11487. "type": "object",
  11488. "properties": {
  11489. "goodses": {
  11490. "description": "合约列表",
  11491. "type": "array",
  11492. "items": {
  11493. "$ref": "#/definitions/models.GoodsIDAndName"
  11494. }
  11495. },
  11496. "oppositeusers": {
  11497. "description": "对方账号列表",
  11498. "type": "array",
  11499. "items": {
  11500. "$ref": "#/definitions/erms3.CustomerInfo"
  11501. }
  11502. },
  11503. "ouruser": {
  11504. "description": "我方账号",
  11505. "type": "object",
  11506. "$ref": "#/definitions/erms3.CustomerInfo"
  11507. },
  11508. "warehouseinfos": {
  11509. "description": "仓库信息列表",
  11510. "type": "array",
  11511. "items": {
  11512. "$ref": "#/definitions/models.Warehouseinfo"
  11513. }
  11514. },
  11515. "wrstandards": {
  11516. "description": "仓单标准列表",
  11517. "type": "array",
  11518. "items": {
  11519. "$ref": "#/definitions/models.WRStandardInfo"
  11520. }
  11521. }
  11522. }
  11523. },
  11524. "erms3.QuerySpotContractInfoRsp": {
  11525. "type": "object",
  11526. "properties": {
  11527. "accountid": {
  11528. "description": "表示交易员ID.",
  11529. "type": "integer"
  11530. },
  11531. "curdeliveryqty": {
  11532. "description": "表示未交收量.",
  11533. "type": "number"
  11534. },
  11535. "customername": {
  11536. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11537. "type": "string"
  11538. },
  11539. "deliverygoodsid": {
  11540. "description": "表示品种ID.",
  11541. "type": "string"
  11542. },
  11543. "deliveryqty": {
  11544. "description": "表示交收量.",
  11545. "type": "number"
  11546. },
  11547. "matchaccountid": {
  11548. "description": "表示业务员ID.",
  11549. "type": "integer"
  11550. },
  11551. "matchcustomername": {
  11552. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11553. "type": "string"
  11554. },
  11555. "priceqty": {
  11556. "description": "表示定价量.",
  11557. "type": "number"
  11558. },
  11559. "relatedbizid": {
  11560. "description": "表示业务ID.",
  11561. "type": "string"
  11562. },
  11563. "signdate": {
  11564. "description": "表示签订日期.",
  11565. "type": "string"
  11566. },
  11567. "spotcontractid": {
  11568. "description": "合同ID",
  11569. "type": "string"
  11570. },
  11571. "status": {
  11572. "description": "表示状态,0-履约中 1-已完成.",
  11573. "type": "integer"
  11574. },
  11575. "totalqty": {
  11576. "description": "表示合同量.",
  11577. "type": "number"
  11578. },
  11579. "unpricedqty": {
  11580. "description": "表示未定价量.",
  11581. "type": "number"
  11582. },
  11583. "wrstandardname": {
  11584. "description": "表示商品ID.",
  11585. "type": "string"
  11586. }
  11587. }
  11588. },
  11589. "erms3.QueryUserInfoAppliesRsp": {
  11590. "type": "object",
  11591. "required": [
  11592. "userid"
  11593. ],
  11594. "properties": {
  11595. "biznature": {
  11596. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11597. "type": "integer"
  11598. },
  11599. "contactname": {
  11600. "description": "联系人",
  11601. "type": "string"
  11602. },
  11603. "createtime": {
  11604. "description": "开户申请时间",
  11605. "type": "string"
  11606. },
  11607. "userid": {
  11608. "description": "用户ID(自增ID)",
  11609. "type": "integer"
  11610. },
  11611. "userinfotype": {
  11612. "description": "用户信息类型 - 1:个人 2:企业",
  11613. "type": "integer"
  11614. },
  11615. "username": {
  11616. "description": "用户姓名",
  11617. "type": "string"
  11618. },
  11619. "userstate": {
  11620. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11621. "type": "integer"
  11622. }
  11623. }
  11624. },
  11625. "erms3.QueryUserInfosRsp": {
  11626. "type": "object",
  11627. "required": [
  11628. "userid"
  11629. ],
  11630. "properties": {
  11631. "biznature": {
  11632. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11633. "type": "integer"
  11634. },
  11635. "contactname": {
  11636. "description": "联系人",
  11637. "type": "string"
  11638. },
  11639. "customername": {
  11640. "description": "客户名称(企业名称)",
  11641. "type": "string"
  11642. },
  11643. "userid": {
  11644. "description": "用户ID",
  11645. "type": "integer"
  11646. },
  11647. "userinfotype": {
  11648. "description": "用户信息类型 - 1:个人 2:企业",
  11649. "type": "integer"
  11650. },
  11651. "userstatus": {
  11652. "description": "用户状态 - 1:正常 2:注销",
  11653. "type": "integer"
  11654. }
  11655. }
  11656. },
  11657. "erms3.SoptContractDetail": {
  11658. "type": "object",
  11659. "required": [
  11660. "deliverygoodsid",
  11661. "producttype",
  11662. "unitname",
  11663. "warehouseid",
  11664. "wrstandardid",
  11665. "wrstandardname"
  11666. ],
  11667. "properties": {
  11668. "deliverygoodsdesc": {
  11669. "description": "现货品种说明",
  11670. "type": "string"
  11671. },
  11672. "deliverygoodsid": {
  11673. "description": "现货品种ID",
  11674. "type": "integer"
  11675. },
  11676. "deliverygoodsname": {
  11677. "description": "现货品种名称",
  11678. "type": "string"
  11679. },
  11680. "pointdesc": {
  11681. "description": "点价描述",
  11682. "type": "string"
  11683. },
  11684. "producttype": {
  11685. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11686. "type": "integer"
  11687. },
  11688. "producttypename": {
  11689. "description": "产品类型名称",
  11690. "type": "string"
  11691. },
  11692. "spotPointOrderVoList": {
  11693. "description": "点价列表",
  11694. "type": "array",
  11695. "items": {
  11696. "$ref": "#/definitions/erms3.SpotPointOrder"
  11697. }
  11698. },
  11699. "spotPriceOrderList": {
  11700. "description": "定价列表",
  11701. "type": "array",
  11702. "items": {
  11703. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11704. }
  11705. },
  11706. "unitname": {
  11707. "description": "单位名称",
  11708. "type": "string"
  11709. },
  11710. "warehouseid": {
  11711. "description": "仓库ID",
  11712. "type": "integer"
  11713. },
  11714. "warehousename": {
  11715. "description": "仓库名称",
  11716. "type": "string"
  11717. },
  11718. "wrstandardid": {
  11719. "description": "交易标的ID",
  11720. "type": "integer"
  11721. },
  11722. "wrstandardname": {
  11723. "description": "交易标的名称",
  11724. "type": "string"
  11725. }
  11726. }
  11727. },
  11728. "erms3.SpotPointOrder": {
  11729. "type": "object",
  11730. "required": [
  11731. "basic",
  11732. "goodsid",
  11733. "qty"
  11734. ],
  11735. "properties": {
  11736. "basic": {
  11737. "description": "基差",
  11738. "type": "number"
  11739. },
  11740. "deliveryenddate": {
  11741. "description": "交收结束日期",
  11742. "type": "string"
  11743. },
  11744. "deliverystartdate": {
  11745. "description": "交收开始日期",
  11746. "type": "string"
  11747. },
  11748. "enddate": {
  11749. "description": "点价结束日期",
  11750. "type": "string"
  11751. },
  11752. "goodsid": {
  11753. "description": "商品ID",
  11754. "type": "integer"
  11755. },
  11756. "goodsname": {
  11757. "description": "商品名称",
  11758. "type": "string"
  11759. },
  11760. "qty": {
  11761. "description": "数量",
  11762. "type": "number"
  11763. },
  11764. "startdate": {
  11765. "description": "点价开始日期",
  11766. "type": "string"
  11767. }
  11768. }
  11769. },
  11770. "erms3.SpotPriceOrder": {
  11771. "type": "object",
  11772. "required": [
  11773. "amount",
  11774. "price",
  11775. "qty"
  11776. ],
  11777. "properties": {
  11778. "amount": {
  11779. "description": "金额",
  11780. "type": "number"
  11781. },
  11782. "deliveryenddate": {
  11783. "description": "交收结束日期",
  11784. "type": "string"
  11785. },
  11786. "deliverystartdate": {
  11787. "description": "交收开始日期",
  11788. "type": "string"
  11789. },
  11790. "price": {
  11791. "description": "价格",
  11792. "type": "number"
  11793. },
  11794. "qty": {
  11795. "description": "数量",
  11796. "type": "number"
  11797. }
  11798. }
  11799. },
  11800. "hsby.GetHsbyMyCountRsp": {
  11801. "type": "object",
  11802. "properties": {
  11803. "myCouponCount": {
  11804. "description": "我的优惠卷数量",
  11805. "type": "integer"
  11806. },
  11807. "myOrderDetailListingCount": {
  11808. "description": "我的订单求购中数量",
  11809. "type": "integer"
  11810. },
  11811. "myOrderDetailPreCount": {
  11812. "description": "我的订单抢购中数量",
  11813. "type": "integer"
  11814. },
  11815. "myPackageUnReceiveCount": {
  11816. "description": "我的包裹待收货数量",
  11817. "type": "integer"
  11818. },
  11819. "myPackageUnSendCount": {
  11820. "description": "我的包裹待发货数量",
  11821. "type": "integer"
  11822. },
  11823. "myPayOrderCount": {
  11824. "description": "我的订单待付款数量",
  11825. "type": "integer"
  11826. }
  11827. }
  11828. },
  11829. "hsby.QueryProvincesAndCitiesRsp": {
  11830. "type": "object",
  11831. "properties": {
  11832. "cities": {
  11833. "description": "市",
  11834. "type": "array",
  11835. "items": {
  11836. "$ref": "#/definitions/models.Division"
  11837. }
  11838. },
  11839. "province": {
  11840. "description": "省",
  11841. "type": "object",
  11842. "$ref": "#/definitions/models.Division"
  11843. }
  11844. }
  11845. },
  11846. "models.AreaSpotModel": {
  11847. "type": "object",
  11848. "properties": {
  11849. "areauserid": {
  11850. "description": "所属机构",
  11851. "type": "integer"
  11852. },
  11853. "decreaseqty": {
  11854. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11855. "type": "number"
  11856. },
  11857. "increaseqty": {
  11858. "description": "增加数量=销售计划数量+采购已定价数量",
  11859. "type": "number"
  11860. },
  11861. "oritoalspotqty": {
  11862. "description": "昨日数量",
  11863. "type": "number"
  11864. },
  11865. "totalspotqty": {
  11866. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11867. "type": "number"
  11868. },
  11869. "updatetime": {
  11870. "description": "更新时间",
  11871. "type": "string"
  11872. },
  11873. "wrstandardcode": {
  11874. "description": "现货品种代码",
  11875. "type": "string"
  11876. },
  11877. "wrstandardid": {
  11878. "description": "现货商品ID",
  11879. "type": "integer"
  11880. },
  11881. "wrstandardname": {
  11882. "description": "现货品种",
  11883. "type": "string"
  11884. }
  11885. }
  11886. },
  11887. "models.Clientfixedadconfig": {
  11888. "type": "object",
  11889. "required": [
  11890. "adsort",
  11891. "adtype"
  11892. ],
  11893. "properties": {
  11894. "adsort": {
  11895. "description": "排序",
  11896. "type": "integer"
  11897. },
  11898. "adtype": {
  11899. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11900. "type": "integer"
  11901. },
  11902. "areauserid": {
  11903. "description": "所属机构ID",
  11904. "type": "integer"
  11905. },
  11906. "createdate": {
  11907. "description": "创建时间",
  11908. "type": "string"
  11909. },
  11910. "creatorid": {
  11911. "description": "创建人",
  11912. "type": "integer"
  11913. },
  11914. "imagepath": {
  11915. "description": "图片",
  11916. "type": "string"
  11917. },
  11918. "isshow": {
  11919. "description": "是否展示 - 0:不展示 1:展示",
  11920. "type": "integer"
  11921. },
  11922. "modifierid": {
  11923. "description": "操作人",
  11924. "type": "integer"
  11925. },
  11926. "recsize": {
  11927. "description": "推荐尺寸",
  11928. "type": "string"
  11929. },
  11930. "title": {
  11931. "description": "标题",
  11932. "type": "string"
  11933. },
  11934. "updatedate": {
  11935. "description": "更新时间",
  11936. "type": "string"
  11937. },
  11938. "urlcontent": {
  11939. "description": "链接(地址或商品ID)",
  11940. "type": "string"
  11941. },
  11942. "urltype": {
  11943. "description": "链接类型 - 1:直接地址 2:商品ID",
  11944. "type": "integer"
  11945. }
  11946. }
  11947. },
  11948. "models.Division": {
  11949. "type": "object",
  11950. "required": [
  11951. "autoid",
  11952. "divisioncode"
  11953. ],
  11954. "properties": {
  11955. "autoid": {
  11956. "description": "自增ID",
  11957. "type": "integer"
  11958. },
  11959. "divisioncode": {
  11960. "description": "行政代码",
  11961. "type": "string"
  11962. },
  11963. "divisionlevel": {
  11964. "description": "行政级别",
  11965. "type": "string"
  11966. },
  11967. "divisionname": {
  11968. "description": "行政名称",
  11969. "type": "string"
  11970. },
  11971. "modifierid": {
  11972. "description": "修改人",
  11973. "type": "integer"
  11974. },
  11975. "modifytime": {
  11976. "description": "修改时间",
  11977. "type": "string"
  11978. },
  11979. "parentcode": {
  11980. "description": "上级行政代码",
  11981. "type": "string"
  11982. },
  11983. "pathname": {
  11984. "description": "路径名称",
  11985. "type": "string"
  11986. },
  11987. "postcode": {
  11988. "description": "邮政编码",
  11989. "type": "string"
  11990. },
  11991. "separablename": {
  11992. "description": "可拆分的全称",
  11993. "type": "string"
  11994. },
  11995. "shortcode": {
  11996. "description": "地区简码",
  11997. "type": "string"
  11998. }
  11999. }
  12000. },
  12001. "models.Enumdicitem": {
  12002. "type": "object",
  12003. "required": [
  12004. "autoid",
  12005. "enumdiccode",
  12006. "enumdicid",
  12007. "enumitemname"
  12008. ],
  12009. "properties": {
  12010. "autoid": {
  12011. "description": "自增ID",
  12012. "type": "integer"
  12013. },
  12014. "bankmappedvalue": {
  12015. "description": "银行服务对应值",
  12016. "type": "string"
  12017. },
  12018. "enumdiccode": {
  12019. "description": "所属枚举代码",
  12020. "type": "string"
  12021. },
  12022. "enumdicid": {
  12023. "description": "所属枚举ID",
  12024. "type": "integer"
  12025. },
  12026. "enumdicname": {
  12027. "description": "枚举项名称",
  12028. "type": "string"
  12029. },
  12030. "enumitemname": {
  12031. "description": "枚举项值",
  12032. "type": "integer"
  12033. },
  12034. "enumitemstatus": {
  12035. "description": "枚举项状态 - 1.启用 2.不启用",
  12036. "type": "integer"
  12037. },
  12038. "enumitemvalue": {
  12039. "description": "通用值 - [币种通用简写]",
  12040. "type": "string"
  12041. },
  12042. "param1": {
  12043. "description": "参数1[币种:币种小数位]",
  12044. "type": "string"
  12045. },
  12046. "param2": {
  12047. "description": "参数1[币种:币种显示单位]",
  12048. "type": "string"
  12049. },
  12050. "remark": {
  12051. "description": "备注",
  12052. "type": "string"
  12053. }
  12054. }
  12055. },
  12056. "models.Ermcp3Contract": {
  12057. "type": "object",
  12058. "properties": {
  12059. "amount": {
  12060. "description": "金额 [1:一口价、3:暂定价]",
  12061. "type": "number"
  12062. },
  12063. "attachment": {
  12064. "description": "附件",
  12065. "type": "string"
  12066. },
  12067. "auditremark": {
  12068. "description": "审核意见",
  12069. "type": "string"
  12070. },
  12071. "audittime": {
  12072. "description": "审核时间",
  12073. "type": "string"
  12074. },
  12075. "brandname": {
  12076. "description": "品牌名称",
  12077. "type": "string"
  12078. },
  12079. "buyuserid": {
  12080. "description": "采购方ID",
  12081. "type": "integer"
  12082. },
  12083. "buyusername": {
  12084. "description": "采购方名称",
  12085. "type": "string"
  12086. },
  12087. "contracctstatus": {
  12088. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12089. "type": "integer"
  12090. },
  12091. "contractmargin": {
  12092. "description": "合同保证金",
  12093. "type": "number"
  12094. },
  12095. "contractno": {
  12096. "description": "现货合同编号",
  12097. "type": "string"
  12098. },
  12099. "contracttype": {
  12100. "description": "现货合同类型 - 1:采购 -1:销售",
  12101. "type": "integer"
  12102. },
  12103. "convertfactor": {
  12104. "description": "标仓系数(品类)",
  12105. "type": "number"
  12106. },
  12107. "createtime": {
  12108. "description": "创建时间",
  12109. "type": "string"
  12110. },
  12111. "deliveryenddate": {
  12112. "description": "交收期(结束)",
  12113. "type": "string"
  12114. },
  12115. "deliverygoodscode": {
  12116. "description": "现货品种代码",
  12117. "type": "string"
  12118. },
  12119. "deliverygoodsid": {
  12120. "description": "现货品种ID",
  12121. "type": "integer"
  12122. },
  12123. "deliverygoodsname": {
  12124. "description": "现货品种名称",
  12125. "type": "string"
  12126. },
  12127. "deliverystartdate": {
  12128. "description": "交收期(开始)",
  12129. "type": "string"
  12130. },
  12131. "enddate": {
  12132. "description": "点价结束日期 [2:点价 3:暂定价]",
  12133. "type": "string"
  12134. },
  12135. "enumdicname": {
  12136. "description": "单位名称",
  12137. "type": "string"
  12138. },
  12139. "goodscode": {
  12140. "description": "点价合约代码",
  12141. "type": "string"
  12142. },
  12143. "goodsid": {
  12144. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12145. "type": "integer"
  12146. },
  12147. "goodsname": {
  12148. "description": "点价商品名称",
  12149. "type": "string"
  12150. },
  12151. "margin": {
  12152. "description": "当前保证金",
  12153. "type": "number"
  12154. },
  12155. "price": {
  12156. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12157. "type": "number"
  12158. },
  12159. "pricemove": {
  12160. "description": "升贴水 [2:点价 3:暂定价]",
  12161. "type": "number"
  12162. },
  12163. "pricetype": {
  12164. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12165. "type": "integer"
  12166. },
  12167. "producttype": {
  12168. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12169. "type": "integer"
  12170. },
  12171. "qty": {
  12172. "description": "数量",
  12173. "type": "number"
  12174. },
  12175. "remark": {
  12176. "description": "备注",
  12177. "type": "string"
  12178. },
  12179. "selluserid": {
  12180. "description": "销售方ID",
  12181. "type": "integer"
  12182. },
  12183. "sellusername": {
  12184. "description": "销售方名称",
  12185. "type": "string"
  12186. },
  12187. "spotcontractid": {
  12188. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12189. "type": "string"
  12190. },
  12191. "spotgoodsbrandid": {
  12192. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12193. "type": "integer"
  12194. },
  12195. "spotgoodsdesc": {
  12196. "description": "商品型号",
  12197. "type": "string"
  12198. },
  12199. "startdate": {
  12200. "description": "点价开始日期 [2:点价 3:暂定价]",
  12201. "type": "string"
  12202. },
  12203. "unitid": {
  12204. "description": "单位id(取品类上的单位id)",
  12205. "type": "integer"
  12206. },
  12207. "updatetime": {
  12208. "description": "更新时间",
  12209. "type": "string"
  12210. },
  12211. "userid": {
  12212. "description": "所属机构ID",
  12213. "type": "integer"
  12214. },
  12215. "wrstandardcode": {
  12216. "description": "品类代码",
  12217. "type": "string"
  12218. },
  12219. "wrstandardid": {
  12220. "description": "品类ID",
  12221. "type": "integer"
  12222. },
  12223. "wrstandardname": {
  12224. "description": "品类名称",
  12225. "type": "string"
  12226. }
  12227. }
  12228. },
  12229. "models.Ermcp3SellBuyContract": {
  12230. "type": "object",
  12231. "properties": {
  12232. "accountname": {
  12233. "description": "账户名称",
  12234. "type": "string"
  12235. },
  12236. "attachment": {
  12237. "description": "附件",
  12238. "type": "string"
  12239. },
  12240. "audittime": {
  12241. "description": "审核时间",
  12242. "type": "string"
  12243. },
  12244. "brandname": {
  12245. "description": "品牌名称",
  12246. "type": "string"
  12247. },
  12248. "contracctstatus": {
  12249. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12250. "type": "integer"
  12251. },
  12252. "contractmargin": {
  12253. "description": "合同保证金",
  12254. "type": "number"
  12255. },
  12256. "contractno": {
  12257. "description": "合同编号",
  12258. "type": "string"
  12259. },
  12260. "contracttype": {
  12261. "description": "合同类型 1-采购, -1-销售",
  12262. "type": "integer"
  12263. },
  12264. "convertfactor": {
  12265. "description": "标仓系数(品类)",
  12266. "type": "number"
  12267. },
  12268. "createtime": {
  12269. "description": "创建时间",
  12270. "type": "string"
  12271. },
  12272. "daikaiamount": {
  12273. "description": "应收(开)票额",
  12274. "type": "number"
  12275. },
  12276. "deliveryenddate": {
  12277. "description": "交割结束日",
  12278. "type": "string"
  12279. },
  12280. "deliverygoodscode": {
  12281. "description": "现货品种代码",
  12282. "type": "string"
  12283. },
  12284. "deliverygoodsid": {
  12285. "description": "现货商品ID",
  12286. "type": "integer"
  12287. },
  12288. "deliverygoodsname": {
  12289. "description": "现货品种名称",
  12290. "type": "string"
  12291. },
  12292. "deliverystartdate": {
  12293. "description": "交割开始日",
  12294. "type": "string"
  12295. },
  12296. "enddate": {
  12297. "description": "点价结束日",
  12298. "type": "string"
  12299. },
  12300. "enumdicname": {
  12301. "description": "单位名称",
  12302. "type": "string"
  12303. },
  12304. "goodscode": {
  12305. "description": "点价商品代码",
  12306. "type": "string"
  12307. },
  12308. "goodsid": {
  12309. "description": "点价商品ID",
  12310. "type": "integer"
  12311. },
  12312. "goodsname": {
  12313. "description": "点价商品名称",
  12314. "type": "string"
  12315. },
  12316. "invoiceamount": {
  12317. "description": "已开票额",
  12318. "type": "number"
  12319. },
  12320. "loanamount": {
  12321. "description": "贷款总额=已定价额+调整金额",
  12322. "type": "number"
  12323. },
  12324. "margin": {
  12325. "description": "保证金",
  12326. "type": "number"
  12327. },
  12328. "payamount": {
  12329. "description": "已收付额(收款或付款)",
  12330. "type": "number"
  12331. },
  12332. "preinvoiceamount": {
  12333. "description": "预收(开)票额",
  12334. "type": "number"
  12335. },
  12336. "prepayamount": {
  12337. "description": "预收付额",
  12338. "type": "number"
  12339. },
  12340. "price": {
  12341. "description": "价格",
  12342. "type": "number"
  12343. },
  12344. "pricedamount": {
  12345. "description": "已定价额",
  12346. "type": "number"
  12347. },
  12348. "pricedavg": {
  12349. "description": "已点均价",
  12350. "type": "number"
  12351. },
  12352. "pricedqty": {
  12353. "description": "已定价量",
  12354. "type": "number"
  12355. },
  12356. "pricemove": {
  12357. "description": "升贴水",
  12358. "type": "number"
  12359. },
  12360. "pricetype": {
  12361. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12362. "type": "integer"
  12363. },
  12364. "producttype": {
  12365. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12366. "type": "integer"
  12367. },
  12368. "qty": {
  12369. "description": "合同量",
  12370. "type": "number"
  12371. },
  12372. "reckonadjustamount": {
  12373. "description": "调整金额",
  12374. "type": "number"
  12375. },
  12376. "reckonedamount": {
  12377. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  12378. "type": "number"
  12379. },
  12380. "reckonotheramount": {
  12381. "description": "其它费用",
  12382. "type": "number"
  12383. },
  12384. "reckonrealqty": {
  12385. "description": "已确定量",
  12386. "type": "number"
  12387. },
  12388. "remark": {
  12389. "description": "备注",
  12390. "type": "string"
  12391. },
  12392. "spotcontractid": {
  12393. "description": "合同ID",
  12394. "type": "string"
  12395. },
  12396. "spotgoodsbrandid": {
  12397. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12398. "type": "integer"
  12399. },
  12400. "spotgoodsdesc": {
  12401. "description": "商品型号(商品规格)",
  12402. "type": "string"
  12403. },
  12404. "startdate": {
  12405. "description": "点价开始日",
  12406. "type": "string"
  12407. },
  12408. "totalamount": {
  12409. "description": "合计总额",
  12410. "type": "number"
  12411. },
  12412. "unpayamount": {
  12413. "description": "应收付款额(应支付或应收款)",
  12414. "type": "number"
  12415. },
  12416. "unpricedqty": {
  12417. "description": "未定价量",
  12418. "type": "number"
  12419. },
  12420. "unsureqty": {
  12421. "description": "未确定量",
  12422. "type": "number"
  12423. },
  12424. "userid": {
  12425. "description": "机构ID",
  12426. "type": "integer"
  12427. },
  12428. "wrstandardcode": {
  12429. "description": "品类代码",
  12430. "type": "string"
  12431. },
  12432. "wrstandardid": {
  12433. "description": "品类ID",
  12434. "type": "integer"
  12435. },
  12436. "wrstandardname": {
  12437. "description": "品类名称",
  12438. "type": "string"
  12439. }
  12440. }
  12441. },
  12442. "models.ErmcpAreaSpotDetailModel": {
  12443. "type": "object",
  12444. "properties": {
  12445. "contracttype": {
  12446. "description": "合同类型 1-采购 -1-销售",
  12447. "type": "integer"
  12448. },
  12449. "createtime": {
  12450. "description": "创建时间",
  12451. "type": "string"
  12452. },
  12453. "enumdicname": {
  12454. "description": "现货商品单位名称",
  12455. "type": "string"
  12456. },
  12457. "logtype": {
  12458. "description": "记录类型 1-套保 2-现货合同",
  12459. "type": "integer"
  12460. },
  12461. "qty": {
  12462. "description": "数量",
  12463. "type": "number"
  12464. },
  12465. "recordname": {
  12466. "description": "类型名称",
  12467. "type": "string"
  12468. },
  12469. "relatedid": {
  12470. "description": "套保计划ID/现货合同ID",
  12471. "type": "string"
  12472. },
  12473. "relatedno": {
  12474. "description": "编号",
  12475. "type": "string"
  12476. },
  12477. "strtime": {
  12478. "description": "时间",
  12479. "type": "string"
  12480. },
  12481. "wrstandardcode": {
  12482. "description": "现货商品代码",
  12483. "type": "string"
  12484. },
  12485. "wrstandardname": {
  12486. "description": "现货商品名称",
  12487. "type": "string"
  12488. }
  12489. }
  12490. },
  12491. "models.ErmcpAreaStock": {
  12492. "type": "object",
  12493. "properties": {
  12494. "brandname": {
  12495. "description": "品牌名称",
  12496. "type": "string"
  12497. },
  12498. "curstock": {
  12499. "description": "期末库存量(今日量)",
  12500. "type": "number"
  12501. },
  12502. "deliverygoodsid": {
  12503. "description": "现货品种ID",
  12504. "type": "integer"
  12505. },
  12506. "enumdicname": {
  12507. "description": "单位名称",
  12508. "type": "string"
  12509. },
  12510. "modelname": {
  12511. "description": "型号名称",
  12512. "type": "string"
  12513. },
  12514. "oristock": {
  12515. "description": "期初库存量(昨日量)",
  12516. "type": "number"
  12517. },
  12518. "spotgoodsbrandid": {
  12519. "description": "现货品牌ID",
  12520. "type": "integer"
  12521. },
  12522. "spotgoodsmodelid": {
  12523. "description": "现货型号ID",
  12524. "type": "integer"
  12525. },
  12526. "todaybuyinqty": {
  12527. "description": "今日采购入库量",
  12528. "type": "number"
  12529. },
  12530. "todayproduceinqty": {
  12531. "description": "今日生产入库量",
  12532. "type": "number"
  12533. },
  12534. "todayproduceoutqty": {
  12535. "description": "今日生产出库量",
  12536. "type": "number"
  12537. },
  12538. "todayselloutqty": {
  12539. "description": "今日销售出库量",
  12540. "type": "number"
  12541. },
  12542. "unitid": {
  12543. "description": "单位id",
  12544. "type": "integer"
  12545. },
  12546. "updatetime": {
  12547. "description": "更新时间",
  12548. "type": "string"
  12549. },
  12550. "userid": {
  12551. "description": "机构ID",
  12552. "type": "integer"
  12553. },
  12554. "username": {
  12555. "description": "机构名称",
  12556. "type": "string"
  12557. },
  12558. "warehousecode": {
  12559. "description": "仓库代码",
  12560. "type": "string"
  12561. },
  12562. "warehouseinfoid": {
  12563. "description": "仓库ID",
  12564. "type": "string"
  12565. },
  12566. "warehousename": {
  12567. "description": "仓库名称",
  12568. "type": "string"
  12569. },
  12570. "warehousetype": {
  12571. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12572. "type": "integer"
  12573. },
  12574. "wrstandardcode": {
  12575. "description": "现货商品代码",
  12576. "type": "string"
  12577. },
  12578. "wrstandardid": {
  12579. "description": "现货商品ID",
  12580. "type": "string"
  12581. },
  12582. "wrstandardname": {
  12583. "description": "现货商品名称",
  12584. "type": "string"
  12585. }
  12586. }
  12587. },
  12588. "models.ErmcpAreaStockApply": {
  12589. "type": "object",
  12590. "properties": {
  12591. "applyid": {
  12592. "description": "申请人",
  12593. "type": "integer"
  12594. },
  12595. "applyname": {
  12596. "description": "申请人名称",
  12597. "type": "string"
  12598. },
  12599. "applyremark": {
  12600. "description": "申请备注",
  12601. "type": "string"
  12602. },
  12603. "applysrc": {
  12604. "description": "申请来源 - 1:管理端 2:终端",
  12605. "type": "integer"
  12606. },
  12607. "applystatus": {
  12608. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12609. "type": "integer"
  12610. },
  12611. "applytime": {
  12612. "description": "申请时间",
  12613. "type": "string"
  12614. },
  12615. "auditid": {
  12616. "description": "审核人",
  12617. "type": "integer"
  12618. },
  12619. "auditname": {
  12620. "description": "审核人名称",
  12621. "type": "string"
  12622. },
  12623. "auditremark": {
  12624. "description": "审核备注",
  12625. "type": "string"
  12626. },
  12627. "auditsrc": {
  12628. "description": "审核来源 - 1:管理端 2:终端",
  12629. "type": "integer"
  12630. },
  12631. "audittime": {
  12632. "description": "审核时间",
  12633. "type": "string"
  12634. },
  12635. "audittradedate": {
  12636. "description": "审核交易日(yyyyMMdd)",
  12637. "type": "string"
  12638. },
  12639. "brandname": {
  12640. "description": "品牌名称",
  12641. "type": "string"
  12642. },
  12643. "buyuserid": {
  12644. "description": "采购方userid",
  12645. "type": "integer"
  12646. },
  12647. "buyusername": {
  12648. "description": "采购方名称",
  12649. "type": "string"
  12650. },
  12651. "contractno": {
  12652. "description": "合同编号",
  12653. "type": "string"
  12654. },
  12655. "contractqty": {
  12656. "description": "合同量",
  12657. "type": "number"
  12658. },
  12659. "contracttype": {
  12660. "description": "现货合同类型 - 1:采购 -1:销售",
  12661. "type": "integer"
  12662. },
  12663. "deliverygoodsid": {
  12664. "description": "现货品种ID",
  12665. "type": "integer"
  12666. },
  12667. "enumdicname": {
  12668. "description": "现货商品单位名称",
  12669. "type": "string"
  12670. },
  12671. "inoutapplyid": {
  12672. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12673. "type": "string"
  12674. },
  12675. "inouttype": {
  12676. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12677. "type": "integer"
  12678. },
  12679. "modelname": {
  12680. "description": "型号名称",
  12681. "type": "string"
  12682. },
  12683. "pricetype": {
  12684. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12685. "type": "integer"
  12686. },
  12687. "qty": {
  12688. "description": "数量",
  12689. "type": "number"
  12690. },
  12691. "selluserid": {
  12692. "description": "销售方userid",
  12693. "type": "integer"
  12694. },
  12695. "sellusername": {
  12696. "description": "销售方名称",
  12697. "type": "string"
  12698. },
  12699. "spotcontractid": {
  12700. "description": "关联现货合同ID",
  12701. "type": "string"
  12702. },
  12703. "spotgoodsbrandid": {
  12704. "description": "现货品牌ID",
  12705. "type": "integer"
  12706. },
  12707. "spotgoodsmodelid": {
  12708. "description": "现货型号ID",
  12709. "type": "integer"
  12710. },
  12711. "unitid": {
  12712. "description": "单位id",
  12713. "type": "integer"
  12714. },
  12715. "userid": {
  12716. "description": "机构ID",
  12717. "type": "integer"
  12718. },
  12719. "warehousecode": {
  12720. "description": "仓库代码",
  12721. "type": "string"
  12722. },
  12723. "warehouseinfoid": {
  12724. "description": "现货仓库ID",
  12725. "type": "string"
  12726. },
  12727. "warehousename": {
  12728. "description": "仓库名称",
  12729. "type": "string"
  12730. },
  12731. "warehousetype": {
  12732. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12733. "type": "integer"
  12734. },
  12735. "wrstandardcode": {
  12736. "description": "现货商品代码",
  12737. "type": "string"
  12738. },
  12739. "wrstandardid": {
  12740. "description": "现货商品ID",
  12741. "type": "string"
  12742. },
  12743. "wrstandardname": {
  12744. "description": "现货商品名称",
  12745. "type": "string"
  12746. }
  12747. }
  12748. },
  12749. "models.ErmcpAreaStockApplySum": {
  12750. "type": "object",
  12751. "properties": {
  12752. "brandname": {
  12753. "description": "品牌名称",
  12754. "type": "string"
  12755. },
  12756. "inouttype": {
  12757. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12758. "type": "integer"
  12759. },
  12760. "modelname": {
  12761. "description": "型号名称",
  12762. "type": "string"
  12763. },
  12764. "spotcontractid": {
  12765. "description": "关联现货合同ID",
  12766. "type": "string"
  12767. },
  12768. "spotgoodsbrandid": {
  12769. "description": "品牌id",
  12770. "type": "integer"
  12771. },
  12772. "spotgoodsmodelid": {
  12773. "description": "型号id",
  12774. "type": "integer"
  12775. },
  12776. "totalqty": {
  12777. "description": "总数量",
  12778. "type": "number"
  12779. }
  12780. }
  12781. },
  12782. "models.ErmcpAreaStockReport": {
  12783. "type": "object",
  12784. "properties": {
  12785. "brandname": {
  12786. "description": "品牌名称",
  12787. "type": "string"
  12788. },
  12789. "curstock": {
  12790. "description": "期末库存量",
  12791. "type": "number"
  12792. },
  12793. "deliverygoodsid": {
  12794. "description": "现货品种ID",
  12795. "type": "integer"
  12796. },
  12797. "enumdicname": {
  12798. "description": "单位名称",
  12799. "type": "string"
  12800. },
  12801. "modelname": {
  12802. "description": "型号名称",
  12803. "type": "string"
  12804. },
  12805. "oristock": {
  12806. "description": "期初库存量",
  12807. "type": "number"
  12808. },
  12809. "spotgoodsbrandid": {
  12810. "description": "现货品牌ID",
  12811. "type": "integer"
  12812. },
  12813. "spotgoodsmodelid": {
  12814. "description": "现货型号ID",
  12815. "type": "integer"
  12816. },
  12817. "todaybuyinqty": {
  12818. "description": "今日采购入库量",
  12819. "type": "number"
  12820. },
  12821. "todayproduceinqty": {
  12822. "description": "今日生产入库量",
  12823. "type": "number"
  12824. },
  12825. "todayproduceoutqty": {
  12826. "description": "今日生产出库量",
  12827. "type": "number"
  12828. },
  12829. "todayselloutqty": {
  12830. "description": "今日销售出库量",
  12831. "type": "number"
  12832. },
  12833. "unitid": {
  12834. "description": "单位id",
  12835. "type": "integer"
  12836. },
  12837. "updatetime": {
  12838. "description": "更新时间",
  12839. "type": "string"
  12840. },
  12841. "userid": {
  12842. "description": "机构ID",
  12843. "type": "integer"
  12844. },
  12845. "username": {
  12846. "description": "机构名称",
  12847. "type": "string"
  12848. },
  12849. "warehousecode": {
  12850. "description": "仓库代码",
  12851. "type": "string"
  12852. },
  12853. "warehouseinfoid": {
  12854. "description": "仓库ID",
  12855. "type": "string"
  12856. },
  12857. "warehousename": {
  12858. "description": "仓库名称",
  12859. "type": "string"
  12860. },
  12861. "warehousetype": {
  12862. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12863. "type": "integer"
  12864. },
  12865. "wrstandardcode": {
  12866. "description": "现货商品代码",
  12867. "type": "string"
  12868. },
  12869. "wrstandardid": {
  12870. "description": "现货商品ID",
  12871. "type": "string"
  12872. },
  12873. "wrstandardname": {
  12874. "description": "现货商品名称",
  12875. "type": "string"
  12876. }
  12877. }
  12878. },
  12879. "models.ErmcpAvalidGoodsGroupModel": {
  12880. "type": "object",
  12881. "properties": {
  12882. "goodsgroupid": {
  12883. "description": "期货品种id",
  12884. "type": "integer"
  12885. },
  12886. "goodsgroupname": {
  12887. "description": "期货品种名称",
  12888. "type": "string"
  12889. },
  12890. "goodunitid": {
  12891. "description": "品种单位id",
  12892. "type": "integer"
  12893. },
  12894. "goodunitname": {
  12895. "description": "品种单位名称",
  12896. "type": "string"
  12897. },
  12898. "outergroupcode": {
  12899. "description": "期货品种代码",
  12900. "type": "string"
  12901. }
  12902. }
  12903. },
  12904. "models.ErmcpBizGroupEx": {
  12905. "type": "object",
  12906. "properties": {
  12907. "acclist": {
  12908. "description": "账号列表",
  12909. "type": "array",
  12910. "items": {
  12911. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  12912. }
  12913. },
  12914. "bizgroupid": {
  12915. "description": "业务分组id",
  12916. "type": "integer"
  12917. },
  12918. "biztype": {
  12919. "description": "业务类型 1-套保 2-套利",
  12920. "type": "integer"
  12921. },
  12922. "wrlist": {
  12923. "description": "现货商品表",
  12924. "type": "array",
  12925. "items": {
  12926. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  12927. }
  12928. }
  12929. }
  12930. },
  12931. "models.ErmcpBizGroupSpotGoods": {
  12932. "type": "object",
  12933. "properties": {
  12934. "areauserid": {
  12935. "description": "所属机构id",
  12936. "type": "integer"
  12937. },
  12938. "bizgroupid": {
  12939. "description": "分组id",
  12940. "type": "integer"
  12941. },
  12942. "biztype": {
  12943. "description": "业务类型 1-套保 2-套利",
  12944. "type": "integer"
  12945. },
  12946. "deliverygoodscode": {
  12947. "description": "现货商品代码",
  12948. "type": "string"
  12949. },
  12950. "deliverygoodsid": {
  12951. "description": "现货商品id",
  12952. "type": "integer"
  12953. },
  12954. "deliverygoodsname": {
  12955. "description": "现货商品名称",
  12956. "type": "string"
  12957. },
  12958. "unitid": {
  12959. "description": "现货商品单位id",
  12960. "type": "integer"
  12961. }
  12962. }
  12963. },
  12964. "models.ErmcpBizGroupTaAccount": {
  12965. "type": "object",
  12966. "properties": {
  12967. "accountid": {
  12968. "description": "账号id",
  12969. "type": "string"
  12970. },
  12971. "accountname": {
  12972. "description": "账号名称",
  12973. "type": "string"
  12974. },
  12975. "areauserid": {
  12976. "description": "所属机构id",
  12977. "type": "integer"
  12978. },
  12979. "bizgroupid": {
  12980. "description": "业务分组id",
  12981. "type": "integer"
  12982. },
  12983. "ismain": {
  12984. "description": "是否主账号 1-是 0-否",
  12985. "type": "integer"
  12986. }
  12987. }
  12988. },
  12989. "models.ErmcpBrand": {
  12990. "type": "object",
  12991. "properties": {
  12992. "brandid": {
  12993. "description": "品牌id",
  12994. "type": "integer"
  12995. },
  12996. "brandname": {
  12997. "description": "品牌名称",
  12998. "type": "string"
  12999. },
  13000. "deliverygoodsid": {
  13001. "description": "品种ID",
  13002. "type": "integer"
  13003. }
  13004. }
  13005. },
  13006. "models.ErmcpDeliveryGoods": {
  13007. "type": "object",
  13008. "properties": {
  13009. "agreeunit": {
  13010. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  13011. "type": "integer"
  13012. },
  13013. "areauserid": {
  13014. "description": "所属机构",
  13015. "type": "integer"
  13016. },
  13017. "auditflag": {
  13018. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  13019. "type": "integer"
  13020. },
  13021. "categoryid": {
  13022. "description": "类别ID(SEQ_WRCATEGORY)",
  13023. "type": "integer"
  13024. },
  13025. "deliverygoodscode": {
  13026. "description": "现货品种代码",
  13027. "type": "string"
  13028. },
  13029. "deliverygoodsid": {
  13030. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  13031. "type": "integer"
  13032. },
  13033. "deliverygoodsname": {
  13034. "description": "现货品种名称",
  13035. "type": "string"
  13036. },
  13037. "deliverygoodstype": {
  13038. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  13039. "type": "integer"
  13040. },
  13041. "dgstatus": {
  13042. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  13043. "type": "integer"
  13044. },
  13045. "enumdicname": {
  13046. "description": "现货品种单位名称",
  13047. "type": "string"
  13048. },
  13049. "goodsunitid": {
  13050. "description": "现货品种单位ID",
  13051. "type": "integer"
  13052. },
  13053. "isvalid": {
  13054. "description": "是否有效 - 0:无效 1:有效",
  13055. "type": "integer"
  13056. },
  13057. "qtydecimalplace": {
  13058. "description": "成交量小数位",
  13059. "type": "integer"
  13060. },
  13061. "standardqty": {
  13062. "description": "标准数量(库位数量) [标准品特有]",
  13063. "type": "integer"
  13064. },
  13065. "standardqtyrange": {
  13066. "description": "标准数量偏差范围 [标准品特有]",
  13067. "type": "integer"
  13068. }
  13069. }
  13070. },
  13071. "models.ErmcpDeliveryGoodsDetail": {
  13072. "type": "object",
  13073. "properties": {
  13074. "data": {
  13075. "description": "现货商品基本信息(交割品种)",
  13076. "type": "object",
  13077. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  13078. },
  13079. "gblist": {
  13080. "description": "品牌列表",
  13081. "type": "array",
  13082. "items": {
  13083. "$ref": "#/definitions/models.ErmcpBrand"
  13084. }
  13085. },
  13086. "gmlist": {
  13087. "description": "品类列表(仓单标准)",
  13088. "type": "array",
  13089. "items": {
  13090. "$ref": "#/definitions/models.ErmcpWrstandard"
  13091. }
  13092. },
  13093. "goodslist": {
  13094. "description": "关联交易商品列表",
  13095. "type": "array",
  13096. "items": {
  13097. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  13098. }
  13099. },
  13100. "wrslist": {
  13101. "description": "套保信息列表",
  13102. "type": "array",
  13103. "items": {
  13104. "$ref": "#/definitions/models.WRSConverTDetail"
  13105. }
  13106. }
  13107. }
  13108. },
  13109. "models.ErmcpExposureDetailModel": {
  13110. "type": "object",
  13111. "properties": {
  13112. "areauserid": {
  13113. "description": "机构ID",
  13114. "type": "integer"
  13115. },
  13116. "changeQty": {
  13117. "description": "套保变动量",
  13118. "type": "number"
  13119. },
  13120. "contracttype": {
  13121. "description": "现货合同类型 - 1:采购 -1:销售",
  13122. "type": "integer"
  13123. },
  13124. "convertfactor": {
  13125. "description": "标仓系数",
  13126. "type": "number"
  13127. },
  13128. "convertratio": {
  13129. "description": "套保系数",
  13130. "type": "number"
  13131. },
  13132. "createtime": {
  13133. "description": "时间",
  13134. "type": "string"
  13135. },
  13136. "enumdicname": {
  13137. "description": "现货商品单位名称",
  13138. "type": "string"
  13139. },
  13140. "logtype": {
  13141. "description": "类型 - 1:套保计划 2:现货合同",
  13142. "type": "integer"
  13143. },
  13144. "middlegoodsId": {
  13145. "description": "套保商品id",
  13146. "type": "integer"
  13147. },
  13148. "middlegoodscode": {
  13149. "description": "套保商品代码",
  13150. "type": "string"
  13151. },
  13152. "middlegoodsname": {
  13153. "description": "套保商品名称",
  13154. "type": "string"
  13155. },
  13156. "qty": {
  13157. "description": "数量",
  13158. "type": "number"
  13159. },
  13160. "relateNo": {
  13161. "description": "现货合同/套保计划编号",
  13162. "type": "string"
  13163. },
  13164. "wrstandardcode": {
  13165. "description": "现货商品代码",
  13166. "type": "string"
  13167. },
  13168. "wrstandardid": {
  13169. "description": "现货商品ID",
  13170. "type": "integer"
  13171. },
  13172. "wrstandardname": {
  13173. "description": "现货商品名称",
  13174. "type": "string"
  13175. }
  13176. }
  13177. },
  13178. "models.ErmcpExposurePostion": {
  13179. "type": "object",
  13180. "properties": {
  13181. "agreeunit": {
  13182. "description": "合约单位",
  13183. "type": "string"
  13184. },
  13185. "areauserid": {
  13186. "description": "所属机构id",
  13187. "type": "integer"
  13188. },
  13189. "convertratio": {
  13190. "description": "期货品种系数(折算系数)",
  13191. "type": "number"
  13192. },
  13193. "curqty": {
  13194. "description": "当前持仓",
  13195. "type": "integer"
  13196. },
  13197. "diffhedgeqty": {
  13198. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  13199. "type": "number"
  13200. },
  13201. "diffqty": {
  13202. "description": "持仓变动量=当前持仓-昨日持仓",
  13203. "type": "integer"
  13204. },
  13205. "goodscode": {
  13206. "description": "商品代码",
  13207. "type": "string"
  13208. },
  13209. "goodsid": {
  13210. "description": "商品id",
  13211. "type": "integer"
  13212. },
  13213. "goodsname": {
  13214. "description": "商品名称",
  13215. "type": "string"
  13216. },
  13217. "middlegoodsid": {
  13218. "description": "套保商品id",
  13219. "type": "integer"
  13220. },
  13221. "ydqty": {
  13222. "description": "昨日持仓",
  13223. "type": "integer"
  13224. }
  13225. }
  13226. },
  13227. "models.ErmcpFuturesCompany": {
  13228. "type": "object",
  13229. "properties": {
  13230. "brokerid": {
  13231. "description": "经纪公司代码",
  13232. "type": "string"
  13233. },
  13234. "channeladdress": {
  13235. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  13236. "type": "string"
  13237. },
  13238. "channelid": {
  13239. "description": "对冲渠道ID",
  13240. "type": "string"
  13241. },
  13242. "createtime": {
  13243. "description": "创建时间",
  13244. "type": "string"
  13245. },
  13246. "creatorid": {
  13247. "description": "创建人",
  13248. "type": "string"
  13249. },
  13250. "fcid": {
  13251. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  13252. "type": "integer"
  13253. },
  13254. "fcname": {
  13255. "description": "期货公司名称",
  13256. "type": "string"
  13257. },
  13258. "isvalid": {
  13259. "description": "是否有效 - 0:无效 1:有效",
  13260. "type": "integer"
  13261. },
  13262. "mhpaddress": {
  13263. "description": "MHP服务地址(IP:Port)",
  13264. "type": "string"
  13265. },
  13266. "riskrulegroupid": {
  13267. "description": "风控规则组ID",
  13268. "type": "string"
  13269. },
  13270. "tradefeetmpid": {
  13271. "description": "手续费模板ID[TradeConfigTmpType为2]",
  13272. "type": "string"
  13273. },
  13274. "trademargintmpid": {
  13275. "description": "保证金模板ID [TradeConfigTmpType为1]",
  13276. "type": "string"
  13277. },
  13278. "traderatetmpid": {
  13279. "description": "汇率模板ID[TradeConfigTmpType为3]",
  13280. "type": "string"
  13281. },
  13282. "updatetime": {
  13283. "description": "更新时间",
  13284. "type": "string"
  13285. },
  13286. "updatorid": {
  13287. "description": "更新人",
  13288. "type": "string"
  13289. }
  13290. }
  13291. },
  13292. "models.ErmcpGGConvertCfg": {
  13293. "type": "object",
  13294. "properties": {
  13295. "convertratio": {
  13296. "description": "折算系数",
  13297. "type": "number"
  13298. },
  13299. "destgoodsgroupid": {
  13300. "description": "目标品种ID",
  13301. "type": "integer"
  13302. },
  13303. "dstcode": {
  13304. "description": "目录品种代码",
  13305. "type": "string"
  13306. },
  13307. "dstexchangecode": {
  13308. "description": "目标期货交易所",
  13309. "type": "string"
  13310. },
  13311. "dstname": {
  13312. "description": "目标品种名称",
  13313. "type": "string"
  13314. },
  13315. "dstunitid": {
  13316. "description": "目标品种单位ID",
  13317. "type": "integer"
  13318. },
  13319. "dstunitidname": {
  13320. "description": "目标品种单位名称",
  13321. "type": "string"
  13322. },
  13323. "modifytime": {
  13324. "description": "修改时间",
  13325. "type": "string"
  13326. },
  13327. "srccode": {
  13328. "description": "源品种代码",
  13329. "type": "string"
  13330. },
  13331. "srcexchangecode": {
  13332. "description": "源期货交易所",
  13333. "type": "string"
  13334. },
  13335. "srcgoodsgroupid": {
  13336. "description": "源品种ID",
  13337. "type": "integer"
  13338. },
  13339. "srcname": {
  13340. "description": "源品种名称",
  13341. "type": "string"
  13342. },
  13343. "srcunitid": {
  13344. "description": "源品种单位ID",
  13345. "type": "integer"
  13346. },
  13347. "srcunitidname": {
  13348. "description": "源品种单位名称",
  13349. "type": "string"
  13350. }
  13351. }
  13352. },
  13353. "models.ErmcpGoodsBrand": {
  13354. "type": "object",
  13355. "properties": {
  13356. "areauserid": {
  13357. "description": "所属机构",
  13358. "type": "integer"
  13359. },
  13360. "brandid": {
  13361. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13362. "type": "integer"
  13363. },
  13364. "brandname": {
  13365. "description": "品牌名称",
  13366. "type": "string"
  13367. },
  13368. "createtime": {
  13369. "description": "创建时间",
  13370. "type": "string"
  13371. },
  13372. "creatorid": {
  13373. "description": "创建人",
  13374. "type": "integer"
  13375. },
  13376. "creatorsrc": {
  13377. "description": "创建人来源 - 1:管理端 2:终端",
  13378. "type": "integer"
  13379. },
  13380. "deliverygoodsid": {
  13381. "description": "现货品种ID",
  13382. "type": "integer"
  13383. },
  13384. "isvalid": {
  13385. "description": "是否有效 - 0:无效 1:有效",
  13386. "type": "integer"
  13387. },
  13388. "updatetime": {
  13389. "description": "更新时间",
  13390. "type": "string"
  13391. },
  13392. "updatorid": {
  13393. "description": "更新人",
  13394. "type": "integer"
  13395. },
  13396. "updatorsrc": {
  13397. "description": "更新人来源 - 1:管理端 2:终端",
  13398. "type": "integer"
  13399. },
  13400. "wrstandardid": {
  13401. "description": "现货商品ID",
  13402. "type": "integer"
  13403. }
  13404. }
  13405. },
  13406. "models.ErmcpGoodsModel": {
  13407. "type": "object",
  13408. "properties": {
  13409. "areauserid": {
  13410. "description": "所属机构",
  13411. "type": "integer"
  13412. },
  13413. "convertfactor": {
  13414. "description": "标仓系数",
  13415. "type": "number"
  13416. },
  13417. "createtime": {
  13418. "description": "创建时间",
  13419. "type": "string"
  13420. },
  13421. "creatorid": {
  13422. "description": "创建人",
  13423. "type": "integer"
  13424. },
  13425. "creatorsrc": {
  13426. "description": "创建人来源 - 1:管理端 2:终端",
  13427. "type": "integer"
  13428. },
  13429. "deliverygoodsid": {
  13430. "description": "现货品种ID",
  13431. "type": "integer"
  13432. },
  13433. "isvalid": {
  13434. "description": "是否有效 - 0:无效 1:有效",
  13435. "type": "integer"
  13436. },
  13437. "modelid": {
  13438. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13439. "type": "integer"
  13440. },
  13441. "modelname": {
  13442. "description": "型号名称",
  13443. "type": "string"
  13444. },
  13445. "updatetime": {
  13446. "description": "更新时间",
  13447. "type": "string"
  13448. },
  13449. "updatorid": {
  13450. "description": "更新人",
  13451. "type": "integer"
  13452. },
  13453. "updatorsrc": {
  13454. "description": "更新人来源 - 1:管理端 2:终端",
  13455. "type": "integer"
  13456. },
  13457. "wrstandardid": {
  13458. "description": "现货商品ID",
  13459. "type": "integer"
  13460. }
  13461. }
  13462. },
  13463. "models.ErmcpHedgePlan": {
  13464. "type": "object",
  13465. "properties": {
  13466. "areauserid": {
  13467. "description": "用户ID",
  13468. "type": "integer"
  13469. },
  13470. "audittime": {
  13471. "description": "审核时间",
  13472. "type": "string"
  13473. },
  13474. "contracttype": {
  13475. "description": "计划类型 - 1:采购 -1:销售",
  13476. "type": "integer"
  13477. },
  13478. "convertfactor": {
  13479. "description": "标仓系数",
  13480. "type": "number"
  13481. },
  13482. "createtime": {
  13483. "description": "创建时间",
  13484. "type": "string"
  13485. },
  13486. "deliverygoodsid": {
  13487. "description": "现货品种ID",
  13488. "type": "integer"
  13489. },
  13490. "deliverygoodsname": {
  13491. "description": "现货品种名称",
  13492. "type": "string"
  13493. },
  13494. "enumdicname": {
  13495. "description": "单位名称",
  13496. "type": "string"
  13497. },
  13498. "hedgeplanid": {
  13499. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  13500. "type": "string"
  13501. },
  13502. "hedgeplanno": {
  13503. "description": "套保计划编号(名称)",
  13504. "type": "string"
  13505. },
  13506. "hedgeplanstatus": {
  13507. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13508. "type": "integer"
  13509. },
  13510. "planqty": {
  13511. "description": "计划数量",
  13512. "type": "number"
  13513. },
  13514. "plantime": {
  13515. "description": "计划时间",
  13516. "type": "string"
  13517. },
  13518. "producttype": {
  13519. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13520. "type": "integer"
  13521. },
  13522. "remark": {
  13523. "description": "备注",
  13524. "type": "string"
  13525. },
  13526. "spotgoodsdesc": {
  13527. "description": "商品型号",
  13528. "type": "string"
  13529. },
  13530. "unitid": {
  13531. "description": "单位id",
  13532. "type": "integer"
  13533. },
  13534. "updatetime": {
  13535. "description": "更新时间",
  13536. "type": "string"
  13537. },
  13538. "wrstandardid": {
  13539. "description": "现货商品ID",
  13540. "type": "integer"
  13541. },
  13542. "wrstandardname": {
  13543. "description": "现货商品名称",
  13544. "type": "string"
  13545. }
  13546. }
  13547. },
  13548. "models.ErmcpHedgePosition": {
  13549. "type": "object",
  13550. "properties": {
  13551. "accountid": {
  13552. "description": "资金账号[外部母账户]",
  13553. "type": "integer"
  13554. },
  13555. "curbuyposition": {
  13556. "description": "期末买头寸",
  13557. "type": "integer"
  13558. },
  13559. "cursellposition": {
  13560. "description": "期末卖头寸",
  13561. "type": "integer"
  13562. },
  13563. "curtdbuyposition": {
  13564. "description": "期末今日买头寸",
  13565. "type": "integer"
  13566. },
  13567. "curtdsellposition": {
  13568. "description": "期末今日卖头寸",
  13569. "type": "integer"
  13570. },
  13571. "curydbuyposition": {
  13572. "description": "期末上日买头寸",
  13573. "type": "integer"
  13574. },
  13575. "curydsellposition": {
  13576. "description": "期末上日卖头寸",
  13577. "type": "integer"
  13578. },
  13579. "decreaseqty": {
  13580. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  13581. "type": "integer"
  13582. },
  13583. "fretdbuyposition": {
  13584. "description": "冻结今日买头寸",
  13585. "type": "integer"
  13586. },
  13587. "fretdsellposition": {
  13588. "description": "冻结今日卖头寸",
  13589. "type": "integer"
  13590. },
  13591. "freydbuyposition": {
  13592. "description": "冻结上日买头寸",
  13593. "type": "integer"
  13594. },
  13595. "freydsellposition": {
  13596. "description": "冻结上日卖头寸",
  13597. "type": "integer"
  13598. },
  13599. "goodscode": {
  13600. "description": "商品代码",
  13601. "type": "string"
  13602. },
  13603. "goodsid": {
  13604. "description": "商品id",
  13605. "type": "integer"
  13606. },
  13607. "goodsname": {
  13608. "description": "商品名称",
  13609. "type": "string"
  13610. },
  13611. "hedgeaccountcode": {
  13612. "description": "对冲账号",
  13613. "type": "string"
  13614. },
  13615. "hedgegoodsid": {
  13616. "description": "对冲合约ID",
  13617. "type": "integer"
  13618. },
  13619. "increaseqty": {
  13620. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  13621. "type": "integer"
  13622. },
  13623. "marketid": {
  13624. "description": "市场ID",
  13625. "type": "integer"
  13626. },
  13627. "relateduserid": {
  13628. "description": "关联用户id",
  13629. "type": "integer"
  13630. },
  13631. "totalcurqty": {
  13632. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  13633. "type": "integer"
  13634. },
  13635. "totalydqty": {
  13636. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  13637. "type": "integer"
  13638. },
  13639. "tradedate": {
  13640. "description": "交易日(yyyyMMdd)",
  13641. "type": "string"
  13642. },
  13643. "ydbuyposition": {
  13644. "description": "期初买头寸",
  13645. "type": "integer"
  13646. },
  13647. "ydsellposition": {
  13648. "description": "期初卖头寸",
  13649. "type": "integer"
  13650. }
  13651. }
  13652. },
  13653. "models.ErmcpHedgePositionDetail": {
  13654. "type": "object",
  13655. "properties": {
  13656. "buyorsell": {
  13657. "description": "买卖方向 0-买 1-卖",
  13658. "type": "integer"
  13659. },
  13660. "channelbuildtype": {
  13661. "description": "开平方向 1-建仓 2-平仓",
  13662. "type": "integer"
  13663. },
  13664. "goodscode": {
  13665. "description": "商品代码",
  13666. "type": "string"
  13667. },
  13668. "goodsname": {
  13669. "description": "商品名称",
  13670. "type": "string"
  13671. },
  13672. "hedgegoodsid": {
  13673. "description": "商品id",
  13674. "type": "integer"
  13675. },
  13676. "tradeqty": {
  13677. "description": "数量(成交数量)",
  13678. "type": "integer"
  13679. },
  13680. "tradetime": {
  13681. "description": "时间(成交时间)",
  13682. "type": "string"
  13683. }
  13684. }
  13685. },
  13686. "models.ErmcpHisExposure": {
  13687. "type": "object",
  13688. "properties": {
  13689. "needhedgeexposoure": {
  13690. "description": "应套保敞口",
  13691. "type": "number"
  13692. },
  13693. "reckondate": {
  13694. "description": "日照时期(yyyyMMdd)",
  13695. "type": "string"
  13696. },
  13697. "totalexposure": {
  13698. "description": "总敞口",
  13699. "type": "number"
  13700. }
  13701. }
  13702. },
  13703. "models.ErmcpHisExposureS": {
  13704. "type": "object",
  13705. "properties": {
  13706. "data": {
  13707. "description": "历史敞口",
  13708. "type": "array",
  13709. "items": {
  13710. "$ref": "#/definitions/models.ErmcpHisExposure"
  13711. }
  13712. },
  13713. "enumdicname": {
  13714. "description": "单位名称",
  13715. "type": "string"
  13716. },
  13717. "middlegoodscode": {
  13718. "description": "套保品种代码",
  13719. "type": "string"
  13720. },
  13721. "middlegoodsid": {
  13722. "description": "套保品种ID",
  13723. "type": "integer"
  13724. },
  13725. "middlegoodsname": {
  13726. "description": "套保品种名称",
  13727. "type": "string"
  13728. }
  13729. }
  13730. },
  13731. "models.ErmcpLoginUser": {
  13732. "type": "object",
  13733. "properties": {
  13734. "accountname": {
  13735. "description": "用户名称",
  13736. "type": "string"
  13737. },
  13738. "clientroleid": {
  13739. "description": "角色id(usertype=2)",
  13740. "type": "integer"
  13741. },
  13742. "createtime": {
  13743. "description": "创建时间",
  13744. "type": "string"
  13745. },
  13746. "logincode": {
  13747. "description": "登录代码",
  13748. "type": "string"
  13749. },
  13750. "loginid": {
  13751. "description": "登录id(LOGINID)",
  13752. "type": "integer"
  13753. },
  13754. "loginstatus": {
  13755. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  13756. "type": "integer"
  13757. },
  13758. "memberuserid": {
  13759. "description": "所属会员id",
  13760. "type": "integer"
  13761. },
  13762. "modifytime": {
  13763. "description": "修改时间",
  13764. "type": "string"
  13765. },
  13766. "rolename": {
  13767. "description": "角色名称",
  13768. "type": "string"
  13769. },
  13770. "rolestatus": {
  13771. "description": "角色状态 1-启用 2-停用",
  13772. "type": "integer"
  13773. },
  13774. "roletype": {
  13775. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  13776. "type": "string"
  13777. },
  13778. "userid": {
  13779. "description": "用户id",
  13780. "type": "integer"
  13781. },
  13782. "usertype": {
  13783. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  13784. "type": "integer"
  13785. }
  13786. }
  13787. },
  13788. "models.ErmcpLoginUserEx": {
  13789. "type": "object",
  13790. "properties": {
  13791. "roleid": {
  13792. "description": "角色id",
  13793. "type": "integer"
  13794. },
  13795. "rolename": {
  13796. "description": "角色名称",
  13797. "type": "string"
  13798. },
  13799. "userlist": {
  13800. "description": "用户列表",
  13801. "type": "array",
  13802. "items": {
  13803. "$ref": "#/definitions/models.ErmcpLoginUser"
  13804. }
  13805. },
  13806. "usertype": {
  13807. "description": "用户类型 2-机构 7-企业成员(云平台)",
  13808. "type": "integer"
  13809. }
  13810. }
  13811. },
  13812. "models.ErmcpMiddleGoodsChangeLog": {
  13813. "type": "object",
  13814. "properties": {
  13815. "aftervalue": {
  13816. "description": "变更后",
  13817. "type": "number"
  13818. },
  13819. "applyid": {
  13820. "description": "操作人",
  13821. "type": "integer"
  13822. },
  13823. "applyname": {
  13824. "description": "操作人名称",
  13825. "type": "string"
  13826. },
  13827. "applysrc": {
  13828. "description": "操作来源 - 1:管理端 2:终端",
  13829. "type": "integer"
  13830. },
  13831. "beforevalue": {
  13832. "description": "变更前",
  13833. "type": "number"
  13834. },
  13835. "changelogtype": {
  13836. "description": "变更流水类型 - 1:套保比率变更",
  13837. "type": "integer"
  13838. },
  13839. "handlestatus": {
  13840. "description": "处理状态",
  13841. "type": "integer"
  13842. },
  13843. "logdatetime": {
  13844. "description": "流水日期",
  13845. "type": "string"
  13846. },
  13847. "logid": {
  13848. "description": "流水ID",
  13849. "type": "integer"
  13850. },
  13851. "logremark": {
  13852. "description": "流水备注",
  13853. "type": "string"
  13854. },
  13855. "middlegoodsid": {
  13856. "description": "套保品种ID",
  13857. "type": "integer"
  13858. },
  13859. "tradedate": {
  13860. "description": "交易日(yyyyMMdd)",
  13861. "type": "string"
  13862. },
  13863. "updatetime": {
  13864. "description": "更新时间",
  13865. "type": "string"
  13866. }
  13867. }
  13868. },
  13869. "models.ErmcpMiddleGoodsDetail": {
  13870. "type": "object",
  13871. "properties": {
  13872. "cvList": {
  13873. "description": "期货品种折算列表",
  13874. "type": "array",
  13875. "items": {
  13876. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13877. }
  13878. },
  13879. "mg": {
  13880. "description": "套保品种基本信息",
  13881. "type": "object",
  13882. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13883. },
  13884. "wrcList": {
  13885. "description": "现货品种列表(现货商品折算配置)",
  13886. "type": "array",
  13887. "items": {
  13888. "$ref": "#/definitions/models.WRSConverTDetail"
  13889. }
  13890. }
  13891. }
  13892. },
  13893. "models.ErmcpMiddleGoodsModel": {
  13894. "type": "object",
  13895. "properties": {
  13896. "areauserid": {
  13897. "description": "机构用户ID",
  13898. "type": "integer"
  13899. },
  13900. "createtime": {
  13901. "description": "修改时间",
  13902. "type": "string"
  13903. },
  13904. "enumdicname": {
  13905. "description": "单位名称",
  13906. "type": "string"
  13907. },
  13908. "evaluateratio": {
  13909. "description": "估价系数",
  13910. "type": "number"
  13911. },
  13912. "goodsgroupid": {
  13913. "description": "关联期货品种ID",
  13914. "type": "integer"
  13915. },
  13916. "isvalid": {
  13917. "description": "状态 0-无效(停用) 1-有效(正常)",
  13918. "type": "integer"
  13919. },
  13920. "middlegoodscode": {
  13921. "description": "套保品种代码",
  13922. "type": "string"
  13923. },
  13924. "middlegoodsid": {
  13925. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13926. "type": "integer"
  13927. },
  13928. "middlegoodsname": {
  13929. "description": "套保品种名称",
  13930. "type": "string"
  13931. },
  13932. "modifytime": {
  13933. "description": "修改时间",
  13934. "type": "string"
  13935. },
  13936. "needhedgeratio": {
  13937. "description": "套保比率",
  13938. "type": "number"
  13939. },
  13940. "qtydecimalplace": {
  13941. "description": "数量小数位",
  13942. "type": "integer"
  13943. },
  13944. "relatedgoodsid": {
  13945. "description": "关联交易商品ID",
  13946. "type": "integer"
  13947. },
  13948. "relatedgoodstype": {
  13949. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13950. "type": "integer"
  13951. },
  13952. "remark": {
  13953. "description": "备注",
  13954. "type": "string"
  13955. }
  13956. }
  13957. },
  13958. "models.ErmcpModel": {
  13959. "type": "object",
  13960. "properties": {
  13961. "accountname": {
  13962. "description": "账户名称",
  13963. "type": "string"
  13964. },
  13965. "attachment": {
  13966. "description": "附件",
  13967. "type": "string"
  13968. },
  13969. "audittime": {
  13970. "description": "审核时间",
  13971. "type": "string"
  13972. },
  13973. "brandname": {
  13974. "description": "品牌名称",
  13975. "type": "string"
  13976. },
  13977. "contracctstatus": {
  13978. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13979. "type": "integer"
  13980. },
  13981. "contractmargin": {
  13982. "description": "合同保证金",
  13983. "type": "number"
  13984. },
  13985. "contractno": {
  13986. "description": "合同编号",
  13987. "type": "string"
  13988. },
  13989. "contracttype": {
  13990. "description": "合同类型 1-采购, -1-销售",
  13991. "type": "integer"
  13992. },
  13993. "convertfactor": {
  13994. "description": "标仓系数",
  13995. "type": "number"
  13996. },
  13997. "createtime": {
  13998. "description": "创建时间",
  13999. "type": "string"
  14000. },
  14001. "daikaiamount": {
  14002. "description": "应收(开)票额",
  14003. "type": "number"
  14004. },
  14005. "deliveryenddate": {
  14006. "description": "交割结束日",
  14007. "type": "string"
  14008. },
  14009. "deliverygoodscode": {
  14010. "description": "现货品种代码",
  14011. "type": "string"
  14012. },
  14013. "deliverygoodsid": {
  14014. "description": "现货商品ID",
  14015. "type": "integer"
  14016. },
  14017. "deliverygoodsname": {
  14018. "description": "现货品种名称",
  14019. "type": "string"
  14020. },
  14021. "deliverystartdate": {
  14022. "description": "交割开始日",
  14023. "type": "string"
  14024. },
  14025. "enddate": {
  14026. "description": "点价结束日",
  14027. "type": "string"
  14028. },
  14029. "enumdicname": {
  14030. "description": "单位名称",
  14031. "type": "string"
  14032. },
  14033. "goodscode": {
  14034. "description": "点价商品代码",
  14035. "type": "string"
  14036. },
  14037. "goodsid": {
  14038. "description": "点价商品ID",
  14039. "type": "integer"
  14040. },
  14041. "goodsname": {
  14042. "description": "点价商品名称",
  14043. "type": "string"
  14044. },
  14045. "invoiceamount": {
  14046. "description": "已开票额",
  14047. "type": "number"
  14048. },
  14049. "loanamount": {
  14050. "description": "贷款总额=已定价额+调整金额",
  14051. "type": "number"
  14052. },
  14053. "margin": {
  14054. "description": "保证金",
  14055. "type": "number"
  14056. },
  14057. "modelname": {
  14058. "description": "型号名称",
  14059. "type": "string"
  14060. },
  14061. "payamount": {
  14062. "description": "已收付额(收款或付款)",
  14063. "type": "number"
  14064. },
  14065. "preinvoiceamount": {
  14066. "description": "预收(开)票额",
  14067. "type": "number"
  14068. },
  14069. "prepayamount": {
  14070. "description": "预收付额",
  14071. "type": "number"
  14072. },
  14073. "price": {
  14074. "description": "价格",
  14075. "type": "number"
  14076. },
  14077. "pricedamount": {
  14078. "description": "已定价额",
  14079. "type": "number"
  14080. },
  14081. "pricedavg": {
  14082. "description": "已点均价",
  14083. "type": "number"
  14084. },
  14085. "pricedqty": {
  14086. "description": "已定价量",
  14087. "type": "number"
  14088. },
  14089. "pricemove": {
  14090. "description": "升贴水",
  14091. "type": "number"
  14092. },
  14093. "pricetype": {
  14094. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14095. "type": "integer"
  14096. },
  14097. "producttype": {
  14098. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14099. "type": "integer"
  14100. },
  14101. "qty": {
  14102. "description": "合同量",
  14103. "type": "number"
  14104. },
  14105. "reckonadjustamount": {
  14106. "description": "调整金额",
  14107. "type": "number"
  14108. },
  14109. "reckonedamount": {
  14110. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14111. "type": "number"
  14112. },
  14113. "reckonotheramount": {
  14114. "description": "其它费用",
  14115. "type": "number"
  14116. },
  14117. "reckonrealqty": {
  14118. "description": "已确定量",
  14119. "type": "number"
  14120. },
  14121. "remark": {
  14122. "description": "备注",
  14123. "type": "string"
  14124. },
  14125. "spotcontractid": {
  14126. "description": "合同ID",
  14127. "type": "string"
  14128. },
  14129. "spotgoodsbrandid": {
  14130. "description": "现货品牌ID",
  14131. "type": "integer"
  14132. },
  14133. "spotgoodsdesc": {
  14134. "description": "商品型号(商品规格)",
  14135. "type": "string"
  14136. },
  14137. "spotgoodsmodelid": {
  14138. "description": "现货型号ID",
  14139. "type": "integer"
  14140. },
  14141. "startdate": {
  14142. "description": "点价开始日",
  14143. "type": "string"
  14144. },
  14145. "totalamount": {
  14146. "description": "合计总额",
  14147. "type": "number"
  14148. },
  14149. "unpayamount": {
  14150. "description": "应收付款额(应支付或应收款)",
  14151. "type": "number"
  14152. },
  14153. "unpricedqty": {
  14154. "description": "未定价量",
  14155. "type": "number"
  14156. },
  14157. "unsureqty": {
  14158. "description": "未确定量",
  14159. "type": "number"
  14160. },
  14161. "userid": {
  14162. "description": "用户ID",
  14163. "type": "integer"
  14164. },
  14165. "wrstandardcode": {
  14166. "description": "现货商品代码",
  14167. "type": "string"
  14168. },
  14169. "wrstandardid": {
  14170. "description": "现货商品ID",
  14171. "type": "integer"
  14172. },
  14173. "wrstandardname": {
  14174. "description": "现货商品名称",
  14175. "type": "string"
  14176. }
  14177. }
  14178. },
  14179. "models.ErmcpOPLogModel": {
  14180. "type": "object",
  14181. "properties": {
  14182. "aftervalue": {
  14183. "description": "变更后",
  14184. "type": "number"
  14185. },
  14186. "applyid": {
  14187. "description": "操作人ID",
  14188. "type": "string"
  14189. },
  14190. "applyname": {
  14191. "description": "操作人名称",
  14192. "type": "string"
  14193. },
  14194. "beforevalue": {
  14195. "description": "变更前",
  14196. "type": "number"
  14197. },
  14198. "biztype": {
  14199. "description": "业务类型 - 1:套保计划 2:现货合同",
  14200. "type": "integer"
  14201. },
  14202. "contracttype": {
  14203. "description": "现货合同类型 - 1:采购 -1:销售",
  14204. "type": "integer"
  14205. },
  14206. "logvalue": {
  14207. "description": "数值",
  14208. "type": "number"
  14209. },
  14210. "operatelogtype": {
  14211. "description": "操作流水类型",
  14212. "type": "integer"
  14213. },
  14214. "operatelogtypedesc": {
  14215. "description": "操作流水类型名称",
  14216. "type": "string"
  14217. },
  14218. "relatedid": {
  14219. "description": "现货合同ID\\套保计划",
  14220. "type": "string"
  14221. },
  14222. "updatetime": {
  14223. "description": "更新时间",
  14224. "type": "string"
  14225. }
  14226. }
  14227. },
  14228. "models.ErmcpPendingAudit": {
  14229. "type": "object",
  14230. "properties": {
  14231. "areastockqty": {
  14232. "description": "待审核数量: 库存申请",
  14233. "type": "integer"
  14234. },
  14235. "businessdjqty": {
  14236. "description": "待审核数量: 点价",
  14237. "type": "integer"
  14238. },
  14239. "businessfpqty": {
  14240. "description": "待审核数量: 发票",
  14241. "type": "integer"
  14242. },
  14243. "businessjsqty": {
  14244. "description": "待审核数量: 结算",
  14245. "type": "integer"
  14246. },
  14247. "businesskxqty": {
  14248. "description": "待审核数量: 款项",
  14249. "type": "integer"
  14250. },
  14251. "hedgeplanqty": {
  14252. "description": "待审核数量: 套保计划",
  14253. "type": "integer"
  14254. },
  14255. "spotcontractqty": {
  14256. "description": "待审核数量: 现货合同",
  14257. "type": "integer"
  14258. },
  14259. "userqty": {
  14260. "description": "待审核数量: 用户",
  14261. "type": "integer"
  14262. }
  14263. }
  14264. },
  14265. "models.ErmcpRealExposureModel": {
  14266. "type": "object",
  14267. "properties": {
  14268. "AreaUserID": {
  14269. "description": "所属机构",
  14270. "type": "integer"
  14271. },
  14272. "BuyFutureQty": {
  14273. "description": "买入期货数量",
  14274. "type": "number"
  14275. },
  14276. "BuyPlanQty": {
  14277. "description": "采购计划数量",
  14278. "type": "number"
  14279. },
  14280. "BuyPricedQty": {
  14281. "description": "采购合同已定价数量",
  14282. "type": "number"
  14283. },
  14284. "MiddleGoodsCode": {
  14285. "description": "套保品种代码",
  14286. "type": "string"
  14287. },
  14288. "MiddleGoodsHedgeRatio": {
  14289. "description": "应套保比例",
  14290. "type": "number"
  14291. },
  14292. "MiddleGoodsID": {
  14293. "description": "套保品种",
  14294. "type": "integer"
  14295. },
  14296. "MiddleGoodsName": {
  14297. "description": "套保品种名称",
  14298. "type": "string"
  14299. },
  14300. "NeedHedgeExposoure": {
  14301. "description": "应套保敞口",
  14302. "type": "number"
  14303. },
  14304. "NeedHedgeRatio": {
  14305. "description": "应套保敞口比例",
  14306. "type": "number"
  14307. },
  14308. "OriBuyFutureQty": {
  14309. "description": "期初买入期货数量",
  14310. "type": "number"
  14311. },
  14312. "OriBuyPlanQty": {
  14313. "description": "期初采购计划数量",
  14314. "type": "number"
  14315. },
  14316. "OriBuyPricedQty": {
  14317. "description": "期初采购合同已定价数量",
  14318. "type": "number"
  14319. },
  14320. "OriSellFutureQty": {
  14321. "description": "期初卖出期货数量",
  14322. "type": "number"
  14323. },
  14324. "OriSellPlanQty": {
  14325. "description": "期初销售计划数量",
  14326. "type": "number"
  14327. },
  14328. "OriSellPricedQty": {
  14329. "description": "期初销售合同已定价数量",
  14330. "type": "number"
  14331. },
  14332. "SellFutureQty": {
  14333. "description": "卖出期货数量",
  14334. "type": "number"
  14335. },
  14336. "SellPlanQty": {
  14337. "description": "销售计划数量",
  14338. "type": "number"
  14339. },
  14340. "SellPricedQty": {
  14341. "description": "销售合同已定价数量",
  14342. "type": "number"
  14343. },
  14344. "TotalExposure": {
  14345. "description": "总敞口",
  14346. "type": "number"
  14347. },
  14348. "TotalFutureQty": {
  14349. "description": "期货数量",
  14350. "type": "number"
  14351. },
  14352. "TotalHedgeRatio": {
  14353. "description": "敞口比例",
  14354. "type": "number"
  14355. },
  14356. "TotalNeedHedgeQty": {
  14357. "description": "期货应套保量",
  14358. "type": "number"
  14359. },
  14360. "TotalSpotQty": {
  14361. "description": "现货数量",
  14362. "type": "number"
  14363. },
  14364. "diffFutuQty": {
  14365. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  14366. "type": "number"
  14367. },
  14368. "diffSpotQty": {
  14369. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  14370. "type": "number"
  14371. },
  14372. "enumdicname": {
  14373. "description": "单位名称",
  14374. "type": "string"
  14375. },
  14376. "oriTotalFutuQty": {
  14377. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  14378. "type": "number"
  14379. },
  14380. "oriTotalSpotQty": {
  14381. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  14382. "type": "number"
  14383. }
  14384. }
  14385. },
  14386. "models.ErmcpRelatedGoods": {
  14387. "type": "object",
  14388. "properties": {
  14389. "deliverygoodsid": {
  14390. "description": "品种ID",
  14391. "type": "integer"
  14392. },
  14393. "goodscode": {
  14394. "description": "商品代码",
  14395. "type": "string"
  14396. },
  14397. "goodsid": {
  14398. "description": "商品id",
  14399. "type": "integer"
  14400. },
  14401. "goodsname": {
  14402. "description": "商品名称",
  14403. "type": "string"
  14404. }
  14405. }
  14406. },
  14407. "models.ErmcpReportAreaSpotPL": {
  14408. "type": "object",
  14409. "properties": {
  14410. "actualpl": {
  14411. "description": "实际损益",
  14412. "type": "number"
  14413. },
  14414. "areauserid": {
  14415. "description": "所属机构",
  14416. "type": "integer"
  14417. },
  14418. "brandname": {
  14419. "description": "品牌名称",
  14420. "type": "string"
  14421. },
  14422. "curamount": {
  14423. "description": "期末额",
  14424. "type": "number"
  14425. },
  14426. "curaverageprice": {
  14427. "description": "期末均价",
  14428. "type": "number"
  14429. },
  14430. "curbuyamount": {
  14431. "description": "期末采购总额(采购额)",
  14432. "type": "number"
  14433. },
  14434. "curbuyqty": {
  14435. "description": "期末采购总量",
  14436. "type": "number"
  14437. },
  14438. "curmarketvalue": {
  14439. "description": "参考市值",
  14440. "type": "number"
  14441. },
  14442. "curqty": {
  14443. "description": "期末量",
  14444. "type": "number"
  14445. },
  14446. "cursellamount": {
  14447. "description": "期末销售总额(销售额)",
  14448. "type": "number"
  14449. },
  14450. "cursellqty": {
  14451. "description": "期末销售总量",
  14452. "type": "number"
  14453. },
  14454. "curspotprice": {
  14455. "description": "参考市价",
  14456. "type": "number"
  14457. },
  14458. "enumdicname": {
  14459. "description": "现货商品单位名称",
  14460. "type": "string"
  14461. },
  14462. "floatpl": {
  14463. "description": "浮动损益",
  14464. "type": "number"
  14465. },
  14466. "gbenumdicname": {
  14467. "description": "品类单位名称",
  14468. "type": "string"
  14469. },
  14470. "gbunitid": {
  14471. "description": "品类单位id",
  14472. "type": "integer"
  14473. },
  14474. "modelname": {
  14475. "description": "品类名称",
  14476. "type": "string"
  14477. },
  14478. "oriamount": {
  14479. "description": "期初额",
  14480. "type": "number"
  14481. },
  14482. "oriaverageprice": {
  14483. "description": "期初均价",
  14484. "type": "number"
  14485. },
  14486. "oribuyamount": {
  14487. "description": "期初采购总额",
  14488. "type": "number"
  14489. },
  14490. "oribuyqty": {
  14491. "description": "期初采购总量",
  14492. "type": "number"
  14493. },
  14494. "oriqty": {
  14495. "description": "期初量",
  14496. "type": "number"
  14497. },
  14498. "orisellamount": {
  14499. "description": "期初销售总额",
  14500. "type": "number"
  14501. },
  14502. "orisellqty": {
  14503. "description": "期初销售总量",
  14504. "type": "number"
  14505. },
  14506. "spotgoodsbrandid": {
  14507. "description": "现货品牌ID",
  14508. "type": "integer"
  14509. },
  14510. "spotgoodsmodelid": {
  14511. "description": "现货品类ID",
  14512. "type": "integer"
  14513. },
  14514. "todaybuyamount": {
  14515. "description": "今日采购额",
  14516. "type": "number"
  14517. },
  14518. "todaybuyaverageprice": {
  14519. "description": "今日采购均价(采购均价)",
  14520. "type": "number"
  14521. },
  14522. "todaybuyqty": {
  14523. "description": "今日采购量(采购增量)",
  14524. "type": "number"
  14525. },
  14526. "todaysellamount": {
  14527. "description": "今日销售额",
  14528. "type": "number"
  14529. },
  14530. "todaysellaverageprice": {
  14531. "description": "今日销售均价(销售均价)",
  14532. "type": "number"
  14533. },
  14534. "todaysellqty": {
  14535. "description": "今日销售量(销售增量)",
  14536. "type": "number"
  14537. },
  14538. "unitid": {
  14539. "description": "现货商品单位id",
  14540. "type": "integer"
  14541. },
  14542. "updatetime": {
  14543. "description": "更新时间",
  14544. "type": "string"
  14545. },
  14546. "wrstandardcode": {
  14547. "description": "现货商品代码",
  14548. "type": "string"
  14549. },
  14550. "wrstandardid": {
  14551. "description": "现货商品ID",
  14552. "type": "integer"
  14553. },
  14554. "wrstandardname": {
  14555. "description": "现货商品名称",
  14556. "type": "string"
  14557. }
  14558. }
  14559. },
  14560. "models.ErmcpReportDayExposure": {
  14561. "type": "object",
  14562. "properties": {
  14563. "areauserid": {
  14564. "description": "所属机构",
  14565. "type": "integer"
  14566. },
  14567. "buyfutureqty": {
  14568. "description": "买入期货数量",
  14569. "type": "number"
  14570. },
  14571. "buyplanqty": {
  14572. "description": "采购计划数量",
  14573. "type": "number"
  14574. },
  14575. "buypricedqty": {
  14576. "description": "采购合同已定价数量",
  14577. "type": "number"
  14578. },
  14579. "diffFutuQty": {
  14580. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  14581. "type": "number"
  14582. },
  14583. "diffSpotQty": {
  14584. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  14585. "type": "number"
  14586. },
  14587. "enumdicname": {
  14588. "description": "单位名称",
  14589. "type": "string"
  14590. },
  14591. "middlegoodscode": {
  14592. "description": "套保品种代码",
  14593. "type": "string"
  14594. },
  14595. "middlegoodshedgeratio": {
  14596. "description": "应套保比例",
  14597. "type": "number"
  14598. },
  14599. "middlegoodsid": {
  14600. "description": "套保品种ID",
  14601. "type": "integer"
  14602. },
  14603. "middlegoodsname": {
  14604. "description": "套保品种名称",
  14605. "type": "string"
  14606. },
  14607. "needhedgeexposoure": {
  14608. "description": "应套保敞口",
  14609. "type": "number"
  14610. },
  14611. "needhedgeratio": {
  14612. "description": "应套保敞口比例",
  14613. "type": "number"
  14614. },
  14615. "oriTotalFutuQty": {
  14616. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  14617. "type": "number"
  14618. },
  14619. "oriTotalSpotQty": {
  14620. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  14621. "type": "number"
  14622. },
  14623. "oribuyfutureqty": {
  14624. "description": "期初买入期货数量",
  14625. "type": "number"
  14626. },
  14627. "oribuyplanqty": {
  14628. "description": "期初采购计划数量",
  14629. "type": "number"
  14630. },
  14631. "oribuypricedqty": {
  14632. "description": "期初采购合同已定价数量",
  14633. "type": "number"
  14634. },
  14635. "orisellfutureqty": {
  14636. "description": "期初卖出期货数量",
  14637. "type": "number"
  14638. },
  14639. "orisellplanqty": {
  14640. "description": "期初销售计划数量",
  14641. "type": "number"
  14642. },
  14643. "orisellpricedqty": {
  14644. "description": "期初销售合同已定价数量",
  14645. "type": "number"
  14646. },
  14647. "reckondate": {
  14648. "description": "日照时期(yyyyMMdd)",
  14649. "type": "string"
  14650. },
  14651. "sellfutureqty": {
  14652. "description": "卖出期货数量",
  14653. "type": "number"
  14654. },
  14655. "sellplanqty": {
  14656. "description": "销售计划数量",
  14657. "type": "number"
  14658. },
  14659. "sellpricedqty": {
  14660. "description": "销售合同已定价数量",
  14661. "type": "number"
  14662. },
  14663. "totalexposure": {
  14664. "description": "总敞口",
  14665. "type": "number"
  14666. },
  14667. "totalfutureqty": {
  14668. "description": "期货数量",
  14669. "type": "number"
  14670. },
  14671. "totalhedgeratio": {
  14672. "description": "敞口比例",
  14673. "type": "number"
  14674. },
  14675. "totalneedhedgeqty": {
  14676. "description": "期货应套保量",
  14677. "type": "number"
  14678. },
  14679. "totalspotqty": {
  14680. "description": "现货数量",
  14681. "type": "number"
  14682. }
  14683. }
  14684. },
  14685. "models.ErmcpReportDayFR": {
  14686. "type": "object",
  14687. "properties": {
  14688. "areauserid": {
  14689. "description": "所属机构",
  14690. "type": "integer"
  14691. },
  14692. "collectinvoiceamount": {
  14693. "description": "今日开票金额",
  14694. "type": "number"
  14695. },
  14696. "collectinvoicecount": {
  14697. "description": "今日开票笔数",
  14698. "type": "integer"
  14699. },
  14700. "collectmoneyamount": {
  14701. "description": "今日收款金额",
  14702. "type": "number"
  14703. },
  14704. "collectmoneycount": {
  14705. "description": "今日收款笔数",
  14706. "type": "integer"
  14707. },
  14708. "payinvoiceamount": {
  14709. "description": "今日收票金额",
  14710. "type": "number"
  14711. },
  14712. "payinvoicecount": {
  14713. "description": "今日收票笔数",
  14714. "type": "integer"
  14715. },
  14716. "paymoneyamount": {
  14717. "description": "今日付款金额",
  14718. "type": "number"
  14719. },
  14720. "paymoneycount": {
  14721. "description": "今日付款笔数",
  14722. "type": "integer"
  14723. },
  14724. "reckondate": {
  14725. "description": "日照时期(yyyyMMdd)",
  14726. "type": "string"
  14727. },
  14728. "updatetime": {
  14729. "description": "更新时间",
  14730. "type": "string"
  14731. }
  14732. }
  14733. },
  14734. "models.ErmcpReportDaySpot": {
  14735. "type": "object",
  14736. "properties": {
  14737. "areauserid": {
  14738. "description": "所属机构T",
  14739. "type": "integer"
  14740. },
  14741. "buyinqty": {
  14742. "description": "采购入库量",
  14743. "type": "number"
  14744. },
  14745. "enumdicname": {
  14746. "description": "现货商品单位名称",
  14747. "type": "string"
  14748. },
  14749. "reckondate": {
  14750. "description": "日照时期(yyyyMMdd)",
  14751. "type": "string"
  14752. },
  14753. "selloutqty": {
  14754. "description": "销售出库量",
  14755. "type": "number"
  14756. },
  14757. "todaybuyreckonqty": {
  14758. "description": "采购确定量",
  14759. "type": "number"
  14760. },
  14761. "todaysellreckonqty": {
  14762. "description": "销售确定量",
  14763. "type": "number"
  14764. },
  14765. "totalbuypricedqty": {
  14766. "description": "采购定价量 = 期末 - 期初",
  14767. "type": "number"
  14768. },
  14769. "totalsellpricedqty": {
  14770. "description": "销售定价量 = 期末 - 期初",
  14771. "type": "number"
  14772. },
  14773. "wrstandardcode": {
  14774. "description": "现货商品代码",
  14775. "type": "string"
  14776. },
  14777. "wrstandardid": {
  14778. "description": "现货商品ID",
  14779. "type": "integer"
  14780. },
  14781. "wrstandardname": {
  14782. "description": "现货商品名称",
  14783. "type": "string"
  14784. }
  14785. }
  14786. },
  14787. "models.ErmcpReportMonSpot": {
  14788. "type": "object",
  14789. "properties": {
  14790. "areauserid": {
  14791. "description": "所属机构T",
  14792. "type": "integer"
  14793. },
  14794. "buyinqty": {
  14795. "description": "采购入库量",
  14796. "type": "number"
  14797. },
  14798. "cycletime": {
  14799. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14800. "type": "string"
  14801. },
  14802. "cycletype": {
  14803. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14804. "type": "integer"
  14805. },
  14806. "enumdicname": {
  14807. "description": "现货商品单位名称",
  14808. "type": "string"
  14809. },
  14810. "selloutqty": {
  14811. "description": "销售出库量",
  14812. "type": "number"
  14813. },
  14814. "todaybuyreckonqty": {
  14815. "description": "采购确定量",
  14816. "type": "number"
  14817. },
  14818. "todaysellreckonqty": {
  14819. "description": "销售确定量",
  14820. "type": "number"
  14821. },
  14822. "totalbuypricedqty": {
  14823. "description": "采购定价量 = 期末 - 期初",
  14824. "type": "number"
  14825. },
  14826. "totalsellpricedqty": {
  14827. "description": "销售定价量 = 期末 - 期初",
  14828. "type": "number"
  14829. },
  14830. "wrstandardcode": {
  14831. "description": "现货商品代码",
  14832. "type": "string"
  14833. },
  14834. "wrstandardid": {
  14835. "description": "现货商品ID",
  14836. "type": "integer"
  14837. },
  14838. "wrstandardname": {
  14839. "description": "现货商品名称",
  14840. "type": "string"
  14841. }
  14842. }
  14843. },
  14844. "models.ErmcpReportMonthFR": {
  14845. "type": "object",
  14846. "properties": {
  14847. "areauserid": {
  14848. "description": "所属机构【原值】",
  14849. "type": "integer"
  14850. },
  14851. "collectinvoiceamount": {
  14852. "description": "今日开票金额【汇总】",
  14853. "type": "number"
  14854. },
  14855. "collectinvoicecount": {
  14856. "description": "今日开票笔数【汇总】",
  14857. "type": "integer"
  14858. },
  14859. "collectmoneyamount": {
  14860. "description": "今日收款金额【汇总】",
  14861. "type": "number"
  14862. },
  14863. "collectmoneycount": {
  14864. "description": "今日收款笔数 【汇总】",
  14865. "type": "integer"
  14866. },
  14867. "cycletime": {
  14868. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14869. "type": "string"
  14870. },
  14871. "cycletype": {
  14872. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14873. "type": "integer"
  14874. },
  14875. "dayFr": {
  14876. "description": "日报表明细",
  14877. "type": "array",
  14878. "items": {
  14879. "$ref": "#/definitions/models.ErmcpReportDayFR"
  14880. }
  14881. },
  14882. "payinvoiceamount": {
  14883. "description": "今日收票金额【汇总】",
  14884. "type": "number"
  14885. },
  14886. "payinvoicecount": {
  14887. "description": "今日收票笔数【汇总】",
  14888. "type": "integer"
  14889. },
  14890. "paymoneyamount": {
  14891. "description": "今日付款金额【汇总】",
  14892. "type": "number"
  14893. },
  14894. "paymoneycount": {
  14895. "description": "今日付款笔数【汇总】",
  14896. "type": "integer"
  14897. },
  14898. "updatetime": {
  14899. "description": "更新时间",
  14900. "type": "string"
  14901. }
  14902. }
  14903. },
  14904. "models.ErmcpReportOPLog": {
  14905. "type": "object",
  14906. "properties": {
  14907. "applyid": {
  14908. "description": "操作人",
  14909. "type": "integer"
  14910. },
  14911. "applyname": {
  14912. "description": "操作人名称",
  14913. "type": "string"
  14914. },
  14915. "biztype": {
  14916. "description": "业务类型 - 1:套保计划 2:现货合同",
  14917. "type": "integer"
  14918. },
  14919. "brandname": {
  14920. "description": "品牌名称",
  14921. "type": "string"
  14922. },
  14923. "contracttype": {
  14924. "description": "现货合同类型 - 1:采购 -1:销售",
  14925. "type": "integer"
  14926. },
  14927. "enumdicName": {
  14928. "description": "单位名称",
  14929. "type": "string"
  14930. },
  14931. "logdatetime": {
  14932. "description": "流水日期(时间)",
  14933. "type": "string"
  14934. },
  14935. "logid": {
  14936. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14937. "type": "string"
  14938. },
  14939. "logtypename": {
  14940. "description": "合同类型(名称)",
  14941. "type": "string"
  14942. },
  14943. "logvalue": {
  14944. "description": "数值",
  14945. "type": "string"
  14946. },
  14947. "modelname": {
  14948. "description": "型号名称",
  14949. "type": "string"
  14950. },
  14951. "operatelogtype": {
  14952. "description": "操作流水类型 -",
  14953. "type": "integer"
  14954. },
  14955. "optypename": {
  14956. "description": "流水类型名称",
  14957. "type": "string"
  14958. },
  14959. "relatedid": {
  14960. "description": "现货合同ID\\套保计划",
  14961. "type": "string"
  14962. },
  14963. "relatedno": {
  14964. "description": "合同编号",
  14965. "type": "string"
  14966. },
  14967. "tradedate": {
  14968. "description": "交易日(yyyyMMdd)",
  14969. "type": "string"
  14970. },
  14971. "userid": {
  14972. "description": "机构ID",
  14973. "type": "integer"
  14974. },
  14975. "wrstandardcode": {
  14976. "description": "现货商品代码",
  14977. "type": "string"
  14978. },
  14979. "wrstandardid": {
  14980. "description": "现货商品ID",
  14981. "type": "integer"
  14982. },
  14983. "wrstandardname": {
  14984. "description": "现货商品名称",
  14985. "type": "string"
  14986. }
  14987. }
  14988. },
  14989. "models.ErmcpRole": {
  14990. "type": "object",
  14991. "properties": {
  14992. "areauserid": {
  14993. "description": "所属机构",
  14994. "type": "integer"
  14995. },
  14996. "autoid": {
  14997. "description": "角色ID(自增ID)",
  14998. "type": "integer"
  14999. },
  15000. "modifierid": {
  15001. "description": "修改人(创建人)",
  15002. "type": "integer"
  15003. },
  15004. "modifiername": {
  15005. "description": "修改人名称",
  15006. "type": "string"
  15007. },
  15008. "modifytime": {
  15009. "description": "修改时间(创建时间)",
  15010. "type": "string"
  15011. },
  15012. "rolename": {
  15013. "description": "角色名称",
  15014. "type": "string"
  15015. },
  15016. "rolestatus": {
  15017. "description": "角色状态 - 1:启用 2:停用",
  15018. "type": "integer"
  15019. },
  15020. "roletype": {
  15021. "description": "角色类型 - 1- 管理端 2- 交易端",
  15022. "type": "integer"
  15023. }
  15024. }
  15025. },
  15026. "models.ErmcpRoleMenu": {
  15027. "type": "object",
  15028. "properties": {
  15029. "iconame": {
  15030. "description": "菜单图标",
  15031. "type": "string"
  15032. },
  15033. "menutype": {
  15034. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15035. "type": "integer"
  15036. },
  15037. "parentcode": {
  15038. "description": "上级资源代码",
  15039. "type": "string"
  15040. },
  15041. "remark": {
  15042. "description": "菜单备注",
  15043. "type": "string"
  15044. },
  15045. "resourcecode": {
  15046. "description": "菜单代码",
  15047. "type": "string"
  15048. },
  15049. "resourcelevel": {
  15050. "description": "级别",
  15051. "type": "integer"
  15052. },
  15053. "resourcename": {
  15054. "description": "菜单名称",
  15055. "type": "string"
  15056. },
  15057. "roleid": {
  15058. "description": "角色id",
  15059. "type": "integer"
  15060. },
  15061. "sort": {
  15062. "description": "排序",
  15063. "type": "integer"
  15064. },
  15065. "url": {
  15066. "description": "URL",
  15067. "type": "string"
  15068. },
  15069. "userid": {
  15070. "description": "用户id",
  15071. "type": "integer"
  15072. }
  15073. }
  15074. },
  15075. "models.ErmcpRoleMenuEx": {
  15076. "type": "object",
  15077. "properties": {
  15078. "menu": {
  15079. "description": "父级菜单",
  15080. "type": "object",
  15081. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15082. },
  15083. "subMenu": {
  15084. "description": "子级菜单",
  15085. "type": "array",
  15086. "items": {
  15087. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15088. }
  15089. }
  15090. }
  15091. },
  15092. "models.ErmcpSpotContractModel": {
  15093. "type": "object",
  15094. "properties": {
  15095. "amount": {
  15096. "description": "金额 [1:一口价、3:暂定价]",
  15097. "type": "number"
  15098. },
  15099. "attachment": {
  15100. "description": "附件",
  15101. "type": "string"
  15102. },
  15103. "auditremark": {
  15104. "description": "审核意见",
  15105. "type": "string"
  15106. },
  15107. "audittime": {
  15108. "description": "审核时间",
  15109. "type": "string"
  15110. },
  15111. "brandname": {
  15112. "description": "品牌名称",
  15113. "type": "string"
  15114. },
  15115. "buyuserid": {
  15116. "description": "采购方ID",
  15117. "type": "integer"
  15118. },
  15119. "buyusername": {
  15120. "description": "采购方名称",
  15121. "type": "string"
  15122. },
  15123. "contracctstatus": {
  15124. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15125. "type": "integer"
  15126. },
  15127. "contractmargin": {
  15128. "description": "合同保证金",
  15129. "type": "number"
  15130. },
  15131. "contractno": {
  15132. "description": "现货合同编号",
  15133. "type": "string"
  15134. },
  15135. "contracttype": {
  15136. "description": "现货合同类型 - 1:采购 -1:销售",
  15137. "type": "integer"
  15138. },
  15139. "convertfactor": {
  15140. "description": "标仓系数",
  15141. "type": "number"
  15142. },
  15143. "createtime": {
  15144. "description": "创建时间",
  15145. "type": "string"
  15146. },
  15147. "deliveryenddate": {
  15148. "description": "交收期(结束)",
  15149. "type": "string"
  15150. },
  15151. "deliverygoodscode": {
  15152. "description": "现货品种代码",
  15153. "type": "string"
  15154. },
  15155. "deliverygoodsid": {
  15156. "description": "现货品种ID",
  15157. "type": "integer"
  15158. },
  15159. "deliverygoodsname": {
  15160. "description": "现货品种名称",
  15161. "type": "string"
  15162. },
  15163. "deliverystartdate": {
  15164. "description": "交收期(开始)",
  15165. "type": "string"
  15166. },
  15167. "enddate": {
  15168. "description": "点价结束日期 [2:点价 3:暂定价]",
  15169. "type": "string"
  15170. },
  15171. "enumdicname": {
  15172. "description": "单位名称",
  15173. "type": "string"
  15174. },
  15175. "goodscode": {
  15176. "description": "点价合约代码",
  15177. "type": "string"
  15178. },
  15179. "goodsid": {
  15180. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15181. "type": "integer"
  15182. },
  15183. "goodsname": {
  15184. "description": "点价商品名称",
  15185. "type": "string"
  15186. },
  15187. "margin": {
  15188. "description": "当前保证金",
  15189. "type": "number"
  15190. },
  15191. "modelname": {
  15192. "description": "型号名称",
  15193. "type": "string"
  15194. },
  15195. "price": {
  15196. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15197. "type": "number"
  15198. },
  15199. "pricemove": {
  15200. "description": "升贴水 [2:点价 3:暂定价]",
  15201. "type": "number"
  15202. },
  15203. "pricetype": {
  15204. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15205. "type": "integer"
  15206. },
  15207. "producttype": {
  15208. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15209. "type": "integer"
  15210. },
  15211. "qty": {
  15212. "description": "数量",
  15213. "type": "number"
  15214. },
  15215. "remark": {
  15216. "description": "备注",
  15217. "type": "string"
  15218. },
  15219. "selluserid": {
  15220. "description": "销售方ID",
  15221. "type": "integer"
  15222. },
  15223. "sellusername": {
  15224. "description": "销售方名称",
  15225. "type": "string"
  15226. },
  15227. "spotcontractid": {
  15228. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15229. "type": "string"
  15230. },
  15231. "spotgoodsbrandid": {
  15232. "description": "现货品牌ID",
  15233. "type": "integer"
  15234. },
  15235. "spotgoodsdesc": {
  15236. "description": "商品型号",
  15237. "type": "string"
  15238. },
  15239. "spotgoodsmodelid": {
  15240. "description": "现货型号ID",
  15241. "type": "integer"
  15242. },
  15243. "startdate": {
  15244. "description": "点价开始日期 [2:点价 3:暂定价]",
  15245. "type": "string"
  15246. },
  15247. "updatetime": {
  15248. "description": "更新时间",
  15249. "type": "string"
  15250. },
  15251. "userid": {
  15252. "description": "机构ID",
  15253. "type": "integer"
  15254. },
  15255. "wrstandardcode": {
  15256. "description": "现货商品代码",
  15257. "type": "string"
  15258. },
  15259. "wrstandardid": {
  15260. "description": "现货商品ID",
  15261. "type": "integer"
  15262. },
  15263. "wrstandardname": {
  15264. "description": "现货商品名称",
  15265. "type": "string"
  15266. }
  15267. }
  15268. },
  15269. "models.ErmcpSpotGoodsPrice": {
  15270. "type": "object",
  15271. "properties": {
  15272. "areauserid": {
  15273. "description": "所属机构id",
  15274. "type": "integer"
  15275. },
  15276. "brandname": {
  15277. "description": "品牌名称",
  15278. "type": "string"
  15279. },
  15280. "currencyid": {
  15281. "description": "报价货币ID",
  15282. "type": "integer"
  15283. },
  15284. "enumdicname": {
  15285. "description": "现货商品单位名称",
  15286. "type": "string"
  15287. },
  15288. "gbenumdicname": {
  15289. "description": "品类单位名称",
  15290. "type": "string"
  15291. },
  15292. "gmunitid": {
  15293. "description": "品类单位id",
  15294. "type": "integer"
  15295. },
  15296. "isvalid": {
  15297. "description": "是否有效 - 0:无效 1:有效",
  15298. "type": "integer"
  15299. },
  15300. "modelname": {
  15301. "description": "品类名称",
  15302. "type": "string"
  15303. },
  15304. "operateid": {
  15305. "description": "最后操作人",
  15306. "type": "integer"
  15307. },
  15308. "operatesrc": {
  15309. "description": "最后操作来源 - 1:管理端 2:终端",
  15310. "type": "integer"
  15311. },
  15312. "operatetime": {
  15313. "description": "最后操作时间",
  15314. "type": "string"
  15315. },
  15316. "operatorname": {
  15317. "description": "操作人名称",
  15318. "type": "string"
  15319. },
  15320. "spotgoodsbrandid": {
  15321. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15322. "type": "integer"
  15323. },
  15324. "spotgoodsmodelid": {
  15325. "description": "现货品类ID(通用则为0)",
  15326. "type": "integer"
  15327. },
  15328. "spotgoodsprice": {
  15329. "description": "现货价格",
  15330. "type": "number"
  15331. },
  15332. "tradedate": {
  15333. "description": "交易日(yyyyMMdd)",
  15334. "type": "string"
  15335. },
  15336. "unitid": {
  15337. "description": "现货商品单位id",
  15338. "type": "integer"
  15339. },
  15340. "wrstandardcode": {
  15341. "description": "现货商品代码",
  15342. "type": "string"
  15343. },
  15344. "wrstandardid": {
  15345. "description": "现货商品ID",
  15346. "type": "integer"
  15347. },
  15348. "wrstandardname": {
  15349. "description": "现货商品名称",
  15350. "type": "string"
  15351. }
  15352. }
  15353. },
  15354. "models.ErmcpSpotGoodsPriceLog": {
  15355. "type": "object",
  15356. "properties": {
  15357. "areauserid": {
  15358. "description": "所属机构id",
  15359. "type": "integer"
  15360. },
  15361. "brandname": {
  15362. "description": "品牌名称",
  15363. "type": "string"
  15364. },
  15365. "currencyid": {
  15366. "description": "报价货币ID",
  15367. "type": "integer"
  15368. },
  15369. "enumdicname": {
  15370. "description": "现货商品单位名称",
  15371. "type": "string"
  15372. },
  15373. "gbenumdicname": {
  15374. "description": "品类单位名称",
  15375. "type": "string"
  15376. },
  15377. "gmunitid": {
  15378. "description": "品类单位id",
  15379. "type": "integer"
  15380. },
  15381. "logid": {
  15382. "description": "日志id",
  15383. "type": "integer"
  15384. },
  15385. "modelname": {
  15386. "description": "品类名称",
  15387. "type": "string"
  15388. },
  15389. "operateid": {
  15390. "description": "最后操作人",
  15391. "type": "integer"
  15392. },
  15393. "operatesrc": {
  15394. "description": "最后操作来源 - 1:管理端 2:终端",
  15395. "type": "integer"
  15396. },
  15397. "operatetime": {
  15398. "description": "最后操作时间",
  15399. "type": "string"
  15400. },
  15401. "operatorname": {
  15402. "description": "操作人名称",
  15403. "type": "string"
  15404. },
  15405. "spotgoodsbrandid": {
  15406. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15407. "type": "integer"
  15408. },
  15409. "spotgoodsmodelid": {
  15410. "description": "现货品类ID(通用则为0)",
  15411. "type": "integer"
  15412. },
  15413. "spotgoodsprice": {
  15414. "description": "现货价格",
  15415. "type": "number"
  15416. },
  15417. "tradedate": {
  15418. "description": "交易日(yyyyMMdd)",
  15419. "type": "string"
  15420. },
  15421. "unitid": {
  15422. "description": "现货商品单位id",
  15423. "type": "integer"
  15424. },
  15425. "wrstandardcode": {
  15426. "description": "现货商品代码",
  15427. "type": "string"
  15428. },
  15429. "wrstandardid": {
  15430. "description": "现货商品ID",
  15431. "type": "integer"
  15432. },
  15433. "wrstandardname": {
  15434. "description": "现货商品名称",
  15435. "type": "string"
  15436. }
  15437. }
  15438. },
  15439. "models.ErmcpTaAccount": {
  15440. "type": "object",
  15441. "properties": {
  15442. "accountid": {
  15443. "description": "账户id",
  15444. "type": "integer"
  15445. },
  15446. "accountname": {
  15447. "description": "账户名称",
  15448. "type": "string"
  15449. },
  15450. "currencyid": {
  15451. "description": "币种id",
  15452. "type": "integer"
  15453. },
  15454. "ismain": {
  15455. "description": "是否主账户 0-否 1-是",
  15456. "type": "integer"
  15457. },
  15458. "parentaccountid": {
  15459. "description": "父账户id",
  15460. "type": "integer"
  15461. },
  15462. "relateduserid": {
  15463. "description": "关联userid",
  15464. "type": "integer"
  15465. },
  15466. "tradestatus": {
  15467. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15468. "type": "integer"
  15469. }
  15470. }
  15471. },
  15472. "models.ErmcpTaAccountEx": {
  15473. "type": "object",
  15474. "properties": {
  15475. "mainAcc": {
  15476. "description": "主账号",
  15477. "type": "object",
  15478. "$ref": "#/definitions/models.ErmcpTaAccount"
  15479. },
  15480. "subacclist": {
  15481. "description": "子账号列表",
  15482. "type": "array",
  15483. "items": {
  15484. "$ref": "#/definitions/models.ErmcpTaAccount"
  15485. }
  15486. }
  15487. }
  15488. },
  15489. "models.ErmcpTaAccountInfo": {
  15490. "type": "object",
  15491. "properties": {
  15492. "accountid": {
  15493. "description": "资金账户ID",
  15494. "type": "integer"
  15495. },
  15496. "accountname": {
  15497. "description": "账户名称",
  15498. "type": "string"
  15499. },
  15500. "balance": {
  15501. "description": "期初余额",
  15502. "type": "number"
  15503. },
  15504. "capitalbalance": {
  15505. "description": "本金余额[外部子账户实际出入金余额]",
  15506. "type": "number"
  15507. },
  15508. "closepl": {
  15509. "description": "今日平仓盈亏",
  15510. "type": "number"
  15511. },
  15512. "creditdecrease": {
  15513. "description": "今日授信减少",
  15514. "type": "number"
  15515. },
  15516. "creditincrease": {
  15517. "description": "今日授信增加",
  15518. "type": "number"
  15519. },
  15520. "curdebt": {
  15521. "description": "期末欠款",
  15522. "type": "number"
  15523. },
  15524. "currencyid": {
  15525. "description": "货币ID",
  15526. "type": "integer"
  15527. },
  15528. "currentbalance": {
  15529. "description": "期末余额",
  15530. "type": "number"
  15531. },
  15532. "freezecharge": {
  15533. "description": "手续费冻结",
  15534. "type": "number"
  15535. },
  15536. "freezemargin": {
  15537. "description": "冻结保证金",
  15538. "type": "number"
  15539. },
  15540. "fromaccountid": {
  15541. "description": "所属上级账户",
  15542. "type": "integer"
  15543. },
  15544. "inamount": {
  15545. "description": "今日入金金额(包括三方入金)",
  15546. "type": "number"
  15547. },
  15548. "ismain": {
  15549. "description": "是否母账号 0:不是母账户 1:是母账户",
  15550. "type": "integer"
  15551. },
  15552. "mortgagecredit": {
  15553. "description": "授信金额",
  15554. "type": "number"
  15555. },
  15556. "oridebt": {
  15557. "description": "期初欠款",
  15558. "type": "number"
  15559. },
  15560. "orifreezecharge": {
  15561. "description": "期初手续费冻结",
  15562. "type": "number"
  15563. },
  15564. "orifreezemargin": {
  15565. "description": "期初冻结保证金",
  15566. "type": "number"
  15567. },
  15568. "orimortgagecredit": {
  15569. "description": "期初授信金额",
  15570. "type": "number"
  15571. },
  15572. "oriothercredit": {
  15573. "description": "期初其它授信金额",
  15574. "type": "number"
  15575. },
  15576. "oriotherfreezemargin": {
  15577. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15578. "type": "number"
  15579. },
  15580. "orioutamountfreeze": {
  15581. "description": "期初出金冻结",
  15582. "type": "number"
  15583. },
  15584. "oriusedmargin": {
  15585. "description": "期初占用保证金",
  15586. "type": "number"
  15587. },
  15588. "othercredit": {
  15589. "description": "其它授信金额",
  15590. "type": "number"
  15591. },
  15592. "othercreditdecrease": {
  15593. "description": "今日其它授信减少",
  15594. "type": "number"
  15595. },
  15596. "othercreditincrease": {
  15597. "description": "今日其它授信增加",
  15598. "type": "number"
  15599. },
  15600. "otherfreezemargin": {
  15601. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15602. "type": "number"
  15603. },
  15604. "outamount": {
  15605. "description": "今日出金金额(包括三方出金)",
  15606. "type": "number"
  15607. },
  15608. "outamountfreeze": {
  15609. "description": "出金冻结",
  15610. "type": "number"
  15611. },
  15612. "outthreshold": {
  15613. "description": "出金阈值",
  15614. "type": "number"
  15615. },
  15616. "parentaccountid": {
  15617. "description": "所属根账号",
  15618. "type": "integer"
  15619. },
  15620. "paycharge": {
  15621. "description": "今日手续费支出",
  15622. "type": "number"
  15623. },
  15624. "relateduserid": {
  15625. "description": "关联用户",
  15626. "type": "integer"
  15627. },
  15628. "signstatus": {
  15629. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15630. "type": "integer"
  15631. },
  15632. "sublevelpath": {
  15633. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15634. "type": "string"
  15635. },
  15636. "taaccounttype": {
  15637. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15638. "type": "integer"
  15639. },
  15640. "thirdinamount": {
  15641. "description": "今日三方入金",
  15642. "type": "number"
  15643. },
  15644. "thirdoutamount": {
  15645. "description": "今日三方出金",
  15646. "type": "number"
  15647. },
  15648. "tradestatus": {
  15649. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15650. "type": "integer"
  15651. },
  15652. "transferamount": {
  15653. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15654. "type": "number"
  15655. },
  15656. "usedmargin": {
  15657. "description": "占用保证金",
  15658. "type": "number"
  15659. },
  15660. "userid": {
  15661. "description": "用户ID",
  15662. "type": "integer"
  15663. }
  15664. }
  15665. },
  15666. "models.ErmcpTradeConfigTMP": {
  15667. "type": "object",
  15668. "properties": {
  15669. "areauserid": {
  15670. "description": "所属机构",
  15671. "type": "integer"
  15672. },
  15673. "basiccurrencyid": {
  15674. "description": "基本币种ID[汇率] - 目标币种",
  15675. "type": "integer"
  15676. },
  15677. "mainaccountid": {
  15678. "description": "主账户ID",
  15679. "type": "integer"
  15680. },
  15681. "modifierid": {
  15682. "description": "修改人",
  15683. "type": "integer"
  15684. },
  15685. "remark": {
  15686. "description": "备注",
  15687. "type": "string"
  15688. },
  15689. "tradeconfigtmpid": {
  15690. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15691. "type": "integer"
  15692. },
  15693. "tradeconfigtmpname": {
  15694. "description": "交易配置模板名称",
  15695. "type": "string"
  15696. },
  15697. "tradeconfigtmptype": {
  15698. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15699. "type": "integer"
  15700. },
  15701. "updatetime": {
  15702. "description": "更新时间",
  15703. "type": "string"
  15704. }
  15705. }
  15706. },
  15707. "models.ErmcpUserModel": {
  15708. "type": "object",
  15709. "properties": {
  15710. "address": {
  15711. "description": "通讯地址",
  15712. "type": "string"
  15713. },
  15714. "attachment1": {
  15715. "description": "附件1",
  15716. "type": "string"
  15717. },
  15718. "audittime": {
  15719. "description": "审核时间",
  15720. "type": "string"
  15721. },
  15722. "cardfrontphotourl": {
  15723. "description": "证件正面图片地址",
  15724. "type": "string"
  15725. },
  15726. "cardnum": {
  15727. "description": "证件号码",
  15728. "type": "string"
  15729. },
  15730. "cardtype": {
  15731. "description": "证件类型",
  15732. "type": "integer"
  15733. },
  15734. "cardtypename": {
  15735. "description": "证件类型名称",
  15736. "type": "string"
  15737. },
  15738. "cityid": {
  15739. "description": "市",
  15740. "type": "integer"
  15741. },
  15742. "countryid": {
  15743. "description": "国家",
  15744. "type": "integer"
  15745. },
  15746. "createtime": {
  15747. "description": "创建时间",
  15748. "type": "string"
  15749. },
  15750. "customername": {
  15751. "description": "企业名称",
  15752. "type": "string"
  15753. },
  15754. "districtid": {
  15755. "description": "区域",
  15756. "type": "integer"
  15757. },
  15758. "memberuserid": {
  15759. "description": "所属机构ID",
  15760. "type": "integer"
  15761. },
  15762. "mobile": {
  15763. "description": "手机号码",
  15764. "type": "string"
  15765. },
  15766. "modifytime": {
  15767. "description": "修改时间",
  15768. "type": "string"
  15769. },
  15770. "nickname": {
  15771. "description": "昵称",
  15772. "type": "string"
  15773. },
  15774. "provinceid": {
  15775. "description": "省",
  15776. "type": "integer"
  15777. },
  15778. "remark": {
  15779. "description": "备注",
  15780. "type": "string"
  15781. },
  15782. "status": {
  15783. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15784. "type": "integer"
  15785. },
  15786. "statusdesc": {
  15787. "description": "账户状态中文描述",
  15788. "type": "string"
  15789. },
  15790. "telphone": {
  15791. "description": "联系电话",
  15792. "type": "string"
  15793. },
  15794. "userid": {
  15795. "description": "用户ID",
  15796. "type": "integer"
  15797. },
  15798. "userinfotype": {
  15799. "description": "客户类型",
  15800. "type": "string"
  15801. }
  15802. }
  15803. },
  15804. "models.ErmcpWareHouseInfo": {
  15805. "type": "object",
  15806. "properties": {
  15807. "address": {
  15808. "description": "详细地址",
  15809. "type": "string"
  15810. },
  15811. "areauserid": {
  15812. "description": "所属机构",
  15813. "type": "integer"
  15814. },
  15815. "autoid": {
  15816. "description": "自增ID(仓库ID)",
  15817. "type": "integer"
  15818. },
  15819. "cityid": {
  15820. "description": "市",
  15821. "type": "integer"
  15822. },
  15823. "contactname": {
  15824. "description": "联系人",
  15825. "type": "string"
  15826. },
  15827. "contactnum": {
  15828. "description": "联系电话",
  15829. "type": "string"
  15830. },
  15831. "countryid": {
  15832. "description": "国家",
  15833. "type": "integer"
  15834. },
  15835. "createtime": {
  15836. "description": "创建时间",
  15837. "type": "string"
  15838. },
  15839. "districtid": {
  15840. "description": "区",
  15841. "type": "integer"
  15842. },
  15843. "hasvideo": {
  15844. "description": "是否有视频 - 0:无 1:有",
  15845. "type": "integer"
  15846. },
  15847. "provinceid": {
  15848. "description": "省",
  15849. "type": "integer"
  15850. },
  15851. "remark": {
  15852. "description": "审核备注",
  15853. "type": "string"
  15854. },
  15855. "videourl": {
  15856. "description": "视频地址",
  15857. "type": "string"
  15858. },
  15859. "warehousecode": {
  15860. "description": "仓库代码",
  15861. "type": "string"
  15862. },
  15863. "warehousename": {
  15864. "description": "仓库名称",
  15865. "type": "string"
  15866. },
  15867. "warehousestatus": {
  15868. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15869. "type": "integer"
  15870. },
  15871. "warehousetype": {
  15872. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15873. "type": "integer"
  15874. }
  15875. }
  15876. },
  15877. "models.ErmcpWrstandDetail": {
  15878. "type": "object",
  15879. "properties": {
  15880. "gbList": {
  15881. "description": "品牌列表",
  15882. "type": "array",
  15883. "items": {
  15884. "$ref": "#/definitions/models.GoodsBrand"
  15885. }
  15886. },
  15887. "goodsList": {
  15888. "description": "关联交易商品列表",
  15889. "type": "array",
  15890. "items": {
  15891. "$ref": "#/definitions/models.RelatedGoodsEx"
  15892. }
  15893. },
  15894. "gtList": {
  15895. "description": "型号列表",
  15896. "type": "array",
  15897. "items": {
  15898. "$ref": "#/definitions/models.GoodsTypeModel"
  15899. }
  15900. },
  15901. "wrd": {
  15902. "description": "基本信息",
  15903. "type": "object",
  15904. "$ref": "#/definitions/models.ErmcpWrstandard"
  15905. },
  15906. "wrsList": {
  15907. "description": "套保信息列表",
  15908. "type": "array",
  15909. "items": {
  15910. "$ref": "#/definitions/models.WRSConverTDetail"
  15911. }
  15912. }
  15913. }
  15914. },
  15915. "models.ErmcpWrstandard": {
  15916. "type": "object",
  15917. "properties": {
  15918. "areauserid": {
  15919. "description": "所属机构",
  15920. "type": "integer"
  15921. },
  15922. "createtime": {
  15923. "description": "创建时间",
  15924. "type": "string"
  15925. },
  15926. "creatorid": {
  15927. "description": "创建人",
  15928. "type": "integer"
  15929. },
  15930. "deliverygoodsid": {
  15931. "description": "品种ID",
  15932. "type": "integer"
  15933. },
  15934. "enumdicname": {
  15935. "description": "单位名称",
  15936. "type": "string"
  15937. },
  15938. "isvalid": {
  15939. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15940. "type": "integer"
  15941. },
  15942. "minivalue": {
  15943. "description": "最小变动值",
  15944. "type": "integer"
  15945. },
  15946. "minivaluedp": {
  15947. "description": "最小变动值小数位",
  15948. "type": "integer"
  15949. },
  15950. "realminivalue": {
  15951. "description": "实际最小变动值",
  15952. "type": "integer"
  15953. },
  15954. "realminivaluedp": {
  15955. "description": "实际最小变动值小数位",
  15956. "type": "integer"
  15957. },
  15958. "remark": {
  15959. "description": "备注",
  15960. "type": "string"
  15961. },
  15962. "unitid": {
  15963. "description": "单位ID",
  15964. "type": "integer"
  15965. },
  15966. "updatetime": {
  15967. "description": "更新时间",
  15968. "type": "string"
  15969. },
  15970. "wrstandardcode": {
  15971. "description": "现货商品代码",
  15972. "type": "string"
  15973. },
  15974. "wrstandardid": {
  15975. "description": "现货商品ID(SEQ_WRSTANDARD)",
  15976. "type": "integer"
  15977. },
  15978. "wrstandardname": {
  15979. "description": "现货商品名称",
  15980. "type": "string"
  15981. }
  15982. }
  15983. },
  15984. "models.Externalexchange": {
  15985. "type": "object",
  15986. "required": [
  15987. "autoid"
  15988. ],
  15989. "properties": {
  15990. "autoid": {
  15991. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15992. "type": "integer"
  15993. },
  15994. "exchangefullname": {
  15995. "description": "外部交易所全称",
  15996. "type": "string"
  15997. },
  15998. "exexchangecode": {
  15999. "description": "外部交易所代码",
  16000. "type": "string"
  16001. },
  16002. "exexchangename": {
  16003. "description": "外部交易所名称(简称)",
  16004. "type": "string"
  16005. },
  16006. "ismarketprice": {
  16007. "description": "是否支持市价 - 0:不支持 1:支持",
  16008. "type": "integer"
  16009. },
  16010. "quotegear": {
  16011. "description": "行情档位(1-10)",
  16012. "type": "integer"
  16013. },
  16014. "showbrokerflag": {
  16015. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16016. "type": "integer"
  16017. },
  16018. "updatetime": {
  16019. "description": "更新时间",
  16020. "type": "string"
  16021. }
  16022. }
  16023. },
  16024. "models.Funcmenulist": {
  16025. "type": "object",
  16026. "required": [
  16027. "resourcecode"
  16028. ],
  16029. "properties": {
  16030. "iconame": {
  16031. "description": "菜单图标",
  16032. "type": "string"
  16033. },
  16034. "menutype": {
  16035. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16036. "type": "integer"
  16037. },
  16038. "parentcode": {
  16039. "description": "上级资源代码",
  16040. "type": "string"
  16041. },
  16042. "remark": {
  16043. "description": "备注",
  16044. "type": "string"
  16045. },
  16046. "resourcecode": {
  16047. "description": "资源代码",
  16048. "type": "string"
  16049. },
  16050. "resourcelevel": {
  16051. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16052. "type": "integer"
  16053. },
  16054. "resourcename": {
  16055. "description": "资源名",
  16056. "type": "string"
  16057. },
  16058. "sort": {
  16059. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16060. "type": "integer"
  16061. },
  16062. "url": {
  16063. "description": "URL",
  16064. "type": "string"
  16065. }
  16066. }
  16067. },
  16068. "models.Goods": {
  16069. "type": "object",
  16070. "required": [
  16071. "goodscode",
  16072. "goodsid",
  16073. "goodsname",
  16074. "marketid"
  16075. ],
  16076. "properties": {
  16077. "agreeunit": {
  16078. "description": "合约单位",
  16079. "type": "number"
  16080. },
  16081. "auditaccountid": {
  16082. "description": "审核操作员账号",
  16083. "type": "integer"
  16084. },
  16085. "audittime": {
  16086. "description": "审核时间",
  16087. "type": "string"
  16088. },
  16089. "cancelaccountid": {
  16090. "description": "注销操作员账号",
  16091. "type": "integer"
  16092. },
  16093. "canceltime": {
  16094. "description": "注销时间",
  16095. "type": "string"
  16096. },
  16097. "closepricemode": {
  16098. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16099. "type": "integer"
  16100. },
  16101. "closepriceparam": {
  16102. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16103. "type": "number"
  16104. },
  16105. "createtime": {
  16106. "description": "创建时间",
  16107. "type": "string"
  16108. },
  16109. "creatorid": {
  16110. "description": "创建人",
  16111. "type": "integer"
  16112. },
  16113. "currencyid": {
  16114. "description": "报价货币ID",
  16115. "type": "integer"
  16116. },
  16117. "cutmode": {
  16118. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16119. "type": "integer"
  16120. },
  16121. "decimalplace": {
  16122. "description": "报价小数位",
  16123. "type": "integer"
  16124. },
  16125. "delistingdate": {
  16126. "description": "商品退市时间(状态:退市) -- 已作废",
  16127. "type": "string"
  16128. },
  16129. "delistingmode": {
  16130. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16131. "type": "integer"
  16132. },
  16133. "deliveryflag": {
  16134. "description": "交割标志 - 0:不可交割 1:可交割",
  16135. "type": "integer"
  16136. },
  16137. "forceclosemode": {
  16138. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16139. "type": "integer"
  16140. },
  16141. "forceclosevalue": {
  16142. "description": "定期强平参数 [收益权]",
  16143. "type": "integer"
  16144. },
  16145. "goodscode": {
  16146. "description": "商品代码(内部)",
  16147. "type": "string"
  16148. },
  16149. "goodscurrencyid": {
  16150. "description": "合约货币ID",
  16151. "type": "integer"
  16152. },
  16153. "goodsgroupid": {
  16154. "description": "所属商品组ID",
  16155. "type": "integer"
  16156. },
  16157. "goodsid": {
  16158. "description": "商品ID(自增ID SEQ_GOODS)",
  16159. "type": "integer"
  16160. },
  16161. "goodsname": {
  16162. "description": "商品名称",
  16163. "type": "string"
  16164. },
  16165. "goodsquotetype": {
  16166. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16167. "type": "integer"
  16168. },
  16169. "goodsstatus": {
  16170. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16171. "type": "integer"
  16172. },
  16173. "goodstradetype": {
  16174. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16175. "type": "integer"
  16176. },
  16177. "goodunitid": {
  16178. "description": "报价单位ID",
  16179. "type": "integer"
  16180. },
  16181. "hasquoter": {
  16182. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16183. "type": "integer"
  16184. },
  16185. "hqprotecttime": {
  16186. "description": "行情保护时间(秒)",
  16187. "type": "integer"
  16188. },
  16189. "innerdealmode": {
  16190. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16191. "type": "integer"
  16192. },
  16193. "isbuylimited": {
  16194. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16195. "type": "integer"
  16196. },
  16197. "lasttradedate": {
  16198. "description": "最后交易日期(状态:待退市)",
  16199. "type": "string"
  16200. },
  16201. "listingdate": {
  16202. "description": "交易开始日期",
  16203. "type": "string"
  16204. },
  16205. "marketid": {
  16206. "description": "所属市场ID",
  16207. "type": "integer"
  16208. },
  16209. "modifierid": {
  16210. "description": "修改人",
  16211. "type": "integer"
  16212. },
  16213. "modifystatus": {
  16214. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16215. "type": "integer"
  16216. },
  16217. "modifytime": {
  16218. "description": "修改时间",
  16219. "type": "string"
  16220. },
  16221. "outerdealmode": {
  16222. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16223. "type": "integer"
  16224. },
  16225. "outgoodscode": {
  16226. "description": "商品代码(外部)",
  16227. "type": "string"
  16228. },
  16229. "qtydecimalplace": {
  16230. "description": "成交量小数位",
  16231. "type": "integer"
  16232. },
  16233. "quotegear": {
  16234. "description": "行情档位(1-10)",
  16235. "type": "integer"
  16236. },
  16237. "quoteminunit": {
  16238. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16239. "type": "integer"
  16240. },
  16241. "quoteshowtype": {
  16242. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16243. "type": "integer"
  16244. },
  16245. "quoteshowtypeinterval": {
  16246. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16247. "type": "integer"
  16248. },
  16249. "remark": {
  16250. "description": "备注",
  16251. "type": "string"
  16252. }
  16253. }
  16254. },
  16255. "models.GoodsBrand": {
  16256. "type": "object",
  16257. "properties": {
  16258. "brandid": {
  16259. "description": "品牌ID",
  16260. "type": "integer"
  16261. },
  16262. "brandname": {
  16263. "description": "品牌名称",
  16264. "type": "string"
  16265. },
  16266. "isvalid": {
  16267. "description": "是否有效 - 0:无效 1:有效",
  16268. "type": "integer"
  16269. }
  16270. }
  16271. },
  16272. "models.GoodsIDAndName": {
  16273. "type": "object",
  16274. "required": [
  16275. "goodscode",
  16276. "goodsid",
  16277. "goodsname",
  16278. "marketid"
  16279. ],
  16280. "properties": {
  16281. "goodscode": {
  16282. "description": "商品代码(内部)",
  16283. "type": "string"
  16284. },
  16285. "goodsid": {
  16286. "description": "商品ID(自增ID SEQ_GOODS)",
  16287. "type": "integer"
  16288. },
  16289. "goodsname": {
  16290. "description": "商品名称",
  16291. "type": "string"
  16292. },
  16293. "marketid": {
  16294. "description": "所属市场ID",
  16295. "type": "integer"
  16296. }
  16297. }
  16298. },
  16299. "models.GoodsTypeModel": {
  16300. "type": "object",
  16301. "properties": {
  16302. "convertfactor": {
  16303. "description": "标仓系数",
  16304. "type": "number"
  16305. },
  16306. "modelid": {
  16307. "description": "型号ID",
  16308. "type": "integer"
  16309. },
  16310. "modelname": {
  16311. "description": "型号名称",
  16312. "type": "string"
  16313. },
  16314. "updatetime": {
  16315. "description": "更新时间",
  16316. "type": "string"
  16317. }
  16318. }
  16319. },
  16320. "models.Goodsgroup": {
  16321. "type": "object",
  16322. "required": [
  16323. "goodsgroupid",
  16324. "goodsgroupname",
  16325. "goodsgroupstatus",
  16326. "marketid"
  16327. ],
  16328. "properties": {
  16329. "agreeunit": {
  16330. "description": "合约单位",
  16331. "type": "number"
  16332. },
  16333. "canshort": {
  16334. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16335. "type": "integer"
  16336. },
  16337. "closepricemode": {
  16338. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16339. "type": "integer"
  16340. },
  16341. "closepriceparam": {
  16342. "description": "强平最新价浮动比例 - 方式为2时使用",
  16343. "type": "number"
  16344. },
  16345. "createtime": {
  16346. "description": "创建时间",
  16347. "type": "string"
  16348. },
  16349. "creatorid": {
  16350. "description": "创建人",
  16351. "type": "integer"
  16352. },
  16353. "currencyid": {
  16354. "description": "报价货币ID",
  16355. "type": "integer"
  16356. },
  16357. "decimalplace": {
  16358. "description": "报价小数位",
  16359. "type": "integer"
  16360. },
  16361. "exercisetype": {
  16362. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  16363. "type": "integer"
  16364. },
  16365. "exexchangeid": {
  16366. "description": "外部交易所ID[通道交易]",
  16367. "type": "integer"
  16368. },
  16369. "goodsgroupid": {
  16370. "description": "商品组ID(自增ID)",
  16371. "type": "integer"
  16372. },
  16373. "goodsgroupname": {
  16374. "description": "商品组名称",
  16375. "type": "string"
  16376. },
  16377. "goodsgroupstatus": {
  16378. "description": "商品组状态 - 1:正常 2:注销",
  16379. "type": "integer"
  16380. },
  16381. "goodunitid": {
  16382. "description": "报价单位ID",
  16383. "type": "integer"
  16384. },
  16385. "innerdealmode": {
  16386. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16387. "type": "integer"
  16388. },
  16389. "isbuylimited": {
  16390. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16391. "type": "integer"
  16392. },
  16393. "marketid": {
  16394. "description": "所属市场ID",
  16395. "type": "integer"
  16396. },
  16397. "modifierid": {
  16398. "description": "修改人",
  16399. "type": "integer"
  16400. },
  16401. "modifytime": {
  16402. "description": "修改时间",
  16403. "type": "string"
  16404. },
  16405. "outerdealmode": {
  16406. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16407. "type": "integer"
  16408. },
  16409. "outergroupcode": {
  16410. "description": "外部商品组代码[通道交易]",
  16411. "type": "string"
  16412. },
  16413. "premiumdecimalplace": {
  16414. "description": "权利金小数位[场外期权]",
  16415. "type": "integer"
  16416. },
  16417. "premiumspreadalgorithm": {
  16418. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  16419. "type": "integer"
  16420. },
  16421. "premiumspreadvalue": {
  16422. "description": "权利金点差值[场外期权]",
  16423. "type": "number"
  16424. },
  16425. "qtydecimalplace": {
  16426. "description": "成交量小数位",
  16427. "type": "integer"
  16428. },
  16429. "quotegear": {
  16430. "description": "行情档位(1-10)",
  16431. "type": "integer"
  16432. },
  16433. "quoteminunit": {
  16434. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16435. "type": "integer"
  16436. },
  16437. "quoterid": {
  16438. "description": "报价商ID[场外期权]",
  16439. "type": "integer"
  16440. },
  16441. "quotesourcegroupid": {
  16442. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16443. "type": "integer"
  16444. },
  16445. "syncgoodsqty": {
  16446. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16447. "type": "integer"
  16448. }
  16449. }
  16450. },
  16451. "models.Goodssortbypreposition": {
  16452. "type": "object",
  16453. "required": [
  16454. "goodscode",
  16455. "tradedate"
  16456. ],
  16457. "properties": {
  16458. "goodscode": {
  16459. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16460. "type": "string"
  16461. },
  16462. "goodsgroupcode": {
  16463. "description": "品种代码",
  16464. "type": "string"
  16465. },
  16466. "prepositionqty": {
  16467. "description": "昨持仓量",
  16468. "type": "integer"
  16469. },
  16470. "sortindex": {
  16471. "description": "排序",
  16472. "type": "integer"
  16473. },
  16474. "tradedate": {
  16475. "description": "交易日",
  16476. "type": "string"
  16477. },
  16478. "updatetime": {
  16479. "description": "更新时间",
  16480. "type": "string"
  16481. }
  16482. }
  16483. },
  16484. "models.Hedgeinnerholderdetail": {
  16485. "type": "object",
  16486. "required": [
  16487. "buyorsell",
  16488. "tradeid"
  16489. ],
  16490. "properties": {
  16491. "accountid": {
  16492. "description": "账号ID",
  16493. "type": "integer"
  16494. },
  16495. "buyorsell": {
  16496. "description": "方向 - 0:买 1:卖",
  16497. "type": "integer"
  16498. },
  16499. "freezeqty": {
  16500. "description": "冻结数量 - 按单平使用",
  16501. "type": "integer"
  16502. },
  16503. "goodsid": {
  16504. "description": "商品ID",
  16505. "type": "integer"
  16506. },
  16507. "holderamount": {
  16508. "description": "持仓金额 [商品币种]",
  16509. "type": "number"
  16510. },
  16511. "holderdays": {
  16512. "description": "剩余冻结天数",
  16513. "type": "integer"
  16514. },
  16515. "holderprice": {
  16516. "description": "持仓价格",
  16517. "type": "number"
  16518. },
  16519. "holderqty": {
  16520. "description": "持仓数量",
  16521. "type": "integer"
  16522. },
  16523. "marketid": {
  16524. "description": "市场ID",
  16525. "type": "integer"
  16526. },
  16527. "openprice": {
  16528. "description": "建仓价格",
  16529. "type": "number"
  16530. },
  16531. "openqty": {
  16532. "description": "建仓数量",
  16533. "type": "integer"
  16534. },
  16535. "parentaccountid": {
  16536. "description": "所属母账户",
  16537. "type": "integer"
  16538. },
  16539. "releaseamount": {
  16540. "description": "释放持仓金额[商品币种]",
  16541. "type": "number"
  16542. },
  16543. "tradeamount": {
  16544. "description": "成交金额[账户]",
  16545. "type": "number"
  16546. },
  16547. "tradedate": {
  16548. "description": "交易日(yyyyMMdd)",
  16549. "type": "string"
  16550. },
  16551. "tradeid": {
  16552. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16553. "type": "string"
  16554. },
  16555. "tradetime": {
  16556. "description": "交易时间",
  16557. "type": "string"
  16558. }
  16559. }
  16560. },
  16561. "models.HsbyBuyMyPayOrder": {
  16562. "type": "object",
  16563. "required": [
  16564. "goodscode",
  16565. "goodsname",
  16566. "tradeid",
  16567. "trademode"
  16568. ],
  16569. "properties": {
  16570. "agreeunit": {
  16571. "description": "合约单位",
  16572. "type": "number"
  16573. },
  16574. "buyaccountid": {
  16575. "description": "买方账号ID[报价币种]",
  16576. "type": "integer"
  16577. },
  16578. "buyorderid": {
  16579. "description": "买方委托单号",
  16580. "type": "string"
  16581. },
  16582. "createtime": {
  16583. "description": "创建时间",
  16584. "type": "string"
  16585. },
  16586. "currencysign": {
  16587. "description": "货币符号",
  16588. "type": "string"
  16589. },
  16590. "decimalplace": {
  16591. "description": "报价小数位",
  16592. "type": "integer"
  16593. },
  16594. "goodscode": {
  16595. "description": "商品代码(内部)",
  16596. "type": "string"
  16597. },
  16598. "goodsid": {
  16599. "description": "商品ID",
  16600. "type": "integer"
  16601. },
  16602. "goodsname": {
  16603. "description": "商品名称",
  16604. "type": "string"
  16605. },
  16606. "marketid": {
  16607. "description": "市场ID",
  16608. "type": "integer"
  16609. },
  16610. "offamount": {
  16611. "description": "优惠金额",
  16612. "type": "number"
  16613. },
  16614. "originalamount": {
  16615. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16616. "type": "number"
  16617. },
  16618. "payamount": {
  16619. "description": "支付金额 = TradeAmount + TradeCharge",
  16620. "type": "number"
  16621. },
  16622. "payflag": {
  16623. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16624. "type": "integer"
  16625. },
  16626. "paylimitedtime": {
  16627. "description": "支付期限",
  16628. "type": "string"
  16629. },
  16630. "paytime": {
  16631. "description": "付款时间",
  16632. "type": "string"
  16633. },
  16634. "picurls1": {
  16635. "description": "预售商品介绍图片[多张用逗号分隔]",
  16636. "type": "string"
  16637. },
  16638. "picurls2": {
  16639. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16640. "type": "string"
  16641. },
  16642. "sellaccountid": {
  16643. "description": "卖方账号ID[报价币种]",
  16644. "type": "integer"
  16645. },
  16646. "sellorderid": {
  16647. "description": "卖方委托单号",
  16648. "type": "string"
  16649. },
  16650. "tradeamount": {
  16651. "description": "成交金额",
  16652. "type": "number"
  16653. },
  16654. "tradecharge": {
  16655. "description": "成交手续费(买方)",
  16656. "type": "number"
  16657. },
  16658. "tradedate": {
  16659. "description": "交易日(yyyyMMdd)",
  16660. "type": "string"
  16661. },
  16662. "tradeid": {
  16663. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16664. "type": "string"
  16665. },
  16666. "trademode": {
  16667. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16668. "type": "integer"
  16669. },
  16670. "tradeprice": {
  16671. "description": "成交价格",
  16672. "type": "number"
  16673. },
  16674. "tradeqty": {
  16675. "description": "成交数量",
  16676. "type": "integer"
  16677. },
  16678. "vendorname1": {
  16679. "description": "预售商品供应商名称",
  16680. "type": "string"
  16681. },
  16682. "vendorname2": {
  16683. "description": "挂牌商品供应商名称",
  16684. "type": "string"
  16685. }
  16686. }
  16687. },
  16688. "models.HsbyBuyMyTradeDetail": {
  16689. "type": "object",
  16690. "required": [
  16691. "accountid",
  16692. "buyorsell",
  16693. "goodscode",
  16694. "goodsid",
  16695. "goodsname",
  16696. "marketid",
  16697. "orderid",
  16698. "qty",
  16699. "time",
  16700. "trademode"
  16701. ],
  16702. "properties": {
  16703. "accountid": {
  16704. "description": "账户ID[报价币种]",
  16705. "type": "integer"
  16706. },
  16707. "agreeunit": {
  16708. "description": "合约单位",
  16709. "type": "number"
  16710. },
  16711. "amount": {
  16712. "description": "金额 = 价格 * 数量 * 合约单位",
  16713. "type": "number"
  16714. },
  16715. "buyorsell": {
  16716. "description": "买卖 - 0:买 1:卖",
  16717. "type": "integer"
  16718. },
  16719. "currencysign": {
  16720. "description": "货币符号",
  16721. "type": "string"
  16722. },
  16723. "decimalplace": {
  16724. "description": "报价小数位",
  16725. "type": "integer"
  16726. },
  16727. "goodscode": {
  16728. "description": "商品代码(内部)",
  16729. "type": "string"
  16730. },
  16731. "goodsid": {
  16732. "description": "商品ID",
  16733. "type": "integer"
  16734. },
  16735. "goodsname": {
  16736. "description": "商品名称",
  16737. "type": "string"
  16738. },
  16739. "marketid": {
  16740. "description": "市场ID",
  16741. "type": "integer"
  16742. },
  16743. "orderamount": {
  16744. "description": "委托金额",
  16745. "type": "number"
  16746. },
  16747. "orderid": {
  16748. "description": "单号(成交单号)",
  16749. "type": "string"
  16750. },
  16751. "picurls1": {
  16752. "description": "预售商品介绍图片[多张用逗号分隔]",
  16753. "type": "string"
  16754. },
  16755. "picurls2": {
  16756. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16757. "type": "string"
  16758. },
  16759. "price": {
  16760. "description": "价格",
  16761. "type": "number"
  16762. },
  16763. "qty": {
  16764. "description": "数量",
  16765. "type": "integer"
  16766. },
  16767. "time": {
  16768. "description": "时间",
  16769. "type": "string"
  16770. },
  16771. "trademode": {
  16772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16773. "type": "integer"
  16774. },
  16775. "vendorname1": {
  16776. "description": "预售商品供应商名称",
  16777. "type": "string"
  16778. },
  16779. "vendorname2": {
  16780. "description": "挂牌商品供应商名称",
  16781. "type": "string"
  16782. }
  16783. }
  16784. },
  16785. "models.HsbyGoodsOrderDetail": {
  16786. "type": "object",
  16787. "required": [
  16788. "buyorsell",
  16789. "orderid",
  16790. "ordertime"
  16791. ],
  16792. "properties": {
  16793. "buyorsell": {
  16794. "description": "买卖 - 0:买 1:卖",
  16795. "type": "integer"
  16796. },
  16797. "currencysign": {
  16798. "description": "货币符号",
  16799. "type": "string"
  16800. },
  16801. "customername": {
  16802. "description": "客户名称(企业名称),已脱敏",
  16803. "type": "string"
  16804. },
  16805. "enableqty": {
  16806. "description": "可用数量",
  16807. "type": "integer"
  16808. },
  16809. "goodunit": {
  16810. "description": "报价单位",
  16811. "type": "string"
  16812. },
  16813. "orderid": {
  16814. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16815. "type": "string"
  16816. },
  16817. "orderprice": {
  16818. "description": "委托价格",
  16819. "type": "number"
  16820. },
  16821. "ordertime": {
  16822. "description": "委托时间",
  16823. "type": "string"
  16824. }
  16825. }
  16826. },
  16827. "models.HsbyListingGoodsDetail": {
  16828. "type": "object",
  16829. "required": [
  16830. "goodscode",
  16831. "goodsid",
  16832. "goodsname",
  16833. "marketid",
  16834. "trademode"
  16835. ],
  16836. "properties": {
  16837. "agreeunit": {
  16838. "description": "合约单位",
  16839. "type": "number"
  16840. },
  16841. "buymaxqty": {
  16842. "description": "购买上限 [71] - 0为不限",
  16843. "type": "integer"
  16844. },
  16845. "currency": {
  16846. "description": "货币",
  16847. "type": "string"
  16848. },
  16849. "currencysign": {
  16850. "description": "货币符号",
  16851. "type": "string"
  16852. },
  16853. "decimalplace": {
  16854. "description": "报价小数位",
  16855. "type": "integer"
  16856. },
  16857. "desccityid": {
  16858. "description": "目的地(市)ID",
  16859. "type": "integer"
  16860. },
  16861. "descprovinceid": {
  16862. "description": "目的地(省)ID",
  16863. "type": "integer"
  16864. },
  16865. "goodscode": {
  16866. "description": "商品代码(内部)",
  16867. "type": "string"
  16868. },
  16869. "goodsdesc": {
  16870. "description": "商品详情",
  16871. "type": "string"
  16872. },
  16873. "goodsid": {
  16874. "description": "商品ID(自增ID SEQ_GOODS)",
  16875. "type": "integer"
  16876. },
  16877. "goodsname": {
  16878. "description": "商品名称",
  16879. "type": "string"
  16880. },
  16881. "goodsprice": {
  16882. "description": "商品价格",
  16883. "type": "number"
  16884. },
  16885. "hotindex": {
  16886. "description": "景点热度",
  16887. "type": "integer"
  16888. },
  16889. "last": {
  16890. "description": "现价",
  16891. "type": "number"
  16892. },
  16893. "limitdown": {
  16894. "description": "跌停价",
  16895. "type": "number"
  16896. },
  16897. "limitup": {
  16898. "description": "涨停价",
  16899. "type": "number"
  16900. },
  16901. "lotsize": {
  16902. "description": "手数最小变动单位",
  16903. "type": "integer"
  16904. },
  16905. "marketid": {
  16906. "description": "所属市场ID",
  16907. "type": "integer"
  16908. },
  16909. "picurls": {
  16910. "description": "介绍图片[多张用逗号分隔]",
  16911. "type": "string"
  16912. },
  16913. "quoteminunit": {
  16914. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16915. "type": "integer"
  16916. },
  16917. "stepvalue": {
  16918. "description": "价格最小变动单位",
  16919. "type": "number"
  16920. },
  16921. "trademode": {
  16922. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16923. "type": "integer"
  16924. },
  16925. "vendorattr": {
  16926. "description": "供应商附件(多张,逗号分隔)",
  16927. "type": "string"
  16928. },
  16929. "vendorname": {
  16930. "description": "供应商名称",
  16931. "type": "string"
  16932. },
  16933. "vendorphone": {
  16934. "description": "供应商客服电话",
  16935. "type": "string"
  16936. },
  16937. "videourls": {
  16938. "description": "介绍视频[多张用逗号分隔]",
  16939. "type": "string"
  16940. }
  16941. }
  16942. },
  16943. "models.HsbyMarketGoods": {
  16944. "type": "object",
  16945. "required": [
  16946. "accountid",
  16947. "buyorsell",
  16948. "goodscode",
  16949. "goodsid",
  16950. "goodsname",
  16951. "marketid",
  16952. "orderid",
  16953. "trademode"
  16954. ],
  16955. "properties": {
  16956. "accountid": {
  16957. "description": "账户ID[报价币种]",
  16958. "type": "integer"
  16959. },
  16960. "agreeunit": {
  16961. "description": "合约单位",
  16962. "type": "number"
  16963. },
  16964. "buyorsell": {
  16965. "description": "买卖 - 0:买 1:卖",
  16966. "type": "integer"
  16967. },
  16968. "categoryid": {
  16969. "description": "类别ID(WRCATEGORY)",
  16970. "type": "integer"
  16971. },
  16972. "currency": {
  16973. "description": "货币",
  16974. "type": "string"
  16975. },
  16976. "currencysign": {
  16977. "description": "货币符号",
  16978. "type": "string"
  16979. },
  16980. "customername": {
  16981. "description": "卖家名称",
  16982. "type": "string"
  16983. },
  16984. "decimalplace": {
  16985. "description": "报价小数位",
  16986. "type": "integer"
  16987. },
  16988. "goodscode": {
  16989. "description": "商品代码(内部)",
  16990. "type": "string"
  16991. },
  16992. "goodsid": {
  16993. "description": "商品ID",
  16994. "type": "integer"
  16995. },
  16996. "goodsname": {
  16997. "description": "商品名称",
  16998. "type": "string"
  16999. },
  17000. "goodsprice": {
  17001. "description": "商品价格",
  17002. "type": "number"
  17003. },
  17004. "hascoupon": {
  17005. "description": "是否可用优惠卷",
  17006. "type": "boolean"
  17007. },
  17008. "hotindex": {
  17009. "description": "景点热度",
  17010. "type": "integer"
  17011. },
  17012. "marketid": {
  17013. "description": "市场ID",
  17014. "type": "integer"
  17015. },
  17016. "orderid": {
  17017. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17018. "type": "string"
  17019. },
  17020. "orderprice": {
  17021. "description": "委托价格",
  17022. "type": "number"
  17023. },
  17024. "orderstatus": {
  17025. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17026. "type": "integer"
  17027. },
  17028. "picurls": {
  17029. "description": "介绍图片[多张用逗号分隔]",
  17030. "type": "string"
  17031. },
  17032. "quoteminunit": {
  17033. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17034. "type": "integer"
  17035. },
  17036. "sellUserID": {
  17037. "description": "卖方UserID",
  17038. "type": "integer"
  17039. },
  17040. "trademode": {
  17041. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17042. "type": "integer"
  17043. },
  17044. "videourls": {
  17045. "description": "介绍视频[多张用逗号分隔]",
  17046. "type": "string"
  17047. }
  17048. }
  17049. },
  17050. "models.HsbyMarketGoodsDetail": {
  17051. "type": "object",
  17052. "required": [
  17053. "accountid",
  17054. "buyorsell",
  17055. "goodscode",
  17056. "goodsid",
  17057. "goodsname",
  17058. "marketid",
  17059. "orderid",
  17060. "orderqty",
  17061. "trademode"
  17062. ],
  17063. "properties": {
  17064. "accountid": {
  17065. "description": "账户ID[报价币种]",
  17066. "type": "integer"
  17067. },
  17068. "agreeunit": {
  17069. "description": "合约单位",
  17070. "type": "number"
  17071. },
  17072. "buymaxqty": {
  17073. "description": "购买上限 [71] - 0为不限",
  17074. "type": "integer"
  17075. },
  17076. "buyorsell": {
  17077. "description": "买卖 - 0:买 1:卖",
  17078. "type": "integer"
  17079. },
  17080. "cancelqty": {
  17081. "description": "撤单数量",
  17082. "type": "integer"
  17083. },
  17084. "categoryid": {
  17085. "description": "类别ID(WRCATEGORY)",
  17086. "type": "integer"
  17087. },
  17088. "currency": {
  17089. "description": "货币",
  17090. "type": "string"
  17091. },
  17092. "currencysign": {
  17093. "description": "货币符号",
  17094. "type": "string"
  17095. },
  17096. "customername": {
  17097. "description": "卖家名称",
  17098. "type": "string"
  17099. },
  17100. "decimalplace": {
  17101. "description": "报价小数位",
  17102. "type": "integer"
  17103. },
  17104. "goodscode": {
  17105. "description": "商品代码(内部)",
  17106. "type": "string"
  17107. },
  17108. "goodsdesc": {
  17109. "description": "商品详情",
  17110. "type": "string"
  17111. },
  17112. "goodsid": {
  17113. "description": "商品ID",
  17114. "type": "integer"
  17115. },
  17116. "goodsname": {
  17117. "description": "商品名称",
  17118. "type": "string"
  17119. },
  17120. "goodsprice": {
  17121. "description": "商品价格",
  17122. "type": "number"
  17123. },
  17124. "hotindex": {
  17125. "description": "景点热度",
  17126. "type": "integer"
  17127. },
  17128. "lotsize": {
  17129. "description": "手数最小变动单位",
  17130. "type": "integer"
  17131. },
  17132. "marketid": {
  17133. "description": "市场ID",
  17134. "type": "integer"
  17135. },
  17136. "orderid": {
  17137. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17138. "type": "string"
  17139. },
  17140. "orderprice": {
  17141. "description": "委托价格",
  17142. "type": "number"
  17143. },
  17144. "orderqty": {
  17145. "description": "委托数量",
  17146. "type": "integer"
  17147. },
  17148. "orderstatus": {
  17149. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17150. "type": "integer"
  17151. },
  17152. "picurls": {
  17153. "description": "介绍图片[多张用逗号分隔]",
  17154. "type": "string"
  17155. },
  17156. "quoteminunit": {
  17157. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17158. "type": "integer"
  17159. },
  17160. "sellUserID": {
  17161. "description": "卖方UserID",
  17162. "type": "integer"
  17163. },
  17164. "trademode": {
  17165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17166. "type": "integer"
  17167. },
  17168. "tradeqty": {
  17169. "description": "成交数量",
  17170. "type": "integer"
  17171. },
  17172. "vendorattr": {
  17173. "description": "供应商附件(多张,逗号分隔)",
  17174. "type": "string"
  17175. },
  17176. "vendorname": {
  17177. "description": "供应商名称",
  17178. "type": "string"
  17179. },
  17180. "vendorphone": {
  17181. "description": "供应商客服电话",
  17182. "type": "string"
  17183. },
  17184. "videourls": {
  17185. "description": "介绍视频[多张用逗号分隔]",
  17186. "type": "string"
  17187. }
  17188. }
  17189. },
  17190. "models.HsbyMarketInfo": {
  17191. "type": "object",
  17192. "required": [
  17193. "marketid",
  17194. "marketstatus",
  17195. "trademode"
  17196. ],
  17197. "properties": {
  17198. "marketid": {
  17199. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17200. "type": "integer"
  17201. },
  17202. "marketname": {
  17203. "description": "市场名称",
  17204. "type": "string"
  17205. },
  17206. "marketstatus": {
  17207. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17208. "type": "integer"
  17209. },
  17210. "trademode": {
  17211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17212. "type": "integer"
  17213. }
  17214. }
  17215. },
  17216. "models.HsbyMyGoods": {
  17217. "type": "object",
  17218. "required": [
  17219. "accountid",
  17220. "goodscode",
  17221. "goodsid",
  17222. "goodsname",
  17223. "marketid",
  17224. "trademode"
  17225. ],
  17226. "properties": {
  17227. "accountid": {
  17228. "description": "账号Id",
  17229. "type": "integer"
  17230. },
  17231. "agreeunit": {
  17232. "description": "合约单位",
  17233. "type": "number"
  17234. },
  17235. "buyaverageprice": {
  17236. "description": "持仓均价",
  17237. "type": "number"
  17238. },
  17239. "buycurholderamount": {
  17240. "description": "买当前持仓总金额[商品币种]",
  17241. "type": "number"
  17242. },
  17243. "buycurpositionqty": {
  17244. "description": "买当前持仓总数量",
  17245. "type": "integer"
  17246. },
  17247. "buymaxqty": {
  17248. "description": "购买上限 [71] - 0为不限",
  17249. "type": "integer"
  17250. },
  17251. "currencysign": {
  17252. "description": "货币符号",
  17253. "type": "string"
  17254. },
  17255. "decimalplace": {
  17256. "description": "报价小数位",
  17257. "type": "integer"
  17258. },
  17259. "enableqty": {
  17260. "description": "可用数量",
  17261. "type": "integer"
  17262. },
  17263. "goodscode": {
  17264. "description": "商品代码(内部)",
  17265. "type": "string"
  17266. },
  17267. "goodsid": {
  17268. "description": "商品Id",
  17269. "type": "integer"
  17270. },
  17271. "goodsname": {
  17272. "description": "商品名称",
  17273. "type": "string"
  17274. },
  17275. "goodsprice": {
  17276. "description": "商品价格",
  17277. "type": "number"
  17278. },
  17279. "goodsstatus": {
  17280. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17281. "type": "integer"
  17282. },
  17283. "last": {
  17284. "description": "现价(仅使用于挂牌点选)",
  17285. "type": "number"
  17286. },
  17287. "limitdown": {
  17288. "description": "跌停价(仅使用于挂牌点选)",
  17289. "type": "number"
  17290. },
  17291. "limitup": {
  17292. "description": "涨停价(仅使用于挂牌点选)",
  17293. "type": "number"
  17294. },
  17295. "lotsize": {
  17296. "description": "手数最小变动单位",
  17297. "type": "integer"
  17298. },
  17299. "marketid": {
  17300. "description": "所属市场ID",
  17301. "type": "integer"
  17302. },
  17303. "picurls": {
  17304. "description": "介绍图片[多张用逗号分隔]",
  17305. "type": "string"
  17306. },
  17307. "quoteminunit": {
  17308. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17309. "type": "integer"
  17310. },
  17311. "stepvalue": {
  17312. "description": "价格最小变动单位",
  17313. "type": "number"
  17314. },
  17315. "trademode": {
  17316. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17317. "type": "integer"
  17318. }
  17319. }
  17320. },
  17321. "models.HsbyMyPackage": {
  17322. "type": "object",
  17323. "required": [
  17324. "goodscode",
  17325. "goodsname",
  17326. "takeorderid",
  17327. "trademode"
  17328. ],
  17329. "properties": {
  17330. "accountid": {
  17331. "description": "账户ID",
  17332. "type": "integer"
  17333. },
  17334. "address": {
  17335. "description": "提货人详细地址",
  17336. "type": "string"
  17337. },
  17338. "agreeunit": {
  17339. "description": "合约单位",
  17340. "type": "number"
  17341. },
  17342. "amount": {
  17343. "description": "提货金额",
  17344. "type": "number"
  17345. },
  17346. "auditer": {
  17347. "description": "审核人",
  17348. "type": "integer"
  17349. },
  17350. "audittime": {
  17351. "description": "审核时间",
  17352. "type": "string"
  17353. },
  17354. "averageprice": {
  17355. "description": "均价",
  17356. "type": "number"
  17357. },
  17358. "cardnum": {
  17359. "description": "提货人证件号码",
  17360. "type": "string"
  17361. },
  17362. "cardtypeid": {
  17363. "description": "提货人证件类型",
  17364. "type": "integer"
  17365. },
  17366. "checkremark": {
  17367. "description": "审核备注",
  17368. "type": "string"
  17369. },
  17370. "currencysign": {
  17371. "description": "货币符号",
  17372. "type": "string"
  17373. },
  17374. "decimalplace": {
  17375. "description": "报价小数位",
  17376. "type": "integer"
  17377. },
  17378. "goodscode": {
  17379. "description": "商品代码(内部)",
  17380. "type": "string"
  17381. },
  17382. "goodsid": {
  17383. "description": "商品ID",
  17384. "type": "integer"
  17385. },
  17386. "goodsname": {
  17387. "description": "商品名称",
  17388. "type": "string"
  17389. },
  17390. "handlestatus": {
  17391. "description": "处理状态",
  17392. "type": "integer"
  17393. },
  17394. "marketid": {
  17395. "description": "市场ID",
  17396. "type": "integer"
  17397. },
  17398. "phonenum": {
  17399. "description": "提货人联系方式",
  17400. "type": "string"
  17401. },
  17402. "picurls": {
  17403. "description": "介绍图片[多张用逗号分隔]",
  17404. "type": "string"
  17405. },
  17406. "qty": {
  17407. "description": "提货数量",
  17408. "type": "number"
  17409. },
  17410. "recivername": {
  17411. "description": "提货人姓名",
  17412. "type": "string"
  17413. },
  17414. "reqtime": {
  17415. "description": "更新时间",
  17416. "type": "string"
  17417. },
  17418. "takemode": {
  17419. "description": "提货方式 - 2:自提 3:配送",
  17420. "type": "integer"
  17421. },
  17422. "takeorderid": {
  17423. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17424. "type": "string"
  17425. },
  17426. "takeorderstatus": {
  17427. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17428. "type": "integer"
  17429. },
  17430. "takeremark": {
  17431. "description": "提货备注",
  17432. "type": "string"
  17433. },
  17434. "tradedate": {
  17435. "description": "交易日(yyyyMMdd)",
  17436. "type": "string"
  17437. },
  17438. "trademode": {
  17439. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17440. "type": "integer"
  17441. },
  17442. "userid": {
  17443. "description": "用户ID",
  17444. "type": "integer"
  17445. },
  17446. "vendorname": {
  17447. "description": "供应商名称",
  17448. "type": "string"
  17449. }
  17450. }
  17451. },
  17452. "models.HsbyPreGoods": {
  17453. "type": "object",
  17454. "required": [
  17455. "goodscode",
  17456. "goodsid",
  17457. "goodsname",
  17458. "marketid",
  17459. "trademode"
  17460. ],
  17461. "properties": {
  17462. "agreeunit": {
  17463. "description": "合约单位",
  17464. "type": "number"
  17465. },
  17466. "currency": {
  17467. "description": "货币",
  17468. "type": "string"
  17469. },
  17470. "currencysign": {
  17471. "description": "货币符号",
  17472. "type": "string"
  17473. },
  17474. "decimalplace": {
  17475. "description": "报价小数位",
  17476. "type": "integer"
  17477. },
  17478. "desccityid": {
  17479. "description": "目的地(市)",
  17480. "type": "integer"
  17481. },
  17482. "descprovinceid": {
  17483. "description": "目的地(省)",
  17484. "type": "integer"
  17485. },
  17486. "enableqty": {
  17487. "description": "剩余数量",
  17488. "type": "integer"
  17489. },
  17490. "goodscode": {
  17491. "description": "商品代码(内部)",
  17492. "type": "string"
  17493. },
  17494. "goodsid": {
  17495. "description": "商品ID(自增ID SEQ_GOODS)",
  17496. "type": "integer"
  17497. },
  17498. "goodsname": {
  17499. "description": "商品名称",
  17500. "type": "string"
  17501. },
  17502. "goodsstatus": {
  17503. "description": "商品状态- 2:未上市 3:上市",
  17504. "type": "integer"
  17505. },
  17506. "lasttradedate": {
  17507. "description": "最后交易日期(状态:待退市)",
  17508. "type": "string"
  17509. },
  17510. "listingdate": {
  17511. "description": "交易开始日期",
  17512. "type": "string"
  17513. },
  17514. "marketid": {
  17515. "description": "所属市场ID",
  17516. "type": "integer"
  17517. },
  17518. "picurls": {
  17519. "description": "介绍图片[多张用逗号分隔]",
  17520. "type": "string"
  17521. },
  17522. "presaledqty": {
  17523. "description": "已预售量(预售结束时更新)",
  17524. "type": "integer"
  17525. },
  17526. "presaleqty": {
  17527. "description": "预售数量",
  17528. "type": "integer"
  17529. },
  17530. "quoteminunit": {
  17531. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17532. "type": "integer"
  17533. },
  17534. "refprice": {
  17535. "description": "参考价格[一口价]",
  17536. "type": "number"
  17537. },
  17538. "relatedgoodsid": {
  17539. "description": "关联交易合约ID",
  17540. "type": "integer"
  17541. },
  17542. "trademode": {
  17543. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17544. "type": "integer"
  17545. },
  17546. "videourls": {
  17547. "description": "介绍视频[多张用逗号分隔]",
  17548. "type": "string"
  17549. }
  17550. }
  17551. },
  17552. "models.HsbyPreGoodsDetail": {
  17553. "type": "object",
  17554. "required": [
  17555. "goodscode",
  17556. "goodsid",
  17557. "goodsname",
  17558. "marketid",
  17559. "trademode"
  17560. ],
  17561. "properties": {
  17562. "agreeunit": {
  17563. "description": "合约单位",
  17564. "type": "number"
  17565. },
  17566. "buymaxqty": {
  17567. "description": "购买上限 [71] - 0为不限",
  17568. "type": "integer"
  17569. },
  17570. "currency": {
  17571. "description": "货币",
  17572. "type": "string"
  17573. },
  17574. "currencysign": {
  17575. "description": "货币符号",
  17576. "type": "string"
  17577. },
  17578. "customername": {
  17579. "description": "发行单位",
  17580. "type": "string"
  17581. },
  17582. "decimalplace": {
  17583. "description": "报价小数位",
  17584. "type": "integer"
  17585. },
  17586. "desccityid": {
  17587. "description": "目的地(市)ID",
  17588. "type": "integer"
  17589. },
  17590. "descprovinceid": {
  17591. "description": "目的地(省)ID",
  17592. "type": "integer"
  17593. },
  17594. "enableqty": {
  17595. "description": "剩余数量",
  17596. "type": "integer"
  17597. },
  17598. "goodscode": {
  17599. "description": "商品代码(内部)",
  17600. "type": "string"
  17601. },
  17602. "goodsdesc": {
  17603. "description": "商品详情",
  17604. "type": "string"
  17605. },
  17606. "goodsid": {
  17607. "description": "商品ID(自增ID SEQ_GOODS)",
  17608. "type": "integer"
  17609. },
  17610. "goodsname": {
  17611. "description": "商品名称",
  17612. "type": "string"
  17613. },
  17614. "goodsstatus": {
  17615. "description": "商品状态- 2:未上市 3:上市",
  17616. "type": "integer"
  17617. },
  17618. "goodunit": {
  17619. "description": "报价单位",
  17620. "type": "string"
  17621. },
  17622. "lasttradedate": {
  17623. "description": "最后交易日期(状态:待退市)",
  17624. "type": "string"
  17625. },
  17626. "listingdate": {
  17627. "description": "交易开始日期",
  17628. "type": "string"
  17629. },
  17630. "lotsize": {
  17631. "description": "手数最小变动单位",
  17632. "type": "integer"
  17633. },
  17634. "marketid": {
  17635. "description": "所属市场ID",
  17636. "type": "integer"
  17637. },
  17638. "picurls": {
  17639. "description": "介绍图片[多张用逗号分隔]",
  17640. "type": "string"
  17641. },
  17642. "presaledqty": {
  17643. "description": "已预售量(预售结束时更新)",
  17644. "type": "integer"
  17645. },
  17646. "presaleqty": {
  17647. "description": "预售数量",
  17648. "type": "integer"
  17649. },
  17650. "quoteminunit": {
  17651. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17652. "type": "integer"
  17653. },
  17654. "refprice": {
  17655. "description": "参考价格[一口价]",
  17656. "type": "number"
  17657. },
  17658. "relatedgoodsid": {
  17659. "description": "关联交易合约ID",
  17660. "type": "integer"
  17661. },
  17662. "stepvalue": {
  17663. "description": "价格最小变动单位",
  17664. "type": "number"
  17665. },
  17666. "trademode": {
  17667. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17668. "type": "integer"
  17669. },
  17670. "vendorattr": {
  17671. "description": "供应商附件(多张,逗号分隔)",
  17672. "type": "string"
  17673. },
  17674. "vendorname": {
  17675. "description": "供应商名称",
  17676. "type": "string"
  17677. },
  17678. "vendorphone": {
  17679. "description": "供应商客服电话",
  17680. "type": "string"
  17681. },
  17682. "videourls": {
  17683. "description": "介绍视频[多张用逗号分隔]",
  17684. "type": "string"
  17685. }
  17686. }
  17687. },
  17688. "models.HsbySellCollectionOrder": {
  17689. "type": "object",
  17690. "required": [
  17691. "goodscode",
  17692. "goodsname",
  17693. "tradeid",
  17694. "trademode"
  17695. ],
  17696. "properties": {
  17697. "agreeunit": {
  17698. "description": "合约单位",
  17699. "type": "number"
  17700. },
  17701. "buyaccountid": {
  17702. "description": "买方账号ID[报价币种]",
  17703. "type": "integer"
  17704. },
  17705. "buyorderid": {
  17706. "description": "买方委托单号",
  17707. "type": "string"
  17708. },
  17709. "createtime": {
  17710. "description": "创建时间",
  17711. "type": "string"
  17712. },
  17713. "currencysign": {
  17714. "description": "货币符号",
  17715. "type": "string"
  17716. },
  17717. "decimalplace": {
  17718. "description": "报价小数位",
  17719. "type": "integer"
  17720. },
  17721. "goodscode": {
  17722. "description": "商品代码(内部)",
  17723. "type": "string"
  17724. },
  17725. "goodsid": {
  17726. "description": "商品ID",
  17727. "type": "integer"
  17728. },
  17729. "goodsname": {
  17730. "description": "商品名称",
  17731. "type": "string"
  17732. },
  17733. "marketid": {
  17734. "description": "市场ID",
  17735. "type": "integer"
  17736. },
  17737. "offamount": {
  17738. "description": "优惠金额",
  17739. "type": "number"
  17740. },
  17741. "payamount": {
  17742. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17743. "type": "number"
  17744. },
  17745. "payflag": {
  17746. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17747. "type": "integer"
  17748. },
  17749. "paylimitedtime": {
  17750. "description": "支付期限",
  17751. "type": "string"
  17752. },
  17753. "paytime": {
  17754. "description": "付款时间",
  17755. "type": "string"
  17756. },
  17757. "picurls": {
  17758. "description": "商品介绍图片[多张用逗号分隔]",
  17759. "type": "string"
  17760. },
  17761. "sellaccountid": {
  17762. "description": "卖方账号ID[报价币种]",
  17763. "type": "integer"
  17764. },
  17765. "sellorderid": {
  17766. "description": "卖方委托单号",
  17767. "type": "string"
  17768. },
  17769. "tradeamount": {
  17770. "description": "成交金额",
  17771. "type": "number"
  17772. },
  17773. "tradecharge": {
  17774. "description": "成交手续费(买方)",
  17775. "type": "number"
  17776. },
  17777. "tradedate": {
  17778. "description": "交易日(yyyyMMdd)",
  17779. "type": "string"
  17780. },
  17781. "tradeid": {
  17782. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17783. "type": "string"
  17784. },
  17785. "trademode": {
  17786. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17787. "type": "integer"
  17788. },
  17789. "tradeprice": {
  17790. "description": "成交价格",
  17791. "type": "number"
  17792. },
  17793. "tradeqty": {
  17794. "description": "成交数量",
  17795. "type": "integer"
  17796. }
  17797. }
  17798. },
  17799. "models.HsbySellMyDetail": {
  17800. "type": "object",
  17801. "required": [
  17802. "accountid",
  17803. "buyorsell",
  17804. "goodscode",
  17805. "goodsid",
  17806. "goodsname",
  17807. "marketid",
  17808. "orderid",
  17809. "time",
  17810. "trademode"
  17811. ],
  17812. "properties": {
  17813. "accountid": {
  17814. "description": "账户ID[报价币种]",
  17815. "type": "integer"
  17816. },
  17817. "agreeunit": {
  17818. "description": "合约单位",
  17819. "type": "number"
  17820. },
  17821. "buyorsell": {
  17822. "description": "买卖 - 0:买 1:卖",
  17823. "type": "integer"
  17824. },
  17825. "currencysign": {
  17826. "description": "货币符号",
  17827. "type": "string"
  17828. },
  17829. "decimalplace": {
  17830. "description": "报价小数位",
  17831. "type": "integer"
  17832. },
  17833. "goodscode": {
  17834. "description": "商品代码(内部)",
  17835. "type": "string"
  17836. },
  17837. "goodsid": {
  17838. "description": "商品ID",
  17839. "type": "integer"
  17840. },
  17841. "goodsname": {
  17842. "description": "商品名称",
  17843. "type": "string"
  17844. },
  17845. "marketid": {
  17846. "description": "市场ID",
  17847. "type": "integer"
  17848. },
  17849. "orderid": {
  17850. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17851. "type": "string"
  17852. },
  17853. "ordertype": {
  17854. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17855. "type": "integer"
  17856. },
  17857. "picurls": {
  17858. "description": "介绍图片[多张用逗号分隔]",
  17859. "type": "string"
  17860. },
  17861. "price": {
  17862. "description": "价格",
  17863. "type": "number"
  17864. },
  17865. "qty": {
  17866. "description": "数量",
  17867. "type": "integer"
  17868. },
  17869. "time": {
  17870. "description": "时间",
  17871. "type": "string"
  17872. },
  17873. "trademode": {
  17874. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17875. "type": "integer"
  17876. },
  17877. "vendorname": {
  17878. "description": "供应商名称",
  17879. "type": "string"
  17880. }
  17881. }
  17882. },
  17883. "models.HsbyTopGoods": {
  17884. "type": "object",
  17885. "required": [
  17886. "goodscode",
  17887. "goodsid",
  17888. "goodsname",
  17889. "marketid",
  17890. "trademode"
  17891. ],
  17892. "properties": {
  17893. "agreeunit": {
  17894. "description": "合约单位",
  17895. "type": "number"
  17896. },
  17897. "currency": {
  17898. "description": "货币",
  17899. "type": "string"
  17900. },
  17901. "currencysign": {
  17902. "description": "货币符号",
  17903. "type": "string"
  17904. },
  17905. "decimalplace": {
  17906. "description": "报价小数位",
  17907. "type": "integer"
  17908. },
  17909. "desccityid": {
  17910. "description": "目的地(市)",
  17911. "type": "integer"
  17912. },
  17913. "descprovinceid": {
  17914. "description": "目的地(省)",
  17915. "type": "integer"
  17916. },
  17917. "goodscode": {
  17918. "description": "商品代码(内部)",
  17919. "type": "string"
  17920. },
  17921. "goodsid": {
  17922. "description": "商品ID(自增ID SEQ_GOODS)",
  17923. "type": "integer"
  17924. },
  17925. "goodsname": {
  17926. "description": "商品名称",
  17927. "type": "string"
  17928. },
  17929. "hotindex": {
  17930. "description": "景点热度",
  17931. "type": "integer"
  17932. },
  17933. "last": {
  17934. "description": "现价",
  17935. "type": "number"
  17936. },
  17937. "marketid": {
  17938. "description": "所属市场ID",
  17939. "type": "integer"
  17940. },
  17941. "picurls": {
  17942. "description": "介绍图片[多张用逗号分隔]",
  17943. "type": "string"
  17944. },
  17945. "quoteminunit": {
  17946. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17947. "type": "integer"
  17948. },
  17949. "trademode": {
  17950. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17951. "type": "integer"
  17952. },
  17953. "videourls": {
  17954. "description": "介绍视频[多张用逗号分隔]",
  17955. "type": "string"
  17956. }
  17957. }
  17958. },
  17959. "models.HybsMyBuyOrderDetail": {
  17960. "type": "object",
  17961. "required": [
  17962. "accountid",
  17963. "buyorsell",
  17964. "goodscode",
  17965. "goodsid",
  17966. "goodsname",
  17967. "marketid",
  17968. "orderid",
  17969. "orderqty",
  17970. "ordertime",
  17971. "trademode"
  17972. ],
  17973. "properties": {
  17974. "accountid": {
  17975. "description": "账户ID[报价币种]",
  17976. "type": "integer"
  17977. },
  17978. "agreeunit": {
  17979. "description": "合约单位",
  17980. "type": "number"
  17981. },
  17982. "buyorsell": {
  17983. "description": "买卖 - 0:买 1:卖",
  17984. "type": "integer"
  17985. },
  17986. "cancelqty": {
  17987. "description": "撤单数量",
  17988. "type": "integer"
  17989. },
  17990. "currencysign": {
  17991. "description": "货币符号",
  17992. "type": "string"
  17993. },
  17994. "decimalplace": {
  17995. "description": "报价小数位",
  17996. "type": "integer"
  17997. },
  17998. "goodscode": {
  17999. "description": "商品代码(内部)",
  18000. "type": "string"
  18001. },
  18002. "goodsid": {
  18003. "description": "商品ID",
  18004. "type": "integer"
  18005. },
  18006. "goodsname": {
  18007. "description": "商品名称",
  18008. "type": "string"
  18009. },
  18010. "listingselecttype": {
  18011. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18012. "type": "integer"
  18013. },
  18014. "marketid": {
  18015. "description": "市场ID",
  18016. "type": "integer"
  18017. },
  18018. "mybuystatus": {
  18019. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18020. "type": "integer"
  18021. },
  18022. "orderamount": {
  18023. "description": "委托金额",
  18024. "type": "number"
  18025. },
  18026. "orderid": {
  18027. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18028. "type": "string"
  18029. },
  18030. "orderprice": {
  18031. "description": "委托价格",
  18032. "type": "number"
  18033. },
  18034. "orderqty": {
  18035. "description": "委托数量",
  18036. "type": "integer"
  18037. },
  18038. "orderstatus": {
  18039. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18040. "type": "integer"
  18041. },
  18042. "ordertime": {
  18043. "description": "委托时间",
  18044. "type": "string"
  18045. },
  18046. "picurls1": {
  18047. "description": "预售商品介绍图片[多张用逗号分隔]",
  18048. "type": "string"
  18049. },
  18050. "picurls2": {
  18051. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18052. "type": "string"
  18053. },
  18054. "trademode": {
  18055. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18056. "type": "integer"
  18057. },
  18058. "tradeqty": {
  18059. "description": "成交数量",
  18060. "type": "integer"
  18061. },
  18062. "vendorname1": {
  18063. "description": "预售商品供应商名称",
  18064. "type": "string"
  18065. },
  18066. "vendorname2": {
  18067. "description": "挂牌商品供应商名称",
  18068. "type": "string"
  18069. }
  18070. }
  18071. },
  18072. "models.Loginaccount": {
  18073. "type": "object",
  18074. "required": [
  18075. "loginid"
  18076. ],
  18077. "properties": {
  18078. "canoutin": {
  18079. "description": "是否可出入金 - 0:不可 1:可",
  18080. "type": "integer"
  18081. },
  18082. "clientroleid": {
  18083. "description": "终端角色ID",
  18084. "type": "integer"
  18085. },
  18086. "haslogined": {
  18087. "description": "是否已登录 - 0:未登录 1:已登录",
  18088. "type": "integer"
  18089. },
  18090. "hasupdatedpwd": {
  18091. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18092. "type": "integer"
  18093. },
  18094. "lastloginip": {
  18095. "description": "最新登录地址",
  18096. "type": "string"
  18097. },
  18098. "lastloginmode": {
  18099. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18100. "type": "integer"
  18101. },
  18102. "lastloginremark": {
  18103. "description": "最新登录描述",
  18104. "type": "string"
  18105. },
  18106. "lastlogintime": {
  18107. "description": "最新登录时间",
  18108. "type": "string"
  18109. },
  18110. "logincode": {
  18111. "description": "登录代码",
  18112. "type": "string"
  18113. },
  18114. "loginfailnum": {
  18115. "description": "连续登录失败次数(登录成功时清零)",
  18116. "type": "integer"
  18117. },
  18118. "loginid": {
  18119. "description": "登陆账号",
  18120. "type": "integer"
  18121. },
  18122. "loginport": {
  18123. "description": "最新登录端口",
  18124. "type": "integer"
  18125. },
  18126. "loginstatus": {
  18127. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18128. "type": "integer"
  18129. },
  18130. "loginusertype": {
  18131. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18132. "type": "integer"
  18133. },
  18134. "modifierid": {
  18135. "description": "修改人",
  18136. "type": "integer"
  18137. },
  18138. "modifytime": {
  18139. "description": "修改时间",
  18140. "type": "string"
  18141. },
  18142. "pwdwrongcount": {
  18143. "description": "密码错误次数",
  18144. "type": "integer"
  18145. },
  18146. "taaccountrighttype": {
  18147. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  18148. "type": "integer"
  18149. },
  18150. "unfreezetime": {
  18151. "description": "账户解冻时间",
  18152. "type": "string"
  18153. },
  18154. "userid": {
  18155. "description": "用户ID",
  18156. "type": "integer"
  18157. }
  18158. }
  18159. },
  18160. "models.MainAccountInfo": {
  18161. "type": "object",
  18162. "properties": {
  18163. "accountid": {
  18164. "description": "账号id",
  18165. "type": "string"
  18166. },
  18167. "appid": {
  18168. "description": "AppID",
  18169. "type": "string"
  18170. },
  18171. "authcode": {
  18172. "description": "授权码",
  18173. "type": "string"
  18174. },
  18175. "brokerid": {
  18176. "description": "经纪商id",
  18177. "type": "string"
  18178. },
  18179. "fcid": {
  18180. "description": "期货公司id",
  18181. "type": "integer"
  18182. },
  18183. "fcname": {
  18184. "description": "期货公司代码",
  18185. "type": "string"
  18186. },
  18187. "hedgeaccountcode": {
  18188. "description": "外部账号代码",
  18189. "type": "string"
  18190. },
  18191. "hedgeaccountpwd": {
  18192. "description": "密码",
  18193. "type": "string"
  18194. },
  18195. "ismain": {
  18196. "description": "是否主账号",
  18197. "type": "integer"
  18198. },
  18199. "relateduserid": {
  18200. "description": "关联用户id",
  18201. "type": "integer"
  18202. }
  18203. }
  18204. },
  18205. "models.Market": {
  18206. "type": "object",
  18207. "required": [
  18208. "marketid",
  18209. "marketstatus",
  18210. "openmethod",
  18211. "reckonpricealgorithm",
  18212. "trademode",
  18213. "tradeproperty"
  18214. ],
  18215. "properties": {
  18216. "auctionwrtype": {
  18217. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  18218. "type": "integer"
  18219. },
  18220. "canacceptquote": {
  18221. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  18222. "type": "integer"
  18223. },
  18224. "cangoodsexercise": {
  18225. "description": "[期权]是否可现货行权- 0:否 1:是",
  18226. "type": "integer"
  18227. },
  18228. "cangoodsexercisetype": {
  18229. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  18230. "type": "integer"
  18231. },
  18232. "canmanualquotestrike": {
  18233. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  18234. "type": "integer"
  18235. },
  18236. "canmutistage": {
  18237. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  18238. "type": "integer"
  18239. },
  18240. "canpreexercise": {
  18241. "description": "[期权]是否可预申报- 0:否 1:是",
  18242. "type": "integer"
  18243. },
  18244. "clearinterval": {
  18245. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  18246. "type": "integer"
  18247. },
  18248. "contracttmp": {
  18249. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  18250. "type": "string"
  18251. },
  18252. "exchareaid": {
  18253. "description": "所属交易所,可以没有",
  18254. "type": "integer"
  18255. },
  18256. "goodstype": {
  18257. "description": "商品类型 - 1:交易商品 2:仓单商品",
  18258. "type": "integer"
  18259. },
  18260. "hasrebate": {
  18261. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  18262. "type": "integer"
  18263. },
  18264. "hastradecredit": {
  18265. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  18266. "type": "integer"
  18267. },
  18268. "haswr": {
  18269. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  18270. "type": "integer"
  18271. },
  18272. "isdeductmargin": {
  18273. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  18274. "type": "integer"
  18275. },
  18276. "isrecordsource": {
  18277. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  18278. "type": "integer"
  18279. },
  18280. "isreleasemargin": {
  18281. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  18282. "type": "integer"
  18283. },
  18284. "marginformula": {
  18285. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18286. "type": "integer"
  18287. },
  18288. "marginformula2": {
  18289. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18290. "type": "integer"
  18291. },
  18292. "marketid": {
  18293. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18294. "type": "integer"
  18295. },
  18296. "marketname": {
  18297. "description": "市场名称",
  18298. "type": "string"
  18299. },
  18300. "marketserviceid": {
  18301. "description": "市场服务ID",
  18302. "type": "integer"
  18303. },
  18304. "marketstatus": {
  18305. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18306. "type": "integer"
  18307. },
  18308. "markettype": {
  18309. "description": "市场类型- 1:非交易服务 2:交易服务",
  18310. "type": "integer"
  18311. },
  18312. "matchermode": {
  18313. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  18314. "type": "integer"
  18315. },
  18316. "openmethod": {
  18317. "description": "开盘模式 - 0 自动 1手动",
  18318. "type": "integer"
  18319. },
  18320. "otcuserid": {
  18321. "description": "场外期权做市商[场外期权]",
  18322. "type": "integer"
  18323. },
  18324. "outersynctime": {
  18325. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  18326. "type": "string"
  18327. },
  18328. "pendingflag": {
  18329. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  18330. "type": "integer"
  18331. },
  18332. "pendingtime": {
  18333. "description": "待开市时间[通道交易-对冲](HH:mm)",
  18334. "type": "string"
  18335. },
  18336. "performancetempid": {
  18337. "description": "履约计划模板ID - 作废",
  18338. "type": "integer"
  18339. },
  18340. "premiumquotemode": {
  18341. "description": "权利金报价方式 - 1:自动 2:手动",
  18342. "type": "integer"
  18343. },
  18344. "rebateratio": {
  18345. "description": "返利比率[竞价式]",
  18346. "type": "number"
  18347. },
  18348. "reckonorder": {
  18349. "description": "结算顺序",
  18350. "type": "integer"
  18351. },
  18352. "reckonpricealgorithm": {
  18353. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  18354. "type": "integer"
  18355. },
  18356. "reckonpriceparam": {
  18357. "description": "结算价参数",
  18358. "type": "integer"
  18359. },
  18360. "reckontime": {
  18361. "description": "结算时间[通道交易-对冲](HH:mm)",
  18362. "type": "string"
  18363. },
  18364. "roleprioritytype": {
  18365. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  18366. "type": "integer"
  18367. },
  18368. "selllistingauditflag": {
  18369. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  18370. "type": "integer"
  18371. },
  18372. "trademarkettype": {
  18373. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  18374. "type": "integer"
  18375. },
  18376. "trademode": {
  18377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18378. "type": "integer"
  18379. },
  18380. "tradeproperty": {
  18381. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  18382. "type": "integer"
  18383. },
  18384. "tradetype": {
  18385. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  18386. "type": "integer"
  18387. }
  18388. }
  18389. },
  18390. "models.Marketrun": {
  18391. "type": "object",
  18392. "required": [
  18393. "marketid",
  18394. "nexttradedate",
  18395. "reckonflag",
  18396. "runstatus",
  18397. "tradedate",
  18398. "tradedate2"
  18399. ],
  18400. "properties": {
  18401. "afternexttradedate": {
  18402. "description": "下下交易日",
  18403. "type": "string"
  18404. },
  18405. "clearquoteflag": {
  18406. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18407. "type": "integer"
  18408. },
  18409. "lastreckondate": {
  18410. "description": "最新交易日(结算成功)",
  18411. "type": "string"
  18412. },
  18413. "machinedate": {
  18414. "description": "机器时间",
  18415. "type": "string"
  18416. },
  18417. "manualflag": {
  18418. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18419. "type": "integer"
  18420. },
  18421. "marketid": {
  18422. "description": "市场ID",
  18423. "type": "integer"
  18424. },
  18425. "nexttradedate": {
  18426. "description": "下一交易日",
  18427. "type": "string"
  18428. },
  18429. "pretradedate": {
  18430. "description": "上一交易日",
  18431. "type": "string"
  18432. },
  18433. "reckonflag": {
  18434. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18435. "type": "integer"
  18436. },
  18437. "runstatus": {
  18438. "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.今日免清算",
  18439. "type": "integer"
  18440. },
  18441. "sectionid": {
  18442. "description": "时间段号[多时段时用]",
  18443. "type": "integer"
  18444. },
  18445. "tradedate": {
  18446. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18447. "type": "string"
  18448. },
  18449. "tradedate2": {
  18450. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18451. "type": "string"
  18452. },
  18453. "updatetime": {
  18454. "description": "更新时间",
  18455. "type": "string"
  18456. }
  18457. }
  18458. },
  18459. "models.Messageboard": {
  18460. "type": "object",
  18461. "required": [
  18462. "messageboardid"
  18463. ],
  18464. "properties": {
  18465. "contactnum": {
  18466. "description": "联系电话",
  18467. "type": "string"
  18468. },
  18469. "createtime": {
  18470. "description": "创建时间",
  18471. "type": "string"
  18472. },
  18473. "message": {
  18474. "description": "留言信息",
  18475. "type": "string"
  18476. },
  18477. "messageboardid": {
  18478. "description": "留言簿ID(SEQ_MessageBoard)",
  18479. "type": "integer"
  18480. },
  18481. "userid": {
  18482. "description": "用户ID",
  18483. "type": "integer"
  18484. }
  18485. }
  18486. },
  18487. "models.MyCoupon": {
  18488. "type": "object",
  18489. "required": [
  18490. "accountid",
  18491. "coupontypeid"
  18492. ],
  18493. "properties": {
  18494. "accountid": {
  18495. "description": "资金账户ID",
  18496. "type": "integer"
  18497. },
  18498. "areauserid": {
  18499. "description": "所属机构",
  18500. "type": "integer"
  18501. },
  18502. "conditionvalue": {
  18503. "description": "条件阈值(可为0)",
  18504. "type": "number"
  18505. },
  18506. "couponcategroy": {
  18507. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18508. "type": "integer"
  18509. },
  18510. "couponname": {
  18511. "description": "优惠券名称",
  18512. "type": "string"
  18513. },
  18514. "coupontypeid": {
  18515. "description": "优惠券类型ID",
  18516. "type": "string"
  18517. },
  18518. "couponvalue": {
  18519. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18520. "type": "number"
  18521. },
  18522. "curfreezeqty": {
  18523. "description": "期末冻结数量",
  18524. "type": "integer"
  18525. },
  18526. "curqty": {
  18527. "description": "期末数量",
  18528. "type": "integer"
  18529. },
  18530. "isgeneral": {
  18531. "description": "是否通用券 - 0:否 1:是",
  18532. "type": "integer"
  18533. },
  18534. "isunusable": {
  18535. "description": "是否不可用",
  18536. "type": "boolean"
  18537. },
  18538. "limitedflag": {
  18539. "description": "是否指定商品 - 0:不限 1:限制",
  18540. "type": "integer"
  18541. },
  18542. "limitedgoodsids": {
  18543. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18544. "type": "string"
  18545. },
  18546. "orifreezeqty": {
  18547. "description": "期初冻结数量",
  18548. "type": "integer"
  18549. },
  18550. "oriqty": {
  18551. "description": "期初数量",
  18552. "type": "integer"
  18553. },
  18554. "reasontype": {
  18555. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18556. "type": "integer"
  18557. },
  18558. "todaydecrease": {
  18559. "description": "今日减少",
  18560. "type": "integer"
  18561. },
  18562. "todayincrease": {
  18563. "description": "今日增加",
  18564. "type": "integer"
  18565. },
  18566. "userid": {
  18567. "description": "用户ID",
  18568. "type": "integer"
  18569. },
  18570. "userscope": {
  18571. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18572. "type": "string"
  18573. }
  18574. }
  18575. },
  18576. "models.MyCouponHold": {
  18577. "type": "object",
  18578. "required": [
  18579. "couponholdid"
  18580. ],
  18581. "properties": {
  18582. "accountid": {
  18583. "description": "资金账户ID",
  18584. "type": "integer"
  18585. },
  18586. "conditionvalue": {
  18587. "description": "条件阈值(可为0)",
  18588. "type": "number"
  18589. },
  18590. "couponcategroy": {
  18591. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18592. "type": "integer"
  18593. },
  18594. "couponholdid": {
  18595. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18596. "type": "string"
  18597. },
  18598. "couponname": {
  18599. "description": "优惠券名称",
  18600. "type": "string"
  18601. },
  18602. "coupontypeid": {
  18603. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18604. "type": "string"
  18605. },
  18606. "couponvalue": {
  18607. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18608. "type": "number"
  18609. },
  18610. "createtime": {
  18611. "description": "创建时间",
  18612. "type": "string"
  18613. },
  18614. "enddate": {
  18615. "description": "结束日期",
  18616. "type": "string"
  18617. },
  18618. "giveapplyid": {
  18619. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18620. "type": "integer"
  18621. },
  18622. "holdstatus": {
  18623. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18624. "type": "integer"
  18625. },
  18626. "isgeneral": {
  18627. "description": "是否通用券 - 0:否 1:是",
  18628. "type": "integer"
  18629. },
  18630. "limitedflag": {
  18631. "description": "是否指定商品 - 0:不限 1:限制",
  18632. "type": "integer"
  18633. },
  18634. "limitedgoodsids": {
  18635. "description": "指定商品IDs[逗号分隔]",
  18636. "type": "string"
  18637. },
  18638. "qty": {
  18639. "description": "数量(按1平铺)",
  18640. "type": "integer"
  18641. },
  18642. "startdate": {
  18643. "description": "开始日期",
  18644. "type": "string"
  18645. },
  18646. "userid": {
  18647. "description": "用户ID",
  18648. "type": "integer"
  18649. },
  18650. "userscope": {
  18651. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18652. "type": "string"
  18653. }
  18654. }
  18655. },
  18656. "models.MyUsedCoupon": {
  18657. "type": "object",
  18658. "required": [
  18659. "coupontypeid",
  18660. "orderid"
  18661. ],
  18662. "properties": {
  18663. "accountid": {
  18664. "description": "资金账户ID(买方)",
  18665. "type": "integer"
  18666. },
  18667. "conditionvalue": {
  18668. "description": "条件阈值(可为0)",
  18669. "type": "number"
  18670. },
  18671. "couponcategroy": {
  18672. "description": "种类 - 1:现金券 2:折扣券",
  18673. "type": "integer"
  18674. },
  18675. "couponname": {
  18676. "description": "优惠券名称",
  18677. "type": "string"
  18678. },
  18679. "coupontypeid": {
  18680. "description": "优惠券类型ID(买方)",
  18681. "type": "string"
  18682. },
  18683. "couponvalue": {
  18684. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18685. "type": "number"
  18686. },
  18687. "createtime": {
  18688. "description": "创建时间",
  18689. "type": "string"
  18690. },
  18691. "goodsid": {
  18692. "description": "商品ID",
  18693. "type": "integer"
  18694. },
  18695. "handlestatus": {
  18696. "description": "处理状态",
  18697. "type": "integer"
  18698. },
  18699. "marketid": {
  18700. "description": "市场ID",
  18701. "type": "integer"
  18702. },
  18703. "offamount": {
  18704. "description": "优惠金额",
  18705. "type": "number"
  18706. },
  18707. "orderid": {
  18708. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18709. "type": "string"
  18710. },
  18711. "sellaccountid": {
  18712. "description": "资金账户ID(卖方)",
  18713. "type": "integer"
  18714. },
  18715. "tradeamount": {
  18716. "description": "成交金额",
  18717. "type": "number"
  18718. },
  18719. "tradeid": {
  18720. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18721. "type": "string"
  18722. },
  18723. "usedqty": {
  18724. "description": "使用数量",
  18725. "type": "integer"
  18726. }
  18727. }
  18728. },
  18729. "models.OperationPrimaryMenu": {
  18730. "type": "object",
  18731. "properties": {
  18732. "Children": {
  18733. "description": "二级功能菜单",
  18734. "type": "array",
  18735. "items": {
  18736. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18737. }
  18738. },
  18739. "Key": {
  18740. "description": "菜单KEY",
  18741. "type": "string"
  18742. },
  18743. "Label": {
  18744. "description": "菜单标题",
  18745. "type": "string"
  18746. }
  18747. }
  18748. },
  18749. "models.OperationSecondaryMenu": {
  18750. "type": "object",
  18751. "properties": {
  18752. "Key": {
  18753. "description": "菜单KEY",
  18754. "type": "string"
  18755. },
  18756. "Label": {
  18757. "description": "菜单标题",
  18758. "type": "string"
  18759. },
  18760. "TabList": {
  18761. "description": "三级功能菜单",
  18762. "type": "array",
  18763. "items": {
  18764. "$ref": "#/definitions/models.OperationTabMenu"
  18765. }
  18766. }
  18767. }
  18768. },
  18769. "models.OperationTabMenu": {
  18770. "type": "object",
  18771. "properties": {
  18772. "Key": {
  18773. "description": "菜单KEY",
  18774. "type": "string"
  18775. },
  18776. "Label": {
  18777. "description": "菜单标题",
  18778. "type": "string"
  18779. }
  18780. }
  18781. },
  18782. "models.PendingAuditBizModel": {
  18783. "type": "object",
  18784. "properties": {
  18785. "accountid": {
  18786. "description": "现货账户",
  18787. "type": "string"
  18788. },
  18789. "areaname": {
  18790. "description": "所属部门",
  18791. "type": "string"
  18792. },
  18793. "bizid": {
  18794. "description": "业务ID",
  18795. "type": "string"
  18796. },
  18797. "bizname": {
  18798. "description": "业务名称",
  18799. "type": "string"
  18800. },
  18801. "status": {
  18802. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18803. "type": "integer"
  18804. },
  18805. "type": {
  18806. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18807. "type": "integer"
  18808. }
  18809. }
  18810. },
  18811. "models.QueryErrorInfosRsp": {
  18812. "type": "object",
  18813. "required": [
  18814. "errorid"
  18815. ],
  18816. "properties": {
  18817. "description": {
  18818. "description": "异常描述",
  18819. "type": "string"
  18820. },
  18821. "errorcode": {
  18822. "description": "异常代码",
  18823. "type": "string"
  18824. },
  18825. "errorid": {
  18826. "description": "异常ID",
  18827. "type": "integer"
  18828. },
  18829. "modulecode": {
  18830. "description": "所属模块",
  18831. "type": "string"
  18832. },
  18833. "operatecode": {
  18834. "description": "所属操作",
  18835. "type": "string"
  18836. },
  18837. "rownumber": {
  18838. "description": "行号",
  18839. "type": "string"
  18840. }
  18841. }
  18842. },
  18843. "models.QueryHedgeOrderDetailRsp": {
  18844. "type": "object",
  18845. "properties": {
  18846. "accountid": {
  18847. "description": "账户ID",
  18848. "type": "integer"
  18849. },
  18850. "buyorsell": {
  18851. "description": "买卖 - 0:买 1:卖",
  18852. "type": "integer"
  18853. },
  18854. "cancellogincode": {
  18855. "description": "撤单人",
  18856. "type": "string"
  18857. },
  18858. "channelbuildtype": {
  18859. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18860. "type": "integer"
  18861. },
  18862. "channelinnerorderstatus": {
  18863. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18864. "type": "integer"
  18865. },
  18866. "channeloperatetype": {
  18867. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18868. "type": "integer"
  18869. },
  18870. "closetype": {
  18871. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18872. "type": "integer"
  18873. },
  18874. "curexchangerate": {
  18875. "description": "当前汇率",
  18876. "type": "number"
  18877. },
  18878. "exchangefullname": {
  18879. "description": "外部交易所全称",
  18880. "type": "string"
  18881. },
  18882. "goodscode": {
  18883. "description": "商品代码(内部)",
  18884. "type": "string"
  18885. },
  18886. "goodsid": {
  18887. "description": "商品ID",
  18888. "type": "integer"
  18889. },
  18890. "goodsname": {
  18891. "description": "商品名称",
  18892. "type": "string"
  18893. },
  18894. "marketid": {
  18895. "description": "市场ID",
  18896. "type": "integer"
  18897. },
  18898. "openfreezemargin": {
  18899. "description": "冻结保证金(冻结交易金额)",
  18900. "type": "number"
  18901. },
  18902. "orderid": {
  18903. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18904. "type": "string"
  18905. },
  18906. "orderlogincode": {
  18907. "description": "委托人",
  18908. "type": "string"
  18909. },
  18910. "orderprice": {
  18911. "description": "委托价格(账户)",
  18912. "type": "number"
  18913. },
  18914. "orderqty": {
  18915. "description": "委托数量",
  18916. "type": "integer"
  18917. },
  18918. "ordertime": {
  18919. "description": "委托时间",
  18920. "type": "string"
  18921. },
  18922. "pricemode": {
  18923. "description": "取价方式 - 1:市价 2: 限价",
  18924. "type": "integer"
  18925. },
  18926. "tradedate": {
  18927. "description": "交易日(yyyyMMdd)",
  18928. "type": "string"
  18929. },
  18930. "tradeqty": {
  18931. "description": "成交数量",
  18932. "type": "integer"
  18933. }
  18934. }
  18935. },
  18936. "models.QueryHedgeTradeDetailRsp": {
  18937. "type": "object",
  18938. "properties": {
  18939. "accountid": {
  18940. "description": "账号ID",
  18941. "type": "integer"
  18942. },
  18943. "buyorsell": {
  18944. "description": "方向 - 0:买 1:卖",
  18945. "type": "integer"
  18946. },
  18947. "channelbuildtype": {
  18948. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18949. "type": "integer"
  18950. },
  18951. "closecharge": {
  18952. "description": "平仓手续费(账户)",
  18953. "type": "number"
  18954. },
  18955. "closecharge2": {
  18956. "description": "平仓手续费(商品)",
  18957. "type": "number"
  18958. },
  18959. "closepl": {
  18960. "description": "平仓盈亏(账户)",
  18961. "type": "number"
  18962. },
  18963. "closepl2": {
  18964. "description": "平仓盈亏(商品)",
  18965. "type": "number"
  18966. },
  18967. "closepl3": {
  18968. "description": "平仓盈亏(账户)(逐笔)",
  18969. "type": "number"
  18970. },
  18971. "closepl4": {
  18972. "description": "平仓盈亏(商品)(逐笔)",
  18973. "type": "number"
  18974. },
  18975. "closetype": {
  18976. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18977. "type": "integer"
  18978. },
  18979. "curexchangerate": {
  18980. "description": "当前汇率",
  18981. "type": "number"
  18982. },
  18983. "exchangefullname": {
  18984. "description": "外部交易所全称",
  18985. "type": "string"
  18986. },
  18987. "goodscode": {
  18988. "description": "商品代码(内部)",
  18989. "type": "string"
  18990. },
  18991. "goodsid": {
  18992. "description": "商品ID",
  18993. "type": "integer"
  18994. },
  18995. "goodsname": {
  18996. "description": "商品名称",
  18997. "type": "string"
  18998. },
  18999. "marketid": {
  19000. "description": "市场ID",
  19001. "type": "integer"
  19002. },
  19003. "opencharge": {
  19004. "description": "建仓手续费(账户)",
  19005. "type": "number"
  19006. },
  19007. "opencharge2": {
  19008. "description": "建仓手续费(商品)",
  19009. "type": "number"
  19010. },
  19011. "orderid": {
  19012. "description": "委托单号",
  19013. "type": "string"
  19014. },
  19015. "orderlogincode": {
  19016. "description": "委托人",
  19017. "type": "string"
  19018. },
  19019. "tradeamount": {
  19020. "description": "成交金额(账户)",
  19021. "type": "number"
  19022. },
  19023. "tradedate": {
  19024. "description": "交易日(yyyyMMdd)",
  19025. "type": "string"
  19026. },
  19027. "tradeid": {
  19028. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19029. "type": "string"
  19030. },
  19031. "tradeprice": {
  19032. "description": "成交价格",
  19033. "type": "number"
  19034. },
  19035. "tradeqty": {
  19036. "description": "成交数量",
  19037. "type": "integer"
  19038. },
  19039. "tradetime": {
  19040. "description": "成交时间",
  19041. "type": "string"
  19042. },
  19043. "tradetype": {
  19044. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19045. "type": "integer"
  19046. }
  19047. }
  19048. },
  19049. "models.QuotePrimaryMenu": {
  19050. "type": "object",
  19051. "properties": {
  19052. "Index": {
  19053. "description": "序号",
  19054. "type": "integer"
  19055. },
  19056. "Key": {
  19057. "description": "键名",
  19058. "type": "string"
  19059. },
  19060. "Name": {
  19061. "description": "菜单名称",
  19062. "type": "string"
  19063. },
  19064. "SubMenus": {
  19065. "description": "子菜单",
  19066. "type": "array",
  19067. "items": {
  19068. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19069. }
  19070. },
  19071. "SubTitleType": {
  19072. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19073. "type": "integer"
  19074. },
  19075. "TradeModes": {
  19076. "description": "包含市场交易类型",
  19077. "type": "string"
  19078. }
  19079. }
  19080. },
  19081. "models.QuoteSecondaryMenu": {
  19082. "type": "object",
  19083. "properties": {
  19084. "ExExchangeCode": {
  19085. "description": "外部交易所代码",
  19086. "type": "string"
  19087. },
  19088. "ExExchangeID": {
  19089. "description": "外部交易所ID",
  19090. "type": "integer"
  19091. },
  19092. "GoodsGroupIDs": {
  19093. "description": "商品组ID列表",
  19094. "type": "array",
  19095. "items": {
  19096. "type": "integer"
  19097. }
  19098. },
  19099. "Index": {
  19100. "description": "序号",
  19101. "type": "integer"
  19102. },
  19103. "MarketID": {
  19104. "description": "市场ID",
  19105. "type": "integer"
  19106. },
  19107. "MenuTitle": {
  19108. "description": "菜单标题(市场名称或外部交易所名称)",
  19109. "type": "string"
  19110. },
  19111. "TradeMode": {
  19112. "description": "交易模式",
  19113. "type": "integer"
  19114. }
  19115. }
  19116. },
  19117. "models.RelatedGoodsEx": {
  19118. "type": "object",
  19119. "properties": {
  19120. "goodscode": {
  19121. "description": "商品代码",
  19122. "type": "string"
  19123. },
  19124. "goodsid": {
  19125. "description": "商品id",
  19126. "type": "integer"
  19127. },
  19128. "goodsname": {
  19129. "description": "商品名称",
  19130. "type": "string"
  19131. }
  19132. }
  19133. },
  19134. "models.SearchGoods": {
  19135. "type": "object",
  19136. "required": [
  19137. "goodscode",
  19138. "goodsid",
  19139. "goodsname",
  19140. "marketid",
  19141. "trademode"
  19142. ],
  19143. "properties": {
  19144. "goodscode": {
  19145. "description": "商品代码(内部)",
  19146. "type": "string"
  19147. },
  19148. "goodsid": {
  19149. "description": "商品ID(自增ID SEQ_GOODS)",
  19150. "type": "integer"
  19151. },
  19152. "goodsname": {
  19153. "description": "商品名称",
  19154. "type": "string"
  19155. },
  19156. "marketid": {
  19157. "description": "所属市场ID",
  19158. "type": "integer"
  19159. },
  19160. "marketname": {
  19161. "description": "市场名称",
  19162. "type": "string"
  19163. },
  19164. "trademode": {
  19165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19166. "type": "integer"
  19167. }
  19168. }
  19169. },
  19170. "models.Systemparam": {
  19171. "type": "object",
  19172. "required": [
  19173. "paramcode"
  19174. ],
  19175. "properties": {
  19176. "loginid": {
  19177. "description": "更新用户账号,登录账号",
  19178. "type": "string"
  19179. },
  19180. "modifyflag": {
  19181. "description": "修改标志0 不允许修改 1 允许修改",
  19182. "type": "integer"
  19183. },
  19184. "paramcode": {
  19185. "description": "参数代码",
  19186. "type": "string"
  19187. },
  19188. "paramname": {
  19189. "description": "参数名",
  19190. "type": "string"
  19191. },
  19192. "paramtype": {
  19193. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  19194. "type": "integer"
  19195. },
  19196. "paramvalue": {
  19197. "description": "参数值",
  19198. "type": "string"
  19199. },
  19200. "paramvalue2": {
  19201. "description": "参数值(CLOB)",
  19202. "type": "string"
  19203. },
  19204. "regexpress": {
  19205. "description": "正则表达式",
  19206. "type": "string"
  19207. },
  19208. "remark": {
  19209. "description": "备注",
  19210. "type": "string"
  19211. },
  19212. "serverip": {
  19213. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  19214. "type": "string"
  19215. },
  19216. "showflag": {
  19217. "description": "是否显示0 不显示 1 显示",
  19218. "type": "integer"
  19219. },
  19220. "updatetime": {
  19221. "description": "更新时间",
  19222. "type": "string"
  19223. },
  19224. "userid": {
  19225. "description": "更新用户ID",
  19226. "type": "integer"
  19227. }
  19228. }
  19229. },
  19230. "models.Szdz3convertconfig": {
  19231. "type": "object",
  19232. "required": [
  19233. "converttype",
  19234. "innergoodsid",
  19235. "outergoodscode"
  19236. ],
  19237. "properties": {
  19238. "canin": {
  19239. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  19240. "type": "integer"
  19241. },
  19242. "canout": {
  19243. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  19244. "type": "integer"
  19245. },
  19246. "converttype": {
  19247. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  19248. "type": "integer"
  19249. },
  19250. "createtime": {
  19251. "description": "创建时间",
  19252. "type": "string"
  19253. },
  19254. "creatorid": {
  19255. "description": "创建人",
  19256. "type": "integer"
  19257. },
  19258. "daymaxvalue": {
  19259. "description": "当日最大转入限制",
  19260. "type": "number"
  19261. },
  19262. "freezedays": {
  19263. "description": "冻结天数 [5:花生米转交易]",
  19264. "type": "integer"
  19265. },
  19266. "innergoodsid": {
  19267. "description": "内部商品ID[交易]",
  19268. "type": "integer"
  19269. },
  19270. "inratio": {
  19271. "description": "目标值",
  19272. "type": "integer"
  19273. },
  19274. "modifierid": {
  19275. "description": "修改人",
  19276. "type": "integer"
  19277. },
  19278. "modifytime": {
  19279. "description": "修改时间",
  19280. "type": "string"
  19281. },
  19282. "outergoodscode": {
  19283. "description": "外部商品代码[JD\\PD]",
  19284. "type": "string"
  19285. },
  19286. "outratio": {
  19287. "description": "源值",
  19288. "type": "integer"
  19289. },
  19290. "pddecimalplace": {
  19291. "description": "PD小数位",
  19292. "type": "integer"
  19293. },
  19294. "timemaxvalue": {
  19295. "description": "单次最大转入限制",
  19296. "type": "number"
  19297. },
  19298. "timeminvalue": {
  19299. "description": "单次最小转入限制",
  19300. "type": "number"
  19301. }
  19302. }
  19303. },
  19304. "models.Szdz3searchwhitelist": {
  19305. "type": "object",
  19306. "required": [
  19307. "userid"
  19308. ],
  19309. "properties": {
  19310. "createtime": {
  19311. "description": "创建时间",
  19312. "type": "string"
  19313. },
  19314. "creatorid": {
  19315. "description": "创建人",
  19316. "type": "integer"
  19317. },
  19318. "modifierid": {
  19319. "description": "修改人",
  19320. "type": "integer"
  19321. },
  19322. "modifytime": {
  19323. "description": "修改时间",
  19324. "type": "string"
  19325. },
  19326. "userid": {
  19327. "description": "用户ID",
  19328. "type": "integer"
  19329. }
  19330. }
  19331. },
  19332. "models.Taaccount": {
  19333. "type": "object",
  19334. "required": [
  19335. "accountid",
  19336. "userid"
  19337. ],
  19338. "properties": {
  19339. "accountflag": {
  19340. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  19341. "type": "integer"
  19342. },
  19343. "accountid": {
  19344. "description": "资金账户ID",
  19345. "type": "integer"
  19346. },
  19347. "accountname": {
  19348. "description": "账户名称",
  19349. "type": "string"
  19350. },
  19351. "balance": {
  19352. "description": "期初余额",
  19353. "type": "number"
  19354. },
  19355. "capitalbalance": {
  19356. "description": "本金余额[外部子账户实际出入金余额]",
  19357. "type": "number"
  19358. },
  19359. "changeflag": {
  19360. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  19361. "type": "integer"
  19362. },
  19363. "changetime": {
  19364. "description": "账户状态变更时间",
  19365. "type": "string"
  19366. },
  19367. "closepl": {
  19368. "description": "今日平仓盈亏",
  19369. "type": "number"
  19370. },
  19371. "creditdecrease": {
  19372. "description": "今日授信减少",
  19373. "type": "number"
  19374. },
  19375. "creditincrease": {
  19376. "description": "今日授信增加",
  19377. "type": "number"
  19378. },
  19379. "currencyid": {
  19380. "description": "货币ID",
  19381. "type": "integer"
  19382. },
  19383. "currentbalance": {
  19384. "description": "期末余额",
  19385. "type": "number"
  19386. },
  19387. "freezecharge": {
  19388. "description": "手续费冻结",
  19389. "type": "number"
  19390. },
  19391. "freezemargin": {
  19392. "description": "冻结保证金",
  19393. "type": "number"
  19394. },
  19395. "fromaccountid": {
  19396. "description": "所属上级账户",
  19397. "type": "integer"
  19398. },
  19399. "inamount": {
  19400. "description": "今日入金金额(包括三方入金)",
  19401. "type": "number"
  19402. },
  19403. "ismain": {
  19404. "description": "是否母账号 0:不是母账户 1:是母账户",
  19405. "type": "integer"
  19406. },
  19407. "ismarketaccount": {
  19408. "description": "是否机构接单账号 0:不是 1:是",
  19409. "type": "integer"
  19410. },
  19411. "isreckonaccount": {
  19412. "description": "是否机构分润账号 0:不是 1:是",
  19413. "type": "integer"
  19414. },
  19415. "mortgagecredit": {
  19416. "description": "授信金额",
  19417. "type": "number"
  19418. },
  19419. "orifreezecharge": {
  19420. "description": "期初手续费冻结",
  19421. "type": "number"
  19422. },
  19423. "orifreezemargin": {
  19424. "description": "期初冻结保证金",
  19425. "type": "number"
  19426. },
  19427. "orimortgagecredit": {
  19428. "description": "期初授信金额",
  19429. "type": "number"
  19430. },
  19431. "oriothercredit": {
  19432. "description": "期初其它授信金额",
  19433. "type": "number"
  19434. },
  19435. "oriotherfreezemargin": {
  19436. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19437. "type": "number"
  19438. },
  19439. "orioutamountfreeze": {
  19440. "description": "期初出金冻结",
  19441. "type": "number"
  19442. },
  19443. "oriusedmargin": {
  19444. "description": "期初占用保证金",
  19445. "type": "number"
  19446. },
  19447. "othercredit": {
  19448. "description": "其它授信金额",
  19449. "type": "number"
  19450. },
  19451. "othercreditdecrease": {
  19452. "description": "今日其它授信减少",
  19453. "type": "number"
  19454. },
  19455. "othercreditincrease": {
  19456. "description": "今日其它授信增加",
  19457. "type": "number"
  19458. },
  19459. "otherfreezemargin": {
  19460. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19461. "type": "number"
  19462. },
  19463. "otherincome": {
  19464. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19465. "type": "number"
  19466. },
  19467. "otherpay": {
  19468. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19469. "type": "number"
  19470. },
  19471. "outamount": {
  19472. "description": "今日出金金额(包括三方出金)",
  19473. "type": "number"
  19474. },
  19475. "outamountfreeze": {
  19476. "description": "出金冻结",
  19477. "type": "number"
  19478. },
  19479. "outthreshold": {
  19480. "description": "出金阈值",
  19481. "type": "number"
  19482. },
  19483. "parentaccountid": {
  19484. "description": "所属根账号",
  19485. "type": "integer"
  19486. },
  19487. "paycharge": {
  19488. "description": "今日手续费支出",
  19489. "type": "number"
  19490. },
  19491. "relatedaccountstatus": {
  19492. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19493. "type": "integer"
  19494. },
  19495. "relateduserid": {
  19496. "description": "关联用户",
  19497. "type": "integer"
  19498. },
  19499. "serivcegroup": {
  19500. "description": "服务分组",
  19501. "type": "integer"
  19502. },
  19503. "signstatus": {
  19504. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19505. "type": "integer"
  19506. },
  19507. "sublevelpath": {
  19508. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19509. "type": "string"
  19510. },
  19511. "taaccounttype": {
  19512. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19513. "type": "integer"
  19514. },
  19515. "thirdinamount": {
  19516. "description": "今日三方入金",
  19517. "type": "number"
  19518. },
  19519. "thirdoutamount": {
  19520. "description": "今日三方出金",
  19521. "type": "number"
  19522. },
  19523. "tradestatus": {
  19524. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19525. "type": "integer"
  19526. },
  19527. "tradestatuschangetime": {
  19528. "description": "激活时间",
  19529. "type": "string"
  19530. },
  19531. "transferamount": {
  19532. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19533. "type": "number"
  19534. },
  19535. "usedmargin": {
  19536. "description": "占用保证金",
  19537. "type": "number"
  19538. },
  19539. "userid": {
  19540. "description": "用户ID",
  19541. "type": "integer"
  19542. }
  19543. }
  19544. },
  19545. "models.Tablecolumnconfig": {
  19546. "type": "object",
  19547. "required": [
  19548. "autoid"
  19549. ],
  19550. "properties": {
  19551. "aligntype": {
  19552. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19553. "type": "integer"
  19554. },
  19555. "autoid": {
  19556. "description": "AutoID",
  19557. "type": "integer"
  19558. },
  19559. "columnfield": {
  19560. "description": "列字段",
  19561. "type": "string"
  19562. },
  19563. "columntitle": {
  19564. "description": "列Title",
  19565. "type": "string"
  19566. },
  19567. "columnwidth": {
  19568. "description": "列宽",
  19569. "type": "string"
  19570. },
  19571. "formatterstring": {
  19572. "description": "格式化字符",
  19573. "type": "string"
  19574. },
  19575. "formattertype": {
  19576. "description": "格式化类型",
  19577. "type": "string"
  19578. },
  19579. "groupname": {
  19580. "description": "表头分组名称",
  19581. "type": "string"
  19582. },
  19583. "isshow": {
  19584. "description": "是否显示 - 0:不显示 1:显示",
  19585. "type": "integer"
  19586. },
  19587. "needsummary": {
  19588. "description": "是否需要汇总 - 0:不需要 1:需要",
  19589. "type": "integer"
  19590. },
  19591. "orderindex": {
  19592. "description": "顺序",
  19593. "type": "integer"
  19594. },
  19595. "remark": {
  19596. "description": "备注",
  19597. "type": "string"
  19598. },
  19599. "summarytype": {
  19600. "description": "汇总类型 - 1:加总 2:最后一个",
  19601. "type": "integer"
  19602. },
  19603. "tablekey": {
  19604. "description": "列表Key",
  19605. "type": "string"
  19606. }
  19607. }
  19608. },
  19609. "models.Useraccount": {
  19610. "type": "object",
  19611. "required": [
  19612. "userid"
  19613. ],
  19614. "properties": {
  19615. "accountname": {
  19616. "description": "账户名称(机构名称)",
  19617. "type": "string"
  19618. },
  19619. "accountstatus": {
  19620. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19621. "type": "integer"
  19622. },
  19623. "auditremark": {
  19624. "description": "审核备注",
  19625. "type": "string"
  19626. },
  19627. "audittime": {
  19628. "description": "审核时间",
  19629. "type": "string"
  19630. },
  19631. "audituserid": {
  19632. "description": "审核人",
  19633. "type": "integer"
  19634. },
  19635. "broker": {
  19636. "description": "所属经纪人ID",
  19637. "type": "integer"
  19638. },
  19639. "canceltime": {
  19640. "description": "销户时间",
  19641. "type": "string"
  19642. },
  19643. "canceluserid": {
  19644. "description": "销户人",
  19645. "type": "integer"
  19646. },
  19647. "createtime": {
  19648. "description": "创建时间",
  19649. "type": "string"
  19650. },
  19651. "creatorid": {
  19652. "description": "创建人",
  19653. "type": "integer"
  19654. },
  19655. "hasauth": {
  19656. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19657. "type": "integer"
  19658. },
  19659. "isanonymous": {
  19660. "description": "是否匿名下单 - 0:否 1:是",
  19661. "type": "integer"
  19662. },
  19663. "maxinvestornum": {
  19664. "description": "最大用户数(经纪会员下投资者个数)",
  19665. "type": "integer"
  19666. },
  19667. "memberuserid": {
  19668. "description": "所属会员ID",
  19669. "type": "integer"
  19670. },
  19671. "modifierid": {
  19672. "description": "修改人",
  19673. "type": "integer"
  19674. },
  19675. "modifyremark": {
  19676. "description": "变更备注",
  19677. "type": "string"
  19678. },
  19679. "modifystatus": {
  19680. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19681. "type": "integer"
  19682. },
  19683. "modifytime": {
  19684. "description": "修改时间",
  19685. "type": "string"
  19686. },
  19687. "parentuserid": {
  19688. "description": "所属机构ID",
  19689. "type": "integer"
  19690. },
  19691. "reckonaccountid": {
  19692. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19693. "type": "integer"
  19694. },
  19695. "refercount": {
  19696. "description": "推荐总人数",
  19697. "type": "integer"
  19698. },
  19699. "refereeuserid": {
  19700. "description": "推荐人ID",
  19701. "type": "integer"
  19702. },
  19703. "refernum": {
  19704. "description": "推荐码",
  19705. "type": "string"
  19706. },
  19707. "subarealevelpath": {
  19708. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19709. "type": "string"
  19710. },
  19711. "userid": {
  19712. "description": "用户ID",
  19713. "type": "integer"
  19714. },
  19715. "usertype": {
  19716. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19717. "type": "integer"
  19718. }
  19719. }
  19720. },
  19721. "models.Userfavoritegoods": {
  19722. "type": "object",
  19723. "required": [
  19724. "goodsid"
  19725. ],
  19726. "properties": {
  19727. "goodsid": {
  19728. "description": "商品ID",
  19729. "type": "integer"
  19730. }
  19731. }
  19732. },
  19733. "models.Userinfo": {
  19734. "type": "object",
  19735. "required": [
  19736. "userid"
  19737. ],
  19738. "properties": {
  19739. "address": {
  19740. "description": "地址",
  19741. "type": "string"
  19742. },
  19743. "attachment1": {
  19744. "description": "附件1",
  19745. "type": "string"
  19746. },
  19747. "attachment2": {
  19748. "description": "附件2",
  19749. "type": "string"
  19750. },
  19751. "bankaccount": {
  19752. "description": "银行帐号 (加密存储)",
  19753. "type": "string"
  19754. },
  19755. "bankaccountname": {
  19756. "description": "收款人名称",
  19757. "type": "string"
  19758. },
  19759. "bankcardfrontphotourl": {
  19760. "description": "银行卡正面照地址",
  19761. "type": "string"
  19762. },
  19763. "bankid": {
  19764. "description": "银行编码",
  19765. "type": "string"
  19766. },
  19767. "bankname": {
  19768. "description": "银行名称",
  19769. "type": "string"
  19770. },
  19771. "biznature": {
  19772. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19773. "type": "integer"
  19774. },
  19775. "bizscope": {
  19776. "description": "企业经营范围(企业)",
  19777. "type": "string"
  19778. },
  19779. "cardbackphotourl": {
  19780. "description": "证件背面图片地址",
  19781. "type": "string"
  19782. },
  19783. "cardfrontphotourl": {
  19784. "description": "证件正面图片地址",
  19785. "type": "string"
  19786. },
  19787. "cardnum": {
  19788. "description": "证件号码(加密存储)",
  19789. "type": "string"
  19790. },
  19791. "cardtypeid": {
  19792. "description": "证件类型ID",
  19793. "type": "integer"
  19794. },
  19795. "cityid": {
  19796. "description": "市",
  19797. "type": "integer"
  19798. },
  19799. "company": {
  19800. "description": "公司(个人)",
  19801. "type": "string"
  19802. },
  19803. "contactname": {
  19804. "description": "联系人",
  19805. "type": "string"
  19806. },
  19807. "countryid": {
  19808. "description": "国家",
  19809. "type": "integer"
  19810. },
  19811. "createtime": {
  19812. "description": "创建时间",
  19813. "type": "string"
  19814. },
  19815. "creatorid": {
  19816. "description": "创建人",
  19817. "type": "integer"
  19818. },
  19819. "customername": {
  19820. "description": "客户名称(企业名称)",
  19821. "type": "string"
  19822. },
  19823. "districtid": {
  19824. "description": "地区",
  19825. "type": "integer"
  19826. },
  19827. "email": {
  19828. "description": "邮件(加密存储)",
  19829. "type": "string"
  19830. },
  19831. "fax": {
  19832. "description": "传真(加密存储)",
  19833. "type": "string"
  19834. },
  19835. "halfbodyphotourl": {
  19836. "description": "半身照地址",
  19837. "type": "string"
  19838. },
  19839. "hasencrypt": {
  19840. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19841. "type": "integer"
  19842. },
  19843. "headurl": {
  19844. "description": "头像地址",
  19845. "type": "string"
  19846. },
  19847. "legalcardbackphotourl": {
  19848. "description": "法人身份证背面照地址",
  19849. "type": "string"
  19850. },
  19851. "legalcardfrontphotourl": {
  19852. "description": "法人身份证正面照地址",
  19853. "type": "string"
  19854. },
  19855. "legalpersonname": {
  19856. "description": "法人姓名(企业)",
  19857. "type": "string"
  19858. },
  19859. "mobile": {
  19860. "description": "手机号码(加密存储)",
  19861. "type": "string"
  19862. },
  19863. "mobile2": {
  19864. "description": "手机号码[明文-尚志]",
  19865. "type": "string"
  19866. },
  19867. "modifierid": {
  19868. "description": "修改人",
  19869. "type": "integer"
  19870. },
  19871. "modifiertime": {
  19872. "description": "修改时间",
  19873. "type": "string"
  19874. },
  19875. "needinvoice": {
  19876. "description": "是否需要发票 - 0:不需要 1:需要",
  19877. "type": "integer"
  19878. },
  19879. "nickname": {
  19880. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19881. "type": "string"
  19882. },
  19883. "openmode": {
  19884. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19885. "type": "integer"
  19886. },
  19887. "otherurl": {
  19888. "description": "其它图片地址[使用分号分隔]",
  19889. "type": "string"
  19890. },
  19891. "postalcode": {
  19892. "description": "邮政编码",
  19893. "type": "string"
  19894. },
  19895. "provinceid": {
  19896. "description": "省",
  19897. "type": "integer"
  19898. },
  19899. "qq": {
  19900. "description": "QQ(加密存储",
  19901. "type": "string"
  19902. },
  19903. "remark": {
  19904. "description": "备注",
  19905. "type": "string"
  19906. },
  19907. "sex": {
  19908. "description": "用户性别 0: 女 1: 男",
  19909. "type": "integer"
  19910. },
  19911. "signpdfurl": {
  19912. "description": "签约pdf文件",
  19913. "type": "string"
  19914. },
  19915. "telphone": {
  19916. "description": "联系电话(加密存储)",
  19917. "type": "string"
  19918. },
  19919. "userid": {
  19920. "description": "用户ID",
  19921. "type": "integer"
  19922. },
  19923. "userinfotype": {
  19924. "description": "用户信息类型 - 1:个人 2:企业",
  19925. "type": "integer"
  19926. },
  19927. "userstatus": {
  19928. "description": "用户状态 - 1:正常 2:注销",
  19929. "type": "integer"
  19930. },
  19931. "usertype": {
  19932. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19933. "type": "integer"
  19934. },
  19935. "wechat": {
  19936. "description": "微信(加密存储)",
  19937. "type": "string"
  19938. },
  19939. "wskhinfo": {
  19940. "description": "开户申请信息(JSON)",
  19941. "type": "string"
  19942. }
  19943. }
  19944. },
  19945. "models.WRCategoryTree": {
  19946. "type": "object",
  19947. "required": [
  19948. "categoryid"
  19949. ],
  19950. "properties": {
  19951. "areauserid": {
  19952. "description": "所属机构",
  19953. "type": "integer"
  19954. },
  19955. "categorydesc": {
  19956. "description": "类别描述",
  19957. "type": "string"
  19958. },
  19959. "categoryid": {
  19960. "description": "类别ID(SEQ_WRCATEGORY)",
  19961. "type": "integer"
  19962. },
  19963. "categoryname": {
  19964. "description": "类别名称",
  19965. "type": "string"
  19966. },
  19967. "iconurl": {
  19968. "description": "图标地址",
  19969. "type": "string"
  19970. },
  19971. "orderindex": {
  19972. "description": "顺序",
  19973. "type": "integer"
  19974. },
  19975. "parentcategoryid": {
  19976. "description": "父类别ID",
  19977. "type": "integer"
  19978. },
  19979. "subcategory": {
  19980. "description": "子分类",
  19981. "type": "array",
  19982. "items": {
  19983. "$ref": "#/definitions/models.WRCategoryTree"
  19984. }
  19985. }
  19986. }
  19987. },
  19988. "models.WRSConverTDetail": {
  19989. "type": "object",
  19990. "properties": {
  19991. "convertratio": {
  19992. "description": "套保系数",
  19993. "type": "number"
  19994. },
  19995. "deliverygoodscode": {
  19996. "description": "现货商品代码",
  19997. "type": "string"
  19998. },
  19999. "deliverygoodsid": {
  20000. "description": "现货品种ID",
  20001. "type": "integer"
  20002. },
  20003. "deliverygoodsname": {
  20004. "description": "现货商品名称",
  20005. "type": "string"
  20006. },
  20007. "enumdicname": {
  20008. "description": "单位名称",
  20009. "type": "string"
  20010. },
  20011. "goodsunitid": {
  20012. "description": "套保品种单位id",
  20013. "type": "integer"
  20014. },
  20015. "middlegoodscode": {
  20016. "description": "套保品种代码",
  20017. "type": "string"
  20018. },
  20019. "middlegoodsid": {
  20020. "description": "套保品种ID",
  20021. "type": "integer"
  20022. },
  20023. "middlegoodsname": {
  20024. "description": "套保品种名称",
  20025. "type": "string"
  20026. },
  20027. "modifytime": {
  20028. "description": "修改时间",
  20029. "type": "string"
  20030. },
  20031. "wrstandardid": {
  20032. "description": "品类ID",
  20033. "type": "integer"
  20034. }
  20035. }
  20036. },
  20037. "models.WRStandardInfo": {
  20038. "type": "object",
  20039. "required": [
  20040. "wrstandardid"
  20041. ],
  20042. "properties": {
  20043. "createtime": {
  20044. "description": "创建时间",
  20045. "type": "string"
  20046. },
  20047. "creatorid": {
  20048. "description": "创建人",
  20049. "type": "integer"
  20050. },
  20051. "deliverygoodsid": {
  20052. "description": "品种ID",
  20053. "type": "integer"
  20054. },
  20055. "deliverygoodsname": {
  20056. "description": "交割商品名称",
  20057. "type": "string"
  20058. },
  20059. "factoryitemjson": {
  20060. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20061. "type": "string"
  20062. },
  20063. "isvalid": {
  20064. "description": "是否有效 - 0:无效 1:有效",
  20065. "type": "integer"
  20066. },
  20067. "minivalue": {
  20068. "description": "最小变动值",
  20069. "type": "integer"
  20070. },
  20071. "minivaluedp": {
  20072. "description": "最小变动值小数位",
  20073. "type": "integer"
  20074. },
  20075. "realminivalue": {
  20076. "description": "实际最小变动值",
  20077. "type": "integer"
  20078. },
  20079. "realminivaluedp": {
  20080. "description": "实际最小变动值小数位",
  20081. "type": "integer"
  20082. },
  20083. "unitid": {
  20084. "description": "单位ID",
  20085. "type": "integer"
  20086. },
  20087. "unitname": {
  20088. "description": "单位",
  20089. "type": "string"
  20090. },
  20091. "updatetime": {
  20092. "description": "更新时间",
  20093. "type": "string"
  20094. },
  20095. "updatorid": {
  20096. "description": "更新人",
  20097. "type": "integer"
  20098. },
  20099. "wrsstatus": {
  20100. "description": "状态 - 作废 - 0:未激活 1:正常",
  20101. "type": "integer"
  20102. },
  20103. "wrstandardcode": {
  20104. "description": "仓单标准代码",
  20105. "type": "string"
  20106. },
  20107. "wrstandardid": {
  20108. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20109. "type": "integer"
  20110. },
  20111. "wrstandardname": {
  20112. "description": "仓单标准名称",
  20113. "type": "string"
  20114. }
  20115. }
  20116. },
  20117. "models.Warehouseinfo": {
  20118. "type": "object",
  20119. "required": [
  20120. "autoid",
  20121. "warehousecode"
  20122. ],
  20123. "properties": {
  20124. "address": {
  20125. "description": "详细地址",
  20126. "type": "string"
  20127. },
  20128. "areauserid": {
  20129. "description": "所属机构",
  20130. "type": "integer"
  20131. },
  20132. "autoid": {
  20133. "description": "自增ID",
  20134. "type": "integer"
  20135. },
  20136. "cityid": {
  20137. "description": "市",
  20138. "type": "integer"
  20139. },
  20140. "contactname": {
  20141. "description": "联系人",
  20142. "type": "string"
  20143. },
  20144. "contactnum": {
  20145. "description": "联系电话",
  20146. "type": "string"
  20147. },
  20148. "countryid": {
  20149. "description": "国家",
  20150. "type": "integer"
  20151. },
  20152. "createtime": {
  20153. "description": "创建时间",
  20154. "type": "string"
  20155. },
  20156. "districtid": {
  20157. "description": "区",
  20158. "type": "integer"
  20159. },
  20160. "hasvideo": {
  20161. "description": "是否有视频 - 0:无 1:有",
  20162. "type": "integer"
  20163. },
  20164. "provinceid": {
  20165. "description": "省",
  20166. "type": "integer"
  20167. },
  20168. "remark": {
  20169. "description": "审核备注",
  20170. "type": "string"
  20171. },
  20172. "videourl": {
  20173. "description": "视频地址",
  20174. "type": "string"
  20175. },
  20176. "warehousecode": {
  20177. "description": "仓库代码",
  20178. "type": "string"
  20179. },
  20180. "warehousename": {
  20181. "description": "仓库名称",
  20182. "type": "string"
  20183. },
  20184. "warehousestatus": {
  20185. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20186. "type": "integer"
  20187. },
  20188. "warehousetype": {
  20189. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20190. "type": "integer"
  20191. }
  20192. }
  20193. },
  20194. "order.QueryHisTradeDetailRsp": {
  20195. "type": "object",
  20196. "required": [
  20197. "accountid",
  20198. "buyorsell",
  20199. "goodsid",
  20200. "histradedate",
  20201. "marketid",
  20202. "memberuserid",
  20203. "orderid",
  20204. "tradeamount",
  20205. "tradedate",
  20206. "tradeid",
  20207. "tradeprice",
  20208. "tradeqty",
  20209. "tradetime"
  20210. ],
  20211. "properties": {
  20212. "accountid": {
  20213. "description": "账户ID[报价币种]",
  20214. "type": "integer"
  20215. },
  20216. "buildtype": {
  20217. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20218. "type": "integer"
  20219. },
  20220. "buyorsell": {
  20221. "description": "方向 - 0:买 1:卖",
  20222. "type": "integer"
  20223. },
  20224. "charge": {
  20225. "description": "手续费",
  20226. "type": "number"
  20227. },
  20228. "closecharge": {
  20229. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20230. "type": "number"
  20231. },
  20232. "closeexchagechargevalue": {
  20233. "description": "平仓交易所手续费设置值",
  20234. "type": "number"
  20235. },
  20236. "closefeealgorithm": {
  20237. "description": "平仓手续费收取方式 1:比率 2:固定",
  20238. "type": "integer"
  20239. },
  20240. "closememberchargevalue": {
  20241. "description": "平仓会员手续费设置值",
  20242. "type": "number"
  20243. },
  20244. "closepl": {
  20245. "description": "平仓盈亏",
  20246. "type": "number"
  20247. },
  20248. "closepl2": {
  20249. "description": "平仓盈亏[逐笔]",
  20250. "type": "number"
  20251. },
  20252. "closeqty": {
  20253. "description": "平仓数量(先建后平操作 需要记录)",
  20254. "type": "integer"
  20255. },
  20256. "creditamount": {
  20257. "description": "授信金额",
  20258. "type": "number"
  20259. },
  20260. "gcaccountid": {
  20261. "description": "账户ID[合约币种]",
  20262. "type": "integer"
  20263. },
  20264. "goodscode": {
  20265. "description": "商品代码",
  20266. "type": "string"
  20267. },
  20268. "goodsid": {
  20269. "description": "商品ID",
  20270. "type": "integer"
  20271. },
  20272. "goodsname": {
  20273. "description": "商品名称",
  20274. "type": "string"
  20275. },
  20276. "histradedate": {
  20277. "description": "历史交易日",
  20278. "type": "string"
  20279. },
  20280. "intclosepl": {
  20281. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20282. "type": "integer"
  20283. },
  20284. "isconfirmexercise": {
  20285. "description": "是否确认行权- 0:否 1:是",
  20286. "type": "integer"
  20287. },
  20288. "ismain": {
  20289. "description": "是否主单 - 0:不是 1:是",
  20290. "type": "integer"
  20291. },
  20292. "ispreexercise": {
  20293. "description": "是否预申报- 0:否 1:是",
  20294. "type": "integer"
  20295. },
  20296. "isreckoned": {
  20297. "description": "是否结算 - 0:未结算 1:已结算",
  20298. "type": "integer"
  20299. },
  20300. "isvaliddata": {
  20301. "description": "是否有效 - 0:无效 1:有效",
  20302. "type": "integer"
  20303. },
  20304. "listingselecttype": {
  20305. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20306. "type": "integer"
  20307. },
  20308. "marketid": {
  20309. "description": "市场ID",
  20310. "type": "integer"
  20311. },
  20312. "marketname": {
  20313. "description": "市场名称",
  20314. "type": "string"
  20315. },
  20316. "matchaccountid": {
  20317. "description": "对手账号id",
  20318. "type": "integer"
  20319. },
  20320. "memberuserid": {
  20321. "description": "会员id 个人投资者 需要填写",
  20322. "type": "integer"
  20323. },
  20324. "opencharge": {
  20325. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20326. "type": "number"
  20327. },
  20328. "openexchagechargevalue": {
  20329. "description": "建仓交易所手续费设置值",
  20330. "type": "number"
  20331. },
  20332. "openfeealgorithm": {
  20333. "description": "建仓手续费收取方式 1:比率 2:固定",
  20334. "type": "integer"
  20335. },
  20336. "openmemberchargevalue": {
  20337. "description": "建仓会员手续费设置值",
  20338. "type": "number"
  20339. },
  20340. "openqty": {
  20341. "description": "开仓数量(先建后平操作 需要记录)",
  20342. "type": "integer"
  20343. },
  20344. "optiontype": {
  20345. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20346. "type": "integer"
  20347. },
  20348. "orderid": {
  20349. "description": "委托单号",
  20350. "type": "string"
  20351. },
  20352. "performanceplanid": {
  20353. "description": "履约计划ID[期权]",
  20354. "type": "integer"
  20355. },
  20356. "performancestatus": {
  20357. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20358. "type": "integer"
  20359. },
  20360. "preexerciseprice": {
  20361. "description": "预申报价格",
  20362. "type": "number"
  20363. },
  20364. "premium": {
  20365. "description": "权利金 - [持仓单的权利金]",
  20366. "type": "number"
  20367. },
  20368. "relatedouttradeid": {
  20369. "description": "关联外部成交单ID",
  20370. "type": "integer"
  20371. },
  20372. "status": {
  20373. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20374. "type": "integer"
  20375. },
  20376. "tradeamount": {
  20377. "description": "成交金额[账户币种,用于所有权]",
  20378. "type": "number"
  20379. },
  20380. "tradedate": {
  20381. "description": "交易日(yyyyMMdd)",
  20382. "type": "string"
  20383. },
  20384. "tradeid": {
  20385. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20386. "type": "string"
  20387. },
  20388. "trademode": {
  20389. "description": "交易模式",
  20390. "type": "integer"
  20391. },
  20392. "tradeprice": {
  20393. "description": "成交价格",
  20394. "type": "number"
  20395. },
  20396. "tradeproperty": {
  20397. "description": "交易属性",
  20398. "type": "integer"
  20399. },
  20400. "tradeqty": {
  20401. "description": "成交数量",
  20402. "type": "integer"
  20403. },
  20404. "tradetime": {
  20405. "description": "成交时间",
  20406. "type": "string"
  20407. },
  20408. "tradetype": {
  20409. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20410. "type": "integer"
  20411. }
  20412. }
  20413. },
  20414. "order.QueryHisTradeOrderDetailRsp": {
  20415. "type": "object",
  20416. "required": [
  20417. "accountid",
  20418. "buildtype",
  20419. "buyorsell",
  20420. "goodsid",
  20421. "histradedate",
  20422. "marketid",
  20423. "memberuserid",
  20424. "operatetype",
  20425. "orderid",
  20426. "orderqty",
  20427. "ordertime",
  20428. "pricemode",
  20429. "tradedate",
  20430. "validtype"
  20431. ],
  20432. "properties": {
  20433. "accountid": {
  20434. "description": "账户ID[报价币种]",
  20435. "type": "integer"
  20436. },
  20437. "buildtype": {
  20438. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20439. "type": "integer"
  20440. },
  20441. "buyorsell": {
  20442. "description": "买卖 - 0:买 1:卖",
  20443. "type": "integer"
  20444. },
  20445. "cancelorderid": {
  20446. "description": "撤单单号(撤单时填写)",
  20447. "type": "string"
  20448. },
  20449. "cancelqty": {
  20450. "description": "撤单数量",
  20451. "type": "integer"
  20452. },
  20453. "clientordertime": {
  20454. "description": "客户端委托时间",
  20455. "type": "string"
  20456. },
  20457. "clientticket": {
  20458. "description": "客户端流水号",
  20459. "type": "string"
  20460. },
  20461. "clienttype": {
  20462. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20463. "type": "integer"
  20464. },
  20465. "closeexchagechargevalue": {
  20466. "description": "平仓交易所手续费设置值",
  20467. "type": "number"
  20468. },
  20469. "closefeealgorithm": {
  20470. "description": "平仓手续费收取方式 1:比率 2:固定",
  20471. "type": "integer"
  20472. },
  20473. "closefreezecharge": {
  20474. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20475. "type": "number"
  20476. },
  20477. "closememberchargevalue": {
  20478. "description": "平仓会员手续费设置值",
  20479. "type": "number"
  20480. },
  20481. "closeqty": {
  20482. "description": "平仓数量(先建后平操作 需要记录)",
  20483. "type": "integer"
  20484. },
  20485. "closetradeqty": {
  20486. "description": "平仓成交数量(先建后平操作,需要记录)",
  20487. "type": "integer"
  20488. },
  20489. "closeunfreezecharge": {
  20490. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20491. "type": "number"
  20492. },
  20493. "delistingtype": {
  20494. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20495. "type": "integer"
  20496. },
  20497. "freezecharge": {
  20498. "description": "冻结手续费",
  20499. "type": "number"
  20500. },
  20501. "freezemargin": {
  20502. "description": "冻结保证金(冻结交易金额)",
  20503. "type": "number"
  20504. },
  20505. "gcaccountid": {
  20506. "description": "账户ID[合约币种]",
  20507. "type": "integer"
  20508. },
  20509. "goodscode": {
  20510. "description": "商品代码",
  20511. "type": "string"
  20512. },
  20513. "goodsid": {
  20514. "description": "商品ID",
  20515. "type": "integer"
  20516. },
  20517. "goodsname": {
  20518. "description": "商品名称",
  20519. "type": "string"
  20520. },
  20521. "histradedate": {
  20522. "description": "历史交易日",
  20523. "type": "string"
  20524. },
  20525. "isconfirmexercise": {
  20526. "description": "是否确认行权- 0:否 1:是",
  20527. "type": "integer"
  20528. },
  20529. "ispreexercise": {
  20530. "description": "是否预申报- 0:否 1:是",
  20531. "type": "integer"
  20532. },
  20533. "isvaliddata": {
  20534. "description": "是否有效 - 0:无效 1:有效",
  20535. "type": "integer"
  20536. },
  20537. "listingselecttype": {
  20538. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20539. "type": "integer"
  20540. },
  20541. "marginalgorithm": {
  20542. "description": "保证金收取方式 1:比率 2:固定",
  20543. "type": "integer"
  20544. },
  20545. "marginvalue": {
  20546. "description": "即市保证金设置值",
  20547. "type": "number"
  20548. },
  20549. "marketid": {
  20550. "description": "市场ID",
  20551. "type": "integer"
  20552. },
  20553. "marketmaxsub": {
  20554. "description": "市价最大偏移范围",
  20555. "type": "number"
  20556. },
  20557. "marketname": {
  20558. "description": "市场名称",
  20559. "type": "string"
  20560. },
  20561. "memberuserid": {
  20562. "description": "所属会员UserID",
  20563. "type": "integer"
  20564. },
  20565. "openexchagechargevalue": {
  20566. "description": "建仓交易所手续费设置值",
  20567. "type": "number"
  20568. },
  20569. "openfeealgorithm": {
  20570. "description": "建仓手续费收取方式 1:比率 2:固定",
  20571. "type": "integer"
  20572. },
  20573. "openfreezecharge": {
  20574. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20575. "type": "number"
  20576. },
  20577. "openmemberchargevalue": {
  20578. "description": "建仓会员手续费设置值",
  20579. "type": "number"
  20580. },
  20581. "openqty": {
  20582. "description": "开仓数量(先建后平操作,需要记录)",
  20583. "type": "integer"
  20584. },
  20585. "opentradeqty": {
  20586. "description": "开仓成交数量(先建后平操作,需要记录)",
  20587. "type": "integer"
  20588. },
  20589. "openunfreezecharge": {
  20590. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20591. "type": "number"
  20592. },
  20593. "operatetype": {
  20594. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20595. "type": "integer"
  20596. },
  20597. "operatorid": {
  20598. "description": "登录账号(LoginID)",
  20599. "type": "integer"
  20600. },
  20601. "optiontype": {
  20602. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20603. "type": "integer"
  20604. },
  20605. "orderid": {
  20606. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20607. "type": "string"
  20608. },
  20609. "orderprice": {
  20610. "description": "委托价格",
  20611. "type": "number"
  20612. },
  20613. "orderqty": {
  20614. "description": "委托数量",
  20615. "type": "integer"
  20616. },
  20617. "ordersrc": {
  20618. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20619. "type": "integer"
  20620. },
  20621. "orderstatus": {
  20622. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20623. "type": "integer"
  20624. },
  20625. "ordertime": {
  20626. "description": "委托时间",
  20627. "type": "string"
  20628. },
  20629. "preexerciseprice": {
  20630. "description": "预申报价格",
  20631. "type": "number"
  20632. },
  20633. "premium": {
  20634. "description": "权利金",
  20635. "type": "number"
  20636. },
  20637. "preorderid": {
  20638. "description": "关联预埋单号(止盈止损单时填写)",
  20639. "type": "string"
  20640. },
  20641. "pricemode": {
  20642. "description": "取价方式 - 1:市价 2: 限价",
  20643. "type": "integer"
  20644. },
  20645. "quoteid": {
  20646. "description": "报价单ID",
  20647. "type": "integer"
  20648. },
  20649. "relatedid": {
  20650. "description": "关联单号(交割单)",
  20651. "type": "string"
  20652. },
  20653. "retcode": {
  20654. "description": "错误代码",
  20655. "type": "integer"
  20656. },
  20657. "sessionid": {
  20658. "description": "会话ID",
  20659. "type": "integer"
  20660. },
  20661. "tradedate": {
  20662. "description": "交易日(yyyyMMdd)",
  20663. "type": "string"
  20664. },
  20665. "trademode": {
  20666. "description": "交易模式",
  20667. "type": "integer"
  20668. },
  20669. "tradeproperty": {
  20670. "description": "交易属性",
  20671. "type": "integer"
  20672. },
  20673. "tradeqty": {
  20674. "description": "成交数量",
  20675. "type": "integer"
  20676. },
  20677. "unfreezecharge": {
  20678. "description": "解冻手续费",
  20679. "type": "number"
  20680. },
  20681. "unfreezemargin": {
  20682. "description": "解冻保证金",
  20683. "type": "number"
  20684. },
  20685. "updatetime": {
  20686. "description": "更新时间",
  20687. "type": "string"
  20688. },
  20689. "uuid": {
  20690. "description": "发起端唯一id",
  20691. "type": "string"
  20692. },
  20693. "validtime": {
  20694. "description": "有效期限",
  20695. "type": "string"
  20696. },
  20697. "validtype": {
  20698. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20699. "type": "integer"
  20700. },
  20701. "volumetype": {
  20702. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20703. "type": "integer"
  20704. }
  20705. }
  20706. },
  20707. "order.QueryTradeDetailRsp": {
  20708. "type": "object",
  20709. "required": [
  20710. "accountid",
  20711. "buyorsell",
  20712. "goodsid",
  20713. "marketid",
  20714. "memberuserid",
  20715. "orderid",
  20716. "tradeamount",
  20717. "tradedate",
  20718. "tradeid",
  20719. "tradeprice",
  20720. "tradeqty",
  20721. "tradetime"
  20722. ],
  20723. "properties": {
  20724. "accountid": {
  20725. "description": "账户ID[报价币种]",
  20726. "type": "integer"
  20727. },
  20728. "buildtype": {
  20729. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20730. "type": "integer"
  20731. },
  20732. "buyorsell": {
  20733. "description": "方向 - 0:买 1:卖",
  20734. "type": "integer"
  20735. },
  20736. "charge": {
  20737. "description": "手续费",
  20738. "type": "number"
  20739. },
  20740. "closecharge": {
  20741. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20742. "type": "number"
  20743. },
  20744. "closeexchagechargevalue": {
  20745. "description": "平仓交易所手续费设置值",
  20746. "type": "number"
  20747. },
  20748. "closefeealgorithm": {
  20749. "description": "平仓手续费收取方式 1:比率 2:固定",
  20750. "type": "integer"
  20751. },
  20752. "closememberchargevalue": {
  20753. "description": "平仓会员手续费设置值",
  20754. "type": "number"
  20755. },
  20756. "closepl": {
  20757. "description": "平仓盈亏",
  20758. "type": "number"
  20759. },
  20760. "closepl2": {
  20761. "description": "平仓盈亏[逐笔]",
  20762. "type": "number"
  20763. },
  20764. "closeqty": {
  20765. "description": "平仓数量(先建后平操作 需要记录)",
  20766. "type": "integer"
  20767. },
  20768. "creditamount": {
  20769. "description": "授信金额",
  20770. "type": "number"
  20771. },
  20772. "gcaccountid": {
  20773. "description": "账户ID[合约币种]",
  20774. "type": "integer"
  20775. },
  20776. "goodscode": {
  20777. "description": "商品代码",
  20778. "type": "string"
  20779. },
  20780. "goodsid": {
  20781. "description": "商品ID",
  20782. "type": "integer"
  20783. },
  20784. "goodsname": {
  20785. "description": "商品名称",
  20786. "type": "string"
  20787. },
  20788. "intclosepl": {
  20789. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20790. "type": "integer"
  20791. },
  20792. "isconfirmexercise": {
  20793. "description": "是否确认行权- 0:否 1:是",
  20794. "type": "integer"
  20795. },
  20796. "ismain": {
  20797. "description": "是否主单 - 0:不是 1:是",
  20798. "type": "integer"
  20799. },
  20800. "ispreexercise": {
  20801. "description": "是否预申报- 0:否 1:是",
  20802. "type": "integer"
  20803. },
  20804. "isreckoned": {
  20805. "description": "是否结算 - 0:未结算 1:已结算",
  20806. "type": "integer"
  20807. },
  20808. "listingselecttype": {
  20809. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20810. "type": "integer"
  20811. },
  20812. "marketid": {
  20813. "description": "市场ID",
  20814. "type": "integer"
  20815. },
  20816. "marketname": {
  20817. "description": "市场名称",
  20818. "type": "string"
  20819. },
  20820. "matchaccountid": {
  20821. "description": "对手账号id",
  20822. "type": "integer"
  20823. },
  20824. "memberuserid": {
  20825. "description": "会员id 个人投资者 需要填写",
  20826. "type": "integer"
  20827. },
  20828. "opencharge": {
  20829. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20830. "type": "number"
  20831. },
  20832. "openexchagechargevalue": {
  20833. "description": "建仓交易所手续费设置值",
  20834. "type": "number"
  20835. },
  20836. "openfeealgorithm": {
  20837. "description": "建仓手续费收取方式 1:比率 2:固定",
  20838. "type": "integer"
  20839. },
  20840. "openmemberchargevalue": {
  20841. "description": "建仓会员手续费设置值",
  20842. "type": "number"
  20843. },
  20844. "openqty": {
  20845. "description": "开仓数量(先建后平操作 需要记录)",
  20846. "type": "integer"
  20847. },
  20848. "optiontype": {
  20849. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20850. "type": "integer"
  20851. },
  20852. "orderid": {
  20853. "description": "委托单号",
  20854. "type": "string"
  20855. },
  20856. "performanceplanid": {
  20857. "description": "履约计划ID[期权]",
  20858. "type": "integer"
  20859. },
  20860. "performancestatus": {
  20861. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20862. "type": "integer"
  20863. },
  20864. "preexerciseprice": {
  20865. "description": "预申报价格",
  20866. "type": "number"
  20867. },
  20868. "premium": {
  20869. "description": "权利金 - [持仓单的权利金]",
  20870. "type": "number"
  20871. },
  20872. "relatedouttradeid": {
  20873. "description": "关联外部成交单ID",
  20874. "type": "integer"
  20875. },
  20876. "status": {
  20877. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20878. "type": "integer"
  20879. },
  20880. "tradeamount": {
  20881. "description": "成交金额[账户币种,用于所有权]",
  20882. "type": "number"
  20883. },
  20884. "tradedate": {
  20885. "description": "交易日(yyyyMMdd)",
  20886. "type": "string"
  20887. },
  20888. "tradeid": {
  20889. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20890. "type": "string"
  20891. },
  20892. "trademode": {
  20893. "description": "交易模式",
  20894. "type": "integer"
  20895. },
  20896. "tradeprice": {
  20897. "description": "成交价格",
  20898. "type": "number"
  20899. },
  20900. "tradeproperty": {
  20901. "description": "交易属性",
  20902. "type": "integer"
  20903. },
  20904. "tradeqty": {
  20905. "description": "成交数量",
  20906. "type": "integer"
  20907. },
  20908. "tradetime": {
  20909. "description": "成交时间",
  20910. "type": "string"
  20911. },
  20912. "tradetype": {
  20913. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20914. "type": "integer"
  20915. }
  20916. }
  20917. },
  20918. "order.QueryTradeOrderDetailRsp": {
  20919. "type": "object",
  20920. "required": [
  20921. "accountid",
  20922. "buildtype",
  20923. "buyorsell",
  20924. "goodsid",
  20925. "marketid",
  20926. "operatetype",
  20927. "orderqty",
  20928. "ordertime",
  20929. "pricemode",
  20930. "tradedate",
  20931. "validtype"
  20932. ],
  20933. "properties": {
  20934. "accountid": {
  20935. "description": "账户ID[报价币种]",
  20936. "type": "integer"
  20937. },
  20938. "buildtype": {
  20939. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20940. "type": "integer"
  20941. },
  20942. "buyorsell": {
  20943. "description": "买卖 - 0:买 1:卖",
  20944. "type": "integer"
  20945. },
  20946. "cancelorderid": {
  20947. "description": "撤单单号(撤单时填写)",
  20948. "type": "string"
  20949. },
  20950. "cancelqty": {
  20951. "description": "撤单数量",
  20952. "type": "integer"
  20953. },
  20954. "clienttype": {
  20955. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20956. "type": "integer"
  20957. },
  20958. "closefreezecharge": {
  20959. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20960. "type": "number"
  20961. },
  20962. "closeqty": {
  20963. "description": "平仓数量(先建后平操作 需要记录)",
  20964. "type": "integer"
  20965. },
  20966. "closetradeqty": {
  20967. "description": "平仓成交数量(先建后平操作,需要记录)",
  20968. "type": "integer"
  20969. },
  20970. "closeunfreezecharge": {
  20971. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20972. "type": "number"
  20973. },
  20974. "delistingtype": {
  20975. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20976. "type": "integer"
  20977. },
  20978. "enableqty": {
  20979. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20980. "type": "integer"
  20981. },
  20982. "freezecharge": {
  20983. "description": "冻结手续费",
  20984. "type": "number"
  20985. },
  20986. "freezemargin": {
  20987. "description": "冻结保证金(冻结交易金额)",
  20988. "type": "number"
  20989. },
  20990. "goodscode": {
  20991. "description": "商品代码",
  20992. "type": "string"
  20993. },
  20994. "goodsid": {
  20995. "description": "商品ID",
  20996. "type": "integer"
  20997. },
  20998. "goodsname": {
  20999. "description": "商品名称",
  21000. "type": "string"
  21001. },
  21002. "listingselecttype": {
  21003. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21004. "type": "integer"
  21005. },
  21006. "marketid": {
  21007. "description": "市场ID",
  21008. "type": "integer"
  21009. },
  21010. "marketname": {
  21011. "description": "市场名称",
  21012. "type": "string"
  21013. },
  21014. "openfreezecharge": {
  21015. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21016. "type": "number"
  21017. },
  21018. "openqty": {
  21019. "description": "开仓数量(先建后平操作,需要记录)",
  21020. "type": "integer"
  21021. },
  21022. "opentradeqty": {
  21023. "description": "开仓成交数量(先建后平操作,需要记录)",
  21024. "type": "integer"
  21025. },
  21026. "openunfreezecharge": {
  21027. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21028. "type": "number"
  21029. },
  21030. "operatetype": {
  21031. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21032. "type": "integer"
  21033. },
  21034. "operatorid": {
  21035. "description": "登录账号(LoginID)",
  21036. "type": "integer"
  21037. },
  21038. "orderid": {
  21039. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21040. "type": "string"
  21041. },
  21042. "orderprice": {
  21043. "description": "委托价格",
  21044. "type": "number"
  21045. },
  21046. "orderqty": {
  21047. "description": "委托数量",
  21048. "type": "integer"
  21049. },
  21050. "ordersrc": {
  21051. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21052. "type": "integer"
  21053. },
  21054. "orderstatus": {
  21055. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21056. "type": "integer"
  21057. },
  21058. "ordertime": {
  21059. "description": "委托时间",
  21060. "type": "string"
  21061. },
  21062. "preorderid": {
  21063. "description": "关联预埋单号(止盈止损单时填写)",
  21064. "type": "string"
  21065. },
  21066. "pricemode": {
  21067. "description": "取价方式 - 1:市价 2: 限价",
  21068. "type": "integer"
  21069. },
  21070. "relatedid": {
  21071. "description": "关联单号(交割单)",
  21072. "type": "string"
  21073. },
  21074. "tradedate": {
  21075. "description": "交易日(yyyyMMdd)",
  21076. "type": "string"
  21077. },
  21078. "trademode": {
  21079. "description": "交易模式",
  21080. "type": "integer"
  21081. },
  21082. "tradeqty": {
  21083. "description": "成交数量",
  21084. "type": "integer"
  21085. },
  21086. "unfreezecharge": {
  21087. "description": "解冻手续费",
  21088. "type": "number"
  21089. },
  21090. "unfreezemargin": {
  21091. "description": "解冻保证金",
  21092. "type": "number"
  21093. },
  21094. "validtime": {
  21095. "description": "有效期限",
  21096. "type": "string"
  21097. },
  21098. "validtype": {
  21099. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21100. "type": "integer"
  21101. },
  21102. "volumetype": {
  21103. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21104. "type": "integer"
  21105. }
  21106. }
  21107. },
  21108. "order.QueryTradePositionRsp": {
  21109. "type": "object",
  21110. "required": [
  21111. "goodsid"
  21112. ],
  21113. "properties": {
  21114. "accountid": {
  21115. "description": "资金账户",
  21116. "type": "integer"
  21117. },
  21118. "agreeunit": {
  21119. "description": "合约单位",
  21120. "type": "number"
  21121. },
  21122. "averageprice": {
  21123. "description": "持仓均价",
  21124. "type": "number"
  21125. },
  21126. "buyorsell": {
  21127. "description": "方向 - 0:买 1:卖",
  21128. "type": "integer"
  21129. },
  21130. "closetotalqty": {
  21131. "description": "平仓总数量",
  21132. "type": "integer"
  21133. },
  21134. "curholderamount": {
  21135. "description": "当前持仓总金额[商品币种]",
  21136. "type": "number"
  21137. },
  21138. "curpositionqty": {
  21139. "description": "当前持仓总数量",
  21140. "type": "integer"
  21141. },
  21142. "currencyid": {
  21143. "description": "报价货币ID",
  21144. "type": "integer"
  21145. },
  21146. "curtdposition": {
  21147. "description": "期末今日头寸",
  21148. "type": "integer"
  21149. },
  21150. "decimalplace": {
  21151. "description": "报价小数位",
  21152. "type": "integer"
  21153. },
  21154. "enableqty": {
  21155. "description": "可用量",
  21156. "type": "integer"
  21157. },
  21158. "fretdposition": {
  21159. "description": "冻结今日头寸",
  21160. "type": "integer"
  21161. },
  21162. "frozenqty": {
  21163. "description": "持仓冻结数量",
  21164. "type": "integer"
  21165. },
  21166. "goodscode": {
  21167. "description": "商品代码",
  21168. "type": "string"
  21169. },
  21170. "goodsid": {
  21171. "description": "商品Id",
  21172. "type": "integer"
  21173. },
  21174. "goodsname": {
  21175. "description": "商品名称",
  21176. "type": "string"
  21177. },
  21178. "goodunit": {
  21179. "description": "报价单位",
  21180. "type": "string"
  21181. },
  21182. "goodunitid": {
  21183. "description": "报价单位ID",
  21184. "type": "integer"
  21185. },
  21186. "holderamount": {
  21187. "description": "期初持仓总金额[商品币种]",
  21188. "type": "number"
  21189. },
  21190. "marketid": {
  21191. "description": "所属市场ID",
  21192. "type": "integer"
  21193. },
  21194. "openreqqty": {
  21195. "description": "开仓申请数量(用于比较最大持仓数量)",
  21196. "type": "integer"
  21197. },
  21198. "opentotalqty": {
  21199. "description": "开仓总数量",
  21200. "type": "integer"
  21201. },
  21202. "otherfrozenqty": {
  21203. "description": "持仓其他冻结数量(交割冻结)",
  21204. "type": "integer"
  21205. },
  21206. "positionqty": {
  21207. "description": "期初持仓数量",
  21208. "type": "integer"
  21209. },
  21210. "tnqty": {
  21211. "description": "T+N冻结总量",
  21212. "type": "integer"
  21213. },
  21214. "tnusedqty": {
  21215. "description": "T+N使用量(可以使用T+N的冻结数量)",
  21216. "type": "integer"
  21217. },
  21218. "trademode": {
  21219. "description": "交易模式",
  21220. "type": "integer"
  21221. },
  21222. "usedmargin": {
  21223. "description": "占用保证金[商品币种]",
  21224. "type": "number"
  21225. }
  21226. }
  21227. },
  21228. "quote.HistoryData": {
  21229. "type": "object",
  21230. "properties": {
  21231. "c": {
  21232. "description": "收盘价",
  21233. "type": "number"
  21234. },
  21235. "f": {
  21236. "description": "是否补充数据",
  21237. "type": "boolean"
  21238. },
  21239. "h": {
  21240. "description": "最高价",
  21241. "type": "number"
  21242. },
  21243. "hv": {
  21244. "description": "持仓量",
  21245. "type": "integer"
  21246. },
  21247. "l": {
  21248. "description": "最低价",
  21249. "type": "number"
  21250. },
  21251. "o": {
  21252. "description": "开盘价",
  21253. "type": "number"
  21254. },
  21255. "s": {
  21256. "description": "结算价,日线周期(包括)以上才有",
  21257. "type": "number"
  21258. },
  21259. "ts": {
  21260. "description": "时间",
  21261. "type": "string"
  21262. },
  21263. "tt": {
  21264. "description": "总金额",
  21265. "type": "number"
  21266. },
  21267. "tv": {
  21268. "description": "总量",
  21269. "type": "integer"
  21270. }
  21271. }
  21272. },
  21273. "quote.HistoryTikData": {
  21274. "type": "object",
  21275. "properties": {
  21276. "AV": {
  21277. "description": "卖量",
  21278. "type": "integer"
  21279. },
  21280. "Ask": {
  21281. "description": "卖价",
  21282. "type": "number"
  21283. },
  21284. "BV": {
  21285. "description": "买量",
  21286. "type": "integer"
  21287. },
  21288. "Bid": {
  21289. "description": "买价",
  21290. "type": "number"
  21291. },
  21292. "HI": {
  21293. "description": "单笔持仓",
  21294. "type": "integer"
  21295. },
  21296. "HV": {
  21297. "description": "持仓量",
  21298. "type": "integer"
  21299. },
  21300. "PE": {
  21301. "description": "现价",
  21302. "type": "number"
  21303. },
  21304. "TDR": {
  21305. "description": "交易方向,0:买 1:卖",
  21306. "type": "integer"
  21307. },
  21308. "TK": {
  21309. "description": "交易类型",
  21310. "type": "integer"
  21311. },
  21312. "TS": {
  21313. "description": "行情时间文本",
  21314. "type": "string"
  21315. },
  21316. "TT": {
  21317. "description": "现金额",
  21318. "type": "number"
  21319. },
  21320. "Vol": {
  21321. "description": "现量",
  21322. "type": "integer"
  21323. }
  21324. }
  21325. },
  21326. "quote.QueryQuoteDayRsp": {
  21327. "type": "object",
  21328. "properties": {
  21329. "ask": {
  21330. "description": "卖1",
  21331. "type": "number"
  21332. },
  21333. "ask10": {
  21334. "description": "卖10",
  21335. "type": "number"
  21336. },
  21337. "ask2": {
  21338. "description": "卖2",
  21339. "type": "number"
  21340. },
  21341. "ask3": {
  21342. "description": "卖3",
  21343. "type": "number"
  21344. },
  21345. "ask4": {
  21346. "description": "卖4",
  21347. "type": "number"
  21348. },
  21349. "ask5": {
  21350. "description": "卖5",
  21351. "type": "number"
  21352. },
  21353. "ask6": {
  21354. "description": "卖6",
  21355. "type": "number"
  21356. },
  21357. "ask7": {
  21358. "description": "卖7",
  21359. "type": "number"
  21360. },
  21361. "ask8": {
  21362. "description": "卖8",
  21363. "type": "number"
  21364. },
  21365. "ask9": {
  21366. "description": "卖9",
  21367. "type": "number"
  21368. },
  21369. "askorderid": {
  21370. "description": "卖单号1",
  21371. "type": "integer"
  21372. },
  21373. "askorderid2": {
  21374. "description": "卖单号2",
  21375. "type": "integer"
  21376. },
  21377. "askorderid3": {
  21378. "description": "卖单号3",
  21379. "type": "integer"
  21380. },
  21381. "askorderid4": {
  21382. "description": "卖单号4",
  21383. "type": "integer"
  21384. },
  21385. "askorderid5": {
  21386. "description": "卖单号5",
  21387. "type": "integer"
  21388. },
  21389. "askordervolume": {
  21390. "description": "卖单量1",
  21391. "type": "integer"
  21392. },
  21393. "askordervolume10": {
  21394. "description": "卖单量10",
  21395. "type": "integer"
  21396. },
  21397. "askordervolume2": {
  21398. "description": "卖单量2",
  21399. "type": "integer"
  21400. },
  21401. "askordervolume3": {
  21402. "description": "卖单量3",
  21403. "type": "integer"
  21404. },
  21405. "askordervolume4": {
  21406. "description": "卖单量4",
  21407. "type": "integer"
  21408. },
  21409. "askordervolume5": {
  21410. "description": "卖单量5",
  21411. "type": "integer"
  21412. },
  21413. "askordervolume6": {
  21414. "description": "卖单量6",
  21415. "type": "integer"
  21416. },
  21417. "askordervolume7": {
  21418. "description": "卖单量7",
  21419. "type": "integer"
  21420. },
  21421. "askordervolume8": {
  21422. "description": "卖单量8",
  21423. "type": "integer"
  21424. },
  21425. "askordervolume9": {
  21426. "description": "卖单量9",
  21427. "type": "integer"
  21428. },
  21429. "askqueueinfo": {
  21430. "description": "大利市卖港股用",
  21431. "type": "string"
  21432. },
  21433. "askvolume": {
  21434. "description": "卖量1",
  21435. "type": "integer"
  21436. },
  21437. "askvolume10": {
  21438. "description": "卖量10",
  21439. "type": "integer"
  21440. },
  21441. "askvolume2": {
  21442. "description": "卖量2",
  21443. "type": "integer"
  21444. },
  21445. "askvolume3": {
  21446. "description": "卖量3",
  21447. "type": "integer"
  21448. },
  21449. "askvolume4": {
  21450. "description": "卖量4",
  21451. "type": "integer"
  21452. },
  21453. "askvolume5": {
  21454. "description": "卖量5",
  21455. "type": "integer"
  21456. },
  21457. "askvolume6": {
  21458. "description": "卖量6",
  21459. "type": "integer"
  21460. },
  21461. "askvolume7": {
  21462. "description": "卖量7",
  21463. "type": "integer"
  21464. },
  21465. "askvolume8": {
  21466. "description": "卖量8",
  21467. "type": "integer"
  21468. },
  21469. "askvolume9": {
  21470. "description": "卖量9",
  21471. "type": "integer"
  21472. },
  21473. "averageprice": {
  21474. "description": "均价",
  21475. "type": "number"
  21476. },
  21477. "bid": {
  21478. "description": "买1",
  21479. "type": "number"
  21480. },
  21481. "bid10": {
  21482. "description": "买10",
  21483. "type": "number"
  21484. },
  21485. "bid2": {
  21486. "description": "买2",
  21487. "type": "number"
  21488. },
  21489. "bid3": {
  21490. "description": "买3",
  21491. "type": "number"
  21492. },
  21493. "bid4": {
  21494. "description": "买4",
  21495. "type": "number"
  21496. },
  21497. "bid5": {
  21498. "description": "买5",
  21499. "type": "number"
  21500. },
  21501. "bid6": {
  21502. "description": "买6",
  21503. "type": "number"
  21504. },
  21505. "bid7": {
  21506. "description": "买7",
  21507. "type": "number"
  21508. },
  21509. "bid8": {
  21510. "description": "买8",
  21511. "type": "number"
  21512. },
  21513. "bid9": {
  21514. "description": "买9",
  21515. "type": "number"
  21516. },
  21517. "bidorderid": {
  21518. "description": "买单号1",
  21519. "type": "integer"
  21520. },
  21521. "bidorderid2": {
  21522. "description": "买单号2",
  21523. "type": "integer"
  21524. },
  21525. "bidorderid3": {
  21526. "description": "买单号3",
  21527. "type": "integer"
  21528. },
  21529. "bidorderid4": {
  21530. "description": "买单号4",
  21531. "type": "integer"
  21532. },
  21533. "bidorderid5": {
  21534. "description": "买单号5",
  21535. "type": "integer"
  21536. },
  21537. "bidordervolume": {
  21538. "description": "买单量1",
  21539. "type": "integer"
  21540. },
  21541. "bidordervolume10": {
  21542. "description": "买单量10",
  21543. "type": "integer"
  21544. },
  21545. "bidordervolume2": {
  21546. "description": "买单量2",
  21547. "type": "integer"
  21548. },
  21549. "bidordervolume3": {
  21550. "description": "买单量3",
  21551. "type": "integer"
  21552. },
  21553. "bidordervolume4": {
  21554. "description": "买单量4",
  21555. "type": "integer"
  21556. },
  21557. "bidordervolume5": {
  21558. "description": "买单量5",
  21559. "type": "integer"
  21560. },
  21561. "bidordervolume6": {
  21562. "description": "买单量6",
  21563. "type": "integer"
  21564. },
  21565. "bidordervolume7": {
  21566. "description": "买单量7",
  21567. "type": "integer"
  21568. },
  21569. "bidordervolume8": {
  21570. "description": "买单量8",
  21571. "type": "integer"
  21572. },
  21573. "bidordervolume9": {
  21574. "description": "买单量9",
  21575. "type": "integer"
  21576. },
  21577. "bidqueueinfo": {
  21578. "description": "大利市买港股用",
  21579. "type": "string"
  21580. },
  21581. "bidvolume": {
  21582. "description": "买量1",
  21583. "type": "integer"
  21584. },
  21585. "bidvolume10": {
  21586. "description": "买量10",
  21587. "type": "integer"
  21588. },
  21589. "bidvolume2": {
  21590. "description": "买量2",
  21591. "type": "integer"
  21592. },
  21593. "bidvolume3": {
  21594. "description": "买量3",
  21595. "type": "integer"
  21596. },
  21597. "bidvolume4": {
  21598. "description": "买量4",
  21599. "type": "integer"
  21600. },
  21601. "bidvolume5": {
  21602. "description": "买量5",
  21603. "type": "integer"
  21604. },
  21605. "bidvolume6": {
  21606. "description": "买量6",
  21607. "type": "integer"
  21608. },
  21609. "bidvolume7": {
  21610. "description": "买量7",
  21611. "type": "integer"
  21612. },
  21613. "bidvolume8": {
  21614. "description": "买量8",
  21615. "type": "integer"
  21616. },
  21617. "bidvolume9": {
  21618. "description": "买量9",
  21619. "type": "integer"
  21620. },
  21621. "calloptionpremiums": {
  21622. "description": "认购期权1",
  21623. "type": "integer"
  21624. },
  21625. "calloptionpremiums2": {
  21626. "description": "认购期权2",
  21627. "type": "integer"
  21628. },
  21629. "calloptionpremiums3": {
  21630. "description": "认购期权3",
  21631. "type": "integer"
  21632. },
  21633. "calloptionpremiums4": {
  21634. "description": "认购期权4",
  21635. "type": "integer"
  21636. },
  21637. "calloptionpremiums5": {
  21638. "description": "认购期权5",
  21639. "type": "integer"
  21640. },
  21641. "cleartime": {
  21642. "description": "清盘时间",
  21643. "type": "integer"
  21644. },
  21645. "exchangecode": {
  21646. "description": "交易所代码",
  21647. "type": "integer"
  21648. },
  21649. "exchangedate": {
  21650. "description": "交易日",
  21651. "type": "integer"
  21652. },
  21653. "goodscode": {
  21654. "description": "商品代码",
  21655. "type": "string"
  21656. },
  21657. "grepmarketprice": {
  21658. "description": "暗盘价 港股专用",
  21659. "type": "number"
  21660. },
  21661. "highest": {
  21662. "description": "最高价",
  21663. "type": "number"
  21664. },
  21665. "holdincrement": {
  21666. "description": "单笔持仓",
  21667. "type": "integer"
  21668. },
  21669. "holdvolume": {
  21670. "description": "持仓",
  21671. "type": "integer"
  21672. },
  21673. "iep": {
  21674. "description": "平衡价 港股专用",
  21675. "type": "number"
  21676. },
  21677. "iev": {
  21678. "description": "平衡量 港股专用",
  21679. "type": "number"
  21680. },
  21681. "inventory": {
  21682. "description": "库存",
  21683. "type": "integer"
  21684. },
  21685. "iscleared": {
  21686. "description": "是否清盘标志",
  21687. "type": "integer"
  21688. },
  21689. "issettled": {
  21690. "description": "是否结算标志",
  21691. "type": "integer"
  21692. },
  21693. "last": {
  21694. "description": "最新价",
  21695. "type": "number"
  21696. },
  21697. "lastlot": {
  21698. "description": "最新成交手数",
  21699. "type": "integer"
  21700. },
  21701. "lasttime": {
  21702. "description": "行情时间(只有现价变化行情时间才变化)",
  21703. "type": "string"
  21704. },
  21705. "lastturnover": {
  21706. "description": "最新成交金额",
  21707. "type": "number"
  21708. },
  21709. "lastvolume": {
  21710. "description": "最新成交量",
  21711. "type": "integer"
  21712. },
  21713. "limitdown": {
  21714. "description": "跌停价",
  21715. "type": "number"
  21716. },
  21717. "limitup": {
  21718. "description": "涨停价",
  21719. "type": "number"
  21720. },
  21721. "lowest": {
  21722. "description": "最低价",
  21723. "type": "number"
  21724. },
  21725. "nontotalholdervolume": {
  21726. "description": "非交易持仓量",
  21727. "type": "integer"
  21728. },
  21729. "nontotallot": {
  21730. "description": "非交易总手数",
  21731. "type": "integer"
  21732. },
  21733. "nontotalturnover": {
  21734. "description": "非交易总金额",
  21735. "type": "integer"
  21736. },
  21737. "nontotalvolume": {
  21738. "description": "非交易总量",
  21739. "type": "integer"
  21740. },
  21741. "opened": {
  21742. "description": "开盘价",
  21743. "type": "number"
  21744. },
  21745. "opentime": {
  21746. "description": "开盘时间",
  21747. "type": "string"
  21748. },
  21749. "orderid": {
  21750. "description": "序号",
  21751. "type": "integer"
  21752. },
  21753. "preclose": {
  21754. "description": "昨收",
  21755. "type": "number"
  21756. },
  21757. "preholdvolume": {
  21758. "description": "昨持仓",
  21759. "type": "integer"
  21760. },
  21761. "presettle": {
  21762. "description": "昨结价",
  21763. "type": "number"
  21764. },
  21765. "publictradetype": {
  21766. "description": "公共交易标志类型 港股专用",
  21767. "type": "string"
  21768. },
  21769. "putoptionpremiums": {
  21770. "description": "认沽期权1",
  21771. "type": "integer"
  21772. },
  21773. "putoptionpremiums2": {
  21774. "description": "认沽期权2",
  21775. "type": "integer"
  21776. },
  21777. "putoptionpremiums3": {
  21778. "description": "认沽期权3",
  21779. "type": "integer"
  21780. },
  21781. "putoptionpremiums4": {
  21782. "description": "认沽期权4",
  21783. "type": "integer"
  21784. },
  21785. "putoptionpremiums5": {
  21786. "description": "认沽期权5",
  21787. "type": "integer"
  21788. },
  21789. "settle": {
  21790. "description": "结算价",
  21791. "type": "number"
  21792. },
  21793. "strikeprice": {
  21794. "description": "发行价",
  21795. "type": "number"
  21796. },
  21797. "totalaskvolume": {
  21798. "description": "内盘",
  21799. "type": "integer"
  21800. },
  21801. "totalbidvolume": {
  21802. "description": "外盘",
  21803. "type": "integer"
  21804. },
  21805. "totallot": {
  21806. "description": "总手数",
  21807. "type": "integer"
  21808. },
  21809. "totalturnover": {
  21810. "description": "总金额",
  21811. "type": "number"
  21812. },
  21813. "totalvolume": {
  21814. "description": "总量",
  21815. "type": "integer"
  21816. },
  21817. "utclasttime": {
  21818. "description": "utc的行情时间",
  21819. "type": "string"
  21820. }
  21821. }
  21822. },
  21823. "quote.QueryTSDataRsp": {
  21824. "type": "object",
  21825. "properties": {
  21826. "Count": {
  21827. "description": "交易日应有数据个数",
  21828. "type": "integer"
  21829. },
  21830. "decimalPlace": {
  21831. "description": "小数位",
  21832. "type": "integer"
  21833. },
  21834. "endTime": {
  21835. "description": "结束时间",
  21836. "type": "string"
  21837. },
  21838. "goodsCode": {
  21839. "description": "商品代码",
  21840. "type": "string"
  21841. },
  21842. "historyDatas": {
  21843. "description": "历史数据",
  21844. "type": "array",
  21845. "items": {
  21846. "$ref": "#/definitions/quote.HistoryData"
  21847. }
  21848. },
  21849. "outGoodsCode": {
  21850. "description": "外部商品代码",
  21851. "type": "string"
  21852. },
  21853. "preSettle": {
  21854. "description": "昨结价",
  21855. "type": "number"
  21856. },
  21857. "runSteps": {
  21858. "description": "交易日开休市计划",
  21859. "type": "array",
  21860. "items": {
  21861. "$ref": "#/definitions/quote.TSDataRunStep"
  21862. }
  21863. },
  21864. "startTime": {
  21865. "description": "开始时间",
  21866. "type": "string"
  21867. },
  21868. "tradeDate": {
  21869. "description": "交易日",
  21870. "type": "string"
  21871. }
  21872. }
  21873. },
  21874. "quote.TSDataRunStep": {
  21875. "type": "object",
  21876. "properties": {
  21877. "end": {
  21878. "description": "真实结束时间",
  21879. "type": "string"
  21880. },
  21881. "endflag": {
  21882. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21883. "type": "integer"
  21884. },
  21885. "endtime": {
  21886. "description": "结束时间(HH:mm)",
  21887. "type": "string"
  21888. },
  21889. "endweekday": {
  21890. "description": "结束周几",
  21891. "type": "integer"
  21892. },
  21893. "groupid": {
  21894. "description": "分组ID",
  21895. "type": "integer"
  21896. },
  21897. "runstep": {
  21898. "description": "运行阶段 - 2:连续交易",
  21899. "type": "integer"
  21900. },
  21901. "sectionid": {
  21902. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21903. "type": "integer"
  21904. },
  21905. "start": {
  21906. "description": "真实开始时间",
  21907. "type": "string"
  21908. },
  21909. "startflag": {
  21910. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21911. "type": "integer"
  21912. },
  21913. "starttime": {
  21914. "description": "起始时间(HH:mm)",
  21915. "type": "string"
  21916. },
  21917. "startweekday": {
  21918. "description": "起始周几",
  21919. "type": "integer"
  21920. },
  21921. "tradeweekday": {
  21922. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21923. "type": "integer"
  21924. }
  21925. }
  21926. },
  21927. "szdz.QueryConvertLogRsp": {
  21928. "type": "object",
  21929. "required": [
  21930. "logid"
  21931. ],
  21932. "properties": {
  21933. "accountid": {
  21934. "description": "资金账户ID",
  21935. "type": "integer"
  21936. },
  21937. "clientticket": {
  21938. "description": "客户端流水号",
  21939. "type": "string"
  21940. },
  21941. "converttype": {
  21942. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21943. "type": "integer"
  21944. },
  21945. "createtime": {
  21946. "description": "记账时间",
  21947. "type": "string"
  21948. },
  21949. "daymaxvalue": {
  21950. "description": "配置当日最大转入限制",
  21951. "type": "number"
  21952. },
  21953. "daymaxvalue2": {
  21954. "description": "配置当日最大转入限制(转入)",
  21955. "type": "number"
  21956. },
  21957. "goodscode": {
  21958. "description": "商品代码",
  21959. "type": "string"
  21960. },
  21961. "goodsname": {
  21962. "description": "商品名称",
  21963. "type": "string"
  21964. },
  21965. "handlestatus": {
  21966. "description": "处理状态",
  21967. "type": "integer"
  21968. },
  21969. "innergoodsid": {
  21970. "description": "内部商品ID",
  21971. "type": "integer"
  21972. },
  21973. "inratio": {
  21974. "description": "配置转入比值",
  21975. "type": "integer"
  21976. },
  21977. "invalue": {
  21978. "description": "目标值",
  21979. "type": "number"
  21980. },
  21981. "logid": {
  21982. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21983. "type": "integer"
  21984. },
  21985. "mobile": {
  21986. "description": "手机号码(加密存储)",
  21987. "type": "string"
  21988. },
  21989. "outergoodscode": {
  21990. "description": "外部商品代码[JD\\PD]",
  21991. "type": "string"
  21992. },
  21993. "outratio": {
  21994. "description": "配置转出比值",
  21995. "type": "integer"
  21996. },
  21997. "outvalue": {
  21998. "description": "源值",
  21999. "type": "number"
  22000. },
  22001. "pddecimalplace": {
  22002. "description": "PD小数位",
  22003. "type": "integer"
  22004. },
  22005. "qty": {
  22006. "description": "数量",
  22007. "type": "string"
  22008. },
  22009. "remark": {
  22010. "description": "备注",
  22011. "type": "string"
  22012. },
  22013. "sessionid": {
  22014. "description": "会话ID",
  22015. "type": "integer"
  22016. },
  22017. "timemaxvalue": {
  22018. "description": "配置单次最大转入限制",
  22019. "type": "number"
  22020. },
  22021. "timemaxvalue2": {
  22022. "description": "配置单次最大转入限制(转入)",
  22023. "type": "number"
  22024. },
  22025. "timeminvalue": {
  22026. "description": "配置单次最小数量限制",
  22027. "type": "number"
  22028. },
  22029. "timeminvalue2": {
  22030. "description": "配置单次最小数量限制(转入)",
  22031. "type": "number"
  22032. },
  22033. "tradedate": {
  22034. "description": "交易日(yyyyMMdd)",
  22035. "type": "string"
  22036. },
  22037. "userid": {
  22038. "description": "用户ID",
  22039. "type": "integer"
  22040. }
  22041. }
  22042. },
  22043. "szdz.QueryGoodsPickupRsp": {
  22044. "type": "object",
  22045. "required": [
  22046. "takeorderid"
  22047. ],
  22048. "properties": {
  22049. "accountid": {
  22050. "description": "账户ID",
  22051. "type": "integer"
  22052. },
  22053. "address": {
  22054. "description": "提货人详细地址",
  22055. "type": "string"
  22056. },
  22057. "auditer": {
  22058. "description": "审核人",
  22059. "type": "integer"
  22060. },
  22061. "audittime": {
  22062. "description": "审核时间",
  22063. "type": "string"
  22064. },
  22065. "cardnum": {
  22066. "description": "提货人证件号码",
  22067. "type": "string"
  22068. },
  22069. "cardtypeid": {
  22070. "description": "提货人证件类型",
  22071. "type": "integer"
  22072. },
  22073. "checkremark": {
  22074. "description": "审核备注",
  22075. "type": "string"
  22076. },
  22077. "goodscode": {
  22078. "description": "商品代码",
  22079. "type": "string"
  22080. },
  22081. "goodsid": {
  22082. "description": "商品ID",
  22083. "type": "integer"
  22084. },
  22085. "goodsname": {
  22086. "description": "商品名称",
  22087. "type": "string"
  22088. },
  22089. "handlestatus": {
  22090. "description": "处理状态",
  22091. "type": "integer"
  22092. },
  22093. "marketid": {
  22094. "description": "市场ID",
  22095. "type": "integer"
  22096. },
  22097. "phonenum": {
  22098. "description": "提货人联系方式",
  22099. "type": "string"
  22100. },
  22101. "qty": {
  22102. "description": "提货数量",
  22103. "type": "number"
  22104. },
  22105. "recivername": {
  22106. "description": "提货人姓名",
  22107. "type": "string"
  22108. },
  22109. "reqtime": {
  22110. "description": "更新时间",
  22111. "type": "string"
  22112. },
  22113. "takemode": {
  22114. "description": "提货方式 - 2:自提 3:配送",
  22115. "type": "integer"
  22116. },
  22117. "takeorderid": {
  22118. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22119. "type": "string"
  22120. },
  22121. "takeorderstatus": {
  22122. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22123. "type": "integer"
  22124. },
  22125. "takeremark": {
  22126. "description": "提货备注",
  22127. "type": "string"
  22128. },
  22129. "tradedate": {
  22130. "description": "交易日(yyyyMMdd)",
  22131. "type": "string"
  22132. },
  22133. "userid": {
  22134. "description": "用户ID",
  22135. "type": "integer"
  22136. }
  22137. }
  22138. },
  22139. "szdz.QueryRecieptOrderRsp": {
  22140. "type": "object",
  22141. "required": [
  22142. "ordertime"
  22143. ],
  22144. "properties": {
  22145. "accountName": {
  22146. "description": "所属账号名称(已脱敏)",
  22147. "type": "string"
  22148. },
  22149. "accountid": {
  22150. "description": "资金账号",
  22151. "type": "integer"
  22152. },
  22153. "buyorsell": {
  22154. "description": "方向 - 0:买 1:卖",
  22155. "type": "integer"
  22156. },
  22157. "enableqty": {
  22158. "description": "可摘数量",
  22159. "type": "integer"
  22160. },
  22161. "goodscode": {
  22162. "description": "商品代码",
  22163. "type": "string"
  22164. },
  22165. "goodsid": {
  22166. "description": "商品ID",
  22167. "type": "integer"
  22168. },
  22169. "goodsname": {
  22170. "description": "商品名称",
  22171. "type": "string"
  22172. },
  22173. "orderid": {
  22174. "description": "委托单号",
  22175. "type": "string"
  22176. },
  22177. "orderprice": {
  22178. "description": "委托价格",
  22179. "type": "number"
  22180. },
  22181. "ordertime": {
  22182. "description": "委托时间",
  22183. "type": "string"
  22184. },
  22185. "tradedate": {
  22186. "description": "交易日(yyyyMMdd)",
  22187. "type": "string"
  22188. }
  22189. }
  22190. },
  22191. "szdz.QuerySZDZTradePositionRsp": {
  22192. "type": "object",
  22193. "properties": {
  22194. "accountid": {
  22195. "description": "账号Id",
  22196. "type": "integer"
  22197. },
  22198. "agreeunit": {
  22199. "description": "合约单位",
  22200. "type": "number"
  22201. },
  22202. "averageprice": {
  22203. "description": "持仓均价",
  22204. "type": "number"
  22205. },
  22206. "buyorsell": {
  22207. "description": "方向 - 0:买 1:卖",
  22208. "type": "integer"
  22209. },
  22210. "closetotalqty": {
  22211. "description": "平仓总数量",
  22212. "type": "integer"
  22213. },
  22214. "curholderamount": {
  22215. "description": "当前持仓总金额",
  22216. "type": "number"
  22217. },
  22218. "curpositionqty": {
  22219. "description": "当前持仓总数量",
  22220. "type": "integer"
  22221. },
  22222. "currencyid": {
  22223. "description": "报价货币ID",
  22224. "type": "integer"
  22225. },
  22226. "curtdposition": {
  22227. "description": "期末今日头寸",
  22228. "type": "integer"
  22229. },
  22230. "decimalplace": {
  22231. "description": "报价小数位",
  22232. "type": "integer"
  22233. },
  22234. "enableqty": {
  22235. "description": "可用量",
  22236. "type": "integer"
  22237. },
  22238. "fretdposition": {
  22239. "description": "冻结今日头寸",
  22240. "type": "integer"
  22241. },
  22242. "frozenqty": {
  22243. "description": "持仓冻结数量",
  22244. "type": "integer"
  22245. },
  22246. "goodscode": {
  22247. "description": "商品代码(内部)",
  22248. "type": "string"
  22249. },
  22250. "goodsid": {
  22251. "description": "商品Id",
  22252. "type": "integer"
  22253. },
  22254. "goodsname": {
  22255. "description": "商品名称",
  22256. "type": "string"
  22257. },
  22258. "goodunit": {
  22259. "description": "报价单位",
  22260. "type": "string"
  22261. },
  22262. "goodunitid": {
  22263. "description": "报价单位ID",
  22264. "type": "integer"
  22265. },
  22266. "holderamount": {
  22267. "description": "期初持仓总金额",
  22268. "type": "number"
  22269. },
  22270. "marketid": {
  22271. "description": "市场ID",
  22272. "type": "integer"
  22273. },
  22274. "openreqqty": {
  22275. "description": "开仓申请数量",
  22276. "type": "integer"
  22277. },
  22278. "opentotalqty": {
  22279. "description": "开仓总数量",
  22280. "type": "integer"
  22281. },
  22282. "otherfrozenqty": {
  22283. "description": "持仓其他冻结数量(交割冻结)",
  22284. "type": "integer"
  22285. },
  22286. "positionqty": {
  22287. "description": "期初持仓数量",
  22288. "type": "integer"
  22289. },
  22290. "szdz3freezqty": {
  22291. "description": "尚志大宗转换冻结总数量",
  22292. "type": "integer"
  22293. },
  22294. "tnqty": {
  22295. "description": "T+N冻结总量",
  22296. "type": "integer"
  22297. },
  22298. "tnusedqty": {
  22299. "description": "T+N使用量",
  22300. "type": "integer"
  22301. },
  22302. "trademode": {
  22303. "description": "交易模式",
  22304. "type": "integer"
  22305. },
  22306. "usedmargin": {
  22307. "description": "占用保证金",
  22308. "type": "number"
  22309. }
  22310. }
  22311. },
  22312. "taaccount.QueryAmountLogRsp": {
  22313. "type": "object",
  22314. "required": [
  22315. "accountid",
  22316. "amount",
  22317. "amountadjusttype",
  22318. "autoid",
  22319. "balance",
  22320. "createtime",
  22321. "currentbalance",
  22322. "operatetype"
  22323. ],
  22324. "properties": {
  22325. "OPERATETYPENAME": {
  22326. "description": "资金操作类型名称",
  22327. "type": "string"
  22328. },
  22329. "accountid": {
  22330. "description": "资金账户ID",
  22331. "type": "integer"
  22332. },
  22333. "agoodscode": {
  22334. "description": "竞拍商品代码",
  22335. "type": "string"
  22336. },
  22337. "agoodsname": {
  22338. "description": "竞拍商品名称",
  22339. "type": "string"
  22340. },
  22341. "amount": {
  22342. "description": "资金金额",
  22343. "type": "number"
  22344. },
  22345. "amountadjusttype": {
  22346. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22347. "type": "integer"
  22348. },
  22349. "autoid": {
  22350. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22351. "type": "integer"
  22352. },
  22353. "balance": {
  22354. "description": "期初余额",
  22355. "type": "number"
  22356. },
  22357. "businesscode": {
  22358. "description": "业务编号",
  22359. "type": "integer"
  22360. },
  22361. "createtime": {
  22362. "description": "发生时间",
  22363. "type": "string"
  22364. },
  22365. "currencyid": {
  22366. "description": "币种ID",
  22367. "type": "integer"
  22368. },
  22369. "currentbalance": {
  22370. "description": "期末余额(变动后金额)",
  22371. "type": "number"
  22372. },
  22373. "dgoodscode": {
  22374. "description": "交割商品代码",
  22375. "type": "string"
  22376. },
  22377. "dgoodsname": {
  22378. "description": "交割商品名称",
  22379. "type": "string"
  22380. },
  22381. "goodscode": {
  22382. "description": "商品代码",
  22383. "type": "string"
  22384. },
  22385. "goodsid": {
  22386. "description": "商品ID",
  22387. "type": "integer"
  22388. },
  22389. "goodsname": {
  22390. "description": "商品名称",
  22391. "type": "string"
  22392. },
  22393. "marketid": {
  22394. "description": "市场ID",
  22395. "type": "integer"
  22396. },
  22397. "marketname": {
  22398. "description": "市场名称",
  22399. "type": "string"
  22400. },
  22401. "moneyticket": {
  22402. "description": "资金流水号:银行端流水号",
  22403. "type": "integer"
  22404. },
  22405. "operatetype": {
  22406. "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:营销收款",
  22407. "type": "integer"
  22408. },
  22409. "relationorderid": {
  22410. "description": "关联单号",
  22411. "type": "string"
  22412. },
  22413. "remark": {
  22414. "description": "备注",
  22415. "type": "string"
  22416. },
  22417. "trademode": {
  22418. "description": "交易模式",
  22419. "type": "integer"
  22420. }
  22421. }
  22422. },
  22423. "taaccount.QueryHisAmountLogRsp": {
  22424. "type": "object",
  22425. "required": [
  22426. "accountid",
  22427. "amount",
  22428. "amountadjusttype",
  22429. "autoid",
  22430. "balance",
  22431. "createtime",
  22432. "currentbalance",
  22433. "histradedate",
  22434. "operatetype"
  22435. ],
  22436. "properties": {
  22437. "OPERATETYPENAME": {
  22438. "description": "资金操作类型名称",
  22439. "type": "string"
  22440. },
  22441. "accountid": {
  22442. "description": "资金账户ID",
  22443. "type": "integer"
  22444. },
  22445. "agoodscode": {
  22446. "description": "竞拍商品代码",
  22447. "type": "string"
  22448. },
  22449. "agoodsname": {
  22450. "description": "竞拍商品名称",
  22451. "type": "string"
  22452. },
  22453. "amount": {
  22454. "description": "资金金额",
  22455. "type": "number"
  22456. },
  22457. "amountadjusttype": {
  22458. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22459. "type": "integer"
  22460. },
  22461. "autoid": {
  22462. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22463. "type": "integer"
  22464. },
  22465. "balance": {
  22466. "description": "期初余额",
  22467. "type": "number"
  22468. },
  22469. "businesscode": {
  22470. "description": "业务编号",
  22471. "type": "integer"
  22472. },
  22473. "createtime": {
  22474. "description": "发生时间",
  22475. "type": "string"
  22476. },
  22477. "currencyid": {
  22478. "description": "币种ID",
  22479. "type": "integer"
  22480. },
  22481. "currentbalance": {
  22482. "description": "期末余额(变动后金额)",
  22483. "type": "number"
  22484. },
  22485. "dgoodscode": {
  22486. "description": "交割商品代码",
  22487. "type": "string"
  22488. },
  22489. "dgoodsname": {
  22490. "description": "交割商品名称",
  22491. "type": "string"
  22492. },
  22493. "goodscode": {
  22494. "description": "商品代码",
  22495. "type": "string"
  22496. },
  22497. "goodsid": {
  22498. "description": "商品ID",
  22499. "type": "integer"
  22500. },
  22501. "goodsname": {
  22502. "description": "商品名称",
  22503. "type": "string"
  22504. },
  22505. "histradedate": {
  22506. "description": "历史交易日",
  22507. "type": "string"
  22508. },
  22509. "isvaliddata": {
  22510. "description": "是否有效 - 0:无效 1:有效",
  22511. "type": "integer"
  22512. },
  22513. "marketid": {
  22514. "description": "市场ID",
  22515. "type": "integer"
  22516. },
  22517. "marketname": {
  22518. "description": "市场名称",
  22519. "type": "string"
  22520. },
  22521. "moneyticket": {
  22522. "description": "资金流水号:银行端流水号",
  22523. "type": "integer"
  22524. },
  22525. "operatetype": {
  22526. "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:营销收款",
  22527. "type": "integer"
  22528. },
  22529. "relationorderid": {
  22530. "description": "关联单号",
  22531. "type": "string"
  22532. },
  22533. "remark": {
  22534. "description": "备注",
  22535. "type": "string"
  22536. },
  22537. "trademode": {
  22538. "description": "交易模式",
  22539. "type": "integer"
  22540. }
  22541. }
  22542. },
  22543. "trade.QueryRecieptOrderRsp": {
  22544. "type": "object",
  22545. "required": [
  22546. "ordertime"
  22547. ],
  22548. "properties": {
  22549. "accountName": {
  22550. "description": "所属账号名称(已脱敏)",
  22551. "type": "string"
  22552. },
  22553. "accountid": {
  22554. "description": "资金账号",
  22555. "type": "integer"
  22556. },
  22557. "buyorsell": {
  22558. "description": "方向 - 0:买 1:卖",
  22559. "type": "integer"
  22560. },
  22561. "enableqty": {
  22562. "description": "可摘数量",
  22563. "type": "integer"
  22564. },
  22565. "goodscode": {
  22566. "description": "商品代码",
  22567. "type": "string"
  22568. },
  22569. "goodsid": {
  22570. "description": "商品ID",
  22571. "type": "integer"
  22572. },
  22573. "goodsname": {
  22574. "description": "商品名称",
  22575. "type": "string"
  22576. },
  22577. "orderid": {
  22578. "description": "委托单号",
  22579. "type": "string"
  22580. },
  22581. "orderprice": {
  22582. "description": "委托价格",
  22583. "type": "number"
  22584. },
  22585. "ordertime": {
  22586. "description": "委托时间",
  22587. "type": "string"
  22588. },
  22589. "tradedate": {
  22590. "description": "交易日(yyyyMMdd)",
  22591. "type": "string"
  22592. }
  22593. }
  22594. },
  22595. "user.LoginQueryRsp": {
  22596. "type": "object",
  22597. "properties": {
  22598. "externalExchanges": {
  22599. "description": "外部交易所",
  22600. "type": "array",
  22601. "items": {
  22602. "$ref": "#/definitions/models.Externalexchange"
  22603. }
  22604. },
  22605. "goodsgroups": {
  22606. "description": "商品组",
  22607. "type": "array",
  22608. "items": {
  22609. "$ref": "#/definitions/models.Goodsgroup"
  22610. }
  22611. },
  22612. "loginAccount": {
  22613. "description": "登录账号",
  22614. "type": "object",
  22615. "$ref": "#/definitions/models.Loginaccount"
  22616. },
  22617. "markets": {
  22618. "description": "市场",
  22619. "type": "array",
  22620. "items": {
  22621. "$ref": "#/definitions/models.Market"
  22622. }
  22623. },
  22624. "systemParams": {
  22625. "description": "系统参数",
  22626. "type": "array",
  22627. "items": {
  22628. "$ref": "#/definitions/models.Systemparam"
  22629. }
  22630. },
  22631. "userAccount": {
  22632. "description": "用户账号",
  22633. "type": "object",
  22634. "$ref": "#/definitions/models.Useraccount"
  22635. },
  22636. "userInfo": {
  22637. "description": "用户信息",
  22638. "type": "object",
  22639. "$ref": "#/definitions/models.Userinfo"
  22640. },
  22641. "username": {
  22642. "description": "用户姓名",
  22643. "type": "string"
  22644. }
  22645. }
  22646. }
  22647. },
  22648. "securityDefinitions": {
  22649. "ApiKeyAuth": {
  22650. "type": "apiKey",
  22651. "name": "Authorization",
  22652. "in": "header"
  22653. }
  22654. }
  22655. }`
  22656. type swaggerInfo struct {
  22657. Version string
  22658. Host string
  22659. BasePath string
  22660. Schemes []string
  22661. Title string
  22662. Description string
  22663. }
  22664. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22665. var SwaggerInfo = swaggerInfo{
  22666. Version: "1.0",
  22667. Host: "",
  22668. BasePath: "/api",
  22669. Schemes: []string{},
  22670. Title: "MTP2.0 查询服务 API",
  22671. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22672. }
  22673. type s struct{}
  22674. func (s *s) ReadDoc() string {
  22675. sInfo := SwaggerInfo
  22676. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22677. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22678. "marshal": func(v interface{}) string {
  22679. a, _ := json.Marshal(v)
  22680. return string(a)
  22681. },
  22682. }).Parse(doc)
  22683. if err != nil {
  22684. return doc
  22685. }
  22686. var tpl bytes.Buffer
  22687. if err := t.Execute(&tpl, sInfo); err != nil {
  22688. return doc
  22689. }
  22690. return tpl.String()
  22691. }
  22692. func init() {
  22693. swag.Register(swag.Name, &s{})
  22694. }