docs.go 784 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849
  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. "/Erms2/QueryArbitrageStrategy": {
  4017. "get": {
  4018. "security": [
  4019. {
  4020. "ApiKeyAuth": []
  4021. }
  4022. ],
  4023. "produces": [
  4024. "application/json"
  4025. ],
  4026. "tags": [
  4027. "风险管理"
  4028. ],
  4029. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4030. "parameters": [
  4031. {
  4032. "type": "integer",
  4033. "description": "账户ID",
  4034. "name": "userid",
  4035. "in": "query",
  4036. "required": true
  4037. },
  4038. {
  4039. "type": "string",
  4040. "description": "商品组ID(品种ID)",
  4041. "name": "goodsgroupid",
  4042. "in": "query"
  4043. }
  4044. ],
  4045. "responses": {
  4046. "200": {
  4047. "description": "OK",
  4048. "schema": {
  4049. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Erms2/QueryInnerTradeDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "风险管理"
  4073. ],
  4074. "summary": "查询内部成交单信息",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "资金账户",
  4079. "name": "accountid",
  4080. "in": "query",
  4081. "required": true
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4089. }
  4090. },
  4091. "500": {
  4092. "description": "Internal Server Error",
  4093. "schema": {
  4094. "$ref": "#/definitions/app.Response"
  4095. }
  4096. }
  4097. }
  4098. }
  4099. },
  4100. "/Erms2/QuerySpotContract": {
  4101. "get": {
  4102. "security": [
  4103. {
  4104. "ApiKeyAuth": []
  4105. }
  4106. ],
  4107. "produces": [
  4108. "application/json"
  4109. ],
  4110. "tags": [
  4111. "风险管理"
  4112. ],
  4113. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4114. "parameters": [
  4115. {
  4116. "type": "integer",
  4117. "description": "策略申请ID",
  4118. "name": "asapplyid",
  4119. "in": "query",
  4120. "required": true
  4121. },
  4122. {
  4123. "type": "integer",
  4124. "description": "现货合同ID",
  4125. "name": "spotcontractid",
  4126. "in": "query"
  4127. }
  4128. ],
  4129. "responses": {
  4130. "200": {
  4131. "description": "OK",
  4132. "schema": {
  4133. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4134. }
  4135. },
  4136. "500": {
  4137. "description": "Internal Server Error",
  4138. "schema": {
  4139. "$ref": "#/definitions/app.Response"
  4140. }
  4141. }
  4142. }
  4143. }
  4144. },
  4145. "/Erms3/AddErms2ASApply": {
  4146. "post": {
  4147. "security": [
  4148. {
  4149. "ApiKeyAuth": []
  4150. }
  4151. ],
  4152. "produces": [
  4153. "application/json"
  4154. ],
  4155. "tags": [
  4156. "风险管理v3"
  4157. ],
  4158. "summary": "新增期现套利业务申请",
  4159. "parameters": [
  4160. {
  4161. "description": "申请参数",
  4162. "name": "jsonBody",
  4163. "in": "body",
  4164. "required": true,
  4165. "schema": {
  4166. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4167. }
  4168. }
  4169. ],
  4170. "responses": {
  4171. "200": {
  4172. "description": "OK",
  4173. "schema": {
  4174. "$ref": "#/definitions/app.Response"
  4175. }
  4176. },
  4177. "500": {
  4178. "description": "Internal Server Error",
  4179. "schema": {
  4180. "$ref": "#/definitions/app.Response"
  4181. }
  4182. }
  4183. }
  4184. }
  4185. },
  4186. "/Erms3/AddErms2SpotTradeApply": {
  4187. "post": {
  4188. "security": [
  4189. {
  4190. "ApiKeyAuth": []
  4191. }
  4192. ],
  4193. "produces": [
  4194. "application/json"
  4195. ],
  4196. "tags": [
  4197. "风险管理v3"
  4198. ],
  4199. "summary": "新增现货贸易业务申请",
  4200. "parameters": [
  4201. {
  4202. "description": "申请参数",
  4203. "name": "jsonBody",
  4204. "in": "body",
  4205. "required": true,
  4206. "schema": {
  4207. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4208. }
  4209. }
  4210. ],
  4211. "responses": {
  4212. "200": {
  4213. "description": "OK",
  4214. "schema": {
  4215. "$ref": "#/definitions/app.Response"
  4216. }
  4217. },
  4218. "500": {
  4219. "description": "Internal Server Error",
  4220. "schema": {
  4221. "$ref": "#/definitions/app.Response"
  4222. }
  4223. }
  4224. }
  4225. }
  4226. },
  4227. "/Erms3/AddSpotContractApply": {
  4228. "post": {
  4229. "security": [
  4230. {
  4231. "ApiKeyAuth": []
  4232. }
  4233. ],
  4234. "produces": [
  4235. "application/json"
  4236. ],
  4237. "tags": [
  4238. "风险管理v3"
  4239. ],
  4240. "summary": "新增现货合同申请",
  4241. "parameters": [
  4242. {
  4243. "description": "申请参数",
  4244. "name": "jsonBody",
  4245. "in": "body",
  4246. "required": true,
  4247. "schema": {
  4248. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4249. }
  4250. }
  4251. ],
  4252. "responses": {
  4253. "200": {
  4254. "description": "OK",
  4255. "schema": {
  4256. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Erms3/AddUserInfoApply": {
  4269. "post": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "风险管理v3"
  4280. ],
  4281. "summary": "新增客户申请",
  4282. "parameters": [
  4283. {
  4284. "description": "用户信息",
  4285. "name": "jsonBody",
  4286. "in": "body",
  4287. "required": true,
  4288. "schema": {
  4289. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4290. }
  4291. }
  4292. ],
  4293. "responses": {
  4294. "200": {
  4295. "description": "OK",
  4296. "schema": {
  4297. "$ref": "#/definitions/app.Response"
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/Erms3/ModifyUserInfoApply": {
  4310. "post": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "风险管理v3"
  4322. ],
  4323. "summary": "修改客户申请",
  4324. "parameters": [
  4325. {
  4326. "description": "用户信息",
  4327. "name": "jsonBody",
  4328. "in": "body",
  4329. "required": true,
  4330. "schema": {
  4331. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4332. }
  4333. }
  4334. ],
  4335. "responses": {
  4336. "200": {
  4337. "description": "OK",
  4338. "schema": {
  4339. "$ref": "#/definitions/app.Response"
  4340. }
  4341. },
  4342. "500": {
  4343. "description": "Internal Server Error",
  4344. "schema": {
  4345. "$ref": "#/definitions/app.Response"
  4346. }
  4347. }
  4348. }
  4349. }
  4350. },
  4351. "/Erms3/QueryBusinessInfo": {
  4352. "get": {
  4353. "security": [
  4354. {
  4355. "ApiKeyAuth": []
  4356. }
  4357. ],
  4358. "produces": [
  4359. "application/json"
  4360. ],
  4361. "tags": [
  4362. "风险管理v3"
  4363. ],
  4364. "summary": "查询业务表单数据",
  4365. "parameters": [
  4366. {
  4367. "type": "string",
  4368. "description": "资金账号ID列表,用逗号分隔",
  4369. "name": "accountids",
  4370. "in": "query",
  4371. "required": true
  4372. },
  4373. {
  4374. "type": "integer",
  4375. "description": "状态,0为未结束 1为已结束",
  4376. "name": "status",
  4377. "in": "query",
  4378. "required": true
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "type": "array",
  4386. "items": {
  4387. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4388. }
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/app.Response"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/Erms3/QueryPendingAuditContract": {
  4401. "get": {
  4402. "security": [
  4403. {
  4404. "ApiKeyAuth": []
  4405. }
  4406. ],
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "风险管理v3"
  4412. ],
  4413. "summary": "查询待审核合同",
  4414. "parameters": [
  4415. {
  4416. "type": "string",
  4417. "description": "资金账号ID列表,逗号隔开",
  4418. "name": "accountids",
  4419. "in": "query",
  4420. "required": true
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "合同类型 1-采购 -1-销售",
  4425. "name": "contracttype",
  4426. "in": "query",
  4427. "required": true
  4428. },
  4429. {
  4430. "type": "integer",
  4431. "description": "合同模式 1-普通 2-回购",
  4432. "name": "contractmode",
  4433. "in": "query",
  4434. "required": true
  4435. }
  4436. ],
  4437. "responses": {
  4438. "200": {
  4439. "description": "OK",
  4440. "schema": {
  4441. "type": "array",
  4442. "items": {
  4443. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4444. }
  4445. }
  4446. },
  4447. "500": {
  4448. "description": "Internal Server Error",
  4449. "schema": {
  4450. "$ref": "#/definitions/app.Response"
  4451. }
  4452. }
  4453. }
  4454. }
  4455. },
  4456. "/Erms3/QueryPendingBusiness": {
  4457. "get": {
  4458. "security": [
  4459. {
  4460. "ApiKeyAuth": []
  4461. }
  4462. ],
  4463. "produces": [
  4464. "application/json"
  4465. ],
  4466. "tags": [
  4467. "风险管理v3"
  4468. ],
  4469. "summary": "查询待审核基差贸易业务",
  4470. "parameters": [
  4471. {
  4472. "type": "string",
  4473. "description": "资金账号ID列表,逗号隔开",
  4474. "name": "accountids",
  4475. "in": "query",
  4476. "required": true
  4477. }
  4478. ],
  4479. "responses": {
  4480. "200": {
  4481. "description": "OK",
  4482. "schema": {
  4483. "type": "array",
  4484. "items": {
  4485. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4486. }
  4487. }
  4488. },
  4489. "500": {
  4490. "description": "Internal Server Error",
  4491. "schema": {
  4492. "$ref": "#/definitions/app.Response"
  4493. }
  4494. }
  4495. }
  4496. }
  4497. },
  4498. "/Erms3/QuerySpotContractAppleForm": {
  4499. "get": {
  4500. "security": [
  4501. {
  4502. "ApiKeyAuth": []
  4503. }
  4504. ],
  4505. "produces": [
  4506. "application/json"
  4507. ],
  4508. "tags": [
  4509. "风险管理v3"
  4510. ],
  4511. "summary": "查询合同申请表单数据",
  4512. "parameters": [
  4513. {
  4514. "type": "integer",
  4515. "description": "登录账号",
  4516. "name": "loginID",
  4517. "in": "query",
  4518. "required": true
  4519. }
  4520. ],
  4521. "responses": {
  4522. "200": {
  4523. "description": "OK",
  4524. "schema": {
  4525. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4526. }
  4527. },
  4528. "500": {
  4529. "description": "Internal Server Error",
  4530. "schema": {
  4531. "$ref": "#/definitions/app.Response"
  4532. }
  4533. }
  4534. }
  4535. }
  4536. },
  4537. "/Erms3/QuerySpotContractDetail": {
  4538. "get": {
  4539. "security": [
  4540. {
  4541. "ApiKeyAuth": []
  4542. }
  4543. ],
  4544. "produces": [
  4545. "application/json"
  4546. ],
  4547. "tags": [
  4548. "风险管理v3"
  4549. ],
  4550. "summary": "查询合同详细信息",
  4551. "parameters": [
  4552. {
  4553. "type": "string",
  4554. "description": "资金账号ID列表,用逗号分隔",
  4555. "name": "accountids",
  4556. "in": "query",
  4557. "required": true
  4558. },
  4559. {
  4560. "type": "integer",
  4561. "description": "合同类型,1为采购合同 -1为销售合同",
  4562. "name": "contracttype",
  4563. "in": "query",
  4564. "required": true
  4565. },
  4566. {
  4567. "type": "integer",
  4568. "description": "合同模式,1为普通合同 2为回购销售合同",
  4569. "name": "contractmode",
  4570. "in": "query",
  4571. "required": true
  4572. },
  4573. {
  4574. "type": "integer",
  4575. "description": "状态,0为履约中 1为已完成",
  4576. "name": "status",
  4577. "in": "query",
  4578. "required": true
  4579. }
  4580. ],
  4581. "responses": {
  4582. "200": {
  4583. "description": "OK",
  4584. "schema": {
  4585. "type": "array",
  4586. "items": {
  4587. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4588. }
  4589. }
  4590. },
  4591. "500": {
  4592. "description": "Internal Server Error",
  4593. "schema": {
  4594. "$ref": "#/definitions/app.Response"
  4595. }
  4596. }
  4597. }
  4598. }
  4599. },
  4600. "/Erms3/QueryUserInfoApplies": {
  4601. "get": {
  4602. "security": [
  4603. {
  4604. "ApiKeyAuth": []
  4605. }
  4606. ],
  4607. "produces": [
  4608. "application/json"
  4609. ],
  4610. "tags": [
  4611. "风险管理v3"
  4612. ],
  4613. "summary": "客户申请信息查询",
  4614. "parameters": [
  4615. {
  4616. "type": "integer",
  4617. "description": "页码",
  4618. "name": "page",
  4619. "in": "query"
  4620. },
  4621. {
  4622. "type": "integer",
  4623. "description": "每页条数",
  4624. "name": "pagesize",
  4625. "in": "query"
  4626. },
  4627. {
  4628. "type": "string",
  4629. "description": "客户名称,支持模糊查询",
  4630. "name": "userName",
  4631. "in": "query"
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4639. }
  4640. },
  4641. "500": {
  4642. "description": "Internal Server Error",
  4643. "schema": {
  4644. "$ref": "#/definitions/app.Response"
  4645. }
  4646. }
  4647. }
  4648. }
  4649. },
  4650. "/Erms3/QueryUserInfos": {
  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": "integer",
  4667. "description": "页码",
  4668. "name": "page",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "每页条数",
  4674. "name": "pagesize",
  4675. "in": "query"
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "客户名称,支持模糊查询",
  4680. "name": "userName",
  4681. "in": "query"
  4682. }
  4683. ],
  4684. "responses": {
  4685. "200": {
  4686. "description": "OK",
  4687. "schema": {
  4688. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4689. }
  4690. },
  4691. "500": {
  4692. "description": "Internal Server Error",
  4693. "schema": {
  4694. "$ref": "#/definitions/app.Response"
  4695. }
  4696. }
  4697. }
  4698. }
  4699. },
  4700. "/HSBY/GetHsbyMyCount": {
  4701. "get": {
  4702. "security": [
  4703. {
  4704. "ApiKeyAuth": []
  4705. }
  4706. ],
  4707. "description": "说明: 不包括已完成的数量。",
  4708. "produces": [
  4709. "application/json"
  4710. ],
  4711. "tags": [
  4712. "定制【海商报业】"
  4713. ],
  4714. "summary": "获取我的订单与包裹数量",
  4715. "parameters": [
  4716. {
  4717. "type": "string",
  4718. "description": "资金账户列表,格式:1,2,3",
  4719. "name": "accountIDs",
  4720. "in": "query",
  4721. "required": true
  4722. }
  4723. ],
  4724. "responses": {
  4725. "200": {
  4726. "description": "OK",
  4727. "schema": {
  4728. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4729. }
  4730. },
  4731. "500": {
  4732. "description": "Internal Server Error",
  4733. "schema": {
  4734. "$ref": "#/definitions/app.Response"
  4735. }
  4736. }
  4737. }
  4738. }
  4739. },
  4740. "/HSBY/QueryClientFixedADConfigs": {
  4741. "get": {
  4742. "security": [
  4743. {
  4744. "ApiKeyAuth": []
  4745. }
  4746. ],
  4747. "produces": [
  4748. "application/json"
  4749. ],
  4750. "tags": [
  4751. "定制【海商报业】"
  4752. ],
  4753. "summary": "获取终端固定广告配置",
  4754. "responses": {
  4755. "200": {
  4756. "description": "OK",
  4757. "schema": {
  4758. "$ref": "#/definitions/models.Clientfixedadconfig"
  4759. }
  4760. },
  4761. "500": {
  4762. "description": "Internal Server Error",
  4763. "schema": {
  4764. "$ref": "#/definitions/app.Response"
  4765. }
  4766. }
  4767. }
  4768. }
  4769. },
  4770. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4771. "get": {
  4772. "security": [
  4773. {
  4774. "ApiKeyAuth": []
  4775. }
  4776. ],
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "定制【海商报业】"
  4782. ],
  4783. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "页码",
  4788. "name": "page",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "每页条数",
  4794. "name": "pagesize",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "string",
  4799. "description": "资金账户列表,格式:1,2,3",
  4800. "name": "accountIDs",
  4801. "in": "query",
  4802. "required": true
  4803. }
  4804. ],
  4805. "responses": {
  4806. "200": {
  4807. "description": "OK",
  4808. "schema": {
  4809. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4810. }
  4811. },
  4812. "500": {
  4813. "description": "Internal Server Error",
  4814. "schema": {
  4815. "$ref": "#/definitions/app.Response"
  4816. }
  4817. }
  4818. }
  4819. }
  4820. },
  4821. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4822. "get": {
  4823. "security": [
  4824. {
  4825. "ApiKeyAuth": []
  4826. }
  4827. ],
  4828. "description": "说明:查询结果已按委托价格和委托时间排序",
  4829. "produces": [
  4830. "application/json"
  4831. ],
  4832. "tags": [
  4833. "定制【海商报业】"
  4834. ],
  4835. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4836. "parameters": [
  4837. {
  4838. "type": "integer",
  4839. "description": "商品ID",
  4840. "name": "goodsID",
  4841. "in": "query",
  4842. "required": true
  4843. },
  4844. {
  4845. "type": "string",
  4846. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4847. "name": "accountIDs",
  4848. "in": "query"
  4849. },
  4850. {
  4851. "type": "integer",
  4852. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4853. "name": "buyOrSell",
  4854. "in": "query"
  4855. },
  4856. {
  4857. "type": "number",
  4858. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4859. "name": "price",
  4860. "in": "query"
  4861. },
  4862. {
  4863. "type": "integer",
  4864. "description": "档位,不传则默认为3档",
  4865. "name": "speed",
  4866. "in": "query"
  4867. }
  4868. ],
  4869. "responses": {
  4870. "200": {
  4871. "description": "OK",
  4872. "schema": {
  4873. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4874. }
  4875. },
  4876. "500": {
  4877. "description": "Internal Server Error",
  4878. "schema": {
  4879. "$ref": "#/definitions/app.Response"
  4880. }
  4881. }
  4882. }
  4883. }
  4884. },
  4885. "/HSBY/QueryHsbyListingGoodsDetail": {
  4886. "get": {
  4887. "security": [
  4888. {
  4889. "ApiKeyAuth": []
  4890. }
  4891. ],
  4892. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4893. "produces": [
  4894. "application/json"
  4895. ],
  4896. "tags": [
  4897. "定制【海商报业】"
  4898. ],
  4899. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4900. "parameters": [
  4901. {
  4902. "type": "integer",
  4903. "description": "商品ID",
  4904. "name": "goodsID",
  4905. "in": "query",
  4906. "required": true
  4907. },
  4908. {
  4909. "type": "integer",
  4910. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4911. "name": "accountID",
  4912. "in": "query"
  4913. }
  4914. ],
  4915. "responses": {
  4916. "200": {
  4917. "description": "OK",
  4918. "schema": {
  4919. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4920. }
  4921. },
  4922. "500": {
  4923. "description": "Internal Server Error",
  4924. "schema": {
  4925. "$ref": "#/definitions/app.Response"
  4926. }
  4927. }
  4928. }
  4929. }
  4930. },
  4931. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4932. "get": {
  4933. "security": [
  4934. {
  4935. "ApiKeyAuth": []
  4936. }
  4937. ],
  4938. "produces": [
  4939. "application/json"
  4940. ],
  4941. "tags": [
  4942. "定制【海商报业】"
  4943. ],
  4944. "summary": "查询三级市场(商城)商品信息详情",
  4945. "parameters": [
  4946. {
  4947. "type": "integer",
  4948. "description": "委托单号",
  4949. "name": "orderID",
  4950. "in": "query",
  4951. "required": true
  4952. },
  4953. {
  4954. "type": "integer",
  4955. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4956. "name": "accountID",
  4957. "in": "query"
  4958. }
  4959. ],
  4960. "responses": {
  4961. "200": {
  4962. "description": "OK",
  4963. "schema": {
  4964. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4965. }
  4966. },
  4967. "500": {
  4968. "description": "Internal Server Error",
  4969. "schema": {
  4970. "$ref": "#/definitions/app.Response"
  4971. }
  4972. }
  4973. }
  4974. }
  4975. },
  4976. "/HSBY/QueryHsbyMarketGoodses": {
  4977. "get": {
  4978. "security": [
  4979. {
  4980. "ApiKeyAuth": []
  4981. }
  4982. ],
  4983. "produces": [
  4984. "application/json"
  4985. ],
  4986. "tags": [
  4987. "定制【海商报业】"
  4988. ],
  4989. "summary": "查询特卖商品列表(三级商城)",
  4990. "parameters": [
  4991. {
  4992. "type": "integer",
  4993. "description": "页码",
  4994. "name": "page",
  4995. "in": "query"
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "每页条数",
  5000. "name": "pagesize",
  5001. "in": "query"
  5002. },
  5003. {
  5004. "type": "string",
  5005. "description": "市场ID列表,格式:1,2,3",
  5006. "name": "marketIDs",
  5007. "in": "query",
  5008. "required": true
  5009. },
  5010. {
  5011. "type": "integer",
  5012. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5013. "name": "accountID",
  5014. "in": "query",
  5015. "required": true
  5016. },
  5017. {
  5018. "type": "integer",
  5019. "description": "类别ID",
  5020. "name": "categoryID",
  5021. "in": "query"
  5022. },
  5023. {
  5024. "type": "string",
  5025. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5026. "name": "goodsIDs",
  5027. "in": "query"
  5028. },
  5029. {
  5030. "type": "integer",
  5031. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5032. "name": "couponTypeID",
  5033. "in": "query"
  5034. }
  5035. ],
  5036. "responses": {
  5037. "200": {
  5038. "description": "OK",
  5039. "schema": {
  5040. "$ref": "#/definitions/models.HsbyMarketGoods"
  5041. }
  5042. },
  5043. "500": {
  5044. "description": "Internal Server Error",
  5045. "schema": {
  5046. "$ref": "#/definitions/app.Response"
  5047. }
  5048. }
  5049. }
  5050. }
  5051. },
  5052. "/HSBY/QueryHsbyMarkets": {
  5053. "get": {
  5054. "security": [
  5055. {
  5056. "ApiKeyAuth": []
  5057. }
  5058. ],
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "定制【海商报业】"
  5064. ],
  5065. "summary": "查询海商报业相关市场信息",
  5066. "responses": {
  5067. "200": {
  5068. "description": "OK",
  5069. "schema": {
  5070. "$ref": "#/definitions/models.HsbyMarketInfo"
  5071. }
  5072. },
  5073. "500": {
  5074. "description": "Internal Server Error",
  5075. "schema": {
  5076. "$ref": "#/definitions/app.Response"
  5077. }
  5078. }
  5079. }
  5080. }
  5081. },
  5082. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5083. "get": {
  5084. "security": [
  5085. {
  5086. "ApiKeyAuth": []
  5087. }
  5088. ],
  5089. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5090. "produces": [
  5091. "application/json"
  5092. ],
  5093. "tags": [
  5094. "定制【海商报业】"
  5095. ],
  5096. "summary": "查询“我的订单”信息",
  5097. "parameters": [
  5098. {
  5099. "type": "string",
  5100. "description": "资金账户列表,格式:1,2,3",
  5101. "name": "accountIDs",
  5102. "in": "query",
  5103. "required": true
  5104. }
  5105. ],
  5106. "responses": {
  5107. "200": {
  5108. "description": "OK",
  5109. "schema": {
  5110. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5111. }
  5112. },
  5113. "500": {
  5114. "description": "Internal Server Error",
  5115. "schema": {
  5116. "$ref": "#/definitions/app.Response"
  5117. }
  5118. }
  5119. }
  5120. }
  5121. },
  5122. "/HSBY/QueryHsbyMyGoods": {
  5123. "get": {
  5124. "security": [
  5125. {
  5126. "ApiKeyAuth": []
  5127. }
  5128. ],
  5129. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5130. "produces": [
  5131. "application/json"
  5132. ],
  5133. "tags": [
  5134. "定制【海商报业】"
  5135. ],
  5136. "summary": "查询“我的商品”信息",
  5137. "parameters": [
  5138. {
  5139. "type": "string",
  5140. "description": "资金账户列表,格式:1,2,3",
  5141. "name": "accountIDs",
  5142. "in": "query",
  5143. "required": true
  5144. }
  5145. ],
  5146. "responses": {
  5147. "200": {
  5148. "description": "OK",
  5149. "schema": {
  5150. "$ref": "#/definitions/models.HsbyMyGoods"
  5151. }
  5152. },
  5153. "500": {
  5154. "description": "Internal Server Error",
  5155. "schema": {
  5156. "$ref": "#/definitions/app.Response"
  5157. }
  5158. }
  5159. }
  5160. }
  5161. },
  5162. "/HSBY/QueryHsbyMyPackages": {
  5163. "get": {
  5164. "security": [
  5165. {
  5166. "ApiKeyAuth": []
  5167. }
  5168. ],
  5169. "produces": [
  5170. "application/json"
  5171. ],
  5172. "tags": [
  5173. "定制【海商报业】"
  5174. ],
  5175. "summary": "查询我的包裹信息",
  5176. "parameters": [
  5177. {
  5178. "type": "string",
  5179. "description": "资金账户列表,格式:1,2,3",
  5180. "name": "accountIDs",
  5181. "in": "query",
  5182. "required": true
  5183. },
  5184. {
  5185. "type": "integer",
  5186. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5187. "name": "takeOrderStatus",
  5188. "in": "query"
  5189. }
  5190. ],
  5191. "responses": {
  5192. "200": {
  5193. "description": "OK",
  5194. "schema": {
  5195. "$ref": "#/definitions/models.HsbyMyPackage"
  5196. }
  5197. },
  5198. "500": {
  5199. "description": "Internal Server Error",
  5200. "schema": {
  5201. "$ref": "#/definitions/app.Response"
  5202. }
  5203. }
  5204. }
  5205. }
  5206. },
  5207. "/HSBY/QueryHsbyPreGoodsDetail": {
  5208. "get": {
  5209. "security": [
  5210. {
  5211. "ApiKeyAuth": []
  5212. }
  5213. ],
  5214. "produces": [
  5215. "application/json"
  5216. ],
  5217. "tags": [
  5218. "定制【海商报业】"
  5219. ],
  5220. "summary": "查询一级市场(预售)商品信息详情",
  5221. "parameters": [
  5222. {
  5223. "type": "integer",
  5224. "description": "商品ID",
  5225. "name": "goodsID",
  5226. "in": "query",
  5227. "required": true
  5228. },
  5229. {
  5230. "type": "integer",
  5231. "description": "资金账户,主要用于获取预售商品购买上限",
  5232. "name": "accountID",
  5233. "in": "query"
  5234. }
  5235. ],
  5236. "responses": {
  5237. "200": {
  5238. "description": "OK",
  5239. "schema": {
  5240. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5241. }
  5242. },
  5243. "500": {
  5244. "description": "Internal Server Error",
  5245. "schema": {
  5246. "$ref": "#/definitions/app.Response"
  5247. }
  5248. }
  5249. }
  5250. }
  5251. },
  5252. "/HSBY/QueryHsbyPreGoodses": {
  5253. "get": {
  5254. "security": [
  5255. {
  5256. "ApiKeyAuth": []
  5257. }
  5258. ],
  5259. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5260. "produces": [
  5261. "application/json"
  5262. ],
  5263. "tags": [
  5264. "定制【海商报业】"
  5265. ],
  5266. "summary": "查询新品上市商品列表(一级市场预售)",
  5267. "parameters": [
  5268. {
  5269. "type": "integer",
  5270. "description": "页码",
  5271. "name": "page",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "integer",
  5276. "description": "每页条数",
  5277. "name": "pagesize",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "string",
  5282. "description": "市场ID列表,格式:1,2,3",
  5283. "name": "marketIDs",
  5284. "in": "query",
  5285. "required": true
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "目的地(省)ID",
  5290. "name": "descProvinceID",
  5291. "in": "query"
  5292. },
  5293. {
  5294. "type": "integer",
  5295. "description": "目的地(市)ID",
  5296. "name": "descCityID",
  5297. "in": "query"
  5298. }
  5299. ],
  5300. "responses": {
  5301. "200": {
  5302. "description": "OK",
  5303. "schema": {
  5304. "$ref": "#/definitions/models.HsbyPreGoods"
  5305. }
  5306. },
  5307. "500": {
  5308. "description": "Internal Server Error",
  5309. "schema": {
  5310. "$ref": "#/definitions/app.Response"
  5311. }
  5312. }
  5313. }
  5314. }
  5315. },
  5316. "/HSBY/QueryHsbySellMyDetails": {
  5317. "get": {
  5318. "security": [
  5319. {
  5320. "ApiKeyAuth": []
  5321. }
  5322. ],
  5323. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5324. "produces": [
  5325. "application/json"
  5326. ],
  5327. "tags": [
  5328. "定制【海商报业】"
  5329. ],
  5330. "summary": "查询\"我的闲置\"单据信息",
  5331. "parameters": [
  5332. {
  5333. "type": "integer",
  5334. "description": "页码",
  5335. "name": "page",
  5336. "in": "query"
  5337. },
  5338. {
  5339. "type": "integer",
  5340. "description": "每页条数",
  5341. "name": "pagesize",
  5342. "in": "query"
  5343. },
  5344. {
  5345. "type": "string",
  5346. "description": "资金账户列表,格式:1,2,3",
  5347. "name": "accountIDs",
  5348. "in": "query",
  5349. "required": true
  5350. },
  5351. {
  5352. "type": "integer",
  5353. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5354. "name": "orderType",
  5355. "in": "query"
  5356. }
  5357. ],
  5358. "responses": {
  5359. "200": {
  5360. "description": "OK",
  5361. "schema": {
  5362. "$ref": "#/definitions/models.HsbySellMyDetail"
  5363. }
  5364. },
  5365. "500": {
  5366. "description": "Internal Server Error",
  5367. "schema": {
  5368. "$ref": "#/definitions/app.Response"
  5369. }
  5370. }
  5371. }
  5372. }
  5373. },
  5374. "/HSBY/QueryHsbyTopGoodses": {
  5375. "get": {
  5376. "security": [
  5377. {
  5378. "ApiKeyAuth": []
  5379. }
  5380. ],
  5381. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5382. "produces": [
  5383. "application/json"
  5384. ],
  5385. "tags": [
  5386. "定制【海商报业】"
  5387. ],
  5388. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5389. "parameters": [
  5390. {
  5391. "type": "integer",
  5392. "description": "页码",
  5393. "name": "page",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "每页条数",
  5399. "name": "pagesize",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "string",
  5404. "description": "市场ID列表,格式:1,2,3",
  5405. "name": "marketIDs",
  5406. "in": "query",
  5407. "required": true
  5408. },
  5409. {
  5410. "type": "integer",
  5411. "description": "目的地(省)ID",
  5412. "name": "descProvinceID",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "目的地(市)ID",
  5418. "name": "descCityID",
  5419. "in": "query"
  5420. }
  5421. ],
  5422. "responses": {
  5423. "200": {
  5424. "description": "OK",
  5425. "schema": {
  5426. "$ref": "#/definitions/models.HsbyTopGoods"
  5427. }
  5428. },
  5429. "500": {
  5430. "description": "Internal Server Error",
  5431. "schema": {
  5432. "$ref": "#/definitions/app.Response"
  5433. }
  5434. }
  5435. }
  5436. }
  5437. },
  5438. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5439. "get": {
  5440. "security": [
  5441. {
  5442. "ApiKeyAuth": []
  5443. }
  5444. ],
  5445. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5446. "produces": [
  5447. "application/json"
  5448. ],
  5449. "tags": [
  5450. "定制【海商报业】"
  5451. ],
  5452. "summary": "查询游客三级市场(商城)商品信息详情",
  5453. "parameters": [
  5454. {
  5455. "type": "integer",
  5456. "description": "商品ID",
  5457. "name": "goodsID",
  5458. "in": "query",
  5459. "required": true
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "OK",
  5465. "schema": {
  5466. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5467. }
  5468. },
  5469. "500": {
  5470. "description": "Internal Server Error",
  5471. "schema": {
  5472. "$ref": "#/definitions/app.Response"
  5473. }
  5474. }
  5475. }
  5476. }
  5477. },
  5478. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5479. "get": {
  5480. "security": [
  5481. {
  5482. "ApiKeyAuth": []
  5483. }
  5484. ],
  5485. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5486. "produces": [
  5487. "application/json"
  5488. ],
  5489. "tags": [
  5490. "定制【海商报业】"
  5491. ],
  5492. "summary": "查询游客特卖商品列表(三级商城)",
  5493. "parameters": [
  5494. {
  5495. "type": "integer",
  5496. "description": "页码",
  5497. "name": "page",
  5498. "in": "query"
  5499. },
  5500. {
  5501. "type": "integer",
  5502. "description": "每页条数",
  5503. "name": "pagesize",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "市场ID列表,格式:1,2,3",
  5509. "name": "marketIDs",
  5510. "in": "query",
  5511. "required": true
  5512. },
  5513. {
  5514. "type": "integer",
  5515. "description": "类别ID",
  5516. "name": "categoryID",
  5517. "in": "query"
  5518. },
  5519. {
  5520. "type": "string",
  5521. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5522. "name": "goodsIDs",
  5523. "in": "query"
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.HsbyMarketGoods"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/HSBY/QueryMyCollectionOrders": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "produces": [
  5550. "application/json"
  5551. ],
  5552. "tags": [
  5553. "定制【海商报业】"
  5554. ],
  5555. "summary": "我的闲置中收款信息查询",
  5556. "parameters": [
  5557. {
  5558. "type": "integer",
  5559. "description": "页码",
  5560. "name": "page",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "integer",
  5565. "description": "每页条数",
  5566. "name": "pagesize",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "资金账户,格式:1,2,3",
  5572. "name": "accountIDs",
  5573. "in": "query",
  5574. "required": true
  5575. }
  5576. ],
  5577. "responses": {
  5578. "200": {
  5579. "description": "OK",
  5580. "schema": {
  5581. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5582. }
  5583. },
  5584. "500": {
  5585. "description": "Internal Server Error",
  5586. "schema": {
  5587. "$ref": "#/definitions/app.Response"
  5588. }
  5589. }
  5590. }
  5591. }
  5592. },
  5593. "/HSBY/QueryMyCouponHolds": {
  5594. "get": {
  5595. "security": [
  5596. {
  5597. "ApiKeyAuth": []
  5598. }
  5599. ],
  5600. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5601. "produces": [
  5602. "application/json"
  5603. ],
  5604. "tags": [
  5605. "定制【海商报业】"
  5606. ],
  5607. "summary": "我的优惠卷持仓查询",
  5608. "parameters": [
  5609. {
  5610. "type": "string",
  5611. "description": "资金账户列表,格式:1,2,3",
  5612. "name": "accountIDs",
  5613. "in": "query",
  5614. "required": true
  5615. },
  5616. {
  5617. "type": "string",
  5618. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5619. "name": "holdStatus",
  5620. "in": "query"
  5621. }
  5622. ],
  5623. "responses": {
  5624. "200": {
  5625. "description": "OK",
  5626. "schema": {
  5627. "$ref": "#/definitions/models.MyCouponHold"
  5628. }
  5629. },
  5630. "500": {
  5631. "description": "Internal Server Error",
  5632. "schema": {
  5633. "$ref": "#/definitions/app.Response"
  5634. }
  5635. }
  5636. }
  5637. }
  5638. },
  5639. "/HSBY/QueryMyCoupons": {
  5640. "get": {
  5641. "security": [
  5642. {
  5643. "ApiKeyAuth": []
  5644. }
  5645. ],
  5646. "produces": [
  5647. "application/json"
  5648. ],
  5649. "tags": [
  5650. "定制【海商报业】"
  5651. ],
  5652. "summary": "我的优惠卷查询",
  5653. "parameters": [
  5654. {
  5655. "type": "string",
  5656. "description": "资金账户列表,格式:1,2,3",
  5657. "name": "accountIDs",
  5658. "in": "query",
  5659. "required": true
  5660. },
  5661. {
  5662. "type": "integer",
  5663. "description": "商品ID, 一般与sellUserID配套传入",
  5664. "name": "goodsID",
  5665. "in": "query"
  5666. },
  5667. {
  5668. "type": "integer",
  5669. "description": "卖方UserID",
  5670. "name": "sellUserID",
  5671. "in": "query"
  5672. }
  5673. ],
  5674. "responses": {
  5675. "200": {
  5676. "description": "OK",
  5677. "schema": {
  5678. "$ref": "#/definitions/models.MyCoupon"
  5679. }
  5680. },
  5681. "500": {
  5682. "description": "Internal Server Error",
  5683. "schema": {
  5684. "$ref": "#/definitions/app.Response"
  5685. }
  5686. }
  5687. }
  5688. }
  5689. },
  5690. "/HSBY/QueryMyPayOrders": {
  5691. "get": {
  5692. "security": [
  5693. {
  5694. "ApiKeyAuth": []
  5695. }
  5696. ],
  5697. "produces": [
  5698. "application/json"
  5699. ],
  5700. "tags": [
  5701. "定制【海商报业】"
  5702. ],
  5703. "summary": "获取我的订单中待付款信息",
  5704. "parameters": [
  5705. {
  5706. "type": "integer",
  5707. "description": "页码",
  5708. "name": "page",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "每页条数",
  5714. "name": "pagesize",
  5715. "in": "query"
  5716. },
  5717. {
  5718. "type": "string",
  5719. "description": "资金账户列表,格式:1,2,3",
  5720. "name": "accountIDs",
  5721. "in": "query",
  5722. "required": true
  5723. },
  5724. {
  5725. "type": "integer",
  5726. "description": "买方委托单号",
  5727. "name": "buyOrderID",
  5728. "in": "query"
  5729. },
  5730. {
  5731. "type": "integer",
  5732. "description": "卖方委托单号",
  5733. "name": "sellOrderID",
  5734. "in": "query"
  5735. }
  5736. ],
  5737. "responses": {
  5738. "200": {
  5739. "description": "OK",
  5740. "schema": {
  5741. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5742. }
  5743. },
  5744. "500": {
  5745. "description": "Internal Server Error",
  5746. "schema": {
  5747. "$ref": "#/definitions/app.Response"
  5748. }
  5749. }
  5750. }
  5751. }
  5752. },
  5753. "/HSBY/QueryMyUsedCoupon": {
  5754. "get": {
  5755. "security": [
  5756. {
  5757. "ApiKeyAuth": []
  5758. }
  5759. ],
  5760. "produces": [
  5761. "application/json"
  5762. ],
  5763. "tags": [
  5764. "定制【海商报业】"
  5765. ],
  5766. "summary": "已使用优惠卷查询",
  5767. "parameters": [
  5768. {
  5769. "type": "string",
  5770. "description": "资金账户列表,格式:1,2,3",
  5771. "name": "accountIDs",
  5772. "in": "query",
  5773. "required": true
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.MyUsedCoupon"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryProvincesAndCities": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5800. "produces": [
  5801. "application/json"
  5802. ],
  5803. "tags": [
  5804. "定制【海商报业】"
  5805. ],
  5806. "summary": "查询省市信息(不包括区)",
  5807. "parameters": [
  5808. {
  5809. "type": "integer",
  5810. "description": "省ID",
  5811. "name": "provinceID",
  5812. "in": "query"
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/HSBY/SetHsbyMyPackagesStatus": {
  5832. "post": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "produces": [
  5839. "application/json"
  5840. ],
  5841. "tags": [
  5842. "定制【海商报业】"
  5843. ],
  5844. "summary": "设置我的包裹已收货状态",
  5845. "parameters": [
  5846. {
  5847. "type": "string",
  5848. "description": "提货单号",
  5849. "name": "takeOrderID",
  5850. "in": "query",
  5851. "required": true
  5852. },
  5853. {
  5854. "type": "integer",
  5855. "description": "资金账号",
  5856. "name": "accountID",
  5857. "in": "query",
  5858. "required": true
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/Market/QueryGoodsesByLoginID": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "produces": [
  5885. "application/json"
  5886. ],
  5887. "tags": [
  5888. "通用市场"
  5889. ],
  5890. "summary": "获取登录账号有权限的商品信息",
  5891. "parameters": [
  5892. {
  5893. "type": "integer",
  5894. "description": "登录账号",
  5895. "name": "loginID",
  5896. "in": "query",
  5897. "required": true
  5898. },
  5899. {
  5900. "type": "string",
  5901. "description": "市场ID列表,格式:1,2,3",
  5902. "name": "marketIDs",
  5903. "in": "query"
  5904. }
  5905. ],
  5906. "responses": {
  5907. "200": {
  5908. "description": "OK",
  5909. "schema": {
  5910. "$ref": "#/definitions/models.Goods"
  5911. }
  5912. },
  5913. "500": {
  5914. "description": "Internal Server Error",
  5915. "schema": {
  5916. "$ref": "#/definitions/app.Response"
  5917. }
  5918. }
  5919. }
  5920. }
  5921. },
  5922. "/Market/QueryMarketRun": {
  5923. "get": {
  5924. "security": [
  5925. {
  5926. "ApiKeyAuth": []
  5927. }
  5928. ],
  5929. "produces": [
  5930. "application/json"
  5931. ],
  5932. "tags": [
  5933. "通用市场"
  5934. ],
  5935. "summary": "查询市场运行信息",
  5936. "parameters": [
  5937. {
  5938. "type": "integer",
  5939. "description": "市场ID,不传返回所有",
  5940. "name": "marketID",
  5941. "in": "query"
  5942. }
  5943. ],
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.Marketrun"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/Market/QueryMarketsByLoginID": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "通用市场"
  5972. ],
  5973. "summary": "获取登录账号有权限的市场信息",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "登录账号",
  5978. "name": "loginID",
  5979. "in": "query",
  5980. "required": true
  5981. }
  5982. ],
  5983. "responses": {
  5984. "200": {
  5985. "description": "OK",
  5986. "schema": {
  5987. "$ref": "#/definitions/models.Market"
  5988. }
  5989. },
  5990. "500": {
  5991. "description": "Internal Server Error",
  5992. "schema": {
  5993. "$ref": "#/definitions/app.Response"
  5994. }
  5995. }
  5996. }
  5997. }
  5998. },
  5999. "/Order/QueryHisTradeDetail": {
  6000. "get": {
  6001. "security": [
  6002. {
  6003. "ApiKeyAuth": []
  6004. }
  6005. ],
  6006. "produces": [
  6007. "application/json"
  6008. ],
  6009. "tags": [
  6010. "通用单据"
  6011. ],
  6012. "summary": "历史成交单查询(合约市场)",
  6013. "parameters": [
  6014. {
  6015. "type": "string",
  6016. "description": "资金账户 - 格式:1,2,3",
  6017. "name": "accountID",
  6018. "in": "query",
  6019. "required": true
  6020. },
  6021. {
  6022. "type": "integer",
  6023. "description": "成交单号",
  6024. "name": "tradeID",
  6025. "in": "query"
  6026. },
  6027. {
  6028. "type": "integer",
  6029. "description": "委托单号",
  6030. "name": "orderID",
  6031. "in": "query"
  6032. },
  6033. {
  6034. "type": "string",
  6035. "description": "交易模式 - 格式:1,2,3",
  6036. "name": "tradeMode",
  6037. "in": "query"
  6038. },
  6039. {
  6040. "type": "integer",
  6041. "description": "委托单据类型",
  6042. "name": "buildType",
  6043. "in": "query"
  6044. },
  6045. {
  6046. "type": "string",
  6047. "description": "成交类别 - 格式:1,2,3",
  6048. "name": "tradeType",
  6049. "in": "query"
  6050. },
  6051. {
  6052. "type": "string",
  6053. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6054. "name": "startDate",
  6055. "in": "query"
  6056. },
  6057. {
  6058. "type": "string",
  6059. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6060. "name": "endDate",
  6061. "in": "query"
  6062. }
  6063. ],
  6064. "responses": {
  6065. "200": {
  6066. "description": "OK",
  6067. "schema": {
  6068. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6069. }
  6070. },
  6071. "500": {
  6072. "description": "Internal Server Error",
  6073. "schema": {
  6074. "$ref": "#/definitions/app.Response"
  6075. }
  6076. }
  6077. }
  6078. }
  6079. },
  6080. "/Order/QueryHisTradeOrderDetail": {
  6081. "get": {
  6082. "security": [
  6083. {
  6084. "ApiKeyAuth": []
  6085. }
  6086. ],
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "通用单据"
  6092. ],
  6093. "summary": "历史委托单查询请求(合约市场)",
  6094. "parameters": [
  6095. {
  6096. "type": "string",
  6097. "description": "资金账户 - 格式:1,2,3",
  6098. "name": "accountID",
  6099. "in": "query",
  6100. "required": true
  6101. },
  6102. {
  6103. "type": "string",
  6104. "description": "交易模式 - 格式:1,2,3",
  6105. "name": "tradeMode",
  6106. "in": "query"
  6107. },
  6108. {
  6109. "type": "string",
  6110. "description": "委托状态 - 格式:1,2,3",
  6111. "name": "orderStatus",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "委托单号",
  6117. "name": "orderID",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6123. "name": "startDate",
  6124. "in": "query"
  6125. },
  6126. {
  6127. "type": "string",
  6128. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6129. "name": "endDate",
  6130. "in": "query"
  6131. }
  6132. ],
  6133. "responses": {
  6134. "200": {
  6135. "description": "OK",
  6136. "schema": {
  6137. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6138. }
  6139. },
  6140. "500": {
  6141. "description": "Internal Server Error",
  6142. "schema": {
  6143. "$ref": "#/definitions/app.Response"
  6144. }
  6145. }
  6146. }
  6147. }
  6148. },
  6149. "/Order/QueryTradeDetail": {
  6150. "get": {
  6151. "security": [
  6152. {
  6153. "ApiKeyAuth": []
  6154. }
  6155. ],
  6156. "produces": [
  6157. "application/json"
  6158. ],
  6159. "tags": [
  6160. "通用单据"
  6161. ],
  6162. "summary": "成交单查询(合约市场)",
  6163. "parameters": [
  6164. {
  6165. "type": "string",
  6166. "description": "资金账户 - 格式:1,2,3",
  6167. "name": "accountID",
  6168. "in": "query",
  6169. "required": true
  6170. },
  6171. {
  6172. "type": "integer",
  6173. "description": "成交单号",
  6174. "name": "tradeID",
  6175. "in": "query"
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "委托单号",
  6180. "name": "orderID",
  6181. "in": "query"
  6182. },
  6183. {
  6184. "type": "string",
  6185. "description": "交易模式 - 格式:1,2,3",
  6186. "name": "tradeMode",
  6187. "in": "query"
  6188. },
  6189. {
  6190. "type": "integer",
  6191. "description": "委托单据类型",
  6192. "name": "buildType",
  6193. "in": "query"
  6194. },
  6195. {
  6196. "type": "string",
  6197. "description": "成交类别 - 格式:1,2,3",
  6198. "name": "tradeType",
  6199. "in": "query"
  6200. }
  6201. ],
  6202. "responses": {
  6203. "200": {
  6204. "description": "OK",
  6205. "schema": {
  6206. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6207. }
  6208. },
  6209. "500": {
  6210. "description": "Internal Server Error",
  6211. "schema": {
  6212. "$ref": "#/definitions/app.Response"
  6213. }
  6214. }
  6215. }
  6216. }
  6217. },
  6218. "/Order/QueryTradeOrderDetail": {
  6219. "get": {
  6220. "security": [
  6221. {
  6222. "ApiKeyAuth": []
  6223. }
  6224. ],
  6225. "produces": [
  6226. "application/json"
  6227. ],
  6228. "tags": [
  6229. "通用单据"
  6230. ],
  6231. "summary": "委托单查询请求(合约市场)",
  6232. "parameters": [
  6233. {
  6234. "type": "string",
  6235. "description": "资金账户 - 格式:1,2,3",
  6236. "name": "accountID",
  6237. "in": "query",
  6238. "required": true
  6239. },
  6240. {
  6241. "type": "string",
  6242. "description": "交易模式 - 格式:1,2,3",
  6243. "name": "tradeMode",
  6244. "in": "query"
  6245. },
  6246. {
  6247. "type": "string",
  6248. "description": "委托状态 - 格式:1,2,3",
  6249. "name": "orderStatus",
  6250. "in": "query"
  6251. },
  6252. {
  6253. "type": "integer",
  6254. "description": "委托单号",
  6255. "name": "orderID",
  6256. "in": "query"
  6257. }
  6258. ],
  6259. "responses": {
  6260. "200": {
  6261. "description": "OK",
  6262. "schema": {
  6263. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6264. }
  6265. },
  6266. "500": {
  6267. "description": "Internal Server Error",
  6268. "schema": {
  6269. "$ref": "#/definitions/app.Response"
  6270. }
  6271. }
  6272. }
  6273. }
  6274. },
  6275. "/Order/QueryTradePosition": {
  6276. "get": {
  6277. "security": [
  6278. {
  6279. "ApiKeyAuth": []
  6280. }
  6281. ],
  6282. "produces": [
  6283. "application/json"
  6284. ],
  6285. "tags": [
  6286. "通用单据"
  6287. ],
  6288. "summary": "持仓汇总查询(合约市场)",
  6289. "parameters": [
  6290. {
  6291. "type": "string",
  6292. "description": "资金账户 - 格式:1,2,3",
  6293. "name": "accountID",
  6294. "in": "query",
  6295. "required": true
  6296. },
  6297. {
  6298. "type": "string",
  6299. "description": "交易模式 - 格式:1,2,3",
  6300. "name": "tradeMode",
  6301. "in": "query"
  6302. }
  6303. ],
  6304. "responses": {
  6305. "200": {
  6306. "description": "OK",
  6307. "schema": {
  6308. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6309. }
  6310. },
  6311. "500": {
  6312. "description": "Internal Server Error",
  6313. "schema": {
  6314. "$ref": "#/definitions/app.Response"
  6315. }
  6316. }
  6317. }
  6318. }
  6319. },
  6320. "/Quote/QueryHistoryDatas": {
  6321. "get": {
  6322. "security": [
  6323. {
  6324. "ApiKeyAuth": []
  6325. }
  6326. ],
  6327. "produces": [
  6328. "application/json"
  6329. ],
  6330. "tags": [
  6331. "行情服务"
  6332. ],
  6333. "summary": "查询行情历史数据",
  6334. "parameters": [
  6335. {
  6336. "type": "integer",
  6337. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6338. "name": "cycleType",
  6339. "in": "query",
  6340. "required": true
  6341. },
  6342. {
  6343. "type": "string",
  6344. "description": "商品代码",
  6345. "name": "goodsCode",
  6346. "in": "query",
  6347. "required": true
  6348. },
  6349. {
  6350. "type": "string",
  6351. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6352. "name": "startTime",
  6353. "in": "query"
  6354. },
  6355. {
  6356. "type": "string",
  6357. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6358. "name": "endTime",
  6359. "in": "query"
  6360. },
  6361. {
  6362. "type": "integer",
  6363. "description": "条数",
  6364. "name": "count",
  6365. "in": "query"
  6366. },
  6367. {
  6368. "type": "boolean",
  6369. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6370. "name": "isAsc",
  6371. "in": "query"
  6372. }
  6373. ],
  6374. "responses": {
  6375. "200": {
  6376. "description": "OK",
  6377. "schema": {
  6378. "$ref": "#/definitions/quote.HistoryData"
  6379. }
  6380. },
  6381. "500": {
  6382. "description": "Internal Server Error",
  6383. "schema": {
  6384. "$ref": "#/definitions/app.Response"
  6385. }
  6386. }
  6387. }
  6388. }
  6389. },
  6390. "/Quote/QueryHistoryTikDatas": {
  6391. "get": {
  6392. "security": [
  6393. {
  6394. "ApiKeyAuth": []
  6395. }
  6396. ],
  6397. "produces": [
  6398. "application/json"
  6399. ],
  6400. "tags": [
  6401. "行情服务"
  6402. ],
  6403. "summary": "查询行情Tik数据",
  6404. "parameters": [
  6405. {
  6406. "type": "string",
  6407. "description": "商品代码",
  6408. "name": "goodsCode",
  6409. "in": "query",
  6410. "required": true
  6411. },
  6412. {
  6413. "type": "string",
  6414. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6415. "name": "startTime",
  6416. "in": "query"
  6417. },
  6418. {
  6419. "type": "string",
  6420. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6421. "name": "endTime",
  6422. "in": "query"
  6423. },
  6424. {
  6425. "type": "integer",
  6426. "description": "条数",
  6427. "name": "count",
  6428. "in": "query"
  6429. },
  6430. {
  6431. "type": "boolean",
  6432. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6433. "name": "isAsc",
  6434. "in": "query"
  6435. }
  6436. ],
  6437. "responses": {
  6438. "200": {
  6439. "description": "OK",
  6440. "schema": {
  6441. "$ref": "#/definitions/quote.HistoryTikData"
  6442. }
  6443. },
  6444. "500": {
  6445. "description": "Internal Server Error",
  6446. "schema": {
  6447. "$ref": "#/definitions/app.Response"
  6448. }
  6449. }
  6450. }
  6451. }
  6452. },
  6453. "/Quote/QueryQuoteDay": {
  6454. "get": {
  6455. "security": [
  6456. {
  6457. "ApiKeyAuth": []
  6458. }
  6459. ],
  6460. "produces": [
  6461. "application/json"
  6462. ],
  6463. "tags": [
  6464. "行情服务"
  6465. ],
  6466. "summary": "获取商品盘面信息",
  6467. "parameters": [
  6468. {
  6469. "type": "string",
  6470. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6471. "name": "goodsCodes",
  6472. "in": "query",
  6473. "required": true
  6474. }
  6475. ],
  6476. "responses": {
  6477. "200": {
  6478. "description": "OK",
  6479. "schema": {
  6480. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6481. }
  6482. },
  6483. "500": {
  6484. "description": "Internal Server Error",
  6485. "schema": {
  6486. "$ref": "#/definitions/app.Response"
  6487. }
  6488. }
  6489. }
  6490. }
  6491. },
  6492. "/Quote/QueryTSData": {
  6493. "get": {
  6494. "security": [
  6495. {
  6496. "ApiKeyAuth": []
  6497. }
  6498. ],
  6499. "produces": [
  6500. "application/json"
  6501. ],
  6502. "tags": [
  6503. "行情服务"
  6504. ],
  6505. "summary": "分时图数据查询",
  6506. "parameters": [
  6507. {
  6508. "type": "string",
  6509. "description": "商品代码",
  6510. "name": "goodsCode",
  6511. "in": "query",
  6512. "required": true
  6513. }
  6514. ],
  6515. "responses": {
  6516. "200": {
  6517. "description": "OK",
  6518. "schema": {
  6519. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6520. }
  6521. },
  6522. "500": {
  6523. "description": "Internal Server Error",
  6524. "schema": {
  6525. "$ref": "#/definitions/app.Response"
  6526. }
  6527. }
  6528. }
  6529. }
  6530. },
  6531. "/SZDZ/QueryConvertConfig": {
  6532. "get": {
  6533. "security": [
  6534. {
  6535. "ApiKeyAuth": []
  6536. }
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "定制【尚志大宗】"
  6543. ],
  6544. "summary": "查询交易系统转换设置",
  6545. "parameters": [
  6546. {
  6547. "type": "integer",
  6548. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6549. "name": "convertType",
  6550. "in": "query"
  6551. },
  6552. {
  6553. "type": "string",
  6554. "description": "外部商品代码[JD\\PD]",
  6555. "name": "outerGoodsCode",
  6556. "in": "query"
  6557. },
  6558. {
  6559. "type": "string",
  6560. "description": "内部商品ID列表[交易],格式:1,2,3",
  6561. "name": "innerGoodsIDs",
  6562. "in": "query"
  6563. }
  6564. ],
  6565. "responses": {
  6566. "200": {
  6567. "description": "OK",
  6568. "schema": {
  6569. "$ref": "#/definitions/models.Szdz3convertconfig"
  6570. }
  6571. },
  6572. "500": {
  6573. "description": "Internal Server Error",
  6574. "schema": {
  6575. "$ref": "#/definitions/app.Response"
  6576. }
  6577. }
  6578. }
  6579. }
  6580. },
  6581. "/SZDZ/QueryConvertLog": {
  6582. "get": {
  6583. "security": [
  6584. {
  6585. "ApiKeyAuth": []
  6586. }
  6587. ],
  6588. "produces": [
  6589. "application/json"
  6590. ],
  6591. "tags": [
  6592. "定制【尚志大宗】"
  6593. ],
  6594. "summary": "交易系统转换流水查询",
  6595. "parameters": [
  6596. {
  6597. "type": "string",
  6598. "description": "资金账户 - 格式:1,2,3",
  6599. "name": "accountID",
  6600. "in": "query",
  6601. "required": true
  6602. },
  6603. {
  6604. "type": "string",
  6605. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6606. "name": "startDate",
  6607. "in": "query"
  6608. },
  6609. {
  6610. "type": "string",
  6611. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6612. "name": "endDate",
  6613. "in": "query"
  6614. }
  6615. ],
  6616. "responses": {
  6617. "200": {
  6618. "description": "OK",
  6619. "schema": {
  6620. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6621. }
  6622. },
  6623. "500": {
  6624. "description": "Internal Server Error",
  6625. "schema": {
  6626. "$ref": "#/definitions/app.Response"
  6627. }
  6628. }
  6629. }
  6630. }
  6631. },
  6632. "/SZDZ/QueryGoodsPickup": {
  6633. "get": {
  6634. "security": [
  6635. {
  6636. "ApiKeyAuth": []
  6637. }
  6638. ],
  6639. "produces": [
  6640. "application/json"
  6641. ],
  6642. "tags": [
  6643. "定制【尚志大宗】"
  6644. ],
  6645. "summary": "商品提货单查询",
  6646. "parameters": [
  6647. {
  6648. "type": "string",
  6649. "description": "资金账户 - 格式:1,2,3",
  6650. "name": "accountID",
  6651. "in": "query",
  6652. "required": true
  6653. },
  6654. {
  6655. "type": "integer",
  6656. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6657. "name": "takeOrderStatus",
  6658. "in": "query"
  6659. }
  6660. ],
  6661. "responses": {
  6662. "200": {
  6663. "description": "OK",
  6664. "schema": {
  6665. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6666. }
  6667. },
  6668. "500": {
  6669. "description": "Internal Server Error",
  6670. "schema": {
  6671. "$ref": "#/definitions/app.Response"
  6672. }
  6673. }
  6674. }
  6675. }
  6676. },
  6677. "/SZDZ/QueryRecieptOrder": {
  6678. "get": {
  6679. "security": [
  6680. {
  6681. "ApiKeyAuth": []
  6682. }
  6683. ],
  6684. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6685. "produces": [
  6686. "application/json"
  6687. ],
  6688. "tags": [
  6689. "定制【尚志大宗】"
  6690. ],
  6691. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6692. "parameters": [
  6693. {
  6694. "type": "integer",
  6695. "description": "页码",
  6696. "name": "page",
  6697. "in": "query"
  6698. },
  6699. {
  6700. "type": "integer",
  6701. "description": "每页条数",
  6702. "name": "pagesize",
  6703. "in": "query"
  6704. },
  6705. {
  6706. "type": "integer",
  6707. "description": "商品ID",
  6708. "name": "goodsID",
  6709. "in": "query",
  6710. "required": true
  6711. },
  6712. {
  6713. "type": "string",
  6714. "description": "所属账户名称",
  6715. "name": "accountName",
  6716. "in": "query"
  6717. },
  6718. {
  6719. "type": "integer",
  6720. "description": "市场ID",
  6721. "name": "marketID",
  6722. "in": "query"
  6723. },
  6724. {
  6725. "type": "integer",
  6726. "description": "方向 - 0:买 1:卖",
  6727. "name": "buyorsell",
  6728. "in": "query",
  6729. "required": true
  6730. }
  6731. ],
  6732. "responses": {
  6733. "200": {
  6734. "description": "OK",
  6735. "schema": {
  6736. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6737. }
  6738. },
  6739. "500": {
  6740. "description": "Internal Server Error",
  6741. "schema": {
  6742. "$ref": "#/definitions/app.Response"
  6743. }
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "/SZDZ/QuerySZDZTradePosition": {
  6749. "get": {
  6750. "security": [
  6751. {
  6752. "ApiKeyAuth": []
  6753. }
  6754. ],
  6755. "produces": [
  6756. "application/json"
  6757. ],
  6758. "tags": [
  6759. "定制【尚志大宗】"
  6760. ],
  6761. "summary": "持仓汇总查询(尚志大宗)",
  6762. "parameters": [
  6763. {
  6764. "type": "integer",
  6765. "description": "资金账户",
  6766. "name": "accountID",
  6767. "in": "query",
  6768. "required": true
  6769. }
  6770. ],
  6771. "responses": {
  6772. "200": {
  6773. "description": "OK",
  6774. "schema": {
  6775. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6776. }
  6777. },
  6778. "500": {
  6779. "description": "Internal Server Error",
  6780. "schema": {
  6781. "$ref": "#/definitions/app.Response"
  6782. }
  6783. }
  6784. }
  6785. }
  6786. },
  6787. "/SZDZ/SearchWhite": {
  6788. "get": {
  6789. "security": [
  6790. {
  6791. "ApiKeyAuth": []
  6792. }
  6793. ],
  6794. "produces": [
  6795. "application/json"
  6796. ],
  6797. "tags": [
  6798. "定制【尚志大宗】"
  6799. ],
  6800. "summary": "搜索白名单",
  6801. "parameters": [
  6802. {
  6803. "type": "integer",
  6804. "description": "用户ID",
  6805. "name": "userID",
  6806. "in": "query",
  6807. "required": true
  6808. }
  6809. ],
  6810. "responses": {
  6811. "200": {
  6812. "description": "OK",
  6813. "schema": {
  6814. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Search/SearchGoodses": {
  6827. "get": {
  6828. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6829. "produces": [
  6830. "application/json"
  6831. ],
  6832. "tags": [
  6833. "检索服务"
  6834. ],
  6835. "summary": "检索商品信息",
  6836. "parameters": [
  6837. {
  6838. "type": "string",
  6839. "description": "检索内容",
  6840. "name": "content",
  6841. "in": "query",
  6842. "required": true
  6843. },
  6844. {
  6845. "type": "string",
  6846. "description": "交易模式,格式:1,2,3",
  6847. "name": "tradeModes",
  6848. "in": "query"
  6849. }
  6850. ],
  6851. "responses": {
  6852. "200": {
  6853. "description": "OK",
  6854. "schema": {
  6855. "$ref": "#/definitions/models.SearchGoods"
  6856. }
  6857. },
  6858. "500": {
  6859. "description": "Internal Server Error",
  6860. "schema": {
  6861. "$ref": "#/definitions/app.Response"
  6862. }
  6863. }
  6864. }
  6865. }
  6866. },
  6867. "/TaAccount/GetTaAccounts": {
  6868. "get": {
  6869. "security": [
  6870. {
  6871. "ApiKeyAuth": []
  6872. }
  6873. ],
  6874. "produces": [
  6875. "application/json"
  6876. ],
  6877. "tags": [
  6878. "资金账户"
  6879. ],
  6880. "summary": "获取资金账户信息",
  6881. "parameters": [
  6882. {
  6883. "type": "integer",
  6884. "description": "登录账户",
  6885. "name": "loginID",
  6886. "in": "query",
  6887. "required": true
  6888. },
  6889. {
  6890. "type": "integer",
  6891. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6892. "name": "taAccountType",
  6893. "in": "query"
  6894. }
  6895. ],
  6896. "responses": {
  6897. "200": {
  6898. "description": "OK",
  6899. "schema": {
  6900. "$ref": "#/definitions/models.Taaccount"
  6901. }
  6902. },
  6903. "500": {
  6904. "description": "Internal Server Error",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. }
  6909. }
  6910. }
  6911. },
  6912. "/TaAccount/QueryAmountLog": {
  6913. "get": {
  6914. "security": [
  6915. {
  6916. "ApiKeyAuth": []
  6917. }
  6918. ],
  6919. "produces": [
  6920. "application/json"
  6921. ],
  6922. "tags": [
  6923. "资金账户"
  6924. ],
  6925. "summary": "资金流水查询(当前)",
  6926. "parameters": [
  6927. {
  6928. "type": "integer",
  6929. "description": "页码",
  6930. "name": "page",
  6931. "in": "query"
  6932. },
  6933. {
  6934. "type": "integer",
  6935. "description": "每页条数",
  6936. "name": "pagesize",
  6937. "in": "query"
  6938. },
  6939. {
  6940. "type": "string",
  6941. "description": "资金账户 - 格式:1,2,3",
  6942. "name": "accountID",
  6943. "in": "query",
  6944. "required": true
  6945. },
  6946. {
  6947. "type": "string",
  6948. "description": "资金操作类型 - 格式:1,2,3",
  6949. "name": "OperateType",
  6950. "in": "query"
  6951. }
  6952. ],
  6953. "responses": {
  6954. "200": {
  6955. "description": "OK",
  6956. "schema": {
  6957. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6958. }
  6959. },
  6960. "500": {
  6961. "description": "Internal Server Error",
  6962. "schema": {
  6963. "$ref": "#/definitions/app.Response"
  6964. }
  6965. }
  6966. }
  6967. }
  6968. },
  6969. "/TaAccount/QueryHisAmountLog": {
  6970. "get": {
  6971. "security": [
  6972. {
  6973. "ApiKeyAuth": []
  6974. }
  6975. ],
  6976. "produces": [
  6977. "application/json"
  6978. ],
  6979. "tags": [
  6980. "资金账户"
  6981. ],
  6982. "summary": "资金流水查询(历史)",
  6983. "parameters": [
  6984. {
  6985. "type": "integer",
  6986. "description": "页码",
  6987. "name": "page",
  6988. "in": "query"
  6989. },
  6990. {
  6991. "type": "integer",
  6992. "description": "每页条数",
  6993. "name": "pagesize",
  6994. "in": "query"
  6995. },
  6996. {
  6997. "type": "string",
  6998. "description": "资金账户 - 格式:1,2,3",
  6999. "name": "accountID",
  7000. "in": "query",
  7001. "required": true
  7002. },
  7003. {
  7004. "type": "string",
  7005. "description": "资金操作类型 - 格式:1,2,3",
  7006. "name": "OperateType",
  7007. "in": "query"
  7008. },
  7009. {
  7010. "type": "string",
  7011. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7012. "name": "startDate",
  7013. "in": "query"
  7014. },
  7015. {
  7016. "type": "string",
  7017. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7018. "name": "endDate",
  7019. "in": "query"
  7020. }
  7021. ],
  7022. "responses": {
  7023. "200": {
  7024. "description": "OK",
  7025. "schema": {
  7026. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7027. }
  7028. },
  7029. "500": {
  7030. "description": "Internal Server Error",
  7031. "schema": {
  7032. "$ref": "#/definitions/app.Response"
  7033. }
  7034. }
  7035. }
  7036. }
  7037. },
  7038. "/Trade/QueryRecieptOrder": {
  7039. "get": {
  7040. "security": [
  7041. {
  7042. "ApiKeyAuth": []
  7043. }
  7044. ],
  7045. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7046. "produces": [
  7047. "application/json"
  7048. ],
  7049. "tags": [
  7050. "通用交易"
  7051. ],
  7052. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7053. "parameters": [
  7054. {
  7055. "type": "integer",
  7056. "description": "页码",
  7057. "name": "page",
  7058. "in": "query"
  7059. },
  7060. {
  7061. "type": "integer",
  7062. "description": "每页条数",
  7063. "name": "pagesize",
  7064. "in": "query"
  7065. },
  7066. {
  7067. "type": "integer",
  7068. "description": "商品ID",
  7069. "name": "goodsID",
  7070. "in": "query",
  7071. "required": true
  7072. },
  7073. {
  7074. "type": "string",
  7075. "description": "所属账户名称",
  7076. "name": "accountName",
  7077. "in": "query"
  7078. },
  7079. {
  7080. "type": "integer",
  7081. "description": "市场ID",
  7082. "name": "marketID",
  7083. "in": "query"
  7084. },
  7085. {
  7086. "type": "integer",
  7087. "description": "方向 - 0:买 1:卖",
  7088. "name": "buyorsell",
  7089. "in": "query",
  7090. "required": true
  7091. }
  7092. ],
  7093. "responses": {
  7094. "200": {
  7095. "description": "OK",
  7096. "schema": {
  7097. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7098. }
  7099. },
  7100. "500": {
  7101. "description": "Internal Server Error",
  7102. "schema": {
  7103. "$ref": "#/definitions/app.Response"
  7104. }
  7105. }
  7106. }
  7107. }
  7108. },
  7109. "/User/AddMessageBoard": {
  7110. "post": {
  7111. "security": [
  7112. {
  7113. "ApiKeyAuth": []
  7114. }
  7115. ],
  7116. "produces": [
  7117. "application/json"
  7118. ],
  7119. "tags": [
  7120. "用户信息"
  7121. ],
  7122. "summary": "添加用户留言板信息",
  7123. "parameters": [
  7124. {
  7125. "type": "integer",
  7126. "description": "用户ID",
  7127. "name": "userID",
  7128. "in": "query",
  7129. "required": true
  7130. },
  7131. {
  7132. "type": "string",
  7133. "description": "留言信息",
  7134. "name": "message",
  7135. "in": "query",
  7136. "required": true
  7137. },
  7138. {
  7139. "type": "string",
  7140. "description": "联系电话",
  7141. "name": "contactNum",
  7142. "in": "query",
  7143. "required": true
  7144. }
  7145. ],
  7146. "responses": {
  7147. "200": {
  7148. "description": "OK",
  7149. "schema": {
  7150. "$ref": "#/definitions/app.Response"
  7151. }
  7152. },
  7153. "500": {
  7154. "description": "Internal Server Error",
  7155. "schema": {
  7156. "$ref": "#/definitions/app.Response"
  7157. }
  7158. }
  7159. }
  7160. }
  7161. },
  7162. "/User/AddUserFavoriteGoods": {
  7163. "post": {
  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": "用户ID",
  7180. "name": "userID",
  7181. "in": "query",
  7182. "required": true
  7183. },
  7184. {
  7185. "type": "integer",
  7186. "description": "商品ID",
  7187. "name": "goodsID",
  7188. "in": "query",
  7189. "required": true
  7190. }
  7191. ],
  7192. "responses": {
  7193. "200": {
  7194. "description": "OK",
  7195. "schema": {
  7196. "$ref": "#/definitions/app.Response"
  7197. }
  7198. },
  7199. "500": {
  7200. "description": "Internal Server Error",
  7201. "schema": {
  7202. "$ref": "#/definitions/app.Response"
  7203. }
  7204. }
  7205. }
  7206. }
  7207. },
  7208. "/User/GetLoginID": {
  7209. "get": {
  7210. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7211. "produces": [
  7212. "application/json"
  7213. ],
  7214. "tags": [
  7215. "用户信息"
  7216. ],
  7217. "summary": "获取登录ID",
  7218. "parameters": [
  7219. {
  7220. "type": "string",
  7221. "description": "登录代码",
  7222. "name": "username",
  7223. "in": "query",
  7224. "required": true
  7225. }
  7226. ],
  7227. "responses": {
  7228. "200": {
  7229. "description": "OK",
  7230. "schema": {
  7231. "$ref": "#/definitions/app.Response"
  7232. }
  7233. },
  7234. "500": {
  7235. "description": "Internal Server Error",
  7236. "schema": {
  7237. "$ref": "#/definitions/app.Response"
  7238. }
  7239. }
  7240. }
  7241. }
  7242. },
  7243. "/User/GetUserAccount": {
  7244. "get": {
  7245. "security": [
  7246. {
  7247. "ApiKeyAuth": []
  7248. }
  7249. ],
  7250. "produces": [
  7251. "application/json"
  7252. ],
  7253. "tags": [
  7254. "用户信息"
  7255. ],
  7256. "summary": "获取用户账号信息",
  7257. "parameters": [
  7258. {
  7259. "type": "integer",
  7260. "description": "用户ID",
  7261. "name": "userID",
  7262. "in": "query",
  7263. "required": true
  7264. }
  7265. ],
  7266. "responses": {
  7267. "200": {
  7268. "description": "OK",
  7269. "schema": {
  7270. "$ref": "#/definitions/models.Useraccount"
  7271. }
  7272. },
  7273. "500": {
  7274. "description": "Internal Server Error",
  7275. "schema": {
  7276. "$ref": "#/definitions/app.Response"
  7277. }
  7278. }
  7279. }
  7280. }
  7281. },
  7282. "/User/GetUserAuthStatus": {
  7283. "get": {
  7284. "security": [
  7285. {
  7286. "ApiKeyAuth": []
  7287. }
  7288. ],
  7289. "produces": [
  7290. "application/json"
  7291. ],
  7292. "tags": [
  7293. "用户信息"
  7294. ],
  7295. "summary": "获取用户实名认证状态",
  7296. "parameters": [
  7297. {
  7298. "type": "integer",
  7299. "description": "用户ID",
  7300. "name": "userID",
  7301. "in": "query",
  7302. "required": true
  7303. }
  7304. ],
  7305. "responses": {
  7306. "200": {
  7307. "description": "OK",
  7308. "schema": {
  7309. "$ref": "#/definitions/app.Response"
  7310. }
  7311. },
  7312. "500": {
  7313. "description": "Internal Server Error",
  7314. "schema": {
  7315. "$ref": "#/definitions/app.Response"
  7316. }
  7317. }
  7318. }
  7319. }
  7320. },
  7321. "/User/LoginQuery": {
  7322. "get": {
  7323. "security": [
  7324. {
  7325. "ApiKeyAuth": []
  7326. }
  7327. ],
  7328. "produces": [
  7329. "application/json"
  7330. ],
  7331. "tags": [
  7332. "用户信息"
  7333. ],
  7334. "summary": "账户登录后信息查询",
  7335. "parameters": [
  7336. {
  7337. "type": "integer",
  7338. "description": "登录账号",
  7339. "name": "loginID",
  7340. "in": "query",
  7341. "required": true
  7342. }
  7343. ],
  7344. "responses": {
  7345. "200": {
  7346. "description": "OK",
  7347. "schema": {
  7348. "$ref": "#/definitions/user.LoginQueryRsp"
  7349. }
  7350. },
  7351. "500": {
  7352. "description": "Internal Server Error",
  7353. "schema": {
  7354. "$ref": "#/definitions/app.Response"
  7355. }
  7356. }
  7357. }
  7358. }
  7359. },
  7360. "/User/QueryMessageBoard": {
  7361. "get": {
  7362. "security": [
  7363. {
  7364. "ApiKeyAuth": []
  7365. }
  7366. ],
  7367. "produces": [
  7368. "application/json"
  7369. ],
  7370. "tags": [
  7371. "用户信息"
  7372. ],
  7373. "summary": "获取用户留言板信息",
  7374. "parameters": [
  7375. {
  7376. "type": "integer",
  7377. "description": "用户ID",
  7378. "name": "userID",
  7379. "in": "query",
  7380. "required": true
  7381. }
  7382. ],
  7383. "responses": {
  7384. "200": {
  7385. "description": "OK",
  7386. "schema": {
  7387. "$ref": "#/definitions/models.Messageboard"
  7388. }
  7389. },
  7390. "500": {
  7391. "description": "Internal Server Error",
  7392. "schema": {
  7393. "$ref": "#/definitions/app.Response"
  7394. }
  7395. }
  7396. }
  7397. }
  7398. },
  7399. "/User/QueryUserFavoriteGoodses": {
  7400. "get": {
  7401. "security": [
  7402. {
  7403. "ApiKeyAuth": []
  7404. }
  7405. ],
  7406. "produces": [
  7407. "application/json"
  7408. ],
  7409. "tags": [
  7410. "用户信息"
  7411. ],
  7412. "summary": "获取用户商品收藏信息",
  7413. "parameters": [
  7414. {
  7415. "type": "integer",
  7416. "description": "用户ID",
  7417. "name": "userID",
  7418. "in": "query",
  7419. "required": true
  7420. }
  7421. ],
  7422. "responses": {
  7423. "200": {
  7424. "description": "OK",
  7425. "schema": {
  7426. "$ref": "#/definitions/models.Userfavoritegoods"
  7427. }
  7428. },
  7429. "500": {
  7430. "description": "Internal Server Error",
  7431. "schema": {
  7432. "$ref": "#/definitions/app.Response"
  7433. }
  7434. }
  7435. }
  7436. }
  7437. },
  7438. "/User/QueryUserInfo": {
  7439. "get": {
  7440. "security": [
  7441. {
  7442. "ApiKeyAuth": []
  7443. }
  7444. ],
  7445. "produces": [
  7446. "application/json"
  7447. ],
  7448. "tags": [
  7449. "用户信息"
  7450. ],
  7451. "summary": "获取用户信息",
  7452. "parameters": [
  7453. {
  7454. "type": "integer",
  7455. "description": "用户ID",
  7456. "name": "userID",
  7457. "in": "query",
  7458. "required": true
  7459. },
  7460. {
  7461. "type": "boolean",
  7462. "description": "是否解密",
  7463. "name": "isDecrypt",
  7464. "in": "query"
  7465. }
  7466. ],
  7467. "responses": {
  7468. "200": {
  7469. "description": "OK",
  7470. "schema": {
  7471. "$ref": "#/definitions/models.Userinfo"
  7472. }
  7473. },
  7474. "500": {
  7475. "description": "Internal Server Error",
  7476. "schema": {
  7477. "$ref": "#/definitions/app.Response"
  7478. }
  7479. }
  7480. }
  7481. }
  7482. },
  7483. "/User/QueryUserReferNum": {
  7484. "get": {
  7485. "produces": [
  7486. "application/json"
  7487. ],
  7488. "tags": [
  7489. "用户信息"
  7490. ],
  7491. "summary": "获取用户邀请码",
  7492. "parameters": [
  7493. {
  7494. "type": "integer",
  7495. "description": "用户ID",
  7496. "name": "userID",
  7497. "in": "query",
  7498. "required": true
  7499. }
  7500. ],
  7501. "responses": {
  7502. "200": {
  7503. "description": "OK",
  7504. "schema": {
  7505. "$ref": "#/definitions/app.Response"
  7506. }
  7507. },
  7508. "500": {
  7509. "description": "Internal Server Error",
  7510. "schema": {
  7511. "$ref": "#/definitions/app.Response"
  7512. }
  7513. }
  7514. }
  7515. }
  7516. },
  7517. "/User/RemoveUserFavoriteGoods": {
  7518. "post": {
  7519. "security": [
  7520. {
  7521. "ApiKeyAuth": []
  7522. }
  7523. ],
  7524. "produces": [
  7525. "application/json"
  7526. ],
  7527. "tags": [
  7528. "用户信息"
  7529. ],
  7530. "summary": "移除用户商品收藏信息",
  7531. "parameters": [
  7532. {
  7533. "type": "integer",
  7534. "description": "用户ID",
  7535. "name": "userID",
  7536. "in": "query",
  7537. "required": true
  7538. },
  7539. {
  7540. "type": "integer",
  7541. "description": "商品ID",
  7542. "name": "goodsID",
  7543. "in": "query",
  7544. "required": true
  7545. }
  7546. ],
  7547. "responses": {
  7548. "200": {
  7549. "description": "OK",
  7550. "schema": {
  7551. "$ref": "#/definitions/app.Response"
  7552. }
  7553. },
  7554. "500": {
  7555. "description": "Internal Server Error",
  7556. "schema": {
  7557. "$ref": "#/definitions/app.Response"
  7558. }
  7559. }
  7560. }
  7561. }
  7562. },
  7563. "/User/UpdateUserAccountStatus": {
  7564. "post": {
  7565. "security": [
  7566. {
  7567. "ApiKeyAuth": []
  7568. }
  7569. ],
  7570. "produces": [
  7571. "application/json"
  7572. ],
  7573. "tags": [
  7574. "用户信息"
  7575. ],
  7576. "summary": "更新用户状态",
  7577. "parameters": [
  7578. {
  7579. "type": "integer",
  7580. "description": "用户ID",
  7581. "name": "userID",
  7582. "in": "query",
  7583. "required": true
  7584. },
  7585. {
  7586. "type": "integer",
  7587. "description": "账户状态 - 4:正常 6:注销(停用)",
  7588. "name": "accountStatus",
  7589. "in": "query",
  7590. "required": true
  7591. }
  7592. ],
  7593. "responses": {
  7594. "200": {
  7595. "description": "OK",
  7596. "schema": {
  7597. "$ref": "#/definitions/app.Response"
  7598. }
  7599. },
  7600. "500": {
  7601. "description": "Internal Server Error",
  7602. "schema": {
  7603. "$ref": "#/definitions/app.Response"
  7604. }
  7605. }
  7606. }
  7607. }
  7608. },
  7609. "/WR/GetWRCategoryInfo": {
  7610. "get": {
  7611. "produces": [
  7612. "application/json"
  7613. ],
  7614. "tags": [
  7615. "仓单服务"
  7616. ],
  7617. "summary": "获取现货分类信息",
  7618. "responses": {
  7619. "200": {
  7620. "description": "OK",
  7621. "schema": {
  7622. "$ref": "#/definitions/models.WRCategoryTree"
  7623. }
  7624. },
  7625. "500": {
  7626. "description": "Internal Server Error",
  7627. "schema": {
  7628. "$ref": "#/definitions/app.Response"
  7629. }
  7630. }
  7631. }
  7632. }
  7633. },
  7634. "/WRTrade/GetAllDeliveryGoods": {
  7635. "get": {
  7636. "security": [
  7637. {
  7638. "ApiKeyAuth": []
  7639. },
  7640. {
  7641. "ApiKeyAuth": []
  7642. }
  7643. ],
  7644. "produces": [
  7645. "application/json",
  7646. "application/json"
  7647. ],
  7648. "tags": [
  7649. "仓单贸易",
  7650. "仓单贸易"
  7651. ],
  7652. "summary": "获取带仓单分类的种类信息",
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "$ref": "#/definitions/app.Response"
  7658. }
  7659. },
  7660. "500": {
  7661. "description": "Internal Server Error",
  7662. "schema": {
  7663. "$ref": "#/definitions/app.Response"
  7664. }
  7665. }
  7666. }
  7667. }
  7668. }
  7669. },
  7670. "definitions": {
  7671. "app.Response": {
  7672. "type": "object",
  7673. "properties": {
  7674. "code": {
  7675. "type": "integer"
  7676. },
  7677. "data": {
  7678. "type": "object"
  7679. },
  7680. "msg": {
  7681. "type": "string"
  7682. },
  7683. "page": {
  7684. "description": "页码",
  7685. "type": "integer"
  7686. },
  7687. "pagesize": {
  7688. "description": "每页条数",
  7689. "type": "integer"
  7690. },
  7691. "total": {
  7692. "description": "总条数",
  7693. "type": "integer"
  7694. }
  7695. }
  7696. },
  7697. "common.ClientMenu": {
  7698. "type": "object",
  7699. "properties": {
  7700. "children": {
  7701. "description": "子菜单列表",
  7702. "type": "array",
  7703. "items": {
  7704. "$ref": "#/definitions/common.ClientMenu"
  7705. }
  7706. },
  7707. "code": {
  7708. "description": "ID",
  7709. "type": "string"
  7710. },
  7711. "isshow": {
  7712. "description": "是否显示",
  7713. "type": "boolean"
  7714. },
  7715. "rulekey": {
  7716. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7717. "type": "string"
  7718. },
  7719. "sort": {
  7720. "description": "排序",
  7721. "type": "integer"
  7722. },
  7723. "title": {
  7724. "description": "标题",
  7725. "type": "string"
  7726. },
  7727. "type": {
  7728. "description": "类型,1:菜单 2:按钮",
  7729. "type": "integer"
  7730. }
  7731. }
  7732. },
  7733. "common.QueryImageConfigsRsp": {
  7734. "type": "object",
  7735. "required": [
  7736. "configid"
  7737. ],
  7738. "properties": {
  7739. "areauserid": {
  7740. "description": "所属机构ID",
  7741. "type": "integer"
  7742. },
  7743. "configid": {
  7744. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7745. "type": "integer"
  7746. },
  7747. "createdate": {
  7748. "description": "创建时间",
  7749. "type": "string"
  7750. },
  7751. "creatorid": {
  7752. "description": "创建人",
  7753. "type": "integer"
  7754. },
  7755. "imagepath": {
  7756. "description": "图片",
  7757. "type": "string"
  7758. },
  7759. "imagetype": {
  7760. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7761. "type": "integer"
  7762. },
  7763. "isshow": {
  7764. "description": "是否展示 - 0:不展示 1:展示",
  7765. "type": "integer"
  7766. },
  7767. "marketid": {
  7768. "description": "市场ID",
  7769. "type": "integer"
  7770. },
  7771. "modifierid": {
  7772. "description": "操作人",
  7773. "type": "integer"
  7774. },
  7775. "sort": {
  7776. "description": "排序",
  7777. "type": "integer"
  7778. },
  7779. "title": {
  7780. "description": "标题",
  7781. "type": "string"
  7782. },
  7783. "trademode": {
  7784. "description": "交易模式",
  7785. "type": "integer"
  7786. },
  7787. "updatedate": {
  7788. "description": "修改时间",
  7789. "type": "string"
  7790. },
  7791. "url": {
  7792. "description": "链接(地址或商品ID)",
  7793. "type": "string"
  7794. },
  7795. "urltype": {
  7796. "description": "链接类型 - 1:直接地址 2:商品ID",
  7797. "type": "integer"
  7798. }
  7799. }
  7800. },
  7801. "common.QueryNoticeRsp": {
  7802. "type": "object",
  7803. "required": [
  7804. "autoid"
  7805. ],
  7806. "properties": {
  7807. "auditoruserid": {
  7808. "description": "审核人",
  7809. "type": "integer"
  7810. },
  7811. "auditremark": {
  7812. "description": "审核备注",
  7813. "type": "string"
  7814. },
  7815. "audittime": {
  7816. "description": "审核日期",
  7817. "type": "string"
  7818. },
  7819. "autoid": {
  7820. "description": "自增ID",
  7821. "type": "integer"
  7822. },
  7823. "content": {
  7824. "description": "内容",
  7825. "type": "string"
  7826. },
  7827. "createtime": {
  7828. "description": "创建时间",
  7829. "type": "string"
  7830. },
  7831. "creatorid": {
  7832. "description": "建仓人",
  7833. "type": "integer"
  7834. },
  7835. "endtime": {
  7836. "description": "结束时间",
  7837. "type": "string"
  7838. },
  7839. "istop": {
  7840. "description": "是否置顶 - 0:不置顶 1:置顶",
  7841. "type": "integer"
  7842. },
  7843. "msgiconurl": {
  7844. "description": "消息图标Url",
  7845. "type": "string"
  7846. },
  7847. "msgtype": {
  7848. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7849. "type": "integer"
  7850. },
  7851. "publisher": {
  7852. "description": "消息发布者",
  7853. "type": "string"
  7854. },
  7855. "readed": {
  7856. "description": "是否已读",
  7857. "type": "boolean"
  7858. },
  7859. "scheduletime": {
  7860. "description": "计划发送时间",
  7861. "type": "string"
  7862. },
  7863. "sendtype": {
  7864. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7865. "type": "integer"
  7866. },
  7867. "sentstatus": {
  7868. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7869. "type": "integer"
  7870. },
  7871. "title": {
  7872. "description": "标题",
  7873. "type": "string"
  7874. },
  7875. "userid": {
  7876. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7877. "type": "integer"
  7878. }
  7879. }
  7880. },
  7881. "common.QueryProvincesAndCitiesRsp": {
  7882. "type": "object",
  7883. "properties": {
  7884. "cities": {
  7885. "description": "市",
  7886. "type": "array",
  7887. "items": {
  7888. "$ref": "#/definitions/models.Division"
  7889. }
  7890. },
  7891. "province": {
  7892. "description": "省",
  7893. "type": "object",
  7894. "$ref": "#/definitions/models.Division"
  7895. }
  7896. }
  7897. },
  7898. "common.QueryTableDefineRsp": {
  7899. "type": "object",
  7900. "required": [
  7901. "tablekey"
  7902. ],
  7903. "properties": {
  7904. "columns": {
  7905. "description": "列头信息数组",
  7906. "type": "array",
  7907. "items": {
  7908. "$ref": "#/definitions/models.Tablecolumnconfig"
  7909. }
  7910. },
  7911. "remark": {
  7912. "description": "Remark",
  7913. "type": "string"
  7914. },
  7915. "tabelmenu": {
  7916. "description": "列表菜单",
  7917. "type": "string"
  7918. },
  7919. "tablekey": {
  7920. "description": "列表Key",
  7921. "type": "string"
  7922. },
  7923. "tablename": {
  7924. "description": "列表名称",
  7925. "type": "string"
  7926. },
  7927. "tabletype": {
  7928. "description": "列表类型 - 1:管理端 2:终端",
  7929. "type": "integer"
  7930. }
  7931. }
  7932. },
  7933. "common.QueryTraderMenuRsp": {
  7934. "type": "object",
  7935. "properties": {
  7936. "OperationMenu": {
  7937. "description": "功能菜单",
  7938. "type": "array",
  7939. "items": {
  7940. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7941. }
  7942. },
  7943. "QuoteMenu": {
  7944. "description": "报价牌分类菜单",
  7945. "type": "array",
  7946. "items": {
  7947. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7948. }
  7949. }
  7950. }
  7951. },
  7952. "cptrade.Cptradepositioncancel": {
  7953. "type": "object",
  7954. "required": [
  7955. "cancelid"
  7956. ],
  7957. "properties": {
  7958. "accountid": {
  7959. "description": "申请人账户ID",
  7960. "type": "integer"
  7961. },
  7962. "applystatus": {
  7963. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7964. "type": "integer"
  7965. },
  7966. "applytime": {
  7967. "description": "申请时间",
  7968. "type": "string"
  7969. },
  7970. "cancelid": {
  7971. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7972. "type": "integer"
  7973. },
  7974. "cancelqty": {
  7975. "description": "注销数量",
  7976. "type": "integer"
  7977. },
  7978. "createtime": {
  7979. "description": "创建时间",
  7980. "type": "string"
  7981. },
  7982. "creatorid": {
  7983. "description": "创建人ID",
  7984. "type": "integer"
  7985. },
  7986. "creatorname": {
  7987. "description": "创建人",
  7988. "type": "string"
  7989. },
  7990. "goodscode": {
  7991. "description": "订单商品代码",
  7992. "type": "string"
  7993. },
  7994. "goodsid": {
  7995. "description": "商品ID",
  7996. "type": "integer"
  7997. },
  7998. "goodsname": {
  7999. "description": "订单商品名称",
  8000. "type": "string"
  8001. },
  8002. "goodunit": {
  8003. "description": "报价单位",
  8004. "type": "string"
  8005. },
  8006. "handlestatus": {
  8007. "description": "处理状态",
  8008. "type": "integer"
  8009. },
  8010. "marketid": {
  8011. "description": "市场ID",
  8012. "type": "integer"
  8013. },
  8014. "marketname": {
  8015. "description": "市场名称",
  8016. "type": "string"
  8017. },
  8018. "tradedate": {
  8019. "description": "交易日(yyyyMMdd)",
  8020. "type": "string"
  8021. },
  8022. "userid": {
  8023. "description": "申请人ID",
  8024. "type": "integer"
  8025. }
  8026. }
  8027. },
  8028. "cptrade.Cptradepresaleapply": {
  8029. "type": "object",
  8030. "required": [
  8031. "applyid"
  8032. ],
  8033. "properties": {
  8034. "accountid": {
  8035. "description": "申请人账户ID",
  8036. "type": "integer"
  8037. },
  8038. "applyid": {
  8039. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8040. "type": "integer"
  8041. },
  8042. "applyremark": {
  8043. "description": "申请备注",
  8044. "type": "string"
  8045. },
  8046. "applystatus": {
  8047. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8048. "type": "integer"
  8049. },
  8050. "applytime": {
  8051. "description": "申请时间",
  8052. "type": "string"
  8053. },
  8054. "attachmenturl": {
  8055. "description": "附件地址",
  8056. "type": "string"
  8057. },
  8058. "endtime": {
  8059. "description": "预售结束时间",
  8060. "type": "string"
  8061. },
  8062. "goodscode": {
  8063. "description": "商品代码",
  8064. "type": "string"
  8065. },
  8066. "goodsid": {
  8067. "description": "商品ID",
  8068. "type": "integer"
  8069. },
  8070. "goodsname": {
  8071. "description": "商品名称",
  8072. "type": "string"
  8073. },
  8074. "goodunit": {
  8075. "description": "报价单位",
  8076. "type": "string"
  8077. },
  8078. "handlestatus": {
  8079. "description": "处理状态",
  8080. "type": "integer"
  8081. },
  8082. "marketid": {
  8083. "description": "预售市场ID",
  8084. "type": "integer"
  8085. },
  8086. "marketname": {
  8087. "description": "预售市场名称",
  8088. "type": "string"
  8089. },
  8090. "presaleqty": {
  8091. "description": "预售数量",
  8092. "type": "integer"
  8093. },
  8094. "relatedgoodscode": {
  8095. "description": "关联交易合约代码",
  8096. "type": "string"
  8097. },
  8098. "relatedgoodsid": {
  8099. "description": "关联交易合约ID",
  8100. "type": "integer"
  8101. },
  8102. "relatedgoodsname": {
  8103. "description": "关联交易合约名称",
  8104. "type": "string"
  8105. },
  8106. "starttime": {
  8107. "description": "预售开始时间",
  8108. "type": "string"
  8109. },
  8110. "tradedate": {
  8111. "description": "交易日(yyyyMMdd)",
  8112. "type": "string"
  8113. },
  8114. "trademode": {
  8115. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8116. "type": "integer"
  8117. },
  8118. "userid": {
  8119. "description": "申请人ID",
  8120. "type": "integer"
  8121. }
  8122. }
  8123. },
  8124. "cptrade.Cptradeusergoodsdata": {
  8125. "type": "object",
  8126. "required": [
  8127. "accountid",
  8128. "goodsid"
  8129. ],
  8130. "properties": {
  8131. "EnabledQty": {
  8132. "description": "可用量",
  8133. "type": "integer"
  8134. },
  8135. "GoodsCode": {
  8136. "description": "订单商品代码",
  8137. "type": "string"
  8138. },
  8139. "GoodsName": {
  8140. "description": "订单商品名称",
  8141. "type": "string"
  8142. },
  8143. "WRStandardCode": {
  8144. "description": "仓单标准代码",
  8145. "type": "string"
  8146. },
  8147. "WRStandardName": {
  8148. "description": "仓单标准名称",
  8149. "type": "string"
  8150. },
  8151. "accountid": {
  8152. "description": "账户ID",
  8153. "type": "integer"
  8154. },
  8155. "cancelqty": {
  8156. "description": "注销量",
  8157. "type": "integer"
  8158. },
  8159. "curpresaleqty": {
  8160. "description": "当前预售量",
  8161. "type": "integer"
  8162. },
  8163. "deliveryqty": {
  8164. "description": "交割量",
  8165. "type": "integer"
  8166. },
  8167. "freezeamount": {
  8168. "description": "冻结金额",
  8169. "type": "number"
  8170. },
  8171. "goodsid": {
  8172. "description": "商品ID",
  8173. "type": "integer"
  8174. },
  8175. "goodunit": {
  8176. "description": "报价单位",
  8177. "type": "string"
  8178. },
  8179. "hasspotfreeze": {
  8180. "description": "是否有现货冻结 - 0:否 1:有",
  8181. "type": "integer"
  8182. },
  8183. "inqty": {
  8184. "description": "转入量(总数量)",
  8185. "type": "integer"
  8186. },
  8187. "marketid": {
  8188. "description": "市场ID",
  8189. "type": "integer"
  8190. },
  8191. "presaledamount": {
  8192. "description": "已预售总金额",
  8193. "type": "integer"
  8194. },
  8195. "presaledqty": {
  8196. "description": "已预售量",
  8197. "type": "integer"
  8198. },
  8199. "userid": {
  8200. "description": "用户ID",
  8201. "type": "integer"
  8202. },
  8203. "wrstandardid": {
  8204. "description": "仓单标准ID",
  8205. "type": "integer"
  8206. }
  8207. }
  8208. },
  8209. "cptrade.QueryCPTradeMyBidRsp": {
  8210. "type": "object",
  8211. "required": [
  8212. "accountid",
  8213. "goodsid",
  8214. "marketid",
  8215. "orderid",
  8216. "orderqty",
  8217. "ordertime",
  8218. "tradeprice",
  8219. "tradeqty"
  8220. ],
  8221. "properties": {
  8222. "accountid": {
  8223. "description": "账户ID[报价币种]",
  8224. "type": "integer"
  8225. },
  8226. "goodsid": {
  8227. "description": "商品ID",
  8228. "type": "integer"
  8229. },
  8230. "goodunit": {
  8231. "description": "报价单位",
  8232. "type": "string"
  8233. },
  8234. "marketid": {
  8235. "description": "市场ID",
  8236. "type": "integer"
  8237. },
  8238. "orderid": {
  8239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8240. "type": "integer"
  8241. },
  8242. "orderprice": {
  8243. "description": "委托价格",
  8244. "type": "number"
  8245. },
  8246. "orderqty": {
  8247. "description": "委托数量",
  8248. "type": "integer"
  8249. },
  8250. "ordertime": {
  8251. "description": "委托时间",
  8252. "type": "string"
  8253. },
  8254. "ordertotalprice": {
  8255. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8256. "type": "number"
  8257. },
  8258. "ordertotalweight": {
  8259. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8260. "type": "integer"
  8261. },
  8262. "totaltotalprice": {
  8263. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8264. "type": "number"
  8265. },
  8266. "tradeprice": {
  8267. "description": "成交价格",
  8268. "type": "number"
  8269. },
  8270. "tradeqty": {
  8271. "description": "成交数量",
  8272. "type": "integer"
  8273. }
  8274. }
  8275. },
  8276. "cptrade.QueryCPTradeOrderDetailRsq": {
  8277. "type": "object",
  8278. "required": [
  8279. "accountid",
  8280. "buildtype",
  8281. "buyorsell",
  8282. "goodsid",
  8283. "marketid",
  8284. "memberuserid",
  8285. "operatetype",
  8286. "orderqty",
  8287. "ordertime",
  8288. "pricemode",
  8289. "strorderid",
  8290. "tradedate",
  8291. "validtype"
  8292. ],
  8293. "properties": {
  8294. "accountid": {
  8295. "description": "账户ID[报价币种]",
  8296. "type": "integer"
  8297. },
  8298. "buildtype": {
  8299. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8300. "type": "integer"
  8301. },
  8302. "buyorsell": {
  8303. "description": "买卖 - 0:买 1:卖",
  8304. "type": "integer"
  8305. },
  8306. "cancelorderid": {
  8307. "description": "撤单单号(撤单时填写)",
  8308. "type": "integer"
  8309. },
  8310. "cancelqty": {
  8311. "description": "撤单数量",
  8312. "type": "integer"
  8313. },
  8314. "clientordertime": {
  8315. "description": "客户端委托时间",
  8316. "type": "string"
  8317. },
  8318. "clientticket": {
  8319. "description": "客户端流水号",
  8320. "type": "string"
  8321. },
  8322. "clienttype": {
  8323. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8324. "type": "integer"
  8325. },
  8326. "closeexchagechargevalue": {
  8327. "description": "平仓交易所手续费设置值",
  8328. "type": "number"
  8329. },
  8330. "closefeealgorithm": {
  8331. "description": "平仓手续费收取方式 1:比率 2:固定",
  8332. "type": "integer"
  8333. },
  8334. "closefreezecharge": {
  8335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8336. "type": "number"
  8337. },
  8338. "closememberchargevalue": {
  8339. "description": "平仓会员手续费设置值",
  8340. "type": "number"
  8341. },
  8342. "closeqty": {
  8343. "description": "平仓数量(先建后平操作 需要记录)",
  8344. "type": "integer"
  8345. },
  8346. "closetradeqty": {
  8347. "description": "平仓成交数量(先建后平操作,需要记录)",
  8348. "type": "integer"
  8349. },
  8350. "closeunfreezecharge": {
  8351. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8352. "type": "number"
  8353. },
  8354. "delistingtype": {
  8355. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8356. "type": "integer"
  8357. },
  8358. "freezecharge": {
  8359. "description": "冻结手续费",
  8360. "type": "number"
  8361. },
  8362. "freezemargin": {
  8363. "description": "冻结保证金(冻结交易金额)",
  8364. "type": "number"
  8365. },
  8366. "gcaccountid": {
  8367. "description": "账户ID[合约币种]",
  8368. "type": "integer"
  8369. },
  8370. "goodsid": {
  8371. "description": "商品ID",
  8372. "type": "integer"
  8373. },
  8374. "isconfirmexercise": {
  8375. "description": "是否确认行权- 0:否 1:是",
  8376. "type": "integer"
  8377. },
  8378. "ispreexercise": {
  8379. "description": "是否预申报- 0:否 1:是",
  8380. "type": "integer"
  8381. },
  8382. "listingselecttype": {
  8383. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8384. "type": "integer"
  8385. },
  8386. "marginalgorithm": {
  8387. "description": "保证金收取方式 1:比率 2:固定",
  8388. "type": "integer"
  8389. },
  8390. "marginvalue": {
  8391. "description": "即市保证金设置值",
  8392. "type": "number"
  8393. },
  8394. "marketid": {
  8395. "description": "市场ID",
  8396. "type": "integer"
  8397. },
  8398. "marketmaxsub": {
  8399. "description": "市价最大偏移范围",
  8400. "type": "number"
  8401. },
  8402. "memberuserid": {
  8403. "description": "所属会员UserID",
  8404. "type": "integer"
  8405. },
  8406. "openexchagechargevalue": {
  8407. "description": "建仓交易所手续费设置值",
  8408. "type": "number"
  8409. },
  8410. "openfeealgorithm": {
  8411. "description": "建仓手续费收取方式 1:比率 2:固定",
  8412. "type": "integer"
  8413. },
  8414. "openfreezecharge": {
  8415. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8416. "type": "number"
  8417. },
  8418. "openmemberchargevalue": {
  8419. "description": "建仓会员手续费设置值",
  8420. "type": "number"
  8421. },
  8422. "openqty": {
  8423. "description": "开仓数量(先建后平操作,需要记录)",
  8424. "type": "integer"
  8425. },
  8426. "opentradeqty": {
  8427. "description": "开仓成交数量(先建后平操作,需要记录)",
  8428. "type": "integer"
  8429. },
  8430. "openunfreezecharge": {
  8431. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8432. "type": "number"
  8433. },
  8434. "operatetype": {
  8435. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8436. "type": "integer"
  8437. },
  8438. "operatorid": {
  8439. "description": "登录账号(LoginID)",
  8440. "type": "integer"
  8441. },
  8442. "optiontype": {
  8443. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8444. "type": "integer"
  8445. },
  8446. "orderprice": {
  8447. "description": "委托价格",
  8448. "type": "number"
  8449. },
  8450. "orderqty": {
  8451. "description": "委托数量",
  8452. "type": "integer"
  8453. },
  8454. "ordersrc": {
  8455. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8456. "type": "integer"
  8457. },
  8458. "orderstatus": {
  8459. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8460. "type": "integer"
  8461. },
  8462. "ordertime": {
  8463. "description": "委托时间",
  8464. "type": "string"
  8465. },
  8466. "preexerciseprice": {
  8467. "description": "预申报价格",
  8468. "type": "number"
  8469. },
  8470. "premium": {
  8471. "description": "权利金",
  8472. "type": "number"
  8473. },
  8474. "preorderid": {
  8475. "description": "关联预埋单号(止盈止损单时填写)",
  8476. "type": "integer"
  8477. },
  8478. "pricemode": {
  8479. "description": "取价方式 - 1:市价 2: 限价",
  8480. "type": "integer"
  8481. },
  8482. "quoteid": {
  8483. "description": "报价单ID",
  8484. "type": "integer"
  8485. },
  8486. "relatedid": {
  8487. "description": "关联单号(交割单)",
  8488. "type": "integer"
  8489. },
  8490. "retcode": {
  8491. "description": "错误代码",
  8492. "type": "integer"
  8493. },
  8494. "sessionid": {
  8495. "description": "会话ID",
  8496. "type": "integer"
  8497. },
  8498. "strorderid": {
  8499. "description": "委托单号",
  8500. "type": "string"
  8501. },
  8502. "tradedate": {
  8503. "description": "交易日(yyyyMMdd)",
  8504. "type": "string"
  8505. },
  8506. "tradeproperty": {
  8507. "description": "交易属性",
  8508. "type": "integer"
  8509. },
  8510. "tradeqty": {
  8511. "description": "成交数量",
  8512. "type": "integer"
  8513. },
  8514. "unfreezecharge": {
  8515. "description": "解冻手续费",
  8516. "type": "number"
  8517. },
  8518. "unfreezemargin": {
  8519. "description": "解冻保证金",
  8520. "type": "number"
  8521. },
  8522. "updatetime": {
  8523. "description": "更新时间",
  8524. "type": "string"
  8525. },
  8526. "uuid": {
  8527. "description": "发起端唯一id",
  8528. "type": "string"
  8529. },
  8530. "validtime": {
  8531. "description": "有效期限",
  8532. "type": "string"
  8533. },
  8534. "validtype": {
  8535. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8536. "type": "integer"
  8537. },
  8538. "volumetype": {
  8539. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8540. "type": "integer"
  8541. }
  8542. }
  8543. },
  8544. "cptrade.QueryMyCPTradeGoodsRsp": {
  8545. "type": "object",
  8546. "required": [
  8547. "goodscode",
  8548. "goodsid",
  8549. "goodsname",
  8550. "marketid",
  8551. "relatedgoodscode",
  8552. "relatedgoodsname"
  8553. ],
  8554. "properties": {
  8555. "accountid": {
  8556. "description": "卖方账户ID",
  8557. "type": "integer"
  8558. },
  8559. "agreeunit": {
  8560. "description": "合约单位",
  8561. "type": "number"
  8562. },
  8563. "applyid": {
  8564. "description": "关联申请ID",
  8565. "type": "integer"
  8566. },
  8567. "attachmenturl": {
  8568. "description": "附件地址",
  8569. "type": "string"
  8570. },
  8571. "createtime": {
  8572. "description": "创建时间",
  8573. "type": "string"
  8574. },
  8575. "currencyid": {
  8576. "description": "报价货币ID",
  8577. "type": "integer"
  8578. },
  8579. "decimalplace": {
  8580. "description": "报价小数位",
  8581. "type": "integer"
  8582. },
  8583. "endtime": {
  8584. "description": "预售结束时间",
  8585. "type": "string"
  8586. },
  8587. "floorprice": {
  8588. "description": "底价[大宗式竞拍]",
  8589. "type": "number"
  8590. },
  8591. "goodscode": {
  8592. "description": "商品代码(预售)",
  8593. "type": "string"
  8594. },
  8595. "goodsdetail": {
  8596. "description": "详情[大宗]",
  8597. "type": "string"
  8598. },
  8599. "goodsid": {
  8600. "description": "商品ID(自增ID SEQ_GOODS)",
  8601. "type": "integer"
  8602. },
  8603. "goodsname": {
  8604. "description": "商品名称(预售)",
  8605. "type": "string"
  8606. },
  8607. "goodunit": {
  8608. "description": "报价单位",
  8609. "type": "string"
  8610. },
  8611. "goodunitid": {
  8612. "description": "报价单位ID",
  8613. "type": "integer"
  8614. },
  8615. "marketid": {
  8616. "description": "所属市场ID",
  8617. "type": "integer"
  8618. },
  8619. "marketname": {
  8620. "description": "预售市场名称",
  8621. "type": "string"
  8622. },
  8623. "presaledamount": {
  8624. "description": "已预售总金额(预售结束时更新)",
  8625. "type": "number"
  8626. },
  8627. "presaledqty": {
  8628. "description": "已预售量(预售结束时更新)",
  8629. "type": "integer"
  8630. },
  8631. "presalemode": {
  8632. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8633. "type": "integer"
  8634. },
  8635. "presaleqty": {
  8636. "description": "预售数量",
  8637. "type": "integer"
  8638. },
  8639. "refprice": {
  8640. "description": "参考价格[一口价]",
  8641. "type": "number"
  8642. },
  8643. "relatedgoodscode": {
  8644. "description": "商品代码(订单)",
  8645. "type": "string"
  8646. },
  8647. "relatedgoodsid": {
  8648. "description": "关联交易合约ID",
  8649. "type": "integer"
  8650. },
  8651. "relatedgoodsname": {
  8652. "description": "商品名称(订单)",
  8653. "type": "string"
  8654. },
  8655. "relatedmarketid": {
  8656. "description": "关联交易合约市场ID",
  8657. "type": "integer"
  8658. },
  8659. "sellstatus": {
  8660. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8661. "type": "integer"
  8662. },
  8663. "startprice": {
  8664. "description": "起拍价[大宗式竞拍]",
  8665. "type": "number"
  8666. },
  8667. "starttime": {
  8668. "description": "预售开始时间",
  8669. "type": "string"
  8670. },
  8671. "tradedate": {
  8672. "description": "交易日(yyyyMMdd)",
  8673. "type": "string"
  8674. },
  8675. "tradeprice": {
  8676. "description": "成交价[大宗]",
  8677. "type": "number"
  8678. },
  8679. "userid": {
  8680. "description": "卖方用户ID",
  8681. "type": "integer"
  8682. }
  8683. }
  8684. },
  8685. "cptrade.QueryPresaleGoodsExRsp": {
  8686. "type": "object",
  8687. "required": [
  8688. "goodsid"
  8689. ],
  8690. "properties": {
  8691. "attachmenturl": {
  8692. "description": "附件地址",
  8693. "type": "string"
  8694. },
  8695. "createtime": {
  8696. "description": "创建时间",
  8697. "type": "string"
  8698. },
  8699. "endtime": {
  8700. "description": "预售结束时间",
  8701. "type": "string"
  8702. },
  8703. "floorprice": {
  8704. "description": "底价[大宗式竞拍]",
  8705. "type": "number"
  8706. },
  8707. "goodsdetail": {
  8708. "description": "详情[大宗]",
  8709. "type": "string"
  8710. },
  8711. "goodsid": {
  8712. "description": "商品ID(预售)",
  8713. "type": "integer"
  8714. },
  8715. "goodunit": {
  8716. "description": "报价单位",
  8717. "type": "string"
  8718. },
  8719. "marketid": {
  8720. "description": "预售市场ID - 根据预售模式选择市场",
  8721. "type": "integer"
  8722. },
  8723. "presaledamount": {
  8724. "description": "已预售总金额(预售结束时更新)",
  8725. "type": "number"
  8726. },
  8727. "presaledqty": {
  8728. "description": "已预售量(预售结束时更新)",
  8729. "type": "integer"
  8730. },
  8731. "presalemode": {
  8732. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8733. "type": "integer"
  8734. },
  8735. "presaleqty": {
  8736. "description": "预售数量",
  8737. "type": "integer"
  8738. },
  8739. "refprice": {
  8740. "description": "参考价格[一口价]",
  8741. "type": "number"
  8742. },
  8743. "relatedgoodsid": {
  8744. "description": "关联交易合约ID",
  8745. "type": "integer"
  8746. },
  8747. "relatedmarketid": {
  8748. "description": "关联交易合约市场ID",
  8749. "type": "integer"
  8750. },
  8751. "sellstatus": {
  8752. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8753. "type": "integer"
  8754. },
  8755. "startprice": {
  8756. "description": "起拍价[大宗式竞拍]",
  8757. "type": "number"
  8758. },
  8759. "starttime": {
  8760. "description": "预售开始时间",
  8761. "type": "string"
  8762. },
  8763. "tradedate": {
  8764. "description": "交易日(yyyyMMdd)",
  8765. "type": "string"
  8766. },
  8767. "tradeprice": {
  8768. "description": "成交价[大宗]",
  8769. "type": "number"
  8770. }
  8771. }
  8772. },
  8773. "delivery.QueryDeliveryRelationRsp": {
  8774. "type": "object",
  8775. "required": [
  8776. "begindate",
  8777. "enddate",
  8778. "goodsid",
  8779. "mindeliveryqty",
  8780. "xdeliveryratio"
  8781. ],
  8782. "properties": {
  8783. "begindate": {
  8784. "description": "起始日期(yyyyMMdd)",
  8785. "type": "string"
  8786. },
  8787. "buytemplateid": {
  8788. "description": "买履约计划模板ID",
  8789. "type": "integer"
  8790. },
  8791. "deliverygoodscode": {
  8792. "description": "品种代码",
  8793. "type": "string"
  8794. },
  8795. "deliverygoodsid": {
  8796. "description": "交割商品",
  8797. "type": "integer"
  8798. },
  8799. "deliverygoodsname": {
  8800. "description": "品种名称",
  8801. "type": "string"
  8802. },
  8803. "deliverymode": {
  8804. "description": "交割方式 - 1:点选式 2:申报式",
  8805. "type": "integer"
  8806. },
  8807. "deliverypricerule": {
  8808. "description": "交割价规则- 1:行情价 2:建仓价",
  8809. "type": "integer"
  8810. },
  8811. "deliverytype": {
  8812. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8813. "type": "integer"
  8814. },
  8815. "enddate": {
  8816. "description": "结束日期(yyyyMMdd)",
  8817. "type": "string"
  8818. },
  8819. "goodscode": {
  8820. "description": "商品代码",
  8821. "type": "string"
  8822. },
  8823. "goodsid": {
  8824. "description": "交易合约ID",
  8825. "type": "integer"
  8826. },
  8827. "goodsname": {
  8828. "description": "商品名称",
  8829. "type": "string"
  8830. },
  8831. "marketid": {
  8832. "description": "市场ID",
  8833. "type": "integer"
  8834. },
  8835. "mindeliveryqty": {
  8836. "description": "最小交割系数(K)",
  8837. "type": "integer"
  8838. },
  8839. "p2deliveryprice": {
  8840. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8841. "type": "number"
  8842. },
  8843. "p2deliveryratio": {
  8844. "description": "P2合约系数(p)",
  8845. "type": "integer"
  8846. },
  8847. "p2goodsid": {
  8848. "description": "P2合约ID",
  8849. "type": "integer"
  8850. },
  8851. "p2pricemode": {
  8852. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8853. "type": "integer"
  8854. },
  8855. "pdeliveryprice": {
  8856. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8857. "type": "number"
  8858. },
  8859. "pdeliveryratio": {
  8860. "description": "P合约系数(n)",
  8861. "type": "integer"
  8862. },
  8863. "pgoodsid": {
  8864. "description": "P合约ID",
  8865. "type": "integer"
  8866. },
  8867. "ppricemode": {
  8868. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8869. "type": "integer"
  8870. },
  8871. "rratio": {
  8872. "description": "兑换系数(R)",
  8873. "type": "integer"
  8874. },
  8875. "rratio1": {
  8876. "description": "兑换系数(交易合约)(R1)",
  8877. "type": "integer"
  8878. },
  8879. "rratio2": {
  8880. "description": "兑换系数(仓单标准)(R2)",
  8881. "type": "integer"
  8882. },
  8883. "selltemplateid": {
  8884. "description": "卖履约计划模板ID",
  8885. "type": "integer"
  8886. },
  8887. "wrstandardid": {
  8888. "description": "仓单标准ID",
  8889. "type": "integer"
  8890. },
  8891. "xdeliveryratio": {
  8892. "description": "交易合约系数(m)",
  8893. "type": "integer"
  8894. }
  8895. }
  8896. },
  8897. "ermcp.ExposureDetailRsp": {
  8898. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8899. },
  8900. "ermcp.ExposureHedgePosDetailRsp": {
  8901. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8902. },
  8903. "ermcp.ExposureHedgePositionRsp": {
  8904. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8905. },
  8906. "ermcp.ExposureSpotDetailRsp": {
  8907. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8908. },
  8909. "ermcp.ExposureSpotRsp": {
  8910. "$ref": "#/definitions/models.AreaSpotModel"
  8911. },
  8912. "ermcp.HisExposureRsp": {
  8913. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8914. },
  8915. "ermcp.PendingAuditCntRsp": {
  8916. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8917. },
  8918. "ermcp.QryAreaStockApplyRsp": {
  8919. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8920. },
  8921. "ermcp.QryAvalidGPRsp": {
  8922. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8923. },
  8924. "ermcp.QryBusinessDjRsp": {
  8925. "type": "object",
  8926. "properties": {
  8927. "amount": {
  8928. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8929. "type": "number"
  8930. },
  8931. "applyid": {
  8932. "description": "申请人",
  8933. "type": "string"
  8934. },
  8935. "applyname": {
  8936. "description": "申请人名称",
  8937. "type": "string"
  8938. },
  8939. "applystatus": {
  8940. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8941. "type": "integer"
  8942. },
  8943. "applytime": {
  8944. "description": "申请时间",
  8945. "type": "string"
  8946. },
  8947. "attachurl": {
  8948. "description": "附件",
  8949. "type": "string"
  8950. },
  8951. "auditid": {
  8952. "description": "审核人ID",
  8953. "type": "string"
  8954. },
  8955. "auditname": {
  8956. "description": "审核人名称",
  8957. "type": "string"
  8958. },
  8959. "audittime": {
  8960. "description": "审核时间",
  8961. "type": "string"
  8962. },
  8963. "buyusername": {
  8964. "description": "采购方名称",
  8965. "type": "string"
  8966. },
  8967. "contractno": {
  8968. "description": "合同编号",
  8969. "type": "string"
  8970. },
  8971. "contractstatus": {
  8972. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8973. "type": "integer"
  8974. },
  8975. "contracttype": {
  8976. "description": "现货合同类型 - 1:采购 -1:销售",
  8977. "type": "integer"
  8978. },
  8979. "enumdicname": {
  8980. "description": "单位名称",
  8981. "type": "string"
  8982. },
  8983. "goodscode": {
  8984. "description": "点价合约",
  8985. "type": "string"
  8986. },
  8987. "goodsname": {
  8988. "description": "商品名称",
  8989. "type": "string"
  8990. },
  8991. "operateapplyid": {
  8992. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8993. "type": "string"
  8994. },
  8995. "operateapplytype": {
  8996. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8997. "type": "integer"
  8998. },
  8999. "pricedPrice": {
  9000. "description": "点价价格(非必填)",
  9001. "type": "number"
  9002. },
  9003. "pricedQty": {
  9004. "description": "点价数量(非必填)",
  9005. "type": "number"
  9006. },
  9007. "pricemove": {
  9008. "description": "升贴水",
  9009. "type": "number"
  9010. },
  9011. "pricetype": {
  9012. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9013. "type": "integer"
  9014. },
  9015. "relatedid": {
  9016. "description": "现货合同ID",
  9017. "type": "string"
  9018. },
  9019. "sellusername": {
  9020. "description": "销售方名字",
  9021. "type": "string"
  9022. },
  9023. "userid": {
  9024. "description": "用户ID",
  9025. "type": "integer"
  9026. },
  9027. "wrstandardcode": {
  9028. "description": "现货商品代码",
  9029. "type": "string"
  9030. },
  9031. "wrstandardid": {
  9032. "description": "现货商品id",
  9033. "type": "integer"
  9034. },
  9035. "wrstandardname": {
  9036. "description": "现货商品名称",
  9037. "type": "string"
  9038. }
  9039. }
  9040. },
  9041. "ermcp.QryBussinessFpRsp": {
  9042. "type": "object",
  9043. "properties": {
  9044. "applyid": {
  9045. "description": "申请人",
  9046. "type": "string"
  9047. },
  9048. "applyname": {
  9049. "description": "申请人名称",
  9050. "type": "string"
  9051. },
  9052. "applystatus": {
  9053. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9054. "type": "integer"
  9055. },
  9056. "applytime": {
  9057. "description": "申请时间",
  9058. "type": "string"
  9059. },
  9060. "attachurl": {
  9061. "description": "附件",
  9062. "type": "string"
  9063. },
  9064. "auditid": {
  9065. "description": "审核人ID",
  9066. "type": "string"
  9067. },
  9068. "auditname": {
  9069. "description": "审核人名称",
  9070. "type": "string"
  9071. },
  9072. "audittime": {
  9073. "description": "审核时间",
  9074. "type": "string"
  9075. },
  9076. "buyusername": {
  9077. "description": "采购方名称",
  9078. "type": "string"
  9079. },
  9080. "contractno": {
  9081. "description": "合同编号",
  9082. "type": "string"
  9083. },
  9084. "contractstatus": {
  9085. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9086. "type": "integer"
  9087. },
  9088. "contracttype": {
  9089. "description": "现货合同类型 - 1:采购 -1:销售",
  9090. "type": "integer"
  9091. },
  9092. "enumdicname": {
  9093. "description": "单位名称",
  9094. "type": "string"
  9095. },
  9096. "goodscode": {
  9097. "description": "点价合约",
  9098. "type": "string"
  9099. },
  9100. "goodsname": {
  9101. "description": "商品名称",
  9102. "type": "string"
  9103. },
  9104. "invoiceAmount": {
  9105. "description": "已开收票金额(销售为开票,采购为收票)",
  9106. "type": "number"
  9107. },
  9108. "operateapplyid": {
  9109. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9110. "type": "string"
  9111. },
  9112. "operateapplytype": {
  9113. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9114. "type": "integer"
  9115. },
  9116. "pricemove": {
  9117. "description": "升贴水",
  9118. "type": "number"
  9119. },
  9120. "pricetype": {
  9121. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9122. "type": "integer"
  9123. },
  9124. "relatedid": {
  9125. "description": "现货合同ID",
  9126. "type": "string"
  9127. },
  9128. "sellusername": {
  9129. "description": "销售方名字",
  9130. "type": "string"
  9131. },
  9132. "userid": {
  9133. "description": "用户ID",
  9134. "type": "integer"
  9135. },
  9136. "wrstandardcode": {
  9137. "description": "现货商品代码",
  9138. "type": "string"
  9139. },
  9140. "wrstandardid": {
  9141. "description": "现货商品id",
  9142. "type": "integer"
  9143. },
  9144. "wrstandardname": {
  9145. "description": "现货商品名称",
  9146. "type": "string"
  9147. }
  9148. }
  9149. },
  9150. "ermcp.QryBussinessJsExRsp": {
  9151. "type": "object",
  9152. "properties": {
  9153. "applyid": {
  9154. "description": "申请人",
  9155. "type": "string"
  9156. },
  9157. "applyname": {
  9158. "description": "申请人名称",
  9159. "type": "string"
  9160. },
  9161. "applystatus": {
  9162. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9163. "type": "integer"
  9164. },
  9165. "applytime": {
  9166. "description": "申请时间",
  9167. "type": "string"
  9168. },
  9169. "attachurl": {
  9170. "description": "附件",
  9171. "type": "string"
  9172. },
  9173. "auditid": {
  9174. "description": "审核人ID",
  9175. "type": "string"
  9176. },
  9177. "auditname": {
  9178. "description": "审核人名称",
  9179. "type": "string"
  9180. },
  9181. "audittime": {
  9182. "description": "审核时间",
  9183. "type": "string"
  9184. },
  9185. "buyusername": {
  9186. "description": "采购方名称",
  9187. "type": "string"
  9188. },
  9189. "contractno": {
  9190. "description": "合同编号",
  9191. "type": "string"
  9192. },
  9193. "contractstatus": {
  9194. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9195. "type": "integer"
  9196. },
  9197. "contracttype": {
  9198. "description": "现货合同类型 - 1:采购 -1:销售",
  9199. "type": "integer"
  9200. },
  9201. "enumdicname": {
  9202. "description": "单位名称",
  9203. "type": "string"
  9204. },
  9205. "goodscode": {
  9206. "description": "点价合约",
  9207. "type": "string"
  9208. },
  9209. "goodsname": {
  9210. "description": "商品名称",
  9211. "type": "string"
  9212. },
  9213. "operateapplyid": {
  9214. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9215. "type": "string"
  9216. },
  9217. "operateapplytype": {
  9218. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9219. "type": "integer"
  9220. },
  9221. "pricemove": {
  9222. "description": "升贴水",
  9223. "type": "number"
  9224. },
  9225. "pricetype": {
  9226. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9227. "type": "integer"
  9228. },
  9229. "reckontype": {
  9230. "description": "结算类型",
  9231. "type": "string"
  9232. },
  9233. "reckonvalue": {
  9234. "description": "值",
  9235. "type": "number"
  9236. },
  9237. "relatedid": {
  9238. "description": "现货合同ID",
  9239. "type": "string"
  9240. },
  9241. "sellusername": {
  9242. "description": "销售方名字",
  9243. "type": "string"
  9244. },
  9245. "userid": {
  9246. "description": "用户ID",
  9247. "type": "integer"
  9248. },
  9249. "wrstandardcode": {
  9250. "description": "现货商品代码",
  9251. "type": "string"
  9252. },
  9253. "wrstandardid": {
  9254. "description": "现货商品id",
  9255. "type": "integer"
  9256. },
  9257. "wrstandardname": {
  9258. "description": "现货商品名称",
  9259. "type": "string"
  9260. }
  9261. }
  9262. },
  9263. "ermcp.QryBussinessJsRsp": {
  9264. "type": "object",
  9265. "properties": {
  9266. "addmargin": {
  9267. "description": "追加保证金(非必填)",
  9268. "type": "number"
  9269. },
  9270. "applyid": {
  9271. "description": "申请人",
  9272. "type": "string"
  9273. },
  9274. "applyname": {
  9275. "description": "申请人名称",
  9276. "type": "string"
  9277. },
  9278. "applystatus": {
  9279. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9280. "type": "integer"
  9281. },
  9282. "applytime": {
  9283. "description": "申请时间",
  9284. "type": "string"
  9285. },
  9286. "attachurl": {
  9287. "description": "附件",
  9288. "type": "string"
  9289. },
  9290. "auditid": {
  9291. "description": "审核人ID",
  9292. "type": "string"
  9293. },
  9294. "auditname": {
  9295. "description": "审核人名称",
  9296. "type": "string"
  9297. },
  9298. "audittime": {
  9299. "description": "审核时间",
  9300. "type": "string"
  9301. },
  9302. "buyusername": {
  9303. "description": "采购方名称",
  9304. "type": "string"
  9305. },
  9306. "contractno": {
  9307. "description": "合同编号",
  9308. "type": "string"
  9309. },
  9310. "contractstatus": {
  9311. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9312. "type": "integer"
  9313. },
  9314. "contracttype": {
  9315. "description": "现货合同类型 - 1:采购 -1:销售",
  9316. "type": "integer"
  9317. },
  9318. "decmargin": {
  9319. "description": "减少保证金(非必填)",
  9320. "type": "number"
  9321. },
  9322. "enumdicname": {
  9323. "description": "单位名称",
  9324. "type": "string"
  9325. },
  9326. "goodscode": {
  9327. "description": "点价合约",
  9328. "type": "string"
  9329. },
  9330. "goodsname": {
  9331. "description": "商品名称",
  9332. "type": "string"
  9333. },
  9334. "operateapplyid": {
  9335. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9336. "type": "string"
  9337. },
  9338. "operateapplytype": {
  9339. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9340. "type": "integer"
  9341. },
  9342. "pricemove": {
  9343. "description": "升贴水",
  9344. "type": "number"
  9345. },
  9346. "pricetype": {
  9347. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9348. "type": "integer"
  9349. },
  9350. "reckonadjustamount": {
  9351. "description": "结算调整金额(非必填)",
  9352. "type": "number"
  9353. },
  9354. "reckonosamount": {
  9355. "description": "结算溢短金额(非必填)",
  9356. "type": "number"
  9357. },
  9358. "reckonotheramount": {
  9359. "description": "结算其他费用(非必填)",
  9360. "type": "number"
  9361. },
  9362. "reckonrealqty": {
  9363. "description": "结算实际数量(非必填)",
  9364. "type": "number"
  9365. },
  9366. "relatedid": {
  9367. "description": "现货合同ID",
  9368. "type": "string"
  9369. },
  9370. "sellusername": {
  9371. "description": "销售方名字",
  9372. "type": "string"
  9373. },
  9374. "userid": {
  9375. "description": "用户ID",
  9376. "type": "integer"
  9377. },
  9378. "wrstandardcode": {
  9379. "description": "现货商品代码",
  9380. "type": "string"
  9381. },
  9382. "wrstandardid": {
  9383. "description": "现货商品id",
  9384. "type": "integer"
  9385. },
  9386. "wrstandardname": {
  9387. "description": "现货商品名称",
  9388. "type": "string"
  9389. }
  9390. }
  9391. },
  9392. "ermcp.QryBussinessKxRsp": {
  9393. "type": "object",
  9394. "properties": {
  9395. "applyid": {
  9396. "description": "申请人",
  9397. "type": "string"
  9398. },
  9399. "applyname": {
  9400. "description": "申请人名称",
  9401. "type": "string"
  9402. },
  9403. "applystatus": {
  9404. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9405. "type": "integer"
  9406. },
  9407. "applytime": {
  9408. "description": "申请时间",
  9409. "type": "string"
  9410. },
  9411. "attachurl": {
  9412. "description": "附件",
  9413. "type": "string"
  9414. },
  9415. "auditid": {
  9416. "description": "审核人ID",
  9417. "type": "string"
  9418. },
  9419. "auditname": {
  9420. "description": "审核人名称",
  9421. "type": "string"
  9422. },
  9423. "audittime": {
  9424. "description": "审核时间",
  9425. "type": "string"
  9426. },
  9427. "buyusername": {
  9428. "description": "采购方名称",
  9429. "type": "string"
  9430. },
  9431. "contractno": {
  9432. "description": "合同编号",
  9433. "type": "string"
  9434. },
  9435. "contractstatus": {
  9436. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9437. "type": "integer"
  9438. },
  9439. "contracttype": {
  9440. "description": "现货合同类型 - 1:采购 -1:销售",
  9441. "type": "integer"
  9442. },
  9443. "deductamount": {
  9444. "description": "退款(非必填)",
  9445. "type": "number"
  9446. },
  9447. "enumdicname": {
  9448. "description": "单位名称",
  9449. "type": "string"
  9450. },
  9451. "goodscode": {
  9452. "description": "点价合约",
  9453. "type": "string"
  9454. },
  9455. "goodsname": {
  9456. "description": "商品名称",
  9457. "type": "string"
  9458. },
  9459. "kxtype": {
  9460. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9461. "type": "integer"
  9462. },
  9463. "operateapplyid": {
  9464. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9465. "type": "string"
  9466. },
  9467. "operateapplytype": {
  9468. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9469. "type": "integer"
  9470. },
  9471. "payamount": {
  9472. "description": "收付款(非必填)",
  9473. "type": "number"
  9474. },
  9475. "pricemove": {
  9476. "description": "升贴水",
  9477. "type": "number"
  9478. },
  9479. "pricetype": {
  9480. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9481. "type": "integer"
  9482. },
  9483. "relatedid": {
  9484. "description": "现货合同ID",
  9485. "type": "string"
  9486. },
  9487. "sellusername": {
  9488. "description": "销售方名字",
  9489. "type": "string"
  9490. },
  9491. "userid": {
  9492. "description": "用户ID",
  9493. "type": "integer"
  9494. },
  9495. "wrstandardcode": {
  9496. "description": "现货商品代码",
  9497. "type": "string"
  9498. },
  9499. "wrstandardid": {
  9500. "description": "现货商品id",
  9501. "type": "integer"
  9502. },
  9503. "wrstandardname": {
  9504. "description": "现货商品名称",
  9505. "type": "string"
  9506. }
  9507. }
  9508. },
  9509. "ermcp.QryErmcpRsp": {
  9510. "$ref": "#/definitions/models.ErmcpModel"
  9511. },
  9512. "ermcp.QryGGCovertCfgRsp": {
  9513. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9514. },
  9515. "ermcp.QryHedgePlanRsp": {
  9516. "$ref": "#/definitions/models.ErmcpHedgePlan"
  9517. },
  9518. "ermcp.QryMGChangeLogRsp": {
  9519. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9520. },
  9521. "ermcp.QryMiddleGoodsDetailRsp": {
  9522. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9523. },
  9524. "ermcp.QryMiddleGoodsRsp": {
  9525. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9526. },
  9527. "ermcp.QryOPLogRsp": {
  9528. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9529. },
  9530. "ermcp.QryReportDaySpotDetailRsp": {
  9531. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9532. },
  9533. "ermcp.QryReportExposureDayRsp": {
  9534. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  9535. },
  9536. "ermcp.QryReportFinanceDayRsp": {
  9537. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9538. },
  9539. "ermcp.QryReportFinanceKxRsp": {
  9540. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9541. },
  9542. "ermcp.QryReportFinanceMonRsp": {
  9543. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  9544. },
  9545. "ermcp.QryReportSpotDayRsp": {
  9546. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9547. },
  9548. "ermcp.QryReportSpotMonRsp": {
  9549. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  9550. },
  9551. "ermcp.QryReportSpotMonthDetailRsp": {
  9552. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9553. },
  9554. "ermcp.QrySpotContractRsp": {
  9555. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  9556. },
  9557. "ermcp.QryUserInfoRsp": {
  9558. "$ref": "#/definitions/models.ErmcpUserModel"
  9559. },
  9560. "ermcp.QryWarehouseRsp": {
  9561. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9562. },
  9563. "ermcp.QryWrStandardDetailRsp": {
  9564. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  9565. },
  9566. "ermcp.QryWrStandardRsp": {
  9567. "$ref": "#/definitions/models.ErmcpWrstandard"
  9568. },
  9569. "ermcp.QueryAreaStockApplySumRsp": {
  9570. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  9571. },
  9572. "ermcp.QueryErmcpTradePositionRsp": {
  9573. "type": "object",
  9574. "properties": {
  9575. "agreeunit": {
  9576. "description": "合约单位",
  9577. "type": "number"
  9578. },
  9579. "buyorsell": {
  9580. "description": "方向 - 0:买 1:卖",
  9581. "type": "integer"
  9582. },
  9583. "curpositionqty": {
  9584. "description": "持仓(总仓数量, 期末头寸)",
  9585. "type": "integer"
  9586. },
  9587. "curtdposition": {
  9588. "description": "今仓数量(期末今日头寸)",
  9589. "type": "integer"
  9590. },
  9591. "curtdpositionenabled": {
  9592. "description": "今仓可用",
  9593. "type": "integer"
  9594. },
  9595. "decimalplace": {
  9596. "description": "报价小数位",
  9597. "type": "integer"
  9598. },
  9599. "enableqty": {
  9600. "description": "可用(总仓可用)",
  9601. "type": "integer"
  9602. },
  9603. "exexchangename": {
  9604. "description": "外部交易所名称",
  9605. "type": "string"
  9606. },
  9607. "goodscode": {
  9608. "description": "商品代码(内部)",
  9609. "type": "string"
  9610. },
  9611. "goodsid": {
  9612. "description": "商品ID(自增ID SEQ_GOODS)",
  9613. "type": "integer"
  9614. },
  9615. "goodsname": {
  9616. "description": "商品名称",
  9617. "type": "string"
  9618. },
  9619. "last": {
  9620. "description": "现价",
  9621. "type": "number"
  9622. },
  9623. "marketid": {
  9624. "description": "所属市场ID",
  9625. "type": "integer"
  9626. },
  9627. "openaverageprice": {
  9628. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9629. "type": "number"
  9630. },
  9631. "opencost": {
  9632. "description": "开仓成本",
  9633. "type": "number"
  9634. },
  9635. "openpl": {
  9636. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9637. "type": "number"
  9638. },
  9639. "outgoodscode": {
  9640. "description": "商品代码(外部)",
  9641. "type": "string"
  9642. },
  9643. "positionaverageprice": {
  9644. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9645. "type": "number"
  9646. },
  9647. "positioncost": {
  9648. "description": "持仓成本",
  9649. "type": "number"
  9650. },
  9651. "positionpl": {
  9652. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9653. "type": "number"
  9654. },
  9655. "positionplrate": {
  9656. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9657. "type": "number"
  9658. },
  9659. "usedmargin": {
  9660. "description": "占用保证金",
  9661. "type": "number"
  9662. }
  9663. }
  9664. },
  9665. "ermcp.RealtimeExposurePositionRsp": {
  9666. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9667. },
  9668. "ermcp.RealtimeExposureRsp": {
  9669. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9670. },
  9671. "erms2.QueryArbitrageStrategyRsp": {
  9672. "type": "object",
  9673. "required": [
  9674. "asapplyid"
  9675. ],
  9676. "properties": {
  9677. "applybasis": {
  9678. "description": "申请基差",
  9679. "type": "number"
  9680. },
  9681. "asapplyid": {
  9682. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9683. "type": "string"
  9684. },
  9685. "asname": {
  9686. "description": "策略名称",
  9687. "type": "string"
  9688. },
  9689. "asno": {
  9690. "description": "策略编号",
  9691. "type": "string"
  9692. },
  9693. "basischangepl": {
  9694. "description": "基差变动损益[结算更新]",
  9695. "type": "number"
  9696. },
  9697. "biztype": {
  9698. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9699. "type": "integer"
  9700. },
  9701. "closetradedate": {
  9702. "description": "完结交易日(yyyyMMdd)",
  9703. "type": "string"
  9704. },
  9705. "curbasis": {
  9706. "description": "当前基差[结算更新]",
  9707. "type": "number"
  9708. },
  9709. "deliverygoodsid": {
  9710. "description": "现货品种ID",
  9711. "type": "integer"
  9712. },
  9713. "futureavgprice": {
  9714. "description": "期货建仓均价",
  9715. "type": "number"
  9716. },
  9717. "futurecloseamount": {
  9718. "description": "期货平仓金额",
  9719. "type": "number"
  9720. },
  9721. "futurecloseqty": {
  9722. "description": "期货平仓数量",
  9723. "type": "number"
  9724. },
  9725. "futureopenamount": {
  9726. "description": "期货开仓金额",
  9727. "type": "number"
  9728. },
  9729. "futureopenqty": {
  9730. "description": "期货开仓数量",
  9731. "type": "number"
  9732. },
  9733. "futurepl": {
  9734. "description": "期货总盈亏[结算更新]",
  9735. "type": "number"
  9736. },
  9737. "futureqty": {
  9738. "description": "期货持仓数量",
  9739. "type": "number"
  9740. },
  9741. "futurequote": {
  9742. "description": "期货额度",
  9743. "type": "number"
  9744. },
  9745. "goodsgroupid": {
  9746. "description": "期货品种ID",
  9747. "type": "integer"
  9748. },
  9749. "marketid": {
  9750. "description": "市场ID",
  9751. "type": "integer"
  9752. },
  9753. "netexposure": {
  9754. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9755. "type": "number"
  9756. },
  9757. "netexposurepl": {
  9758. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9759. "type": "number"
  9760. },
  9761. "netexposurerate": {
  9762. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9763. "type": "number"
  9764. },
  9765. "openbasis": {
  9766. "description": "建仓基差",
  9767. "type": "number"
  9768. },
  9769. "pricedspotqty": {
  9770. "description": "已定价现货数量",
  9771. "type": "number"
  9772. },
  9773. "pricedspotqtynotax": {
  9774. "description": "已定价现货不含税数量",
  9775. "type": "number"
  9776. },
  9777. "remark": {
  9778. "description": "备注",
  9779. "type": "string"
  9780. },
  9781. "spotavgprice": {
  9782. "description": "现货均价",
  9783. "type": "number"
  9784. },
  9785. "spotbuyamount": {
  9786. "description": "现货采购金额",
  9787. "type": "number"
  9788. },
  9789. "spotbuyqty": {
  9790. "description": "现货采购数量",
  9791. "type": "number"
  9792. },
  9793. "spotpl": {
  9794. "description": "现货总盈亏[结算更新]",
  9795. "type": "number"
  9796. },
  9797. "spotquota": {
  9798. "description": "现货额度",
  9799. "type": "number"
  9800. },
  9801. "spotsellamount": {
  9802. "description": "现货销售金额",
  9803. "type": "number"
  9804. },
  9805. "spotsellqty": {
  9806. "description": "现货销售数量",
  9807. "type": "number"
  9808. },
  9809. "spotusedquota": {
  9810. "description": "现货占用资金",
  9811. "type": "number"
  9812. },
  9813. "strategystatus": {
  9814. "description": "策略状态 - 0:未结束 1:已结束",
  9815. "type": "integer"
  9816. },
  9817. "totalpl": {
  9818. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9819. "type": "number"
  9820. },
  9821. "tradedate": {
  9822. "description": "交易日(yyyyMMdd)",
  9823. "type": "string"
  9824. },
  9825. "updatetime": {
  9826. "description": "更新时间",
  9827. "type": "string"
  9828. },
  9829. "usedquota": {
  9830. "description": "已占用资金",
  9831. "type": "number"
  9832. },
  9833. "userid": {
  9834. "description": "所属机构",
  9835. "type": "integer"
  9836. }
  9837. }
  9838. },
  9839. "erms2.QueryInnerTradeDetailRsp": {
  9840. "type": "object",
  9841. "required": [
  9842. "asapplyid",
  9843. "buyorsell",
  9844. "goodscode",
  9845. "goodsgroupid",
  9846. "goodsgroupname",
  9847. "goodsname",
  9848. "tradeid"
  9849. ],
  9850. "properties": {
  9851. "accountid": {
  9852. "description": "账号ID",
  9853. "type": "integer"
  9854. },
  9855. "agreeunit": {
  9856. "description": "合约单位",
  9857. "type": "number"
  9858. },
  9859. "asapplyid": {
  9860. "description": "策略申请ID",
  9861. "type": "integer"
  9862. },
  9863. "asname": {
  9864. "description": "策略名称",
  9865. "type": "string"
  9866. },
  9867. "asno": {
  9868. "description": "策略编号",
  9869. "type": "string"
  9870. },
  9871. "buyorsell": {
  9872. "description": "方向 - 0:买 1:卖",
  9873. "type": "integer"
  9874. },
  9875. "channelbuildtype": {
  9876. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9877. "type": "integer"
  9878. },
  9879. "closetype": {
  9880. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9881. "type": "integer"
  9882. },
  9883. "decimalplace": {
  9884. "description": "报价小数位",
  9885. "type": "integer"
  9886. },
  9887. "detailtype": {
  9888. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9889. "type": "integer"
  9890. },
  9891. "exexchangecode": {
  9892. "description": "外部交易所代码",
  9893. "type": "string"
  9894. },
  9895. "exexchangename": {
  9896. "description": "外部交易所名称",
  9897. "type": "string"
  9898. },
  9899. "goodscode": {
  9900. "description": "商品代码(合约)",
  9901. "type": "string"
  9902. },
  9903. "goodsgroupid": {
  9904. "description": "商品组ID(品种ID)",
  9905. "type": "integer"
  9906. },
  9907. "goodsgroupname": {
  9908. "description": "商品组名称(品种)",
  9909. "type": "string"
  9910. },
  9911. "goodsid": {
  9912. "description": "商品ID",
  9913. "type": "integer"
  9914. },
  9915. "goodsname": {
  9916. "description": "商品名称(合约)",
  9917. "type": "string"
  9918. },
  9919. "goodunit": {
  9920. "description": "报价单位",
  9921. "type": "string"
  9922. },
  9923. "marketid": {
  9924. "description": "市场ID",
  9925. "type": "integer"
  9926. },
  9927. "orderid": {
  9928. "description": "委托单号",
  9929. "type": "string"
  9930. },
  9931. "outgoodscode": {
  9932. "description": "商品代码(外部)",
  9933. "type": "string"
  9934. },
  9935. "relatedouttradeid": {
  9936. "description": "关联外部成交单ID",
  9937. "type": "string"
  9938. },
  9939. "remark": {
  9940. "description": "备注",
  9941. "type": "string"
  9942. },
  9943. "spotcontractid": {
  9944. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9945. "type": "integer"
  9946. },
  9947. "spotcontractno": {
  9948. "description": "现货合同编号",
  9949. "type": "string"
  9950. },
  9951. "tradeid": {
  9952. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9953. "type": "string"
  9954. },
  9955. "tradeprice": {
  9956. "description": "成交价格",
  9957. "type": "number"
  9958. },
  9959. "tradeqty": {
  9960. "description": "成交数量",
  9961. "type": "integer"
  9962. },
  9963. "tradetime": {
  9964. "description": "成交时间",
  9965. "type": "string"
  9966. },
  9967. "updatetime": {
  9968. "description": "更新时间",
  9969. "type": "string"
  9970. }
  9971. }
  9972. },
  9973. "erms2.QuerySpotContractRsp": {
  9974. "type": "object",
  9975. "required": [
  9976. "spotcontractid"
  9977. ],
  9978. "properties": {
  9979. "accountid": {
  9980. "description": "资金账户ID",
  9981. "type": "integer"
  9982. },
  9983. "areauserid": {
  9984. "description": "所属机构",
  9985. "type": "integer"
  9986. },
  9987. "closedate": {
  9988. "description": "终止日期",
  9989. "type": "string"
  9990. },
  9991. "closeremark": {
  9992. "description": "结束备注",
  9993. "type": "string"
  9994. },
  9995. "closetradedate": {
  9996. "description": "完结交易日(yyyyMMdd)",
  9997. "type": "string"
  9998. },
  9999. "closetype": {
  10000. "description": "终止类型 - 1:违约 2:提前终止",
  10001. "type": "integer"
  10002. },
  10003. "contractamount": {
  10004. "description": "合同金额",
  10005. "type": "number"
  10006. },
  10007. "contractattachment": {
  10008. "description": "合同附件",
  10009. "type": "string"
  10010. },
  10011. "contractno": {
  10012. "description": "现货合同编号",
  10013. "type": "string"
  10014. },
  10015. "contractqty": {
  10016. "description": "合同数量(数值) (用于计算)",
  10017. "type": "number"
  10018. },
  10019. "contractqtychar": {
  10020. "description": "合同数量\\已订价数量 (用于显示)",
  10021. "type": "string"
  10022. },
  10023. "contractstatus": {
  10024. "description": "合同状态 - 0:未结束 1:已结束",
  10025. "type": "integer"
  10026. },
  10027. "contracttype": {
  10028. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10029. "type": "integer"
  10030. },
  10031. "customeraccountid": {
  10032. "description": "客户资金账户ID",
  10033. "type": "integer"
  10034. },
  10035. "customeruserid": {
  10036. "description": "客户ID",
  10037. "type": "integer"
  10038. },
  10039. "deliverygoodsdesc": {
  10040. "description": "品种说明",
  10041. "type": "string"
  10042. },
  10043. "deliverygoodsid": {
  10044. "description": "现货品种ID",
  10045. "type": "integer"
  10046. },
  10047. "handlestatus": {
  10048. "description": "处理状态",
  10049. "type": "integer"
  10050. },
  10051. "invoiceatt": {
  10052. "description": "发票附件",
  10053. "type": "string"
  10054. },
  10055. "invoicedatetime": {
  10056. "description": "开收票更新时间",
  10057. "type": "string"
  10058. },
  10059. "invoiceopentime": {
  10060. "description": "开票时间",
  10061. "type": "string"
  10062. },
  10063. "invoiceremark": {
  10064. "description": "发票备注",
  10065. "type": "string"
  10066. },
  10067. "invoicestatus": {
  10068. "description": "开收票状态 - 0:未开票 1:已开票",
  10069. "type": "integer"
  10070. },
  10071. "lastdate": {
  10072. "description": "交货时间",
  10073. "type": "string"
  10074. },
  10075. "marketid": {
  10076. "description": "市场ID",
  10077. "type": "integer"
  10078. },
  10079. "paydatetime": {
  10080. "description": "收付款更新时间",
  10081. "type": "string"
  10082. },
  10083. "payremark": {
  10084. "description": "收付款备注",
  10085. "type": "string"
  10086. },
  10087. "paystatus": {
  10088. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10089. "type": "integer"
  10090. },
  10091. "positionqty": {
  10092. "description": "头寸数量 - 合同数量去小数部分",
  10093. "type": "integer"
  10094. },
  10095. "producttype": {
  10096. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10097. "type": "integer"
  10098. },
  10099. "relatedqty": {
  10100. "description": "已关联数量",
  10101. "type": "number"
  10102. },
  10103. "relatedstatus": {
  10104. "description": "关联完结状态 - 0:未结束 1:已结束",
  10105. "type": "integer"
  10106. },
  10107. "remark": {
  10108. "description": "备注",
  10109. "type": "string"
  10110. },
  10111. "signdate": {
  10112. "description": "签订日期",
  10113. "type": "string"
  10114. },
  10115. "spotcontractid": {
  10116. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10117. "type": "string"
  10118. },
  10119. "spotdatetime": {
  10120. "description": "收发货更新时间",
  10121. "type": "string"
  10122. },
  10123. "spotprice": {
  10124. "description": "价格",
  10125. "type": "number"
  10126. },
  10127. "spotremark": {
  10128. "description": "收发货备注",
  10129. "type": "string"
  10130. },
  10131. "spotstatus": {
  10132. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10133. "type": "integer"
  10134. },
  10135. "tradedate": {
  10136. "description": "交易日(yyyyMMdd)",
  10137. "type": "string"
  10138. },
  10139. "userid": {
  10140. "description": "业务员用户ID",
  10141. "type": "integer"
  10142. },
  10143. "warehouseid": {
  10144. "description": "仓库ID",
  10145. "type": "integer"
  10146. },
  10147. "wrfactortypeid": {
  10148. "description": "仓单要素类型ID",
  10149. "type": "integer"
  10150. },
  10151. "wrstandardid": {
  10152. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10153. "type": "integer"
  10154. }
  10155. }
  10156. },
  10157. "erms3.AddErms2ASApplyReq": {
  10158. "type": "object",
  10159. "required": [
  10160. "asapplyid"
  10161. ],
  10162. "properties": {
  10163. "applybasis": {
  10164. "description": "申请基差",
  10165. "type": "number"
  10166. },
  10167. "applystatus": {
  10168. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10169. "type": "integer"
  10170. },
  10171. "asapplyid": {
  10172. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10173. "type": "integer"
  10174. },
  10175. "asname": {
  10176. "description": "策略名称",
  10177. "type": "string"
  10178. },
  10179. "asno": {
  10180. "description": "策略编号",
  10181. "type": "string"
  10182. },
  10183. "auditid": {
  10184. "description": "审核人",
  10185. "type": "integer"
  10186. },
  10187. "auditremark": {
  10188. "description": "审核备注",
  10189. "type": "string"
  10190. },
  10191. "audittime": {
  10192. "description": "审核时间",
  10193. "type": "string"
  10194. },
  10195. "biztype": {
  10196. "description": "业务类型 - 1:正向套利 2:反向套利",
  10197. "type": "integer"
  10198. },
  10199. "createtime": {
  10200. "description": "创建时间",
  10201. "type": "string"
  10202. },
  10203. "creatorid": {
  10204. "description": "创建人",
  10205. "type": "integer"
  10206. },
  10207. "deliverygoodsid": {
  10208. "description": "现货品种ID",
  10209. "type": "integer"
  10210. },
  10211. "futurequote": {
  10212. "description": "期货额度",
  10213. "type": "number"
  10214. },
  10215. "goodsgroupid": {
  10216. "description": "期货品种ID",
  10217. "type": "integer"
  10218. },
  10219. "marketid": {
  10220. "description": "市场ID",
  10221. "type": "integer"
  10222. },
  10223. "remark": {
  10224. "description": "备注",
  10225. "type": "string"
  10226. },
  10227. "spotquota": {
  10228. "description": "现货额度",
  10229. "type": "number"
  10230. },
  10231. "tradedate": {
  10232. "description": "交易日(yyyyMMdd)",
  10233. "type": "string"
  10234. },
  10235. "userid": {
  10236. "description": "所属机构",
  10237. "type": "integer"
  10238. }
  10239. }
  10240. },
  10241. "erms3.AddErms2SpotTradeApplyReq": {
  10242. "type": "object",
  10243. "required": [
  10244. "spottradeid"
  10245. ],
  10246. "properties": {
  10247. "applyjsondetail": {
  10248. "description": "申请明细(JSON)",
  10249. "type": "string"
  10250. },
  10251. "applystatus": {
  10252. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10253. "type": "integer"
  10254. },
  10255. "areauserid": {
  10256. "description": "所属机构",
  10257. "type": "integer"
  10258. },
  10259. "auditid": {
  10260. "description": "审核人",
  10261. "type": "integer"
  10262. },
  10263. "auditremark": {
  10264. "description": "审核备注",
  10265. "type": "string"
  10266. },
  10267. "audittime": {
  10268. "description": "审核时间",
  10269. "type": "string"
  10270. },
  10271. "createtime": {
  10272. "description": "创建时间",
  10273. "type": "string"
  10274. },
  10275. "creatorid": {
  10276. "description": "创建人",
  10277. "type": "integer"
  10278. },
  10279. "deliverygoodsid": {
  10280. "description": "现货品种ID",
  10281. "type": "integer"
  10282. },
  10283. "futureaccountid": {
  10284. "description": "期货资金账户",
  10285. "type": "integer"
  10286. },
  10287. "goodsgroupid": {
  10288. "description": "期货品种",
  10289. "type": "integer"
  10290. },
  10291. "marketid": {
  10292. "description": "市场ID",
  10293. "type": "integer"
  10294. },
  10295. "remark": {
  10296. "description": "备注",
  10297. "type": "string"
  10298. },
  10299. "spotaccountid": {
  10300. "description": "现货资金账户",
  10301. "type": "integer"
  10302. },
  10303. "spottradeid": {
  10304. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10305. "type": "integer"
  10306. },
  10307. "spottradename": {
  10308. "description": "业务名称",
  10309. "type": "string"
  10310. },
  10311. "spottradeno": {
  10312. "description": "业务编号",
  10313. "type": "string"
  10314. },
  10315. "tradedate": {
  10316. "description": "交易日(yyyyMMdd)",
  10317. "type": "string"
  10318. },
  10319. "wrstandardid": {
  10320. "description": "仓单标准ID",
  10321. "type": "integer"
  10322. }
  10323. }
  10324. },
  10325. "erms3.AddSpotContractApplyReq": {
  10326. "type": "object",
  10327. "required": [
  10328. "accountid",
  10329. "areauserid",
  10330. "contractno",
  10331. "contracttype",
  10332. "customeraccountid",
  10333. "customeruserid",
  10334. "details",
  10335. "orimargin",
  10336. "signdate"
  10337. ],
  10338. "properties": {
  10339. "accountid": {
  10340. "description": "资金账户ID",
  10341. "type": "integer"
  10342. },
  10343. "areauserid": {
  10344. "description": "所属机构",
  10345. "type": "integer"
  10346. },
  10347. "contractattachment": {
  10348. "description": "合同附件",
  10349. "type": "string"
  10350. },
  10351. "contractno": {
  10352. "description": "现货合同编号",
  10353. "type": "string"
  10354. },
  10355. "contracttype": {
  10356. "description": "现货合同类型 - 1:采购 -1:销售",
  10357. "type": "integer"
  10358. },
  10359. "creatorid": {
  10360. "description": "申请人",
  10361. "type": "integer"
  10362. },
  10363. "customeraccountid": {
  10364. "description": "客户资金账户ID",
  10365. "type": "integer"
  10366. },
  10367. "customeruserid": {
  10368. "description": "客户ID",
  10369. "type": "integer"
  10370. },
  10371. "details": {
  10372. "description": "明细",
  10373. "type": "array",
  10374. "items": {
  10375. "$ref": "#/definitions/erms3.SoptContractDetail"
  10376. }
  10377. },
  10378. "orimargin": {
  10379. "description": "初始保证金",
  10380. "type": "number"
  10381. },
  10382. "remark": {
  10383. "description": "备注",
  10384. "type": "string"
  10385. },
  10386. "signdate": {
  10387. "description": "签订日期",
  10388. "type": "string"
  10389. }
  10390. }
  10391. },
  10392. "erms3.AddSpotContractApplyRsp": {
  10393. "type": "object",
  10394. "required": [
  10395. "contractno"
  10396. ],
  10397. "properties": {
  10398. "contractno": {
  10399. "description": "现货合同编号",
  10400. "type": "string"
  10401. },
  10402. "spotcontractid": {
  10403. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10404. "type": "integer"
  10405. }
  10406. }
  10407. },
  10408. "erms3.AddUserInfoApplyReq": {
  10409. "type": "object",
  10410. "required": [
  10411. "userid"
  10412. ],
  10413. "properties": {
  10414. "accountid": {
  10415. "description": "交易系统帐号Id (加密存储)",
  10416. "type": "integer"
  10417. },
  10418. "areacode": {
  10419. "description": "机构代码",
  10420. "type": "string"
  10421. },
  10422. "areaid": {
  10423. "description": "机构Id",
  10424. "type": "integer"
  10425. },
  10426. "attachment1": {
  10427. "description": "附件1",
  10428. "type": "string"
  10429. },
  10430. "attachment2": {
  10431. "description": "附件2",
  10432. "type": "string"
  10433. },
  10434. "attachment3": {
  10435. "description": "附件3",
  10436. "type": "string"
  10437. },
  10438. "attachment4": {
  10439. "description": "附件4",
  10440. "type": "string"
  10441. },
  10442. "attachment5": {
  10443. "description": "附件5",
  10444. "type": "string"
  10445. },
  10446. "auditedby": {
  10447. "description": "审核人",
  10448. "type": "string"
  10449. },
  10450. "auditime": {
  10451. "description": "审核时间",
  10452. "type": "string"
  10453. },
  10454. "bankaccount": {
  10455. "description": "银行帐号 (加密存储)",
  10456. "type": "string"
  10457. },
  10458. "bankaccountname": {
  10459. "description": "收款人名称",
  10460. "type": "string"
  10461. },
  10462. "bankcardbackphotourl": {
  10463. "description": "银行卡背面照地址",
  10464. "type": "string"
  10465. },
  10466. "bankcardfrontphotourl": {
  10467. "description": "银行卡正面照地址",
  10468. "type": "string"
  10469. },
  10470. "bankid": {
  10471. "description": "银行编码",
  10472. "type": "string"
  10473. },
  10474. "bankname": {
  10475. "description": "银行名称",
  10476. "type": "string"
  10477. },
  10478. "bankpictureurl": {
  10479. "description": "银行卡正面地址",
  10480. "type": "string"
  10481. },
  10482. "biznature": {
  10483. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10484. "type": "integer"
  10485. },
  10486. "bizscope": {
  10487. "description": "企业经营范围(企业)",
  10488. "type": "string"
  10489. },
  10490. "biztype": {
  10491. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10492. "type": "integer"
  10493. },
  10494. "brokerid": {
  10495. "description": "经纪人ID(加密存储)",
  10496. "type": "string"
  10497. },
  10498. "cardaddress": {
  10499. "description": "证件地址 (加密存储)",
  10500. "type": "string"
  10501. },
  10502. "cardbackphotourl": {
  10503. "description": "背面证件照地址",
  10504. "type": "string"
  10505. },
  10506. "cardfrontphotourl": {
  10507. "description": "正面证件照地址",
  10508. "type": "string"
  10509. },
  10510. "cardnum": {
  10511. "description": "证件号码 (加密存储)",
  10512. "type": "string"
  10513. },
  10514. "cardtype": {
  10515. "description": "证件类型",
  10516. "type": "integer"
  10517. },
  10518. "cityid": {
  10519. "description": "市",
  10520. "type": "integer"
  10521. },
  10522. "company": {
  10523. "description": "公司(个人)",
  10524. "type": "string"
  10525. },
  10526. "contactcardbackphotourl": {
  10527. "description": "联系人证件背面图片地址",
  10528. "type": "string"
  10529. },
  10530. "contactcardfrontphotourl": {
  10531. "description": "联系人证件正面图片地址",
  10532. "type": "string"
  10533. },
  10534. "contactname": {
  10535. "description": "联系人",
  10536. "type": "string"
  10537. },
  10538. "countryid": {
  10539. "description": "国家",
  10540. "type": "integer"
  10541. },
  10542. "createtime": {
  10543. "description": "开户申请时间",
  10544. "type": "string"
  10545. },
  10546. "cusbankid": {
  10547. "description": "签约类型",
  10548. "type": "string"
  10549. },
  10550. "cusbankname": {
  10551. "description": "签约类型名称",
  10552. "type": "string"
  10553. },
  10554. "customername": {
  10555. "description": "客户名称(企业名称)",
  10556. "type": "string"
  10557. },
  10558. "districtid": {
  10559. "description": "地区",
  10560. "type": "integer"
  10561. },
  10562. "email": {
  10563. "description": "Email地址(加密存储)",
  10564. "type": "string"
  10565. },
  10566. "halfbodyphotourl": {
  10567. "description": "半身照地址",
  10568. "type": "string"
  10569. },
  10570. "headurl": {
  10571. "description": "头像地址",
  10572. "type": "string"
  10573. },
  10574. "ipaddress": {
  10575. "description": "IP地址",
  10576. "type": "string"
  10577. },
  10578. "isvalidate": {
  10579. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10580. "type": "string"
  10581. },
  10582. "legalcardbackphotourl": {
  10583. "description": "法人身份证背面照地址",
  10584. "type": "string"
  10585. },
  10586. "legalcardfrontphotourl": {
  10587. "description": "法人身份证正面照地址",
  10588. "type": "string"
  10589. },
  10590. "legalpersonname": {
  10591. "description": "法人姓名(企业)",
  10592. "type": "string"
  10593. },
  10594. "logincode": {
  10595. "description": "登录帐号 (加密存储)",
  10596. "type": "string"
  10597. },
  10598. "memberareaid": {
  10599. "description": "所属会员ID",
  10600. "type": "integer"
  10601. },
  10602. "mobile2": {
  10603. "description": "手机号码[明文-尚志]",
  10604. "type": "string"
  10605. },
  10606. "mobilephone": {
  10607. "description": "手机号码 (加密存储)",
  10608. "type": "string"
  10609. },
  10610. "modifiedby": {
  10611. "description": "修改人帐号",
  10612. "type": "integer"
  10613. },
  10614. "modifiedtime": {
  10615. "description": "修改时间",
  10616. "type": "string"
  10617. },
  10618. "nickname": {
  10619. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10620. "type": "string"
  10621. },
  10622. "openmode": {
  10623. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10624. "type": "integer"
  10625. },
  10626. "otherurl": {
  10627. "description": "其它图片地址[使用分号分隔]",
  10628. "type": "string"
  10629. },
  10630. "postalcode": {
  10631. "description": "邮政编码",
  10632. "type": "string"
  10633. },
  10634. "provinceid": {
  10635. "description": "省",
  10636. "type": "integer"
  10637. },
  10638. "proxystatementurl": {
  10639. "description": "授权委托书",
  10640. "type": "string"
  10641. },
  10642. "qq": {
  10643. "description": "QQ(加密存储",
  10644. "type": "string"
  10645. },
  10646. "referral": {
  10647. "description": "推荐人编码",
  10648. "type": "string"
  10649. },
  10650. "remark": {
  10651. "description": "备注",
  10652. "type": "string"
  10653. },
  10654. "removebeforestatus": {
  10655. "description": "REMOVEBEFORESTATUS",
  10656. "type": "integer"
  10657. },
  10658. "sex": {
  10659. "description": "性别 - 0:女 1:男",
  10660. "type": "integer"
  10661. },
  10662. "signedstatus": {
  10663. "description": "账户一号签签约状态",
  10664. "type": "integer"
  10665. },
  10666. "signpdfurl": {
  10667. "description": "签约pdf文件",
  10668. "type": "string"
  10669. },
  10670. "subbranch": {
  10671. "description": "开户支行",
  10672. "type": "string"
  10673. },
  10674. "telphone": {
  10675. "description": "联系电话(加密存储)",
  10676. "type": "string"
  10677. },
  10678. "userid": {
  10679. "description": "用户ID(自增ID)",
  10680. "type": "integer"
  10681. },
  10682. "userinfotype": {
  10683. "description": "用户信息类型 - 1:个人 2:企业",
  10684. "type": "integer"
  10685. },
  10686. "username": {
  10687. "description": "用户姓名",
  10688. "type": "string"
  10689. },
  10690. "userstate": {
  10691. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10692. "type": "integer"
  10693. },
  10694. "usertype": {
  10695. "description": "用户类型 - 1:投资者 2:机构",
  10696. "type": "integer"
  10697. },
  10698. "videourl": {
  10699. "description": "视频地址",
  10700. "type": "string"
  10701. },
  10702. "wechat": {
  10703. "description": "微信号 (加密存储)",
  10704. "type": "string"
  10705. }
  10706. }
  10707. },
  10708. "erms3.CustomerInfo": {
  10709. "type": "object",
  10710. "required": [
  10711. "userid"
  10712. ],
  10713. "properties": {
  10714. "accountids": {
  10715. "description": "资金账户ID列表",
  10716. "type": "array",
  10717. "items": {
  10718. "type": "integer"
  10719. }
  10720. },
  10721. "customername": {
  10722. "description": "名称(企业名称)",
  10723. "type": "string"
  10724. },
  10725. "mobile": {
  10726. "description": "手机号码",
  10727. "type": "string"
  10728. },
  10729. "userid": {
  10730. "description": "用户ID",
  10731. "type": "integer"
  10732. }
  10733. }
  10734. },
  10735. "erms3.ModifyUserInfoApplyReq": {
  10736. "type": "object",
  10737. "required": [
  10738. "userid"
  10739. ],
  10740. "properties": {
  10741. "accountid": {
  10742. "description": "交易系统帐号Id (加密存储)",
  10743. "type": "integer"
  10744. },
  10745. "areacode": {
  10746. "description": "机构代码",
  10747. "type": "string"
  10748. },
  10749. "areaid": {
  10750. "description": "机构Id",
  10751. "type": "integer"
  10752. },
  10753. "attachment1": {
  10754. "description": "附件1",
  10755. "type": "string"
  10756. },
  10757. "attachment2": {
  10758. "description": "附件2",
  10759. "type": "string"
  10760. },
  10761. "attachment3": {
  10762. "description": "附件3",
  10763. "type": "string"
  10764. },
  10765. "attachment4": {
  10766. "description": "附件4",
  10767. "type": "string"
  10768. },
  10769. "attachment5": {
  10770. "description": "附件5",
  10771. "type": "string"
  10772. },
  10773. "auditedby": {
  10774. "description": "审核人",
  10775. "type": "string"
  10776. },
  10777. "auditime": {
  10778. "description": "审核时间",
  10779. "type": "string"
  10780. },
  10781. "bankaccount": {
  10782. "description": "银行帐号 (加密存储)",
  10783. "type": "string"
  10784. },
  10785. "bankaccountname": {
  10786. "description": "收款人名称",
  10787. "type": "string"
  10788. },
  10789. "bankcardbackphotourl": {
  10790. "description": "银行卡背面照地址",
  10791. "type": "string"
  10792. },
  10793. "bankcardfrontphotourl": {
  10794. "description": "银行卡正面照地址",
  10795. "type": "string"
  10796. },
  10797. "bankid": {
  10798. "description": "银行编码",
  10799. "type": "string"
  10800. },
  10801. "bankname": {
  10802. "description": "银行名称",
  10803. "type": "string"
  10804. },
  10805. "bankpictureurl": {
  10806. "description": "银行卡正面地址",
  10807. "type": "string"
  10808. },
  10809. "biznature": {
  10810. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10811. "type": "integer"
  10812. },
  10813. "bizscope": {
  10814. "description": "企业经营范围(企业)",
  10815. "type": "string"
  10816. },
  10817. "biztype": {
  10818. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10819. "type": "integer"
  10820. },
  10821. "brokerid": {
  10822. "description": "经纪人ID(加密存储)",
  10823. "type": "string"
  10824. },
  10825. "cardaddress": {
  10826. "description": "证件地址 (加密存储)",
  10827. "type": "string"
  10828. },
  10829. "cardbackphotourl": {
  10830. "description": "背面证件照地址",
  10831. "type": "string"
  10832. },
  10833. "cardfrontphotourl": {
  10834. "description": "正面证件照地址",
  10835. "type": "string"
  10836. },
  10837. "cardnum": {
  10838. "description": "证件号码 (加密存储)",
  10839. "type": "string"
  10840. },
  10841. "cardtype": {
  10842. "description": "证件类型",
  10843. "type": "integer"
  10844. },
  10845. "cityid": {
  10846. "description": "市",
  10847. "type": "integer"
  10848. },
  10849. "company": {
  10850. "description": "公司(个人)",
  10851. "type": "string"
  10852. },
  10853. "contactcardbackphotourl": {
  10854. "description": "联系人证件背面图片地址",
  10855. "type": "string"
  10856. },
  10857. "contactcardfrontphotourl": {
  10858. "description": "联系人证件正面图片地址",
  10859. "type": "string"
  10860. },
  10861. "contactname": {
  10862. "description": "联系人",
  10863. "type": "string"
  10864. },
  10865. "countryid": {
  10866. "description": "国家",
  10867. "type": "integer"
  10868. },
  10869. "createtime": {
  10870. "description": "开户申请时间",
  10871. "type": "string"
  10872. },
  10873. "cusbankid": {
  10874. "description": "签约类型",
  10875. "type": "string"
  10876. },
  10877. "cusbankname": {
  10878. "description": "签约类型名称",
  10879. "type": "string"
  10880. },
  10881. "customername": {
  10882. "description": "客户名称(企业名称)",
  10883. "type": "string"
  10884. },
  10885. "districtid": {
  10886. "description": "地区",
  10887. "type": "integer"
  10888. },
  10889. "email": {
  10890. "description": "Email地址(加密存储)",
  10891. "type": "string"
  10892. },
  10893. "halfbodyphotourl": {
  10894. "description": "半身照地址",
  10895. "type": "string"
  10896. },
  10897. "headurl": {
  10898. "description": "头像地址",
  10899. "type": "string"
  10900. },
  10901. "ipaddress": {
  10902. "description": "IP地址",
  10903. "type": "string"
  10904. },
  10905. "isvalidate": {
  10906. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10907. "type": "string"
  10908. },
  10909. "legalcardbackphotourl": {
  10910. "description": "法人身份证背面照地址",
  10911. "type": "string"
  10912. },
  10913. "legalcardfrontphotourl": {
  10914. "description": "法人身份证正面照地址",
  10915. "type": "string"
  10916. },
  10917. "legalpersonname": {
  10918. "description": "法人姓名(企业)",
  10919. "type": "string"
  10920. },
  10921. "logincode": {
  10922. "description": "登录帐号 (加密存储)",
  10923. "type": "string"
  10924. },
  10925. "memberareaid": {
  10926. "description": "所属会员ID",
  10927. "type": "integer"
  10928. },
  10929. "mobile2": {
  10930. "description": "手机号码[明文-尚志]",
  10931. "type": "string"
  10932. },
  10933. "mobilephone": {
  10934. "description": "手机号码 (加密存储)",
  10935. "type": "string"
  10936. },
  10937. "modifiedby": {
  10938. "description": "修改人帐号",
  10939. "type": "integer"
  10940. },
  10941. "modifiedtime": {
  10942. "description": "修改时间",
  10943. "type": "string"
  10944. },
  10945. "nickname": {
  10946. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10947. "type": "string"
  10948. },
  10949. "openmode": {
  10950. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10951. "type": "integer"
  10952. },
  10953. "otherurl": {
  10954. "description": "其它图片地址[使用分号分隔]",
  10955. "type": "string"
  10956. },
  10957. "postalcode": {
  10958. "description": "邮政编码",
  10959. "type": "string"
  10960. },
  10961. "provinceid": {
  10962. "description": "省",
  10963. "type": "integer"
  10964. },
  10965. "proxystatementurl": {
  10966. "description": "授权委托书",
  10967. "type": "string"
  10968. },
  10969. "qq": {
  10970. "description": "QQ(加密存储",
  10971. "type": "string"
  10972. },
  10973. "referral": {
  10974. "description": "推荐人编码",
  10975. "type": "string"
  10976. },
  10977. "remark": {
  10978. "description": "备注",
  10979. "type": "string"
  10980. },
  10981. "removebeforestatus": {
  10982. "description": "REMOVEBEFORESTATUS",
  10983. "type": "integer"
  10984. },
  10985. "sex": {
  10986. "description": "性别 - 0:女 1:男",
  10987. "type": "integer"
  10988. },
  10989. "signedstatus": {
  10990. "description": "账户一号签签约状态",
  10991. "type": "integer"
  10992. },
  10993. "signpdfurl": {
  10994. "description": "签约pdf文件",
  10995. "type": "string"
  10996. },
  10997. "subbranch": {
  10998. "description": "开户支行",
  10999. "type": "string"
  11000. },
  11001. "telphone": {
  11002. "description": "联系电话(加密存储)",
  11003. "type": "string"
  11004. },
  11005. "userid": {
  11006. "description": "用户ID(自增ID)",
  11007. "type": "integer"
  11008. },
  11009. "userinfotype": {
  11010. "description": "用户信息类型 - 1:个人 2:企业",
  11011. "type": "integer"
  11012. },
  11013. "username": {
  11014. "description": "用户姓名",
  11015. "type": "string"
  11016. },
  11017. "userstate": {
  11018. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11019. "type": "integer"
  11020. },
  11021. "usertype": {
  11022. "description": "用户类型 - 1:投资者 2:机构",
  11023. "type": "integer"
  11024. },
  11025. "videourl": {
  11026. "description": "视频地址",
  11027. "type": "string"
  11028. },
  11029. "wechat": {
  11030. "description": "微信号 (加密存储)",
  11031. "type": "string"
  11032. }
  11033. }
  11034. },
  11035. "erms3.QryAuditContractRsp": {
  11036. "type": "object",
  11037. "required": [
  11038. "matchcustomername",
  11039. "spotcontractid"
  11040. ],
  11041. "properties": {
  11042. "accountid": {
  11043. "description": "交易员ID",
  11044. "type": "string"
  11045. },
  11046. "applystatus": {
  11047. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11048. "type": "integer"
  11049. },
  11050. "curdeliveryqty": {
  11051. "description": "未交收量",
  11052. "type": "integer"
  11053. },
  11054. "customername": {
  11055. "description": "采购方ID",
  11056. "type": "string"
  11057. },
  11058. "deliverygoodsid": {
  11059. "description": "品种ID",
  11060. "type": "string"
  11061. },
  11062. "deliveryqty": {
  11063. "description": "交收量",
  11064. "type": "integer"
  11065. },
  11066. "enumdicname": {
  11067. "description": "单位名称",
  11068. "type": "string"
  11069. },
  11070. "matchaccountid": {
  11071. "description": "业务员ID",
  11072. "type": "string"
  11073. },
  11074. "matchcustomername": {
  11075. "description": "销售方ID",
  11076. "type": "string"
  11077. },
  11078. "pricedqty": {
  11079. "description": "定价量",
  11080. "type": "number"
  11081. },
  11082. "signdate": {
  11083. "description": "签订日期",
  11084. "type": "string"
  11085. },
  11086. "spotcontractid": {
  11087. "description": "合同ID",
  11088. "type": "string"
  11089. },
  11090. "totaldqty": {
  11091. "description": "合同量",
  11092. "type": "number"
  11093. },
  11094. "unpricedqty": {
  11095. "description": "未定价量",
  11096. "type": "number"
  11097. },
  11098. "wrstandardname": {
  11099. "description": "商品名称",
  11100. "type": "string"
  11101. }
  11102. }
  11103. },
  11104. "erms3.QryPendingBizRsp": {
  11105. "$ref": "#/definitions/models.PendingAuditBizModel"
  11106. },
  11107. "erms3.QueryBusinessInfoRsp": {
  11108. "type": "object",
  11109. "properties": {
  11110. "businessid": {
  11111. "description": "业务ID.",
  11112. "type": "integer"
  11113. },
  11114. "buyamount": {
  11115. "description": "采购额.",
  11116. "type": "number"
  11117. },
  11118. "buyqty": {
  11119. "description": "采购量.",
  11120. "type": "string"
  11121. },
  11122. "futurepl": {
  11123. "description": "期货盈亏.",
  11124. "type": "number"
  11125. },
  11126. "futureqty": {
  11127. "description": "期货敞口.",
  11128. "type": "string"
  11129. },
  11130. "goodsid": {
  11131. "description": "商品名称/商品代码.",
  11132. "type": "string"
  11133. },
  11134. "hedgingqty": {
  11135. "description": "套保量.",
  11136. "type": "string"
  11137. },
  11138. "sellamount": {
  11139. "description": "销售额.",
  11140. "type": "number"
  11141. },
  11142. "sellqty": {
  11143. "description": "销售量.",
  11144. "type": "string"
  11145. },
  11146. "spotmarketvalue": {
  11147. "description": "现货市值.",
  11148. "type": "number"
  11149. },
  11150. "spotpl": {
  11151. "description": "浮动权益.",
  11152. "type": "number"
  11153. },
  11154. "spotqty": {
  11155. "description": "现货量.",
  11156. "type": "string"
  11157. },
  11158. "statu": {
  11159. "description": "状态,0-未结束 1-已结束.",
  11160. "type": "integer"
  11161. },
  11162. "totalpl": {
  11163. "description": "总盈亏.",
  11164. "type": "number"
  11165. },
  11166. "totalqty": {
  11167. "description": "总敞口.",
  11168. "type": "string"
  11169. },
  11170. "type": {
  11171. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11172. "type": "integer"
  11173. }
  11174. }
  11175. },
  11176. "erms3.QuerySpotContractAppleFormRsp": {
  11177. "type": "object",
  11178. "properties": {
  11179. "goodses": {
  11180. "description": "合约列表",
  11181. "type": "array",
  11182. "items": {
  11183. "$ref": "#/definitions/models.GoodsIDAndName"
  11184. }
  11185. },
  11186. "oppositeusers": {
  11187. "description": "对方账号列表",
  11188. "type": "array",
  11189. "items": {
  11190. "$ref": "#/definitions/erms3.CustomerInfo"
  11191. }
  11192. },
  11193. "ouruser": {
  11194. "description": "我方账号",
  11195. "type": "object",
  11196. "$ref": "#/definitions/erms3.CustomerInfo"
  11197. },
  11198. "warehouseinfos": {
  11199. "description": "仓库信息列表",
  11200. "type": "array",
  11201. "items": {
  11202. "$ref": "#/definitions/models.Warehouseinfo"
  11203. }
  11204. },
  11205. "wrstandards": {
  11206. "description": "仓单标准列表",
  11207. "type": "array",
  11208. "items": {
  11209. "$ref": "#/definitions/models.WRStandardInfo"
  11210. }
  11211. }
  11212. }
  11213. },
  11214. "erms3.QuerySpotContractInfoRsp": {
  11215. "type": "object",
  11216. "properties": {
  11217. "accountid": {
  11218. "description": "表示交易员ID.",
  11219. "type": "integer"
  11220. },
  11221. "curdeliveryqty": {
  11222. "description": "表示未交收量.",
  11223. "type": "number"
  11224. },
  11225. "customername": {
  11226. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11227. "type": "string"
  11228. },
  11229. "deliverygoodsid": {
  11230. "description": "表示品种ID.",
  11231. "type": "string"
  11232. },
  11233. "deliveryqty": {
  11234. "description": "表示交收量.",
  11235. "type": "number"
  11236. },
  11237. "matchaccountid": {
  11238. "description": "表示业务员ID.",
  11239. "type": "integer"
  11240. },
  11241. "matchcustomername": {
  11242. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11243. "type": "string"
  11244. },
  11245. "priceqty": {
  11246. "description": "表示定价量.",
  11247. "type": "number"
  11248. },
  11249. "relatedbizid": {
  11250. "description": "表示业务ID.",
  11251. "type": "string"
  11252. },
  11253. "signdate": {
  11254. "description": "表示签订日期.",
  11255. "type": "string"
  11256. },
  11257. "spotcontractid": {
  11258. "description": "合同ID",
  11259. "type": "string"
  11260. },
  11261. "status": {
  11262. "description": "表示状态,0-履约中 1-已完成.",
  11263. "type": "integer"
  11264. },
  11265. "totalqty": {
  11266. "description": "表示合同量.",
  11267. "type": "number"
  11268. },
  11269. "unpricedqty": {
  11270. "description": "表示未定价量.",
  11271. "type": "number"
  11272. },
  11273. "wrstandardname": {
  11274. "description": "表示商品ID.",
  11275. "type": "string"
  11276. }
  11277. }
  11278. },
  11279. "erms3.QueryUserInfoAppliesRsp": {
  11280. "type": "object",
  11281. "required": [
  11282. "userid"
  11283. ],
  11284. "properties": {
  11285. "biznature": {
  11286. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11287. "type": "integer"
  11288. },
  11289. "contactname": {
  11290. "description": "联系人",
  11291. "type": "string"
  11292. },
  11293. "createtime": {
  11294. "description": "开户申请时间",
  11295. "type": "string"
  11296. },
  11297. "userid": {
  11298. "description": "用户ID(自增ID)",
  11299. "type": "integer"
  11300. },
  11301. "userinfotype": {
  11302. "description": "用户信息类型 - 1:个人 2:企业",
  11303. "type": "integer"
  11304. },
  11305. "username": {
  11306. "description": "用户姓名",
  11307. "type": "string"
  11308. },
  11309. "userstate": {
  11310. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11311. "type": "integer"
  11312. }
  11313. }
  11314. },
  11315. "erms3.QueryUserInfosRsp": {
  11316. "type": "object",
  11317. "required": [
  11318. "userid"
  11319. ],
  11320. "properties": {
  11321. "biznature": {
  11322. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11323. "type": "integer"
  11324. },
  11325. "contactname": {
  11326. "description": "联系人",
  11327. "type": "string"
  11328. },
  11329. "customername": {
  11330. "description": "客户名称(企业名称)",
  11331. "type": "string"
  11332. },
  11333. "userid": {
  11334. "description": "用户ID",
  11335. "type": "integer"
  11336. },
  11337. "userinfotype": {
  11338. "description": "用户信息类型 - 1:个人 2:企业",
  11339. "type": "integer"
  11340. },
  11341. "userstatus": {
  11342. "description": "用户状态 - 1:正常 2:注销",
  11343. "type": "integer"
  11344. }
  11345. }
  11346. },
  11347. "erms3.SoptContractDetail": {
  11348. "type": "object",
  11349. "required": [
  11350. "deliverygoodsid",
  11351. "producttype",
  11352. "unitname",
  11353. "warehouseid",
  11354. "wrstandardid",
  11355. "wrstandardname"
  11356. ],
  11357. "properties": {
  11358. "deliverygoodsdesc": {
  11359. "description": "现货品种说明",
  11360. "type": "string"
  11361. },
  11362. "deliverygoodsid": {
  11363. "description": "现货品种ID",
  11364. "type": "integer"
  11365. },
  11366. "deliverygoodsname": {
  11367. "description": "现货品种名称",
  11368. "type": "string"
  11369. },
  11370. "pointdesc": {
  11371. "description": "点价描述",
  11372. "type": "string"
  11373. },
  11374. "producttype": {
  11375. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11376. "type": "integer"
  11377. },
  11378. "producttypename": {
  11379. "description": "产品类型名称",
  11380. "type": "string"
  11381. },
  11382. "spotPointOrderVoList": {
  11383. "description": "点价列表",
  11384. "type": "array",
  11385. "items": {
  11386. "$ref": "#/definitions/erms3.SpotPointOrder"
  11387. }
  11388. },
  11389. "spotPriceOrderList": {
  11390. "description": "定价列表",
  11391. "type": "array",
  11392. "items": {
  11393. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11394. }
  11395. },
  11396. "unitname": {
  11397. "description": "单位名称",
  11398. "type": "string"
  11399. },
  11400. "warehouseid": {
  11401. "description": "仓库ID",
  11402. "type": "integer"
  11403. },
  11404. "warehousename": {
  11405. "description": "仓库名称",
  11406. "type": "string"
  11407. },
  11408. "wrstandardid": {
  11409. "description": "交易标的ID",
  11410. "type": "integer"
  11411. },
  11412. "wrstandardname": {
  11413. "description": "交易标的名称",
  11414. "type": "string"
  11415. }
  11416. }
  11417. },
  11418. "erms3.SpotPointOrder": {
  11419. "type": "object",
  11420. "required": [
  11421. "basic",
  11422. "goodsid",
  11423. "qty"
  11424. ],
  11425. "properties": {
  11426. "basic": {
  11427. "description": "基差",
  11428. "type": "number"
  11429. },
  11430. "deliveryenddate": {
  11431. "description": "交收结束日期",
  11432. "type": "string"
  11433. },
  11434. "deliverystartdate": {
  11435. "description": "交收开始日期",
  11436. "type": "string"
  11437. },
  11438. "enddate": {
  11439. "description": "点价结束日期",
  11440. "type": "string"
  11441. },
  11442. "goodsid": {
  11443. "description": "商品ID",
  11444. "type": "integer"
  11445. },
  11446. "goodsname": {
  11447. "description": "商品名称",
  11448. "type": "string"
  11449. },
  11450. "qty": {
  11451. "description": "数量",
  11452. "type": "number"
  11453. },
  11454. "startdate": {
  11455. "description": "点价开始日期",
  11456. "type": "string"
  11457. }
  11458. }
  11459. },
  11460. "erms3.SpotPriceOrder": {
  11461. "type": "object",
  11462. "required": [
  11463. "amount",
  11464. "price",
  11465. "qty"
  11466. ],
  11467. "properties": {
  11468. "amount": {
  11469. "description": "金额",
  11470. "type": "number"
  11471. },
  11472. "deliveryenddate": {
  11473. "description": "交收结束日期",
  11474. "type": "string"
  11475. },
  11476. "deliverystartdate": {
  11477. "description": "交收开始日期",
  11478. "type": "string"
  11479. },
  11480. "price": {
  11481. "description": "价格",
  11482. "type": "number"
  11483. },
  11484. "qty": {
  11485. "description": "数量",
  11486. "type": "number"
  11487. }
  11488. }
  11489. },
  11490. "hsby.GetHsbyMyCountRsp": {
  11491. "type": "object",
  11492. "properties": {
  11493. "myCouponCount": {
  11494. "description": "我的优惠卷数量",
  11495. "type": "integer"
  11496. },
  11497. "myOrderDetailListingCount": {
  11498. "description": "我的订单求购中数量",
  11499. "type": "integer"
  11500. },
  11501. "myOrderDetailPreCount": {
  11502. "description": "我的订单抢购中数量",
  11503. "type": "integer"
  11504. },
  11505. "myPackageUnReceiveCount": {
  11506. "description": "我的包裹待收货数量",
  11507. "type": "integer"
  11508. },
  11509. "myPackageUnSendCount": {
  11510. "description": "我的包裹待发货数量",
  11511. "type": "integer"
  11512. },
  11513. "myPayOrderCount": {
  11514. "description": "我的订单待付款数量",
  11515. "type": "integer"
  11516. }
  11517. }
  11518. },
  11519. "hsby.QueryProvincesAndCitiesRsp": {
  11520. "type": "object",
  11521. "properties": {
  11522. "cities": {
  11523. "description": "市",
  11524. "type": "array",
  11525. "items": {
  11526. "$ref": "#/definitions/models.Division"
  11527. }
  11528. },
  11529. "province": {
  11530. "description": "省",
  11531. "type": "object",
  11532. "$ref": "#/definitions/models.Division"
  11533. }
  11534. }
  11535. },
  11536. "models.AreaSpotModel": {
  11537. "type": "object",
  11538. "properties": {
  11539. "areauserid": {
  11540. "description": "所属机构",
  11541. "type": "integer"
  11542. },
  11543. "decreaseqty": {
  11544. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11545. "type": "number"
  11546. },
  11547. "increaseqty": {
  11548. "description": "增加数量=销售计划数量+采购已定价数量",
  11549. "type": "number"
  11550. },
  11551. "oritoalspotqty": {
  11552. "description": "昨日数量",
  11553. "type": "number"
  11554. },
  11555. "totalspotqty": {
  11556. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11557. "type": "number"
  11558. },
  11559. "updatetime": {
  11560. "description": "更新时间",
  11561. "type": "string"
  11562. },
  11563. "wrstandardcode": {
  11564. "description": "现货品种代码",
  11565. "type": "string"
  11566. },
  11567. "wrstandardid": {
  11568. "description": "现货商品ID",
  11569. "type": "integer"
  11570. },
  11571. "wrstandardname": {
  11572. "description": "现货品种",
  11573. "type": "string"
  11574. }
  11575. }
  11576. },
  11577. "models.Clientfixedadconfig": {
  11578. "type": "object",
  11579. "required": [
  11580. "adsort",
  11581. "adtype"
  11582. ],
  11583. "properties": {
  11584. "adsort": {
  11585. "description": "排序",
  11586. "type": "integer"
  11587. },
  11588. "adtype": {
  11589. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11590. "type": "integer"
  11591. },
  11592. "areauserid": {
  11593. "description": "所属机构ID",
  11594. "type": "integer"
  11595. },
  11596. "createdate": {
  11597. "description": "创建时间",
  11598. "type": "string"
  11599. },
  11600. "creatorid": {
  11601. "description": "创建人",
  11602. "type": "integer"
  11603. },
  11604. "imagepath": {
  11605. "description": "图片",
  11606. "type": "string"
  11607. },
  11608. "isshow": {
  11609. "description": "是否展示 - 0:不展示 1:展示",
  11610. "type": "integer"
  11611. },
  11612. "modifierid": {
  11613. "description": "操作人",
  11614. "type": "integer"
  11615. },
  11616. "recsize": {
  11617. "description": "推荐尺寸",
  11618. "type": "string"
  11619. },
  11620. "title": {
  11621. "description": "标题",
  11622. "type": "string"
  11623. },
  11624. "updatedate": {
  11625. "description": "更新时间",
  11626. "type": "string"
  11627. },
  11628. "urlcontent": {
  11629. "description": "链接(地址或商品ID)",
  11630. "type": "string"
  11631. },
  11632. "urltype": {
  11633. "description": "链接类型 - 1:直接地址 2:商品ID",
  11634. "type": "integer"
  11635. }
  11636. }
  11637. },
  11638. "models.Division": {
  11639. "type": "object",
  11640. "required": [
  11641. "autoid",
  11642. "divisioncode"
  11643. ],
  11644. "properties": {
  11645. "autoid": {
  11646. "description": "自增ID",
  11647. "type": "integer"
  11648. },
  11649. "divisioncode": {
  11650. "description": "行政代码",
  11651. "type": "string"
  11652. },
  11653. "divisionlevel": {
  11654. "description": "行政级别",
  11655. "type": "string"
  11656. },
  11657. "divisionname": {
  11658. "description": "行政名称",
  11659. "type": "string"
  11660. },
  11661. "modifierid": {
  11662. "description": "修改人",
  11663. "type": "integer"
  11664. },
  11665. "modifytime": {
  11666. "description": "修改时间",
  11667. "type": "string"
  11668. },
  11669. "parentcode": {
  11670. "description": "上级行政代码",
  11671. "type": "string"
  11672. },
  11673. "pathname": {
  11674. "description": "路径名称",
  11675. "type": "string"
  11676. },
  11677. "postcode": {
  11678. "description": "邮政编码",
  11679. "type": "string"
  11680. },
  11681. "separablename": {
  11682. "description": "可拆分的全称",
  11683. "type": "string"
  11684. },
  11685. "shortcode": {
  11686. "description": "地区简码",
  11687. "type": "string"
  11688. }
  11689. }
  11690. },
  11691. "models.Enumdicitem": {
  11692. "type": "object",
  11693. "required": [
  11694. "autoid",
  11695. "enumdiccode",
  11696. "enumdicid",
  11697. "enumitemname"
  11698. ],
  11699. "properties": {
  11700. "autoid": {
  11701. "description": "自增ID",
  11702. "type": "integer"
  11703. },
  11704. "bankmappedvalue": {
  11705. "description": "银行服务对应值",
  11706. "type": "string"
  11707. },
  11708. "enumdiccode": {
  11709. "description": "所属枚举代码",
  11710. "type": "string"
  11711. },
  11712. "enumdicid": {
  11713. "description": "所属枚举ID",
  11714. "type": "integer"
  11715. },
  11716. "enumdicname": {
  11717. "description": "枚举项名称",
  11718. "type": "string"
  11719. },
  11720. "enumitemname": {
  11721. "description": "枚举项值",
  11722. "type": "integer"
  11723. },
  11724. "enumitemstatus": {
  11725. "description": "枚举项状态 - 1.启用 2.不启用",
  11726. "type": "integer"
  11727. },
  11728. "enumitemvalue": {
  11729. "description": "通用值 - [币种通用简写]",
  11730. "type": "string"
  11731. },
  11732. "param1": {
  11733. "description": "参数1[币种:币种小数位]",
  11734. "type": "string"
  11735. },
  11736. "param2": {
  11737. "description": "参数1[币种:币种显示单位]",
  11738. "type": "string"
  11739. },
  11740. "remark": {
  11741. "description": "备注",
  11742. "type": "string"
  11743. }
  11744. }
  11745. },
  11746. "models.ErmcpAreaSpotDetailModel": {
  11747. "type": "object",
  11748. "properties": {
  11749. "contracttype": {
  11750. "description": "合同类型 1-采购 -1-销售",
  11751. "type": "integer"
  11752. },
  11753. "createtime": {
  11754. "description": "创建时间",
  11755. "type": "string"
  11756. },
  11757. "enumdicname": {
  11758. "description": "现货商品单位名称",
  11759. "type": "string"
  11760. },
  11761. "logtype": {
  11762. "description": "记录类型 1-套保 2-现货合同",
  11763. "type": "integer"
  11764. },
  11765. "qty": {
  11766. "description": "数量",
  11767. "type": "number"
  11768. },
  11769. "recordname": {
  11770. "description": "类型名称",
  11771. "type": "string"
  11772. },
  11773. "relatedid": {
  11774. "description": "套保计划ID/现货合同ID",
  11775. "type": "string"
  11776. },
  11777. "relatedno": {
  11778. "description": "编号",
  11779. "type": "string"
  11780. },
  11781. "strtime": {
  11782. "description": "时间",
  11783. "type": "string"
  11784. },
  11785. "wrstandardcode": {
  11786. "description": "现货商品代码",
  11787. "type": "string"
  11788. },
  11789. "wrstandardname": {
  11790. "description": "现货商品名称",
  11791. "type": "string"
  11792. }
  11793. }
  11794. },
  11795. "models.ErmcpAreaStock": {
  11796. "type": "object",
  11797. "properties": {
  11798. "brandname": {
  11799. "description": "品牌名称",
  11800. "type": "string"
  11801. },
  11802. "curstock": {
  11803. "description": "期末库存量(今日量)",
  11804. "type": "number"
  11805. },
  11806. "deliverygoodsid": {
  11807. "description": "现货品种ID",
  11808. "type": "integer"
  11809. },
  11810. "enumdicname": {
  11811. "description": "单位名称",
  11812. "type": "string"
  11813. },
  11814. "modelname": {
  11815. "description": "型号名称",
  11816. "type": "string"
  11817. },
  11818. "oristock": {
  11819. "description": "期初库存量(昨日量)",
  11820. "type": "number"
  11821. },
  11822. "spotgoodsbrandid": {
  11823. "description": "现货品牌ID",
  11824. "type": "integer"
  11825. },
  11826. "spotgoodsmodelid": {
  11827. "description": "现货型号ID",
  11828. "type": "integer"
  11829. },
  11830. "todaybuyinqty": {
  11831. "description": "今日采购入库量",
  11832. "type": "number"
  11833. },
  11834. "todayproduceinqty": {
  11835. "description": "今日生产入库量",
  11836. "type": "number"
  11837. },
  11838. "todayproduceoutqty": {
  11839. "description": "今日生产出库量",
  11840. "type": "number"
  11841. },
  11842. "todayselloutqty": {
  11843. "description": "今日销售出库量",
  11844. "type": "number"
  11845. },
  11846. "unitid": {
  11847. "description": "单位id",
  11848. "type": "integer"
  11849. },
  11850. "updatetime": {
  11851. "description": "更新时间",
  11852. "type": "string"
  11853. },
  11854. "userid": {
  11855. "description": "机构ID",
  11856. "type": "integer"
  11857. },
  11858. "username": {
  11859. "description": "机构名称",
  11860. "type": "string"
  11861. },
  11862. "warehousecode": {
  11863. "description": "仓库代码",
  11864. "type": "string"
  11865. },
  11866. "warehouseinfoid": {
  11867. "description": "仓库ID",
  11868. "type": "string"
  11869. },
  11870. "warehousename": {
  11871. "description": "仓库名称",
  11872. "type": "string"
  11873. },
  11874. "warehousetype": {
  11875. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11876. "type": "integer"
  11877. },
  11878. "wrstandardcode": {
  11879. "description": "现货商品代码",
  11880. "type": "string"
  11881. },
  11882. "wrstandardid": {
  11883. "description": "现货商品ID",
  11884. "type": "string"
  11885. },
  11886. "wrstandardname": {
  11887. "description": "现货商品名称",
  11888. "type": "string"
  11889. }
  11890. }
  11891. },
  11892. "models.ErmcpAreaStockApply": {
  11893. "type": "object",
  11894. "properties": {
  11895. "applyid": {
  11896. "description": "申请人",
  11897. "type": "integer"
  11898. },
  11899. "applyname": {
  11900. "description": "申请人名称",
  11901. "type": "string"
  11902. },
  11903. "applyremark": {
  11904. "description": "申请备注",
  11905. "type": "string"
  11906. },
  11907. "applysrc": {
  11908. "description": "申请来源 - 1:管理端 2:终端",
  11909. "type": "integer"
  11910. },
  11911. "applystatus": {
  11912. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11913. "type": "integer"
  11914. },
  11915. "applytime": {
  11916. "description": "申请时间",
  11917. "type": "string"
  11918. },
  11919. "auditid": {
  11920. "description": "审核人",
  11921. "type": "integer"
  11922. },
  11923. "auditname": {
  11924. "description": "审核人名称",
  11925. "type": "string"
  11926. },
  11927. "auditremark": {
  11928. "description": "审核备注",
  11929. "type": "string"
  11930. },
  11931. "auditsrc": {
  11932. "description": "审核来源 - 1:管理端 2:终端",
  11933. "type": "integer"
  11934. },
  11935. "audittime": {
  11936. "description": "审核时间",
  11937. "type": "string"
  11938. },
  11939. "audittradedate": {
  11940. "description": "审核交易日(yyyyMMdd)",
  11941. "type": "string"
  11942. },
  11943. "brandname": {
  11944. "description": "品牌名称",
  11945. "type": "string"
  11946. },
  11947. "buyuserid": {
  11948. "description": "采购方userid",
  11949. "type": "integer"
  11950. },
  11951. "buyusername": {
  11952. "description": "采购方名称",
  11953. "type": "string"
  11954. },
  11955. "contractno": {
  11956. "description": "合同编号",
  11957. "type": "string"
  11958. },
  11959. "contractqty": {
  11960. "description": "合同量",
  11961. "type": "number"
  11962. },
  11963. "contracttype": {
  11964. "description": "现货合同类型 - 1:采购 -1:销售",
  11965. "type": "integer"
  11966. },
  11967. "deliverygoodsid": {
  11968. "description": "现货品种ID",
  11969. "type": "integer"
  11970. },
  11971. "enumdicname": {
  11972. "description": "现货商品单位名称",
  11973. "type": "string"
  11974. },
  11975. "inoutapplyid": {
  11976. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11977. "type": "string"
  11978. },
  11979. "inouttype": {
  11980. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11981. "type": "integer"
  11982. },
  11983. "modelname": {
  11984. "description": "型号名称",
  11985. "type": "string"
  11986. },
  11987. "pricetype": {
  11988. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11989. "type": "integer"
  11990. },
  11991. "qty": {
  11992. "description": "数量",
  11993. "type": "number"
  11994. },
  11995. "selluserid": {
  11996. "description": "销售方userid",
  11997. "type": "integer"
  11998. },
  11999. "sellusername": {
  12000. "description": "销售方名称",
  12001. "type": "string"
  12002. },
  12003. "spotcontractid": {
  12004. "description": "关联现货合同ID",
  12005. "type": "string"
  12006. },
  12007. "spotgoodsbrandid": {
  12008. "description": "现货品牌ID",
  12009. "type": "integer"
  12010. },
  12011. "spotgoodsmodelid": {
  12012. "description": "现货型号ID",
  12013. "type": "integer"
  12014. },
  12015. "unitid": {
  12016. "description": "单位id",
  12017. "type": "integer"
  12018. },
  12019. "userid": {
  12020. "description": "机构ID",
  12021. "type": "integer"
  12022. },
  12023. "warehousecode": {
  12024. "description": "仓库代码",
  12025. "type": "string"
  12026. },
  12027. "warehouseinfoid": {
  12028. "description": "现货仓库ID",
  12029. "type": "string"
  12030. },
  12031. "warehousename": {
  12032. "description": "仓库名称",
  12033. "type": "string"
  12034. },
  12035. "warehousetype": {
  12036. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12037. "type": "integer"
  12038. },
  12039. "wrstandardcode": {
  12040. "description": "现货商品代码",
  12041. "type": "string"
  12042. },
  12043. "wrstandardid": {
  12044. "description": "现货商品ID",
  12045. "type": "string"
  12046. },
  12047. "wrstandardname": {
  12048. "description": "现货商品名称",
  12049. "type": "string"
  12050. }
  12051. }
  12052. },
  12053. "models.ErmcpAreaStockApplySum": {
  12054. "type": "object",
  12055. "properties": {
  12056. "brandname": {
  12057. "description": "品牌名称",
  12058. "type": "string"
  12059. },
  12060. "inouttype": {
  12061. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12062. "type": "integer"
  12063. },
  12064. "modelname": {
  12065. "description": "型号名称",
  12066. "type": "string"
  12067. },
  12068. "spotcontractid": {
  12069. "description": "关联现货合同ID",
  12070. "type": "string"
  12071. },
  12072. "spotgoodsbrandid": {
  12073. "description": "品牌id",
  12074. "type": "integer"
  12075. },
  12076. "spotgoodsmodelid": {
  12077. "description": "型号id",
  12078. "type": "integer"
  12079. },
  12080. "totalqty": {
  12081. "description": "总数量",
  12082. "type": "number"
  12083. }
  12084. }
  12085. },
  12086. "models.ErmcpAreaStockReport": {
  12087. "type": "object",
  12088. "properties": {
  12089. "brandname": {
  12090. "description": "品牌名称",
  12091. "type": "string"
  12092. },
  12093. "curstock": {
  12094. "description": "期末库存量",
  12095. "type": "number"
  12096. },
  12097. "deliverygoodsid": {
  12098. "description": "现货品种ID",
  12099. "type": "integer"
  12100. },
  12101. "enumdicname": {
  12102. "description": "单位名称",
  12103. "type": "string"
  12104. },
  12105. "modelname": {
  12106. "description": "型号名称",
  12107. "type": "string"
  12108. },
  12109. "oristock": {
  12110. "description": "期初库存量",
  12111. "type": "number"
  12112. },
  12113. "spotgoodsbrandid": {
  12114. "description": "现货品牌ID",
  12115. "type": "integer"
  12116. },
  12117. "spotgoodsmodelid": {
  12118. "description": "现货型号ID",
  12119. "type": "integer"
  12120. },
  12121. "todaybuyinqty": {
  12122. "description": "今日采购入库量",
  12123. "type": "number"
  12124. },
  12125. "todayproduceinqty": {
  12126. "description": "今日生产入库量",
  12127. "type": "number"
  12128. },
  12129. "todayproduceoutqty": {
  12130. "description": "今日生产出库量",
  12131. "type": "number"
  12132. },
  12133. "todayselloutqty": {
  12134. "description": "今日销售出库量",
  12135. "type": "number"
  12136. },
  12137. "unitid": {
  12138. "description": "单位id",
  12139. "type": "integer"
  12140. },
  12141. "updatetime": {
  12142. "description": "更新时间",
  12143. "type": "string"
  12144. },
  12145. "userid": {
  12146. "description": "机构ID",
  12147. "type": "integer"
  12148. },
  12149. "username": {
  12150. "description": "机构名称",
  12151. "type": "string"
  12152. },
  12153. "warehousecode": {
  12154. "description": "仓库代码",
  12155. "type": "string"
  12156. },
  12157. "warehouseinfoid": {
  12158. "description": "仓库ID",
  12159. "type": "string"
  12160. },
  12161. "warehousename": {
  12162. "description": "仓库名称",
  12163. "type": "string"
  12164. },
  12165. "warehousetype": {
  12166. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12167. "type": "integer"
  12168. },
  12169. "wrstandardcode": {
  12170. "description": "现货商品代码",
  12171. "type": "string"
  12172. },
  12173. "wrstandardid": {
  12174. "description": "现货商品ID",
  12175. "type": "string"
  12176. },
  12177. "wrstandardname": {
  12178. "description": "现货商品名称",
  12179. "type": "string"
  12180. }
  12181. }
  12182. },
  12183. "models.ErmcpAvalidGoodsGroupModel": {
  12184. "type": "object",
  12185. "properties": {
  12186. "goodsgroupid": {
  12187. "description": "期货品种id",
  12188. "type": "integer"
  12189. },
  12190. "goodsgroupname": {
  12191. "description": "期货品种名称",
  12192. "type": "string"
  12193. },
  12194. "goodunitid": {
  12195. "description": "品种单位id",
  12196. "type": "integer"
  12197. },
  12198. "goodunitname": {
  12199. "description": "品种单位名称",
  12200. "type": "string"
  12201. },
  12202. "outergroupcode": {
  12203. "description": "期货品种代码",
  12204. "type": "string"
  12205. }
  12206. }
  12207. },
  12208. "models.ErmcpBizGroupEx": {
  12209. "type": "object",
  12210. "properties": {
  12211. "acclist": {
  12212. "description": "账号列表",
  12213. "type": "array",
  12214. "items": {
  12215. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  12216. }
  12217. },
  12218. "bizgroupid": {
  12219. "description": "业务分组id",
  12220. "type": "integer"
  12221. },
  12222. "biztype": {
  12223. "description": "业务类型 1-套保 2-套利",
  12224. "type": "integer"
  12225. },
  12226. "wrlist": {
  12227. "description": "现货商品表表",
  12228. "type": "array",
  12229. "items": {
  12230. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  12231. }
  12232. }
  12233. }
  12234. },
  12235. "models.ErmcpBizGroupSpotGoods": {
  12236. "type": "object",
  12237. "properties": {
  12238. "areauserid": {
  12239. "description": "所属机构id",
  12240. "type": "integer"
  12241. },
  12242. "bizgroupid": {
  12243. "description": "分组id",
  12244. "type": "integer"
  12245. },
  12246. "biztype": {
  12247. "description": "业务类型 1-套保 2-套利",
  12248. "type": "integer"
  12249. },
  12250. "unitid": {
  12251. "description": "现货商品单位id",
  12252. "type": "integer"
  12253. },
  12254. "wrstandardcode": {
  12255. "description": "现货商品代码",
  12256. "type": "string"
  12257. },
  12258. "wrstandardid": {
  12259. "description": "现货商品id",
  12260. "type": "integer"
  12261. },
  12262. "wrstandardname": {
  12263. "description": "现货商品名称",
  12264. "type": "string"
  12265. }
  12266. }
  12267. },
  12268. "models.ErmcpBizGroupTaAccount": {
  12269. "type": "object",
  12270. "properties": {
  12271. "accountid": {
  12272. "description": "账号id",
  12273. "type": "string"
  12274. },
  12275. "accountname": {
  12276. "description": "账号名称",
  12277. "type": "string"
  12278. },
  12279. "areauserid": {
  12280. "description": "所属机构id",
  12281. "type": "integer"
  12282. },
  12283. "bizgroupid": {
  12284. "description": "业务分组id",
  12285. "type": "integer"
  12286. },
  12287. "ismain": {
  12288. "description": "是否主账号 1-是 0-否",
  12289. "type": "integer"
  12290. }
  12291. }
  12292. },
  12293. "models.ErmcpExposureDetailModel": {
  12294. "type": "object",
  12295. "properties": {
  12296. "areauserid": {
  12297. "description": "机构ID",
  12298. "type": "integer"
  12299. },
  12300. "changeQty": {
  12301. "description": "套保变动量",
  12302. "type": "number"
  12303. },
  12304. "contracttype": {
  12305. "description": "现货合同类型 - 1:采购 -1:销售",
  12306. "type": "integer"
  12307. },
  12308. "convertfactor": {
  12309. "description": "标仓系数",
  12310. "type": "number"
  12311. },
  12312. "convertratio": {
  12313. "description": "套保系数",
  12314. "type": "number"
  12315. },
  12316. "createtime": {
  12317. "description": "时间",
  12318. "type": "string"
  12319. },
  12320. "enumdicname": {
  12321. "description": "现货商品单位名称",
  12322. "type": "string"
  12323. },
  12324. "logtype": {
  12325. "description": "类型 - 1:套保计划 2:现货合同",
  12326. "type": "integer"
  12327. },
  12328. "middlegoodsId": {
  12329. "description": "套保商品id",
  12330. "type": "integer"
  12331. },
  12332. "middlegoodscode": {
  12333. "description": "套保商品代码",
  12334. "type": "string"
  12335. },
  12336. "middlegoodsname": {
  12337. "description": "套保商品名称",
  12338. "type": "string"
  12339. },
  12340. "qty": {
  12341. "description": "数量",
  12342. "type": "number"
  12343. },
  12344. "relateNo": {
  12345. "description": "现货合同/套保计划编号",
  12346. "type": "string"
  12347. },
  12348. "wrstandardcode": {
  12349. "description": "现货商品代码",
  12350. "type": "string"
  12351. },
  12352. "wrstandardid": {
  12353. "description": "现货商品ID",
  12354. "type": "integer"
  12355. },
  12356. "wrstandardname": {
  12357. "description": "现货商品名称",
  12358. "type": "string"
  12359. }
  12360. }
  12361. },
  12362. "models.ErmcpExposurePostion": {
  12363. "type": "object",
  12364. "properties": {
  12365. "agreeunit": {
  12366. "description": "合约单位",
  12367. "type": "string"
  12368. },
  12369. "areauserid": {
  12370. "description": "所属机构id",
  12371. "type": "integer"
  12372. },
  12373. "convertratio": {
  12374. "description": "期货品种系数(折算系数)",
  12375. "type": "number"
  12376. },
  12377. "curqty": {
  12378. "description": "当前持仓",
  12379. "type": "integer"
  12380. },
  12381. "diffhedgeqty": {
  12382. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  12383. "type": "number"
  12384. },
  12385. "diffqty": {
  12386. "description": "持仓变动量=当前持仓-昨日持仓",
  12387. "type": "integer"
  12388. },
  12389. "goodscode": {
  12390. "description": "商品代码",
  12391. "type": "string"
  12392. },
  12393. "goodsid": {
  12394. "description": "商品id",
  12395. "type": "integer"
  12396. },
  12397. "goodsname": {
  12398. "description": "商品名称",
  12399. "type": "string"
  12400. },
  12401. "middlegoodsid": {
  12402. "description": "套保商品id",
  12403. "type": "integer"
  12404. },
  12405. "ydqty": {
  12406. "description": "昨日持仓",
  12407. "type": "integer"
  12408. }
  12409. }
  12410. },
  12411. "models.ErmcpFuturesCompany": {
  12412. "type": "object",
  12413. "properties": {
  12414. "brokerid": {
  12415. "description": "经纪公司代码",
  12416. "type": "string"
  12417. },
  12418. "channeladdress": {
  12419. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  12420. "type": "string"
  12421. },
  12422. "channelid": {
  12423. "description": "对冲渠道ID",
  12424. "type": "string"
  12425. },
  12426. "createtime": {
  12427. "description": "创建时间",
  12428. "type": "string"
  12429. },
  12430. "creatorid": {
  12431. "description": "创建人",
  12432. "type": "string"
  12433. },
  12434. "fcid": {
  12435. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  12436. "type": "integer"
  12437. },
  12438. "fcname": {
  12439. "description": "期货公司名称",
  12440. "type": "string"
  12441. },
  12442. "isvalid": {
  12443. "description": "是否有效 - 0:无效 1:有效",
  12444. "type": "integer"
  12445. },
  12446. "mhpaddress": {
  12447. "description": "MHP服务地址(IP:Port)",
  12448. "type": "string"
  12449. },
  12450. "riskrulegroupid": {
  12451. "description": "风控规则组ID",
  12452. "type": "string"
  12453. },
  12454. "tradefeetmpid": {
  12455. "description": "手续费模板ID[TradeConfigTmpType为2]",
  12456. "type": "string"
  12457. },
  12458. "trademargintmpid": {
  12459. "description": "保证金模板ID [TradeConfigTmpType为1]",
  12460. "type": "string"
  12461. },
  12462. "traderatetmpid": {
  12463. "description": "汇率模板ID[TradeConfigTmpType为3]",
  12464. "type": "string"
  12465. },
  12466. "updatetime": {
  12467. "description": "更新时间",
  12468. "type": "string"
  12469. },
  12470. "updatorid": {
  12471. "description": "更新人",
  12472. "type": "string"
  12473. }
  12474. }
  12475. },
  12476. "models.ErmcpGGConvertCfg": {
  12477. "type": "object",
  12478. "properties": {
  12479. "convertratio": {
  12480. "description": "折算系数",
  12481. "type": "number"
  12482. },
  12483. "destgoodsgroupid": {
  12484. "description": "目标品种ID",
  12485. "type": "integer"
  12486. },
  12487. "dstcode": {
  12488. "description": "目录品种代码",
  12489. "type": "string"
  12490. },
  12491. "dstexchangecode": {
  12492. "description": "目标期货交易所",
  12493. "type": "string"
  12494. },
  12495. "dstname": {
  12496. "description": "目标品种名称",
  12497. "type": "string"
  12498. },
  12499. "dstunitid": {
  12500. "description": "目标品种单位ID",
  12501. "type": "integer"
  12502. },
  12503. "dstunitidname": {
  12504. "description": "目标品种单位名称",
  12505. "type": "string"
  12506. },
  12507. "modifytime": {
  12508. "description": "修改时间",
  12509. "type": "string"
  12510. },
  12511. "srccode": {
  12512. "description": "源品种代码",
  12513. "type": "string"
  12514. },
  12515. "srcexchangecode": {
  12516. "description": "源期货交易所",
  12517. "type": "string"
  12518. },
  12519. "srcgoodsgroupid": {
  12520. "description": "源品种ID",
  12521. "type": "integer"
  12522. },
  12523. "srcname": {
  12524. "description": "源品种名称",
  12525. "type": "string"
  12526. },
  12527. "srcunitid": {
  12528. "description": "源品种单位ID",
  12529. "type": "integer"
  12530. },
  12531. "srcunitidname": {
  12532. "description": "源品种单位名称",
  12533. "type": "string"
  12534. }
  12535. }
  12536. },
  12537. "models.ErmcpGoodsBrand": {
  12538. "type": "object",
  12539. "properties": {
  12540. "areauserid": {
  12541. "description": "所属机构",
  12542. "type": "integer"
  12543. },
  12544. "brandid": {
  12545. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  12546. "type": "integer"
  12547. },
  12548. "brandname": {
  12549. "description": "品牌名称",
  12550. "type": "string"
  12551. },
  12552. "createtime": {
  12553. "description": "创建时间",
  12554. "type": "string"
  12555. },
  12556. "creatorid": {
  12557. "description": "创建人",
  12558. "type": "integer"
  12559. },
  12560. "creatorsrc": {
  12561. "description": "创建人来源 - 1:管理端 2:终端",
  12562. "type": "integer"
  12563. },
  12564. "deliverygoodsid": {
  12565. "description": "现货品种ID",
  12566. "type": "integer"
  12567. },
  12568. "isvalid": {
  12569. "description": "是否有效 - 0:无效 1:有效",
  12570. "type": "integer"
  12571. },
  12572. "updatetime": {
  12573. "description": "更新时间",
  12574. "type": "string"
  12575. },
  12576. "updatorid": {
  12577. "description": "更新人",
  12578. "type": "integer"
  12579. },
  12580. "updatorsrc": {
  12581. "description": "更新人来源 - 1:管理端 2:终端",
  12582. "type": "integer"
  12583. },
  12584. "wrstandardid": {
  12585. "description": "现货商品ID",
  12586. "type": "integer"
  12587. }
  12588. }
  12589. },
  12590. "models.ErmcpGoodsModel": {
  12591. "type": "object",
  12592. "properties": {
  12593. "areauserid": {
  12594. "description": "所属机构",
  12595. "type": "integer"
  12596. },
  12597. "convertfactor": {
  12598. "description": "标仓系数",
  12599. "type": "number"
  12600. },
  12601. "createtime": {
  12602. "description": "创建时间",
  12603. "type": "string"
  12604. },
  12605. "creatorid": {
  12606. "description": "创建人",
  12607. "type": "integer"
  12608. },
  12609. "creatorsrc": {
  12610. "description": "创建人来源 - 1:管理端 2:终端",
  12611. "type": "integer"
  12612. },
  12613. "deliverygoodsid": {
  12614. "description": "现货品种ID",
  12615. "type": "integer"
  12616. },
  12617. "isvalid": {
  12618. "description": "是否有效 - 0:无效 1:有效",
  12619. "type": "integer"
  12620. },
  12621. "modelid": {
  12622. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  12623. "type": "integer"
  12624. },
  12625. "modelname": {
  12626. "description": "型号名称",
  12627. "type": "string"
  12628. },
  12629. "updatetime": {
  12630. "description": "更新时间",
  12631. "type": "string"
  12632. },
  12633. "updatorid": {
  12634. "description": "更新人",
  12635. "type": "integer"
  12636. },
  12637. "updatorsrc": {
  12638. "description": "更新人来源 - 1:管理端 2:终端",
  12639. "type": "integer"
  12640. },
  12641. "wrstandardid": {
  12642. "description": "现货商品ID",
  12643. "type": "integer"
  12644. }
  12645. }
  12646. },
  12647. "models.ErmcpHedgePlan": {
  12648. "type": "object",
  12649. "properties": {
  12650. "areauserid": {
  12651. "description": "用户ID",
  12652. "type": "integer"
  12653. },
  12654. "audittime": {
  12655. "description": "审核时间",
  12656. "type": "string"
  12657. },
  12658. "contracttype": {
  12659. "description": "计划类型 - 1:采购 -1:销售",
  12660. "type": "integer"
  12661. },
  12662. "convertfactor": {
  12663. "description": "标仓系数",
  12664. "type": "number"
  12665. },
  12666. "createtime": {
  12667. "description": "创建时间",
  12668. "type": "string"
  12669. },
  12670. "deliverygoodsid": {
  12671. "description": "现货品种ID",
  12672. "type": "integer"
  12673. },
  12674. "deliverygoodsname": {
  12675. "description": "现货品种名称",
  12676. "type": "string"
  12677. },
  12678. "enumdicname": {
  12679. "description": "单位名称",
  12680. "type": "string"
  12681. },
  12682. "hedgeplanid": {
  12683. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12684. "type": "string"
  12685. },
  12686. "hedgeplanno": {
  12687. "description": "套保计划编号(名称)",
  12688. "type": "string"
  12689. },
  12690. "hedgeplanstatus": {
  12691. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12692. "type": "integer"
  12693. },
  12694. "planqty": {
  12695. "description": "计划数量",
  12696. "type": "number"
  12697. },
  12698. "plantime": {
  12699. "description": "计划时间",
  12700. "type": "string"
  12701. },
  12702. "producttype": {
  12703. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12704. "type": "integer"
  12705. },
  12706. "remark": {
  12707. "description": "备注",
  12708. "type": "string"
  12709. },
  12710. "spotgoodsdesc": {
  12711. "description": "商品型号",
  12712. "type": "string"
  12713. },
  12714. "unitid": {
  12715. "description": "单位id",
  12716. "type": "integer"
  12717. },
  12718. "updatetime": {
  12719. "description": "更新时间",
  12720. "type": "string"
  12721. },
  12722. "wrstandardid": {
  12723. "description": "现货商品ID",
  12724. "type": "integer"
  12725. },
  12726. "wrstandardname": {
  12727. "description": "现货商品名称",
  12728. "type": "string"
  12729. }
  12730. }
  12731. },
  12732. "models.ErmcpHedgePosition": {
  12733. "type": "object",
  12734. "properties": {
  12735. "accountid": {
  12736. "description": "资金账号[外部母账户]",
  12737. "type": "integer"
  12738. },
  12739. "curbuyposition": {
  12740. "description": "期末买头寸",
  12741. "type": "integer"
  12742. },
  12743. "cursellposition": {
  12744. "description": "期末卖头寸",
  12745. "type": "integer"
  12746. },
  12747. "curtdbuyposition": {
  12748. "description": "期末今日买头寸",
  12749. "type": "integer"
  12750. },
  12751. "curtdsellposition": {
  12752. "description": "期末今日卖头寸",
  12753. "type": "integer"
  12754. },
  12755. "curydbuyposition": {
  12756. "description": "期末上日买头寸",
  12757. "type": "integer"
  12758. },
  12759. "curydsellposition": {
  12760. "description": "期末上日卖头寸",
  12761. "type": "integer"
  12762. },
  12763. "decreaseqty": {
  12764. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  12765. "type": "integer"
  12766. },
  12767. "fretdbuyposition": {
  12768. "description": "冻结今日买头寸",
  12769. "type": "integer"
  12770. },
  12771. "fretdsellposition": {
  12772. "description": "冻结今日卖头寸",
  12773. "type": "integer"
  12774. },
  12775. "freydbuyposition": {
  12776. "description": "冻结上日买头寸",
  12777. "type": "integer"
  12778. },
  12779. "freydsellposition": {
  12780. "description": "冻结上日卖头寸",
  12781. "type": "integer"
  12782. },
  12783. "goodscode": {
  12784. "description": "商品代码",
  12785. "type": "string"
  12786. },
  12787. "goodsid": {
  12788. "description": "商品id",
  12789. "type": "integer"
  12790. },
  12791. "goodsname": {
  12792. "description": "商品名称",
  12793. "type": "string"
  12794. },
  12795. "hedgeaccountcode": {
  12796. "description": "对冲账号",
  12797. "type": "string"
  12798. },
  12799. "hedgegoodsid": {
  12800. "description": "对冲合约ID",
  12801. "type": "integer"
  12802. },
  12803. "increaseqty": {
  12804. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  12805. "type": "integer"
  12806. },
  12807. "marketid": {
  12808. "description": "市场ID",
  12809. "type": "integer"
  12810. },
  12811. "relateduserid": {
  12812. "description": "关联用户id",
  12813. "type": "integer"
  12814. },
  12815. "totalcurqty": {
  12816. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  12817. "type": "integer"
  12818. },
  12819. "totalydqty": {
  12820. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  12821. "type": "integer"
  12822. },
  12823. "tradedate": {
  12824. "description": "交易日(yyyyMMdd)",
  12825. "type": "string"
  12826. },
  12827. "ydbuyposition": {
  12828. "description": "期初买头寸",
  12829. "type": "integer"
  12830. },
  12831. "ydsellposition": {
  12832. "description": "期初卖头寸",
  12833. "type": "integer"
  12834. }
  12835. }
  12836. },
  12837. "models.ErmcpHedgePositionDetail": {
  12838. "type": "object",
  12839. "properties": {
  12840. "buyorsell": {
  12841. "description": "买卖方向 0-买 1-卖",
  12842. "type": "integer"
  12843. },
  12844. "channelbuildtype": {
  12845. "description": "开平方向 1-建仓 2-平仓",
  12846. "type": "integer"
  12847. },
  12848. "goodscode": {
  12849. "description": "商品代码",
  12850. "type": "string"
  12851. },
  12852. "goodsname": {
  12853. "description": "商品名称",
  12854. "type": "string"
  12855. },
  12856. "hedgegoodsid": {
  12857. "description": "商品id",
  12858. "type": "integer"
  12859. },
  12860. "tradeqty": {
  12861. "description": "数量(成交数量)",
  12862. "type": "integer"
  12863. },
  12864. "tradetime": {
  12865. "description": "时间(成交时间)",
  12866. "type": "string"
  12867. }
  12868. }
  12869. },
  12870. "models.ErmcpHisExposure": {
  12871. "type": "object",
  12872. "properties": {
  12873. "needhedgeexposoure": {
  12874. "description": "应套保敞口",
  12875. "type": "number"
  12876. },
  12877. "reckondate": {
  12878. "description": "日照时期(yyyyMMdd)",
  12879. "type": "string"
  12880. },
  12881. "totalexposure": {
  12882. "description": "总敞口",
  12883. "type": "number"
  12884. }
  12885. }
  12886. },
  12887. "models.ErmcpHisExposureS": {
  12888. "type": "object",
  12889. "properties": {
  12890. "data": {
  12891. "description": "历史敞口",
  12892. "type": "array",
  12893. "items": {
  12894. "$ref": "#/definitions/models.ErmcpHisExposure"
  12895. }
  12896. },
  12897. "enumdicname": {
  12898. "description": "单位名称",
  12899. "type": "string"
  12900. },
  12901. "middlegoodscode": {
  12902. "description": "套保品种代码",
  12903. "type": "string"
  12904. },
  12905. "middlegoodsid": {
  12906. "description": "套保品种ID",
  12907. "type": "integer"
  12908. },
  12909. "middlegoodsname": {
  12910. "description": "套保品种名称",
  12911. "type": "string"
  12912. }
  12913. }
  12914. },
  12915. "models.ErmcpLoginUser": {
  12916. "type": "object",
  12917. "properties": {
  12918. "accountname": {
  12919. "description": "用户名称",
  12920. "type": "string"
  12921. },
  12922. "clientroleid": {
  12923. "description": "角色id(usertype=2)",
  12924. "type": "integer"
  12925. },
  12926. "createtime": {
  12927. "description": "创建时间",
  12928. "type": "string"
  12929. },
  12930. "loginstatus": {
  12931. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  12932. "type": "integer"
  12933. },
  12934. "memberuserid": {
  12935. "description": "所属会员id",
  12936. "type": "integer"
  12937. },
  12938. "modifytime": {
  12939. "description": "修改时间",
  12940. "type": "string"
  12941. },
  12942. "rolename": {
  12943. "description": "角色名称",
  12944. "type": "string"
  12945. },
  12946. "rolestatus": {
  12947. "description": "角色状态 1-启用 2-停用",
  12948. "type": "integer"
  12949. },
  12950. "roletype": {
  12951. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  12952. "type": "string"
  12953. },
  12954. "userid": {
  12955. "description": "用户id",
  12956. "type": "integer"
  12957. },
  12958. "usertype": {
  12959. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  12960. "type": "integer"
  12961. }
  12962. }
  12963. },
  12964. "models.ErmcpLoginUserEx": {
  12965. "type": "object",
  12966. "properties": {
  12967. "rolename": {
  12968. "description": "角色名称",
  12969. "type": "string"
  12970. },
  12971. "userlist": {
  12972. "description": "用户列表",
  12973. "type": "array",
  12974. "items": {
  12975. "$ref": "#/definitions/models.ErmcpLoginUser"
  12976. }
  12977. },
  12978. "usertype": {
  12979. "description": "用户类型 2-机构 7-企业成员(云平台)",
  12980. "type": "integer"
  12981. }
  12982. }
  12983. },
  12984. "models.ErmcpMiddleGoodsChangeLog": {
  12985. "type": "object",
  12986. "properties": {
  12987. "aftervalue": {
  12988. "description": "变更后",
  12989. "type": "number"
  12990. },
  12991. "applyid": {
  12992. "description": "操作人",
  12993. "type": "integer"
  12994. },
  12995. "applyname": {
  12996. "description": "操作人名称",
  12997. "type": "string"
  12998. },
  12999. "applysrc": {
  13000. "description": "操作来源 - 1:管理端 2:终端",
  13001. "type": "integer"
  13002. },
  13003. "beforevalue": {
  13004. "description": "变更前",
  13005. "type": "number"
  13006. },
  13007. "changelogtype": {
  13008. "description": "变更流水类型 - 1:套保比率变更",
  13009. "type": "integer"
  13010. },
  13011. "handlestatus": {
  13012. "description": "处理状态",
  13013. "type": "integer"
  13014. },
  13015. "logdatetime": {
  13016. "description": "流水日期",
  13017. "type": "string"
  13018. },
  13019. "logid": {
  13020. "description": "流水ID",
  13021. "type": "integer"
  13022. },
  13023. "logremark": {
  13024. "description": "流水备注",
  13025. "type": "string"
  13026. },
  13027. "middlegoodsid": {
  13028. "description": "套保品种ID",
  13029. "type": "integer"
  13030. },
  13031. "tradedate": {
  13032. "description": "交易日(yyyyMMdd)",
  13033. "type": "string"
  13034. },
  13035. "updatetime": {
  13036. "description": "更新时间",
  13037. "type": "string"
  13038. }
  13039. }
  13040. },
  13041. "models.ErmcpMiddleGoodsDetail": {
  13042. "type": "object",
  13043. "properties": {
  13044. "cvList": {
  13045. "description": "期货品种折算列表",
  13046. "type": "array",
  13047. "items": {
  13048. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13049. }
  13050. },
  13051. "mg": {
  13052. "description": "套保品种基本信息",
  13053. "type": "object",
  13054. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13055. },
  13056. "wrcList": {
  13057. "description": "现货品种列表(现货商品折算配置)",
  13058. "type": "array",
  13059. "items": {
  13060. "$ref": "#/definitions/models.WRSConverTDetail"
  13061. }
  13062. }
  13063. }
  13064. },
  13065. "models.ErmcpMiddleGoodsModel": {
  13066. "type": "object",
  13067. "properties": {
  13068. "areauserid": {
  13069. "description": "机构用户ID",
  13070. "type": "integer"
  13071. },
  13072. "createtime": {
  13073. "description": "修改时间",
  13074. "type": "string"
  13075. },
  13076. "enumdicname": {
  13077. "description": "单位名称",
  13078. "type": "string"
  13079. },
  13080. "evaluateratio": {
  13081. "description": "估价系数",
  13082. "type": "number"
  13083. },
  13084. "goodsgroupid": {
  13085. "description": "关联期货品种ID",
  13086. "type": "integer"
  13087. },
  13088. "isvalid": {
  13089. "description": "状态 0-无效(停用) 1-有效(正常)",
  13090. "type": "integer"
  13091. },
  13092. "middlegoodscode": {
  13093. "description": "套保品种代码",
  13094. "type": "string"
  13095. },
  13096. "middlegoodsid": {
  13097. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13098. "type": "integer"
  13099. },
  13100. "middlegoodsname": {
  13101. "description": "套保品种名称",
  13102. "type": "string"
  13103. },
  13104. "modifytime": {
  13105. "description": "修改时间",
  13106. "type": "string"
  13107. },
  13108. "needhedgeratio": {
  13109. "description": "套保比率",
  13110. "type": "number"
  13111. },
  13112. "qtydecimalplace": {
  13113. "description": "数量小数位",
  13114. "type": "integer"
  13115. },
  13116. "relatedgoodsid": {
  13117. "description": "关联交易商品ID",
  13118. "type": "integer"
  13119. },
  13120. "relatedgoodstype": {
  13121. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13122. "type": "integer"
  13123. },
  13124. "remark": {
  13125. "description": "备注",
  13126. "type": "string"
  13127. }
  13128. }
  13129. },
  13130. "models.ErmcpModel": {
  13131. "type": "object",
  13132. "properties": {
  13133. "accountname": {
  13134. "description": "账户名称",
  13135. "type": "string"
  13136. },
  13137. "attachment": {
  13138. "description": "附件",
  13139. "type": "string"
  13140. },
  13141. "audittime": {
  13142. "description": "审核时间",
  13143. "type": "string"
  13144. },
  13145. "brandname": {
  13146. "description": "品牌名称",
  13147. "type": "string"
  13148. },
  13149. "contracctstatus": {
  13150. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13151. "type": "integer"
  13152. },
  13153. "contractmargin": {
  13154. "description": "合同保证金",
  13155. "type": "number"
  13156. },
  13157. "contractno": {
  13158. "description": "合同编号",
  13159. "type": "string"
  13160. },
  13161. "contracttype": {
  13162. "description": "合同类型 1-采购, -1-销售",
  13163. "type": "integer"
  13164. },
  13165. "convertfactor": {
  13166. "description": "标仓系数",
  13167. "type": "number"
  13168. },
  13169. "createtime": {
  13170. "description": "创建时间",
  13171. "type": "string"
  13172. },
  13173. "daikaiamount": {
  13174. "description": "应收(开)票额",
  13175. "type": "number"
  13176. },
  13177. "deliveryenddate": {
  13178. "description": "交割结束日",
  13179. "type": "string"
  13180. },
  13181. "deliverygoodscode": {
  13182. "description": "现货品种代码",
  13183. "type": "string"
  13184. },
  13185. "deliverygoodsid": {
  13186. "description": "现货商品ID",
  13187. "type": "integer"
  13188. },
  13189. "deliverygoodsname": {
  13190. "description": "现货品种名称",
  13191. "type": "string"
  13192. },
  13193. "deliverystartdate": {
  13194. "description": "交割开始日",
  13195. "type": "string"
  13196. },
  13197. "enddate": {
  13198. "description": "点价结束日",
  13199. "type": "string"
  13200. },
  13201. "enumdicname": {
  13202. "description": "单位名称",
  13203. "type": "string"
  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. "invoiceamount": {
  13218. "description": "已开票额",
  13219. "type": "number"
  13220. },
  13221. "loanamount": {
  13222. "description": "贷款总额=已定价额+调整金额",
  13223. "type": "number"
  13224. },
  13225. "margin": {
  13226. "description": "保证金",
  13227. "type": "number"
  13228. },
  13229. "modelname": {
  13230. "description": "型号名称",
  13231. "type": "string"
  13232. },
  13233. "payamount": {
  13234. "description": "已收付额(收款或付款)",
  13235. "type": "number"
  13236. },
  13237. "preinvoiceamount": {
  13238. "description": "预收(开)票额",
  13239. "type": "number"
  13240. },
  13241. "prepayamount": {
  13242. "description": "预收付额",
  13243. "type": "number"
  13244. },
  13245. "price": {
  13246. "description": "价格",
  13247. "type": "number"
  13248. },
  13249. "pricedamount": {
  13250. "description": "已定价额",
  13251. "type": "number"
  13252. },
  13253. "pricedavg": {
  13254. "description": "已点均价",
  13255. "type": "number"
  13256. },
  13257. "pricedqty": {
  13258. "description": "已定价量",
  13259. "type": "number"
  13260. },
  13261. "pricemove": {
  13262. "description": "升贴水",
  13263. "type": "number"
  13264. },
  13265. "pricetype": {
  13266. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13267. "type": "integer"
  13268. },
  13269. "producttype": {
  13270. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13271. "type": "integer"
  13272. },
  13273. "qty": {
  13274. "description": "合同量",
  13275. "type": "number"
  13276. },
  13277. "reckonadjustamount": {
  13278. "description": "调整金额",
  13279. "type": "number"
  13280. },
  13281. "reckonedamount": {
  13282. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13283. "type": "number"
  13284. },
  13285. "reckonotheramount": {
  13286. "description": "其它费用",
  13287. "type": "number"
  13288. },
  13289. "reckonrealqty": {
  13290. "description": "已确定量",
  13291. "type": "number"
  13292. },
  13293. "remark": {
  13294. "description": "备注",
  13295. "type": "string"
  13296. },
  13297. "spotcontractid": {
  13298. "description": "合同ID",
  13299. "type": "string"
  13300. },
  13301. "spotgoodsbrandid": {
  13302. "description": "现货品牌ID",
  13303. "type": "integer"
  13304. },
  13305. "spotgoodsdesc": {
  13306. "description": "商品型号(商品规格)",
  13307. "type": "string"
  13308. },
  13309. "spotgoodsmodelid": {
  13310. "description": "现货型号ID",
  13311. "type": "integer"
  13312. },
  13313. "startdate": {
  13314. "description": "点价开始日",
  13315. "type": "string"
  13316. },
  13317. "totalamount": {
  13318. "description": "合计总额",
  13319. "type": "number"
  13320. },
  13321. "unpayamount": {
  13322. "description": "应收付款额(应支付或应收款)",
  13323. "type": "number"
  13324. },
  13325. "unpricedqty": {
  13326. "description": "未定价量",
  13327. "type": "number"
  13328. },
  13329. "unsureqty": {
  13330. "description": "未确定量",
  13331. "type": "number"
  13332. },
  13333. "userid": {
  13334. "description": "用户ID",
  13335. "type": "integer"
  13336. },
  13337. "wrstandardcode": {
  13338. "description": "现货商品代码",
  13339. "type": "string"
  13340. },
  13341. "wrstandardid": {
  13342. "description": "现货商品ID",
  13343. "type": "integer"
  13344. },
  13345. "wrstandardname": {
  13346. "description": "现货商品名称",
  13347. "type": "string"
  13348. }
  13349. }
  13350. },
  13351. "models.ErmcpOPLogModel": {
  13352. "type": "object",
  13353. "properties": {
  13354. "aftervalue": {
  13355. "description": "变更后",
  13356. "type": "number"
  13357. },
  13358. "applyid": {
  13359. "description": "操作人ID",
  13360. "type": "string"
  13361. },
  13362. "applyname": {
  13363. "description": "操作人名称",
  13364. "type": "string"
  13365. },
  13366. "beforevalue": {
  13367. "description": "变更前",
  13368. "type": "number"
  13369. },
  13370. "biztype": {
  13371. "description": "业务类型 - 1:套保计划 2:现货合同",
  13372. "type": "integer"
  13373. },
  13374. "contracttype": {
  13375. "description": "现货合同类型 - 1:采购 -1:销售",
  13376. "type": "integer"
  13377. },
  13378. "logvalue": {
  13379. "description": "数值",
  13380. "type": "number"
  13381. },
  13382. "operatelogtype": {
  13383. "description": "操作流水类型",
  13384. "type": "integer"
  13385. },
  13386. "operatelogtypedesc": {
  13387. "description": "操作流水类型名称",
  13388. "type": "string"
  13389. },
  13390. "relatedid": {
  13391. "description": "现货合同ID\\套保计划",
  13392. "type": "string"
  13393. },
  13394. "updatetime": {
  13395. "description": "更新时间",
  13396. "type": "string"
  13397. }
  13398. }
  13399. },
  13400. "models.ErmcpPendingAudit": {
  13401. "type": "object",
  13402. "properties": {
  13403. "areastockqty": {
  13404. "description": "待审核数量: 库存申请",
  13405. "type": "integer"
  13406. },
  13407. "businessdjqty": {
  13408. "description": "待审核数量: 点价",
  13409. "type": "integer"
  13410. },
  13411. "businessfpqty": {
  13412. "description": "待审核数量: 发票",
  13413. "type": "integer"
  13414. },
  13415. "businessjsqty": {
  13416. "description": "待审核数量: 结算",
  13417. "type": "integer"
  13418. },
  13419. "businesskxqty": {
  13420. "description": "待审核数量: 款项",
  13421. "type": "integer"
  13422. },
  13423. "hedgeplanqty": {
  13424. "description": "待审核数量: 套保计划",
  13425. "type": "integer"
  13426. },
  13427. "spotcontractqty": {
  13428. "description": "待审核数量: 现货合同",
  13429. "type": "integer"
  13430. },
  13431. "userqty": {
  13432. "description": "待审核数量: 用户",
  13433. "type": "integer"
  13434. }
  13435. }
  13436. },
  13437. "models.ErmcpRealExposureModel": {
  13438. "type": "object",
  13439. "properties": {
  13440. "AreaUserID": {
  13441. "description": "所属机构",
  13442. "type": "integer"
  13443. },
  13444. "BuyFutureQty": {
  13445. "description": "买入期货数量",
  13446. "type": "number"
  13447. },
  13448. "BuyPlanQty": {
  13449. "description": "采购计划数量",
  13450. "type": "number"
  13451. },
  13452. "BuyPricedQty": {
  13453. "description": "采购合同已定价数量",
  13454. "type": "number"
  13455. },
  13456. "MiddleGoodsCode": {
  13457. "description": "套保品种代码",
  13458. "type": "string"
  13459. },
  13460. "MiddleGoodsHedgeRatio": {
  13461. "description": "应套保比例",
  13462. "type": "number"
  13463. },
  13464. "MiddleGoodsID": {
  13465. "description": "套保品种",
  13466. "type": "integer"
  13467. },
  13468. "MiddleGoodsName": {
  13469. "description": "套保品种名称",
  13470. "type": "string"
  13471. },
  13472. "NeedHedgeExposoure": {
  13473. "description": "应套保敞口",
  13474. "type": "number"
  13475. },
  13476. "NeedHedgeRatio": {
  13477. "description": "应套保敞口比例",
  13478. "type": "number"
  13479. },
  13480. "OriBuyFutureQty": {
  13481. "description": "期初买入期货数量",
  13482. "type": "number"
  13483. },
  13484. "OriBuyPlanQty": {
  13485. "description": "期初采购计划数量",
  13486. "type": "number"
  13487. },
  13488. "OriBuyPricedQty": {
  13489. "description": "期初采购合同已定价数量",
  13490. "type": "number"
  13491. },
  13492. "OriSellFutureQty": {
  13493. "description": "期初卖出期货数量",
  13494. "type": "number"
  13495. },
  13496. "OriSellPlanQty": {
  13497. "description": "期初销售计划数量",
  13498. "type": "number"
  13499. },
  13500. "OriSellPricedQty": {
  13501. "description": "期初销售合同已定价数量",
  13502. "type": "number"
  13503. },
  13504. "SellFutureQty": {
  13505. "description": "卖出期货数量",
  13506. "type": "number"
  13507. },
  13508. "SellPlanQty": {
  13509. "description": "销售计划数量",
  13510. "type": "number"
  13511. },
  13512. "SellPricedQty": {
  13513. "description": "销售合同已定价数量",
  13514. "type": "number"
  13515. },
  13516. "TotalExposure": {
  13517. "description": "总敞口",
  13518. "type": "number"
  13519. },
  13520. "TotalFutureQty": {
  13521. "description": "期货数量",
  13522. "type": "number"
  13523. },
  13524. "TotalHedgeRatio": {
  13525. "description": "敞口比例",
  13526. "type": "number"
  13527. },
  13528. "TotalNeedHedgeQty": {
  13529. "description": "期货应套保量",
  13530. "type": "number"
  13531. },
  13532. "TotalSpotQty": {
  13533. "description": "现货数量",
  13534. "type": "number"
  13535. },
  13536. "diffFutuQty": {
  13537. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13538. "type": "number"
  13539. },
  13540. "diffSpotQty": {
  13541. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13542. "type": "number"
  13543. },
  13544. "enumdicname": {
  13545. "description": "单位名称",
  13546. "type": "string"
  13547. },
  13548. "oriTotalFutuQty": {
  13549. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13550. "type": "number"
  13551. },
  13552. "oriTotalSpotQty": {
  13553. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13554. "type": "number"
  13555. }
  13556. }
  13557. },
  13558. "models.ErmcpReportAreaSpotPL": {
  13559. "type": "object",
  13560. "properties": {
  13561. "actualpl": {
  13562. "description": "实际损益",
  13563. "type": "number"
  13564. },
  13565. "areauserid": {
  13566. "description": "所属机构",
  13567. "type": "integer"
  13568. },
  13569. "brandname": {
  13570. "description": "品牌名称",
  13571. "type": "string"
  13572. },
  13573. "curamount": {
  13574. "description": "期末额",
  13575. "type": "number"
  13576. },
  13577. "curaverageprice": {
  13578. "description": "期末均价",
  13579. "type": "number"
  13580. },
  13581. "curbuyamount": {
  13582. "description": "期末采购总额(采购额)",
  13583. "type": "number"
  13584. },
  13585. "curbuyqty": {
  13586. "description": "期末采购总量",
  13587. "type": "number"
  13588. },
  13589. "curmarketvalue": {
  13590. "description": "参考市值",
  13591. "type": "number"
  13592. },
  13593. "curqty": {
  13594. "description": "期末量",
  13595. "type": "number"
  13596. },
  13597. "cursellamount": {
  13598. "description": "期末销售总额(销售额)",
  13599. "type": "number"
  13600. },
  13601. "cursellqty": {
  13602. "description": "期末销售总量",
  13603. "type": "number"
  13604. },
  13605. "curspotprice": {
  13606. "description": "参考市价",
  13607. "type": "number"
  13608. },
  13609. "enumdicname": {
  13610. "description": "现货商品单位名称",
  13611. "type": "string"
  13612. },
  13613. "floatpl": {
  13614. "description": "浮动损益",
  13615. "type": "number"
  13616. },
  13617. "gbenumdicname": {
  13618. "description": "品类单位名称",
  13619. "type": "string"
  13620. },
  13621. "gbunitid": {
  13622. "description": "品类单位id",
  13623. "type": "integer"
  13624. },
  13625. "modelname": {
  13626. "description": "品类名称",
  13627. "type": "string"
  13628. },
  13629. "oriamount": {
  13630. "description": "期初额",
  13631. "type": "number"
  13632. },
  13633. "oriaverageprice": {
  13634. "description": "期初均价",
  13635. "type": "number"
  13636. },
  13637. "oribuyamount": {
  13638. "description": "期初采购总额",
  13639. "type": "number"
  13640. },
  13641. "oribuyqty": {
  13642. "description": "期初采购总量",
  13643. "type": "number"
  13644. },
  13645. "oriqty": {
  13646. "description": "期初量",
  13647. "type": "number"
  13648. },
  13649. "orisellamount": {
  13650. "description": "期初销售总额",
  13651. "type": "number"
  13652. },
  13653. "orisellqty": {
  13654. "description": "期初销售总量",
  13655. "type": "number"
  13656. },
  13657. "spotgoodsbrandid": {
  13658. "description": "现货品牌ID",
  13659. "type": "integer"
  13660. },
  13661. "spotgoodsmodelid": {
  13662. "description": "现货品类ID",
  13663. "type": "integer"
  13664. },
  13665. "todaybuyamount": {
  13666. "description": "今日采购额",
  13667. "type": "number"
  13668. },
  13669. "todaybuyaverageprice": {
  13670. "description": "今日采购均价(采购均价)",
  13671. "type": "number"
  13672. },
  13673. "todaybuyqty": {
  13674. "description": "今日采购量(采购增量)",
  13675. "type": "number"
  13676. },
  13677. "todaysellamount": {
  13678. "description": "今日销售额",
  13679. "type": "number"
  13680. },
  13681. "todaysellaverageprice": {
  13682. "description": "今日销售均价(销售均价)",
  13683. "type": "number"
  13684. },
  13685. "todaysellqty": {
  13686. "description": "今日销售量(销售增量)",
  13687. "type": "number"
  13688. },
  13689. "unitid": {
  13690. "description": "现货商品单位id",
  13691. "type": "integer"
  13692. },
  13693. "updatetime": {
  13694. "description": "更新时间",
  13695. "type": "string"
  13696. },
  13697. "wrstandardcode": {
  13698. "description": "现货商品代码",
  13699. "type": "string"
  13700. },
  13701. "wrstandardid": {
  13702. "description": "现货商品ID",
  13703. "type": "integer"
  13704. },
  13705. "wrstandardname": {
  13706. "description": "现货商品名称",
  13707. "type": "string"
  13708. }
  13709. }
  13710. },
  13711. "models.ErmcpReportDayExposure": {
  13712. "type": "object",
  13713. "properties": {
  13714. "areauserid": {
  13715. "description": "所属机构",
  13716. "type": "integer"
  13717. },
  13718. "buyfutureqty": {
  13719. "description": "买入期货数量",
  13720. "type": "number"
  13721. },
  13722. "buyplanqty": {
  13723. "description": "采购计划数量",
  13724. "type": "number"
  13725. },
  13726. "buypricedqty": {
  13727. "description": "采购合同已定价数量",
  13728. "type": "number"
  13729. },
  13730. "diffFutuQty": {
  13731. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13732. "type": "number"
  13733. },
  13734. "diffSpotQty": {
  13735. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13736. "type": "number"
  13737. },
  13738. "enumdicname": {
  13739. "description": "单位名称",
  13740. "type": "string"
  13741. },
  13742. "middlegoodscode": {
  13743. "description": "套保品种代码",
  13744. "type": "string"
  13745. },
  13746. "middlegoodshedgeratio": {
  13747. "description": "应套保比例",
  13748. "type": "number"
  13749. },
  13750. "middlegoodsid": {
  13751. "description": "套保品种ID",
  13752. "type": "integer"
  13753. },
  13754. "middlegoodsname": {
  13755. "description": "套保品种名称",
  13756. "type": "string"
  13757. },
  13758. "needhedgeexposoure": {
  13759. "description": "应套保敞口",
  13760. "type": "number"
  13761. },
  13762. "needhedgeratio": {
  13763. "description": "应套保敞口比例",
  13764. "type": "number"
  13765. },
  13766. "oriTotalFutuQty": {
  13767. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13768. "type": "number"
  13769. },
  13770. "oriTotalSpotQty": {
  13771. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13772. "type": "number"
  13773. },
  13774. "oribuyfutureqty": {
  13775. "description": "期初买入期货数量",
  13776. "type": "number"
  13777. },
  13778. "oribuyplanqty": {
  13779. "description": "期初采购计划数量",
  13780. "type": "number"
  13781. },
  13782. "oribuypricedqty": {
  13783. "description": "期初采购合同已定价数量",
  13784. "type": "number"
  13785. },
  13786. "orisellfutureqty": {
  13787. "description": "期初卖出期货数量",
  13788. "type": "number"
  13789. },
  13790. "orisellplanqty": {
  13791. "description": "期初销售计划数量",
  13792. "type": "number"
  13793. },
  13794. "orisellpricedqty": {
  13795. "description": "期初销售合同已定价数量",
  13796. "type": "number"
  13797. },
  13798. "reckondate": {
  13799. "description": "日照时期(yyyyMMdd)",
  13800. "type": "string"
  13801. },
  13802. "sellfutureqty": {
  13803. "description": "卖出期货数量",
  13804. "type": "number"
  13805. },
  13806. "sellplanqty": {
  13807. "description": "销售计划数量",
  13808. "type": "number"
  13809. },
  13810. "sellpricedqty": {
  13811. "description": "销售合同已定价数量",
  13812. "type": "number"
  13813. },
  13814. "totalexposure": {
  13815. "description": "总敞口",
  13816. "type": "number"
  13817. },
  13818. "totalfutureqty": {
  13819. "description": "期货数量",
  13820. "type": "number"
  13821. },
  13822. "totalhedgeratio": {
  13823. "description": "敞口比例",
  13824. "type": "number"
  13825. },
  13826. "totalneedhedgeqty": {
  13827. "description": "期货应套保量",
  13828. "type": "number"
  13829. },
  13830. "totalspotqty": {
  13831. "description": "现货数量",
  13832. "type": "number"
  13833. }
  13834. }
  13835. },
  13836. "models.ErmcpReportDayFR": {
  13837. "type": "object",
  13838. "properties": {
  13839. "areauserid": {
  13840. "description": "所属机构",
  13841. "type": "integer"
  13842. },
  13843. "collectinvoiceamount": {
  13844. "description": "今日开票金额",
  13845. "type": "number"
  13846. },
  13847. "collectinvoicecount": {
  13848. "description": "今日开票笔数",
  13849. "type": "integer"
  13850. },
  13851. "collectmoneyamount": {
  13852. "description": "今日收款金额",
  13853. "type": "number"
  13854. },
  13855. "collectmoneycount": {
  13856. "description": "今日收款笔数",
  13857. "type": "integer"
  13858. },
  13859. "payinvoiceamount": {
  13860. "description": "今日收票金额",
  13861. "type": "number"
  13862. },
  13863. "payinvoicecount": {
  13864. "description": "今日收票笔数",
  13865. "type": "integer"
  13866. },
  13867. "paymoneyamount": {
  13868. "description": "今日付款金额",
  13869. "type": "number"
  13870. },
  13871. "paymoneycount": {
  13872. "description": "今日付款笔数",
  13873. "type": "integer"
  13874. },
  13875. "reckondate": {
  13876. "description": "日照时期(yyyyMMdd)",
  13877. "type": "string"
  13878. },
  13879. "updatetime": {
  13880. "description": "更新时间",
  13881. "type": "string"
  13882. }
  13883. }
  13884. },
  13885. "models.ErmcpReportDaySpot": {
  13886. "type": "object",
  13887. "properties": {
  13888. "areauserid": {
  13889. "description": "所属机构T",
  13890. "type": "integer"
  13891. },
  13892. "buyinqty": {
  13893. "description": "采购入库量",
  13894. "type": "number"
  13895. },
  13896. "enumdicname": {
  13897. "description": "现货商品单位名称",
  13898. "type": "string"
  13899. },
  13900. "reckondate": {
  13901. "description": "日照时期(yyyyMMdd)",
  13902. "type": "string"
  13903. },
  13904. "selloutqty": {
  13905. "description": "销售出库量",
  13906. "type": "number"
  13907. },
  13908. "todaybuyreckonqty": {
  13909. "description": "采购确定量",
  13910. "type": "number"
  13911. },
  13912. "todaysellreckonqty": {
  13913. "description": "销售确定量",
  13914. "type": "number"
  13915. },
  13916. "totalbuypricedqty": {
  13917. "description": "采购定价量 = 期末 - 期初",
  13918. "type": "number"
  13919. },
  13920. "totalsellpricedqty": {
  13921. "description": "销售定价量 = 期末 - 期初",
  13922. "type": "number"
  13923. },
  13924. "wrstandardcode": {
  13925. "description": "现货商品代码",
  13926. "type": "string"
  13927. },
  13928. "wrstandardid": {
  13929. "description": "现货商品ID",
  13930. "type": "integer"
  13931. },
  13932. "wrstandardname": {
  13933. "description": "现货商品名称",
  13934. "type": "string"
  13935. }
  13936. }
  13937. },
  13938. "models.ErmcpReportMonSpot": {
  13939. "type": "object",
  13940. "properties": {
  13941. "areauserid": {
  13942. "description": "所属机构T",
  13943. "type": "integer"
  13944. },
  13945. "buyinqty": {
  13946. "description": "采购入库量",
  13947. "type": "number"
  13948. },
  13949. "cycletime": {
  13950. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13951. "type": "string"
  13952. },
  13953. "cycletype": {
  13954. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13955. "type": "integer"
  13956. },
  13957. "enumdicname": {
  13958. "description": "现货商品单位名称",
  13959. "type": "string"
  13960. },
  13961. "selloutqty": {
  13962. "description": "销售出库量",
  13963. "type": "number"
  13964. },
  13965. "todaybuyreckonqty": {
  13966. "description": "采购确定量",
  13967. "type": "number"
  13968. },
  13969. "todaysellreckonqty": {
  13970. "description": "销售确定量",
  13971. "type": "number"
  13972. },
  13973. "totalbuypricedqty": {
  13974. "description": "采购定价量 = 期末 - 期初",
  13975. "type": "number"
  13976. },
  13977. "totalsellpricedqty": {
  13978. "description": "销售定价量 = 期末 - 期初",
  13979. "type": "number"
  13980. },
  13981. "wrstandardcode": {
  13982. "description": "现货商品代码",
  13983. "type": "string"
  13984. },
  13985. "wrstandardid": {
  13986. "description": "现货商品ID",
  13987. "type": "integer"
  13988. },
  13989. "wrstandardname": {
  13990. "description": "现货商品名称",
  13991. "type": "string"
  13992. }
  13993. }
  13994. },
  13995. "models.ErmcpReportMonthFR": {
  13996. "type": "object",
  13997. "properties": {
  13998. "areauserid": {
  13999. "description": "所属机构【原值】",
  14000. "type": "integer"
  14001. },
  14002. "collectinvoiceamount": {
  14003. "description": "今日开票金额【汇总】",
  14004. "type": "number"
  14005. },
  14006. "collectinvoicecount": {
  14007. "description": "今日开票笔数【汇总】",
  14008. "type": "integer"
  14009. },
  14010. "collectmoneyamount": {
  14011. "description": "今日收款金额【汇总】",
  14012. "type": "number"
  14013. },
  14014. "collectmoneycount": {
  14015. "description": "今日收款笔数 【汇总】",
  14016. "type": "integer"
  14017. },
  14018. "cycletime": {
  14019. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14020. "type": "string"
  14021. },
  14022. "cycletype": {
  14023. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14024. "type": "integer"
  14025. },
  14026. "dayFr": {
  14027. "description": "日报表明细",
  14028. "type": "array",
  14029. "items": {
  14030. "$ref": "#/definitions/models.ErmcpReportDayFR"
  14031. }
  14032. },
  14033. "payinvoiceamount": {
  14034. "description": "今日收票金额【汇总】",
  14035. "type": "number"
  14036. },
  14037. "payinvoicecount": {
  14038. "description": "今日收票笔数【汇总】",
  14039. "type": "integer"
  14040. },
  14041. "paymoneyamount": {
  14042. "description": "今日付款金额【汇总】",
  14043. "type": "number"
  14044. },
  14045. "paymoneycount": {
  14046. "description": "今日付款笔数【汇总】",
  14047. "type": "integer"
  14048. },
  14049. "updatetime": {
  14050. "description": "更新时间",
  14051. "type": "string"
  14052. }
  14053. }
  14054. },
  14055. "models.ErmcpReportOPLog": {
  14056. "type": "object",
  14057. "properties": {
  14058. "applyid": {
  14059. "description": "操作人",
  14060. "type": "integer"
  14061. },
  14062. "applyname": {
  14063. "description": "操作人名称",
  14064. "type": "string"
  14065. },
  14066. "biztype": {
  14067. "description": "业务类型 - 1:套保计划 2:现货合同",
  14068. "type": "integer"
  14069. },
  14070. "brandname": {
  14071. "description": "品牌名称",
  14072. "type": "string"
  14073. },
  14074. "contracttype": {
  14075. "description": "现货合同类型 - 1:采购 -1:销售",
  14076. "type": "integer"
  14077. },
  14078. "enumdicName": {
  14079. "description": "单位名称",
  14080. "type": "string"
  14081. },
  14082. "logdatetime": {
  14083. "description": "流水日期(时间)",
  14084. "type": "string"
  14085. },
  14086. "logid": {
  14087. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14088. "type": "string"
  14089. },
  14090. "logtypename": {
  14091. "description": "合同类型(名称)",
  14092. "type": "string"
  14093. },
  14094. "logvalue": {
  14095. "description": "数值",
  14096. "type": "string"
  14097. },
  14098. "modelname": {
  14099. "description": "型号名称",
  14100. "type": "string"
  14101. },
  14102. "operatelogtype": {
  14103. "description": "操作流水类型 -",
  14104. "type": "integer"
  14105. },
  14106. "optypename": {
  14107. "description": "流水类型名称",
  14108. "type": "string"
  14109. },
  14110. "relatedid": {
  14111. "description": "现货合同ID\\套保计划",
  14112. "type": "string"
  14113. },
  14114. "relatedno": {
  14115. "description": "合同编号",
  14116. "type": "string"
  14117. },
  14118. "tradedate": {
  14119. "description": "交易日(yyyyMMdd)",
  14120. "type": "string"
  14121. },
  14122. "userid": {
  14123. "description": "机构ID",
  14124. "type": "integer"
  14125. },
  14126. "wrstandardcode": {
  14127. "description": "现货商品代码",
  14128. "type": "string"
  14129. },
  14130. "wrstandardid": {
  14131. "description": "现货商品ID",
  14132. "type": "integer"
  14133. },
  14134. "wrstandardname": {
  14135. "description": "现货商品名称",
  14136. "type": "string"
  14137. }
  14138. }
  14139. },
  14140. "models.ErmcpRole": {
  14141. "type": "object",
  14142. "properties": {
  14143. "areauserid": {
  14144. "description": "所属机构",
  14145. "type": "integer"
  14146. },
  14147. "autoid": {
  14148. "description": "角色ID(自增ID)",
  14149. "type": "integer"
  14150. },
  14151. "modifierid": {
  14152. "description": "修改人(创建人)",
  14153. "type": "integer"
  14154. },
  14155. "modifiername": {
  14156. "description": "修改人名称",
  14157. "type": "string"
  14158. },
  14159. "modifytime": {
  14160. "description": "修改时间(创建时间)",
  14161. "type": "string"
  14162. },
  14163. "rolename": {
  14164. "description": "角色名称",
  14165. "type": "string"
  14166. },
  14167. "rolestatus": {
  14168. "description": "角色状态 - 1:启用 2:停用",
  14169. "type": "integer"
  14170. },
  14171. "roletype": {
  14172. "description": "角色类型 - 1- 管理端 2- 交易端",
  14173. "type": "integer"
  14174. }
  14175. }
  14176. },
  14177. "models.ErmcpRoleMenu": {
  14178. "type": "object",
  14179. "properties": {
  14180. "iconame": {
  14181. "description": "菜单图标",
  14182. "type": "string"
  14183. },
  14184. "menutype": {
  14185. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  14186. "type": "integer"
  14187. },
  14188. "parentcode": {
  14189. "description": "上级资源代码",
  14190. "type": "string"
  14191. },
  14192. "remark": {
  14193. "description": "菜单备注",
  14194. "type": "string"
  14195. },
  14196. "resourcecode": {
  14197. "description": "菜单代码",
  14198. "type": "string"
  14199. },
  14200. "resourcelevel": {
  14201. "description": "级别",
  14202. "type": "integer"
  14203. },
  14204. "resourcename": {
  14205. "description": "菜单名称",
  14206. "type": "string"
  14207. },
  14208. "roleid": {
  14209. "description": "角色id",
  14210. "type": "integer"
  14211. },
  14212. "sort": {
  14213. "description": "排序",
  14214. "type": "integer"
  14215. },
  14216. "url": {
  14217. "description": "URL",
  14218. "type": "string"
  14219. },
  14220. "userid": {
  14221. "description": "用户id",
  14222. "type": "integer"
  14223. }
  14224. }
  14225. },
  14226. "models.ErmcpRoleMenuEx": {
  14227. "type": "object",
  14228. "properties": {
  14229. "menu": {
  14230. "description": "父级菜单",
  14231. "type": "object",
  14232. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14233. },
  14234. "subMenu": {
  14235. "description": "子级菜单",
  14236. "type": "array",
  14237. "items": {
  14238. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14239. }
  14240. }
  14241. }
  14242. },
  14243. "models.ErmcpSpotContractModel": {
  14244. "type": "object",
  14245. "properties": {
  14246. "amount": {
  14247. "description": "金额 [1:一口价、3:暂定价]",
  14248. "type": "number"
  14249. },
  14250. "attachment": {
  14251. "description": "附件",
  14252. "type": "string"
  14253. },
  14254. "auditremark": {
  14255. "description": "审核意见",
  14256. "type": "string"
  14257. },
  14258. "audittime": {
  14259. "description": "审核时间",
  14260. "type": "string"
  14261. },
  14262. "brandname": {
  14263. "description": "品牌名称",
  14264. "type": "string"
  14265. },
  14266. "buyuserid": {
  14267. "description": "采购方ID",
  14268. "type": "integer"
  14269. },
  14270. "buyusername": {
  14271. "description": "采购方名称",
  14272. "type": "string"
  14273. },
  14274. "contracctstatus": {
  14275. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14276. "type": "integer"
  14277. },
  14278. "contractmargin": {
  14279. "description": "合同保证金",
  14280. "type": "number"
  14281. },
  14282. "contractno": {
  14283. "description": "现货合同编号",
  14284. "type": "string"
  14285. },
  14286. "contracttype": {
  14287. "description": "现货合同类型 - 1:采购 -1:销售",
  14288. "type": "integer"
  14289. },
  14290. "convertfactor": {
  14291. "description": "标仓系数",
  14292. "type": "number"
  14293. },
  14294. "createtime": {
  14295. "description": "创建时间",
  14296. "type": "string"
  14297. },
  14298. "deliveryenddate": {
  14299. "description": "交收期(结束)",
  14300. "type": "string"
  14301. },
  14302. "deliverygoodscode": {
  14303. "description": "现货品种代码",
  14304. "type": "string"
  14305. },
  14306. "deliverygoodsid": {
  14307. "description": "现货品种ID",
  14308. "type": "integer"
  14309. },
  14310. "deliverygoodsname": {
  14311. "description": "现货品种名称",
  14312. "type": "string"
  14313. },
  14314. "deliverystartdate": {
  14315. "description": "交收期(开始)",
  14316. "type": "string"
  14317. },
  14318. "enddate": {
  14319. "description": "点价结束日期 [2:点价 3:暂定价]",
  14320. "type": "string"
  14321. },
  14322. "enumdicname": {
  14323. "description": "单位名称",
  14324. "type": "string"
  14325. },
  14326. "goodscode": {
  14327. "description": "点价合约代码",
  14328. "type": "string"
  14329. },
  14330. "goodsid": {
  14331. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14332. "type": "integer"
  14333. },
  14334. "goodsname": {
  14335. "description": "点价商品名称",
  14336. "type": "string"
  14337. },
  14338. "margin": {
  14339. "description": "当前保证金",
  14340. "type": "number"
  14341. },
  14342. "modelname": {
  14343. "description": "型号名称",
  14344. "type": "string"
  14345. },
  14346. "price": {
  14347. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14348. "type": "number"
  14349. },
  14350. "pricemove": {
  14351. "description": "升贴水 [2:点价 3:暂定价]",
  14352. "type": "number"
  14353. },
  14354. "pricetype": {
  14355. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14356. "type": "integer"
  14357. },
  14358. "producttype": {
  14359. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14360. "type": "integer"
  14361. },
  14362. "qty": {
  14363. "description": "数量",
  14364. "type": "number"
  14365. },
  14366. "remark": {
  14367. "description": "备注",
  14368. "type": "string"
  14369. },
  14370. "selluserid": {
  14371. "description": "销售方ID",
  14372. "type": "integer"
  14373. },
  14374. "sellusername": {
  14375. "description": "销售方名称",
  14376. "type": "string"
  14377. },
  14378. "spotcontractid": {
  14379. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14380. "type": "string"
  14381. },
  14382. "spotgoodsbrandid": {
  14383. "description": "现货品牌ID",
  14384. "type": "integer"
  14385. },
  14386. "spotgoodsdesc": {
  14387. "description": "商品型号",
  14388. "type": "string"
  14389. },
  14390. "spotgoodsmodelid": {
  14391. "description": "现货型号ID",
  14392. "type": "integer"
  14393. },
  14394. "startdate": {
  14395. "description": "点价开始日期 [2:点价 3:暂定价]",
  14396. "type": "string"
  14397. },
  14398. "updatetime": {
  14399. "description": "更新时间",
  14400. "type": "string"
  14401. },
  14402. "userid": {
  14403. "description": "机构ID",
  14404. "type": "integer"
  14405. },
  14406. "wrstandardcode": {
  14407. "description": "现货商品代码",
  14408. "type": "string"
  14409. },
  14410. "wrstandardid": {
  14411. "description": "现货商品ID",
  14412. "type": "integer"
  14413. },
  14414. "wrstandardname": {
  14415. "description": "现货商品名称",
  14416. "type": "string"
  14417. }
  14418. }
  14419. },
  14420. "models.ErmcpSpotGoodsPrice": {
  14421. "type": "object",
  14422. "properties": {
  14423. "areauserid": {
  14424. "description": "所属机构id",
  14425. "type": "integer"
  14426. },
  14427. "brandname": {
  14428. "description": "品牌名称",
  14429. "type": "string"
  14430. },
  14431. "currencyid": {
  14432. "description": "报价货币ID",
  14433. "type": "integer"
  14434. },
  14435. "enumdicname": {
  14436. "description": "现货商品单位名称",
  14437. "type": "string"
  14438. },
  14439. "gbenumdicname": {
  14440. "description": "品类单位名称",
  14441. "type": "string"
  14442. },
  14443. "gmunitid": {
  14444. "description": "品类单位id",
  14445. "type": "integer"
  14446. },
  14447. "isvalid": {
  14448. "description": "是否有效 - 0:无效 1:有效",
  14449. "type": "integer"
  14450. },
  14451. "modelname": {
  14452. "description": "品类名称",
  14453. "type": "string"
  14454. },
  14455. "operateid": {
  14456. "description": "最后操作人",
  14457. "type": "integer"
  14458. },
  14459. "operatesrc": {
  14460. "description": "最后操作来源 - 1:管理端 2:终端",
  14461. "type": "integer"
  14462. },
  14463. "operatetime": {
  14464. "description": "最后操作时间",
  14465. "type": "string"
  14466. },
  14467. "operatorname": {
  14468. "description": "操作人名称",
  14469. "type": "string"
  14470. },
  14471. "spotgoodsbrandid": {
  14472. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14473. "type": "integer"
  14474. },
  14475. "spotgoodsmodelid": {
  14476. "description": "现货品类ID(通用则为0)",
  14477. "type": "integer"
  14478. },
  14479. "spotgoodsprice": {
  14480. "description": "现货价格",
  14481. "type": "number"
  14482. },
  14483. "tradedate": {
  14484. "description": "交易日(yyyyMMdd)",
  14485. "type": "string"
  14486. },
  14487. "unitid": {
  14488. "description": "现货商品单位id",
  14489. "type": "integer"
  14490. },
  14491. "wrstandardcode": {
  14492. "description": "现货商品代码",
  14493. "type": "string"
  14494. },
  14495. "wrstandardid": {
  14496. "description": "现货商品ID",
  14497. "type": "integer"
  14498. },
  14499. "wrstandardname": {
  14500. "description": "现货商品名称",
  14501. "type": "string"
  14502. }
  14503. }
  14504. },
  14505. "models.ErmcpSpotGoodsPriceLog": {
  14506. "type": "object",
  14507. "properties": {
  14508. "areauserid": {
  14509. "description": "所属机构id",
  14510. "type": "integer"
  14511. },
  14512. "brandname": {
  14513. "description": "品牌名称",
  14514. "type": "string"
  14515. },
  14516. "currencyid": {
  14517. "description": "报价货币ID",
  14518. "type": "integer"
  14519. },
  14520. "enumdicname": {
  14521. "description": "现货商品单位名称",
  14522. "type": "string"
  14523. },
  14524. "gbenumdicname": {
  14525. "description": "品类单位名称",
  14526. "type": "string"
  14527. },
  14528. "gmunitid": {
  14529. "description": "品类单位id",
  14530. "type": "integer"
  14531. },
  14532. "logid": {
  14533. "description": "日志id",
  14534. "type": "integer"
  14535. },
  14536. "modelname": {
  14537. "description": "品类名称",
  14538. "type": "string"
  14539. },
  14540. "operateid": {
  14541. "description": "最后操作人",
  14542. "type": "integer"
  14543. },
  14544. "operatesrc": {
  14545. "description": "最后操作来源 - 1:管理端 2:终端",
  14546. "type": "integer"
  14547. },
  14548. "operatetime": {
  14549. "description": "最后操作时间",
  14550. "type": "string"
  14551. },
  14552. "operatorname": {
  14553. "description": "操作人名称",
  14554. "type": "string"
  14555. },
  14556. "spotgoodsbrandid": {
  14557. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14558. "type": "integer"
  14559. },
  14560. "spotgoodsmodelid": {
  14561. "description": "现货品类ID(通用则为0)",
  14562. "type": "integer"
  14563. },
  14564. "spotgoodsprice": {
  14565. "description": "现货价格",
  14566. "type": "number"
  14567. },
  14568. "tradedate": {
  14569. "description": "交易日(yyyyMMdd)",
  14570. "type": "string"
  14571. },
  14572. "unitid": {
  14573. "description": "现货商品单位id",
  14574. "type": "integer"
  14575. },
  14576. "wrstandardcode": {
  14577. "description": "现货商品代码",
  14578. "type": "string"
  14579. },
  14580. "wrstandardid": {
  14581. "description": "现货商品ID",
  14582. "type": "integer"
  14583. },
  14584. "wrstandardname": {
  14585. "description": "现货商品名称",
  14586. "type": "string"
  14587. }
  14588. }
  14589. },
  14590. "models.ErmcpTaAccount": {
  14591. "type": "object",
  14592. "properties": {
  14593. "accountid": {
  14594. "description": "账户id",
  14595. "type": "integer"
  14596. },
  14597. "accountname": {
  14598. "description": "账户名称",
  14599. "type": "string"
  14600. },
  14601. "currencyid": {
  14602. "description": "币种id",
  14603. "type": "integer"
  14604. },
  14605. "ismain": {
  14606. "description": "是否主账户 0-否 1-是",
  14607. "type": "integer"
  14608. },
  14609. "parentaccountid": {
  14610. "description": "父账户id",
  14611. "type": "integer"
  14612. },
  14613. "relateduserid": {
  14614. "description": "关联userid",
  14615. "type": "integer"
  14616. },
  14617. "tradestatus": {
  14618. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14619. "type": "integer"
  14620. }
  14621. }
  14622. },
  14623. "models.ErmcpTaAccountEx": {
  14624. "type": "object",
  14625. "properties": {
  14626. "mainAcc": {
  14627. "description": "主账号",
  14628. "type": "object",
  14629. "$ref": "#/definitions/models.ErmcpTaAccount"
  14630. },
  14631. "subacclist": {
  14632. "description": "子账号列表",
  14633. "type": "array",
  14634. "items": {
  14635. "$ref": "#/definitions/models.ErmcpTaAccount"
  14636. }
  14637. }
  14638. }
  14639. },
  14640. "models.ErmcpTaAccountInfo": {
  14641. "type": "object",
  14642. "properties": {
  14643. "accountid": {
  14644. "description": "资金账户ID",
  14645. "type": "integer"
  14646. },
  14647. "accountname": {
  14648. "description": "账户名称",
  14649. "type": "string"
  14650. },
  14651. "balance": {
  14652. "description": "期初余额",
  14653. "type": "number"
  14654. },
  14655. "capitalbalance": {
  14656. "description": "本金余额[外部子账户实际出入金余额]",
  14657. "type": "number"
  14658. },
  14659. "closepl": {
  14660. "description": "今日平仓盈亏",
  14661. "type": "number"
  14662. },
  14663. "creditdecrease": {
  14664. "description": "今日授信减少",
  14665. "type": "number"
  14666. },
  14667. "creditincrease": {
  14668. "description": "今日授信增加",
  14669. "type": "number"
  14670. },
  14671. "curdebt": {
  14672. "description": "期末欠款",
  14673. "type": "number"
  14674. },
  14675. "currencyid": {
  14676. "description": "货币ID",
  14677. "type": "integer"
  14678. },
  14679. "currentbalance": {
  14680. "description": "期末余额",
  14681. "type": "number"
  14682. },
  14683. "freezecharge": {
  14684. "description": "手续费冻结",
  14685. "type": "number"
  14686. },
  14687. "freezemargin": {
  14688. "description": "冻结保证金",
  14689. "type": "number"
  14690. },
  14691. "fromaccountid": {
  14692. "description": "所属上级账户",
  14693. "type": "integer"
  14694. },
  14695. "inamount": {
  14696. "description": "今日入金金额(包括三方入金)",
  14697. "type": "number"
  14698. },
  14699. "ismain": {
  14700. "description": "是否母账号 0:不是母账户 1:是母账户",
  14701. "type": "integer"
  14702. },
  14703. "mortgagecredit": {
  14704. "description": "授信金额",
  14705. "type": "number"
  14706. },
  14707. "oridebt": {
  14708. "description": "期初欠款",
  14709. "type": "number"
  14710. },
  14711. "orifreezecharge": {
  14712. "description": "期初手续费冻结",
  14713. "type": "number"
  14714. },
  14715. "orifreezemargin": {
  14716. "description": "期初冻结保证金",
  14717. "type": "number"
  14718. },
  14719. "orimortgagecredit": {
  14720. "description": "期初授信金额",
  14721. "type": "number"
  14722. },
  14723. "oriothercredit": {
  14724. "description": "期初其它授信金额",
  14725. "type": "number"
  14726. },
  14727. "oriotherfreezemargin": {
  14728. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14729. "type": "number"
  14730. },
  14731. "orioutamountfreeze": {
  14732. "description": "期初出金冻结",
  14733. "type": "number"
  14734. },
  14735. "oriusedmargin": {
  14736. "description": "期初占用保证金",
  14737. "type": "number"
  14738. },
  14739. "othercredit": {
  14740. "description": "其它授信金额",
  14741. "type": "number"
  14742. },
  14743. "othercreditdecrease": {
  14744. "description": "今日其它授信减少",
  14745. "type": "number"
  14746. },
  14747. "othercreditincrease": {
  14748. "description": "今日其它授信增加",
  14749. "type": "number"
  14750. },
  14751. "otherfreezemargin": {
  14752. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14753. "type": "number"
  14754. },
  14755. "outamount": {
  14756. "description": "今日出金金额(包括三方出金)",
  14757. "type": "number"
  14758. },
  14759. "outamountfreeze": {
  14760. "description": "出金冻结",
  14761. "type": "number"
  14762. },
  14763. "outthreshold": {
  14764. "description": "出金阈值",
  14765. "type": "number"
  14766. },
  14767. "parentaccountid": {
  14768. "description": "所属根账号",
  14769. "type": "integer"
  14770. },
  14771. "paycharge": {
  14772. "description": "今日手续费支出",
  14773. "type": "number"
  14774. },
  14775. "relateduserid": {
  14776. "description": "关联用户",
  14777. "type": "integer"
  14778. },
  14779. "signstatus": {
  14780. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14781. "type": "integer"
  14782. },
  14783. "sublevelpath": {
  14784. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14785. "type": "string"
  14786. },
  14787. "taaccounttype": {
  14788. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14789. "type": "integer"
  14790. },
  14791. "thirdinamount": {
  14792. "description": "今日三方入金",
  14793. "type": "number"
  14794. },
  14795. "thirdoutamount": {
  14796. "description": "今日三方出金",
  14797. "type": "number"
  14798. },
  14799. "tradestatus": {
  14800. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14801. "type": "integer"
  14802. },
  14803. "transferamount": {
  14804. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14805. "type": "number"
  14806. },
  14807. "usedmargin": {
  14808. "description": "占用保证金",
  14809. "type": "number"
  14810. },
  14811. "userid": {
  14812. "description": "用户ID",
  14813. "type": "integer"
  14814. }
  14815. }
  14816. },
  14817. "models.ErmcpTradeConfigTMP": {
  14818. "type": "object",
  14819. "properties": {
  14820. "areauserid": {
  14821. "description": "所属机构",
  14822. "type": "integer"
  14823. },
  14824. "basiccurrencyid": {
  14825. "description": "基本币种ID[汇率] - 目标币种",
  14826. "type": "integer"
  14827. },
  14828. "mainaccountid": {
  14829. "description": "主账户ID",
  14830. "type": "integer"
  14831. },
  14832. "modifierid": {
  14833. "description": "修改人",
  14834. "type": "integer"
  14835. },
  14836. "remark": {
  14837. "description": "备注",
  14838. "type": "string"
  14839. },
  14840. "tradeconfigtmpid": {
  14841. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  14842. "type": "integer"
  14843. },
  14844. "tradeconfigtmpname": {
  14845. "description": "交易配置模板名称",
  14846. "type": "string"
  14847. },
  14848. "tradeconfigtmptype": {
  14849. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  14850. "type": "integer"
  14851. },
  14852. "updatetime": {
  14853. "description": "更新时间",
  14854. "type": "string"
  14855. }
  14856. }
  14857. },
  14858. "models.ErmcpUserModel": {
  14859. "type": "object",
  14860. "properties": {
  14861. "address": {
  14862. "description": "通讯地址",
  14863. "type": "string"
  14864. },
  14865. "attachment1": {
  14866. "description": "附件1",
  14867. "type": "string"
  14868. },
  14869. "audittime": {
  14870. "description": "审核时间",
  14871. "type": "string"
  14872. },
  14873. "cardfrontphotourl": {
  14874. "description": "证件正面图片地址",
  14875. "type": "string"
  14876. },
  14877. "cardnum": {
  14878. "description": "证件号码",
  14879. "type": "string"
  14880. },
  14881. "cardtype": {
  14882. "description": "证件类型",
  14883. "type": "integer"
  14884. },
  14885. "cardtypename": {
  14886. "description": "证件类型名称",
  14887. "type": "string"
  14888. },
  14889. "cityid": {
  14890. "description": "市",
  14891. "type": "integer"
  14892. },
  14893. "countryid": {
  14894. "description": "国家",
  14895. "type": "integer"
  14896. },
  14897. "createtime": {
  14898. "description": "创建时间",
  14899. "type": "string"
  14900. },
  14901. "customername": {
  14902. "description": "企业名称",
  14903. "type": "string"
  14904. },
  14905. "districtid": {
  14906. "description": "区域",
  14907. "type": "integer"
  14908. },
  14909. "memberuserid": {
  14910. "description": "所属机构ID",
  14911. "type": "integer"
  14912. },
  14913. "mobile": {
  14914. "description": "手机号码",
  14915. "type": "string"
  14916. },
  14917. "modifytime": {
  14918. "description": "修改时间",
  14919. "type": "string"
  14920. },
  14921. "nickname": {
  14922. "description": "昵称",
  14923. "type": "string"
  14924. },
  14925. "provinceid": {
  14926. "description": "省",
  14927. "type": "integer"
  14928. },
  14929. "remark": {
  14930. "description": "备注",
  14931. "type": "string"
  14932. },
  14933. "status": {
  14934. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14935. "type": "integer"
  14936. },
  14937. "statusdesc": {
  14938. "description": "账户状态中文描述",
  14939. "type": "string"
  14940. },
  14941. "telphone": {
  14942. "description": "联系电话",
  14943. "type": "string"
  14944. },
  14945. "userid": {
  14946. "description": "用户ID",
  14947. "type": "integer"
  14948. },
  14949. "userinfotype": {
  14950. "description": "客户类型",
  14951. "type": "string"
  14952. }
  14953. }
  14954. },
  14955. "models.ErmcpWareHouseInfo": {
  14956. "type": "object",
  14957. "properties": {
  14958. "address": {
  14959. "description": "详细地址",
  14960. "type": "string"
  14961. },
  14962. "areauserid": {
  14963. "description": "所属机构",
  14964. "type": "integer"
  14965. },
  14966. "autoid": {
  14967. "description": "自增ID(仓库ID)",
  14968. "type": "integer"
  14969. },
  14970. "cityid": {
  14971. "description": "市",
  14972. "type": "integer"
  14973. },
  14974. "contactname": {
  14975. "description": "联系人",
  14976. "type": "string"
  14977. },
  14978. "contactnum": {
  14979. "description": "联系电话",
  14980. "type": "string"
  14981. },
  14982. "countryid": {
  14983. "description": "国家",
  14984. "type": "integer"
  14985. },
  14986. "createtime": {
  14987. "description": "创建时间",
  14988. "type": "string"
  14989. },
  14990. "districtid": {
  14991. "description": "区",
  14992. "type": "integer"
  14993. },
  14994. "hasvideo": {
  14995. "description": "是否有视频 - 0:无 1:有",
  14996. "type": "integer"
  14997. },
  14998. "provinceid": {
  14999. "description": "省",
  15000. "type": "integer"
  15001. },
  15002. "remark": {
  15003. "description": "审核备注",
  15004. "type": "string"
  15005. },
  15006. "videourl": {
  15007. "description": "视频地址",
  15008. "type": "string"
  15009. },
  15010. "warehousecode": {
  15011. "description": "仓库代码",
  15012. "type": "string"
  15013. },
  15014. "warehousename": {
  15015. "description": "仓库名称",
  15016. "type": "string"
  15017. },
  15018. "warehousestatus": {
  15019. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15020. "type": "integer"
  15021. },
  15022. "warehousetype": {
  15023. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15024. "type": "integer"
  15025. }
  15026. }
  15027. },
  15028. "models.ErmcpWrstandDetail": {
  15029. "type": "object",
  15030. "properties": {
  15031. "gbList": {
  15032. "description": "品牌列表",
  15033. "type": "array",
  15034. "items": {
  15035. "$ref": "#/definitions/models.GoodsBrand"
  15036. }
  15037. },
  15038. "goodsList": {
  15039. "description": "关联交易商品列表",
  15040. "type": "array",
  15041. "items": {
  15042. "$ref": "#/definitions/models.RelatedGoodsEx"
  15043. }
  15044. },
  15045. "gtList": {
  15046. "description": "型号列表",
  15047. "type": "array",
  15048. "items": {
  15049. "$ref": "#/definitions/models.GoodsTypeModel"
  15050. }
  15051. },
  15052. "wrd": {
  15053. "description": "基本信息",
  15054. "type": "object",
  15055. "$ref": "#/definitions/models.ErmcpWrstandard"
  15056. },
  15057. "wrsList": {
  15058. "description": "套保信息列表",
  15059. "type": "array",
  15060. "items": {
  15061. "$ref": "#/definitions/models.WRSConverTDetail"
  15062. }
  15063. }
  15064. }
  15065. },
  15066. "models.ErmcpWrstandard": {
  15067. "type": "object",
  15068. "properties": {
  15069. "areauserid": {
  15070. "description": "所属机构",
  15071. "type": "integer"
  15072. },
  15073. "createtime": {
  15074. "description": "创建时间",
  15075. "type": "string"
  15076. },
  15077. "creatorid": {
  15078. "description": "创建人",
  15079. "type": "integer"
  15080. },
  15081. "deliverygoodsid": {
  15082. "description": "品种ID",
  15083. "type": "integer"
  15084. },
  15085. "enumdicname": {
  15086. "description": "单位名称",
  15087. "type": "string"
  15088. },
  15089. "isvalid": {
  15090. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15091. "type": "integer"
  15092. },
  15093. "minivalue": {
  15094. "description": "最小变动值",
  15095. "type": "integer"
  15096. },
  15097. "minivaluedp": {
  15098. "description": "最小变动值小数位",
  15099. "type": "integer"
  15100. },
  15101. "realminivalue": {
  15102. "description": "实际最小变动值",
  15103. "type": "integer"
  15104. },
  15105. "realminivaluedp": {
  15106. "description": "实际最小变动值小数位",
  15107. "type": "integer"
  15108. },
  15109. "remark": {
  15110. "description": "备注",
  15111. "type": "string"
  15112. },
  15113. "unitid": {
  15114. "description": "单位ID",
  15115. "type": "integer"
  15116. },
  15117. "updatetime": {
  15118. "description": "更新时间",
  15119. "type": "string"
  15120. },
  15121. "wrstandardcode": {
  15122. "description": "现货商品代码",
  15123. "type": "string"
  15124. },
  15125. "wrstandardid": {
  15126. "description": "现货商品ID(SEQ_WRSTANDARD)",
  15127. "type": "integer"
  15128. },
  15129. "wrstandardname": {
  15130. "description": "现货商品名称",
  15131. "type": "string"
  15132. }
  15133. }
  15134. },
  15135. "models.Externalexchange": {
  15136. "type": "object",
  15137. "required": [
  15138. "autoid"
  15139. ],
  15140. "properties": {
  15141. "autoid": {
  15142. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15143. "type": "integer"
  15144. },
  15145. "exchangefullname": {
  15146. "description": "外部交易所全称",
  15147. "type": "string"
  15148. },
  15149. "exexchangecode": {
  15150. "description": "外部交易所代码",
  15151. "type": "string"
  15152. },
  15153. "exexchangename": {
  15154. "description": "外部交易所名称(简称)",
  15155. "type": "string"
  15156. },
  15157. "ismarketprice": {
  15158. "description": "是否支持市价 - 0:不支持 1:支持",
  15159. "type": "integer"
  15160. },
  15161. "quotegear": {
  15162. "description": "行情档位(1-10)",
  15163. "type": "integer"
  15164. },
  15165. "showbrokerflag": {
  15166. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15167. "type": "integer"
  15168. },
  15169. "updatetime": {
  15170. "description": "更新时间",
  15171. "type": "string"
  15172. }
  15173. }
  15174. },
  15175. "models.Funcmenulist": {
  15176. "type": "object",
  15177. "required": [
  15178. "resourcecode"
  15179. ],
  15180. "properties": {
  15181. "iconame": {
  15182. "description": "菜单图标",
  15183. "type": "string"
  15184. },
  15185. "menutype": {
  15186. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15187. "type": "integer"
  15188. },
  15189. "parentcode": {
  15190. "description": "上级资源代码",
  15191. "type": "string"
  15192. },
  15193. "remark": {
  15194. "description": "备注",
  15195. "type": "string"
  15196. },
  15197. "resourcecode": {
  15198. "description": "资源代码",
  15199. "type": "string"
  15200. },
  15201. "resourcelevel": {
  15202. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15203. "type": "integer"
  15204. },
  15205. "resourcename": {
  15206. "description": "资源名",
  15207. "type": "string"
  15208. },
  15209. "sort": {
  15210. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15211. "type": "integer"
  15212. },
  15213. "url": {
  15214. "description": "URL",
  15215. "type": "string"
  15216. }
  15217. }
  15218. },
  15219. "models.Goods": {
  15220. "type": "object",
  15221. "required": [
  15222. "goodscode",
  15223. "goodsid",
  15224. "goodsname",
  15225. "marketid"
  15226. ],
  15227. "properties": {
  15228. "agreeunit": {
  15229. "description": "合约单位",
  15230. "type": "number"
  15231. },
  15232. "auditaccountid": {
  15233. "description": "审核操作员账号",
  15234. "type": "integer"
  15235. },
  15236. "audittime": {
  15237. "description": "审核时间",
  15238. "type": "string"
  15239. },
  15240. "cancelaccountid": {
  15241. "description": "注销操作员账号",
  15242. "type": "integer"
  15243. },
  15244. "canceltime": {
  15245. "description": "注销时间",
  15246. "type": "string"
  15247. },
  15248. "closepricemode": {
  15249. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15250. "type": "integer"
  15251. },
  15252. "closepriceparam": {
  15253. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15254. "type": "number"
  15255. },
  15256. "createtime": {
  15257. "description": "创建时间",
  15258. "type": "string"
  15259. },
  15260. "creatorid": {
  15261. "description": "创建人",
  15262. "type": "integer"
  15263. },
  15264. "currencyid": {
  15265. "description": "报价货币ID",
  15266. "type": "integer"
  15267. },
  15268. "cutmode": {
  15269. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15270. "type": "integer"
  15271. },
  15272. "decimalplace": {
  15273. "description": "报价小数位",
  15274. "type": "integer"
  15275. },
  15276. "delistingdate": {
  15277. "description": "商品退市时间(状态:退市) -- 已作废",
  15278. "type": "string"
  15279. },
  15280. "delistingmode": {
  15281. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15282. "type": "integer"
  15283. },
  15284. "deliveryflag": {
  15285. "description": "交割标志 - 0:不可交割 1:可交割",
  15286. "type": "integer"
  15287. },
  15288. "forceclosemode": {
  15289. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15290. "type": "integer"
  15291. },
  15292. "forceclosevalue": {
  15293. "description": "定期强平参数 [收益权]",
  15294. "type": "integer"
  15295. },
  15296. "goodscode": {
  15297. "description": "商品代码(内部)",
  15298. "type": "string"
  15299. },
  15300. "goodscurrencyid": {
  15301. "description": "合约货币ID",
  15302. "type": "integer"
  15303. },
  15304. "goodsgroupid": {
  15305. "description": "所属商品组ID",
  15306. "type": "integer"
  15307. },
  15308. "goodsid": {
  15309. "description": "商品ID(自增ID SEQ_GOODS)",
  15310. "type": "integer"
  15311. },
  15312. "goodsname": {
  15313. "description": "商品名称",
  15314. "type": "string"
  15315. },
  15316. "goodsquotetype": {
  15317. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15318. "type": "integer"
  15319. },
  15320. "goodsstatus": {
  15321. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15322. "type": "integer"
  15323. },
  15324. "goodstradetype": {
  15325. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15326. "type": "integer"
  15327. },
  15328. "goodunitid": {
  15329. "description": "报价单位ID",
  15330. "type": "integer"
  15331. },
  15332. "hasquoter": {
  15333. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15334. "type": "integer"
  15335. },
  15336. "hqprotecttime": {
  15337. "description": "行情保护时间(秒)",
  15338. "type": "integer"
  15339. },
  15340. "innerdealmode": {
  15341. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15342. "type": "integer"
  15343. },
  15344. "isbuylimited": {
  15345. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15346. "type": "integer"
  15347. },
  15348. "lasttradedate": {
  15349. "description": "最后交易日期(状态:待退市)",
  15350. "type": "string"
  15351. },
  15352. "listingdate": {
  15353. "description": "交易开始日期",
  15354. "type": "string"
  15355. },
  15356. "marketid": {
  15357. "description": "所属市场ID",
  15358. "type": "integer"
  15359. },
  15360. "modifierid": {
  15361. "description": "修改人",
  15362. "type": "integer"
  15363. },
  15364. "modifystatus": {
  15365. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15366. "type": "integer"
  15367. },
  15368. "modifytime": {
  15369. "description": "修改时间",
  15370. "type": "string"
  15371. },
  15372. "outerdealmode": {
  15373. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15374. "type": "integer"
  15375. },
  15376. "outgoodscode": {
  15377. "description": "商品代码(外部)",
  15378. "type": "string"
  15379. },
  15380. "qtydecimalplace": {
  15381. "description": "成交量小数位",
  15382. "type": "integer"
  15383. },
  15384. "quotegear": {
  15385. "description": "行情档位(1-10)",
  15386. "type": "integer"
  15387. },
  15388. "quoteminunit": {
  15389. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15390. "type": "integer"
  15391. },
  15392. "quoteshowtype": {
  15393. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15394. "type": "integer"
  15395. },
  15396. "quoteshowtypeinterval": {
  15397. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15398. "type": "integer"
  15399. },
  15400. "remark": {
  15401. "description": "备注",
  15402. "type": "string"
  15403. }
  15404. }
  15405. },
  15406. "models.GoodsBrand": {
  15407. "type": "object",
  15408. "properties": {
  15409. "brandid": {
  15410. "description": "品牌ID",
  15411. "type": "integer"
  15412. },
  15413. "brandname": {
  15414. "description": "品牌名称",
  15415. "type": "string"
  15416. },
  15417. "isvalid": {
  15418. "description": "是否有效 - 0:无效 1:有效",
  15419. "type": "integer"
  15420. }
  15421. }
  15422. },
  15423. "models.GoodsIDAndName": {
  15424. "type": "object",
  15425. "required": [
  15426. "goodscode",
  15427. "goodsid",
  15428. "goodsname",
  15429. "marketid"
  15430. ],
  15431. "properties": {
  15432. "goodscode": {
  15433. "description": "商品代码(内部)",
  15434. "type": "string"
  15435. },
  15436. "goodsid": {
  15437. "description": "商品ID(自增ID SEQ_GOODS)",
  15438. "type": "integer"
  15439. },
  15440. "goodsname": {
  15441. "description": "商品名称",
  15442. "type": "string"
  15443. },
  15444. "marketid": {
  15445. "description": "所属市场ID",
  15446. "type": "integer"
  15447. }
  15448. }
  15449. },
  15450. "models.GoodsTypeModel": {
  15451. "type": "object",
  15452. "properties": {
  15453. "convertfactor": {
  15454. "description": "标仓系数",
  15455. "type": "number"
  15456. },
  15457. "modelid": {
  15458. "description": "型号ID",
  15459. "type": "integer"
  15460. },
  15461. "modelname": {
  15462. "description": "型号名称",
  15463. "type": "string"
  15464. },
  15465. "updatetime": {
  15466. "description": "更新时间",
  15467. "type": "string"
  15468. }
  15469. }
  15470. },
  15471. "models.Goodsgroup": {
  15472. "type": "object",
  15473. "required": [
  15474. "goodsgroupid",
  15475. "goodsgroupname",
  15476. "goodsgroupstatus",
  15477. "marketid"
  15478. ],
  15479. "properties": {
  15480. "agreeunit": {
  15481. "description": "合约单位",
  15482. "type": "number"
  15483. },
  15484. "canshort": {
  15485. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15486. "type": "integer"
  15487. },
  15488. "closepricemode": {
  15489. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15490. "type": "integer"
  15491. },
  15492. "closepriceparam": {
  15493. "description": "强平最新价浮动比例 - 方式为2时使用",
  15494. "type": "number"
  15495. },
  15496. "createtime": {
  15497. "description": "创建时间",
  15498. "type": "string"
  15499. },
  15500. "creatorid": {
  15501. "description": "创建人",
  15502. "type": "integer"
  15503. },
  15504. "currencyid": {
  15505. "description": "报价货币ID",
  15506. "type": "integer"
  15507. },
  15508. "decimalplace": {
  15509. "description": "报价小数位",
  15510. "type": "integer"
  15511. },
  15512. "exercisetype": {
  15513. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15514. "type": "integer"
  15515. },
  15516. "exexchangeid": {
  15517. "description": "外部交易所ID[通道交易]",
  15518. "type": "integer"
  15519. },
  15520. "goodsgroupid": {
  15521. "description": "商品组ID(自增ID)",
  15522. "type": "integer"
  15523. },
  15524. "goodsgroupname": {
  15525. "description": "商品组名称",
  15526. "type": "string"
  15527. },
  15528. "goodsgroupstatus": {
  15529. "description": "商品组状态 - 1:正常 2:注销",
  15530. "type": "integer"
  15531. },
  15532. "goodunitid": {
  15533. "description": "报价单位ID",
  15534. "type": "integer"
  15535. },
  15536. "innerdealmode": {
  15537. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15538. "type": "integer"
  15539. },
  15540. "isbuylimited": {
  15541. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15542. "type": "integer"
  15543. },
  15544. "marketid": {
  15545. "description": "所属市场ID",
  15546. "type": "integer"
  15547. },
  15548. "modifierid": {
  15549. "description": "修改人",
  15550. "type": "integer"
  15551. },
  15552. "modifytime": {
  15553. "description": "修改时间",
  15554. "type": "string"
  15555. },
  15556. "outerdealmode": {
  15557. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15558. "type": "integer"
  15559. },
  15560. "outergroupcode": {
  15561. "description": "外部商品组代码[通道交易]",
  15562. "type": "string"
  15563. },
  15564. "premiumdecimalplace": {
  15565. "description": "权利金小数位[场外期权]",
  15566. "type": "integer"
  15567. },
  15568. "premiumspreadalgorithm": {
  15569. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  15570. "type": "integer"
  15571. },
  15572. "premiumspreadvalue": {
  15573. "description": "权利金点差值[场外期权]",
  15574. "type": "number"
  15575. },
  15576. "qtydecimalplace": {
  15577. "description": "成交量小数位",
  15578. "type": "integer"
  15579. },
  15580. "quotegear": {
  15581. "description": "行情档位(1-10)",
  15582. "type": "integer"
  15583. },
  15584. "quoteminunit": {
  15585. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15586. "type": "integer"
  15587. },
  15588. "quoterid": {
  15589. "description": "报价商ID[场外期权]",
  15590. "type": "integer"
  15591. },
  15592. "quotesourcegroupid": {
  15593. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15594. "type": "integer"
  15595. },
  15596. "syncgoodsqty": {
  15597. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15598. "type": "integer"
  15599. }
  15600. }
  15601. },
  15602. "models.Goodssortbypreposition": {
  15603. "type": "object",
  15604. "required": [
  15605. "goodscode",
  15606. "tradedate"
  15607. ],
  15608. "properties": {
  15609. "goodscode": {
  15610. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  15611. "type": "string"
  15612. },
  15613. "goodsgroupcode": {
  15614. "description": "品种代码",
  15615. "type": "string"
  15616. },
  15617. "prepositionqty": {
  15618. "description": "昨持仓量",
  15619. "type": "integer"
  15620. },
  15621. "sortindex": {
  15622. "description": "排序",
  15623. "type": "integer"
  15624. },
  15625. "tradedate": {
  15626. "description": "交易日",
  15627. "type": "string"
  15628. },
  15629. "updatetime": {
  15630. "description": "更新时间",
  15631. "type": "string"
  15632. }
  15633. }
  15634. },
  15635. "models.Hedgeinnerholderdetail": {
  15636. "type": "object",
  15637. "required": [
  15638. "buyorsell",
  15639. "tradeid"
  15640. ],
  15641. "properties": {
  15642. "accountid": {
  15643. "description": "账号ID",
  15644. "type": "integer"
  15645. },
  15646. "buyorsell": {
  15647. "description": "方向 - 0:买 1:卖",
  15648. "type": "integer"
  15649. },
  15650. "freezeqty": {
  15651. "description": "冻结数量 - 按单平使用",
  15652. "type": "integer"
  15653. },
  15654. "goodsid": {
  15655. "description": "商品ID",
  15656. "type": "integer"
  15657. },
  15658. "holderamount": {
  15659. "description": "持仓金额 [商品币种]",
  15660. "type": "number"
  15661. },
  15662. "holderdays": {
  15663. "description": "剩余冻结天数",
  15664. "type": "integer"
  15665. },
  15666. "holderprice": {
  15667. "description": "持仓价格",
  15668. "type": "number"
  15669. },
  15670. "holderqty": {
  15671. "description": "持仓数量",
  15672. "type": "integer"
  15673. },
  15674. "marketid": {
  15675. "description": "市场ID",
  15676. "type": "integer"
  15677. },
  15678. "openprice": {
  15679. "description": "建仓价格",
  15680. "type": "number"
  15681. },
  15682. "openqty": {
  15683. "description": "建仓数量",
  15684. "type": "integer"
  15685. },
  15686. "parentaccountid": {
  15687. "description": "所属母账户",
  15688. "type": "integer"
  15689. },
  15690. "releaseamount": {
  15691. "description": "释放持仓金额[商品币种]",
  15692. "type": "number"
  15693. },
  15694. "tradeamount": {
  15695. "description": "成交金额[账户]",
  15696. "type": "number"
  15697. },
  15698. "tradedate": {
  15699. "description": "交易日(yyyyMMdd)",
  15700. "type": "string"
  15701. },
  15702. "tradeid": {
  15703. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15704. "type": "string"
  15705. },
  15706. "tradetime": {
  15707. "description": "交易时间",
  15708. "type": "string"
  15709. }
  15710. }
  15711. },
  15712. "models.HsbyBuyMyPayOrder": {
  15713. "type": "object",
  15714. "required": [
  15715. "goodscode",
  15716. "goodsname",
  15717. "tradeid",
  15718. "trademode"
  15719. ],
  15720. "properties": {
  15721. "agreeunit": {
  15722. "description": "合约单位",
  15723. "type": "number"
  15724. },
  15725. "buyaccountid": {
  15726. "description": "买方账号ID[报价币种]",
  15727. "type": "integer"
  15728. },
  15729. "buyorderid": {
  15730. "description": "买方委托单号",
  15731. "type": "string"
  15732. },
  15733. "createtime": {
  15734. "description": "创建时间",
  15735. "type": "string"
  15736. },
  15737. "currencysign": {
  15738. "description": "货币符号",
  15739. "type": "string"
  15740. },
  15741. "decimalplace": {
  15742. "description": "报价小数位",
  15743. "type": "integer"
  15744. },
  15745. "goodscode": {
  15746. "description": "商品代码(内部)",
  15747. "type": "string"
  15748. },
  15749. "goodsid": {
  15750. "description": "商品ID",
  15751. "type": "integer"
  15752. },
  15753. "goodsname": {
  15754. "description": "商品名称",
  15755. "type": "string"
  15756. },
  15757. "marketid": {
  15758. "description": "市场ID",
  15759. "type": "integer"
  15760. },
  15761. "offamount": {
  15762. "description": "优惠金额",
  15763. "type": "number"
  15764. },
  15765. "originalamount": {
  15766. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  15767. "type": "number"
  15768. },
  15769. "payamount": {
  15770. "description": "支付金额 = TradeAmount + TradeCharge",
  15771. "type": "number"
  15772. },
  15773. "payflag": {
  15774. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15775. "type": "integer"
  15776. },
  15777. "paylimitedtime": {
  15778. "description": "支付期限",
  15779. "type": "string"
  15780. },
  15781. "paytime": {
  15782. "description": "付款时间",
  15783. "type": "string"
  15784. },
  15785. "picurls1": {
  15786. "description": "预售商品介绍图片[多张用逗号分隔]",
  15787. "type": "string"
  15788. },
  15789. "picurls2": {
  15790. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15791. "type": "string"
  15792. },
  15793. "sellaccountid": {
  15794. "description": "卖方账号ID[报价币种]",
  15795. "type": "integer"
  15796. },
  15797. "sellorderid": {
  15798. "description": "卖方委托单号",
  15799. "type": "string"
  15800. },
  15801. "tradeamount": {
  15802. "description": "成交金额",
  15803. "type": "number"
  15804. },
  15805. "tradecharge": {
  15806. "description": "成交手续费(买方)",
  15807. "type": "number"
  15808. },
  15809. "tradedate": {
  15810. "description": "交易日(yyyyMMdd)",
  15811. "type": "string"
  15812. },
  15813. "tradeid": {
  15814. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15815. "type": "string"
  15816. },
  15817. "trademode": {
  15818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15819. "type": "integer"
  15820. },
  15821. "tradeprice": {
  15822. "description": "成交价格",
  15823. "type": "number"
  15824. },
  15825. "tradeqty": {
  15826. "description": "成交数量",
  15827. "type": "integer"
  15828. },
  15829. "vendorname1": {
  15830. "description": "预售商品供应商名称",
  15831. "type": "string"
  15832. },
  15833. "vendorname2": {
  15834. "description": "挂牌商品供应商名称",
  15835. "type": "string"
  15836. }
  15837. }
  15838. },
  15839. "models.HsbyBuyMyTradeDetail": {
  15840. "type": "object",
  15841. "required": [
  15842. "accountid",
  15843. "buyorsell",
  15844. "goodscode",
  15845. "goodsid",
  15846. "goodsname",
  15847. "marketid",
  15848. "orderid",
  15849. "qty",
  15850. "time",
  15851. "trademode"
  15852. ],
  15853. "properties": {
  15854. "accountid": {
  15855. "description": "账户ID[报价币种]",
  15856. "type": "integer"
  15857. },
  15858. "agreeunit": {
  15859. "description": "合约单位",
  15860. "type": "number"
  15861. },
  15862. "amount": {
  15863. "description": "金额 = 价格 * 数量 * 合约单位",
  15864. "type": "number"
  15865. },
  15866. "buyorsell": {
  15867. "description": "买卖 - 0:买 1:卖",
  15868. "type": "integer"
  15869. },
  15870. "currencysign": {
  15871. "description": "货币符号",
  15872. "type": "string"
  15873. },
  15874. "decimalplace": {
  15875. "description": "报价小数位",
  15876. "type": "integer"
  15877. },
  15878. "goodscode": {
  15879. "description": "商品代码(内部)",
  15880. "type": "string"
  15881. },
  15882. "goodsid": {
  15883. "description": "商品ID",
  15884. "type": "integer"
  15885. },
  15886. "goodsname": {
  15887. "description": "商品名称",
  15888. "type": "string"
  15889. },
  15890. "marketid": {
  15891. "description": "市场ID",
  15892. "type": "integer"
  15893. },
  15894. "orderamount": {
  15895. "description": "委托金额",
  15896. "type": "number"
  15897. },
  15898. "orderid": {
  15899. "description": "单号(成交单号)",
  15900. "type": "string"
  15901. },
  15902. "picurls1": {
  15903. "description": "预售商品介绍图片[多张用逗号分隔]",
  15904. "type": "string"
  15905. },
  15906. "picurls2": {
  15907. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15908. "type": "string"
  15909. },
  15910. "price": {
  15911. "description": "价格",
  15912. "type": "number"
  15913. },
  15914. "qty": {
  15915. "description": "数量",
  15916. "type": "integer"
  15917. },
  15918. "time": {
  15919. "description": "时间",
  15920. "type": "string"
  15921. },
  15922. "trademode": {
  15923. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15924. "type": "integer"
  15925. },
  15926. "vendorname1": {
  15927. "description": "预售商品供应商名称",
  15928. "type": "string"
  15929. },
  15930. "vendorname2": {
  15931. "description": "挂牌商品供应商名称",
  15932. "type": "string"
  15933. }
  15934. }
  15935. },
  15936. "models.HsbyGoodsOrderDetail": {
  15937. "type": "object",
  15938. "required": [
  15939. "buyorsell",
  15940. "orderid",
  15941. "ordertime"
  15942. ],
  15943. "properties": {
  15944. "buyorsell": {
  15945. "description": "买卖 - 0:买 1:卖",
  15946. "type": "integer"
  15947. },
  15948. "currencysign": {
  15949. "description": "货币符号",
  15950. "type": "string"
  15951. },
  15952. "customername": {
  15953. "description": "客户名称(企业名称),已脱敏",
  15954. "type": "string"
  15955. },
  15956. "enableqty": {
  15957. "description": "可用数量",
  15958. "type": "integer"
  15959. },
  15960. "goodunit": {
  15961. "description": "报价单位",
  15962. "type": "string"
  15963. },
  15964. "orderid": {
  15965. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15966. "type": "string"
  15967. },
  15968. "orderprice": {
  15969. "description": "委托价格",
  15970. "type": "number"
  15971. },
  15972. "ordertime": {
  15973. "description": "委托时间",
  15974. "type": "string"
  15975. }
  15976. }
  15977. },
  15978. "models.HsbyListingGoodsDetail": {
  15979. "type": "object",
  15980. "required": [
  15981. "goodscode",
  15982. "goodsid",
  15983. "goodsname",
  15984. "marketid",
  15985. "trademode"
  15986. ],
  15987. "properties": {
  15988. "agreeunit": {
  15989. "description": "合约单位",
  15990. "type": "number"
  15991. },
  15992. "buymaxqty": {
  15993. "description": "购买上限 [71] - 0为不限",
  15994. "type": "integer"
  15995. },
  15996. "currency": {
  15997. "description": "货币",
  15998. "type": "string"
  15999. },
  16000. "currencysign": {
  16001. "description": "货币符号",
  16002. "type": "string"
  16003. },
  16004. "decimalplace": {
  16005. "description": "报价小数位",
  16006. "type": "integer"
  16007. },
  16008. "desccityid": {
  16009. "description": "目的地(市)ID",
  16010. "type": "integer"
  16011. },
  16012. "descprovinceid": {
  16013. "description": "目的地(省)ID",
  16014. "type": "integer"
  16015. },
  16016. "goodscode": {
  16017. "description": "商品代码(内部)",
  16018. "type": "string"
  16019. },
  16020. "goodsdesc": {
  16021. "description": "商品详情",
  16022. "type": "string"
  16023. },
  16024. "goodsid": {
  16025. "description": "商品ID(自增ID SEQ_GOODS)",
  16026. "type": "integer"
  16027. },
  16028. "goodsname": {
  16029. "description": "商品名称",
  16030. "type": "string"
  16031. },
  16032. "goodsprice": {
  16033. "description": "商品价格",
  16034. "type": "number"
  16035. },
  16036. "hotindex": {
  16037. "description": "景点热度",
  16038. "type": "integer"
  16039. },
  16040. "last": {
  16041. "description": "现价",
  16042. "type": "number"
  16043. },
  16044. "limitdown": {
  16045. "description": "跌停价",
  16046. "type": "number"
  16047. },
  16048. "limitup": {
  16049. "description": "涨停价",
  16050. "type": "number"
  16051. },
  16052. "lotsize": {
  16053. "description": "手数最小变动单位",
  16054. "type": "integer"
  16055. },
  16056. "marketid": {
  16057. "description": "所属市场ID",
  16058. "type": "integer"
  16059. },
  16060. "picurls": {
  16061. "description": "介绍图片[多张用逗号分隔]",
  16062. "type": "string"
  16063. },
  16064. "quoteminunit": {
  16065. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16066. "type": "integer"
  16067. },
  16068. "stepvalue": {
  16069. "description": "价格最小变动单位",
  16070. "type": "number"
  16071. },
  16072. "trademode": {
  16073. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16074. "type": "integer"
  16075. },
  16076. "vendorattr": {
  16077. "description": "供应商附件(多张,逗号分隔)",
  16078. "type": "string"
  16079. },
  16080. "vendorname": {
  16081. "description": "供应商名称",
  16082. "type": "string"
  16083. },
  16084. "vendorphone": {
  16085. "description": "供应商客服电话",
  16086. "type": "string"
  16087. },
  16088. "videourls": {
  16089. "description": "介绍视频[多张用逗号分隔]",
  16090. "type": "string"
  16091. }
  16092. }
  16093. },
  16094. "models.HsbyMarketGoods": {
  16095. "type": "object",
  16096. "required": [
  16097. "accountid",
  16098. "buyorsell",
  16099. "goodscode",
  16100. "goodsid",
  16101. "goodsname",
  16102. "marketid",
  16103. "orderid",
  16104. "trademode"
  16105. ],
  16106. "properties": {
  16107. "accountid": {
  16108. "description": "账户ID[报价币种]",
  16109. "type": "integer"
  16110. },
  16111. "agreeunit": {
  16112. "description": "合约单位",
  16113. "type": "number"
  16114. },
  16115. "buyorsell": {
  16116. "description": "买卖 - 0:买 1:卖",
  16117. "type": "integer"
  16118. },
  16119. "categoryid": {
  16120. "description": "类别ID(WRCATEGORY)",
  16121. "type": "integer"
  16122. },
  16123. "currency": {
  16124. "description": "货币",
  16125. "type": "string"
  16126. },
  16127. "currencysign": {
  16128. "description": "货币符号",
  16129. "type": "string"
  16130. },
  16131. "customername": {
  16132. "description": "卖家名称",
  16133. "type": "string"
  16134. },
  16135. "decimalplace": {
  16136. "description": "报价小数位",
  16137. "type": "integer"
  16138. },
  16139. "goodscode": {
  16140. "description": "商品代码(内部)",
  16141. "type": "string"
  16142. },
  16143. "goodsid": {
  16144. "description": "商品ID",
  16145. "type": "integer"
  16146. },
  16147. "goodsname": {
  16148. "description": "商品名称",
  16149. "type": "string"
  16150. },
  16151. "goodsprice": {
  16152. "description": "商品价格",
  16153. "type": "number"
  16154. },
  16155. "hascoupon": {
  16156. "description": "是否可用优惠卷",
  16157. "type": "boolean"
  16158. },
  16159. "hotindex": {
  16160. "description": "景点热度",
  16161. "type": "integer"
  16162. },
  16163. "marketid": {
  16164. "description": "市场ID",
  16165. "type": "integer"
  16166. },
  16167. "orderid": {
  16168. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16169. "type": "string"
  16170. },
  16171. "orderprice": {
  16172. "description": "委托价格",
  16173. "type": "number"
  16174. },
  16175. "orderstatus": {
  16176. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16177. "type": "integer"
  16178. },
  16179. "picurls": {
  16180. "description": "介绍图片[多张用逗号分隔]",
  16181. "type": "string"
  16182. },
  16183. "quoteminunit": {
  16184. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16185. "type": "integer"
  16186. },
  16187. "sellUserID": {
  16188. "description": "卖方UserID",
  16189. "type": "integer"
  16190. },
  16191. "trademode": {
  16192. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16193. "type": "integer"
  16194. },
  16195. "videourls": {
  16196. "description": "介绍视频[多张用逗号分隔]",
  16197. "type": "string"
  16198. }
  16199. }
  16200. },
  16201. "models.HsbyMarketGoodsDetail": {
  16202. "type": "object",
  16203. "required": [
  16204. "accountid",
  16205. "buyorsell",
  16206. "goodscode",
  16207. "goodsid",
  16208. "goodsname",
  16209. "marketid",
  16210. "orderid",
  16211. "orderqty",
  16212. "trademode"
  16213. ],
  16214. "properties": {
  16215. "accountid": {
  16216. "description": "账户ID[报价币种]",
  16217. "type": "integer"
  16218. },
  16219. "agreeunit": {
  16220. "description": "合约单位",
  16221. "type": "number"
  16222. },
  16223. "buymaxqty": {
  16224. "description": "购买上限 [71] - 0为不限",
  16225. "type": "integer"
  16226. },
  16227. "buyorsell": {
  16228. "description": "买卖 - 0:买 1:卖",
  16229. "type": "integer"
  16230. },
  16231. "cancelqty": {
  16232. "description": "撤单数量",
  16233. "type": "integer"
  16234. },
  16235. "categoryid": {
  16236. "description": "类别ID(WRCATEGORY)",
  16237. "type": "integer"
  16238. },
  16239. "currency": {
  16240. "description": "货币",
  16241. "type": "string"
  16242. },
  16243. "currencysign": {
  16244. "description": "货币符号",
  16245. "type": "string"
  16246. },
  16247. "customername": {
  16248. "description": "卖家名称",
  16249. "type": "string"
  16250. },
  16251. "decimalplace": {
  16252. "description": "报价小数位",
  16253. "type": "integer"
  16254. },
  16255. "goodscode": {
  16256. "description": "商品代码(内部)",
  16257. "type": "string"
  16258. },
  16259. "goodsdesc": {
  16260. "description": "商品详情",
  16261. "type": "string"
  16262. },
  16263. "goodsid": {
  16264. "description": "商品ID",
  16265. "type": "integer"
  16266. },
  16267. "goodsname": {
  16268. "description": "商品名称",
  16269. "type": "string"
  16270. },
  16271. "goodsprice": {
  16272. "description": "商品价格",
  16273. "type": "number"
  16274. },
  16275. "hotindex": {
  16276. "description": "景点热度",
  16277. "type": "integer"
  16278. },
  16279. "lotsize": {
  16280. "description": "手数最小变动单位",
  16281. "type": "integer"
  16282. },
  16283. "marketid": {
  16284. "description": "市场ID",
  16285. "type": "integer"
  16286. },
  16287. "orderid": {
  16288. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16289. "type": "string"
  16290. },
  16291. "orderprice": {
  16292. "description": "委托价格",
  16293. "type": "number"
  16294. },
  16295. "orderqty": {
  16296. "description": "委托数量",
  16297. "type": "integer"
  16298. },
  16299. "orderstatus": {
  16300. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16301. "type": "integer"
  16302. },
  16303. "picurls": {
  16304. "description": "介绍图片[多张用逗号分隔]",
  16305. "type": "string"
  16306. },
  16307. "quoteminunit": {
  16308. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16309. "type": "integer"
  16310. },
  16311. "sellUserID": {
  16312. "description": "卖方UserID",
  16313. "type": "integer"
  16314. },
  16315. "trademode": {
  16316. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16317. "type": "integer"
  16318. },
  16319. "tradeqty": {
  16320. "description": "成交数量",
  16321. "type": "integer"
  16322. },
  16323. "vendorattr": {
  16324. "description": "供应商附件(多张,逗号分隔)",
  16325. "type": "string"
  16326. },
  16327. "vendorname": {
  16328. "description": "供应商名称",
  16329. "type": "string"
  16330. },
  16331. "vendorphone": {
  16332. "description": "供应商客服电话",
  16333. "type": "string"
  16334. },
  16335. "videourls": {
  16336. "description": "介绍视频[多张用逗号分隔]",
  16337. "type": "string"
  16338. }
  16339. }
  16340. },
  16341. "models.HsbyMarketInfo": {
  16342. "type": "object",
  16343. "required": [
  16344. "marketid",
  16345. "marketstatus",
  16346. "trademode"
  16347. ],
  16348. "properties": {
  16349. "marketid": {
  16350. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16351. "type": "integer"
  16352. },
  16353. "marketname": {
  16354. "description": "市场名称",
  16355. "type": "string"
  16356. },
  16357. "marketstatus": {
  16358. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16359. "type": "integer"
  16360. },
  16361. "trademode": {
  16362. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16363. "type": "integer"
  16364. }
  16365. }
  16366. },
  16367. "models.HsbyMyGoods": {
  16368. "type": "object",
  16369. "required": [
  16370. "accountid",
  16371. "goodscode",
  16372. "goodsid",
  16373. "goodsname",
  16374. "marketid",
  16375. "trademode"
  16376. ],
  16377. "properties": {
  16378. "accountid": {
  16379. "description": "账号Id",
  16380. "type": "integer"
  16381. },
  16382. "agreeunit": {
  16383. "description": "合约单位",
  16384. "type": "number"
  16385. },
  16386. "buyaverageprice": {
  16387. "description": "持仓均价",
  16388. "type": "number"
  16389. },
  16390. "buycurholderamount": {
  16391. "description": "买当前持仓总金额[商品币种]",
  16392. "type": "number"
  16393. },
  16394. "buycurpositionqty": {
  16395. "description": "买当前持仓总数量",
  16396. "type": "integer"
  16397. },
  16398. "buymaxqty": {
  16399. "description": "购买上限 [71] - 0为不限",
  16400. "type": "integer"
  16401. },
  16402. "currencysign": {
  16403. "description": "货币符号",
  16404. "type": "string"
  16405. },
  16406. "decimalplace": {
  16407. "description": "报价小数位",
  16408. "type": "integer"
  16409. },
  16410. "enableqty": {
  16411. "description": "可用数量",
  16412. "type": "integer"
  16413. },
  16414. "goodscode": {
  16415. "description": "商品代码(内部)",
  16416. "type": "string"
  16417. },
  16418. "goodsid": {
  16419. "description": "商品Id",
  16420. "type": "integer"
  16421. },
  16422. "goodsname": {
  16423. "description": "商品名称",
  16424. "type": "string"
  16425. },
  16426. "goodsprice": {
  16427. "description": "商品价格",
  16428. "type": "number"
  16429. },
  16430. "goodsstatus": {
  16431. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16432. "type": "integer"
  16433. },
  16434. "last": {
  16435. "description": "现价(仅使用于挂牌点选)",
  16436. "type": "number"
  16437. },
  16438. "limitdown": {
  16439. "description": "跌停价(仅使用于挂牌点选)",
  16440. "type": "number"
  16441. },
  16442. "limitup": {
  16443. "description": "涨停价(仅使用于挂牌点选)",
  16444. "type": "number"
  16445. },
  16446. "lotsize": {
  16447. "description": "手数最小变动单位",
  16448. "type": "integer"
  16449. },
  16450. "marketid": {
  16451. "description": "所属市场ID",
  16452. "type": "integer"
  16453. },
  16454. "picurls": {
  16455. "description": "介绍图片[多张用逗号分隔]",
  16456. "type": "string"
  16457. },
  16458. "quoteminunit": {
  16459. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16460. "type": "integer"
  16461. },
  16462. "stepvalue": {
  16463. "description": "价格最小变动单位",
  16464. "type": "number"
  16465. },
  16466. "trademode": {
  16467. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16468. "type": "integer"
  16469. }
  16470. }
  16471. },
  16472. "models.HsbyMyPackage": {
  16473. "type": "object",
  16474. "required": [
  16475. "goodscode",
  16476. "goodsname",
  16477. "takeorderid",
  16478. "trademode"
  16479. ],
  16480. "properties": {
  16481. "accountid": {
  16482. "description": "账户ID",
  16483. "type": "integer"
  16484. },
  16485. "address": {
  16486. "description": "提货人详细地址",
  16487. "type": "string"
  16488. },
  16489. "agreeunit": {
  16490. "description": "合约单位",
  16491. "type": "number"
  16492. },
  16493. "amount": {
  16494. "description": "提货金额",
  16495. "type": "number"
  16496. },
  16497. "auditer": {
  16498. "description": "审核人",
  16499. "type": "integer"
  16500. },
  16501. "audittime": {
  16502. "description": "审核时间",
  16503. "type": "string"
  16504. },
  16505. "averageprice": {
  16506. "description": "均价",
  16507. "type": "number"
  16508. },
  16509. "cardnum": {
  16510. "description": "提货人证件号码",
  16511. "type": "string"
  16512. },
  16513. "cardtypeid": {
  16514. "description": "提货人证件类型",
  16515. "type": "integer"
  16516. },
  16517. "checkremark": {
  16518. "description": "审核备注",
  16519. "type": "string"
  16520. },
  16521. "currencysign": {
  16522. "description": "货币符号",
  16523. "type": "string"
  16524. },
  16525. "decimalplace": {
  16526. "description": "报价小数位",
  16527. "type": "integer"
  16528. },
  16529. "goodscode": {
  16530. "description": "商品代码(内部)",
  16531. "type": "string"
  16532. },
  16533. "goodsid": {
  16534. "description": "商品ID",
  16535. "type": "integer"
  16536. },
  16537. "goodsname": {
  16538. "description": "商品名称",
  16539. "type": "string"
  16540. },
  16541. "handlestatus": {
  16542. "description": "处理状态",
  16543. "type": "integer"
  16544. },
  16545. "marketid": {
  16546. "description": "市场ID",
  16547. "type": "integer"
  16548. },
  16549. "phonenum": {
  16550. "description": "提货人联系方式",
  16551. "type": "string"
  16552. },
  16553. "picurls": {
  16554. "description": "介绍图片[多张用逗号分隔]",
  16555. "type": "string"
  16556. },
  16557. "qty": {
  16558. "description": "提货数量",
  16559. "type": "number"
  16560. },
  16561. "recivername": {
  16562. "description": "提货人姓名",
  16563. "type": "string"
  16564. },
  16565. "reqtime": {
  16566. "description": "更新时间",
  16567. "type": "string"
  16568. },
  16569. "takemode": {
  16570. "description": "提货方式 - 2:自提 3:配送",
  16571. "type": "integer"
  16572. },
  16573. "takeorderid": {
  16574. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16575. "type": "string"
  16576. },
  16577. "takeorderstatus": {
  16578. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16579. "type": "integer"
  16580. },
  16581. "takeremark": {
  16582. "description": "提货备注",
  16583. "type": "string"
  16584. },
  16585. "tradedate": {
  16586. "description": "交易日(yyyyMMdd)",
  16587. "type": "string"
  16588. },
  16589. "trademode": {
  16590. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16591. "type": "integer"
  16592. },
  16593. "userid": {
  16594. "description": "用户ID",
  16595. "type": "integer"
  16596. },
  16597. "vendorname": {
  16598. "description": "供应商名称",
  16599. "type": "string"
  16600. }
  16601. }
  16602. },
  16603. "models.HsbyPreGoods": {
  16604. "type": "object",
  16605. "required": [
  16606. "goodscode",
  16607. "goodsid",
  16608. "goodsname",
  16609. "marketid",
  16610. "trademode"
  16611. ],
  16612. "properties": {
  16613. "agreeunit": {
  16614. "description": "合约单位",
  16615. "type": "number"
  16616. },
  16617. "currency": {
  16618. "description": "货币",
  16619. "type": "string"
  16620. },
  16621. "currencysign": {
  16622. "description": "货币符号",
  16623. "type": "string"
  16624. },
  16625. "decimalplace": {
  16626. "description": "报价小数位",
  16627. "type": "integer"
  16628. },
  16629. "desccityid": {
  16630. "description": "目的地(市)",
  16631. "type": "integer"
  16632. },
  16633. "descprovinceid": {
  16634. "description": "目的地(省)",
  16635. "type": "integer"
  16636. },
  16637. "enableqty": {
  16638. "description": "剩余数量",
  16639. "type": "integer"
  16640. },
  16641. "goodscode": {
  16642. "description": "商品代码(内部)",
  16643. "type": "string"
  16644. },
  16645. "goodsid": {
  16646. "description": "商品ID(自增ID SEQ_GOODS)",
  16647. "type": "integer"
  16648. },
  16649. "goodsname": {
  16650. "description": "商品名称",
  16651. "type": "string"
  16652. },
  16653. "goodsstatus": {
  16654. "description": "商品状态- 2:未上市 3:上市",
  16655. "type": "integer"
  16656. },
  16657. "lasttradedate": {
  16658. "description": "最后交易日期(状态:待退市)",
  16659. "type": "string"
  16660. },
  16661. "listingdate": {
  16662. "description": "交易开始日期",
  16663. "type": "string"
  16664. },
  16665. "marketid": {
  16666. "description": "所属市场ID",
  16667. "type": "integer"
  16668. },
  16669. "picurls": {
  16670. "description": "介绍图片[多张用逗号分隔]",
  16671. "type": "string"
  16672. },
  16673. "presaledqty": {
  16674. "description": "已预售量(预售结束时更新)",
  16675. "type": "integer"
  16676. },
  16677. "presaleqty": {
  16678. "description": "预售数量",
  16679. "type": "integer"
  16680. },
  16681. "quoteminunit": {
  16682. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16683. "type": "integer"
  16684. },
  16685. "refprice": {
  16686. "description": "参考价格[一口价]",
  16687. "type": "number"
  16688. },
  16689. "relatedgoodsid": {
  16690. "description": "关联交易合约ID",
  16691. "type": "integer"
  16692. },
  16693. "trademode": {
  16694. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16695. "type": "integer"
  16696. },
  16697. "videourls": {
  16698. "description": "介绍视频[多张用逗号分隔]",
  16699. "type": "string"
  16700. }
  16701. }
  16702. },
  16703. "models.HsbyPreGoodsDetail": {
  16704. "type": "object",
  16705. "required": [
  16706. "goodscode",
  16707. "goodsid",
  16708. "goodsname",
  16709. "marketid",
  16710. "trademode"
  16711. ],
  16712. "properties": {
  16713. "agreeunit": {
  16714. "description": "合约单位",
  16715. "type": "number"
  16716. },
  16717. "buymaxqty": {
  16718. "description": "购买上限 [71] - 0为不限",
  16719. "type": "integer"
  16720. },
  16721. "currency": {
  16722. "description": "货币",
  16723. "type": "string"
  16724. },
  16725. "currencysign": {
  16726. "description": "货币符号",
  16727. "type": "string"
  16728. },
  16729. "customername": {
  16730. "description": "发行单位",
  16731. "type": "string"
  16732. },
  16733. "decimalplace": {
  16734. "description": "报价小数位",
  16735. "type": "integer"
  16736. },
  16737. "desccityid": {
  16738. "description": "目的地(市)ID",
  16739. "type": "integer"
  16740. },
  16741. "descprovinceid": {
  16742. "description": "目的地(省)ID",
  16743. "type": "integer"
  16744. },
  16745. "enableqty": {
  16746. "description": "剩余数量",
  16747. "type": "integer"
  16748. },
  16749. "goodscode": {
  16750. "description": "商品代码(内部)",
  16751. "type": "string"
  16752. },
  16753. "goodsdesc": {
  16754. "description": "商品详情",
  16755. "type": "string"
  16756. },
  16757. "goodsid": {
  16758. "description": "商品ID(自增ID SEQ_GOODS)",
  16759. "type": "integer"
  16760. },
  16761. "goodsname": {
  16762. "description": "商品名称",
  16763. "type": "string"
  16764. },
  16765. "goodsstatus": {
  16766. "description": "商品状态- 2:未上市 3:上市",
  16767. "type": "integer"
  16768. },
  16769. "goodunit": {
  16770. "description": "报价单位",
  16771. "type": "string"
  16772. },
  16773. "lasttradedate": {
  16774. "description": "最后交易日期(状态:待退市)",
  16775. "type": "string"
  16776. },
  16777. "listingdate": {
  16778. "description": "交易开始日期",
  16779. "type": "string"
  16780. },
  16781. "lotsize": {
  16782. "description": "手数最小变动单位",
  16783. "type": "integer"
  16784. },
  16785. "marketid": {
  16786. "description": "所属市场ID",
  16787. "type": "integer"
  16788. },
  16789. "picurls": {
  16790. "description": "介绍图片[多张用逗号分隔]",
  16791. "type": "string"
  16792. },
  16793. "presaledqty": {
  16794. "description": "已预售量(预售结束时更新)",
  16795. "type": "integer"
  16796. },
  16797. "presaleqty": {
  16798. "description": "预售数量",
  16799. "type": "integer"
  16800. },
  16801. "quoteminunit": {
  16802. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16803. "type": "integer"
  16804. },
  16805. "refprice": {
  16806. "description": "参考价格[一口价]",
  16807. "type": "number"
  16808. },
  16809. "relatedgoodsid": {
  16810. "description": "关联交易合约ID",
  16811. "type": "integer"
  16812. },
  16813. "stepvalue": {
  16814. "description": "价格最小变动单位",
  16815. "type": "number"
  16816. },
  16817. "trademode": {
  16818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16819. "type": "integer"
  16820. },
  16821. "vendorattr": {
  16822. "description": "供应商附件(多张,逗号分隔)",
  16823. "type": "string"
  16824. },
  16825. "vendorname": {
  16826. "description": "供应商名称",
  16827. "type": "string"
  16828. },
  16829. "vendorphone": {
  16830. "description": "供应商客服电话",
  16831. "type": "string"
  16832. },
  16833. "videourls": {
  16834. "description": "介绍视频[多张用逗号分隔]",
  16835. "type": "string"
  16836. }
  16837. }
  16838. },
  16839. "models.HsbySellCollectionOrder": {
  16840. "type": "object",
  16841. "required": [
  16842. "goodscode",
  16843. "goodsname",
  16844. "tradeid",
  16845. "trademode"
  16846. ],
  16847. "properties": {
  16848. "agreeunit": {
  16849. "description": "合约单位",
  16850. "type": "number"
  16851. },
  16852. "buyaccountid": {
  16853. "description": "买方账号ID[报价币种]",
  16854. "type": "integer"
  16855. },
  16856. "buyorderid": {
  16857. "description": "买方委托单号",
  16858. "type": "string"
  16859. },
  16860. "createtime": {
  16861. "description": "创建时间",
  16862. "type": "string"
  16863. },
  16864. "currencysign": {
  16865. "description": "货币符号",
  16866. "type": "string"
  16867. },
  16868. "decimalplace": {
  16869. "description": "报价小数位",
  16870. "type": "integer"
  16871. },
  16872. "goodscode": {
  16873. "description": "商品代码(内部)",
  16874. "type": "string"
  16875. },
  16876. "goodsid": {
  16877. "description": "商品ID",
  16878. "type": "integer"
  16879. },
  16880. "goodsname": {
  16881. "description": "商品名称",
  16882. "type": "string"
  16883. },
  16884. "marketid": {
  16885. "description": "市场ID",
  16886. "type": "integer"
  16887. },
  16888. "offamount": {
  16889. "description": "优惠金额",
  16890. "type": "number"
  16891. },
  16892. "payamount": {
  16893. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  16894. "type": "number"
  16895. },
  16896. "payflag": {
  16897. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16898. "type": "integer"
  16899. },
  16900. "paylimitedtime": {
  16901. "description": "支付期限",
  16902. "type": "string"
  16903. },
  16904. "paytime": {
  16905. "description": "付款时间",
  16906. "type": "string"
  16907. },
  16908. "picurls": {
  16909. "description": "商品介绍图片[多张用逗号分隔]",
  16910. "type": "string"
  16911. },
  16912. "sellaccountid": {
  16913. "description": "卖方账号ID[报价币种]",
  16914. "type": "integer"
  16915. },
  16916. "sellorderid": {
  16917. "description": "卖方委托单号",
  16918. "type": "string"
  16919. },
  16920. "tradeamount": {
  16921. "description": "成交金额",
  16922. "type": "number"
  16923. },
  16924. "tradecharge": {
  16925. "description": "成交手续费(买方)",
  16926. "type": "number"
  16927. },
  16928. "tradedate": {
  16929. "description": "交易日(yyyyMMdd)",
  16930. "type": "string"
  16931. },
  16932. "tradeid": {
  16933. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16934. "type": "string"
  16935. },
  16936. "trademode": {
  16937. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16938. "type": "integer"
  16939. },
  16940. "tradeprice": {
  16941. "description": "成交价格",
  16942. "type": "number"
  16943. },
  16944. "tradeqty": {
  16945. "description": "成交数量",
  16946. "type": "integer"
  16947. }
  16948. }
  16949. },
  16950. "models.HsbySellMyDetail": {
  16951. "type": "object",
  16952. "required": [
  16953. "accountid",
  16954. "buyorsell",
  16955. "goodscode",
  16956. "goodsid",
  16957. "goodsname",
  16958. "marketid",
  16959. "orderid",
  16960. "time",
  16961. "trademode"
  16962. ],
  16963. "properties": {
  16964. "accountid": {
  16965. "description": "账户ID[报价币种]",
  16966. "type": "integer"
  16967. },
  16968. "agreeunit": {
  16969. "description": "合约单位",
  16970. "type": "number"
  16971. },
  16972. "buyorsell": {
  16973. "description": "买卖 - 0:买 1:卖",
  16974. "type": "integer"
  16975. },
  16976. "currencysign": {
  16977. "description": "货币符号",
  16978. "type": "string"
  16979. },
  16980. "decimalplace": {
  16981. "description": "报价小数位",
  16982. "type": "integer"
  16983. },
  16984. "goodscode": {
  16985. "description": "商品代码(内部)",
  16986. "type": "string"
  16987. },
  16988. "goodsid": {
  16989. "description": "商品ID",
  16990. "type": "integer"
  16991. },
  16992. "goodsname": {
  16993. "description": "商品名称",
  16994. "type": "string"
  16995. },
  16996. "marketid": {
  16997. "description": "市场ID",
  16998. "type": "integer"
  16999. },
  17000. "orderid": {
  17001. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17002. "type": "string"
  17003. },
  17004. "ordertype": {
  17005. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17006. "type": "integer"
  17007. },
  17008. "picurls": {
  17009. "description": "介绍图片[多张用逗号分隔]",
  17010. "type": "string"
  17011. },
  17012. "price": {
  17013. "description": "价格",
  17014. "type": "number"
  17015. },
  17016. "qty": {
  17017. "description": "数量",
  17018. "type": "integer"
  17019. },
  17020. "time": {
  17021. "description": "时间",
  17022. "type": "string"
  17023. },
  17024. "trademode": {
  17025. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17026. "type": "integer"
  17027. },
  17028. "vendorname": {
  17029. "description": "供应商名称",
  17030. "type": "string"
  17031. }
  17032. }
  17033. },
  17034. "models.HsbyTopGoods": {
  17035. "type": "object",
  17036. "required": [
  17037. "goodscode",
  17038. "goodsid",
  17039. "goodsname",
  17040. "marketid",
  17041. "trademode"
  17042. ],
  17043. "properties": {
  17044. "agreeunit": {
  17045. "description": "合约单位",
  17046. "type": "number"
  17047. },
  17048. "currency": {
  17049. "description": "货币",
  17050. "type": "string"
  17051. },
  17052. "currencysign": {
  17053. "description": "货币符号",
  17054. "type": "string"
  17055. },
  17056. "decimalplace": {
  17057. "description": "报价小数位",
  17058. "type": "integer"
  17059. },
  17060. "desccityid": {
  17061. "description": "目的地(市)",
  17062. "type": "integer"
  17063. },
  17064. "descprovinceid": {
  17065. "description": "目的地(省)",
  17066. "type": "integer"
  17067. },
  17068. "goodscode": {
  17069. "description": "商品代码(内部)",
  17070. "type": "string"
  17071. },
  17072. "goodsid": {
  17073. "description": "商品ID(自增ID SEQ_GOODS)",
  17074. "type": "integer"
  17075. },
  17076. "goodsname": {
  17077. "description": "商品名称",
  17078. "type": "string"
  17079. },
  17080. "hotindex": {
  17081. "description": "景点热度",
  17082. "type": "integer"
  17083. },
  17084. "last": {
  17085. "description": "现价",
  17086. "type": "number"
  17087. },
  17088. "marketid": {
  17089. "description": "所属市场ID",
  17090. "type": "integer"
  17091. },
  17092. "picurls": {
  17093. "description": "介绍图片[多张用逗号分隔]",
  17094. "type": "string"
  17095. },
  17096. "quoteminunit": {
  17097. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17098. "type": "integer"
  17099. },
  17100. "trademode": {
  17101. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17102. "type": "integer"
  17103. },
  17104. "videourls": {
  17105. "description": "介绍视频[多张用逗号分隔]",
  17106. "type": "string"
  17107. }
  17108. }
  17109. },
  17110. "models.HybsMyBuyOrderDetail": {
  17111. "type": "object",
  17112. "required": [
  17113. "accountid",
  17114. "buyorsell",
  17115. "goodscode",
  17116. "goodsid",
  17117. "goodsname",
  17118. "marketid",
  17119. "orderid",
  17120. "orderqty",
  17121. "ordertime",
  17122. "trademode"
  17123. ],
  17124. "properties": {
  17125. "accountid": {
  17126. "description": "账户ID[报价币种]",
  17127. "type": "integer"
  17128. },
  17129. "agreeunit": {
  17130. "description": "合约单位",
  17131. "type": "number"
  17132. },
  17133. "buyorsell": {
  17134. "description": "买卖 - 0:买 1:卖",
  17135. "type": "integer"
  17136. },
  17137. "cancelqty": {
  17138. "description": "撤单数量",
  17139. "type": "integer"
  17140. },
  17141. "currencysign": {
  17142. "description": "货币符号",
  17143. "type": "string"
  17144. },
  17145. "decimalplace": {
  17146. "description": "报价小数位",
  17147. "type": "integer"
  17148. },
  17149. "goodscode": {
  17150. "description": "商品代码(内部)",
  17151. "type": "string"
  17152. },
  17153. "goodsid": {
  17154. "description": "商品ID",
  17155. "type": "integer"
  17156. },
  17157. "goodsname": {
  17158. "description": "商品名称",
  17159. "type": "string"
  17160. },
  17161. "listingselecttype": {
  17162. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17163. "type": "integer"
  17164. },
  17165. "marketid": {
  17166. "description": "市场ID",
  17167. "type": "integer"
  17168. },
  17169. "mybuystatus": {
  17170. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17171. "type": "integer"
  17172. },
  17173. "orderamount": {
  17174. "description": "委托金额",
  17175. "type": "number"
  17176. },
  17177. "orderid": {
  17178. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17179. "type": "string"
  17180. },
  17181. "orderprice": {
  17182. "description": "委托价格",
  17183. "type": "number"
  17184. },
  17185. "orderqty": {
  17186. "description": "委托数量",
  17187. "type": "integer"
  17188. },
  17189. "orderstatus": {
  17190. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17191. "type": "integer"
  17192. },
  17193. "ordertime": {
  17194. "description": "委托时间",
  17195. "type": "string"
  17196. },
  17197. "picurls1": {
  17198. "description": "预售商品介绍图片[多张用逗号分隔]",
  17199. "type": "string"
  17200. },
  17201. "picurls2": {
  17202. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17203. "type": "string"
  17204. },
  17205. "trademode": {
  17206. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17207. "type": "integer"
  17208. },
  17209. "tradeqty": {
  17210. "description": "成交数量",
  17211. "type": "integer"
  17212. },
  17213. "vendorname1": {
  17214. "description": "预售商品供应商名称",
  17215. "type": "string"
  17216. },
  17217. "vendorname2": {
  17218. "description": "挂牌商品供应商名称",
  17219. "type": "string"
  17220. }
  17221. }
  17222. },
  17223. "models.Loginaccount": {
  17224. "type": "object",
  17225. "required": [
  17226. "loginid"
  17227. ],
  17228. "properties": {
  17229. "canoutin": {
  17230. "description": "是否可出入金 - 0:不可 1:可",
  17231. "type": "integer"
  17232. },
  17233. "clientroleid": {
  17234. "description": "终端角色ID",
  17235. "type": "integer"
  17236. },
  17237. "haslogined": {
  17238. "description": "是否已登录 - 0:未登录 1:已登录",
  17239. "type": "integer"
  17240. },
  17241. "hasupdatedpwd": {
  17242. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17243. "type": "integer"
  17244. },
  17245. "lastloginip": {
  17246. "description": "最新登录地址",
  17247. "type": "string"
  17248. },
  17249. "lastloginmode": {
  17250. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17251. "type": "integer"
  17252. },
  17253. "lastloginremark": {
  17254. "description": "最新登录描述",
  17255. "type": "string"
  17256. },
  17257. "lastlogintime": {
  17258. "description": "最新登录时间",
  17259. "type": "string"
  17260. },
  17261. "logincode": {
  17262. "description": "登录代码",
  17263. "type": "string"
  17264. },
  17265. "loginfailnum": {
  17266. "description": "连续登录失败次数(登录成功时清零)",
  17267. "type": "integer"
  17268. },
  17269. "loginid": {
  17270. "description": "登陆账号",
  17271. "type": "integer"
  17272. },
  17273. "loginport": {
  17274. "description": "最新登录端口",
  17275. "type": "integer"
  17276. },
  17277. "loginstatus": {
  17278. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17279. "type": "integer"
  17280. },
  17281. "loginusertype": {
  17282. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17283. "type": "integer"
  17284. },
  17285. "modifierid": {
  17286. "description": "修改人",
  17287. "type": "integer"
  17288. },
  17289. "modifytime": {
  17290. "description": "修改时间",
  17291. "type": "string"
  17292. },
  17293. "pwdwrongcount": {
  17294. "description": "密码错误次数",
  17295. "type": "integer"
  17296. },
  17297. "taaccountrighttype": {
  17298. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17299. "type": "integer"
  17300. },
  17301. "unfreezetime": {
  17302. "description": "账户解冻时间",
  17303. "type": "string"
  17304. },
  17305. "userid": {
  17306. "description": "用户ID",
  17307. "type": "integer"
  17308. }
  17309. }
  17310. },
  17311. "models.MainAccountInfo": {
  17312. "type": "object",
  17313. "properties": {
  17314. "accountid": {
  17315. "description": "账号id",
  17316. "type": "string"
  17317. },
  17318. "appid": {
  17319. "description": "AppID",
  17320. "type": "string"
  17321. },
  17322. "authcode": {
  17323. "description": "授权码",
  17324. "type": "string"
  17325. },
  17326. "brokerid": {
  17327. "description": "经纪商id",
  17328. "type": "string"
  17329. },
  17330. "fcid": {
  17331. "description": "期货公司id",
  17332. "type": "integer"
  17333. },
  17334. "fcname": {
  17335. "description": "期货公司代码",
  17336. "type": "string"
  17337. },
  17338. "hedgeaccountcode": {
  17339. "description": "外部账号代码",
  17340. "type": "string"
  17341. },
  17342. "hedgeaccountpwd": {
  17343. "description": "密码",
  17344. "type": "string"
  17345. },
  17346. "ismain": {
  17347. "description": "是否主账号",
  17348. "type": "integer"
  17349. },
  17350. "relateduserid": {
  17351. "description": "关联用户id",
  17352. "type": "integer"
  17353. }
  17354. }
  17355. },
  17356. "models.Market": {
  17357. "type": "object",
  17358. "required": [
  17359. "marketid",
  17360. "marketstatus",
  17361. "openmethod",
  17362. "reckonpricealgorithm",
  17363. "trademode",
  17364. "tradeproperty"
  17365. ],
  17366. "properties": {
  17367. "auctionwrtype": {
  17368. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17369. "type": "integer"
  17370. },
  17371. "canacceptquote": {
  17372. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17373. "type": "integer"
  17374. },
  17375. "cangoodsexercise": {
  17376. "description": "[期权]是否可现货行权- 0:否 1:是",
  17377. "type": "integer"
  17378. },
  17379. "cangoodsexercisetype": {
  17380. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17381. "type": "integer"
  17382. },
  17383. "canmanualquotestrike": {
  17384. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17385. "type": "integer"
  17386. },
  17387. "canmutistage": {
  17388. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17389. "type": "integer"
  17390. },
  17391. "canpreexercise": {
  17392. "description": "[期权]是否可预申报- 0:否 1:是",
  17393. "type": "integer"
  17394. },
  17395. "clearinterval": {
  17396. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17397. "type": "integer"
  17398. },
  17399. "contracttmp": {
  17400. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17401. "type": "string"
  17402. },
  17403. "exchareaid": {
  17404. "description": "所属交易所,可以没有",
  17405. "type": "integer"
  17406. },
  17407. "goodstype": {
  17408. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17409. "type": "integer"
  17410. },
  17411. "hasrebate": {
  17412. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17413. "type": "integer"
  17414. },
  17415. "hastradecredit": {
  17416. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17417. "type": "integer"
  17418. },
  17419. "haswr": {
  17420. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17421. "type": "integer"
  17422. },
  17423. "isdeductmargin": {
  17424. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17425. "type": "integer"
  17426. },
  17427. "isrecordsource": {
  17428. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17429. "type": "integer"
  17430. },
  17431. "isreleasemargin": {
  17432. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17433. "type": "integer"
  17434. },
  17435. "marginformula": {
  17436. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17437. "type": "integer"
  17438. },
  17439. "marginformula2": {
  17440. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17441. "type": "integer"
  17442. },
  17443. "marketid": {
  17444. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17445. "type": "integer"
  17446. },
  17447. "marketname": {
  17448. "description": "市场名称",
  17449. "type": "string"
  17450. },
  17451. "marketserviceid": {
  17452. "description": "市场服务ID",
  17453. "type": "integer"
  17454. },
  17455. "marketstatus": {
  17456. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17457. "type": "integer"
  17458. },
  17459. "markettype": {
  17460. "description": "市场类型- 1:非交易服务 2:交易服务",
  17461. "type": "integer"
  17462. },
  17463. "matchermode": {
  17464. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17465. "type": "integer"
  17466. },
  17467. "openmethod": {
  17468. "description": "开盘模式 - 0 自动 1手动",
  17469. "type": "integer"
  17470. },
  17471. "otcuserid": {
  17472. "description": "场外期权做市商[场外期权]",
  17473. "type": "integer"
  17474. },
  17475. "outersynctime": {
  17476. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17477. "type": "string"
  17478. },
  17479. "pendingflag": {
  17480. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17481. "type": "integer"
  17482. },
  17483. "pendingtime": {
  17484. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17485. "type": "string"
  17486. },
  17487. "performancetempid": {
  17488. "description": "履约计划模板ID - 作废",
  17489. "type": "integer"
  17490. },
  17491. "premiumquotemode": {
  17492. "description": "权利金报价方式 - 1:自动 2:手动",
  17493. "type": "integer"
  17494. },
  17495. "rebateratio": {
  17496. "description": "返利比率[竞价式]",
  17497. "type": "number"
  17498. },
  17499. "reckonorder": {
  17500. "description": "结算顺序",
  17501. "type": "integer"
  17502. },
  17503. "reckonpricealgorithm": {
  17504. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17505. "type": "integer"
  17506. },
  17507. "reckonpriceparam": {
  17508. "description": "结算价参数",
  17509. "type": "integer"
  17510. },
  17511. "reckontime": {
  17512. "description": "结算时间[通道交易-对冲](HH:mm)",
  17513. "type": "string"
  17514. },
  17515. "roleprioritytype": {
  17516. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17517. "type": "integer"
  17518. },
  17519. "selllistingauditflag": {
  17520. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17521. "type": "integer"
  17522. },
  17523. "trademarkettype": {
  17524. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17525. "type": "integer"
  17526. },
  17527. "trademode": {
  17528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17529. "type": "integer"
  17530. },
  17531. "tradeproperty": {
  17532. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17533. "type": "integer"
  17534. },
  17535. "tradetype": {
  17536. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  17537. "type": "integer"
  17538. }
  17539. }
  17540. },
  17541. "models.Marketrun": {
  17542. "type": "object",
  17543. "required": [
  17544. "marketid",
  17545. "nexttradedate",
  17546. "reckonflag",
  17547. "runstatus",
  17548. "tradedate",
  17549. "tradedate2"
  17550. ],
  17551. "properties": {
  17552. "afternexttradedate": {
  17553. "description": "下下交易日",
  17554. "type": "string"
  17555. },
  17556. "clearquoteflag": {
  17557. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  17558. "type": "integer"
  17559. },
  17560. "lastreckondate": {
  17561. "description": "最新交易日(结算成功)",
  17562. "type": "string"
  17563. },
  17564. "machinedate": {
  17565. "description": "机器时间",
  17566. "type": "string"
  17567. },
  17568. "manualflag": {
  17569. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  17570. "type": "integer"
  17571. },
  17572. "marketid": {
  17573. "description": "市场ID",
  17574. "type": "integer"
  17575. },
  17576. "nexttradedate": {
  17577. "description": "下一交易日",
  17578. "type": "string"
  17579. },
  17580. "pretradedate": {
  17581. "description": "上一交易日",
  17582. "type": "string"
  17583. },
  17584. "reckonflag": {
  17585. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  17586. "type": "integer"
  17587. },
  17588. "runstatus": {
  17589. "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.今日免清算",
  17590. "type": "integer"
  17591. },
  17592. "sectionid": {
  17593. "description": "时间段号[多时段时用]",
  17594. "type": "integer"
  17595. },
  17596. "tradedate": {
  17597. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  17598. "type": "string"
  17599. },
  17600. "tradedate2": {
  17601. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  17602. "type": "string"
  17603. },
  17604. "updatetime": {
  17605. "description": "更新时间",
  17606. "type": "string"
  17607. }
  17608. }
  17609. },
  17610. "models.Messageboard": {
  17611. "type": "object",
  17612. "required": [
  17613. "messageboardid"
  17614. ],
  17615. "properties": {
  17616. "contactnum": {
  17617. "description": "联系电话",
  17618. "type": "string"
  17619. },
  17620. "createtime": {
  17621. "description": "创建时间",
  17622. "type": "string"
  17623. },
  17624. "message": {
  17625. "description": "留言信息",
  17626. "type": "string"
  17627. },
  17628. "messageboardid": {
  17629. "description": "留言簿ID(SEQ_MessageBoard)",
  17630. "type": "integer"
  17631. },
  17632. "userid": {
  17633. "description": "用户ID",
  17634. "type": "integer"
  17635. }
  17636. }
  17637. },
  17638. "models.MyCoupon": {
  17639. "type": "object",
  17640. "required": [
  17641. "accountid",
  17642. "coupontypeid"
  17643. ],
  17644. "properties": {
  17645. "accountid": {
  17646. "description": "资金账户ID",
  17647. "type": "integer"
  17648. },
  17649. "areauserid": {
  17650. "description": "所属机构",
  17651. "type": "integer"
  17652. },
  17653. "conditionvalue": {
  17654. "description": "条件阈值(可为0)",
  17655. "type": "number"
  17656. },
  17657. "couponcategroy": {
  17658. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  17659. "type": "integer"
  17660. },
  17661. "couponname": {
  17662. "description": "优惠券名称",
  17663. "type": "string"
  17664. },
  17665. "coupontypeid": {
  17666. "description": "优惠券类型ID",
  17667. "type": "string"
  17668. },
  17669. "couponvalue": {
  17670. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17671. "type": "number"
  17672. },
  17673. "curfreezeqty": {
  17674. "description": "期末冻结数量",
  17675. "type": "integer"
  17676. },
  17677. "curqty": {
  17678. "description": "期末数量",
  17679. "type": "integer"
  17680. },
  17681. "isgeneral": {
  17682. "description": "是否通用券 - 0:否 1:是",
  17683. "type": "integer"
  17684. },
  17685. "isunusable": {
  17686. "description": "是否不可用",
  17687. "type": "boolean"
  17688. },
  17689. "limitedflag": {
  17690. "description": "是否指定商品 - 0:不限 1:限制",
  17691. "type": "integer"
  17692. },
  17693. "limitedgoodsids": {
  17694. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  17695. "type": "string"
  17696. },
  17697. "orifreezeqty": {
  17698. "description": "期初冻结数量",
  17699. "type": "integer"
  17700. },
  17701. "oriqty": {
  17702. "description": "期初数量",
  17703. "type": "integer"
  17704. },
  17705. "reasontype": {
  17706. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  17707. "type": "integer"
  17708. },
  17709. "todaydecrease": {
  17710. "description": "今日减少",
  17711. "type": "integer"
  17712. },
  17713. "todayincrease": {
  17714. "description": "今日增加",
  17715. "type": "integer"
  17716. },
  17717. "userid": {
  17718. "description": "用户ID",
  17719. "type": "integer"
  17720. },
  17721. "userscope": {
  17722. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  17723. "type": "string"
  17724. }
  17725. }
  17726. },
  17727. "models.MyCouponHold": {
  17728. "type": "object",
  17729. "required": [
  17730. "couponholdid"
  17731. ],
  17732. "properties": {
  17733. "accountid": {
  17734. "description": "资金账户ID",
  17735. "type": "integer"
  17736. },
  17737. "conditionvalue": {
  17738. "description": "条件阈值(可为0)",
  17739. "type": "number"
  17740. },
  17741. "couponcategroy": {
  17742. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  17743. "type": "integer"
  17744. },
  17745. "couponholdid": {
  17746. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  17747. "type": "string"
  17748. },
  17749. "couponname": {
  17750. "description": "优惠券名称",
  17751. "type": "string"
  17752. },
  17753. "coupontypeid": {
  17754. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  17755. "type": "string"
  17756. },
  17757. "couponvalue": {
  17758. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17759. "type": "number"
  17760. },
  17761. "createtime": {
  17762. "description": "创建时间",
  17763. "type": "string"
  17764. },
  17765. "enddate": {
  17766. "description": "结束日期",
  17767. "type": "string"
  17768. },
  17769. "giveapplyid": {
  17770. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  17771. "type": "integer"
  17772. },
  17773. "holdstatus": {
  17774. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  17775. "type": "integer"
  17776. },
  17777. "isgeneral": {
  17778. "description": "是否通用券 - 0:否 1:是",
  17779. "type": "integer"
  17780. },
  17781. "limitedflag": {
  17782. "description": "是否指定商品 - 0:不限 1:限制",
  17783. "type": "integer"
  17784. },
  17785. "limitedgoodsids": {
  17786. "description": "指定商品IDs[逗号分隔]",
  17787. "type": "string"
  17788. },
  17789. "qty": {
  17790. "description": "数量(按1平铺)",
  17791. "type": "integer"
  17792. },
  17793. "startdate": {
  17794. "description": "开始日期",
  17795. "type": "string"
  17796. },
  17797. "userid": {
  17798. "description": "用户ID",
  17799. "type": "integer"
  17800. },
  17801. "userscope": {
  17802. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  17803. "type": "string"
  17804. }
  17805. }
  17806. },
  17807. "models.MyUsedCoupon": {
  17808. "type": "object",
  17809. "required": [
  17810. "coupontypeid",
  17811. "orderid"
  17812. ],
  17813. "properties": {
  17814. "accountid": {
  17815. "description": "资金账户ID(买方)",
  17816. "type": "integer"
  17817. },
  17818. "conditionvalue": {
  17819. "description": "条件阈值(可为0)",
  17820. "type": "number"
  17821. },
  17822. "couponcategroy": {
  17823. "description": "种类 - 1:现金券 2:折扣券",
  17824. "type": "integer"
  17825. },
  17826. "couponname": {
  17827. "description": "优惠券名称",
  17828. "type": "string"
  17829. },
  17830. "coupontypeid": {
  17831. "description": "优惠券类型ID(买方)",
  17832. "type": "string"
  17833. },
  17834. "couponvalue": {
  17835. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  17836. "type": "number"
  17837. },
  17838. "createtime": {
  17839. "description": "创建时间",
  17840. "type": "string"
  17841. },
  17842. "goodsid": {
  17843. "description": "商品ID",
  17844. "type": "integer"
  17845. },
  17846. "handlestatus": {
  17847. "description": "处理状态",
  17848. "type": "integer"
  17849. },
  17850. "marketid": {
  17851. "description": "市场ID",
  17852. "type": "integer"
  17853. },
  17854. "offamount": {
  17855. "description": "优惠金额",
  17856. "type": "number"
  17857. },
  17858. "orderid": {
  17859. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17860. "type": "string"
  17861. },
  17862. "sellaccountid": {
  17863. "description": "资金账户ID(卖方)",
  17864. "type": "integer"
  17865. },
  17866. "tradeamount": {
  17867. "description": "成交金额",
  17868. "type": "number"
  17869. },
  17870. "tradeid": {
  17871. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17872. "type": "string"
  17873. },
  17874. "usedqty": {
  17875. "description": "使用数量",
  17876. "type": "integer"
  17877. }
  17878. }
  17879. },
  17880. "models.OperationPrimaryMenu": {
  17881. "type": "object",
  17882. "properties": {
  17883. "Children": {
  17884. "description": "二级功能菜单",
  17885. "type": "array",
  17886. "items": {
  17887. "$ref": "#/definitions/models.OperationSecondaryMenu"
  17888. }
  17889. },
  17890. "Key": {
  17891. "description": "菜单KEY",
  17892. "type": "string"
  17893. },
  17894. "Label": {
  17895. "description": "菜单标题",
  17896. "type": "string"
  17897. }
  17898. }
  17899. },
  17900. "models.OperationSecondaryMenu": {
  17901. "type": "object",
  17902. "properties": {
  17903. "Key": {
  17904. "description": "菜单KEY",
  17905. "type": "string"
  17906. },
  17907. "Label": {
  17908. "description": "菜单标题",
  17909. "type": "string"
  17910. },
  17911. "TabList": {
  17912. "description": "三级功能菜单",
  17913. "type": "array",
  17914. "items": {
  17915. "$ref": "#/definitions/models.OperationTabMenu"
  17916. }
  17917. }
  17918. }
  17919. },
  17920. "models.OperationTabMenu": {
  17921. "type": "object",
  17922. "properties": {
  17923. "Key": {
  17924. "description": "菜单KEY",
  17925. "type": "string"
  17926. },
  17927. "Label": {
  17928. "description": "菜单标题",
  17929. "type": "string"
  17930. }
  17931. }
  17932. },
  17933. "models.PendingAuditBizModel": {
  17934. "type": "object",
  17935. "properties": {
  17936. "accountid": {
  17937. "description": "现货账户",
  17938. "type": "string"
  17939. },
  17940. "areaname": {
  17941. "description": "所属部门",
  17942. "type": "string"
  17943. },
  17944. "bizid": {
  17945. "description": "业务ID",
  17946. "type": "string"
  17947. },
  17948. "bizname": {
  17949. "description": "业务名称",
  17950. "type": "string"
  17951. },
  17952. "status": {
  17953. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17954. "type": "integer"
  17955. },
  17956. "type": {
  17957. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17958. "type": "integer"
  17959. }
  17960. }
  17961. },
  17962. "models.QueryErrorInfosRsp": {
  17963. "type": "object",
  17964. "required": [
  17965. "errorid"
  17966. ],
  17967. "properties": {
  17968. "description": {
  17969. "description": "异常描述",
  17970. "type": "string"
  17971. },
  17972. "errorcode": {
  17973. "description": "异常代码",
  17974. "type": "string"
  17975. },
  17976. "errorid": {
  17977. "description": "异常ID",
  17978. "type": "integer"
  17979. },
  17980. "modulecode": {
  17981. "description": "所属模块",
  17982. "type": "string"
  17983. },
  17984. "operatecode": {
  17985. "description": "所属操作",
  17986. "type": "string"
  17987. },
  17988. "rownumber": {
  17989. "description": "行号",
  17990. "type": "string"
  17991. }
  17992. }
  17993. },
  17994. "models.QueryHedgeOrderDetailRsp": {
  17995. "type": "object",
  17996. "properties": {
  17997. "accountid": {
  17998. "description": "账户ID",
  17999. "type": "integer"
  18000. },
  18001. "buyorsell": {
  18002. "description": "买卖 - 0:买 1:卖",
  18003. "type": "integer"
  18004. },
  18005. "cancellogincode": {
  18006. "description": "撤单人",
  18007. "type": "string"
  18008. },
  18009. "channelbuildtype": {
  18010. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18011. "type": "integer"
  18012. },
  18013. "channelinnerorderstatus": {
  18014. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18015. "type": "integer"
  18016. },
  18017. "channeloperatetype": {
  18018. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18019. "type": "integer"
  18020. },
  18021. "closetype": {
  18022. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18023. "type": "integer"
  18024. },
  18025. "curexchangerate": {
  18026. "description": "当前汇率",
  18027. "type": "number"
  18028. },
  18029. "exchangefullname": {
  18030. "description": "外部交易所全称",
  18031. "type": "string"
  18032. },
  18033. "goodscode": {
  18034. "description": "商品代码(内部)",
  18035. "type": "string"
  18036. },
  18037. "goodsid": {
  18038. "description": "商品ID",
  18039. "type": "integer"
  18040. },
  18041. "goodsname": {
  18042. "description": "商品名称",
  18043. "type": "string"
  18044. },
  18045. "marketid": {
  18046. "description": "市场ID",
  18047. "type": "integer"
  18048. },
  18049. "openfreezemargin": {
  18050. "description": "冻结保证金(冻结交易金额)",
  18051. "type": "number"
  18052. },
  18053. "orderid": {
  18054. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18055. "type": "string"
  18056. },
  18057. "orderlogincode": {
  18058. "description": "委托人",
  18059. "type": "string"
  18060. },
  18061. "orderprice": {
  18062. "description": "委托价格(账户)",
  18063. "type": "number"
  18064. },
  18065. "orderqty": {
  18066. "description": "委托数量",
  18067. "type": "integer"
  18068. },
  18069. "ordertime": {
  18070. "description": "委托时间",
  18071. "type": "string"
  18072. },
  18073. "pricemode": {
  18074. "description": "取价方式 - 1:市价 2: 限价",
  18075. "type": "integer"
  18076. },
  18077. "tradedate": {
  18078. "description": "交易日(yyyyMMdd)",
  18079. "type": "string"
  18080. },
  18081. "tradeqty": {
  18082. "description": "成交数量",
  18083. "type": "integer"
  18084. }
  18085. }
  18086. },
  18087. "models.QueryHedgeTradeDetailRsp": {
  18088. "type": "object",
  18089. "properties": {
  18090. "accountid": {
  18091. "description": "账号ID",
  18092. "type": "integer"
  18093. },
  18094. "buyorsell": {
  18095. "description": "方向 - 0:买 1:卖",
  18096. "type": "integer"
  18097. },
  18098. "channelbuildtype": {
  18099. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18100. "type": "integer"
  18101. },
  18102. "closecharge": {
  18103. "description": "平仓手续费(账户)",
  18104. "type": "number"
  18105. },
  18106. "closecharge2": {
  18107. "description": "平仓手续费(商品)",
  18108. "type": "number"
  18109. },
  18110. "closepl": {
  18111. "description": "平仓盈亏(账户)",
  18112. "type": "number"
  18113. },
  18114. "closepl2": {
  18115. "description": "平仓盈亏(商品)",
  18116. "type": "number"
  18117. },
  18118. "closepl3": {
  18119. "description": "平仓盈亏(账户)(逐笔)",
  18120. "type": "number"
  18121. },
  18122. "closepl4": {
  18123. "description": "平仓盈亏(商品)(逐笔)",
  18124. "type": "number"
  18125. },
  18126. "closetype": {
  18127. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18128. "type": "integer"
  18129. },
  18130. "curexchangerate": {
  18131. "description": "当前汇率",
  18132. "type": "number"
  18133. },
  18134. "exchangefullname": {
  18135. "description": "外部交易所全称",
  18136. "type": "string"
  18137. },
  18138. "goodscode": {
  18139. "description": "商品代码(内部)",
  18140. "type": "string"
  18141. },
  18142. "goodsid": {
  18143. "description": "商品ID",
  18144. "type": "integer"
  18145. },
  18146. "goodsname": {
  18147. "description": "商品名称",
  18148. "type": "string"
  18149. },
  18150. "marketid": {
  18151. "description": "市场ID",
  18152. "type": "integer"
  18153. },
  18154. "opencharge": {
  18155. "description": "建仓手续费(账户)",
  18156. "type": "number"
  18157. },
  18158. "opencharge2": {
  18159. "description": "建仓手续费(商品)",
  18160. "type": "number"
  18161. },
  18162. "orderid": {
  18163. "description": "委托单号",
  18164. "type": "string"
  18165. },
  18166. "orderlogincode": {
  18167. "description": "委托人",
  18168. "type": "string"
  18169. },
  18170. "tradeamount": {
  18171. "description": "成交金额(账户)",
  18172. "type": "number"
  18173. },
  18174. "tradedate": {
  18175. "description": "交易日(yyyyMMdd)",
  18176. "type": "string"
  18177. },
  18178. "tradeid": {
  18179. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18180. "type": "string"
  18181. },
  18182. "tradeprice": {
  18183. "description": "成交价格",
  18184. "type": "number"
  18185. },
  18186. "tradeqty": {
  18187. "description": "成交数量",
  18188. "type": "integer"
  18189. },
  18190. "tradetime": {
  18191. "description": "成交时间",
  18192. "type": "string"
  18193. },
  18194. "tradetype": {
  18195. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18196. "type": "integer"
  18197. }
  18198. }
  18199. },
  18200. "models.QuotePrimaryMenu": {
  18201. "type": "object",
  18202. "properties": {
  18203. "Index": {
  18204. "description": "序号",
  18205. "type": "integer"
  18206. },
  18207. "Key": {
  18208. "description": "键名",
  18209. "type": "string"
  18210. },
  18211. "Name": {
  18212. "description": "菜单名称",
  18213. "type": "string"
  18214. },
  18215. "SubMenus": {
  18216. "description": "子菜单",
  18217. "type": "array",
  18218. "items": {
  18219. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18220. }
  18221. },
  18222. "SubTitleType": {
  18223. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18224. "type": "integer"
  18225. },
  18226. "TradeModes": {
  18227. "description": "包含市场交易类型",
  18228. "type": "string"
  18229. }
  18230. }
  18231. },
  18232. "models.QuoteSecondaryMenu": {
  18233. "type": "object",
  18234. "properties": {
  18235. "ExExchangeCode": {
  18236. "description": "外部交易所代码",
  18237. "type": "string"
  18238. },
  18239. "ExExchangeID": {
  18240. "description": "外部交易所ID",
  18241. "type": "integer"
  18242. },
  18243. "GoodsGroupIDs": {
  18244. "description": "商品组ID列表",
  18245. "type": "array",
  18246. "items": {
  18247. "type": "integer"
  18248. }
  18249. },
  18250. "Index": {
  18251. "description": "序号",
  18252. "type": "integer"
  18253. },
  18254. "MarketID": {
  18255. "description": "市场ID",
  18256. "type": "integer"
  18257. },
  18258. "MenuTitle": {
  18259. "description": "菜单标题(市场名称或外部交易所名称)",
  18260. "type": "string"
  18261. },
  18262. "TradeMode": {
  18263. "description": "交易模式",
  18264. "type": "integer"
  18265. }
  18266. }
  18267. },
  18268. "models.RelatedGoodsEx": {
  18269. "type": "object",
  18270. "properties": {
  18271. "goodscode": {
  18272. "description": "商品代码",
  18273. "type": "string"
  18274. },
  18275. "goodsid": {
  18276. "description": "商品id",
  18277. "type": "integer"
  18278. },
  18279. "goodsname": {
  18280. "description": "商品名称",
  18281. "type": "string"
  18282. }
  18283. }
  18284. },
  18285. "models.SearchGoods": {
  18286. "type": "object",
  18287. "required": [
  18288. "goodscode",
  18289. "goodsid",
  18290. "goodsname",
  18291. "marketid",
  18292. "trademode"
  18293. ],
  18294. "properties": {
  18295. "goodscode": {
  18296. "description": "商品代码(内部)",
  18297. "type": "string"
  18298. },
  18299. "goodsid": {
  18300. "description": "商品ID(自增ID SEQ_GOODS)",
  18301. "type": "integer"
  18302. },
  18303. "goodsname": {
  18304. "description": "商品名称",
  18305. "type": "string"
  18306. },
  18307. "marketid": {
  18308. "description": "所属市场ID",
  18309. "type": "integer"
  18310. },
  18311. "marketname": {
  18312. "description": "市场名称",
  18313. "type": "string"
  18314. },
  18315. "trademode": {
  18316. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18317. "type": "integer"
  18318. }
  18319. }
  18320. },
  18321. "models.Systemparam": {
  18322. "type": "object",
  18323. "required": [
  18324. "paramcode"
  18325. ],
  18326. "properties": {
  18327. "loginid": {
  18328. "description": "更新用户账号,登录账号",
  18329. "type": "string"
  18330. },
  18331. "modifyflag": {
  18332. "description": "修改标志0 不允许修改 1 允许修改",
  18333. "type": "integer"
  18334. },
  18335. "paramcode": {
  18336. "description": "参数代码",
  18337. "type": "string"
  18338. },
  18339. "paramname": {
  18340. "description": "参数名",
  18341. "type": "string"
  18342. },
  18343. "paramtype": {
  18344. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18345. "type": "integer"
  18346. },
  18347. "paramvalue": {
  18348. "description": "参数值",
  18349. "type": "string"
  18350. },
  18351. "paramvalue2": {
  18352. "description": "参数值(CLOB)",
  18353. "type": "string"
  18354. },
  18355. "regexpress": {
  18356. "description": "正则表达式",
  18357. "type": "string"
  18358. },
  18359. "remark": {
  18360. "description": "备注",
  18361. "type": "string"
  18362. },
  18363. "serverip": {
  18364. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18365. "type": "string"
  18366. },
  18367. "showflag": {
  18368. "description": "是否显示0 不显示 1 显示",
  18369. "type": "integer"
  18370. },
  18371. "updatetime": {
  18372. "description": "更新时间",
  18373. "type": "string"
  18374. },
  18375. "userid": {
  18376. "description": "更新用户ID",
  18377. "type": "integer"
  18378. }
  18379. }
  18380. },
  18381. "models.Szdz3convertconfig": {
  18382. "type": "object",
  18383. "required": [
  18384. "converttype",
  18385. "innergoodsid",
  18386. "outergoodscode"
  18387. ],
  18388. "properties": {
  18389. "canin": {
  18390. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18391. "type": "integer"
  18392. },
  18393. "canout": {
  18394. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18395. "type": "integer"
  18396. },
  18397. "converttype": {
  18398. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18399. "type": "integer"
  18400. },
  18401. "createtime": {
  18402. "description": "创建时间",
  18403. "type": "string"
  18404. },
  18405. "creatorid": {
  18406. "description": "创建人",
  18407. "type": "integer"
  18408. },
  18409. "daymaxvalue": {
  18410. "description": "当日最大转入限制",
  18411. "type": "number"
  18412. },
  18413. "freezedays": {
  18414. "description": "冻结天数 [5:花生米转交易]",
  18415. "type": "integer"
  18416. },
  18417. "innergoodsid": {
  18418. "description": "内部商品ID[交易]",
  18419. "type": "integer"
  18420. },
  18421. "inratio": {
  18422. "description": "目标值",
  18423. "type": "integer"
  18424. },
  18425. "modifierid": {
  18426. "description": "修改人",
  18427. "type": "integer"
  18428. },
  18429. "modifytime": {
  18430. "description": "修改时间",
  18431. "type": "string"
  18432. },
  18433. "outergoodscode": {
  18434. "description": "外部商品代码[JD\\PD]",
  18435. "type": "string"
  18436. },
  18437. "outratio": {
  18438. "description": "源值",
  18439. "type": "integer"
  18440. },
  18441. "pddecimalplace": {
  18442. "description": "PD小数位",
  18443. "type": "integer"
  18444. },
  18445. "timemaxvalue": {
  18446. "description": "单次最大转入限制",
  18447. "type": "number"
  18448. },
  18449. "timeminvalue": {
  18450. "description": "单次最小转入限制",
  18451. "type": "number"
  18452. }
  18453. }
  18454. },
  18455. "models.Szdz3searchwhitelist": {
  18456. "type": "object",
  18457. "required": [
  18458. "userid"
  18459. ],
  18460. "properties": {
  18461. "createtime": {
  18462. "description": "创建时间",
  18463. "type": "string"
  18464. },
  18465. "creatorid": {
  18466. "description": "创建人",
  18467. "type": "integer"
  18468. },
  18469. "modifierid": {
  18470. "description": "修改人",
  18471. "type": "integer"
  18472. },
  18473. "modifytime": {
  18474. "description": "修改时间",
  18475. "type": "string"
  18476. },
  18477. "userid": {
  18478. "description": "用户ID",
  18479. "type": "integer"
  18480. }
  18481. }
  18482. },
  18483. "models.Taaccount": {
  18484. "type": "object",
  18485. "required": [
  18486. "accountid",
  18487. "userid"
  18488. ],
  18489. "properties": {
  18490. "accountflag": {
  18491. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18492. "type": "integer"
  18493. },
  18494. "accountid": {
  18495. "description": "资金账户ID",
  18496. "type": "integer"
  18497. },
  18498. "accountname": {
  18499. "description": "账户名称",
  18500. "type": "string"
  18501. },
  18502. "balance": {
  18503. "description": "期初余额",
  18504. "type": "number"
  18505. },
  18506. "capitalbalance": {
  18507. "description": "本金余额[外部子账户实际出入金余额]",
  18508. "type": "number"
  18509. },
  18510. "changeflag": {
  18511. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18512. "type": "integer"
  18513. },
  18514. "changetime": {
  18515. "description": "账户状态变更时间",
  18516. "type": "string"
  18517. },
  18518. "closepl": {
  18519. "description": "今日平仓盈亏",
  18520. "type": "number"
  18521. },
  18522. "creditdecrease": {
  18523. "description": "今日授信减少",
  18524. "type": "number"
  18525. },
  18526. "creditincrease": {
  18527. "description": "今日授信增加",
  18528. "type": "number"
  18529. },
  18530. "currencyid": {
  18531. "description": "货币ID",
  18532. "type": "integer"
  18533. },
  18534. "currentbalance": {
  18535. "description": "期末余额",
  18536. "type": "number"
  18537. },
  18538. "freezecharge": {
  18539. "description": "手续费冻结",
  18540. "type": "number"
  18541. },
  18542. "freezemargin": {
  18543. "description": "冻结保证金",
  18544. "type": "number"
  18545. },
  18546. "fromaccountid": {
  18547. "description": "所属上级账户",
  18548. "type": "integer"
  18549. },
  18550. "inamount": {
  18551. "description": "今日入金金额(包括三方入金)",
  18552. "type": "number"
  18553. },
  18554. "ismain": {
  18555. "description": "是否母账号 0:不是母账户 1:是母账户",
  18556. "type": "integer"
  18557. },
  18558. "ismarketaccount": {
  18559. "description": "是否机构接单账号 0:不是 1:是",
  18560. "type": "integer"
  18561. },
  18562. "isreckonaccount": {
  18563. "description": "是否机构分润账号 0:不是 1:是",
  18564. "type": "integer"
  18565. },
  18566. "mortgagecredit": {
  18567. "description": "授信金额",
  18568. "type": "number"
  18569. },
  18570. "orifreezecharge": {
  18571. "description": "期初手续费冻结",
  18572. "type": "number"
  18573. },
  18574. "orifreezemargin": {
  18575. "description": "期初冻结保证金",
  18576. "type": "number"
  18577. },
  18578. "orimortgagecredit": {
  18579. "description": "期初授信金额",
  18580. "type": "number"
  18581. },
  18582. "oriothercredit": {
  18583. "description": "期初其它授信金额",
  18584. "type": "number"
  18585. },
  18586. "oriotherfreezemargin": {
  18587. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18588. "type": "number"
  18589. },
  18590. "orioutamountfreeze": {
  18591. "description": "期初出金冻结",
  18592. "type": "number"
  18593. },
  18594. "oriusedmargin": {
  18595. "description": "期初占用保证金",
  18596. "type": "number"
  18597. },
  18598. "othercredit": {
  18599. "description": "其它授信金额",
  18600. "type": "number"
  18601. },
  18602. "othercreditdecrease": {
  18603. "description": "今日其它授信减少",
  18604. "type": "number"
  18605. },
  18606. "othercreditincrease": {
  18607. "description": "今日其它授信增加",
  18608. "type": "number"
  18609. },
  18610. "otherfreezemargin": {
  18611. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18612. "type": "number"
  18613. },
  18614. "otherincome": {
  18615. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  18616. "type": "number"
  18617. },
  18618. "otherpay": {
  18619. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  18620. "type": "number"
  18621. },
  18622. "outamount": {
  18623. "description": "今日出金金额(包括三方出金)",
  18624. "type": "number"
  18625. },
  18626. "outamountfreeze": {
  18627. "description": "出金冻结",
  18628. "type": "number"
  18629. },
  18630. "outthreshold": {
  18631. "description": "出金阈值",
  18632. "type": "number"
  18633. },
  18634. "parentaccountid": {
  18635. "description": "所属根账号",
  18636. "type": "integer"
  18637. },
  18638. "paycharge": {
  18639. "description": "今日手续费支出",
  18640. "type": "number"
  18641. },
  18642. "relatedaccountstatus": {
  18643. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  18644. "type": "integer"
  18645. },
  18646. "relateduserid": {
  18647. "description": "关联用户",
  18648. "type": "integer"
  18649. },
  18650. "serivcegroup": {
  18651. "description": "服务分组",
  18652. "type": "integer"
  18653. },
  18654. "signstatus": {
  18655. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18656. "type": "integer"
  18657. },
  18658. "sublevelpath": {
  18659. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18660. "type": "string"
  18661. },
  18662. "taaccounttype": {
  18663. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18664. "type": "integer"
  18665. },
  18666. "thirdinamount": {
  18667. "description": "今日三方入金",
  18668. "type": "number"
  18669. },
  18670. "thirdoutamount": {
  18671. "description": "今日三方出金",
  18672. "type": "number"
  18673. },
  18674. "tradestatus": {
  18675. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18676. "type": "integer"
  18677. },
  18678. "tradestatuschangetime": {
  18679. "description": "激活时间",
  18680. "type": "string"
  18681. },
  18682. "transferamount": {
  18683. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18684. "type": "number"
  18685. },
  18686. "usedmargin": {
  18687. "description": "占用保证金",
  18688. "type": "number"
  18689. },
  18690. "userid": {
  18691. "description": "用户ID",
  18692. "type": "integer"
  18693. }
  18694. }
  18695. },
  18696. "models.Tablecolumnconfig": {
  18697. "type": "object",
  18698. "required": [
  18699. "autoid"
  18700. ],
  18701. "properties": {
  18702. "aligntype": {
  18703. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  18704. "type": "integer"
  18705. },
  18706. "autoid": {
  18707. "description": "AutoID",
  18708. "type": "integer"
  18709. },
  18710. "columnfield": {
  18711. "description": "列字段",
  18712. "type": "string"
  18713. },
  18714. "columntitle": {
  18715. "description": "列Title",
  18716. "type": "string"
  18717. },
  18718. "columnwidth": {
  18719. "description": "列宽",
  18720. "type": "string"
  18721. },
  18722. "formatterstring": {
  18723. "description": "格式化字符",
  18724. "type": "string"
  18725. },
  18726. "formattertype": {
  18727. "description": "格式化类型",
  18728. "type": "string"
  18729. },
  18730. "groupname": {
  18731. "description": "表头分组名称",
  18732. "type": "string"
  18733. },
  18734. "isshow": {
  18735. "description": "是否显示 - 0:不显示 1:显示",
  18736. "type": "integer"
  18737. },
  18738. "needsummary": {
  18739. "description": "是否需要汇总 - 0:不需要 1:需要",
  18740. "type": "integer"
  18741. },
  18742. "orderindex": {
  18743. "description": "顺序",
  18744. "type": "integer"
  18745. },
  18746. "remark": {
  18747. "description": "备注",
  18748. "type": "string"
  18749. },
  18750. "summarytype": {
  18751. "description": "汇总类型 - 1:加总 2:最后一个",
  18752. "type": "integer"
  18753. },
  18754. "tablekey": {
  18755. "description": "列表Key",
  18756. "type": "string"
  18757. }
  18758. }
  18759. },
  18760. "models.Useraccount": {
  18761. "type": "object",
  18762. "required": [
  18763. "userid"
  18764. ],
  18765. "properties": {
  18766. "accountname": {
  18767. "description": "账户名称(机构名称)",
  18768. "type": "string"
  18769. },
  18770. "accountstatus": {
  18771. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18772. "type": "integer"
  18773. },
  18774. "auditremark": {
  18775. "description": "审核备注",
  18776. "type": "string"
  18777. },
  18778. "audittime": {
  18779. "description": "审核时间",
  18780. "type": "string"
  18781. },
  18782. "audituserid": {
  18783. "description": "审核人",
  18784. "type": "integer"
  18785. },
  18786. "broker": {
  18787. "description": "所属经纪人ID",
  18788. "type": "integer"
  18789. },
  18790. "canceltime": {
  18791. "description": "销户时间",
  18792. "type": "string"
  18793. },
  18794. "canceluserid": {
  18795. "description": "销户人",
  18796. "type": "integer"
  18797. },
  18798. "createtime": {
  18799. "description": "创建时间",
  18800. "type": "string"
  18801. },
  18802. "creatorid": {
  18803. "description": "创建人",
  18804. "type": "integer"
  18805. },
  18806. "hasauth": {
  18807. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18808. "type": "integer"
  18809. },
  18810. "isanonymous": {
  18811. "description": "是否匿名下单 - 0:否 1:是",
  18812. "type": "integer"
  18813. },
  18814. "maxinvestornum": {
  18815. "description": "最大用户数(经纪会员下投资者个数)",
  18816. "type": "integer"
  18817. },
  18818. "memberuserid": {
  18819. "description": "所属会员ID",
  18820. "type": "integer"
  18821. },
  18822. "modifierid": {
  18823. "description": "修改人",
  18824. "type": "integer"
  18825. },
  18826. "modifyremark": {
  18827. "description": "变更备注",
  18828. "type": "string"
  18829. },
  18830. "modifystatus": {
  18831. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18832. "type": "integer"
  18833. },
  18834. "modifytime": {
  18835. "description": "修改时间",
  18836. "type": "string"
  18837. },
  18838. "parentuserid": {
  18839. "description": "所属机构ID",
  18840. "type": "integer"
  18841. },
  18842. "reckonaccountid": {
  18843. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18844. "type": "integer"
  18845. },
  18846. "refercount": {
  18847. "description": "推荐总人数",
  18848. "type": "integer"
  18849. },
  18850. "refereeuserid": {
  18851. "description": "推荐人ID",
  18852. "type": "integer"
  18853. },
  18854. "refernum": {
  18855. "description": "推荐码",
  18856. "type": "string"
  18857. },
  18858. "subarealevelpath": {
  18859. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18860. "type": "string"
  18861. },
  18862. "userid": {
  18863. "description": "用户ID",
  18864. "type": "integer"
  18865. },
  18866. "usertype": {
  18867. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  18868. "type": "integer"
  18869. }
  18870. }
  18871. },
  18872. "models.Userfavoritegoods": {
  18873. "type": "object",
  18874. "required": [
  18875. "goodsid"
  18876. ],
  18877. "properties": {
  18878. "goodsid": {
  18879. "description": "商品ID",
  18880. "type": "integer"
  18881. }
  18882. }
  18883. },
  18884. "models.Userinfo": {
  18885. "type": "object",
  18886. "required": [
  18887. "userid"
  18888. ],
  18889. "properties": {
  18890. "address": {
  18891. "description": "地址",
  18892. "type": "string"
  18893. },
  18894. "attachment1": {
  18895. "description": "附件1",
  18896. "type": "string"
  18897. },
  18898. "attachment2": {
  18899. "description": "附件2",
  18900. "type": "string"
  18901. },
  18902. "bankaccount": {
  18903. "description": "银行帐号 (加密存储)",
  18904. "type": "string"
  18905. },
  18906. "bankaccountname": {
  18907. "description": "收款人名称",
  18908. "type": "string"
  18909. },
  18910. "bankcardfrontphotourl": {
  18911. "description": "银行卡正面照地址",
  18912. "type": "string"
  18913. },
  18914. "bankid": {
  18915. "description": "银行编码",
  18916. "type": "string"
  18917. },
  18918. "bankname": {
  18919. "description": "银行名称",
  18920. "type": "string"
  18921. },
  18922. "biznature": {
  18923. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18924. "type": "integer"
  18925. },
  18926. "bizscope": {
  18927. "description": "企业经营范围(企业)",
  18928. "type": "string"
  18929. },
  18930. "cardbackphotourl": {
  18931. "description": "证件背面图片地址",
  18932. "type": "string"
  18933. },
  18934. "cardfrontphotourl": {
  18935. "description": "证件正面图片地址",
  18936. "type": "string"
  18937. },
  18938. "cardnum": {
  18939. "description": "证件号码(加密存储)",
  18940. "type": "string"
  18941. },
  18942. "cardtypeid": {
  18943. "description": "证件类型ID",
  18944. "type": "integer"
  18945. },
  18946. "cityid": {
  18947. "description": "市",
  18948. "type": "integer"
  18949. },
  18950. "company": {
  18951. "description": "公司(个人)",
  18952. "type": "string"
  18953. },
  18954. "contactname": {
  18955. "description": "联系人",
  18956. "type": "string"
  18957. },
  18958. "countryid": {
  18959. "description": "国家",
  18960. "type": "integer"
  18961. },
  18962. "createtime": {
  18963. "description": "创建时间",
  18964. "type": "string"
  18965. },
  18966. "creatorid": {
  18967. "description": "创建人",
  18968. "type": "integer"
  18969. },
  18970. "customername": {
  18971. "description": "客户名称(企业名称)",
  18972. "type": "string"
  18973. },
  18974. "districtid": {
  18975. "description": "地区",
  18976. "type": "integer"
  18977. },
  18978. "email": {
  18979. "description": "邮件(加密存储)",
  18980. "type": "string"
  18981. },
  18982. "fax": {
  18983. "description": "传真(加密存储)",
  18984. "type": "string"
  18985. },
  18986. "halfbodyphotourl": {
  18987. "description": "半身照地址",
  18988. "type": "string"
  18989. },
  18990. "hasencrypt": {
  18991. "description": "数据是否已加密 - 0:未加密 1:已加密",
  18992. "type": "integer"
  18993. },
  18994. "headurl": {
  18995. "description": "头像地址",
  18996. "type": "string"
  18997. },
  18998. "legalcardbackphotourl": {
  18999. "description": "法人身份证背面照地址",
  19000. "type": "string"
  19001. },
  19002. "legalcardfrontphotourl": {
  19003. "description": "法人身份证正面照地址",
  19004. "type": "string"
  19005. },
  19006. "legalpersonname": {
  19007. "description": "法人姓名(企业)",
  19008. "type": "string"
  19009. },
  19010. "mobile": {
  19011. "description": "手机号码(加密存储)",
  19012. "type": "string"
  19013. },
  19014. "mobile2": {
  19015. "description": "手机号码[明文-尚志]",
  19016. "type": "string"
  19017. },
  19018. "modifierid": {
  19019. "description": "修改人",
  19020. "type": "integer"
  19021. },
  19022. "modifiertime": {
  19023. "description": "修改时间",
  19024. "type": "string"
  19025. },
  19026. "needinvoice": {
  19027. "description": "是否需要发票 - 0:不需要 1:需要",
  19028. "type": "integer"
  19029. },
  19030. "nickname": {
  19031. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19032. "type": "string"
  19033. },
  19034. "openmode": {
  19035. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19036. "type": "integer"
  19037. },
  19038. "otherurl": {
  19039. "description": "其它图片地址[使用分号分隔]",
  19040. "type": "string"
  19041. },
  19042. "postalcode": {
  19043. "description": "邮政编码",
  19044. "type": "string"
  19045. },
  19046. "provinceid": {
  19047. "description": "省",
  19048. "type": "integer"
  19049. },
  19050. "qq": {
  19051. "description": "QQ(加密存储",
  19052. "type": "string"
  19053. },
  19054. "remark": {
  19055. "description": "备注",
  19056. "type": "string"
  19057. },
  19058. "sex": {
  19059. "description": "用户性别 0: 女 1: 男",
  19060. "type": "integer"
  19061. },
  19062. "signpdfurl": {
  19063. "description": "签约pdf文件",
  19064. "type": "string"
  19065. },
  19066. "telphone": {
  19067. "description": "联系电话(加密存储)",
  19068. "type": "string"
  19069. },
  19070. "userid": {
  19071. "description": "用户ID",
  19072. "type": "integer"
  19073. },
  19074. "userinfotype": {
  19075. "description": "用户信息类型 - 1:个人 2:企业",
  19076. "type": "integer"
  19077. },
  19078. "userstatus": {
  19079. "description": "用户状态 - 1:正常 2:注销",
  19080. "type": "integer"
  19081. },
  19082. "usertype": {
  19083. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19084. "type": "integer"
  19085. },
  19086. "wechat": {
  19087. "description": "微信(加密存储)",
  19088. "type": "string"
  19089. },
  19090. "wskhinfo": {
  19091. "description": "开户申请信息(JSON)",
  19092. "type": "string"
  19093. }
  19094. }
  19095. },
  19096. "models.WRCategoryTree": {
  19097. "type": "object",
  19098. "required": [
  19099. "categoryid"
  19100. ],
  19101. "properties": {
  19102. "areauserid": {
  19103. "description": "所属机构",
  19104. "type": "integer"
  19105. },
  19106. "categorydesc": {
  19107. "description": "类别描述",
  19108. "type": "string"
  19109. },
  19110. "categoryid": {
  19111. "description": "类别ID(SEQ_WRCATEGORY)",
  19112. "type": "integer"
  19113. },
  19114. "categoryname": {
  19115. "description": "类别名称",
  19116. "type": "string"
  19117. },
  19118. "iconurl": {
  19119. "description": "图标地址",
  19120. "type": "string"
  19121. },
  19122. "orderindex": {
  19123. "description": "顺序",
  19124. "type": "integer"
  19125. },
  19126. "parentcategoryid": {
  19127. "description": "父类别ID",
  19128. "type": "integer"
  19129. },
  19130. "subcategory": {
  19131. "description": "子分类",
  19132. "type": "array",
  19133. "items": {
  19134. "$ref": "#/definitions/models.WRCategoryTree"
  19135. }
  19136. }
  19137. }
  19138. },
  19139. "models.WRSConverTDetail": {
  19140. "type": "object",
  19141. "properties": {
  19142. "convertratio": {
  19143. "description": "套保系数",
  19144. "type": "number"
  19145. },
  19146. "deliverygoodsid": {
  19147. "description": "现货品种ID",
  19148. "type": "integer"
  19149. },
  19150. "enumdicname": {
  19151. "description": "单位名称",
  19152. "type": "string"
  19153. },
  19154. "goodsunitid": {
  19155. "description": "套保品种单位id",
  19156. "type": "integer"
  19157. },
  19158. "middlegoodscode": {
  19159. "description": "套保品种代码",
  19160. "type": "string"
  19161. },
  19162. "middlegoodsid": {
  19163. "description": "套保品种ID",
  19164. "type": "integer"
  19165. },
  19166. "middlegoodsname": {
  19167. "description": "套保品种名称",
  19168. "type": "string"
  19169. },
  19170. "modifytime": {
  19171. "description": "修改时间",
  19172. "type": "string"
  19173. },
  19174. "wrstandardid": {
  19175. "description": "现货商品ID",
  19176. "type": "integer"
  19177. }
  19178. }
  19179. },
  19180. "models.WRStandardInfo": {
  19181. "type": "object",
  19182. "required": [
  19183. "wrstandardid"
  19184. ],
  19185. "properties": {
  19186. "createtime": {
  19187. "description": "创建时间",
  19188. "type": "string"
  19189. },
  19190. "creatorid": {
  19191. "description": "创建人",
  19192. "type": "integer"
  19193. },
  19194. "deliverygoodsid": {
  19195. "description": "品种ID",
  19196. "type": "integer"
  19197. },
  19198. "deliverygoodsname": {
  19199. "description": "交割商品名称",
  19200. "type": "string"
  19201. },
  19202. "factoryitemjson": {
  19203. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19204. "type": "string"
  19205. },
  19206. "isvalid": {
  19207. "description": "是否有效 - 0:无效 1:有效",
  19208. "type": "integer"
  19209. },
  19210. "minivalue": {
  19211. "description": "最小变动值",
  19212. "type": "integer"
  19213. },
  19214. "minivaluedp": {
  19215. "description": "最小变动值小数位",
  19216. "type": "integer"
  19217. },
  19218. "realminivalue": {
  19219. "description": "实际最小变动值",
  19220. "type": "integer"
  19221. },
  19222. "realminivaluedp": {
  19223. "description": "实际最小变动值小数位",
  19224. "type": "integer"
  19225. },
  19226. "unitid": {
  19227. "description": "单位ID",
  19228. "type": "integer"
  19229. },
  19230. "unitname": {
  19231. "description": "单位",
  19232. "type": "string"
  19233. },
  19234. "updatetime": {
  19235. "description": "更新时间",
  19236. "type": "string"
  19237. },
  19238. "updatorid": {
  19239. "description": "更新人",
  19240. "type": "integer"
  19241. },
  19242. "wrsstatus": {
  19243. "description": "状态 - 作废 - 0:未激活 1:正常",
  19244. "type": "integer"
  19245. },
  19246. "wrstandardcode": {
  19247. "description": "仓单标准代码",
  19248. "type": "string"
  19249. },
  19250. "wrstandardid": {
  19251. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19252. "type": "integer"
  19253. },
  19254. "wrstandardname": {
  19255. "description": "仓单标准名称",
  19256. "type": "string"
  19257. }
  19258. }
  19259. },
  19260. "models.Warehouseinfo": {
  19261. "type": "object",
  19262. "required": [
  19263. "autoid",
  19264. "warehousecode"
  19265. ],
  19266. "properties": {
  19267. "address": {
  19268. "description": "详细地址",
  19269. "type": "string"
  19270. },
  19271. "areauserid": {
  19272. "description": "所属机构",
  19273. "type": "integer"
  19274. },
  19275. "autoid": {
  19276. "description": "自增ID",
  19277. "type": "integer"
  19278. },
  19279. "cityid": {
  19280. "description": "市",
  19281. "type": "integer"
  19282. },
  19283. "contactname": {
  19284. "description": "联系人",
  19285. "type": "string"
  19286. },
  19287. "contactnum": {
  19288. "description": "联系电话",
  19289. "type": "string"
  19290. },
  19291. "countryid": {
  19292. "description": "国家",
  19293. "type": "integer"
  19294. },
  19295. "createtime": {
  19296. "description": "创建时间",
  19297. "type": "string"
  19298. },
  19299. "districtid": {
  19300. "description": "区",
  19301. "type": "integer"
  19302. },
  19303. "hasvideo": {
  19304. "description": "是否有视频 - 0:无 1:有",
  19305. "type": "integer"
  19306. },
  19307. "provinceid": {
  19308. "description": "省",
  19309. "type": "integer"
  19310. },
  19311. "remark": {
  19312. "description": "审核备注",
  19313. "type": "string"
  19314. },
  19315. "videourl": {
  19316. "description": "视频地址",
  19317. "type": "string"
  19318. },
  19319. "warehousecode": {
  19320. "description": "仓库代码",
  19321. "type": "string"
  19322. },
  19323. "warehousename": {
  19324. "description": "仓库名称",
  19325. "type": "string"
  19326. },
  19327. "warehousestatus": {
  19328. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19329. "type": "integer"
  19330. },
  19331. "warehousetype": {
  19332. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19333. "type": "integer"
  19334. }
  19335. }
  19336. },
  19337. "order.QueryHisTradeDetailRsp": {
  19338. "type": "object",
  19339. "required": [
  19340. "accountid",
  19341. "buyorsell",
  19342. "goodsid",
  19343. "histradedate",
  19344. "marketid",
  19345. "memberuserid",
  19346. "orderid",
  19347. "tradeamount",
  19348. "tradedate",
  19349. "tradeid",
  19350. "tradeprice",
  19351. "tradeqty",
  19352. "tradetime"
  19353. ],
  19354. "properties": {
  19355. "accountid": {
  19356. "description": "账户ID[报价币种]",
  19357. "type": "integer"
  19358. },
  19359. "buildtype": {
  19360. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19361. "type": "integer"
  19362. },
  19363. "buyorsell": {
  19364. "description": "方向 - 0:买 1:卖",
  19365. "type": "integer"
  19366. },
  19367. "charge": {
  19368. "description": "手续费",
  19369. "type": "number"
  19370. },
  19371. "closecharge": {
  19372. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19373. "type": "number"
  19374. },
  19375. "closeexchagechargevalue": {
  19376. "description": "平仓交易所手续费设置值",
  19377. "type": "number"
  19378. },
  19379. "closefeealgorithm": {
  19380. "description": "平仓手续费收取方式 1:比率 2:固定",
  19381. "type": "integer"
  19382. },
  19383. "closememberchargevalue": {
  19384. "description": "平仓会员手续费设置值",
  19385. "type": "number"
  19386. },
  19387. "closepl": {
  19388. "description": "平仓盈亏",
  19389. "type": "number"
  19390. },
  19391. "closepl2": {
  19392. "description": "平仓盈亏[逐笔]",
  19393. "type": "number"
  19394. },
  19395. "closeqty": {
  19396. "description": "平仓数量(先建后平操作 需要记录)",
  19397. "type": "integer"
  19398. },
  19399. "creditamount": {
  19400. "description": "授信金额",
  19401. "type": "number"
  19402. },
  19403. "gcaccountid": {
  19404. "description": "账户ID[合约币种]",
  19405. "type": "integer"
  19406. },
  19407. "goodscode": {
  19408. "description": "商品代码",
  19409. "type": "string"
  19410. },
  19411. "goodsid": {
  19412. "description": "商品ID",
  19413. "type": "integer"
  19414. },
  19415. "goodsname": {
  19416. "description": "商品名称",
  19417. "type": "string"
  19418. },
  19419. "histradedate": {
  19420. "description": "历史交易日",
  19421. "type": "string"
  19422. },
  19423. "intclosepl": {
  19424. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19425. "type": "integer"
  19426. },
  19427. "isconfirmexercise": {
  19428. "description": "是否确认行权- 0:否 1:是",
  19429. "type": "integer"
  19430. },
  19431. "ismain": {
  19432. "description": "是否主单 - 0:不是 1:是",
  19433. "type": "integer"
  19434. },
  19435. "ispreexercise": {
  19436. "description": "是否预申报- 0:否 1:是",
  19437. "type": "integer"
  19438. },
  19439. "isreckoned": {
  19440. "description": "是否结算 - 0:未结算 1:已结算",
  19441. "type": "integer"
  19442. },
  19443. "isvaliddata": {
  19444. "description": "是否有效 - 0:无效 1:有效",
  19445. "type": "integer"
  19446. },
  19447. "listingselecttype": {
  19448. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19449. "type": "integer"
  19450. },
  19451. "marketid": {
  19452. "description": "市场ID",
  19453. "type": "integer"
  19454. },
  19455. "marketname": {
  19456. "description": "市场名称",
  19457. "type": "string"
  19458. },
  19459. "matchaccountid": {
  19460. "description": "对手账号id",
  19461. "type": "integer"
  19462. },
  19463. "memberuserid": {
  19464. "description": "会员id 个人投资者 需要填写",
  19465. "type": "integer"
  19466. },
  19467. "opencharge": {
  19468. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19469. "type": "number"
  19470. },
  19471. "openexchagechargevalue": {
  19472. "description": "建仓交易所手续费设置值",
  19473. "type": "number"
  19474. },
  19475. "openfeealgorithm": {
  19476. "description": "建仓手续费收取方式 1:比率 2:固定",
  19477. "type": "integer"
  19478. },
  19479. "openmemberchargevalue": {
  19480. "description": "建仓会员手续费设置值",
  19481. "type": "number"
  19482. },
  19483. "openqty": {
  19484. "description": "开仓数量(先建后平操作 需要记录)",
  19485. "type": "integer"
  19486. },
  19487. "optiontype": {
  19488. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19489. "type": "integer"
  19490. },
  19491. "orderid": {
  19492. "description": "委托单号",
  19493. "type": "string"
  19494. },
  19495. "performanceplanid": {
  19496. "description": "履约计划ID[期权]",
  19497. "type": "integer"
  19498. },
  19499. "performancestatus": {
  19500. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19501. "type": "integer"
  19502. },
  19503. "preexerciseprice": {
  19504. "description": "预申报价格",
  19505. "type": "number"
  19506. },
  19507. "premium": {
  19508. "description": "权利金 - [持仓单的权利金]",
  19509. "type": "number"
  19510. },
  19511. "relatedouttradeid": {
  19512. "description": "关联外部成交单ID",
  19513. "type": "integer"
  19514. },
  19515. "status": {
  19516. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19517. "type": "integer"
  19518. },
  19519. "tradeamount": {
  19520. "description": "成交金额[账户币种,用于所有权]",
  19521. "type": "number"
  19522. },
  19523. "tradedate": {
  19524. "description": "交易日(yyyyMMdd)",
  19525. "type": "string"
  19526. },
  19527. "tradeid": {
  19528. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19529. "type": "string"
  19530. },
  19531. "trademode": {
  19532. "description": "交易模式",
  19533. "type": "integer"
  19534. },
  19535. "tradeprice": {
  19536. "description": "成交价格",
  19537. "type": "number"
  19538. },
  19539. "tradeproperty": {
  19540. "description": "交易属性",
  19541. "type": "integer"
  19542. },
  19543. "tradeqty": {
  19544. "description": "成交数量",
  19545. "type": "integer"
  19546. },
  19547. "tradetime": {
  19548. "description": "成交时间",
  19549. "type": "string"
  19550. },
  19551. "tradetype": {
  19552. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19553. "type": "integer"
  19554. }
  19555. }
  19556. },
  19557. "order.QueryHisTradeOrderDetailRsp": {
  19558. "type": "object",
  19559. "required": [
  19560. "accountid",
  19561. "buildtype",
  19562. "buyorsell",
  19563. "goodsid",
  19564. "histradedate",
  19565. "marketid",
  19566. "memberuserid",
  19567. "operatetype",
  19568. "orderid",
  19569. "orderqty",
  19570. "ordertime",
  19571. "pricemode",
  19572. "tradedate",
  19573. "validtype"
  19574. ],
  19575. "properties": {
  19576. "accountid": {
  19577. "description": "账户ID[报价币种]",
  19578. "type": "integer"
  19579. },
  19580. "buildtype": {
  19581. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19582. "type": "integer"
  19583. },
  19584. "buyorsell": {
  19585. "description": "买卖 - 0:买 1:卖",
  19586. "type": "integer"
  19587. },
  19588. "cancelorderid": {
  19589. "description": "撤单单号(撤单时填写)",
  19590. "type": "string"
  19591. },
  19592. "cancelqty": {
  19593. "description": "撤单数量",
  19594. "type": "integer"
  19595. },
  19596. "clientordertime": {
  19597. "description": "客户端委托时间",
  19598. "type": "string"
  19599. },
  19600. "clientticket": {
  19601. "description": "客户端流水号",
  19602. "type": "string"
  19603. },
  19604. "clienttype": {
  19605. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19606. "type": "integer"
  19607. },
  19608. "closeexchagechargevalue": {
  19609. "description": "平仓交易所手续费设置值",
  19610. "type": "number"
  19611. },
  19612. "closefeealgorithm": {
  19613. "description": "平仓手续费收取方式 1:比率 2:固定",
  19614. "type": "integer"
  19615. },
  19616. "closefreezecharge": {
  19617. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19618. "type": "number"
  19619. },
  19620. "closememberchargevalue": {
  19621. "description": "平仓会员手续费设置值",
  19622. "type": "number"
  19623. },
  19624. "closeqty": {
  19625. "description": "平仓数量(先建后平操作 需要记录)",
  19626. "type": "integer"
  19627. },
  19628. "closetradeqty": {
  19629. "description": "平仓成交数量(先建后平操作,需要记录)",
  19630. "type": "integer"
  19631. },
  19632. "closeunfreezecharge": {
  19633. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19634. "type": "number"
  19635. },
  19636. "delistingtype": {
  19637. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19638. "type": "integer"
  19639. },
  19640. "freezecharge": {
  19641. "description": "冻结手续费",
  19642. "type": "number"
  19643. },
  19644. "freezemargin": {
  19645. "description": "冻结保证金(冻结交易金额)",
  19646. "type": "number"
  19647. },
  19648. "gcaccountid": {
  19649. "description": "账户ID[合约币种]",
  19650. "type": "integer"
  19651. },
  19652. "goodscode": {
  19653. "description": "商品代码",
  19654. "type": "string"
  19655. },
  19656. "goodsid": {
  19657. "description": "商品ID",
  19658. "type": "integer"
  19659. },
  19660. "goodsname": {
  19661. "description": "商品名称",
  19662. "type": "string"
  19663. },
  19664. "histradedate": {
  19665. "description": "历史交易日",
  19666. "type": "string"
  19667. },
  19668. "isconfirmexercise": {
  19669. "description": "是否确认行权- 0:否 1:是",
  19670. "type": "integer"
  19671. },
  19672. "ispreexercise": {
  19673. "description": "是否预申报- 0:否 1:是",
  19674. "type": "integer"
  19675. },
  19676. "isvaliddata": {
  19677. "description": "是否有效 - 0:无效 1:有效",
  19678. "type": "integer"
  19679. },
  19680. "listingselecttype": {
  19681. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19682. "type": "integer"
  19683. },
  19684. "marginalgorithm": {
  19685. "description": "保证金收取方式 1:比率 2:固定",
  19686. "type": "integer"
  19687. },
  19688. "marginvalue": {
  19689. "description": "即市保证金设置值",
  19690. "type": "number"
  19691. },
  19692. "marketid": {
  19693. "description": "市场ID",
  19694. "type": "integer"
  19695. },
  19696. "marketmaxsub": {
  19697. "description": "市价最大偏移范围",
  19698. "type": "number"
  19699. },
  19700. "marketname": {
  19701. "description": "市场名称",
  19702. "type": "string"
  19703. },
  19704. "memberuserid": {
  19705. "description": "所属会员UserID",
  19706. "type": "integer"
  19707. },
  19708. "openexchagechargevalue": {
  19709. "description": "建仓交易所手续费设置值",
  19710. "type": "number"
  19711. },
  19712. "openfeealgorithm": {
  19713. "description": "建仓手续费收取方式 1:比率 2:固定",
  19714. "type": "integer"
  19715. },
  19716. "openfreezecharge": {
  19717. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  19718. "type": "number"
  19719. },
  19720. "openmemberchargevalue": {
  19721. "description": "建仓会员手续费设置值",
  19722. "type": "number"
  19723. },
  19724. "openqty": {
  19725. "description": "开仓数量(先建后平操作,需要记录)",
  19726. "type": "integer"
  19727. },
  19728. "opentradeqty": {
  19729. "description": "开仓成交数量(先建后平操作,需要记录)",
  19730. "type": "integer"
  19731. },
  19732. "openunfreezecharge": {
  19733. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  19734. "type": "number"
  19735. },
  19736. "operatetype": {
  19737. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  19738. "type": "integer"
  19739. },
  19740. "operatorid": {
  19741. "description": "登录账号(LoginID)",
  19742. "type": "integer"
  19743. },
  19744. "optiontype": {
  19745. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19746. "type": "integer"
  19747. },
  19748. "orderid": {
  19749. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19750. "type": "string"
  19751. },
  19752. "orderprice": {
  19753. "description": "委托价格",
  19754. "type": "number"
  19755. },
  19756. "orderqty": {
  19757. "description": "委托数量",
  19758. "type": "integer"
  19759. },
  19760. "ordersrc": {
  19761. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  19762. "type": "integer"
  19763. },
  19764. "orderstatus": {
  19765. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19766. "type": "integer"
  19767. },
  19768. "ordertime": {
  19769. "description": "委托时间",
  19770. "type": "string"
  19771. },
  19772. "preexerciseprice": {
  19773. "description": "预申报价格",
  19774. "type": "number"
  19775. },
  19776. "premium": {
  19777. "description": "权利金",
  19778. "type": "number"
  19779. },
  19780. "preorderid": {
  19781. "description": "关联预埋单号(止盈止损单时填写)",
  19782. "type": "string"
  19783. },
  19784. "pricemode": {
  19785. "description": "取价方式 - 1:市价 2: 限价",
  19786. "type": "integer"
  19787. },
  19788. "quoteid": {
  19789. "description": "报价单ID",
  19790. "type": "integer"
  19791. },
  19792. "relatedid": {
  19793. "description": "关联单号(交割单)",
  19794. "type": "string"
  19795. },
  19796. "retcode": {
  19797. "description": "错误代码",
  19798. "type": "integer"
  19799. },
  19800. "sessionid": {
  19801. "description": "会话ID",
  19802. "type": "integer"
  19803. },
  19804. "tradedate": {
  19805. "description": "交易日(yyyyMMdd)",
  19806. "type": "string"
  19807. },
  19808. "trademode": {
  19809. "description": "交易模式",
  19810. "type": "integer"
  19811. },
  19812. "tradeproperty": {
  19813. "description": "交易属性",
  19814. "type": "integer"
  19815. },
  19816. "tradeqty": {
  19817. "description": "成交数量",
  19818. "type": "integer"
  19819. },
  19820. "unfreezecharge": {
  19821. "description": "解冻手续费",
  19822. "type": "number"
  19823. },
  19824. "unfreezemargin": {
  19825. "description": "解冻保证金",
  19826. "type": "number"
  19827. },
  19828. "updatetime": {
  19829. "description": "更新时间",
  19830. "type": "string"
  19831. },
  19832. "uuid": {
  19833. "description": "发起端唯一id",
  19834. "type": "string"
  19835. },
  19836. "validtime": {
  19837. "description": "有效期限",
  19838. "type": "string"
  19839. },
  19840. "validtype": {
  19841. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  19842. "type": "integer"
  19843. },
  19844. "volumetype": {
  19845. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  19846. "type": "integer"
  19847. }
  19848. }
  19849. },
  19850. "order.QueryTradeDetailRsp": {
  19851. "type": "object",
  19852. "required": [
  19853. "accountid",
  19854. "buyorsell",
  19855. "goodsid",
  19856. "marketid",
  19857. "memberuserid",
  19858. "orderid",
  19859. "tradeamount",
  19860. "tradedate",
  19861. "tradeid",
  19862. "tradeprice",
  19863. "tradeqty",
  19864. "tradetime"
  19865. ],
  19866. "properties": {
  19867. "accountid": {
  19868. "description": "账户ID[报价币种]",
  19869. "type": "integer"
  19870. },
  19871. "buildtype": {
  19872. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19873. "type": "integer"
  19874. },
  19875. "buyorsell": {
  19876. "description": "方向 - 0:买 1:卖",
  19877. "type": "integer"
  19878. },
  19879. "charge": {
  19880. "description": "手续费",
  19881. "type": "number"
  19882. },
  19883. "closecharge": {
  19884. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19885. "type": "number"
  19886. },
  19887. "closeexchagechargevalue": {
  19888. "description": "平仓交易所手续费设置值",
  19889. "type": "number"
  19890. },
  19891. "closefeealgorithm": {
  19892. "description": "平仓手续费收取方式 1:比率 2:固定",
  19893. "type": "integer"
  19894. },
  19895. "closememberchargevalue": {
  19896. "description": "平仓会员手续费设置值",
  19897. "type": "number"
  19898. },
  19899. "closepl": {
  19900. "description": "平仓盈亏",
  19901. "type": "number"
  19902. },
  19903. "closepl2": {
  19904. "description": "平仓盈亏[逐笔]",
  19905. "type": "number"
  19906. },
  19907. "closeqty": {
  19908. "description": "平仓数量(先建后平操作 需要记录)",
  19909. "type": "integer"
  19910. },
  19911. "creditamount": {
  19912. "description": "授信金额",
  19913. "type": "number"
  19914. },
  19915. "gcaccountid": {
  19916. "description": "账户ID[合约币种]",
  19917. "type": "integer"
  19918. },
  19919. "goodscode": {
  19920. "description": "商品代码",
  19921. "type": "string"
  19922. },
  19923. "goodsid": {
  19924. "description": "商品ID",
  19925. "type": "integer"
  19926. },
  19927. "goodsname": {
  19928. "description": "商品名称",
  19929. "type": "string"
  19930. },
  19931. "intclosepl": {
  19932. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19933. "type": "integer"
  19934. },
  19935. "isconfirmexercise": {
  19936. "description": "是否确认行权- 0:否 1:是",
  19937. "type": "integer"
  19938. },
  19939. "ismain": {
  19940. "description": "是否主单 - 0:不是 1:是",
  19941. "type": "integer"
  19942. },
  19943. "ispreexercise": {
  19944. "description": "是否预申报- 0:否 1:是",
  19945. "type": "integer"
  19946. },
  19947. "isreckoned": {
  19948. "description": "是否结算 - 0:未结算 1:已结算",
  19949. "type": "integer"
  19950. },
  19951. "listingselecttype": {
  19952. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19953. "type": "integer"
  19954. },
  19955. "marketid": {
  19956. "description": "市场ID",
  19957. "type": "integer"
  19958. },
  19959. "marketname": {
  19960. "description": "市场名称",
  19961. "type": "string"
  19962. },
  19963. "matchaccountid": {
  19964. "description": "对手账号id",
  19965. "type": "integer"
  19966. },
  19967. "memberuserid": {
  19968. "description": "会员id 个人投资者 需要填写",
  19969. "type": "integer"
  19970. },
  19971. "opencharge": {
  19972. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19973. "type": "number"
  19974. },
  19975. "openexchagechargevalue": {
  19976. "description": "建仓交易所手续费设置值",
  19977. "type": "number"
  19978. },
  19979. "openfeealgorithm": {
  19980. "description": "建仓手续费收取方式 1:比率 2:固定",
  19981. "type": "integer"
  19982. },
  19983. "openmemberchargevalue": {
  19984. "description": "建仓会员手续费设置值",
  19985. "type": "number"
  19986. },
  19987. "openqty": {
  19988. "description": "开仓数量(先建后平操作 需要记录)",
  19989. "type": "integer"
  19990. },
  19991. "optiontype": {
  19992. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19993. "type": "integer"
  19994. },
  19995. "orderid": {
  19996. "description": "委托单号",
  19997. "type": "string"
  19998. },
  19999. "performanceplanid": {
  20000. "description": "履约计划ID[期权]",
  20001. "type": "integer"
  20002. },
  20003. "performancestatus": {
  20004. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20005. "type": "integer"
  20006. },
  20007. "preexerciseprice": {
  20008. "description": "预申报价格",
  20009. "type": "number"
  20010. },
  20011. "premium": {
  20012. "description": "权利金 - [持仓单的权利金]",
  20013. "type": "number"
  20014. },
  20015. "relatedouttradeid": {
  20016. "description": "关联外部成交单ID",
  20017. "type": "integer"
  20018. },
  20019. "status": {
  20020. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20021. "type": "integer"
  20022. },
  20023. "tradeamount": {
  20024. "description": "成交金额[账户币种,用于所有权]",
  20025. "type": "number"
  20026. },
  20027. "tradedate": {
  20028. "description": "交易日(yyyyMMdd)",
  20029. "type": "string"
  20030. },
  20031. "tradeid": {
  20032. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20033. "type": "string"
  20034. },
  20035. "trademode": {
  20036. "description": "交易模式",
  20037. "type": "integer"
  20038. },
  20039. "tradeprice": {
  20040. "description": "成交价格",
  20041. "type": "number"
  20042. },
  20043. "tradeproperty": {
  20044. "description": "交易属性",
  20045. "type": "integer"
  20046. },
  20047. "tradeqty": {
  20048. "description": "成交数量",
  20049. "type": "integer"
  20050. },
  20051. "tradetime": {
  20052. "description": "成交时间",
  20053. "type": "string"
  20054. },
  20055. "tradetype": {
  20056. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20057. "type": "integer"
  20058. }
  20059. }
  20060. },
  20061. "order.QueryTradeOrderDetailRsp": {
  20062. "type": "object",
  20063. "required": [
  20064. "accountid",
  20065. "buildtype",
  20066. "buyorsell",
  20067. "goodsid",
  20068. "marketid",
  20069. "operatetype",
  20070. "orderqty",
  20071. "ordertime",
  20072. "pricemode",
  20073. "tradedate",
  20074. "validtype"
  20075. ],
  20076. "properties": {
  20077. "accountid": {
  20078. "description": "账户ID[报价币种]",
  20079. "type": "integer"
  20080. },
  20081. "buildtype": {
  20082. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20083. "type": "integer"
  20084. },
  20085. "buyorsell": {
  20086. "description": "买卖 - 0:买 1:卖",
  20087. "type": "integer"
  20088. },
  20089. "cancelorderid": {
  20090. "description": "撤单单号(撤单时填写)",
  20091. "type": "string"
  20092. },
  20093. "cancelqty": {
  20094. "description": "撤单数量",
  20095. "type": "integer"
  20096. },
  20097. "clienttype": {
  20098. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20099. "type": "integer"
  20100. },
  20101. "closefreezecharge": {
  20102. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20103. "type": "number"
  20104. },
  20105. "closeqty": {
  20106. "description": "平仓数量(先建后平操作 需要记录)",
  20107. "type": "integer"
  20108. },
  20109. "closetradeqty": {
  20110. "description": "平仓成交数量(先建后平操作,需要记录)",
  20111. "type": "integer"
  20112. },
  20113. "closeunfreezecharge": {
  20114. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20115. "type": "number"
  20116. },
  20117. "delistingtype": {
  20118. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20119. "type": "integer"
  20120. },
  20121. "enableqty": {
  20122. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20123. "type": "integer"
  20124. },
  20125. "freezecharge": {
  20126. "description": "冻结手续费",
  20127. "type": "number"
  20128. },
  20129. "freezemargin": {
  20130. "description": "冻结保证金(冻结交易金额)",
  20131. "type": "number"
  20132. },
  20133. "goodscode": {
  20134. "description": "商品代码",
  20135. "type": "string"
  20136. },
  20137. "goodsid": {
  20138. "description": "商品ID",
  20139. "type": "integer"
  20140. },
  20141. "goodsname": {
  20142. "description": "商品名称",
  20143. "type": "string"
  20144. },
  20145. "listingselecttype": {
  20146. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20147. "type": "integer"
  20148. },
  20149. "marketid": {
  20150. "description": "市场ID",
  20151. "type": "integer"
  20152. },
  20153. "marketname": {
  20154. "description": "市场名称",
  20155. "type": "string"
  20156. },
  20157. "openfreezecharge": {
  20158. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20159. "type": "number"
  20160. },
  20161. "openqty": {
  20162. "description": "开仓数量(先建后平操作,需要记录)",
  20163. "type": "integer"
  20164. },
  20165. "opentradeqty": {
  20166. "description": "开仓成交数量(先建后平操作,需要记录)",
  20167. "type": "integer"
  20168. },
  20169. "openunfreezecharge": {
  20170. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20171. "type": "number"
  20172. },
  20173. "operatetype": {
  20174. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20175. "type": "integer"
  20176. },
  20177. "operatorid": {
  20178. "description": "登录账号(LoginID)",
  20179. "type": "integer"
  20180. },
  20181. "orderid": {
  20182. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20183. "type": "string"
  20184. },
  20185. "orderprice": {
  20186. "description": "委托价格",
  20187. "type": "number"
  20188. },
  20189. "orderqty": {
  20190. "description": "委托数量",
  20191. "type": "integer"
  20192. },
  20193. "ordersrc": {
  20194. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20195. "type": "integer"
  20196. },
  20197. "orderstatus": {
  20198. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20199. "type": "integer"
  20200. },
  20201. "ordertime": {
  20202. "description": "委托时间",
  20203. "type": "string"
  20204. },
  20205. "preorderid": {
  20206. "description": "关联预埋单号(止盈止损单时填写)",
  20207. "type": "string"
  20208. },
  20209. "pricemode": {
  20210. "description": "取价方式 - 1:市价 2: 限价",
  20211. "type": "integer"
  20212. },
  20213. "relatedid": {
  20214. "description": "关联单号(交割单)",
  20215. "type": "string"
  20216. },
  20217. "tradedate": {
  20218. "description": "交易日(yyyyMMdd)",
  20219. "type": "string"
  20220. },
  20221. "trademode": {
  20222. "description": "交易模式",
  20223. "type": "integer"
  20224. },
  20225. "tradeqty": {
  20226. "description": "成交数量",
  20227. "type": "integer"
  20228. },
  20229. "unfreezecharge": {
  20230. "description": "解冻手续费",
  20231. "type": "number"
  20232. },
  20233. "unfreezemargin": {
  20234. "description": "解冻保证金",
  20235. "type": "number"
  20236. },
  20237. "validtime": {
  20238. "description": "有效期限",
  20239. "type": "string"
  20240. },
  20241. "validtype": {
  20242. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20243. "type": "integer"
  20244. },
  20245. "volumetype": {
  20246. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20247. "type": "integer"
  20248. }
  20249. }
  20250. },
  20251. "order.QueryTradePositionRsp": {
  20252. "type": "object",
  20253. "required": [
  20254. "goodsid"
  20255. ],
  20256. "properties": {
  20257. "accountid": {
  20258. "description": "资金账户",
  20259. "type": "integer"
  20260. },
  20261. "agreeunit": {
  20262. "description": "合约单位",
  20263. "type": "number"
  20264. },
  20265. "averageprice": {
  20266. "description": "持仓均价",
  20267. "type": "number"
  20268. },
  20269. "buyorsell": {
  20270. "description": "方向 - 0:买 1:卖",
  20271. "type": "integer"
  20272. },
  20273. "closetotalqty": {
  20274. "description": "平仓总数量",
  20275. "type": "integer"
  20276. },
  20277. "curholderamount": {
  20278. "description": "当前持仓总金额[商品币种]",
  20279. "type": "number"
  20280. },
  20281. "curpositionqty": {
  20282. "description": "当前持仓总数量",
  20283. "type": "integer"
  20284. },
  20285. "currencyid": {
  20286. "description": "报价货币ID",
  20287. "type": "integer"
  20288. },
  20289. "curtdposition": {
  20290. "description": "期末今日头寸",
  20291. "type": "integer"
  20292. },
  20293. "decimalplace": {
  20294. "description": "报价小数位",
  20295. "type": "integer"
  20296. },
  20297. "enableqty": {
  20298. "description": "可用量",
  20299. "type": "integer"
  20300. },
  20301. "fretdposition": {
  20302. "description": "冻结今日头寸",
  20303. "type": "integer"
  20304. },
  20305. "frozenqty": {
  20306. "description": "持仓冻结数量",
  20307. "type": "integer"
  20308. },
  20309. "goodscode": {
  20310. "description": "商品代码",
  20311. "type": "string"
  20312. },
  20313. "goodsid": {
  20314. "description": "商品Id",
  20315. "type": "integer"
  20316. },
  20317. "goodsname": {
  20318. "description": "商品名称",
  20319. "type": "string"
  20320. },
  20321. "goodunit": {
  20322. "description": "报价单位",
  20323. "type": "string"
  20324. },
  20325. "goodunitid": {
  20326. "description": "报价单位ID",
  20327. "type": "integer"
  20328. },
  20329. "holderamount": {
  20330. "description": "期初持仓总金额[商品币种]",
  20331. "type": "number"
  20332. },
  20333. "marketid": {
  20334. "description": "所属市场ID",
  20335. "type": "integer"
  20336. },
  20337. "openreqqty": {
  20338. "description": "开仓申请数量(用于比较最大持仓数量)",
  20339. "type": "integer"
  20340. },
  20341. "opentotalqty": {
  20342. "description": "开仓总数量",
  20343. "type": "integer"
  20344. },
  20345. "otherfrozenqty": {
  20346. "description": "持仓其他冻结数量(交割冻结)",
  20347. "type": "integer"
  20348. },
  20349. "positionqty": {
  20350. "description": "期初持仓数量",
  20351. "type": "integer"
  20352. },
  20353. "tnqty": {
  20354. "description": "T+N冻结总量",
  20355. "type": "integer"
  20356. },
  20357. "tnusedqty": {
  20358. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20359. "type": "integer"
  20360. },
  20361. "trademode": {
  20362. "description": "交易模式",
  20363. "type": "integer"
  20364. },
  20365. "usedmargin": {
  20366. "description": "占用保证金[商品币种]",
  20367. "type": "number"
  20368. }
  20369. }
  20370. },
  20371. "quote.HistoryData": {
  20372. "type": "object",
  20373. "properties": {
  20374. "c": {
  20375. "description": "收盘价",
  20376. "type": "number"
  20377. },
  20378. "f": {
  20379. "description": "是否补充数据",
  20380. "type": "boolean"
  20381. },
  20382. "h": {
  20383. "description": "最高价",
  20384. "type": "number"
  20385. },
  20386. "hv": {
  20387. "description": "持仓量",
  20388. "type": "integer"
  20389. },
  20390. "l": {
  20391. "description": "最低价",
  20392. "type": "number"
  20393. },
  20394. "o": {
  20395. "description": "开盘价",
  20396. "type": "number"
  20397. },
  20398. "s": {
  20399. "description": "结算价,日线周期(包括)以上才有",
  20400. "type": "number"
  20401. },
  20402. "ts": {
  20403. "description": "时间",
  20404. "type": "string"
  20405. },
  20406. "tt": {
  20407. "description": "总金额",
  20408. "type": "number"
  20409. },
  20410. "tv": {
  20411. "description": "总量",
  20412. "type": "integer"
  20413. }
  20414. }
  20415. },
  20416. "quote.HistoryTikData": {
  20417. "type": "object",
  20418. "properties": {
  20419. "AV": {
  20420. "description": "卖量",
  20421. "type": "integer"
  20422. },
  20423. "Ask": {
  20424. "description": "卖价",
  20425. "type": "number"
  20426. },
  20427. "BV": {
  20428. "description": "买量",
  20429. "type": "integer"
  20430. },
  20431. "Bid": {
  20432. "description": "买价",
  20433. "type": "number"
  20434. },
  20435. "HI": {
  20436. "description": "单笔持仓",
  20437. "type": "integer"
  20438. },
  20439. "HV": {
  20440. "description": "持仓量",
  20441. "type": "integer"
  20442. },
  20443. "PE": {
  20444. "description": "现价",
  20445. "type": "number"
  20446. },
  20447. "TDR": {
  20448. "description": "交易方向,0:买 1:卖",
  20449. "type": "integer"
  20450. },
  20451. "TK": {
  20452. "description": "交易类型",
  20453. "type": "integer"
  20454. },
  20455. "TS": {
  20456. "description": "行情时间文本",
  20457. "type": "string"
  20458. },
  20459. "TT": {
  20460. "description": "现金额",
  20461. "type": "number"
  20462. },
  20463. "Vol": {
  20464. "description": "现量",
  20465. "type": "integer"
  20466. }
  20467. }
  20468. },
  20469. "quote.QueryQuoteDayRsp": {
  20470. "type": "object",
  20471. "properties": {
  20472. "ask": {
  20473. "description": "卖1",
  20474. "type": "number"
  20475. },
  20476. "ask10": {
  20477. "description": "卖10",
  20478. "type": "number"
  20479. },
  20480. "ask2": {
  20481. "description": "卖2",
  20482. "type": "number"
  20483. },
  20484. "ask3": {
  20485. "description": "卖3",
  20486. "type": "number"
  20487. },
  20488. "ask4": {
  20489. "description": "卖4",
  20490. "type": "number"
  20491. },
  20492. "ask5": {
  20493. "description": "卖5",
  20494. "type": "number"
  20495. },
  20496. "ask6": {
  20497. "description": "卖6",
  20498. "type": "number"
  20499. },
  20500. "ask7": {
  20501. "description": "卖7",
  20502. "type": "number"
  20503. },
  20504. "ask8": {
  20505. "description": "卖8",
  20506. "type": "number"
  20507. },
  20508. "ask9": {
  20509. "description": "卖9",
  20510. "type": "number"
  20511. },
  20512. "askorderid": {
  20513. "description": "卖单号1",
  20514. "type": "integer"
  20515. },
  20516. "askorderid2": {
  20517. "description": "卖单号2",
  20518. "type": "integer"
  20519. },
  20520. "askorderid3": {
  20521. "description": "卖单号3",
  20522. "type": "integer"
  20523. },
  20524. "askorderid4": {
  20525. "description": "卖单号4",
  20526. "type": "integer"
  20527. },
  20528. "askorderid5": {
  20529. "description": "卖单号5",
  20530. "type": "integer"
  20531. },
  20532. "askordervolume": {
  20533. "description": "卖单量1",
  20534. "type": "integer"
  20535. },
  20536. "askordervolume10": {
  20537. "description": "卖单量10",
  20538. "type": "integer"
  20539. },
  20540. "askordervolume2": {
  20541. "description": "卖单量2",
  20542. "type": "integer"
  20543. },
  20544. "askordervolume3": {
  20545. "description": "卖单量3",
  20546. "type": "integer"
  20547. },
  20548. "askordervolume4": {
  20549. "description": "卖单量4",
  20550. "type": "integer"
  20551. },
  20552. "askordervolume5": {
  20553. "description": "卖单量5",
  20554. "type": "integer"
  20555. },
  20556. "askordervolume6": {
  20557. "description": "卖单量6",
  20558. "type": "integer"
  20559. },
  20560. "askordervolume7": {
  20561. "description": "卖单量7",
  20562. "type": "integer"
  20563. },
  20564. "askordervolume8": {
  20565. "description": "卖单量8",
  20566. "type": "integer"
  20567. },
  20568. "askordervolume9": {
  20569. "description": "卖单量9",
  20570. "type": "integer"
  20571. },
  20572. "askqueueinfo": {
  20573. "description": "大利市卖港股用",
  20574. "type": "string"
  20575. },
  20576. "askvolume": {
  20577. "description": "卖量1",
  20578. "type": "integer"
  20579. },
  20580. "askvolume10": {
  20581. "description": "卖量10",
  20582. "type": "integer"
  20583. },
  20584. "askvolume2": {
  20585. "description": "卖量2",
  20586. "type": "integer"
  20587. },
  20588. "askvolume3": {
  20589. "description": "卖量3",
  20590. "type": "integer"
  20591. },
  20592. "askvolume4": {
  20593. "description": "卖量4",
  20594. "type": "integer"
  20595. },
  20596. "askvolume5": {
  20597. "description": "卖量5",
  20598. "type": "integer"
  20599. },
  20600. "askvolume6": {
  20601. "description": "卖量6",
  20602. "type": "integer"
  20603. },
  20604. "askvolume7": {
  20605. "description": "卖量7",
  20606. "type": "integer"
  20607. },
  20608. "askvolume8": {
  20609. "description": "卖量8",
  20610. "type": "integer"
  20611. },
  20612. "askvolume9": {
  20613. "description": "卖量9",
  20614. "type": "integer"
  20615. },
  20616. "averageprice": {
  20617. "description": "均价",
  20618. "type": "number"
  20619. },
  20620. "bid": {
  20621. "description": "买1",
  20622. "type": "number"
  20623. },
  20624. "bid10": {
  20625. "description": "买10",
  20626. "type": "number"
  20627. },
  20628. "bid2": {
  20629. "description": "买2",
  20630. "type": "number"
  20631. },
  20632. "bid3": {
  20633. "description": "买3",
  20634. "type": "number"
  20635. },
  20636. "bid4": {
  20637. "description": "买4",
  20638. "type": "number"
  20639. },
  20640. "bid5": {
  20641. "description": "买5",
  20642. "type": "number"
  20643. },
  20644. "bid6": {
  20645. "description": "买6",
  20646. "type": "number"
  20647. },
  20648. "bid7": {
  20649. "description": "买7",
  20650. "type": "number"
  20651. },
  20652. "bid8": {
  20653. "description": "买8",
  20654. "type": "number"
  20655. },
  20656. "bid9": {
  20657. "description": "买9",
  20658. "type": "number"
  20659. },
  20660. "bidorderid": {
  20661. "description": "买单号1",
  20662. "type": "integer"
  20663. },
  20664. "bidorderid2": {
  20665. "description": "买单号2",
  20666. "type": "integer"
  20667. },
  20668. "bidorderid3": {
  20669. "description": "买单号3",
  20670. "type": "integer"
  20671. },
  20672. "bidorderid4": {
  20673. "description": "买单号4",
  20674. "type": "integer"
  20675. },
  20676. "bidorderid5": {
  20677. "description": "买单号5",
  20678. "type": "integer"
  20679. },
  20680. "bidordervolume": {
  20681. "description": "买单量1",
  20682. "type": "integer"
  20683. },
  20684. "bidordervolume10": {
  20685. "description": "买单量10",
  20686. "type": "integer"
  20687. },
  20688. "bidordervolume2": {
  20689. "description": "买单量2",
  20690. "type": "integer"
  20691. },
  20692. "bidordervolume3": {
  20693. "description": "买单量3",
  20694. "type": "integer"
  20695. },
  20696. "bidordervolume4": {
  20697. "description": "买单量4",
  20698. "type": "integer"
  20699. },
  20700. "bidordervolume5": {
  20701. "description": "买单量5",
  20702. "type": "integer"
  20703. },
  20704. "bidordervolume6": {
  20705. "description": "买单量6",
  20706. "type": "integer"
  20707. },
  20708. "bidordervolume7": {
  20709. "description": "买单量7",
  20710. "type": "integer"
  20711. },
  20712. "bidordervolume8": {
  20713. "description": "买单量8",
  20714. "type": "integer"
  20715. },
  20716. "bidordervolume9": {
  20717. "description": "买单量9",
  20718. "type": "integer"
  20719. },
  20720. "bidqueueinfo": {
  20721. "description": "大利市买港股用",
  20722. "type": "string"
  20723. },
  20724. "bidvolume": {
  20725. "description": "买量1",
  20726. "type": "integer"
  20727. },
  20728. "bidvolume10": {
  20729. "description": "买量10",
  20730. "type": "integer"
  20731. },
  20732. "bidvolume2": {
  20733. "description": "买量2",
  20734. "type": "integer"
  20735. },
  20736. "bidvolume3": {
  20737. "description": "买量3",
  20738. "type": "integer"
  20739. },
  20740. "bidvolume4": {
  20741. "description": "买量4",
  20742. "type": "integer"
  20743. },
  20744. "bidvolume5": {
  20745. "description": "买量5",
  20746. "type": "integer"
  20747. },
  20748. "bidvolume6": {
  20749. "description": "买量6",
  20750. "type": "integer"
  20751. },
  20752. "bidvolume7": {
  20753. "description": "买量7",
  20754. "type": "integer"
  20755. },
  20756. "bidvolume8": {
  20757. "description": "买量8",
  20758. "type": "integer"
  20759. },
  20760. "bidvolume9": {
  20761. "description": "买量9",
  20762. "type": "integer"
  20763. },
  20764. "calloptionpremiums": {
  20765. "description": "认购期权1",
  20766. "type": "integer"
  20767. },
  20768. "calloptionpremiums2": {
  20769. "description": "认购期权2",
  20770. "type": "integer"
  20771. },
  20772. "calloptionpremiums3": {
  20773. "description": "认购期权3",
  20774. "type": "integer"
  20775. },
  20776. "calloptionpremiums4": {
  20777. "description": "认购期权4",
  20778. "type": "integer"
  20779. },
  20780. "calloptionpremiums5": {
  20781. "description": "认购期权5",
  20782. "type": "integer"
  20783. },
  20784. "cleartime": {
  20785. "description": "清盘时间",
  20786. "type": "integer"
  20787. },
  20788. "exchangecode": {
  20789. "description": "交易所代码",
  20790. "type": "integer"
  20791. },
  20792. "exchangedate": {
  20793. "description": "交易日",
  20794. "type": "integer"
  20795. },
  20796. "goodscode": {
  20797. "description": "商品代码",
  20798. "type": "string"
  20799. },
  20800. "grepmarketprice": {
  20801. "description": "暗盘价 港股专用",
  20802. "type": "number"
  20803. },
  20804. "highest": {
  20805. "description": "最高价",
  20806. "type": "number"
  20807. },
  20808. "holdincrement": {
  20809. "description": "单笔持仓",
  20810. "type": "integer"
  20811. },
  20812. "holdvolume": {
  20813. "description": "持仓",
  20814. "type": "integer"
  20815. },
  20816. "iep": {
  20817. "description": "平衡价 港股专用",
  20818. "type": "number"
  20819. },
  20820. "iev": {
  20821. "description": "平衡量 港股专用",
  20822. "type": "number"
  20823. },
  20824. "inventory": {
  20825. "description": "库存",
  20826. "type": "integer"
  20827. },
  20828. "iscleared": {
  20829. "description": "是否清盘标志",
  20830. "type": "integer"
  20831. },
  20832. "issettled": {
  20833. "description": "是否结算标志",
  20834. "type": "integer"
  20835. },
  20836. "last": {
  20837. "description": "最新价",
  20838. "type": "number"
  20839. },
  20840. "lastlot": {
  20841. "description": "最新成交手数",
  20842. "type": "integer"
  20843. },
  20844. "lasttime": {
  20845. "description": "行情时间(只有现价变化行情时间才变化)",
  20846. "type": "string"
  20847. },
  20848. "lastturnover": {
  20849. "description": "最新成交金额",
  20850. "type": "number"
  20851. },
  20852. "lastvolume": {
  20853. "description": "最新成交量",
  20854. "type": "integer"
  20855. },
  20856. "limitdown": {
  20857. "description": "跌停价",
  20858. "type": "number"
  20859. },
  20860. "limitup": {
  20861. "description": "涨停价",
  20862. "type": "number"
  20863. },
  20864. "lowest": {
  20865. "description": "最低价",
  20866. "type": "number"
  20867. },
  20868. "nontotalholdervolume": {
  20869. "description": "非交易持仓量",
  20870. "type": "integer"
  20871. },
  20872. "nontotallot": {
  20873. "description": "非交易总手数",
  20874. "type": "integer"
  20875. },
  20876. "nontotalturnover": {
  20877. "description": "非交易总金额",
  20878. "type": "integer"
  20879. },
  20880. "nontotalvolume": {
  20881. "description": "非交易总量",
  20882. "type": "integer"
  20883. },
  20884. "opened": {
  20885. "description": "开盘价",
  20886. "type": "number"
  20887. },
  20888. "opentime": {
  20889. "description": "开盘时间",
  20890. "type": "string"
  20891. },
  20892. "orderid": {
  20893. "description": "序号",
  20894. "type": "integer"
  20895. },
  20896. "preclose": {
  20897. "description": "昨收",
  20898. "type": "number"
  20899. },
  20900. "preholdvolume": {
  20901. "description": "昨持仓",
  20902. "type": "integer"
  20903. },
  20904. "presettle": {
  20905. "description": "昨结价",
  20906. "type": "number"
  20907. },
  20908. "publictradetype": {
  20909. "description": "公共交易标志类型 港股专用",
  20910. "type": "string"
  20911. },
  20912. "putoptionpremiums": {
  20913. "description": "认沽期权1",
  20914. "type": "integer"
  20915. },
  20916. "putoptionpremiums2": {
  20917. "description": "认沽期权2",
  20918. "type": "integer"
  20919. },
  20920. "putoptionpremiums3": {
  20921. "description": "认沽期权3",
  20922. "type": "integer"
  20923. },
  20924. "putoptionpremiums4": {
  20925. "description": "认沽期权4",
  20926. "type": "integer"
  20927. },
  20928. "putoptionpremiums5": {
  20929. "description": "认沽期权5",
  20930. "type": "integer"
  20931. },
  20932. "settle": {
  20933. "description": "结算价",
  20934. "type": "number"
  20935. },
  20936. "strikeprice": {
  20937. "description": "发行价",
  20938. "type": "number"
  20939. },
  20940. "totalaskvolume": {
  20941. "description": "内盘",
  20942. "type": "integer"
  20943. },
  20944. "totalbidvolume": {
  20945. "description": "外盘",
  20946. "type": "integer"
  20947. },
  20948. "totallot": {
  20949. "description": "总手数",
  20950. "type": "integer"
  20951. },
  20952. "totalturnover": {
  20953. "description": "总金额",
  20954. "type": "number"
  20955. },
  20956. "totalvolume": {
  20957. "description": "总量",
  20958. "type": "integer"
  20959. },
  20960. "utclasttime": {
  20961. "description": "utc的行情时间",
  20962. "type": "string"
  20963. }
  20964. }
  20965. },
  20966. "quote.QueryTSDataRsp": {
  20967. "type": "object",
  20968. "properties": {
  20969. "Count": {
  20970. "description": "交易日应有数据个数",
  20971. "type": "integer"
  20972. },
  20973. "decimalPlace": {
  20974. "description": "小数位",
  20975. "type": "integer"
  20976. },
  20977. "endTime": {
  20978. "description": "结束时间",
  20979. "type": "string"
  20980. },
  20981. "goodsCode": {
  20982. "description": "商品代码",
  20983. "type": "string"
  20984. },
  20985. "historyDatas": {
  20986. "description": "历史数据",
  20987. "type": "array",
  20988. "items": {
  20989. "$ref": "#/definitions/quote.HistoryData"
  20990. }
  20991. },
  20992. "outGoodsCode": {
  20993. "description": "外部商品代码",
  20994. "type": "string"
  20995. },
  20996. "preSettle": {
  20997. "description": "昨结价",
  20998. "type": "number"
  20999. },
  21000. "runSteps": {
  21001. "description": "交易日开休市计划",
  21002. "type": "array",
  21003. "items": {
  21004. "$ref": "#/definitions/quote.TSDataRunStep"
  21005. }
  21006. },
  21007. "startTime": {
  21008. "description": "开始时间",
  21009. "type": "string"
  21010. },
  21011. "tradeDate": {
  21012. "description": "交易日",
  21013. "type": "string"
  21014. }
  21015. }
  21016. },
  21017. "quote.TSDataRunStep": {
  21018. "type": "object",
  21019. "properties": {
  21020. "end": {
  21021. "description": "真实结束时间",
  21022. "type": "string"
  21023. },
  21024. "endflag": {
  21025. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21026. "type": "integer"
  21027. },
  21028. "endtime": {
  21029. "description": "结束时间(HH:mm)",
  21030. "type": "string"
  21031. },
  21032. "endweekday": {
  21033. "description": "结束周几",
  21034. "type": "integer"
  21035. },
  21036. "groupid": {
  21037. "description": "分组ID",
  21038. "type": "integer"
  21039. },
  21040. "runstep": {
  21041. "description": "运行阶段 - 2:连续交易",
  21042. "type": "integer"
  21043. },
  21044. "sectionid": {
  21045. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21046. "type": "integer"
  21047. },
  21048. "start": {
  21049. "description": "真实开始时间",
  21050. "type": "string"
  21051. },
  21052. "startflag": {
  21053. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21054. "type": "integer"
  21055. },
  21056. "starttime": {
  21057. "description": "起始时间(HH:mm)",
  21058. "type": "string"
  21059. },
  21060. "startweekday": {
  21061. "description": "起始周几",
  21062. "type": "integer"
  21063. },
  21064. "tradeweekday": {
  21065. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21066. "type": "integer"
  21067. }
  21068. }
  21069. },
  21070. "szdz.QueryConvertLogRsp": {
  21071. "type": "object",
  21072. "required": [
  21073. "logid"
  21074. ],
  21075. "properties": {
  21076. "accountid": {
  21077. "description": "资金账户ID",
  21078. "type": "integer"
  21079. },
  21080. "clientticket": {
  21081. "description": "客户端流水号",
  21082. "type": "string"
  21083. },
  21084. "converttype": {
  21085. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21086. "type": "integer"
  21087. },
  21088. "createtime": {
  21089. "description": "记账时间",
  21090. "type": "string"
  21091. },
  21092. "daymaxvalue": {
  21093. "description": "配置当日最大转入限制",
  21094. "type": "number"
  21095. },
  21096. "daymaxvalue2": {
  21097. "description": "配置当日最大转入限制(转入)",
  21098. "type": "number"
  21099. },
  21100. "goodscode": {
  21101. "description": "商品代码",
  21102. "type": "string"
  21103. },
  21104. "goodsname": {
  21105. "description": "商品名称",
  21106. "type": "string"
  21107. },
  21108. "handlestatus": {
  21109. "description": "处理状态",
  21110. "type": "integer"
  21111. },
  21112. "innergoodsid": {
  21113. "description": "内部商品ID",
  21114. "type": "integer"
  21115. },
  21116. "inratio": {
  21117. "description": "配置转入比值",
  21118. "type": "integer"
  21119. },
  21120. "invalue": {
  21121. "description": "目标值",
  21122. "type": "number"
  21123. },
  21124. "logid": {
  21125. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21126. "type": "integer"
  21127. },
  21128. "mobile": {
  21129. "description": "手机号码(加密存储)",
  21130. "type": "string"
  21131. },
  21132. "outergoodscode": {
  21133. "description": "外部商品代码[JD\\PD]",
  21134. "type": "string"
  21135. },
  21136. "outratio": {
  21137. "description": "配置转出比值",
  21138. "type": "integer"
  21139. },
  21140. "outvalue": {
  21141. "description": "源值",
  21142. "type": "number"
  21143. },
  21144. "pddecimalplace": {
  21145. "description": "PD小数位",
  21146. "type": "integer"
  21147. },
  21148. "qty": {
  21149. "description": "数量",
  21150. "type": "string"
  21151. },
  21152. "remark": {
  21153. "description": "备注",
  21154. "type": "string"
  21155. },
  21156. "sessionid": {
  21157. "description": "会话ID",
  21158. "type": "integer"
  21159. },
  21160. "timemaxvalue": {
  21161. "description": "配置单次最大转入限制",
  21162. "type": "number"
  21163. },
  21164. "timemaxvalue2": {
  21165. "description": "配置单次最大转入限制(转入)",
  21166. "type": "number"
  21167. },
  21168. "timeminvalue": {
  21169. "description": "配置单次最小数量限制",
  21170. "type": "number"
  21171. },
  21172. "timeminvalue2": {
  21173. "description": "配置单次最小数量限制(转入)",
  21174. "type": "number"
  21175. },
  21176. "tradedate": {
  21177. "description": "交易日(yyyyMMdd)",
  21178. "type": "string"
  21179. },
  21180. "userid": {
  21181. "description": "用户ID",
  21182. "type": "integer"
  21183. }
  21184. }
  21185. },
  21186. "szdz.QueryGoodsPickupRsp": {
  21187. "type": "object",
  21188. "required": [
  21189. "takeorderid"
  21190. ],
  21191. "properties": {
  21192. "accountid": {
  21193. "description": "账户ID",
  21194. "type": "integer"
  21195. },
  21196. "address": {
  21197. "description": "提货人详细地址",
  21198. "type": "string"
  21199. },
  21200. "auditer": {
  21201. "description": "审核人",
  21202. "type": "integer"
  21203. },
  21204. "audittime": {
  21205. "description": "审核时间",
  21206. "type": "string"
  21207. },
  21208. "cardnum": {
  21209. "description": "提货人证件号码",
  21210. "type": "string"
  21211. },
  21212. "cardtypeid": {
  21213. "description": "提货人证件类型",
  21214. "type": "integer"
  21215. },
  21216. "checkremark": {
  21217. "description": "审核备注",
  21218. "type": "string"
  21219. },
  21220. "goodscode": {
  21221. "description": "商品代码",
  21222. "type": "string"
  21223. },
  21224. "goodsid": {
  21225. "description": "商品ID",
  21226. "type": "integer"
  21227. },
  21228. "goodsname": {
  21229. "description": "商品名称",
  21230. "type": "string"
  21231. },
  21232. "handlestatus": {
  21233. "description": "处理状态",
  21234. "type": "integer"
  21235. },
  21236. "marketid": {
  21237. "description": "市场ID",
  21238. "type": "integer"
  21239. },
  21240. "phonenum": {
  21241. "description": "提货人联系方式",
  21242. "type": "string"
  21243. },
  21244. "qty": {
  21245. "description": "提货数量",
  21246. "type": "number"
  21247. },
  21248. "recivername": {
  21249. "description": "提货人姓名",
  21250. "type": "string"
  21251. },
  21252. "reqtime": {
  21253. "description": "更新时间",
  21254. "type": "string"
  21255. },
  21256. "takemode": {
  21257. "description": "提货方式 - 2:自提 3:配送",
  21258. "type": "integer"
  21259. },
  21260. "takeorderid": {
  21261. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21262. "type": "string"
  21263. },
  21264. "takeorderstatus": {
  21265. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21266. "type": "integer"
  21267. },
  21268. "takeremark": {
  21269. "description": "提货备注",
  21270. "type": "string"
  21271. },
  21272. "tradedate": {
  21273. "description": "交易日(yyyyMMdd)",
  21274. "type": "string"
  21275. },
  21276. "userid": {
  21277. "description": "用户ID",
  21278. "type": "integer"
  21279. }
  21280. }
  21281. },
  21282. "szdz.QueryRecieptOrderRsp": {
  21283. "type": "object",
  21284. "required": [
  21285. "ordertime"
  21286. ],
  21287. "properties": {
  21288. "accountName": {
  21289. "description": "所属账号名称(已脱敏)",
  21290. "type": "string"
  21291. },
  21292. "accountid": {
  21293. "description": "资金账号",
  21294. "type": "integer"
  21295. },
  21296. "buyorsell": {
  21297. "description": "方向 - 0:买 1:卖",
  21298. "type": "integer"
  21299. },
  21300. "enableqty": {
  21301. "description": "可摘数量",
  21302. "type": "integer"
  21303. },
  21304. "goodscode": {
  21305. "description": "商品代码",
  21306. "type": "string"
  21307. },
  21308. "goodsid": {
  21309. "description": "商品ID",
  21310. "type": "integer"
  21311. },
  21312. "goodsname": {
  21313. "description": "商品名称",
  21314. "type": "string"
  21315. },
  21316. "orderid": {
  21317. "description": "委托单号",
  21318. "type": "string"
  21319. },
  21320. "orderprice": {
  21321. "description": "委托价格",
  21322. "type": "number"
  21323. },
  21324. "ordertime": {
  21325. "description": "委托时间",
  21326. "type": "string"
  21327. },
  21328. "tradedate": {
  21329. "description": "交易日(yyyyMMdd)",
  21330. "type": "string"
  21331. }
  21332. }
  21333. },
  21334. "szdz.QuerySZDZTradePositionRsp": {
  21335. "type": "object",
  21336. "properties": {
  21337. "accountid": {
  21338. "description": "账号Id",
  21339. "type": "integer"
  21340. },
  21341. "agreeunit": {
  21342. "description": "合约单位",
  21343. "type": "number"
  21344. },
  21345. "averageprice": {
  21346. "description": "持仓均价",
  21347. "type": "number"
  21348. },
  21349. "buyorsell": {
  21350. "description": "方向 - 0:买 1:卖",
  21351. "type": "integer"
  21352. },
  21353. "closetotalqty": {
  21354. "description": "平仓总数量",
  21355. "type": "integer"
  21356. },
  21357. "curholderamount": {
  21358. "description": "当前持仓总金额",
  21359. "type": "number"
  21360. },
  21361. "curpositionqty": {
  21362. "description": "当前持仓总数量",
  21363. "type": "integer"
  21364. },
  21365. "currencyid": {
  21366. "description": "报价货币ID",
  21367. "type": "integer"
  21368. },
  21369. "curtdposition": {
  21370. "description": "期末今日头寸",
  21371. "type": "integer"
  21372. },
  21373. "decimalplace": {
  21374. "description": "报价小数位",
  21375. "type": "integer"
  21376. },
  21377. "enableqty": {
  21378. "description": "可用量",
  21379. "type": "integer"
  21380. },
  21381. "fretdposition": {
  21382. "description": "冻结今日头寸",
  21383. "type": "integer"
  21384. },
  21385. "frozenqty": {
  21386. "description": "持仓冻结数量",
  21387. "type": "integer"
  21388. },
  21389. "goodscode": {
  21390. "description": "商品代码(内部)",
  21391. "type": "string"
  21392. },
  21393. "goodsid": {
  21394. "description": "商品Id",
  21395. "type": "integer"
  21396. },
  21397. "goodsname": {
  21398. "description": "商品名称",
  21399. "type": "string"
  21400. },
  21401. "goodunit": {
  21402. "description": "报价单位",
  21403. "type": "string"
  21404. },
  21405. "goodunitid": {
  21406. "description": "报价单位ID",
  21407. "type": "integer"
  21408. },
  21409. "holderamount": {
  21410. "description": "期初持仓总金额",
  21411. "type": "number"
  21412. },
  21413. "marketid": {
  21414. "description": "市场ID",
  21415. "type": "integer"
  21416. },
  21417. "openreqqty": {
  21418. "description": "开仓申请数量",
  21419. "type": "integer"
  21420. },
  21421. "opentotalqty": {
  21422. "description": "开仓总数量",
  21423. "type": "integer"
  21424. },
  21425. "otherfrozenqty": {
  21426. "description": "持仓其他冻结数量(交割冻结)",
  21427. "type": "integer"
  21428. },
  21429. "positionqty": {
  21430. "description": "期初持仓数量",
  21431. "type": "integer"
  21432. },
  21433. "szdz3freezqty": {
  21434. "description": "尚志大宗转换冻结总数量",
  21435. "type": "integer"
  21436. },
  21437. "tnqty": {
  21438. "description": "T+N冻结总量",
  21439. "type": "integer"
  21440. },
  21441. "tnusedqty": {
  21442. "description": "T+N使用量",
  21443. "type": "integer"
  21444. },
  21445. "trademode": {
  21446. "description": "交易模式",
  21447. "type": "integer"
  21448. },
  21449. "usedmargin": {
  21450. "description": "占用保证金",
  21451. "type": "number"
  21452. }
  21453. }
  21454. },
  21455. "taaccount.QueryAmountLogRsp": {
  21456. "type": "object",
  21457. "required": [
  21458. "accountid",
  21459. "amount",
  21460. "amountadjusttype",
  21461. "autoid",
  21462. "balance",
  21463. "createtime",
  21464. "currentbalance",
  21465. "operatetype"
  21466. ],
  21467. "properties": {
  21468. "OPERATETYPENAME": {
  21469. "description": "资金操作类型名称",
  21470. "type": "string"
  21471. },
  21472. "accountid": {
  21473. "description": "资金账户ID",
  21474. "type": "integer"
  21475. },
  21476. "agoodscode": {
  21477. "description": "竞拍商品代码",
  21478. "type": "string"
  21479. },
  21480. "agoodsname": {
  21481. "description": "竞拍商品名称",
  21482. "type": "string"
  21483. },
  21484. "amount": {
  21485. "description": "资金金额",
  21486. "type": "number"
  21487. },
  21488. "amountadjusttype": {
  21489. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21490. "type": "integer"
  21491. },
  21492. "autoid": {
  21493. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21494. "type": "integer"
  21495. },
  21496. "balance": {
  21497. "description": "期初余额",
  21498. "type": "number"
  21499. },
  21500. "businesscode": {
  21501. "description": "业务编号",
  21502. "type": "integer"
  21503. },
  21504. "createtime": {
  21505. "description": "发生时间",
  21506. "type": "string"
  21507. },
  21508. "currencyid": {
  21509. "description": "币种ID",
  21510. "type": "integer"
  21511. },
  21512. "currentbalance": {
  21513. "description": "期末余额(变动后金额)",
  21514. "type": "number"
  21515. },
  21516. "dgoodscode": {
  21517. "description": "交割商品代码",
  21518. "type": "string"
  21519. },
  21520. "dgoodsname": {
  21521. "description": "交割商品名称",
  21522. "type": "string"
  21523. },
  21524. "goodscode": {
  21525. "description": "商品代码",
  21526. "type": "string"
  21527. },
  21528. "goodsid": {
  21529. "description": "商品ID",
  21530. "type": "integer"
  21531. },
  21532. "goodsname": {
  21533. "description": "商品名称",
  21534. "type": "string"
  21535. },
  21536. "marketid": {
  21537. "description": "市场ID",
  21538. "type": "integer"
  21539. },
  21540. "marketname": {
  21541. "description": "市场名称",
  21542. "type": "string"
  21543. },
  21544. "moneyticket": {
  21545. "description": "资金流水号:银行端流水号",
  21546. "type": "integer"
  21547. },
  21548. "operatetype": {
  21549. "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:营销收款",
  21550. "type": "integer"
  21551. },
  21552. "relationorderid": {
  21553. "description": "关联单号",
  21554. "type": "string"
  21555. },
  21556. "remark": {
  21557. "description": "备注",
  21558. "type": "string"
  21559. },
  21560. "trademode": {
  21561. "description": "交易模式",
  21562. "type": "integer"
  21563. }
  21564. }
  21565. },
  21566. "taaccount.QueryHisAmountLogRsp": {
  21567. "type": "object",
  21568. "required": [
  21569. "accountid",
  21570. "amount",
  21571. "amountadjusttype",
  21572. "autoid",
  21573. "balance",
  21574. "createtime",
  21575. "currentbalance",
  21576. "histradedate",
  21577. "operatetype"
  21578. ],
  21579. "properties": {
  21580. "OPERATETYPENAME": {
  21581. "description": "资金操作类型名称",
  21582. "type": "string"
  21583. },
  21584. "accountid": {
  21585. "description": "资金账户ID",
  21586. "type": "integer"
  21587. },
  21588. "agoodscode": {
  21589. "description": "竞拍商品代码",
  21590. "type": "string"
  21591. },
  21592. "agoodsname": {
  21593. "description": "竞拍商品名称",
  21594. "type": "string"
  21595. },
  21596. "amount": {
  21597. "description": "资金金额",
  21598. "type": "number"
  21599. },
  21600. "amountadjusttype": {
  21601. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21602. "type": "integer"
  21603. },
  21604. "autoid": {
  21605. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21606. "type": "integer"
  21607. },
  21608. "balance": {
  21609. "description": "期初余额",
  21610. "type": "number"
  21611. },
  21612. "businesscode": {
  21613. "description": "业务编号",
  21614. "type": "integer"
  21615. },
  21616. "createtime": {
  21617. "description": "发生时间",
  21618. "type": "string"
  21619. },
  21620. "currencyid": {
  21621. "description": "币种ID",
  21622. "type": "integer"
  21623. },
  21624. "currentbalance": {
  21625. "description": "期末余额(变动后金额)",
  21626. "type": "number"
  21627. },
  21628. "dgoodscode": {
  21629. "description": "交割商品代码",
  21630. "type": "string"
  21631. },
  21632. "dgoodsname": {
  21633. "description": "交割商品名称",
  21634. "type": "string"
  21635. },
  21636. "goodscode": {
  21637. "description": "商品代码",
  21638. "type": "string"
  21639. },
  21640. "goodsid": {
  21641. "description": "商品ID",
  21642. "type": "integer"
  21643. },
  21644. "goodsname": {
  21645. "description": "商品名称",
  21646. "type": "string"
  21647. },
  21648. "histradedate": {
  21649. "description": "历史交易日",
  21650. "type": "string"
  21651. },
  21652. "isvaliddata": {
  21653. "description": "是否有效 - 0:无效 1:有效",
  21654. "type": "integer"
  21655. },
  21656. "marketid": {
  21657. "description": "市场ID",
  21658. "type": "integer"
  21659. },
  21660. "marketname": {
  21661. "description": "市场名称",
  21662. "type": "string"
  21663. },
  21664. "moneyticket": {
  21665. "description": "资金流水号:银行端流水号",
  21666. "type": "integer"
  21667. },
  21668. "operatetype": {
  21669. "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:营销收款",
  21670. "type": "integer"
  21671. },
  21672. "relationorderid": {
  21673. "description": "关联单号",
  21674. "type": "string"
  21675. },
  21676. "remark": {
  21677. "description": "备注",
  21678. "type": "string"
  21679. },
  21680. "trademode": {
  21681. "description": "交易模式",
  21682. "type": "integer"
  21683. }
  21684. }
  21685. },
  21686. "trade.QueryRecieptOrderRsp": {
  21687. "type": "object",
  21688. "required": [
  21689. "ordertime"
  21690. ],
  21691. "properties": {
  21692. "accountName": {
  21693. "description": "所属账号名称(已脱敏)",
  21694. "type": "string"
  21695. },
  21696. "accountid": {
  21697. "description": "资金账号",
  21698. "type": "integer"
  21699. },
  21700. "buyorsell": {
  21701. "description": "方向 - 0:买 1:卖",
  21702. "type": "integer"
  21703. },
  21704. "enableqty": {
  21705. "description": "可摘数量",
  21706. "type": "integer"
  21707. },
  21708. "goodscode": {
  21709. "description": "商品代码",
  21710. "type": "string"
  21711. },
  21712. "goodsid": {
  21713. "description": "商品ID",
  21714. "type": "integer"
  21715. },
  21716. "goodsname": {
  21717. "description": "商品名称",
  21718. "type": "string"
  21719. },
  21720. "orderid": {
  21721. "description": "委托单号",
  21722. "type": "string"
  21723. },
  21724. "orderprice": {
  21725. "description": "委托价格",
  21726. "type": "number"
  21727. },
  21728. "ordertime": {
  21729. "description": "委托时间",
  21730. "type": "string"
  21731. },
  21732. "tradedate": {
  21733. "description": "交易日(yyyyMMdd)",
  21734. "type": "string"
  21735. }
  21736. }
  21737. },
  21738. "user.LoginQueryRsp": {
  21739. "type": "object",
  21740. "properties": {
  21741. "externalExchanges": {
  21742. "description": "外部交易所",
  21743. "type": "array",
  21744. "items": {
  21745. "$ref": "#/definitions/models.Externalexchange"
  21746. }
  21747. },
  21748. "goodsgroups": {
  21749. "description": "商品组",
  21750. "type": "array",
  21751. "items": {
  21752. "$ref": "#/definitions/models.Goodsgroup"
  21753. }
  21754. },
  21755. "loginAccount": {
  21756. "description": "登录账号",
  21757. "type": "object",
  21758. "$ref": "#/definitions/models.Loginaccount"
  21759. },
  21760. "markets": {
  21761. "description": "市场",
  21762. "type": "array",
  21763. "items": {
  21764. "$ref": "#/definitions/models.Market"
  21765. }
  21766. },
  21767. "systemParams": {
  21768. "description": "系统参数",
  21769. "type": "array",
  21770. "items": {
  21771. "$ref": "#/definitions/models.Systemparam"
  21772. }
  21773. },
  21774. "userAccount": {
  21775. "description": "用户账号",
  21776. "type": "object",
  21777. "$ref": "#/definitions/models.Useraccount"
  21778. },
  21779. "userInfo": {
  21780. "description": "用户信息",
  21781. "type": "object",
  21782. "$ref": "#/definitions/models.Userinfo"
  21783. },
  21784. "username": {
  21785. "description": "用户姓名",
  21786. "type": "string"
  21787. }
  21788. }
  21789. }
  21790. },
  21791. "securityDefinitions": {
  21792. "ApiKeyAuth": {
  21793. "type": "apiKey",
  21794. "name": "Authorization",
  21795. "in": "header"
  21796. }
  21797. }
  21798. }`
  21799. type swaggerInfo struct {
  21800. Version string
  21801. Host string
  21802. BasePath string
  21803. Schemes []string
  21804. Title string
  21805. Description string
  21806. }
  21807. // SwaggerInfo holds exported Swagger Info so clients can modify it
  21808. var SwaggerInfo = swaggerInfo{
  21809. Version: "1.0",
  21810. Host: "",
  21811. BasePath: "/api",
  21812. Schemes: []string{},
  21813. Title: "MTP2.0 查询服务 API",
  21814. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  21815. }
  21816. type s struct{}
  21817. func (s *s) ReadDoc() string {
  21818. sInfo := SwaggerInfo
  21819. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  21820. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  21821. "marshal": func(v interface{}) string {
  21822. a, _ := json.Marshal(v)
  21823. return string(a)
  21824. },
  21825. }).Parse(doc)
  21826. if err != nil {
  21827. return doc
  21828. }
  21829. var tpl bytes.Buffer
  21830. if err := t.Execute(&tpl, sInfo); err != nil {
  21831. return doc
  21832. }
  21833. return tpl.String()
  21834. }
  21835. func init() {
  21836. swag.Register(swag.Name, &s{})
  21837. }