docs.go 736 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetPCMenus": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取PC交易端菜单",
  435. "parameters": [
  436. {
  437. "type": "string",
  438. "description": "资源代码",
  439. "name": "resourceCode",
  440. "in": "query"
  441. },
  442. {
  443. "type": "string",
  444. "description": "上级资源代码",
  445. "name": "parentCode",
  446. "in": "query"
  447. }
  448. ],
  449. "responses": {
  450. "200": {
  451. "description": "OK",
  452. "schema": {
  453. "type": "array",
  454. "items": {
  455. "$ref": "#/definitions/models.Funcmenulist"
  456. }
  457. }
  458. },
  459. "500": {
  460. "description": "Internal Server Error",
  461. "schema": {
  462. "$ref": "#/definitions/app.Response"
  463. }
  464. }
  465. }
  466. }
  467. },
  468. "/Common/GetServerTime": {
  469. "get": {
  470. "produces": [
  471. "application/json"
  472. ],
  473. "tags": [
  474. "通用服务"
  475. ],
  476. "summary": "获取服务器时间",
  477. "responses": {
  478. "200": {
  479. "description": "OK",
  480. "schema": {
  481. "$ref": "#/definitions/app.Response"
  482. }
  483. },
  484. "500": {
  485. "description": "Internal Server Error",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. }
  490. }
  491. }
  492. },
  493. "/Common/NoticeReaded": {
  494. "post": {
  495. "security": [
  496. {
  497. "ApiKeyAuth": []
  498. }
  499. ],
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "通知公告设置已读请求",
  507. "parameters": [
  508. {
  509. "type": "integer",
  510. "description": "登录账号",
  511. "name": "loginID",
  512. "in": "query",
  513. "required": true
  514. },
  515. {
  516. "type": "integer",
  517. "description": "通知公告ID",
  518. "name": "noticeID",
  519. "in": "query",
  520. "required": true
  521. }
  522. ],
  523. "responses": {
  524. "200": {
  525. "description": "OK",
  526. "schema": {
  527. "$ref": "#/definitions/app.Response"
  528. }
  529. },
  530. "500": {
  531. "description": "Internal Server Error",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. }
  536. }
  537. }
  538. },
  539. "/Common/QueryErrorInfos": {
  540. "get": {
  541. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  542. "produces": [
  543. "application/json"
  544. ],
  545. "tags": [
  546. "通用服务"
  547. ],
  548. "summary": "获取数据库错误信息",
  549. "parameters": [
  550. {
  551. "type": "string",
  552. "description": "起始行号前索引",
  553. "name": "rowNumber",
  554. "in": "query"
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "OK",
  560. "schema": {
  561. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  562. }
  563. },
  564. "500": {
  565. "description": "Internal Server Error",
  566. "schema": {
  567. "$ref": "#/definitions/app.Response"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "/Common/QueryImageConfigs": {
  574. "get": {
  575. "produces": [
  576. "application/json"
  577. ],
  578. "tags": [
  579. "通用服务"
  580. ],
  581. "summary": "查询轮播图配置信息",
  582. "parameters": [
  583. {
  584. "type": "integer",
  585. "description": "类型 - 1:App首页轮播 2:我的",
  586. "name": "imageType",
  587. "in": "query"
  588. }
  589. ],
  590. "responses": {
  591. "200": {
  592. "description": "OK",
  593. "schema": {
  594. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  595. }
  596. },
  597. "500": {
  598. "description": "Internal Server Error",
  599. "schema": {
  600. "$ref": "#/definitions/app.Response"
  601. }
  602. }
  603. }
  604. }
  605. },
  606. "/Common/QueryNotice": {
  607. "get": {
  608. "security": [
  609. {
  610. "ApiKeyAuth": []
  611. }
  612. ],
  613. "produces": [
  614. "application/json"
  615. ],
  616. "tags": [
  617. "通用服务"
  618. ],
  619. "summary": "通知公告系统消息查询",
  620. "parameters": [
  621. {
  622. "type": "integer",
  623. "description": "页码",
  624. "name": "page",
  625. "in": "query"
  626. },
  627. {
  628. "type": "integer",
  629. "description": "每页条数",
  630. "name": "pagesize",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "登录账号",
  636. "name": "loginID",
  637. "in": "query",
  638. "required": true
  639. },
  640. {
  641. "type": "integer",
  642. "description": "消息类型 - 1:公告通知 2:系统消息",
  643. "name": "msgType",
  644. "in": "query"
  645. },
  646. {
  647. "type": "boolean",
  648. "description": "是否只获取未读信息",
  649. "name": "onlyUnRead",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "自增ID,传入后会返回这个ID后面的记录",
  655. "name": "lastID",
  656. "in": "query"
  657. }
  658. ],
  659. "responses": {
  660. "200": {
  661. "description": "OK",
  662. "schema": {
  663. "$ref": "#/definitions/common.QueryNoticeRsp"
  664. }
  665. },
  666. "500": {
  667. "description": "Internal Server Error",
  668. "schema": {
  669. "$ref": "#/definitions/app.Response"
  670. }
  671. }
  672. }
  673. }
  674. },
  675. "/Common/QueryProvincesAndCities": {
  676. "get": {
  677. "produces": [
  678. "application/json"
  679. ],
  680. "tags": [
  681. "通用服务"
  682. ],
  683. "summary": "查询省市信息(不包括区)",
  684. "parameters": [
  685. {
  686. "type": "integer",
  687. "description": "省ID",
  688. "name": "provinceID",
  689. "in": "query"
  690. }
  691. ],
  692. "responses": {
  693. "200": {
  694. "description": "OK",
  695. "schema": {
  696. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  697. }
  698. },
  699. "500": {
  700. "description": "Internal Server Error",
  701. "schema": {
  702. "$ref": "#/definitions/app.Response"
  703. }
  704. }
  705. }
  706. }
  707. },
  708. "/Common/QueryTableDefine": {
  709. "get": {
  710. "produces": [
  711. "application/json"
  712. ],
  713. "tags": [
  714. "通用服务"
  715. ],
  716. "summary": "查询交易端列表头信息",
  717. "parameters": [
  718. {
  719. "type": "string",
  720. "description": "表key",
  721. "name": "tableKey",
  722. "in": "query"
  723. },
  724. {
  725. "type": "integer",
  726. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  727. "name": "tableType",
  728. "in": "query"
  729. }
  730. ],
  731. "responses": {
  732. "200": {
  733. "description": "OK",
  734. "schema": {
  735. "$ref": "#/definitions/common.QueryTableDefineRsp"
  736. }
  737. },
  738. "500": {
  739. "description": "Internal Server Error",
  740. "schema": {
  741. "$ref": "#/definitions/app.Response"
  742. }
  743. }
  744. }
  745. }
  746. },
  747. "/Common/QueryTraderMenu": {
  748. "get": {
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "通用服务"
  754. ],
  755. "summary": "查询交易端菜单",
  756. "parameters": [
  757. {
  758. "type": "integer",
  759. "description": "登录账号",
  760. "name": "loginid",
  761. "in": "query",
  762. "required": true
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "OK",
  768. "schema": {
  769. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Delivery/QueryDeliveryRelation": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "交割服务"
  793. ],
  794. "summary": "查询商品交割关系表",
  795. "parameters": [
  796. {
  797. "type": "integer",
  798. "description": "商品ID",
  799. "name": "goodsid",
  800. "in": "query"
  801. },
  802. {
  803. "type": "integer",
  804. "description": "品种ID",
  805. "name": "deliverygoodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "市场ID",
  811. "name": "marketid",
  812. "in": "query"
  813. }
  814. ],
  815. "responses": {
  816. "200": {
  817. "description": "OK",
  818. "schema": {
  819. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  820. }
  821. },
  822. "500": {
  823. "description": "Internal Server Error",
  824. "schema": {
  825. "$ref": "#/definitions/app.Response"
  826. }
  827. }
  828. }
  829. }
  830. },
  831. "/Ermcp/GetErmcpGoods": {
  832. "get": {
  833. "security": [
  834. {
  835. "ApiKeyAuth": []
  836. }
  837. ],
  838. "produces": [
  839. "application/json"
  840. ],
  841. "tags": [
  842. "企业风险管理(app)"
  843. ],
  844. "summary": "查询企业风管期货商品信息",
  845. "parameters": [
  846. {
  847. "type": "string",
  848. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  849. "name": "lastUpdateTime",
  850. "in": "query"
  851. }
  852. ],
  853. "responses": {
  854. "200": {
  855. "description": "OK",
  856. "schema": {
  857. "$ref": "#/definitions/models.Goods"
  858. }
  859. },
  860. "500": {
  861. "description": "Internal Server Error",
  862. "schema": {
  863. "$ref": "#/definitions/app.Response"
  864. }
  865. }
  866. }
  867. }
  868. },
  869. "/Ermcp/GetErmcpGoodsSortByPosition": {
  870. "get": {
  871. "security": [
  872. {
  873. "ApiKeyAuth": []
  874. }
  875. ],
  876. "produces": [
  877. "application/json"
  878. ],
  879. "tags": [
  880. "企业风险管理(app)"
  881. ],
  882. "summary": "查询企业风管期货主力、次主力商品信息",
  883. "parameters": [
  884. {
  885. "type": "string",
  886. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  887. "name": "sortIndex",
  888. "in": "query"
  889. }
  890. ],
  891. "responses": {
  892. "200": {
  893. "description": "OK",
  894. "schema": {
  895. "$ref": "#/definitions/models.Goodssortbypreposition"
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "获取企业风管终端权限",
  921. "parameters": [
  922. {
  923. "type": "integer",
  924. "description": "登录账号",
  925. "name": "loginID",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "$ref": "#/definitions/models.Funcmenulist"
  935. }
  936. },
  937. "500": {
  938. "description": "Internal Server Error",
  939. "schema": {
  940. "$ref": "#/definitions/app.Response"
  941. }
  942. }
  943. }
  944. }
  945. },
  946. "/Ermcp/QryReportDayExposure": {
  947. "get": {
  948. "security": [
  949. {
  950. "ApiKeyAuth": []
  951. }
  952. ],
  953. "produces": [
  954. "application/json"
  955. ],
  956. "tags": [
  957. "企业风险管理(app)"
  958. ],
  959. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  960. "parameters": [
  961. {
  962. "type": "integer",
  963. "description": "用户ID",
  964. "name": "userid",
  965. "in": "query",
  966. "required": true
  967. },
  968. {
  969. "type": "string",
  970. "description": "交易日(格式:yyyyMMdd)",
  971. "name": "tradedate",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "type": "array",
  981. "items": {
  982. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  983. }
  984. }
  985. },
  986. "500": {
  987. "description": "Internal Server Error",
  988. "schema": {
  989. "$ref": "#/definitions/app.Response"
  990. }
  991. }
  992. }
  993. }
  994. },
  995. "/Ermcp/QryReportDayFinance": {
  996. "get": {
  997. "security": [
  998. {
  999. "ApiKeyAuth": []
  1000. }
  1001. ],
  1002. "produces": [
  1003. "application/json"
  1004. ],
  1005. "tags": [
  1006. "企业风险管理(app)"
  1007. ],
  1008. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1009. "parameters": [
  1010. {
  1011. "type": "integer",
  1012. "description": "用户ID",
  1013. "name": "userid",
  1014. "in": "query",
  1015. "required": true
  1016. },
  1017. {
  1018. "type": "string",
  1019. "description": "交易日(格式:yyyyMMdd)",
  1020. "name": "tradedate",
  1021. "in": "query",
  1022. "required": true
  1023. }
  1024. ],
  1025. "responses": {
  1026. "200": {
  1027. "description": "OK",
  1028. "schema": {
  1029. "type": "array",
  1030. "items": {
  1031. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1032. }
  1033. }
  1034. },
  1035. "500": {
  1036. "description": "Internal Server Error",
  1037. "schema": {
  1038. "$ref": "#/definitions/app.Response"
  1039. }
  1040. }
  1041. }
  1042. }
  1043. },
  1044. "/Ermcp/QryReportDayFinanceFp": {
  1045. "get": {
  1046. "security": [
  1047. {
  1048. "ApiKeyAuth": []
  1049. }
  1050. ],
  1051. "produces": [
  1052. "application/json"
  1053. ],
  1054. "tags": [
  1055. "企业风险管理(app)"
  1056. ],
  1057. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1058. "parameters": [
  1059. {
  1060. "type": "integer",
  1061. "description": "用户ID",
  1062. "name": "userid",
  1063. "in": "query",
  1064. "required": true
  1065. },
  1066. {
  1067. "type": "string",
  1068. "description": "交易日(格式:yyyyMMdd)",
  1069. "name": "tradedate",
  1070. "in": "query",
  1071. "required": true
  1072. }
  1073. ],
  1074. "responses": {
  1075. "200": {
  1076. "description": "OK",
  1077. "schema": {
  1078. "type": "array",
  1079. "items": {
  1080. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1081. }
  1082. }
  1083. },
  1084. "500": {
  1085. "description": "Internal Server Error",
  1086. "schema": {
  1087. "$ref": "#/definitions/app.Response"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. },
  1093. "/Ermcp/QryReportDayFinanceKx": {
  1094. "get": {
  1095. "security": [
  1096. {
  1097. "ApiKeyAuth": []
  1098. }
  1099. ],
  1100. "produces": [
  1101. "application/json"
  1102. ],
  1103. "tags": [
  1104. "企业风险管理(app)"
  1105. ],
  1106. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1107. "parameters": [
  1108. {
  1109. "type": "integer",
  1110. "description": "用户ID",
  1111. "name": "userid",
  1112. "in": "query",
  1113. "required": true
  1114. },
  1115. {
  1116. "type": "string",
  1117. "description": "交易日(格式:yyyyMMdd)",
  1118. "name": "tradedate",
  1119. "in": "query",
  1120. "required": true
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QryReportDaySpot": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. },
  1164. {
  1165. "type": "string",
  1166. "description": "交易日(格式:yyyyMMdd)",
  1167. "name": "tradedate",
  1168. "in": "query",
  1169. "required": true
  1170. }
  1171. ],
  1172. "responses": {
  1173. "200": {
  1174. "description": "OK",
  1175. "schema": {
  1176. "type": "array",
  1177. "items": {
  1178. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1179. }
  1180. }
  1181. },
  1182. "500": {
  1183. "description": "Internal Server Error",
  1184. "schema": {
  1185. "$ref": "#/definitions/app.Response"
  1186. }
  1187. }
  1188. }
  1189. }
  1190. },
  1191. "/Ermcp/QryReportDaySpotDetail": {
  1192. "get": {
  1193. "security": [
  1194. {
  1195. "ApiKeyAuth": []
  1196. }
  1197. ],
  1198. "produces": [
  1199. "application/json"
  1200. ],
  1201. "tags": [
  1202. "企业风险管理(app)"
  1203. ],
  1204. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1205. "parameters": [
  1206. {
  1207. "type": "integer",
  1208. "description": "用户ID",
  1209. "name": "userid",
  1210. "in": "query",
  1211. "required": true
  1212. },
  1213. {
  1214. "type": "integer",
  1215. "description": "现货商品id",
  1216. "name": "wrstandardid",
  1217. "in": "query",
  1218. "required": true
  1219. },
  1220. {
  1221. "type": "string",
  1222. "description": "交易日(格式:yyyyMMdd)",
  1223. "name": "tradedate",
  1224. "in": "query",
  1225. "required": true
  1226. }
  1227. ],
  1228. "responses": {
  1229. "200": {
  1230. "description": "OK",
  1231. "schema": {
  1232. "type": "array",
  1233. "items": {
  1234. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1235. }
  1236. }
  1237. },
  1238. "500": {
  1239. "description": "Internal Server Error",
  1240. "schema": {
  1241. "$ref": "#/definitions/app.Response"
  1242. }
  1243. }
  1244. }
  1245. }
  1246. },
  1247. "/Ermcp/QryReportMonthFinance": {
  1248. "get": {
  1249. "security": [
  1250. {
  1251. "ApiKeyAuth": []
  1252. }
  1253. ],
  1254. "produces": [
  1255. "application/json"
  1256. ],
  1257. "tags": [
  1258. "企业风险管理(app)"
  1259. ],
  1260. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1261. "parameters": [
  1262. {
  1263. "type": "integer",
  1264. "description": "用户ID",
  1265. "name": "userid",
  1266. "in": "query",
  1267. "required": true
  1268. },
  1269. {
  1270. "type": "string",
  1271. "description": "周期时间:月(格式:yyyyMM)",
  1272. "name": "cycletime",
  1273. "in": "query",
  1274. "required": true
  1275. }
  1276. ],
  1277. "responses": {
  1278. "200": {
  1279. "description": "OK",
  1280. "schema": {
  1281. "type": "array",
  1282. "items": {
  1283. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1284. }
  1285. }
  1286. },
  1287. "500": {
  1288. "description": "Internal Server Error",
  1289. "schema": {
  1290. "$ref": "#/definitions/app.Response"
  1291. }
  1292. }
  1293. }
  1294. }
  1295. },
  1296. "/Ermcp/QryReportMonthSpot": {
  1297. "get": {
  1298. "security": [
  1299. {
  1300. "ApiKeyAuth": []
  1301. }
  1302. ],
  1303. "produces": [
  1304. "application/json"
  1305. ],
  1306. "tags": [
  1307. "企业风险管理(app)"
  1308. ],
  1309. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1310. "parameters": [
  1311. {
  1312. "type": "integer",
  1313. "description": "用户ID",
  1314. "name": "userid",
  1315. "in": "query",
  1316. "required": true
  1317. },
  1318. {
  1319. "type": "string",
  1320. "description": "周期时间:月(格式:yyyyMM)",
  1321. "name": "cycletime",
  1322. "in": "query",
  1323. "required": true
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QryReportMonthSpotDetail": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "现货商品id",
  1370. "name": "wrstandardid",
  1371. "in": "query",
  1372. "required": true
  1373. },
  1374. {
  1375. "type": "string",
  1376. "description": "周期时间:月(格式:yyyyMM)",
  1377. "name": "cycletime",
  1378. "in": "query",
  1379. "required": true
  1380. }
  1381. ],
  1382. "responses": {
  1383. "200": {
  1384. "description": "OK",
  1385. "schema": {
  1386. "type": "array",
  1387. "items": {
  1388. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1389. }
  1390. }
  1391. },
  1392. "500": {
  1393. "description": "Internal Server Error",
  1394. "schema": {
  1395. "$ref": "#/definitions/app.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/Ermcp/QueryAreaStock": {
  1402. "get": {
  1403. "security": [
  1404. {
  1405. "ApiKeyAuth": []
  1406. }
  1407. ],
  1408. "produces": [
  1409. "application/json"
  1410. ],
  1411. "tags": [
  1412. "企业风险管理(app)"
  1413. ],
  1414. "summary": "查询机构库存(库存管理/当前库存)",
  1415. "parameters": [
  1416. {
  1417. "type": "integer",
  1418. "description": "用户ID",
  1419. "name": "userid",
  1420. "in": "query",
  1421. "required": true
  1422. }
  1423. ],
  1424. "responses": {
  1425. "200": {
  1426. "description": "OK",
  1427. "schema": {
  1428. "type": "array",
  1429. "items": {
  1430. "$ref": "#/definitions/models.ErmcpAreaStock"
  1431. }
  1432. }
  1433. },
  1434. "500": {
  1435. "description": "Internal Server Error",
  1436. "schema": {
  1437. "$ref": "#/definitions/app.Response"
  1438. }
  1439. }
  1440. }
  1441. }
  1442. },
  1443. "/Ermcp/QueryAreaStockApply": {
  1444. "get": {
  1445. "security": [
  1446. {
  1447. "ApiKeyAuth": []
  1448. }
  1449. ],
  1450. "produces": [
  1451. "application/json"
  1452. ],
  1453. "tags": [
  1454. "企业风险管理(app)"
  1455. ],
  1456. "summary": "查询库存申请(出入库记录|库存审核)",
  1457. "parameters": [
  1458. {
  1459. "type": "integer",
  1460. "description": "用户ID",
  1461. "name": "userid",
  1462. "in": "query",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "string",
  1467. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1468. "name": "inouttype",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "合同ID",
  1474. "name": "spotcontractid",
  1475. "in": "query"
  1476. },
  1477. {
  1478. "type": "integer",
  1479. "description": "现货商品ID",
  1480. "name": "wrstandardid",
  1481. "in": "query"
  1482. },
  1483. {
  1484. "type": "integer",
  1485. "description": "品牌ID",
  1486. "name": "spotgoodsbrandid",
  1487. "in": "query"
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": "型号ID",
  1492. "name": "spotgoodsmodelid",
  1493. "in": "query"
  1494. },
  1495. {
  1496. "type": "integer",
  1497. "description": "仓库ID",
  1498. "name": "warehouseinfoid",
  1499. "in": "query"
  1500. },
  1501. {
  1502. "type": "string",
  1503. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1504. "name": "applystatus",
  1505. "in": "query"
  1506. }
  1507. ],
  1508. "responses": {
  1509. "200": {
  1510. "description": "OK",
  1511. "schema": {
  1512. "type": "array",
  1513. "items": {
  1514. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1515. }
  1516. }
  1517. },
  1518. "500": {
  1519. "description": "Internal Server Error",
  1520. "schema": {
  1521. "$ref": "#/definitions/app.Response"
  1522. }
  1523. }
  1524. }
  1525. }
  1526. },
  1527. "/Ermcp/QueryAreaStockApplySum": {
  1528. "get": {
  1529. "security": [
  1530. {
  1531. "ApiKeyAuth": []
  1532. }
  1533. ],
  1534. "produces": [
  1535. "application/json"
  1536. ],
  1537. "tags": [
  1538. "企业风险管理(app)"
  1539. ],
  1540. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1541. "parameters": [
  1542. {
  1543. "type": "integer",
  1544. "description": "合同ID",
  1545. "name": "spotcontractid",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryAreaStockReport": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询库存报表",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "userid",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "查询类型 1-日报表 2-月报表",
  1593. "name": "querytype",
  1594. "in": "query",
  1595. "required": true
  1596. },
  1597. {
  1598. "type": "string",
  1599. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1600. "name": "querydate",
  1601. "in": "query",
  1602. "required": true
  1603. },
  1604. {
  1605. "type": "integer",
  1606. "description": "现货商品ID",
  1607. "name": "wrstandardid",
  1608. "in": "query"
  1609. },
  1610. {
  1611. "type": "integer",
  1612. "description": "品牌ID",
  1613. "name": "spotgoodsbrandid",
  1614. "in": "query"
  1615. },
  1616. {
  1617. "type": "integer",
  1618. "description": "型号ID",
  1619. "name": "spotgoodsmodelid",
  1620. "in": "query"
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "仓库ID",
  1625. "name": "warehouseinfoid",
  1626. "in": "query"
  1627. }
  1628. ],
  1629. "responses": {
  1630. "200": {
  1631. "description": "OK",
  1632. "schema": {
  1633. "type": "array",
  1634. "items": {
  1635. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1636. }
  1637. }
  1638. },
  1639. "500": {
  1640. "description": "Internal Server Error",
  1641. "schema": {
  1642. "$ref": "#/definitions/app.Response"
  1643. }
  1644. }
  1645. }
  1646. }
  1647. },
  1648. "/Ermcp/QueryAreaStockReportDetail": {
  1649. "get": {
  1650. "security": [
  1651. {
  1652. "ApiKeyAuth": []
  1653. }
  1654. ],
  1655. "produces": [
  1656. "application/json"
  1657. ],
  1658. "tags": [
  1659. "企业风险管理(app)"
  1660. ],
  1661. "summary": "查询库存报表明细",
  1662. "parameters": [
  1663. {
  1664. "type": "integer",
  1665. "description": "用户ID",
  1666. "name": "userid",
  1667. "in": "query",
  1668. "required": true
  1669. },
  1670. {
  1671. "type": "integer",
  1672. "description": "查询类型 1-日报表明细 2-月报表明细",
  1673. "name": "querytype",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1680. "name": "detailtype",
  1681. "in": "query",
  1682. "required": true
  1683. },
  1684. {
  1685. "type": "string",
  1686. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1687. "name": "querydate",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "现货商品ID",
  1694. "name": "wrstandardid",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "品牌ID",
  1700. "name": "spotgoodsbrandid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "型号ID",
  1706. "name": "spotgoodsmodelid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "integer",
  1711. "description": "仓库ID",
  1712. "name": "warehouseinfoid",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryAvaildGoodsGroup": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1749. "parameters": [
  1750. {
  1751. "type": "integer",
  1752. "description": "所属机构ID",
  1753. "name": "userid",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryBusinessDj": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "用户ID",
  1795. "name": "UserId",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "现货合同ID, 不填则查所有",
  1802. "name": "relatedid",
  1803. "in": "query"
  1804. }
  1805. ],
  1806. "responses": {
  1807. "200": {
  1808. "description": "OK",
  1809. "schema": {
  1810. "type": "array",
  1811. "items": {
  1812. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1813. }
  1814. }
  1815. },
  1816. "500": {
  1817. "description": "Internal Server Error",
  1818. "schema": {
  1819. "$ref": "#/definitions/app.Response"
  1820. }
  1821. }
  1822. }
  1823. }
  1824. },
  1825. "/Ermcp/QueryBusinessFp": {
  1826. "get": {
  1827. "security": [
  1828. {
  1829. "ApiKeyAuth": []
  1830. }
  1831. ],
  1832. "produces": [
  1833. "application/json"
  1834. ],
  1835. "tags": [
  1836. "企业风险管理(app)"
  1837. ],
  1838. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1839. "parameters": [
  1840. {
  1841. "type": "integer",
  1842. "description": "用户ID",
  1843. "name": "UserId",
  1844. "in": "query",
  1845. "required": true
  1846. },
  1847. {
  1848. "type": "string",
  1849. "description": "现货合同ID, 不填则查所有",
  1850. "name": "relatedid",
  1851. "in": "query"
  1852. }
  1853. ],
  1854. "responses": {
  1855. "200": {
  1856. "description": "OK",
  1857. "schema": {
  1858. "type": "array",
  1859. "items": {
  1860. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1861. }
  1862. }
  1863. },
  1864. "500": {
  1865. "description": "Internal Server Error",
  1866. "schema": {
  1867. "$ref": "#/definitions/app.Response"
  1868. }
  1869. }
  1870. }
  1871. }
  1872. },
  1873. "/Ermcp/QueryBusinessJs": {
  1874. "get": {
  1875. "security": [
  1876. {
  1877. "ApiKeyAuth": []
  1878. }
  1879. ],
  1880. "produces": [
  1881. "application/json"
  1882. ],
  1883. "tags": [
  1884. "企业风险管理(app)"
  1885. ],
  1886. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1887. "parameters": [
  1888. {
  1889. "type": "integer",
  1890. "description": "用户ID",
  1891. "name": "UserId",
  1892. "in": "query",
  1893. "required": true
  1894. },
  1895. {
  1896. "type": "string",
  1897. "description": "现货合同ID, 不填则查所有",
  1898. "name": "relatedid",
  1899. "in": "query"
  1900. },
  1901. {
  1902. "type": "string",
  1903. "description": "操作申请id",
  1904. "name": "operateapplyid",
  1905. "in": "query"
  1906. }
  1907. ],
  1908. "responses": {
  1909. "200": {
  1910. "description": "OK",
  1911. "schema": {
  1912. "type": "array",
  1913. "items": {
  1914. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1915. }
  1916. }
  1917. },
  1918. "500": {
  1919. "description": "Internal Server Error",
  1920. "schema": {
  1921. "$ref": "#/definitions/app.Response"
  1922. }
  1923. }
  1924. }
  1925. }
  1926. },
  1927. "/Ermcp/QueryBusinessJsEx": {
  1928. "get": {
  1929. "security": [
  1930. {
  1931. "ApiKeyAuth": []
  1932. }
  1933. ],
  1934. "produces": [
  1935. "application/json"
  1936. ],
  1937. "tags": [
  1938. "企业风险管理(app)"
  1939. ],
  1940. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1941. "parameters": [
  1942. {
  1943. "type": "integer",
  1944. "description": "用户ID",
  1945. "name": "UserId",
  1946. "in": "query",
  1947. "required": true
  1948. },
  1949. {
  1950. "type": "string",
  1951. "description": "现货合同ID, 不填则查所有",
  1952. "name": "relatedid",
  1953. "in": "query"
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "type": "array",
  1961. "items": {
  1962. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1963. }
  1964. }
  1965. },
  1966. "500": {
  1967. "description": "Internal Server Error",
  1968. "schema": {
  1969. "$ref": "#/definitions/app.Response"
  1970. }
  1971. }
  1972. }
  1973. }
  1974. },
  1975. "/Ermcp/QueryBusinessKx": {
  1976. "get": {
  1977. "security": [
  1978. {
  1979. "ApiKeyAuth": []
  1980. }
  1981. ],
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "企业风险管理(app)"
  1987. ],
  1988. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1989. "parameters": [
  1990. {
  1991. "type": "integer",
  1992. "description": "用户ID",
  1993. "name": "UserId",
  1994. "in": "query",
  1995. "required": true
  1996. },
  1997. {
  1998. "type": "string",
  1999. "description": "现货合同ID, 不填则查所有",
  2000. "name": "relatedid",
  2001. "in": "query"
  2002. }
  2003. ],
  2004. "responses": {
  2005. "200": {
  2006. "description": "OK",
  2007. "schema": {
  2008. "type": "array",
  2009. "items": {
  2010. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2011. }
  2012. }
  2013. },
  2014. "500": {
  2015. "description": "Internal Server Error",
  2016. "schema": {
  2017. "$ref": "#/definitions/app.Response"
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/Ermcp/QueryChangeLog": {
  2024. "get": {
  2025. "security": [
  2026. {
  2027. "ApiKeyAuth": []
  2028. }
  2029. ],
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "企业风险管理(app)"
  2035. ],
  2036. "summary": "查询变更记录",
  2037. "parameters": [
  2038. {
  2039. "type": "string",
  2040. "description": "合同ID",
  2041. "name": "RelatedId",
  2042. "in": "query",
  2043. "required": true
  2044. }
  2045. ],
  2046. "responses": {
  2047. "200": {
  2048. "description": "OK",
  2049. "schema": {
  2050. "type": "array",
  2051. "items": {
  2052. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2053. }
  2054. }
  2055. },
  2056. "500": {
  2057. "description": "Internal Server Error",
  2058. "schema": {
  2059. "$ref": "#/definitions/app.Response"
  2060. }
  2061. }
  2062. }
  2063. }
  2064. },
  2065. "/Ermcp/QueryContract": {
  2066. "get": {
  2067. "security": [
  2068. {
  2069. "ApiKeyAuth": []
  2070. }
  2071. ],
  2072. "produces": [
  2073. "application/json"
  2074. ],
  2075. "tags": [
  2076. "企业风险管理(app)"
  2077. ],
  2078. "summary": "查询合同(采购和销售)",
  2079. "parameters": [
  2080. {
  2081. "type": "integer",
  2082. "description": "用户ID",
  2083. "name": "userId",
  2084. "in": "query",
  2085. "required": true
  2086. },
  2087. {
  2088. "type": "integer",
  2089. "description": "合同类型 1-采购, -1-销售",
  2090. "name": "contracttype",
  2091. "in": "query",
  2092. "required": true
  2093. },
  2094. {
  2095. "type": "integer",
  2096. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2097. "name": "querytype",
  2098. "in": "query",
  2099. "required": true
  2100. },
  2101. {
  2102. "type": "string",
  2103. "description": "合同ID(SpotContractId)",
  2104. "name": "contractid",
  2105. "in": "query"
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2115. }
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/Ermcp/QueryErmcpHisOrderDetails": {
  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": "accountID",
  2146. "in": "query",
  2147. "required": true
  2148. },
  2149. {
  2150. "type": "string",
  2151. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2152. "name": "startDate",
  2153. "in": "query"
  2154. },
  2155. {
  2156. "type": "string",
  2157. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2158. "name": "endDate",
  2159. "in": "query"
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2167. }
  2168. },
  2169. "500": {
  2170. "description": "Internal Server Error",
  2171. "schema": {
  2172. "$ref": "#/definitions/app.Response"
  2173. }
  2174. }
  2175. }
  2176. }
  2177. },
  2178. "/Ermcp/QueryErmcpHisTradeDetails": {
  2179. "get": {
  2180. "security": [
  2181. {
  2182. "ApiKeyAuth": []
  2183. }
  2184. ],
  2185. "produces": [
  2186. "application/json"
  2187. ],
  2188. "tags": [
  2189. "企业风险管理(app)"
  2190. ],
  2191. "summary": "获取企业风管期货历史成交单信息",
  2192. "parameters": [
  2193. {
  2194. "type": "integer",
  2195. "description": "资金账户ID",
  2196. "name": "accountID",
  2197. "in": "query",
  2198. "required": true
  2199. },
  2200. {
  2201. "type": "integer",
  2202. "description": "商品ID",
  2203. "name": "goodsID",
  2204. "in": "query"
  2205. },
  2206. {
  2207. "type": "integer",
  2208. "description": "买卖方向,0:买 1:卖",
  2209. "name": "buyOrSell",
  2210. "in": "query"
  2211. },
  2212. {
  2213. "type": "integer",
  2214. "description": "关联委托单号",
  2215. "name": "orderID",
  2216. "in": "query"
  2217. },
  2218. {
  2219. "type": "string",
  2220. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2221. "name": "startDate",
  2222. "in": "query"
  2223. },
  2224. {
  2225. "type": "string",
  2226. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2227. "name": "endDate",
  2228. "in": "query"
  2229. }
  2230. ],
  2231. "responses": {
  2232. "200": {
  2233. "description": "OK",
  2234. "schema": {
  2235. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2236. }
  2237. },
  2238. "500": {
  2239. "description": "Internal Server Error",
  2240. "schema": {
  2241. "$ref": "#/definitions/app.Response"
  2242. }
  2243. }
  2244. }
  2245. }
  2246. },
  2247. "/Ermcp/QueryErmcpOrderDetails": {
  2248. "get": {
  2249. "security": [
  2250. {
  2251. "ApiKeyAuth": []
  2252. }
  2253. ],
  2254. "produces": [
  2255. "application/json"
  2256. ],
  2257. "tags": [
  2258. "企业风险管理(app)"
  2259. ],
  2260. "summary": "获取企业风管期货委托单信息",
  2261. "parameters": [
  2262. {
  2263. "type": "integer",
  2264. "description": "资金账户ID",
  2265. "name": "accountID",
  2266. "in": "query",
  2267. "required": true
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/Ermcp/QueryErmcpTradeDetails": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "企业风险管理(app)"
  2298. ],
  2299. "summary": "获取企业风管期货成交单信息",
  2300. "parameters": [
  2301. {
  2302. "type": "integer",
  2303. "description": "资金账户ID",
  2304. "name": "accountID",
  2305. "in": "query",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": "商品ID",
  2311. "name": "goodsID",
  2312. "in": "query"
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "买卖方向,0:买 1:卖",
  2317. "name": "buyOrSell",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "关联委托单号",
  2323. "name": "orderID",
  2324. "in": "query"
  2325. }
  2326. ],
  2327. "responses": {
  2328. "200": {
  2329. "description": "OK",
  2330. "schema": {
  2331. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/Ermcp/QueryErmcpTradePosition": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2351. "produces": [
  2352. "application/json"
  2353. ],
  2354. "tags": [
  2355. "企业风险管理(app)"
  2356. ],
  2357. "summary": "获取企业风管期货持仓头寸信息",
  2358. "parameters": [
  2359. {
  2360. "type": "integer",
  2361. "description": "资金账户ID",
  2362. "name": "accountID",
  2363. "in": "query",
  2364. "required": true
  2365. },
  2366. {
  2367. "type": "integer",
  2368. "description": "所属市场ID",
  2369. "name": "marketID",
  2370. "in": "query"
  2371. }
  2372. ],
  2373. "responses": {
  2374. "200": {
  2375. "description": "OK",
  2376. "schema": {
  2377. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryExposureDetail": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询敞口现货明细",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "所属机构ID",
  2407. "name": "areaUserId",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "integer",
  2413. "description": "套保商品",
  2414. "name": "middleGoodsId",
  2415. "in": "query",
  2416. "required": true
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryExposureHedgePosition": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "所属机构ID",
  2456. "name": "areaUserId",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryExposureHedgePositionDetail": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "所属机构ID",
  2498. "name": "areaUserId",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "商品id",
  2505. "name": "goodsId",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryExposureSpot": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "areaUserId",
  2548. "in": "query",
  2549. "required": true
  2550. }
  2551. ],
  2552. "responses": {
  2553. "200": {
  2554. "description": "OK",
  2555. "schema": {
  2556. "type": "array",
  2557. "items": {
  2558. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2559. }
  2560. }
  2561. },
  2562. "500": {
  2563. "description": "Internal Server Error",
  2564. "schema": {
  2565. "$ref": "#/definitions/app.Response"
  2566. }
  2567. }
  2568. }
  2569. }
  2570. },
  2571. "/Ermcp/QueryExposureSpotDetail": {
  2572. "get": {
  2573. "security": [
  2574. {
  2575. "ApiKeyAuth": []
  2576. }
  2577. ],
  2578. "produces": [
  2579. "application/json"
  2580. ],
  2581. "tags": [
  2582. "企业风险管理(app)"
  2583. ],
  2584. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2585. "parameters": [
  2586. {
  2587. "type": "integer",
  2588. "description": "所属机构ID",
  2589. "name": "areaUserId",
  2590. "in": "query",
  2591. "required": true
  2592. },
  2593. {
  2594. "type": "integer",
  2595. "description": "现货品种ID",
  2596. "name": "wrstandardId",
  2597. "in": "query",
  2598. "required": true
  2599. }
  2600. ],
  2601. "responses": {
  2602. "200": {
  2603. "description": "OK",
  2604. "schema": {
  2605. "type": "array",
  2606. "items": {
  2607. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2608. }
  2609. }
  2610. },
  2611. "500": {
  2612. "description": "Internal Server Error",
  2613. "schema": {
  2614. "$ref": "#/definitions/app.Response"
  2615. }
  2616. }
  2617. }
  2618. }
  2619. },
  2620. "/Ermcp/QueryGGConvertConfig": {
  2621. "get": {
  2622. "security": [
  2623. {
  2624. "ApiKeyAuth": []
  2625. }
  2626. ],
  2627. "produces": [
  2628. "application/json"
  2629. ],
  2630. "tags": [
  2631. "企业风险管理(app)"
  2632. ],
  2633. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2634. "parameters": [
  2635. {
  2636. "type": "integer",
  2637. "description": "品种id(不填则查所有)",
  2638. "name": "goodsgroupid",
  2639. "in": "query"
  2640. }
  2641. ],
  2642. "responses": {
  2643. "200": {
  2644. "description": "OK",
  2645. "schema": {
  2646. "type": "array",
  2647. "items": {
  2648. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2649. }
  2650. }
  2651. },
  2652. "500": {
  2653. "description": "Internal Server Error",
  2654. "schema": {
  2655. "$ref": "#/definitions/app.Response"
  2656. }
  2657. }
  2658. }
  2659. }
  2660. },
  2661. "/Ermcp/QueryGoodsBrand": {
  2662. "get": {
  2663. "security": [
  2664. {
  2665. "ApiKeyAuth": []
  2666. }
  2667. ],
  2668. "produces": [
  2669. "application/json"
  2670. ],
  2671. "tags": [
  2672. "企业风险管理(app)"
  2673. ],
  2674. "summary": "查询商品品牌",
  2675. "parameters": [
  2676. {
  2677. "type": "integer",
  2678. "description": "用户ID",
  2679. "name": "userid",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "现货商品ID",
  2686. "name": "wrstandardid",
  2687. "in": "query"
  2688. }
  2689. ],
  2690. "responses": {
  2691. "200": {
  2692. "description": "OK",
  2693. "schema": {
  2694. "type": "array",
  2695. "items": {
  2696. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2697. }
  2698. }
  2699. },
  2700. "500": {
  2701. "description": "Internal Server Error",
  2702. "schema": {
  2703. "$ref": "#/definitions/app.Response"
  2704. }
  2705. }
  2706. }
  2707. }
  2708. },
  2709. "/Ermcp/QueryGoodsModel": {
  2710. "get": {
  2711. "security": [
  2712. {
  2713. "ApiKeyAuth": []
  2714. }
  2715. ],
  2716. "produces": [
  2717. "application/json"
  2718. ],
  2719. "tags": [
  2720. "企业风险管理(app)"
  2721. ],
  2722. "summary": "查询商品型号",
  2723. "parameters": [
  2724. {
  2725. "type": "integer",
  2726. "description": "用户ID",
  2727. "name": "userid",
  2728. "in": "query",
  2729. "required": true
  2730. }
  2731. ],
  2732. "responses": {
  2733. "200": {
  2734. "description": "OK",
  2735. "schema": {
  2736. "type": "array",
  2737. "items": {
  2738. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2739. }
  2740. }
  2741. },
  2742. "500": {
  2743. "description": "Internal Server Error",
  2744. "schema": {
  2745. "$ref": "#/definitions/app.Response"
  2746. }
  2747. }
  2748. }
  2749. }
  2750. },
  2751. "/Ermcp/QueryHedgePlan": {
  2752. "get": {
  2753. "security": [
  2754. {
  2755. "ApiKeyAuth": []
  2756. }
  2757. ],
  2758. "produces": [
  2759. "application/json"
  2760. ],
  2761. "tags": [
  2762. "企业风险管理(app)"
  2763. ],
  2764. "summary": "查询套保计划",
  2765. "parameters": [
  2766. {
  2767. "type": "integer",
  2768. "description": "用户ID",
  2769. "name": "userId",
  2770. "in": "query",
  2771. "required": true
  2772. },
  2773. {
  2774. "type": "string",
  2775. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2776. "name": "HedgePlanStatus",
  2777. "in": "query",
  2778. "required": true
  2779. }
  2780. ],
  2781. "responses": {
  2782. "200": {
  2783. "description": "OK",
  2784. "schema": {
  2785. "type": "array",
  2786. "items": {
  2787. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2788. }
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/Ermcp/QueryHisExposure": {
  2801. "get": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "企业风险管理(app)"
  2812. ],
  2813. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2814. "parameters": [
  2815. {
  2816. "type": "integer",
  2817. "description": "所属机构ID",
  2818. "name": "areaUserId",
  2819. "in": "query",
  2820. "required": true
  2821. },
  2822. {
  2823. "type": "integer",
  2824. "description": "每个品种记录数",
  2825. "name": "lastNum",
  2826. "in": "query",
  2827. "required": true
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "type": "array",
  2835. "items": {
  2836. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2837. }
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Ermcp/QueryMiddleGoods": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "企业风险管理(app)"
  2861. ],
  2862. "summary": "查询套保品种(菜单:套保品种)",
  2863. "parameters": [
  2864. {
  2865. "type": "integer",
  2866. "description": "所属机构ID",
  2867. "name": "userid",
  2868. "in": "query",
  2869. "required": true
  2870. },
  2871. {
  2872. "type": "integer",
  2873. "description": "状态 0-停用 1-正常",
  2874. "name": "status",
  2875. "in": "query",
  2876. "required": true
  2877. }
  2878. ],
  2879. "responses": {
  2880. "200": {
  2881. "description": "OK",
  2882. "schema": {
  2883. "type": "array",
  2884. "items": {
  2885. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2886. }
  2887. }
  2888. },
  2889. "500": {
  2890. "description": "Internal Server Error",
  2891. "schema": {
  2892. "$ref": "#/definitions/app.Response"
  2893. }
  2894. }
  2895. }
  2896. }
  2897. },
  2898. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2899. "get": {
  2900. "security": [
  2901. {
  2902. "ApiKeyAuth": []
  2903. }
  2904. ],
  2905. "produces": [
  2906. "application/json"
  2907. ],
  2908. "tags": [
  2909. "企业风险管理(app)"
  2910. ],
  2911. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2912. "parameters": [
  2913. {
  2914. "type": "integer",
  2915. "description": "所属机构ID",
  2916. "name": "userid",
  2917. "in": "query",
  2918. "required": true
  2919. },
  2920. {
  2921. "type": "integer",
  2922. "description": "套保品种id",
  2923. "name": "middlegoodsid",
  2924. "in": "query",
  2925. "required": true
  2926. }
  2927. ],
  2928. "responses": {
  2929. "200": {
  2930. "description": "OK",
  2931. "schema": {
  2932. "type": "array",
  2933. "items": {
  2934. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2935. }
  2936. }
  2937. },
  2938. "500": {
  2939. "description": "Internal Server Error",
  2940. "schema": {
  2941. "$ref": "#/definitions/app.Response"
  2942. }
  2943. }
  2944. }
  2945. }
  2946. },
  2947. "/Ermcp/QueryMiddleGoodsDetail": {
  2948. "get": {
  2949. "security": [
  2950. {
  2951. "ApiKeyAuth": []
  2952. }
  2953. ],
  2954. "produces": [
  2955. "application/json"
  2956. ],
  2957. "tags": [
  2958. "企业风险管理(app)"
  2959. ],
  2960. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2961. "parameters": [
  2962. {
  2963. "type": "integer",
  2964. "description": "所属机构ID",
  2965. "name": "userid",
  2966. "in": "query",
  2967. "required": true
  2968. },
  2969. {
  2970. "type": "integer",
  2971. "description": "套保品种id",
  2972. "name": "middlegoodsid",
  2973. "in": "query"
  2974. }
  2975. ],
  2976. "responses": {
  2977. "200": {
  2978. "description": "OK",
  2979. "schema": {
  2980. "type": "array",
  2981. "items": {
  2982. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2983. }
  2984. }
  2985. },
  2986. "500": {
  2987. "description": "Internal Server Error",
  2988. "schema": {
  2989. "$ref": "#/definitions/app.Response"
  2990. }
  2991. }
  2992. }
  2993. }
  2994. },
  2995. "/Ermcp/QueryPendingAuditInfo": {
  2996. "get": {
  2997. "security": [
  2998. {
  2999. "ApiKeyAuth": []
  3000. }
  3001. ],
  3002. "produces": [
  3003. "application/json"
  3004. ],
  3005. "tags": [
  3006. "企业风险管理(app)"
  3007. ],
  3008. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3009. "parameters": [
  3010. {
  3011. "type": "integer",
  3012. "description": "用户ID",
  3013. "name": "UserId",
  3014. "in": "query",
  3015. "required": true
  3016. }
  3017. ],
  3018. "responses": {
  3019. "200": {
  3020. "description": "OK",
  3021. "schema": {
  3022. "type": "array",
  3023. "items": {
  3024. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3025. }
  3026. }
  3027. },
  3028. "500": {
  3029. "description": "Internal Server Error",
  3030. "schema": {
  3031. "$ref": "#/definitions/app.Response"
  3032. }
  3033. }
  3034. }
  3035. }
  3036. },
  3037. "/Ermcp/QueryRealtimeExposure": {
  3038. "get": {
  3039. "security": [
  3040. {
  3041. "ApiKeyAuth": []
  3042. }
  3043. ],
  3044. "produces": [
  3045. "application/json"
  3046. ],
  3047. "tags": [
  3048. "企业风险管理(app)"
  3049. ],
  3050. "summary": "查询实时敞口",
  3051. "parameters": [
  3052. {
  3053. "type": "integer",
  3054. "description": "所属机构ID",
  3055. "name": "AreaUserID",
  3056. "in": "query",
  3057. "required": true
  3058. }
  3059. ],
  3060. "responses": {
  3061. "200": {
  3062. "description": "OK",
  3063. "schema": {
  3064. "type": "array",
  3065. "items": {
  3066. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3067. }
  3068. }
  3069. },
  3070. "500": {
  3071. "description": "Internal Server Error",
  3072. "schema": {
  3073. "$ref": "#/definitions/app.Response"
  3074. }
  3075. }
  3076. }
  3077. }
  3078. },
  3079. "/Ermcp/QueryRealtimeExposurePosition": {
  3080. "get": {
  3081. "security": [
  3082. {
  3083. "ApiKeyAuth": []
  3084. }
  3085. ],
  3086. "produces": [
  3087. "application/json"
  3088. ],
  3089. "tags": [
  3090. "企业风险管理(app)"
  3091. ],
  3092. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3093. "parameters": [
  3094. {
  3095. "type": "integer",
  3096. "description": "所属机构ID",
  3097. "name": "areaUserId",
  3098. "in": "query",
  3099. "required": true
  3100. },
  3101. {
  3102. "type": "integer",
  3103. "description": "套保商品ID",
  3104. "name": "middleGoodsId",
  3105. "in": "query",
  3106. "required": true
  3107. }
  3108. ],
  3109. "responses": {
  3110. "200": {
  3111. "description": "OK",
  3112. "schema": {
  3113. "type": "array",
  3114. "items": {
  3115. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3116. }
  3117. }
  3118. },
  3119. "500": {
  3120. "description": "Internal Server Error",
  3121. "schema": {
  3122. "$ref": "#/definitions/app.Response"
  3123. }
  3124. }
  3125. }
  3126. }
  3127. },
  3128. "/Ermcp/QuerySpotContract": {
  3129. "get": {
  3130. "security": [
  3131. {
  3132. "ApiKeyAuth": []
  3133. }
  3134. ],
  3135. "produces": [
  3136. "application/json"
  3137. ],
  3138. "tags": [
  3139. "企业风险管理(app)"
  3140. ],
  3141. "summary": "查询现货合同(对应现货合同菜单)",
  3142. "parameters": [
  3143. {
  3144. "type": "integer",
  3145. "description": "用户ID",
  3146. "name": "userId",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "integer",
  3152. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3153. "name": "QueryType",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "type": "array",
  3163. "items": {
  3164. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3165. }
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/Ermcp/QueryUserInfo": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "produces": [
  3185. "application/json"
  3186. ],
  3187. "tags": [
  3188. "企业风险管理(app)"
  3189. ],
  3190. "summary": "查询客户资料",
  3191. "parameters": [
  3192. {
  3193. "type": "integer",
  3194. "description": "所属机构用户ID",
  3195. "name": "MemberUserID",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3202. "name": "queryType",
  3203. "in": "query",
  3204. "required": true
  3205. }
  3206. ],
  3207. "responses": {
  3208. "200": {
  3209. "description": "OK",
  3210. "schema": {
  3211. "type": "array",
  3212. "items": {
  3213. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3214. }
  3215. }
  3216. },
  3217. "500": {
  3218. "description": "Internal Server Error",
  3219. "schema": {
  3220. "$ref": "#/definitions/app.Response"
  3221. }
  3222. }
  3223. }
  3224. }
  3225. },
  3226. "/Ermcp/QueryWarehouseInfo": {
  3227. "get": {
  3228. "security": [
  3229. {
  3230. "ApiKeyAuth": []
  3231. }
  3232. ],
  3233. "produces": [
  3234. "application/json"
  3235. ],
  3236. "tags": [
  3237. "企业风险管理(app)"
  3238. ],
  3239. "summary": "查询仓库信息",
  3240. "parameters": [
  3241. {
  3242. "type": "integer",
  3243. "description": "用户ID",
  3244. "name": "userid",
  3245. "in": "query",
  3246. "required": true
  3247. },
  3248. {
  3249. "type": "string",
  3250. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3251. "name": "status",
  3252. "in": "query"
  3253. }
  3254. ],
  3255. "responses": {
  3256. "200": {
  3257. "description": "OK",
  3258. "schema": {
  3259. "type": "array",
  3260. "items": {
  3261. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3262. }
  3263. }
  3264. },
  3265. "500": {
  3266. "description": "Internal Server Error",
  3267. "schema": {
  3268. "$ref": "#/definitions/app.Response"
  3269. }
  3270. }
  3271. }
  3272. }
  3273. },
  3274. "/Ermcp/QueryWrStandard": {
  3275. "get": {
  3276. "security": [
  3277. {
  3278. "ApiKeyAuth": []
  3279. }
  3280. ],
  3281. "produces": [
  3282. "application/json"
  3283. ],
  3284. "tags": [
  3285. "企业风险管理(app)"
  3286. ],
  3287. "summary": "查询现货商品",
  3288. "parameters": [
  3289. {
  3290. "type": "integer",
  3291. "description": "所属机构ID",
  3292. "name": "userid",
  3293. "in": "query",
  3294. "required": true
  3295. },
  3296. {
  3297. "type": "integer",
  3298. "description": "状态 0-停用 1-正常",
  3299. "name": "status",
  3300. "in": "query",
  3301. "required": true
  3302. }
  3303. ],
  3304. "responses": {
  3305. "200": {
  3306. "description": "OK",
  3307. "schema": {
  3308. "type": "array",
  3309. "items": {
  3310. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3311. }
  3312. }
  3313. },
  3314. "500": {
  3315. "description": "Internal Server Error",
  3316. "schema": {
  3317. "$ref": "#/definitions/app.Response"
  3318. }
  3319. }
  3320. }
  3321. }
  3322. },
  3323. "/Ermcp/QueryWrStandardDetail": {
  3324. "get": {
  3325. "security": [
  3326. {
  3327. "ApiKeyAuth": []
  3328. }
  3329. ],
  3330. "produces": [
  3331. "application/json"
  3332. ],
  3333. "tags": [
  3334. "企业风险管理(app)"
  3335. ],
  3336. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3337. "parameters": [
  3338. {
  3339. "type": "integer",
  3340. "description": "所属机构ID",
  3341. "name": "userid",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "integer",
  3347. "description": "现货商品ID",
  3348. "name": "wrstandardid",
  3349. "in": "query"
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "可不填, 1-查询关联交易商品",
  3354. "name": "goods",
  3355. "in": "query"
  3356. }
  3357. ],
  3358. "responses": {
  3359. "200": {
  3360. "description": "OK",
  3361. "schema": {
  3362. "type": "array",
  3363. "items": {
  3364. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3365. }
  3366. }
  3367. },
  3368. "500": {
  3369. "description": "Internal Server Error",
  3370. "schema": {
  3371. "$ref": "#/definitions/app.Response"
  3372. }
  3373. }
  3374. }
  3375. }
  3376. },
  3377. "/Erms2/QueryArbitrageStrategy": {
  3378. "get": {
  3379. "security": [
  3380. {
  3381. "ApiKeyAuth": []
  3382. }
  3383. ],
  3384. "produces": [
  3385. "application/json"
  3386. ],
  3387. "tags": [
  3388. "风险管理"
  3389. ],
  3390. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3391. "parameters": [
  3392. {
  3393. "type": "integer",
  3394. "description": "账户ID",
  3395. "name": "userid",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "商品组ID(品种ID)",
  3402. "name": "goodsgroupid",
  3403. "in": "query"
  3404. }
  3405. ],
  3406. "responses": {
  3407. "200": {
  3408. "description": "OK",
  3409. "schema": {
  3410. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3411. }
  3412. },
  3413. "500": {
  3414. "description": "Internal Server Error",
  3415. "schema": {
  3416. "$ref": "#/definitions/app.Response"
  3417. }
  3418. }
  3419. }
  3420. }
  3421. },
  3422. "/Erms2/QueryInnerTradeDetail": {
  3423. "get": {
  3424. "security": [
  3425. {
  3426. "ApiKeyAuth": []
  3427. }
  3428. ],
  3429. "produces": [
  3430. "application/json"
  3431. ],
  3432. "tags": [
  3433. "风险管理"
  3434. ],
  3435. "summary": "查询内部成交单信息",
  3436. "parameters": [
  3437. {
  3438. "type": "integer",
  3439. "description": "资金账户",
  3440. "name": "accountid",
  3441. "in": "query",
  3442. "required": true
  3443. }
  3444. ],
  3445. "responses": {
  3446. "200": {
  3447. "description": "OK",
  3448. "schema": {
  3449. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3450. }
  3451. },
  3452. "500": {
  3453. "description": "Internal Server Error",
  3454. "schema": {
  3455. "$ref": "#/definitions/app.Response"
  3456. }
  3457. }
  3458. }
  3459. }
  3460. },
  3461. "/Erms2/QuerySpotContract": {
  3462. "get": {
  3463. "security": [
  3464. {
  3465. "ApiKeyAuth": []
  3466. }
  3467. ],
  3468. "produces": [
  3469. "application/json"
  3470. ],
  3471. "tags": [
  3472. "风险管理"
  3473. ],
  3474. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3475. "parameters": [
  3476. {
  3477. "type": "integer",
  3478. "description": "策略申请ID",
  3479. "name": "asapplyid",
  3480. "in": "query",
  3481. "required": true
  3482. },
  3483. {
  3484. "type": "integer",
  3485. "description": "现货合同ID",
  3486. "name": "spotcontractid",
  3487. "in": "query"
  3488. }
  3489. ],
  3490. "responses": {
  3491. "200": {
  3492. "description": "OK",
  3493. "schema": {
  3494. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3495. }
  3496. },
  3497. "500": {
  3498. "description": "Internal Server Error",
  3499. "schema": {
  3500. "$ref": "#/definitions/app.Response"
  3501. }
  3502. }
  3503. }
  3504. }
  3505. },
  3506. "/Erms3/AddErms2ASApply": {
  3507. "post": {
  3508. "security": [
  3509. {
  3510. "ApiKeyAuth": []
  3511. }
  3512. ],
  3513. "produces": [
  3514. "application/json"
  3515. ],
  3516. "tags": [
  3517. "风险管理v3"
  3518. ],
  3519. "summary": "新增期现套利业务申请",
  3520. "parameters": [
  3521. {
  3522. "description": "申请参数",
  3523. "name": "jsonBody",
  3524. "in": "body",
  3525. "required": true,
  3526. "schema": {
  3527. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3528. }
  3529. }
  3530. ],
  3531. "responses": {
  3532. "200": {
  3533. "description": "OK",
  3534. "schema": {
  3535. "$ref": "#/definitions/app.Response"
  3536. }
  3537. },
  3538. "500": {
  3539. "description": "Internal Server Error",
  3540. "schema": {
  3541. "$ref": "#/definitions/app.Response"
  3542. }
  3543. }
  3544. }
  3545. }
  3546. },
  3547. "/Erms3/AddErms2SpotTradeApply": {
  3548. "post": {
  3549. "security": [
  3550. {
  3551. "ApiKeyAuth": []
  3552. }
  3553. ],
  3554. "produces": [
  3555. "application/json"
  3556. ],
  3557. "tags": [
  3558. "风险管理v3"
  3559. ],
  3560. "summary": "新增现货贸易业务申请",
  3561. "parameters": [
  3562. {
  3563. "description": "申请参数",
  3564. "name": "jsonBody",
  3565. "in": "body",
  3566. "required": true,
  3567. "schema": {
  3568. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3569. }
  3570. }
  3571. ],
  3572. "responses": {
  3573. "200": {
  3574. "description": "OK",
  3575. "schema": {
  3576. "$ref": "#/definitions/app.Response"
  3577. }
  3578. },
  3579. "500": {
  3580. "description": "Internal Server Error",
  3581. "schema": {
  3582. "$ref": "#/definitions/app.Response"
  3583. }
  3584. }
  3585. }
  3586. }
  3587. },
  3588. "/Erms3/AddSpotContractApply": {
  3589. "post": {
  3590. "security": [
  3591. {
  3592. "ApiKeyAuth": []
  3593. }
  3594. ],
  3595. "produces": [
  3596. "application/json"
  3597. ],
  3598. "tags": [
  3599. "风险管理v3"
  3600. ],
  3601. "summary": "新增现货合同申请",
  3602. "parameters": [
  3603. {
  3604. "description": "申请参数",
  3605. "name": "jsonBody",
  3606. "in": "body",
  3607. "required": true,
  3608. "schema": {
  3609. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3610. }
  3611. }
  3612. ],
  3613. "responses": {
  3614. "200": {
  3615. "description": "OK",
  3616. "schema": {
  3617. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3618. }
  3619. },
  3620. "500": {
  3621. "description": "Internal Server Error",
  3622. "schema": {
  3623. "$ref": "#/definitions/app.Response"
  3624. }
  3625. }
  3626. }
  3627. }
  3628. },
  3629. "/Erms3/AddUserInfoApply": {
  3630. "post": {
  3631. "security": [
  3632. {
  3633. "ApiKeyAuth": []
  3634. }
  3635. ],
  3636. "produces": [
  3637. "application/json"
  3638. ],
  3639. "tags": [
  3640. "风险管理v3"
  3641. ],
  3642. "summary": "新增客户申请",
  3643. "parameters": [
  3644. {
  3645. "description": "用户信息",
  3646. "name": "jsonBody",
  3647. "in": "body",
  3648. "required": true,
  3649. "schema": {
  3650. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3651. }
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "$ref": "#/definitions/app.Response"
  3659. }
  3660. },
  3661. "500": {
  3662. "description": "Internal Server Error",
  3663. "schema": {
  3664. "$ref": "#/definitions/app.Response"
  3665. }
  3666. }
  3667. }
  3668. }
  3669. },
  3670. "/Erms3/ModifyUserInfoApply": {
  3671. "post": {
  3672. "security": [
  3673. {
  3674. "ApiKeyAuth": []
  3675. }
  3676. ],
  3677. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3678. "produces": [
  3679. "application/json"
  3680. ],
  3681. "tags": [
  3682. "风险管理v3"
  3683. ],
  3684. "summary": "修改客户申请",
  3685. "parameters": [
  3686. {
  3687. "description": "用户信息",
  3688. "name": "jsonBody",
  3689. "in": "body",
  3690. "required": true,
  3691. "schema": {
  3692. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3693. }
  3694. }
  3695. ],
  3696. "responses": {
  3697. "200": {
  3698. "description": "OK",
  3699. "schema": {
  3700. "$ref": "#/definitions/app.Response"
  3701. }
  3702. },
  3703. "500": {
  3704. "description": "Internal Server Error",
  3705. "schema": {
  3706. "$ref": "#/definitions/app.Response"
  3707. }
  3708. }
  3709. }
  3710. }
  3711. },
  3712. "/Erms3/QueryBusinessInfo": {
  3713. "get": {
  3714. "security": [
  3715. {
  3716. "ApiKeyAuth": []
  3717. }
  3718. ],
  3719. "produces": [
  3720. "application/json"
  3721. ],
  3722. "tags": [
  3723. "风险管理v3"
  3724. ],
  3725. "summary": "查询业务表单数据",
  3726. "parameters": [
  3727. {
  3728. "type": "string",
  3729. "description": "资金账号ID列表,用逗号分隔",
  3730. "name": "accountids",
  3731. "in": "query",
  3732. "required": true
  3733. },
  3734. {
  3735. "type": "integer",
  3736. "description": "状态,0为未结束 1为已结束",
  3737. "name": "status",
  3738. "in": "query",
  3739. "required": true
  3740. }
  3741. ],
  3742. "responses": {
  3743. "200": {
  3744. "description": "OK",
  3745. "schema": {
  3746. "type": "array",
  3747. "items": {
  3748. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3749. }
  3750. }
  3751. },
  3752. "500": {
  3753. "description": "Internal Server Error",
  3754. "schema": {
  3755. "$ref": "#/definitions/app.Response"
  3756. }
  3757. }
  3758. }
  3759. }
  3760. },
  3761. "/Erms3/QueryPendingAuditContract": {
  3762. "get": {
  3763. "security": [
  3764. {
  3765. "ApiKeyAuth": []
  3766. }
  3767. ],
  3768. "produces": [
  3769. "application/json"
  3770. ],
  3771. "tags": [
  3772. "风险管理v3"
  3773. ],
  3774. "summary": "查询待审核合同",
  3775. "parameters": [
  3776. {
  3777. "type": "string",
  3778. "description": "资金账号ID列表,逗号隔开",
  3779. "name": "accountids",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "合同类型 1-采购 -1-销售",
  3786. "name": "contracttype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同模式 1-普通 2-回购",
  3793. "name": "contractmode",
  3794. "in": "query",
  3795. "required": true
  3796. }
  3797. ],
  3798. "responses": {
  3799. "200": {
  3800. "description": "OK",
  3801. "schema": {
  3802. "type": "array",
  3803. "items": {
  3804. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3805. }
  3806. }
  3807. },
  3808. "500": {
  3809. "description": "Internal Server Error",
  3810. "schema": {
  3811. "$ref": "#/definitions/app.Response"
  3812. }
  3813. }
  3814. }
  3815. }
  3816. },
  3817. "/Erms3/QueryPendingBusiness": {
  3818. "get": {
  3819. "security": [
  3820. {
  3821. "ApiKeyAuth": []
  3822. }
  3823. ],
  3824. "produces": [
  3825. "application/json"
  3826. ],
  3827. "tags": [
  3828. "风险管理v3"
  3829. ],
  3830. "summary": "查询待审核基差贸易业务",
  3831. "parameters": [
  3832. {
  3833. "type": "string",
  3834. "description": "资金账号ID列表,逗号隔开",
  3835. "name": "accountids",
  3836. "in": "query",
  3837. "required": true
  3838. }
  3839. ],
  3840. "responses": {
  3841. "200": {
  3842. "description": "OK",
  3843. "schema": {
  3844. "type": "array",
  3845. "items": {
  3846. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3847. }
  3848. }
  3849. },
  3850. "500": {
  3851. "description": "Internal Server Error",
  3852. "schema": {
  3853. "$ref": "#/definitions/app.Response"
  3854. }
  3855. }
  3856. }
  3857. }
  3858. },
  3859. "/Erms3/QuerySpotContractAppleForm": {
  3860. "get": {
  3861. "security": [
  3862. {
  3863. "ApiKeyAuth": []
  3864. }
  3865. ],
  3866. "produces": [
  3867. "application/json"
  3868. ],
  3869. "tags": [
  3870. "风险管理v3"
  3871. ],
  3872. "summary": "查询合同申请表单数据",
  3873. "parameters": [
  3874. {
  3875. "type": "integer",
  3876. "description": "登录账号",
  3877. "name": "loginID",
  3878. "in": "query",
  3879. "required": true
  3880. }
  3881. ],
  3882. "responses": {
  3883. "200": {
  3884. "description": "OK",
  3885. "schema": {
  3886. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3887. }
  3888. },
  3889. "500": {
  3890. "description": "Internal Server Error",
  3891. "schema": {
  3892. "$ref": "#/definitions/app.Response"
  3893. }
  3894. }
  3895. }
  3896. }
  3897. },
  3898. "/Erms3/QuerySpotContractDetail": {
  3899. "get": {
  3900. "security": [
  3901. {
  3902. "ApiKeyAuth": []
  3903. }
  3904. ],
  3905. "produces": [
  3906. "application/json"
  3907. ],
  3908. "tags": [
  3909. "风险管理v3"
  3910. ],
  3911. "summary": "查询合同详细信息",
  3912. "parameters": [
  3913. {
  3914. "type": "string",
  3915. "description": "资金账号ID列表,用逗号分隔",
  3916. "name": "accountids",
  3917. "in": "query",
  3918. "required": true
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "合同类型,1为采购合同 -1为销售合同",
  3923. "name": "contracttype",
  3924. "in": "query",
  3925. "required": true
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "合同模式,1为普通合同 2为回购销售合同",
  3930. "name": "contractmode",
  3931. "in": "query",
  3932. "required": true
  3933. },
  3934. {
  3935. "type": "integer",
  3936. "description": "状态,0为履约中 1为已完成",
  3937. "name": "status",
  3938. "in": "query",
  3939. "required": true
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "type": "array",
  3947. "items": {
  3948. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3949. }
  3950. }
  3951. },
  3952. "500": {
  3953. "description": "Internal Server Error",
  3954. "schema": {
  3955. "$ref": "#/definitions/app.Response"
  3956. }
  3957. }
  3958. }
  3959. }
  3960. },
  3961. "/Erms3/QueryUserInfoApplies": {
  3962. "get": {
  3963. "security": [
  3964. {
  3965. "ApiKeyAuth": []
  3966. }
  3967. ],
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "风险管理v3"
  3973. ],
  3974. "summary": "客户申请信息查询",
  3975. "parameters": [
  3976. {
  3977. "type": "integer",
  3978. "description": "页码",
  3979. "name": "page",
  3980. "in": "query"
  3981. },
  3982. {
  3983. "type": "integer",
  3984. "description": "每页条数",
  3985. "name": "pagesize",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "string",
  3990. "description": "客户名称,支持模糊查询",
  3991. "name": "userName",
  3992. "in": "query"
  3993. }
  3994. ],
  3995. "responses": {
  3996. "200": {
  3997. "description": "OK",
  3998. "schema": {
  3999. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4000. }
  4001. },
  4002. "500": {
  4003. "description": "Internal Server Error",
  4004. "schema": {
  4005. "$ref": "#/definitions/app.Response"
  4006. }
  4007. }
  4008. }
  4009. }
  4010. },
  4011. "/Erms3/QueryUserInfos": {
  4012. "get": {
  4013. "security": [
  4014. {
  4015. "ApiKeyAuth": []
  4016. }
  4017. ],
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "风险管理v3"
  4023. ],
  4024. "summary": "客户信息查询",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "页码",
  4029. "name": "page",
  4030. "in": "query"
  4031. },
  4032. {
  4033. "type": "integer",
  4034. "description": "每页条数",
  4035. "name": "pagesize",
  4036. "in": "query"
  4037. },
  4038. {
  4039. "type": "string",
  4040. "description": "客户名称,支持模糊查询",
  4041. "name": "userName",
  4042. "in": "query"
  4043. }
  4044. ],
  4045. "responses": {
  4046. "200": {
  4047. "description": "OK",
  4048. "schema": {
  4049. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/HSBY/GetHsbyMyCount": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "description": "说明: 不包括已完成的数量。",
  4069. "produces": [
  4070. "application/json"
  4071. ],
  4072. "tags": [
  4073. "定制【海商报业】"
  4074. ],
  4075. "summary": "获取我的订单与包裹数量",
  4076. "parameters": [
  4077. {
  4078. "type": "string",
  4079. "description": "资金账户列表,格式:1,2,3",
  4080. "name": "accountIDs",
  4081. "in": "query",
  4082. "required": true
  4083. }
  4084. ],
  4085. "responses": {
  4086. "200": {
  4087. "description": "OK",
  4088. "schema": {
  4089. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4090. }
  4091. },
  4092. "500": {
  4093. "description": "Internal Server Error",
  4094. "schema": {
  4095. "$ref": "#/definitions/app.Response"
  4096. }
  4097. }
  4098. }
  4099. }
  4100. },
  4101. "/HSBY/QueryClientFixedADConfigs": {
  4102. "get": {
  4103. "security": [
  4104. {
  4105. "ApiKeyAuth": []
  4106. }
  4107. ],
  4108. "produces": [
  4109. "application/json"
  4110. ],
  4111. "tags": [
  4112. "定制【海商报业】"
  4113. ],
  4114. "summary": "获取终端固定广告配置",
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "$ref": "#/definitions/models.Clientfixedadconfig"
  4120. }
  4121. },
  4122. "500": {
  4123. "description": "Internal Server Error",
  4124. "schema": {
  4125. "$ref": "#/definitions/app.Response"
  4126. }
  4127. }
  4128. }
  4129. }
  4130. },
  4131. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4132. "get": {
  4133. "security": [
  4134. {
  4135. "ApiKeyAuth": []
  4136. }
  4137. ],
  4138. "produces": [
  4139. "application/json"
  4140. ],
  4141. "tags": [
  4142. "定制【海商报业】"
  4143. ],
  4144. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4145. "parameters": [
  4146. {
  4147. "type": "integer",
  4148. "description": "页码",
  4149. "name": "page",
  4150. "in": "query"
  4151. },
  4152. {
  4153. "type": "integer",
  4154. "description": "每页条数",
  4155. "name": "pagesize",
  4156. "in": "query"
  4157. },
  4158. {
  4159. "type": "string",
  4160. "description": "资金账户列表,格式:1,2,3",
  4161. "name": "accountIDs",
  4162. "in": "query",
  4163. "required": true
  4164. }
  4165. ],
  4166. "responses": {
  4167. "200": {
  4168. "description": "OK",
  4169. "schema": {
  4170. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4171. }
  4172. },
  4173. "500": {
  4174. "description": "Internal Server Error",
  4175. "schema": {
  4176. "$ref": "#/definitions/app.Response"
  4177. }
  4178. }
  4179. }
  4180. }
  4181. },
  4182. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4183. "get": {
  4184. "security": [
  4185. {
  4186. "ApiKeyAuth": []
  4187. }
  4188. ],
  4189. "description": "说明:查询结果已按委托价格和委托时间排序",
  4190. "produces": [
  4191. "application/json"
  4192. ],
  4193. "tags": [
  4194. "定制【海商报业】"
  4195. ],
  4196. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4197. "parameters": [
  4198. {
  4199. "type": "integer",
  4200. "description": "商品ID",
  4201. "name": "goodsID",
  4202. "in": "query",
  4203. "required": true
  4204. },
  4205. {
  4206. "type": "string",
  4207. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4208. "name": "accountIDs",
  4209. "in": "query"
  4210. },
  4211. {
  4212. "type": "integer",
  4213. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4214. "name": "buyOrSell",
  4215. "in": "query"
  4216. },
  4217. {
  4218. "type": "number",
  4219. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4220. "name": "price",
  4221. "in": "query"
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "档位,不传则默认为3档",
  4226. "name": "speed",
  4227. "in": "query"
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4235. }
  4236. },
  4237. "500": {
  4238. "description": "Internal Server Error",
  4239. "schema": {
  4240. "$ref": "#/definitions/app.Response"
  4241. }
  4242. }
  4243. }
  4244. }
  4245. },
  4246. "/HSBY/QueryHsbyListingGoodsDetail": {
  4247. "get": {
  4248. "security": [
  4249. {
  4250. "ApiKeyAuth": []
  4251. }
  4252. ],
  4253. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4254. "produces": [
  4255. "application/json"
  4256. ],
  4257. "tags": [
  4258. "定制【海商报业】"
  4259. ],
  4260. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4261. "parameters": [
  4262. {
  4263. "type": "integer",
  4264. "description": "商品ID",
  4265. "name": "goodsID",
  4266. "in": "query",
  4267. "required": true
  4268. },
  4269. {
  4270. "type": "integer",
  4271. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4272. "name": "accountID",
  4273. "in": "query"
  4274. }
  4275. ],
  4276. "responses": {
  4277. "200": {
  4278. "description": "OK",
  4279. "schema": {
  4280. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4281. }
  4282. },
  4283. "500": {
  4284. "description": "Internal Server Error",
  4285. "schema": {
  4286. "$ref": "#/definitions/app.Response"
  4287. }
  4288. }
  4289. }
  4290. }
  4291. },
  4292. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4293. "get": {
  4294. "security": [
  4295. {
  4296. "ApiKeyAuth": []
  4297. }
  4298. ],
  4299. "produces": [
  4300. "application/json"
  4301. ],
  4302. "tags": [
  4303. "定制【海商报业】"
  4304. ],
  4305. "summary": "查询三级市场(商城)商品信息详情",
  4306. "parameters": [
  4307. {
  4308. "type": "integer",
  4309. "description": "委托单号",
  4310. "name": "orderID",
  4311. "in": "query",
  4312. "required": true
  4313. },
  4314. {
  4315. "type": "integer",
  4316. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4317. "name": "accountID",
  4318. "in": "query"
  4319. }
  4320. ],
  4321. "responses": {
  4322. "200": {
  4323. "description": "OK",
  4324. "schema": {
  4325. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4326. }
  4327. },
  4328. "500": {
  4329. "description": "Internal Server Error",
  4330. "schema": {
  4331. "$ref": "#/definitions/app.Response"
  4332. }
  4333. }
  4334. }
  4335. }
  4336. },
  4337. "/HSBY/QueryHsbyMarketGoodses": {
  4338. "get": {
  4339. "security": [
  4340. {
  4341. "ApiKeyAuth": []
  4342. }
  4343. ],
  4344. "produces": [
  4345. "application/json"
  4346. ],
  4347. "tags": [
  4348. "定制【海商报业】"
  4349. ],
  4350. "summary": "查询特卖商品列表(三级商城)",
  4351. "parameters": [
  4352. {
  4353. "type": "integer",
  4354. "description": "页码",
  4355. "name": "page",
  4356. "in": "query"
  4357. },
  4358. {
  4359. "type": "integer",
  4360. "description": "每页条数",
  4361. "name": "pagesize",
  4362. "in": "query"
  4363. },
  4364. {
  4365. "type": "string",
  4366. "description": "市场ID列表,格式:1,2,3",
  4367. "name": "marketIDs",
  4368. "in": "query",
  4369. "required": true
  4370. },
  4371. {
  4372. "type": "integer",
  4373. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4374. "name": "accountID",
  4375. "in": "query",
  4376. "required": true
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "类别ID",
  4381. "name": "categoryID",
  4382. "in": "query"
  4383. },
  4384. {
  4385. "type": "string",
  4386. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4387. "name": "goodsIDs",
  4388. "in": "query"
  4389. },
  4390. {
  4391. "type": "integer",
  4392. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4393. "name": "couponTypeID",
  4394. "in": "query"
  4395. }
  4396. ],
  4397. "responses": {
  4398. "200": {
  4399. "description": "OK",
  4400. "schema": {
  4401. "$ref": "#/definitions/models.HsbyMarketGoods"
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/HSBY/QueryHsbyMarkets": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "定制【海商报业】"
  4425. ],
  4426. "summary": "查询海商报业相关市场信息",
  4427. "responses": {
  4428. "200": {
  4429. "description": "OK",
  4430. "schema": {
  4431. "$ref": "#/definitions/models.HsbyMarketInfo"
  4432. }
  4433. },
  4434. "500": {
  4435. "description": "Internal Server Error",
  4436. "schema": {
  4437. "$ref": "#/definitions/app.Response"
  4438. }
  4439. }
  4440. }
  4441. }
  4442. },
  4443. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4444. "get": {
  4445. "security": [
  4446. {
  4447. "ApiKeyAuth": []
  4448. }
  4449. ],
  4450. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4451. "produces": [
  4452. "application/json"
  4453. ],
  4454. "tags": [
  4455. "定制【海商报业】"
  4456. ],
  4457. "summary": "查询“我的订单”信息",
  4458. "parameters": [
  4459. {
  4460. "type": "string",
  4461. "description": "资金账户列表,格式:1,2,3",
  4462. "name": "accountIDs",
  4463. "in": "query",
  4464. "required": true
  4465. }
  4466. ],
  4467. "responses": {
  4468. "200": {
  4469. "description": "OK",
  4470. "schema": {
  4471. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4472. }
  4473. },
  4474. "500": {
  4475. "description": "Internal Server Error",
  4476. "schema": {
  4477. "$ref": "#/definitions/app.Response"
  4478. }
  4479. }
  4480. }
  4481. }
  4482. },
  4483. "/HSBY/QueryHsbyMyGoods": {
  4484. "get": {
  4485. "security": [
  4486. {
  4487. "ApiKeyAuth": []
  4488. }
  4489. ],
  4490. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "定制【海商报业】"
  4496. ],
  4497. "summary": "查询“我的商品”信息",
  4498. "parameters": [
  4499. {
  4500. "type": "string",
  4501. "description": "资金账户列表,格式:1,2,3",
  4502. "name": "accountIDs",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/models.HsbyMyGoods"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/HSBY/QueryHsbyMyPackages": {
  4524. "get": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. }
  4529. ],
  4530. "produces": [
  4531. "application/json"
  4532. ],
  4533. "tags": [
  4534. "定制【海商报业】"
  4535. ],
  4536. "summary": "查询我的包裹信息",
  4537. "parameters": [
  4538. {
  4539. "type": "string",
  4540. "description": "资金账户列表,格式:1,2,3",
  4541. "name": "accountIDs",
  4542. "in": "query",
  4543. "required": true
  4544. },
  4545. {
  4546. "type": "integer",
  4547. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4548. "name": "takeOrderStatus",
  4549. "in": "query"
  4550. }
  4551. ],
  4552. "responses": {
  4553. "200": {
  4554. "description": "OK",
  4555. "schema": {
  4556. "$ref": "#/definitions/models.HsbyMyPackage"
  4557. }
  4558. },
  4559. "500": {
  4560. "description": "Internal Server Error",
  4561. "schema": {
  4562. "$ref": "#/definitions/app.Response"
  4563. }
  4564. }
  4565. }
  4566. }
  4567. },
  4568. "/HSBY/QueryHsbyPreGoodsDetail": {
  4569. "get": {
  4570. "security": [
  4571. {
  4572. "ApiKeyAuth": []
  4573. }
  4574. ],
  4575. "produces": [
  4576. "application/json"
  4577. ],
  4578. "tags": [
  4579. "定制【海商报业】"
  4580. ],
  4581. "summary": "查询一级市场(预售)商品信息详情",
  4582. "parameters": [
  4583. {
  4584. "type": "integer",
  4585. "description": "商品ID",
  4586. "name": "goodsID",
  4587. "in": "query",
  4588. "required": true
  4589. },
  4590. {
  4591. "type": "integer",
  4592. "description": "资金账户,主要用于获取预售商品购买上限",
  4593. "name": "accountID",
  4594. "in": "query"
  4595. }
  4596. ],
  4597. "responses": {
  4598. "200": {
  4599. "description": "OK",
  4600. "schema": {
  4601. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4602. }
  4603. },
  4604. "500": {
  4605. "description": "Internal Server Error",
  4606. "schema": {
  4607. "$ref": "#/definitions/app.Response"
  4608. }
  4609. }
  4610. }
  4611. }
  4612. },
  4613. "/HSBY/QueryHsbyPreGoodses": {
  4614. "get": {
  4615. "security": [
  4616. {
  4617. "ApiKeyAuth": []
  4618. }
  4619. ],
  4620. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4621. "produces": [
  4622. "application/json"
  4623. ],
  4624. "tags": [
  4625. "定制【海商报业】"
  4626. ],
  4627. "summary": "查询新品上市商品列表(一级市场预售)",
  4628. "parameters": [
  4629. {
  4630. "type": "integer",
  4631. "description": "页码",
  4632. "name": "page",
  4633. "in": "query"
  4634. },
  4635. {
  4636. "type": "integer",
  4637. "description": "每页条数",
  4638. "name": "pagesize",
  4639. "in": "query"
  4640. },
  4641. {
  4642. "type": "string",
  4643. "description": "市场ID列表,格式:1,2,3",
  4644. "name": "marketIDs",
  4645. "in": "query",
  4646. "required": true
  4647. },
  4648. {
  4649. "type": "integer",
  4650. "description": "目的地(省)ID",
  4651. "name": "descProvinceID",
  4652. "in": "query"
  4653. },
  4654. {
  4655. "type": "integer",
  4656. "description": "目的地(市)ID",
  4657. "name": "descCityID",
  4658. "in": "query"
  4659. }
  4660. ],
  4661. "responses": {
  4662. "200": {
  4663. "description": "OK",
  4664. "schema": {
  4665. "$ref": "#/definitions/models.HsbyPreGoods"
  4666. }
  4667. },
  4668. "500": {
  4669. "description": "Internal Server Error",
  4670. "schema": {
  4671. "$ref": "#/definitions/app.Response"
  4672. }
  4673. }
  4674. }
  4675. }
  4676. },
  4677. "/HSBY/QueryHsbySellMyDetails": {
  4678. "get": {
  4679. "security": [
  4680. {
  4681. "ApiKeyAuth": []
  4682. }
  4683. ],
  4684. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4685. "produces": [
  4686. "application/json"
  4687. ],
  4688. "tags": [
  4689. "定制【海商报业】"
  4690. ],
  4691. "summary": "查询\"我的闲置\"单据信息",
  4692. "parameters": [
  4693. {
  4694. "type": "integer",
  4695. "description": "页码",
  4696. "name": "page",
  4697. "in": "query"
  4698. },
  4699. {
  4700. "type": "integer",
  4701. "description": "每页条数",
  4702. "name": "pagesize",
  4703. "in": "query"
  4704. },
  4705. {
  4706. "type": "string",
  4707. "description": "资金账户列表,格式:1,2,3",
  4708. "name": "accountIDs",
  4709. "in": "query",
  4710. "required": true
  4711. },
  4712. {
  4713. "type": "integer",
  4714. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4715. "name": "orderType",
  4716. "in": "query"
  4717. }
  4718. ],
  4719. "responses": {
  4720. "200": {
  4721. "description": "OK",
  4722. "schema": {
  4723. "$ref": "#/definitions/models.HsbySellMyDetail"
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/HSBY/QueryHsbyTopGoodses": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4743. "produces": [
  4744. "application/json"
  4745. ],
  4746. "tags": [
  4747. "定制【海商报业】"
  4748. ],
  4749. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4750. "parameters": [
  4751. {
  4752. "type": "integer",
  4753. "description": "页码",
  4754. "name": "page",
  4755. "in": "query"
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "每页条数",
  4760. "name": "pagesize",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "string",
  4765. "description": "市场ID列表,格式:1,2,3",
  4766. "name": "marketIDs",
  4767. "in": "query",
  4768. "required": true
  4769. },
  4770. {
  4771. "type": "integer",
  4772. "description": "目的地(省)ID",
  4773. "name": "descProvinceID",
  4774. "in": "query"
  4775. },
  4776. {
  4777. "type": "integer",
  4778. "description": "目的地(市)ID",
  4779. "name": "descCityID",
  4780. "in": "query"
  4781. }
  4782. ],
  4783. "responses": {
  4784. "200": {
  4785. "description": "OK",
  4786. "schema": {
  4787. "$ref": "#/definitions/models.HsbyTopGoods"
  4788. }
  4789. },
  4790. "500": {
  4791. "description": "Internal Server Error",
  4792. "schema": {
  4793. "$ref": "#/definitions/app.Response"
  4794. }
  4795. }
  4796. }
  4797. }
  4798. },
  4799. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4800. "get": {
  4801. "security": [
  4802. {
  4803. "ApiKeyAuth": []
  4804. }
  4805. ],
  4806. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4807. "produces": [
  4808. "application/json"
  4809. ],
  4810. "tags": [
  4811. "定制【海商报业】"
  4812. ],
  4813. "summary": "查询游客三级市场(商城)商品信息详情",
  4814. "parameters": [
  4815. {
  4816. "type": "integer",
  4817. "description": "商品ID",
  4818. "name": "goodsID",
  4819. "in": "query",
  4820. "required": true
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4828. }
  4829. },
  4830. "500": {
  4831. "description": "Internal Server Error",
  4832. "schema": {
  4833. "$ref": "#/definitions/app.Response"
  4834. }
  4835. }
  4836. }
  4837. }
  4838. },
  4839. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4840. "get": {
  4841. "security": [
  4842. {
  4843. "ApiKeyAuth": []
  4844. }
  4845. ],
  4846. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4847. "produces": [
  4848. "application/json"
  4849. ],
  4850. "tags": [
  4851. "定制【海商报业】"
  4852. ],
  4853. "summary": "查询游客特卖商品列表(三级商城)",
  4854. "parameters": [
  4855. {
  4856. "type": "integer",
  4857. "description": "页码",
  4858. "name": "page",
  4859. "in": "query"
  4860. },
  4861. {
  4862. "type": "integer",
  4863. "description": "每页条数",
  4864. "name": "pagesize",
  4865. "in": "query"
  4866. },
  4867. {
  4868. "type": "string",
  4869. "description": "市场ID列表,格式:1,2,3",
  4870. "name": "marketIDs",
  4871. "in": "query",
  4872. "required": true
  4873. },
  4874. {
  4875. "type": "integer",
  4876. "description": "类别ID",
  4877. "name": "categoryID",
  4878. "in": "query"
  4879. },
  4880. {
  4881. "type": "string",
  4882. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4883. "name": "goodsIDs",
  4884. "in": "query"
  4885. }
  4886. ],
  4887. "responses": {
  4888. "200": {
  4889. "description": "OK",
  4890. "schema": {
  4891. "$ref": "#/definitions/models.HsbyMarketGoods"
  4892. }
  4893. },
  4894. "500": {
  4895. "description": "Internal Server Error",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. }
  4900. }
  4901. }
  4902. },
  4903. "/HSBY/QueryMyCollectionOrders": {
  4904. "get": {
  4905. "security": [
  4906. {
  4907. "ApiKeyAuth": []
  4908. }
  4909. ],
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "定制【海商报业】"
  4915. ],
  4916. "summary": "我的闲置中收款信息查询",
  4917. "parameters": [
  4918. {
  4919. "type": "integer",
  4920. "description": "页码",
  4921. "name": "page",
  4922. "in": "query"
  4923. },
  4924. {
  4925. "type": "integer",
  4926. "description": "每页条数",
  4927. "name": "pagesize",
  4928. "in": "query"
  4929. },
  4930. {
  4931. "type": "string",
  4932. "description": "资金账户,格式:1,2,3",
  4933. "name": "accountIDs",
  4934. "in": "query",
  4935. "required": true
  4936. }
  4937. ],
  4938. "responses": {
  4939. "200": {
  4940. "description": "OK",
  4941. "schema": {
  4942. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4943. }
  4944. },
  4945. "500": {
  4946. "description": "Internal Server Error",
  4947. "schema": {
  4948. "$ref": "#/definitions/app.Response"
  4949. }
  4950. }
  4951. }
  4952. }
  4953. },
  4954. "/HSBY/QueryMyCouponHolds": {
  4955. "get": {
  4956. "security": [
  4957. {
  4958. "ApiKeyAuth": []
  4959. }
  4960. ],
  4961. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4962. "produces": [
  4963. "application/json"
  4964. ],
  4965. "tags": [
  4966. "定制【海商报业】"
  4967. ],
  4968. "summary": "我的优惠卷持仓查询",
  4969. "parameters": [
  4970. {
  4971. "type": "string",
  4972. "description": "资金账户列表,格式:1,2,3",
  4973. "name": "accountIDs",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4980. "name": "holdStatus",
  4981. "in": "query"
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/models.MyCouponHold"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/HSBY/QueryMyCoupons": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "定制【海商报业】"
  5012. ],
  5013. "summary": "我的优惠卷查询",
  5014. "parameters": [
  5015. {
  5016. "type": "string",
  5017. "description": "资金账户列表,格式:1,2,3",
  5018. "name": "accountIDs",
  5019. "in": "query",
  5020. "required": true
  5021. },
  5022. {
  5023. "type": "integer",
  5024. "description": "商品ID, 一般与sellUserID配套传入",
  5025. "name": "goodsID",
  5026. "in": "query"
  5027. },
  5028. {
  5029. "type": "integer",
  5030. "description": "卖方UserID",
  5031. "name": "sellUserID",
  5032. "in": "query"
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/models.MyCoupon"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/HSBY/QueryMyPayOrders": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "produces": [
  5059. "application/json"
  5060. ],
  5061. "tags": [
  5062. "定制【海商报业】"
  5063. ],
  5064. "summary": "获取我的订单中待付款信息",
  5065. "parameters": [
  5066. {
  5067. "type": "integer",
  5068. "description": "页码",
  5069. "name": "page",
  5070. "in": "query"
  5071. },
  5072. {
  5073. "type": "integer",
  5074. "description": "每页条数",
  5075. "name": "pagesize",
  5076. "in": "query"
  5077. },
  5078. {
  5079. "type": "string",
  5080. "description": "资金账户列表,格式:1,2,3",
  5081. "name": "accountIDs",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "买方委托单号",
  5088. "name": "buyOrderID",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "卖方委托单号",
  5094. "name": "sellOrderID",
  5095. "in": "query"
  5096. }
  5097. ],
  5098. "responses": {
  5099. "200": {
  5100. "description": "OK",
  5101. "schema": {
  5102. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5103. }
  5104. },
  5105. "500": {
  5106. "description": "Internal Server Error",
  5107. "schema": {
  5108. "$ref": "#/definitions/app.Response"
  5109. }
  5110. }
  5111. }
  5112. }
  5113. },
  5114. "/HSBY/QueryMyUsedCoupon": {
  5115. "get": {
  5116. "security": [
  5117. {
  5118. "ApiKeyAuth": []
  5119. }
  5120. ],
  5121. "produces": [
  5122. "application/json"
  5123. ],
  5124. "tags": [
  5125. "定制【海商报业】"
  5126. ],
  5127. "summary": "已使用优惠卷查询",
  5128. "parameters": [
  5129. {
  5130. "type": "string",
  5131. "description": "资金账户列表,格式:1,2,3",
  5132. "name": "accountIDs",
  5133. "in": "query",
  5134. "required": true
  5135. }
  5136. ],
  5137. "responses": {
  5138. "200": {
  5139. "description": "OK",
  5140. "schema": {
  5141. "$ref": "#/definitions/models.MyUsedCoupon"
  5142. }
  5143. },
  5144. "500": {
  5145. "description": "Internal Server Error",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. }
  5150. }
  5151. }
  5152. },
  5153. "/HSBY/QueryProvincesAndCities": {
  5154. "get": {
  5155. "security": [
  5156. {
  5157. "ApiKeyAuth": []
  5158. }
  5159. ],
  5160. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "定制【海商报业】"
  5166. ],
  5167. "summary": "查询省市信息(不包括区)",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "省ID",
  5172. "name": "provinceID",
  5173. "in": "query"
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/HSBY/SetHsbyMyPackagesStatus": {
  5193. "post": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "produces": [
  5200. "application/json"
  5201. ],
  5202. "tags": [
  5203. "定制【海商报业】"
  5204. ],
  5205. "summary": "设置我的包裹已收货状态",
  5206. "parameters": [
  5207. {
  5208. "type": "string",
  5209. "description": "提货单号",
  5210. "name": "takeOrderID",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "integer",
  5216. "description": "资金账号",
  5217. "name": "accountID",
  5218. "in": "query",
  5219. "required": true
  5220. }
  5221. ],
  5222. "responses": {
  5223. "200": {
  5224. "description": "OK",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/Market/QueryGoodsesByLoginID": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "通用市场"
  5250. ],
  5251. "summary": "获取登录账号有权限的商品信息",
  5252. "parameters": [
  5253. {
  5254. "type": "integer",
  5255. "description": "登录账号",
  5256. "name": "loginID",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "string",
  5262. "description": "市场ID列表,格式:1,2,3",
  5263. "name": "marketIDs",
  5264. "in": "query"
  5265. }
  5266. ],
  5267. "responses": {
  5268. "200": {
  5269. "description": "OK",
  5270. "schema": {
  5271. "$ref": "#/definitions/models.Goods"
  5272. }
  5273. },
  5274. "500": {
  5275. "description": "Internal Server Error",
  5276. "schema": {
  5277. "$ref": "#/definitions/app.Response"
  5278. }
  5279. }
  5280. }
  5281. }
  5282. },
  5283. "/Market/QueryMarketRun": {
  5284. "get": {
  5285. "security": [
  5286. {
  5287. "ApiKeyAuth": []
  5288. }
  5289. ],
  5290. "produces": [
  5291. "application/json"
  5292. ],
  5293. "tags": [
  5294. "通用市场"
  5295. ],
  5296. "summary": "查询市场运行信息",
  5297. "parameters": [
  5298. {
  5299. "type": "integer",
  5300. "description": "市场ID,不传返回所有",
  5301. "name": "marketID",
  5302. "in": "query"
  5303. }
  5304. ],
  5305. "responses": {
  5306. "200": {
  5307. "description": "OK",
  5308. "schema": {
  5309. "$ref": "#/definitions/models.Marketrun"
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Market/QueryMarketsByLoginID": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "通用市场"
  5333. ],
  5334. "summary": "获取登录账号有权限的市场信息",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "登录账号",
  5339. "name": "loginID",
  5340. "in": "query",
  5341. "required": true
  5342. }
  5343. ],
  5344. "responses": {
  5345. "200": {
  5346. "description": "OK",
  5347. "schema": {
  5348. "$ref": "#/definitions/models.Market"
  5349. }
  5350. },
  5351. "500": {
  5352. "description": "Internal Server Error",
  5353. "schema": {
  5354. "$ref": "#/definitions/app.Response"
  5355. }
  5356. }
  5357. }
  5358. }
  5359. },
  5360. "/Order/QueryHisTradeDetail": {
  5361. "get": {
  5362. "security": [
  5363. {
  5364. "ApiKeyAuth": []
  5365. }
  5366. ],
  5367. "produces": [
  5368. "application/json"
  5369. ],
  5370. "tags": [
  5371. "通用单据"
  5372. ],
  5373. "summary": "历史成交单查询(合约市场)",
  5374. "parameters": [
  5375. {
  5376. "type": "string",
  5377. "description": "资金账户 - 格式:1,2,3",
  5378. "name": "accountID",
  5379. "in": "query",
  5380. "required": true
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "成交单号",
  5385. "name": "tradeID",
  5386. "in": "query"
  5387. },
  5388. {
  5389. "type": "integer",
  5390. "description": "委托单号",
  5391. "name": "orderID",
  5392. "in": "query"
  5393. },
  5394. {
  5395. "type": "string",
  5396. "description": "交易模式 - 格式:1,2,3",
  5397. "name": "tradeMode",
  5398. "in": "query"
  5399. },
  5400. {
  5401. "type": "integer",
  5402. "description": "委托单据类型",
  5403. "name": "buildType",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "成交类别 - 格式:1,2,3",
  5409. "name": "tradeType",
  5410. "in": "query"
  5411. },
  5412. {
  5413. "type": "string",
  5414. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5415. "name": "startDate",
  5416. "in": "query"
  5417. },
  5418. {
  5419. "type": "string",
  5420. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5421. "name": "endDate",
  5422. "in": "query"
  5423. }
  5424. ],
  5425. "responses": {
  5426. "200": {
  5427. "description": "OK",
  5428. "schema": {
  5429. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5430. }
  5431. },
  5432. "500": {
  5433. "description": "Internal Server Error",
  5434. "schema": {
  5435. "$ref": "#/definitions/app.Response"
  5436. }
  5437. }
  5438. }
  5439. }
  5440. },
  5441. "/Order/QueryHisTradeOrderDetail": {
  5442. "get": {
  5443. "security": [
  5444. {
  5445. "ApiKeyAuth": []
  5446. }
  5447. ],
  5448. "produces": [
  5449. "application/json"
  5450. ],
  5451. "tags": [
  5452. "通用单据"
  5453. ],
  5454. "summary": "历史委托单查询请求(合约市场)",
  5455. "parameters": [
  5456. {
  5457. "type": "string",
  5458. "description": "资金账户 - 格式:1,2,3",
  5459. "name": "accountID",
  5460. "in": "query",
  5461. "required": true
  5462. },
  5463. {
  5464. "type": "string",
  5465. "description": "交易模式 - 格式:1,2,3",
  5466. "name": "tradeMode",
  5467. "in": "query"
  5468. },
  5469. {
  5470. "type": "string",
  5471. "description": "委托状态 - 格式:1,2,3",
  5472. "name": "orderStatus",
  5473. "in": "query"
  5474. },
  5475. {
  5476. "type": "integer",
  5477. "description": "委托单号",
  5478. "name": "orderID",
  5479. "in": "query"
  5480. },
  5481. {
  5482. "type": "string",
  5483. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5484. "name": "startDate",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "string",
  5489. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5490. "name": "endDate",
  5491. "in": "query"
  5492. }
  5493. ],
  5494. "responses": {
  5495. "200": {
  5496. "description": "OK",
  5497. "schema": {
  5498. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5499. }
  5500. },
  5501. "500": {
  5502. "description": "Internal Server Error",
  5503. "schema": {
  5504. "$ref": "#/definitions/app.Response"
  5505. }
  5506. }
  5507. }
  5508. }
  5509. },
  5510. "/Order/QueryTradeDetail": {
  5511. "get": {
  5512. "security": [
  5513. {
  5514. "ApiKeyAuth": []
  5515. }
  5516. ],
  5517. "produces": [
  5518. "application/json"
  5519. ],
  5520. "tags": [
  5521. "通用单据"
  5522. ],
  5523. "summary": "成交单查询(合约市场)",
  5524. "parameters": [
  5525. {
  5526. "type": "string",
  5527. "description": "资金账户 - 格式:1,2,3",
  5528. "name": "accountID",
  5529. "in": "query",
  5530. "required": true
  5531. },
  5532. {
  5533. "type": "integer",
  5534. "description": "成交单号",
  5535. "name": "tradeID",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "委托单号",
  5541. "name": "orderID",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "交易模式 - 格式:1,2,3",
  5547. "name": "tradeMode",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "integer",
  5552. "description": "委托单据类型",
  5553. "name": "buildType",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "成交类别 - 格式:1,2,3",
  5559. "name": "tradeType",
  5560. "in": "query"
  5561. }
  5562. ],
  5563. "responses": {
  5564. "200": {
  5565. "description": "OK",
  5566. "schema": {
  5567. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5568. }
  5569. },
  5570. "500": {
  5571. "description": "Internal Server Error",
  5572. "schema": {
  5573. "$ref": "#/definitions/app.Response"
  5574. }
  5575. }
  5576. }
  5577. }
  5578. },
  5579. "/Order/QueryTradeOrderDetail": {
  5580. "get": {
  5581. "security": [
  5582. {
  5583. "ApiKeyAuth": []
  5584. }
  5585. ],
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "通用单据"
  5591. ],
  5592. "summary": "委托单查询请求(合约市场)",
  5593. "parameters": [
  5594. {
  5595. "type": "string",
  5596. "description": "资金账户 - 格式:1,2,3",
  5597. "name": "accountID",
  5598. "in": "query",
  5599. "required": true
  5600. },
  5601. {
  5602. "type": "string",
  5603. "description": "交易模式 - 格式:1,2,3",
  5604. "name": "tradeMode",
  5605. "in": "query"
  5606. },
  5607. {
  5608. "type": "string",
  5609. "description": "委托状态 - 格式:1,2,3",
  5610. "name": "orderStatus",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "委托单号",
  5616. "name": "orderID",
  5617. "in": "query"
  5618. }
  5619. ],
  5620. "responses": {
  5621. "200": {
  5622. "description": "OK",
  5623. "schema": {
  5624. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5625. }
  5626. },
  5627. "500": {
  5628. "description": "Internal Server Error",
  5629. "schema": {
  5630. "$ref": "#/definitions/app.Response"
  5631. }
  5632. }
  5633. }
  5634. }
  5635. },
  5636. "/Order/QueryTradePosition": {
  5637. "get": {
  5638. "security": [
  5639. {
  5640. "ApiKeyAuth": []
  5641. }
  5642. ],
  5643. "produces": [
  5644. "application/json"
  5645. ],
  5646. "tags": [
  5647. "通用单据"
  5648. ],
  5649. "summary": "持仓汇总查询(合约市场)",
  5650. "parameters": [
  5651. {
  5652. "type": "string",
  5653. "description": "资金账户 - 格式:1,2,3",
  5654. "name": "accountID",
  5655. "in": "query",
  5656. "required": true
  5657. },
  5658. {
  5659. "type": "string",
  5660. "description": "交易模式 - 格式:1,2,3",
  5661. "name": "tradeMode",
  5662. "in": "query"
  5663. }
  5664. ],
  5665. "responses": {
  5666. "200": {
  5667. "description": "OK",
  5668. "schema": {
  5669. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5670. }
  5671. },
  5672. "500": {
  5673. "description": "Internal Server Error",
  5674. "schema": {
  5675. "$ref": "#/definitions/app.Response"
  5676. }
  5677. }
  5678. }
  5679. }
  5680. },
  5681. "/Quote/QueryHistoryDatas": {
  5682. "get": {
  5683. "security": [
  5684. {
  5685. "ApiKeyAuth": []
  5686. }
  5687. ],
  5688. "produces": [
  5689. "application/json"
  5690. ],
  5691. "tags": [
  5692. "行情服务"
  5693. ],
  5694. "summary": "查询行情历史数据",
  5695. "parameters": [
  5696. {
  5697. "type": "integer",
  5698. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5699. "name": "cycleType",
  5700. "in": "query",
  5701. "required": true
  5702. },
  5703. {
  5704. "type": "string",
  5705. "description": "商品代码",
  5706. "name": "goodsCode",
  5707. "in": "query",
  5708. "required": true
  5709. },
  5710. {
  5711. "type": "string",
  5712. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5713. "name": "startTime",
  5714. "in": "query"
  5715. },
  5716. {
  5717. "type": "string",
  5718. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5719. "name": "endTime",
  5720. "in": "query"
  5721. },
  5722. {
  5723. "type": "integer",
  5724. "description": "条数",
  5725. "name": "count",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "boolean",
  5730. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5731. "name": "isAsc",
  5732. "in": "query"
  5733. }
  5734. ],
  5735. "responses": {
  5736. "200": {
  5737. "description": "OK",
  5738. "schema": {
  5739. "$ref": "#/definitions/quote.HistoryData"
  5740. }
  5741. },
  5742. "500": {
  5743. "description": "Internal Server Error",
  5744. "schema": {
  5745. "$ref": "#/definitions/app.Response"
  5746. }
  5747. }
  5748. }
  5749. }
  5750. },
  5751. "/Quote/QueryHistoryTikDatas": {
  5752. "get": {
  5753. "security": [
  5754. {
  5755. "ApiKeyAuth": []
  5756. }
  5757. ],
  5758. "produces": [
  5759. "application/json"
  5760. ],
  5761. "tags": [
  5762. "行情服务"
  5763. ],
  5764. "summary": "查询行情Tik数据",
  5765. "parameters": [
  5766. {
  5767. "type": "string",
  5768. "description": "商品代码",
  5769. "name": "goodsCode",
  5770. "in": "query",
  5771. "required": true
  5772. },
  5773. {
  5774. "type": "string",
  5775. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5776. "name": "startTime",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5782. "name": "endTime",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "integer",
  5787. "description": "条数",
  5788. "name": "count",
  5789. "in": "query"
  5790. },
  5791. {
  5792. "type": "boolean",
  5793. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5794. "name": "isAsc",
  5795. "in": "query"
  5796. }
  5797. ],
  5798. "responses": {
  5799. "200": {
  5800. "description": "OK",
  5801. "schema": {
  5802. "$ref": "#/definitions/quote.HistoryTikData"
  5803. }
  5804. },
  5805. "500": {
  5806. "description": "Internal Server Error",
  5807. "schema": {
  5808. "$ref": "#/definitions/app.Response"
  5809. }
  5810. }
  5811. }
  5812. }
  5813. },
  5814. "/Quote/QueryQuoteDay": {
  5815. "get": {
  5816. "security": [
  5817. {
  5818. "ApiKeyAuth": []
  5819. }
  5820. ],
  5821. "produces": [
  5822. "application/json"
  5823. ],
  5824. "tags": [
  5825. "行情服务"
  5826. ],
  5827. "summary": "获取商品盘面信息",
  5828. "parameters": [
  5829. {
  5830. "type": "string",
  5831. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5832. "name": "goodsCodes",
  5833. "in": "query",
  5834. "required": true
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5842. }
  5843. },
  5844. "500": {
  5845. "description": "Internal Server Error",
  5846. "schema": {
  5847. "$ref": "#/definitions/app.Response"
  5848. }
  5849. }
  5850. }
  5851. }
  5852. },
  5853. "/Quote/QueryTSData": {
  5854. "get": {
  5855. "security": [
  5856. {
  5857. "ApiKeyAuth": []
  5858. }
  5859. ],
  5860. "produces": [
  5861. "application/json"
  5862. ],
  5863. "tags": [
  5864. "行情服务"
  5865. ],
  5866. "summary": "分时图数据查询",
  5867. "parameters": [
  5868. {
  5869. "type": "string",
  5870. "description": "商品代码",
  5871. "name": "goodsCode",
  5872. "in": "query",
  5873. "required": true
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/SZDZ/QueryConvertConfig": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "produces": [
  5900. "application/json"
  5901. ],
  5902. "tags": [
  5903. "定制【尚志大宗】"
  5904. ],
  5905. "summary": "查询交易系统转换设置",
  5906. "parameters": [
  5907. {
  5908. "type": "integer",
  5909. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5910. "name": "convertType",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "string",
  5915. "description": "外部商品代码[JD\\PD]",
  5916. "name": "outerGoodsCode",
  5917. "in": "query"
  5918. },
  5919. {
  5920. "type": "string",
  5921. "description": "内部商品ID列表[交易],格式:1,2,3",
  5922. "name": "innerGoodsIDs",
  5923. "in": "query"
  5924. }
  5925. ],
  5926. "responses": {
  5927. "200": {
  5928. "description": "OK",
  5929. "schema": {
  5930. "$ref": "#/definitions/models.Szdz3convertconfig"
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/SZDZ/QueryConvertLog": {
  5943. "get": {
  5944. "security": [
  5945. {
  5946. "ApiKeyAuth": []
  5947. }
  5948. ],
  5949. "produces": [
  5950. "application/json"
  5951. ],
  5952. "tags": [
  5953. "定制【尚志大宗】"
  5954. ],
  5955. "summary": "交易系统转换流水查询",
  5956. "parameters": [
  5957. {
  5958. "type": "string",
  5959. "description": "资金账户 - 格式:1,2,3",
  5960. "name": "accountID",
  5961. "in": "query",
  5962. "required": true
  5963. },
  5964. {
  5965. "type": "string",
  5966. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5967. "name": "startDate",
  5968. "in": "query"
  5969. },
  5970. {
  5971. "type": "string",
  5972. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5973. "name": "endDate",
  5974. "in": "query"
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5982. }
  5983. },
  5984. "500": {
  5985. "description": "Internal Server Error",
  5986. "schema": {
  5987. "$ref": "#/definitions/app.Response"
  5988. }
  5989. }
  5990. }
  5991. }
  5992. },
  5993. "/SZDZ/QueryGoodsPickup": {
  5994. "get": {
  5995. "security": [
  5996. {
  5997. "ApiKeyAuth": []
  5998. }
  5999. ],
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "定制【尚志大宗】"
  6005. ],
  6006. "summary": "商品提货单查询",
  6007. "parameters": [
  6008. {
  6009. "type": "string",
  6010. "description": "资金账户 - 格式:1,2,3",
  6011. "name": "accountID",
  6012. "in": "query",
  6013. "required": true
  6014. },
  6015. {
  6016. "type": "integer",
  6017. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6018. "name": "takeOrderStatus",
  6019. "in": "query"
  6020. }
  6021. ],
  6022. "responses": {
  6023. "200": {
  6024. "description": "OK",
  6025. "schema": {
  6026. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6027. }
  6028. },
  6029. "500": {
  6030. "description": "Internal Server Error",
  6031. "schema": {
  6032. "$ref": "#/definitions/app.Response"
  6033. }
  6034. }
  6035. }
  6036. }
  6037. },
  6038. "/SZDZ/QueryRecieptOrder": {
  6039. "get": {
  6040. "security": [
  6041. {
  6042. "ApiKeyAuth": []
  6043. }
  6044. ],
  6045. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6046. "produces": [
  6047. "application/json"
  6048. ],
  6049. "tags": [
  6050. "定制【尚志大宗】"
  6051. ],
  6052. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6053. "parameters": [
  6054. {
  6055. "type": "integer",
  6056. "description": "页码",
  6057. "name": "page",
  6058. "in": "query"
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "每页条数",
  6063. "name": "pagesize",
  6064. "in": "query"
  6065. },
  6066. {
  6067. "type": "integer",
  6068. "description": "商品ID",
  6069. "name": "goodsID",
  6070. "in": "query",
  6071. "required": true
  6072. },
  6073. {
  6074. "type": "string",
  6075. "description": "所属账户名称",
  6076. "name": "accountName",
  6077. "in": "query"
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "市场ID",
  6082. "name": "marketID",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "方向 - 0:买 1:卖",
  6088. "name": "buyorsell",
  6089. "in": "query",
  6090. "required": true
  6091. }
  6092. ],
  6093. "responses": {
  6094. "200": {
  6095. "description": "OK",
  6096. "schema": {
  6097. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6098. }
  6099. },
  6100. "500": {
  6101. "description": "Internal Server Error",
  6102. "schema": {
  6103. "$ref": "#/definitions/app.Response"
  6104. }
  6105. }
  6106. }
  6107. }
  6108. },
  6109. "/SZDZ/QuerySZDZTradePosition": {
  6110. "get": {
  6111. "security": [
  6112. {
  6113. "ApiKeyAuth": []
  6114. }
  6115. ],
  6116. "produces": [
  6117. "application/json"
  6118. ],
  6119. "tags": [
  6120. "定制【尚志大宗】"
  6121. ],
  6122. "summary": "持仓汇总查询(尚志大宗)",
  6123. "parameters": [
  6124. {
  6125. "type": "integer",
  6126. "description": "资金账户",
  6127. "name": "accountID",
  6128. "in": "query",
  6129. "required": true
  6130. }
  6131. ],
  6132. "responses": {
  6133. "200": {
  6134. "description": "OK",
  6135. "schema": {
  6136. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6137. }
  6138. },
  6139. "500": {
  6140. "description": "Internal Server Error",
  6141. "schema": {
  6142. "$ref": "#/definitions/app.Response"
  6143. }
  6144. }
  6145. }
  6146. }
  6147. },
  6148. "/SZDZ/SearchWhite": {
  6149. "get": {
  6150. "security": [
  6151. {
  6152. "ApiKeyAuth": []
  6153. }
  6154. ],
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "定制【尚志大宗】"
  6160. ],
  6161. "summary": "搜索白名单",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "用户ID",
  6166. "name": "userID",
  6167. "in": "query",
  6168. "required": true
  6169. }
  6170. ],
  6171. "responses": {
  6172. "200": {
  6173. "description": "OK",
  6174. "schema": {
  6175. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6176. }
  6177. },
  6178. "500": {
  6179. "description": "Internal Server Error",
  6180. "schema": {
  6181. "$ref": "#/definitions/app.Response"
  6182. }
  6183. }
  6184. }
  6185. }
  6186. },
  6187. "/Search/SearchGoodses": {
  6188. "get": {
  6189. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6190. "produces": [
  6191. "application/json"
  6192. ],
  6193. "tags": [
  6194. "检索服务"
  6195. ],
  6196. "summary": "检索商品信息",
  6197. "parameters": [
  6198. {
  6199. "type": "string",
  6200. "description": "检索内容",
  6201. "name": "content",
  6202. "in": "query",
  6203. "required": true
  6204. },
  6205. {
  6206. "type": "string",
  6207. "description": "交易模式,格式:1,2,3",
  6208. "name": "tradeModes",
  6209. "in": "query"
  6210. }
  6211. ],
  6212. "responses": {
  6213. "200": {
  6214. "description": "OK",
  6215. "schema": {
  6216. "$ref": "#/definitions/models.SearchGoods"
  6217. }
  6218. },
  6219. "500": {
  6220. "description": "Internal Server Error",
  6221. "schema": {
  6222. "$ref": "#/definitions/app.Response"
  6223. }
  6224. }
  6225. }
  6226. }
  6227. },
  6228. "/TaAccount/GetTaAccounts": {
  6229. "get": {
  6230. "security": [
  6231. {
  6232. "ApiKeyAuth": []
  6233. }
  6234. ],
  6235. "produces": [
  6236. "application/json"
  6237. ],
  6238. "tags": [
  6239. "资金账户"
  6240. ],
  6241. "summary": "获取资金账户信息",
  6242. "parameters": [
  6243. {
  6244. "type": "integer",
  6245. "description": "登录账户",
  6246. "name": "loginID",
  6247. "in": "query",
  6248. "required": true
  6249. },
  6250. {
  6251. "type": "integer",
  6252. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6253. "name": "taAccountType",
  6254. "in": "query"
  6255. }
  6256. ],
  6257. "responses": {
  6258. "200": {
  6259. "description": "OK",
  6260. "schema": {
  6261. "$ref": "#/definitions/models.Taaccount"
  6262. }
  6263. },
  6264. "500": {
  6265. "description": "Internal Server Error",
  6266. "schema": {
  6267. "$ref": "#/definitions/app.Response"
  6268. }
  6269. }
  6270. }
  6271. }
  6272. },
  6273. "/TaAccount/QueryAmountLog": {
  6274. "get": {
  6275. "security": [
  6276. {
  6277. "ApiKeyAuth": []
  6278. }
  6279. ],
  6280. "produces": [
  6281. "application/json"
  6282. ],
  6283. "tags": [
  6284. "资金账户"
  6285. ],
  6286. "summary": "资金流水查询(当前)",
  6287. "parameters": [
  6288. {
  6289. "type": "integer",
  6290. "description": "页码",
  6291. "name": "page",
  6292. "in": "query"
  6293. },
  6294. {
  6295. "type": "integer",
  6296. "description": "每页条数",
  6297. "name": "pagesize",
  6298. "in": "query"
  6299. },
  6300. {
  6301. "type": "string",
  6302. "description": "资金账户 - 格式:1,2,3",
  6303. "name": "accountID",
  6304. "in": "query",
  6305. "required": true
  6306. },
  6307. {
  6308. "type": "string",
  6309. "description": "资金操作类型 - 格式:1,2,3",
  6310. "name": "OperateType",
  6311. "in": "query"
  6312. }
  6313. ],
  6314. "responses": {
  6315. "200": {
  6316. "description": "OK",
  6317. "schema": {
  6318. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6319. }
  6320. },
  6321. "500": {
  6322. "description": "Internal Server Error",
  6323. "schema": {
  6324. "$ref": "#/definitions/app.Response"
  6325. }
  6326. }
  6327. }
  6328. }
  6329. },
  6330. "/TaAccount/QueryHisAmountLog": {
  6331. "get": {
  6332. "security": [
  6333. {
  6334. "ApiKeyAuth": []
  6335. }
  6336. ],
  6337. "produces": [
  6338. "application/json"
  6339. ],
  6340. "tags": [
  6341. "资金账户"
  6342. ],
  6343. "summary": "资金流水查询(历史)",
  6344. "parameters": [
  6345. {
  6346. "type": "integer",
  6347. "description": "页码",
  6348. "name": "page",
  6349. "in": "query"
  6350. },
  6351. {
  6352. "type": "integer",
  6353. "description": "每页条数",
  6354. "name": "pagesize",
  6355. "in": "query"
  6356. },
  6357. {
  6358. "type": "string",
  6359. "description": "资金账户 - 格式:1,2,3",
  6360. "name": "accountID",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "string",
  6366. "description": "资金操作类型 - 格式:1,2,3",
  6367. "name": "OperateType",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "string",
  6372. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6373. "name": "startDate",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "string",
  6378. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6379. "name": "endDate",
  6380. "in": "query"
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/Trade/QueryRecieptOrder": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6407. "produces": [
  6408. "application/json"
  6409. ],
  6410. "tags": [
  6411. "通用交易"
  6412. ],
  6413. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6414. "parameters": [
  6415. {
  6416. "type": "integer",
  6417. "description": "页码",
  6418. "name": "page",
  6419. "in": "query"
  6420. },
  6421. {
  6422. "type": "integer",
  6423. "description": "每页条数",
  6424. "name": "pagesize",
  6425. "in": "query"
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "商品ID",
  6430. "name": "goodsID",
  6431. "in": "query",
  6432. "required": true
  6433. },
  6434. {
  6435. "type": "string",
  6436. "description": "所属账户名称",
  6437. "name": "accountName",
  6438. "in": "query"
  6439. },
  6440. {
  6441. "type": "integer",
  6442. "description": "市场ID",
  6443. "name": "marketID",
  6444. "in": "query"
  6445. },
  6446. {
  6447. "type": "integer",
  6448. "description": "方向 - 0:买 1:卖",
  6449. "name": "buyorsell",
  6450. "in": "query",
  6451. "required": true
  6452. }
  6453. ],
  6454. "responses": {
  6455. "200": {
  6456. "description": "OK",
  6457. "schema": {
  6458. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/User/AddMessageBoard": {
  6471. "post": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "用户信息"
  6482. ],
  6483. "summary": "添加用户留言板信息",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "用户ID",
  6488. "name": "userID",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "string",
  6494. "description": "留言信息",
  6495. "name": "message",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "string",
  6501. "description": "联系电话",
  6502. "name": "contactNum",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "$ref": "#/definitions/app.Response"
  6512. }
  6513. },
  6514. "500": {
  6515. "description": "Internal Server Error",
  6516. "schema": {
  6517. "$ref": "#/definitions/app.Response"
  6518. }
  6519. }
  6520. }
  6521. }
  6522. },
  6523. "/User/AddUserFavoriteGoods": {
  6524. "post": {
  6525. "security": [
  6526. {
  6527. "ApiKeyAuth": []
  6528. }
  6529. ],
  6530. "produces": [
  6531. "application/json"
  6532. ],
  6533. "tags": [
  6534. "用户信息"
  6535. ],
  6536. "summary": "添加用户商品收藏信息",
  6537. "parameters": [
  6538. {
  6539. "type": "integer",
  6540. "description": "用户ID",
  6541. "name": "userID",
  6542. "in": "query",
  6543. "required": true
  6544. },
  6545. {
  6546. "type": "integer",
  6547. "description": "商品ID",
  6548. "name": "goodsID",
  6549. "in": "query",
  6550. "required": true
  6551. }
  6552. ],
  6553. "responses": {
  6554. "200": {
  6555. "description": "OK",
  6556. "schema": {
  6557. "$ref": "#/definitions/app.Response"
  6558. }
  6559. },
  6560. "500": {
  6561. "description": "Internal Server Error",
  6562. "schema": {
  6563. "$ref": "#/definitions/app.Response"
  6564. }
  6565. }
  6566. }
  6567. }
  6568. },
  6569. "/User/GetLoginID": {
  6570. "get": {
  6571. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6572. "produces": [
  6573. "application/json"
  6574. ],
  6575. "tags": [
  6576. "用户信息"
  6577. ],
  6578. "summary": "获取登录ID",
  6579. "parameters": [
  6580. {
  6581. "type": "string",
  6582. "description": "登录代码",
  6583. "name": "username",
  6584. "in": "query",
  6585. "required": true
  6586. }
  6587. ],
  6588. "responses": {
  6589. "200": {
  6590. "description": "OK",
  6591. "schema": {
  6592. "$ref": "#/definitions/app.Response"
  6593. }
  6594. },
  6595. "500": {
  6596. "description": "Internal Server Error",
  6597. "schema": {
  6598. "$ref": "#/definitions/app.Response"
  6599. }
  6600. }
  6601. }
  6602. }
  6603. },
  6604. "/User/GetUserAccount": {
  6605. "get": {
  6606. "security": [
  6607. {
  6608. "ApiKeyAuth": []
  6609. }
  6610. ],
  6611. "produces": [
  6612. "application/json"
  6613. ],
  6614. "tags": [
  6615. "用户信息"
  6616. ],
  6617. "summary": "获取用户账号信息",
  6618. "parameters": [
  6619. {
  6620. "type": "integer",
  6621. "description": "用户ID",
  6622. "name": "userID",
  6623. "in": "query",
  6624. "required": true
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.Useraccount"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/User/GetUserAuthStatus": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "用户信息"
  6655. ],
  6656. "summary": "获取用户实名认证状态",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "用户ID",
  6661. "name": "userID",
  6662. "in": "query",
  6663. "required": true
  6664. }
  6665. ],
  6666. "responses": {
  6667. "200": {
  6668. "description": "OK",
  6669. "schema": {
  6670. "$ref": "#/definitions/app.Response"
  6671. }
  6672. },
  6673. "500": {
  6674. "description": "Internal Server Error",
  6675. "schema": {
  6676. "$ref": "#/definitions/app.Response"
  6677. }
  6678. }
  6679. }
  6680. }
  6681. },
  6682. "/User/LoginQuery": {
  6683. "get": {
  6684. "security": [
  6685. {
  6686. "ApiKeyAuth": []
  6687. }
  6688. ],
  6689. "produces": [
  6690. "application/json"
  6691. ],
  6692. "tags": [
  6693. "用户信息"
  6694. ],
  6695. "summary": "账户登录后信息查询",
  6696. "parameters": [
  6697. {
  6698. "type": "integer",
  6699. "description": "登录账号",
  6700. "name": "loginID",
  6701. "in": "query",
  6702. "required": true
  6703. }
  6704. ],
  6705. "responses": {
  6706. "200": {
  6707. "description": "OK",
  6708. "schema": {
  6709. "$ref": "#/definitions/user.LoginQueryRsp"
  6710. }
  6711. },
  6712. "500": {
  6713. "description": "Internal Server Error",
  6714. "schema": {
  6715. "$ref": "#/definitions/app.Response"
  6716. }
  6717. }
  6718. }
  6719. }
  6720. },
  6721. "/User/QueryMessageBoard": {
  6722. "get": {
  6723. "security": [
  6724. {
  6725. "ApiKeyAuth": []
  6726. }
  6727. ],
  6728. "produces": [
  6729. "application/json"
  6730. ],
  6731. "tags": [
  6732. "用户信息"
  6733. ],
  6734. "summary": "获取用户留言板信息",
  6735. "parameters": [
  6736. {
  6737. "type": "integer",
  6738. "description": "用户ID",
  6739. "name": "userID",
  6740. "in": "query",
  6741. "required": true
  6742. }
  6743. ],
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/models.Messageboard"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/User/QueryUserFavoriteGoodses": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "用户信息"
  6772. ],
  6773. "summary": "获取用户商品收藏信息",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userID",
  6779. "in": "query",
  6780. "required": true
  6781. }
  6782. ],
  6783. "responses": {
  6784. "200": {
  6785. "description": "OK",
  6786. "schema": {
  6787. "$ref": "#/definitions/models.Userfavoritegoods"
  6788. }
  6789. },
  6790. "500": {
  6791. "description": "Internal Server Error",
  6792. "schema": {
  6793. "$ref": "#/definitions/app.Response"
  6794. }
  6795. }
  6796. }
  6797. }
  6798. },
  6799. "/User/QueryUserInfo": {
  6800. "get": {
  6801. "security": [
  6802. {
  6803. "ApiKeyAuth": []
  6804. }
  6805. ],
  6806. "produces": [
  6807. "application/json"
  6808. ],
  6809. "tags": [
  6810. "用户信息"
  6811. ],
  6812. "summary": "获取用户信息",
  6813. "parameters": [
  6814. {
  6815. "type": "integer",
  6816. "description": "用户ID",
  6817. "name": "userID",
  6818. "in": "query",
  6819. "required": true
  6820. },
  6821. {
  6822. "type": "boolean",
  6823. "description": "是否解密",
  6824. "name": "isDecrypt",
  6825. "in": "query"
  6826. }
  6827. ],
  6828. "responses": {
  6829. "200": {
  6830. "description": "OK",
  6831. "schema": {
  6832. "$ref": "#/definitions/models.Userinfo"
  6833. }
  6834. },
  6835. "500": {
  6836. "description": "Internal Server Error",
  6837. "schema": {
  6838. "$ref": "#/definitions/app.Response"
  6839. }
  6840. }
  6841. }
  6842. }
  6843. },
  6844. "/User/QueryUserReferNum": {
  6845. "get": {
  6846. "produces": [
  6847. "application/json"
  6848. ],
  6849. "tags": [
  6850. "用户信息"
  6851. ],
  6852. "summary": "获取用户邀请码",
  6853. "parameters": [
  6854. {
  6855. "type": "integer",
  6856. "description": "用户ID",
  6857. "name": "userID",
  6858. "in": "query",
  6859. "required": true
  6860. }
  6861. ],
  6862. "responses": {
  6863. "200": {
  6864. "description": "OK",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. },
  6869. "500": {
  6870. "description": "Internal Server Error",
  6871. "schema": {
  6872. "$ref": "#/definitions/app.Response"
  6873. }
  6874. }
  6875. }
  6876. }
  6877. },
  6878. "/User/RemoveUserFavoriteGoods": {
  6879. "post": {
  6880. "security": [
  6881. {
  6882. "ApiKeyAuth": []
  6883. }
  6884. ],
  6885. "produces": [
  6886. "application/json"
  6887. ],
  6888. "tags": [
  6889. "用户信息"
  6890. ],
  6891. "summary": "移除用户商品收藏信息",
  6892. "parameters": [
  6893. {
  6894. "type": "integer",
  6895. "description": "用户ID",
  6896. "name": "userID",
  6897. "in": "query",
  6898. "required": true
  6899. },
  6900. {
  6901. "type": "integer",
  6902. "description": "商品ID",
  6903. "name": "goodsID",
  6904. "in": "query",
  6905. "required": true
  6906. }
  6907. ],
  6908. "responses": {
  6909. "200": {
  6910. "description": "OK",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. },
  6915. "500": {
  6916. "description": "Internal Server Error",
  6917. "schema": {
  6918. "$ref": "#/definitions/app.Response"
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "/User/UpdateUserAccountStatus": {
  6925. "post": {
  6926. "security": [
  6927. {
  6928. "ApiKeyAuth": []
  6929. }
  6930. ],
  6931. "produces": [
  6932. "application/json"
  6933. ],
  6934. "tags": [
  6935. "用户信息"
  6936. ],
  6937. "summary": "更新用户状态",
  6938. "parameters": [
  6939. {
  6940. "type": "integer",
  6941. "description": "用户ID",
  6942. "name": "userID",
  6943. "in": "query",
  6944. "required": true
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "账户状态 - 4:正常 6:注销(停用)",
  6949. "name": "accountStatus",
  6950. "in": "query",
  6951. "required": true
  6952. }
  6953. ],
  6954. "responses": {
  6955. "200": {
  6956. "description": "OK",
  6957. "schema": {
  6958. "$ref": "#/definitions/app.Response"
  6959. }
  6960. },
  6961. "500": {
  6962. "description": "Internal Server Error",
  6963. "schema": {
  6964. "$ref": "#/definitions/app.Response"
  6965. }
  6966. }
  6967. }
  6968. }
  6969. },
  6970. "/WR/GetWRCategoryInfo": {
  6971. "get": {
  6972. "produces": [
  6973. "application/json"
  6974. ],
  6975. "tags": [
  6976. "仓单服务"
  6977. ],
  6978. "summary": "获取现货分类信息",
  6979. "responses": {
  6980. "200": {
  6981. "description": "OK",
  6982. "schema": {
  6983. "$ref": "#/definitions/models.WRCategoryTree"
  6984. }
  6985. },
  6986. "500": {
  6987. "description": "Internal Server Error",
  6988. "schema": {
  6989. "$ref": "#/definitions/app.Response"
  6990. }
  6991. }
  6992. }
  6993. }
  6994. },
  6995. "/WRTrade/GetAllDeliveryGoods": {
  6996. "get": {
  6997. "security": [
  6998. {
  6999. "ApiKeyAuth": []
  7000. },
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json",
  7007. "application/json"
  7008. ],
  7009. "tags": [
  7010. "仓单贸易",
  7011. "仓单贸易"
  7012. ],
  7013. "summary": "获取带仓单分类的种类信息",
  7014. "responses": {
  7015. "200": {
  7016. "description": "OK",
  7017. "schema": {
  7018. "$ref": "#/definitions/app.Response"
  7019. }
  7020. },
  7021. "500": {
  7022. "description": "Internal Server Error",
  7023. "schema": {
  7024. "$ref": "#/definitions/app.Response"
  7025. }
  7026. }
  7027. }
  7028. }
  7029. }
  7030. },
  7031. "definitions": {
  7032. "app.Response": {
  7033. "type": "object",
  7034. "properties": {
  7035. "code": {
  7036. "type": "integer"
  7037. },
  7038. "data": {
  7039. "type": "object"
  7040. },
  7041. "msg": {
  7042. "type": "string"
  7043. },
  7044. "page": {
  7045. "description": "页码",
  7046. "type": "integer"
  7047. },
  7048. "pagesize": {
  7049. "description": "每页条数",
  7050. "type": "integer"
  7051. },
  7052. "total": {
  7053. "description": "总条数",
  7054. "type": "integer"
  7055. }
  7056. }
  7057. },
  7058. "common.QueryImageConfigsRsp": {
  7059. "type": "object",
  7060. "required": [
  7061. "configid"
  7062. ],
  7063. "properties": {
  7064. "areauserid": {
  7065. "description": "所属机构ID",
  7066. "type": "integer"
  7067. },
  7068. "configid": {
  7069. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7070. "type": "integer"
  7071. },
  7072. "createdate": {
  7073. "description": "创建时间",
  7074. "type": "string"
  7075. },
  7076. "creatorid": {
  7077. "description": "创建人",
  7078. "type": "integer"
  7079. },
  7080. "imagepath": {
  7081. "description": "图片",
  7082. "type": "string"
  7083. },
  7084. "imagetype": {
  7085. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7086. "type": "integer"
  7087. },
  7088. "isshow": {
  7089. "description": "是否展示 - 0:不展示 1:展示",
  7090. "type": "integer"
  7091. },
  7092. "marketid": {
  7093. "description": "市场ID",
  7094. "type": "integer"
  7095. },
  7096. "modifierid": {
  7097. "description": "操作人",
  7098. "type": "integer"
  7099. },
  7100. "sort": {
  7101. "description": "排序",
  7102. "type": "integer"
  7103. },
  7104. "title": {
  7105. "description": "标题",
  7106. "type": "string"
  7107. },
  7108. "trademode": {
  7109. "description": "交易模式",
  7110. "type": "integer"
  7111. },
  7112. "updatedate": {
  7113. "description": "修改时间",
  7114. "type": "string"
  7115. },
  7116. "url": {
  7117. "description": "链接(地址或商品ID)",
  7118. "type": "string"
  7119. },
  7120. "urltype": {
  7121. "description": "链接类型 - 1:直接地址 2:商品ID",
  7122. "type": "integer"
  7123. }
  7124. }
  7125. },
  7126. "common.QueryNoticeRsp": {
  7127. "type": "object",
  7128. "required": [
  7129. "autoid"
  7130. ],
  7131. "properties": {
  7132. "auditoruserid": {
  7133. "description": "审核人",
  7134. "type": "integer"
  7135. },
  7136. "auditremark": {
  7137. "description": "审核备注",
  7138. "type": "string"
  7139. },
  7140. "audittime": {
  7141. "description": "审核日期",
  7142. "type": "string"
  7143. },
  7144. "autoid": {
  7145. "description": "自增ID",
  7146. "type": "integer"
  7147. },
  7148. "content": {
  7149. "description": "内容",
  7150. "type": "string"
  7151. },
  7152. "createtime": {
  7153. "description": "创建时间",
  7154. "type": "string"
  7155. },
  7156. "creatorid": {
  7157. "description": "建仓人",
  7158. "type": "integer"
  7159. },
  7160. "endtime": {
  7161. "description": "结束时间",
  7162. "type": "string"
  7163. },
  7164. "istop": {
  7165. "description": "是否置顶 - 0:不置顶 1:置顶",
  7166. "type": "integer"
  7167. },
  7168. "msgiconurl": {
  7169. "description": "消息图标Url",
  7170. "type": "string"
  7171. },
  7172. "msgtype": {
  7173. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7174. "type": "integer"
  7175. },
  7176. "publisher": {
  7177. "description": "消息发布者",
  7178. "type": "string"
  7179. },
  7180. "readed": {
  7181. "description": "是否已读",
  7182. "type": "boolean"
  7183. },
  7184. "scheduletime": {
  7185. "description": "计划发送时间",
  7186. "type": "string"
  7187. },
  7188. "sendtype": {
  7189. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7190. "type": "integer"
  7191. },
  7192. "sentstatus": {
  7193. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7194. "type": "integer"
  7195. },
  7196. "title": {
  7197. "description": "标题",
  7198. "type": "string"
  7199. },
  7200. "userid": {
  7201. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7202. "type": "integer"
  7203. }
  7204. }
  7205. },
  7206. "common.QueryProvincesAndCitiesRsp": {
  7207. "type": "object",
  7208. "properties": {
  7209. "cities": {
  7210. "description": "市",
  7211. "type": "array",
  7212. "items": {
  7213. "$ref": "#/definitions/models.Division"
  7214. }
  7215. },
  7216. "province": {
  7217. "description": "省",
  7218. "$ref": "#/definitions/models.Division"
  7219. }
  7220. }
  7221. },
  7222. "common.QueryTableDefineRsp": {
  7223. "type": "object",
  7224. "required": [
  7225. "tablekey"
  7226. ],
  7227. "properties": {
  7228. "columns": {
  7229. "description": "列头信息数组",
  7230. "type": "array",
  7231. "items": {
  7232. "$ref": "#/definitions/models.Tablecolumnconfig"
  7233. }
  7234. },
  7235. "remark": {
  7236. "description": "Remark",
  7237. "type": "string"
  7238. },
  7239. "tabelmenu": {
  7240. "description": "列表菜单",
  7241. "type": "string"
  7242. },
  7243. "tablekey": {
  7244. "description": "列表Key",
  7245. "type": "string"
  7246. },
  7247. "tablename": {
  7248. "description": "列表名称",
  7249. "type": "string"
  7250. },
  7251. "tabletype": {
  7252. "description": "列表类型 - 1:管理端 2:终端",
  7253. "type": "integer"
  7254. }
  7255. }
  7256. },
  7257. "common.QueryTraderMenuRsp": {
  7258. "type": "object",
  7259. "properties": {
  7260. "OperationMenu": {
  7261. "description": "功能菜单",
  7262. "type": "array",
  7263. "items": {
  7264. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7265. }
  7266. },
  7267. "QuoteMenu": {
  7268. "description": "报价牌分类菜单",
  7269. "type": "array",
  7270. "items": {
  7271. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7272. }
  7273. }
  7274. }
  7275. },
  7276. "cptrade.Cptradepositioncancel": {
  7277. "type": "object",
  7278. "required": [
  7279. "cancelid"
  7280. ],
  7281. "properties": {
  7282. "accountid": {
  7283. "description": "申请人账户ID",
  7284. "type": "integer"
  7285. },
  7286. "applystatus": {
  7287. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7288. "type": "integer"
  7289. },
  7290. "applytime": {
  7291. "description": "申请时间",
  7292. "type": "string"
  7293. },
  7294. "cancelid": {
  7295. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7296. "type": "integer"
  7297. },
  7298. "cancelqty": {
  7299. "description": "注销数量",
  7300. "type": "integer"
  7301. },
  7302. "createtime": {
  7303. "description": "创建时间",
  7304. "type": "string"
  7305. },
  7306. "creatorid": {
  7307. "description": "创建人ID",
  7308. "type": "integer"
  7309. },
  7310. "creatorname": {
  7311. "description": "创建人",
  7312. "type": "string"
  7313. },
  7314. "goodscode": {
  7315. "description": "订单商品代码",
  7316. "type": "string"
  7317. },
  7318. "goodsid": {
  7319. "description": "商品ID",
  7320. "type": "integer"
  7321. },
  7322. "goodsname": {
  7323. "description": "订单商品名称",
  7324. "type": "string"
  7325. },
  7326. "goodunit": {
  7327. "description": "报价单位",
  7328. "type": "string"
  7329. },
  7330. "handlestatus": {
  7331. "description": "处理状态",
  7332. "type": "integer"
  7333. },
  7334. "marketid": {
  7335. "description": "市场ID",
  7336. "type": "integer"
  7337. },
  7338. "marketname": {
  7339. "description": "市场名称",
  7340. "type": "string"
  7341. },
  7342. "tradedate": {
  7343. "description": "交易日(yyyyMMdd)",
  7344. "type": "string"
  7345. },
  7346. "userid": {
  7347. "description": "申请人ID",
  7348. "type": "integer"
  7349. }
  7350. }
  7351. },
  7352. "cptrade.Cptradepresaleapply": {
  7353. "type": "object",
  7354. "required": [
  7355. "applyid"
  7356. ],
  7357. "properties": {
  7358. "accountid": {
  7359. "description": "申请人账户ID",
  7360. "type": "integer"
  7361. },
  7362. "applyid": {
  7363. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7364. "type": "integer"
  7365. },
  7366. "applyremark": {
  7367. "description": "申请备注",
  7368. "type": "string"
  7369. },
  7370. "applystatus": {
  7371. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7372. "type": "integer"
  7373. },
  7374. "applytime": {
  7375. "description": "申请时间",
  7376. "type": "string"
  7377. },
  7378. "attachmenturl": {
  7379. "description": "附件地址",
  7380. "type": "string"
  7381. },
  7382. "endtime": {
  7383. "description": "预售结束时间",
  7384. "type": "string"
  7385. },
  7386. "goodscode": {
  7387. "description": "商品代码",
  7388. "type": "string"
  7389. },
  7390. "goodsid": {
  7391. "description": "商品ID",
  7392. "type": "integer"
  7393. },
  7394. "goodsname": {
  7395. "description": "商品名称",
  7396. "type": "string"
  7397. },
  7398. "goodunit": {
  7399. "description": "报价单位",
  7400. "type": "string"
  7401. },
  7402. "handlestatus": {
  7403. "description": "处理状态",
  7404. "type": "integer"
  7405. },
  7406. "marketid": {
  7407. "description": "预售市场ID",
  7408. "type": "integer"
  7409. },
  7410. "marketname": {
  7411. "description": "预售市场名称",
  7412. "type": "string"
  7413. },
  7414. "presaleqty": {
  7415. "description": "预售数量",
  7416. "type": "integer"
  7417. },
  7418. "relatedgoodscode": {
  7419. "description": "关联交易合约代码",
  7420. "type": "string"
  7421. },
  7422. "relatedgoodsid": {
  7423. "description": "关联交易合约ID",
  7424. "type": "integer"
  7425. },
  7426. "relatedgoodsname": {
  7427. "description": "关联交易合约名称",
  7428. "type": "string"
  7429. },
  7430. "starttime": {
  7431. "description": "预售开始时间",
  7432. "type": "string"
  7433. },
  7434. "tradedate": {
  7435. "description": "交易日(yyyyMMdd)",
  7436. "type": "string"
  7437. },
  7438. "trademode": {
  7439. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7440. "type": "integer"
  7441. },
  7442. "userid": {
  7443. "description": "申请人ID",
  7444. "type": "integer"
  7445. }
  7446. }
  7447. },
  7448. "cptrade.Cptradeusergoodsdata": {
  7449. "type": "object",
  7450. "required": [
  7451. "accountid",
  7452. "goodsid"
  7453. ],
  7454. "properties": {
  7455. "EnabledQty": {
  7456. "description": "可用量",
  7457. "type": "integer"
  7458. },
  7459. "GoodsCode": {
  7460. "description": "订单商品代码",
  7461. "type": "string"
  7462. },
  7463. "GoodsName": {
  7464. "description": "订单商品名称",
  7465. "type": "string"
  7466. },
  7467. "WRStandardCode": {
  7468. "description": "仓单标准代码",
  7469. "type": "string"
  7470. },
  7471. "WRStandardName": {
  7472. "description": "仓单标准名称",
  7473. "type": "string"
  7474. },
  7475. "accountid": {
  7476. "description": "账户ID",
  7477. "type": "integer"
  7478. },
  7479. "cancelqty": {
  7480. "description": "注销量",
  7481. "type": "integer"
  7482. },
  7483. "curpresaleqty": {
  7484. "description": "当前预售量",
  7485. "type": "integer"
  7486. },
  7487. "deliveryqty": {
  7488. "description": "交割量",
  7489. "type": "integer"
  7490. },
  7491. "freezeamount": {
  7492. "description": "冻结金额",
  7493. "type": "number"
  7494. },
  7495. "goodsid": {
  7496. "description": "商品ID",
  7497. "type": "integer"
  7498. },
  7499. "goodunit": {
  7500. "description": "报价单位",
  7501. "type": "string"
  7502. },
  7503. "hasspotfreeze": {
  7504. "description": "是否有现货冻结 - 0:否 1:有",
  7505. "type": "integer"
  7506. },
  7507. "inqty": {
  7508. "description": "转入量(总数量)",
  7509. "type": "integer"
  7510. },
  7511. "marketid": {
  7512. "description": "市场ID",
  7513. "type": "integer"
  7514. },
  7515. "presaledamount": {
  7516. "description": "已预售总金额",
  7517. "type": "integer"
  7518. },
  7519. "presaledqty": {
  7520. "description": "已预售量",
  7521. "type": "integer"
  7522. },
  7523. "userid": {
  7524. "description": "用户ID",
  7525. "type": "integer"
  7526. },
  7527. "wrstandardid": {
  7528. "description": "仓单标准ID",
  7529. "type": "integer"
  7530. }
  7531. }
  7532. },
  7533. "cptrade.QueryCPTradeMyBidRsp": {
  7534. "type": "object",
  7535. "required": [
  7536. "accountid",
  7537. "goodsid",
  7538. "marketid",
  7539. "orderid",
  7540. "orderqty",
  7541. "ordertime",
  7542. "tradeprice",
  7543. "tradeqty"
  7544. ],
  7545. "properties": {
  7546. "accountid": {
  7547. "description": "账户ID[报价币种]",
  7548. "type": "integer"
  7549. },
  7550. "goodsid": {
  7551. "description": "商品ID",
  7552. "type": "integer"
  7553. },
  7554. "goodunit": {
  7555. "description": "报价单位",
  7556. "type": "string"
  7557. },
  7558. "marketid": {
  7559. "description": "市场ID",
  7560. "type": "integer"
  7561. },
  7562. "orderid": {
  7563. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7564. "type": "integer"
  7565. },
  7566. "orderprice": {
  7567. "description": "委托价格",
  7568. "type": "number"
  7569. },
  7570. "orderqty": {
  7571. "description": "委托数量",
  7572. "type": "integer"
  7573. },
  7574. "ordertime": {
  7575. "description": "委托时间",
  7576. "type": "string"
  7577. },
  7578. "ordertotalprice": {
  7579. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7580. "type": "number"
  7581. },
  7582. "ordertotalweight": {
  7583. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7584. "type": "integer"
  7585. },
  7586. "totaltotalprice": {
  7587. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7588. "type": "number"
  7589. },
  7590. "tradeprice": {
  7591. "description": "成交价格",
  7592. "type": "number"
  7593. },
  7594. "tradeqty": {
  7595. "description": "成交数量",
  7596. "type": "integer"
  7597. }
  7598. }
  7599. },
  7600. "cptrade.QueryCPTradeOrderDetailRsq": {
  7601. "type": "object",
  7602. "required": [
  7603. "accountid",
  7604. "buildtype",
  7605. "buyorsell",
  7606. "goodsid",
  7607. "marketid",
  7608. "memberuserid",
  7609. "operatetype",
  7610. "orderqty",
  7611. "ordertime",
  7612. "pricemode",
  7613. "strorderid",
  7614. "tradedate",
  7615. "validtype"
  7616. ],
  7617. "properties": {
  7618. "accountid": {
  7619. "description": "账户ID[报价币种]",
  7620. "type": "integer"
  7621. },
  7622. "buildtype": {
  7623. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7624. "type": "integer"
  7625. },
  7626. "buyorsell": {
  7627. "description": "买卖 - 0:买 1:卖",
  7628. "type": "integer"
  7629. },
  7630. "cancelorderid": {
  7631. "description": "撤单单号(撤单时填写)",
  7632. "type": "integer"
  7633. },
  7634. "cancelqty": {
  7635. "description": "撤单数量",
  7636. "type": "integer"
  7637. },
  7638. "clientordertime": {
  7639. "description": "客户端委托时间",
  7640. "type": "string"
  7641. },
  7642. "clientticket": {
  7643. "description": "客户端流水号",
  7644. "type": "string"
  7645. },
  7646. "clienttype": {
  7647. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7648. "type": "integer"
  7649. },
  7650. "closeexchagechargevalue": {
  7651. "description": "平仓交易所手续费设置值",
  7652. "type": "number"
  7653. },
  7654. "closefeealgorithm": {
  7655. "description": "平仓手续费收取方式 1:比率 2:固定",
  7656. "type": "integer"
  7657. },
  7658. "closefreezecharge": {
  7659. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7660. "type": "number"
  7661. },
  7662. "closememberchargevalue": {
  7663. "description": "平仓会员手续费设置值",
  7664. "type": "number"
  7665. },
  7666. "closeqty": {
  7667. "description": "平仓数量(先建后平操作 需要记录)",
  7668. "type": "integer"
  7669. },
  7670. "closetradeqty": {
  7671. "description": "平仓成交数量(先建后平操作,需要记录)",
  7672. "type": "integer"
  7673. },
  7674. "closeunfreezecharge": {
  7675. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7676. "type": "number"
  7677. },
  7678. "delistingtype": {
  7679. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7680. "type": "integer"
  7681. },
  7682. "freezecharge": {
  7683. "description": "冻结手续费",
  7684. "type": "number"
  7685. },
  7686. "freezemargin": {
  7687. "description": "冻结保证金(冻结交易金额)",
  7688. "type": "number"
  7689. },
  7690. "gcaccountid": {
  7691. "description": "账户ID[合约币种]",
  7692. "type": "integer"
  7693. },
  7694. "goodsid": {
  7695. "description": "商品ID",
  7696. "type": "integer"
  7697. },
  7698. "isconfirmexercise": {
  7699. "description": "是否确认行权- 0:否 1:是",
  7700. "type": "integer"
  7701. },
  7702. "ispreexercise": {
  7703. "description": "是否预申报- 0:否 1:是",
  7704. "type": "integer"
  7705. },
  7706. "listingselecttype": {
  7707. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7708. "type": "integer"
  7709. },
  7710. "marginalgorithm": {
  7711. "description": "保证金收取方式 1:比率 2:固定",
  7712. "type": "integer"
  7713. },
  7714. "marginvalue": {
  7715. "description": "即市保证金设置值",
  7716. "type": "number"
  7717. },
  7718. "marketid": {
  7719. "description": "市场ID",
  7720. "type": "integer"
  7721. },
  7722. "marketmaxsub": {
  7723. "description": "市价最大偏移范围",
  7724. "type": "number"
  7725. },
  7726. "memberuserid": {
  7727. "description": "所属会员UserID",
  7728. "type": "integer"
  7729. },
  7730. "openexchagechargevalue": {
  7731. "description": "建仓交易所手续费设置值",
  7732. "type": "number"
  7733. },
  7734. "openfeealgorithm": {
  7735. "description": "建仓手续费收取方式 1:比率 2:固定",
  7736. "type": "integer"
  7737. },
  7738. "openfreezecharge": {
  7739. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7740. "type": "number"
  7741. },
  7742. "openmemberchargevalue": {
  7743. "description": "建仓会员手续费设置值",
  7744. "type": "number"
  7745. },
  7746. "openqty": {
  7747. "description": "开仓数量(先建后平操作,需要记录)",
  7748. "type": "integer"
  7749. },
  7750. "opentradeqty": {
  7751. "description": "开仓成交数量(先建后平操作,需要记录)",
  7752. "type": "integer"
  7753. },
  7754. "openunfreezecharge": {
  7755. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7756. "type": "number"
  7757. },
  7758. "operatetype": {
  7759. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7760. "type": "integer"
  7761. },
  7762. "operatorid": {
  7763. "description": "登录账号(LoginID)",
  7764. "type": "integer"
  7765. },
  7766. "optiontype": {
  7767. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7768. "type": "integer"
  7769. },
  7770. "orderprice": {
  7771. "description": "委托价格",
  7772. "type": "number"
  7773. },
  7774. "orderqty": {
  7775. "description": "委托数量",
  7776. "type": "integer"
  7777. },
  7778. "ordersrc": {
  7779. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7780. "type": "integer"
  7781. },
  7782. "orderstatus": {
  7783. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7784. "type": "integer"
  7785. },
  7786. "ordertime": {
  7787. "description": "委托时间",
  7788. "type": "string"
  7789. },
  7790. "preexerciseprice": {
  7791. "description": "预申报价格",
  7792. "type": "number"
  7793. },
  7794. "premium": {
  7795. "description": "权利金",
  7796. "type": "number"
  7797. },
  7798. "preorderid": {
  7799. "description": "关联预埋单号(止盈止损单时填写)",
  7800. "type": "integer"
  7801. },
  7802. "pricemode": {
  7803. "description": "取价方式 - 1:市价 2: 限价",
  7804. "type": "integer"
  7805. },
  7806. "quoteid": {
  7807. "description": "报价单ID",
  7808. "type": "integer"
  7809. },
  7810. "relatedid": {
  7811. "description": "关联单号(交割单)",
  7812. "type": "integer"
  7813. },
  7814. "retcode": {
  7815. "description": "错误代码",
  7816. "type": "integer"
  7817. },
  7818. "sessionid": {
  7819. "description": "会话ID",
  7820. "type": "integer"
  7821. },
  7822. "strorderid": {
  7823. "description": "委托单号",
  7824. "type": "string"
  7825. },
  7826. "tradedate": {
  7827. "description": "交易日(yyyyMMdd)",
  7828. "type": "string"
  7829. },
  7830. "tradeproperty": {
  7831. "description": "交易属性",
  7832. "type": "integer"
  7833. },
  7834. "tradeqty": {
  7835. "description": "成交数量",
  7836. "type": "integer"
  7837. },
  7838. "unfreezecharge": {
  7839. "description": "解冻手续费",
  7840. "type": "number"
  7841. },
  7842. "unfreezemargin": {
  7843. "description": "解冻保证金",
  7844. "type": "number"
  7845. },
  7846. "updatetime": {
  7847. "description": "更新时间",
  7848. "type": "string"
  7849. },
  7850. "uuid": {
  7851. "description": "发起端唯一id",
  7852. "type": "string"
  7853. },
  7854. "validtime": {
  7855. "description": "有效期限",
  7856. "type": "string"
  7857. },
  7858. "validtype": {
  7859. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7860. "type": "integer"
  7861. },
  7862. "volumetype": {
  7863. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7864. "type": "integer"
  7865. }
  7866. }
  7867. },
  7868. "cptrade.QueryMyCPTradeGoodsRsp": {
  7869. "type": "object",
  7870. "required": [
  7871. "goodscode",
  7872. "goodsid",
  7873. "goodsname",
  7874. "marketid",
  7875. "relatedgoodscode",
  7876. "relatedgoodsname"
  7877. ],
  7878. "properties": {
  7879. "accountid": {
  7880. "description": "卖方账户ID",
  7881. "type": "integer"
  7882. },
  7883. "agreeunit": {
  7884. "description": "合约单位",
  7885. "type": "number"
  7886. },
  7887. "applyid": {
  7888. "description": "关联申请ID",
  7889. "type": "integer"
  7890. },
  7891. "attachmenturl": {
  7892. "description": "附件地址",
  7893. "type": "string"
  7894. },
  7895. "createtime": {
  7896. "description": "创建时间",
  7897. "type": "string"
  7898. },
  7899. "currencyid": {
  7900. "description": "报价货币ID",
  7901. "type": "integer"
  7902. },
  7903. "decimalplace": {
  7904. "description": "报价小数位",
  7905. "type": "integer"
  7906. },
  7907. "endtime": {
  7908. "description": "预售结束时间",
  7909. "type": "string"
  7910. },
  7911. "floorprice": {
  7912. "description": "底价[大宗式竞拍]",
  7913. "type": "number"
  7914. },
  7915. "goodscode": {
  7916. "description": "商品代码(预售)",
  7917. "type": "string"
  7918. },
  7919. "goodsdetail": {
  7920. "description": "详情[大宗]",
  7921. "type": "string"
  7922. },
  7923. "goodsid": {
  7924. "description": "商品ID(自增ID SEQ_GOODS)",
  7925. "type": "integer"
  7926. },
  7927. "goodsname": {
  7928. "description": "商品名称(预售)",
  7929. "type": "string"
  7930. },
  7931. "goodunit": {
  7932. "description": "报价单位",
  7933. "type": "string"
  7934. },
  7935. "goodunitid": {
  7936. "description": "报价单位ID",
  7937. "type": "integer"
  7938. },
  7939. "marketid": {
  7940. "description": "所属市场ID",
  7941. "type": "integer"
  7942. },
  7943. "marketname": {
  7944. "description": "预售市场名称",
  7945. "type": "string"
  7946. },
  7947. "presaledamount": {
  7948. "description": "已预售总金额(预售结束时更新)",
  7949. "type": "number"
  7950. },
  7951. "presaledqty": {
  7952. "description": "已预售量(预售结束时更新)",
  7953. "type": "integer"
  7954. },
  7955. "presalemode": {
  7956. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7957. "type": "integer"
  7958. },
  7959. "presaleqty": {
  7960. "description": "预售数量",
  7961. "type": "integer"
  7962. },
  7963. "refprice": {
  7964. "description": "参考价格[一口价]",
  7965. "type": "number"
  7966. },
  7967. "relatedgoodscode": {
  7968. "description": "商品代码(订单)",
  7969. "type": "string"
  7970. },
  7971. "relatedgoodsid": {
  7972. "description": "关联交易合约ID",
  7973. "type": "integer"
  7974. },
  7975. "relatedgoodsname": {
  7976. "description": "商品名称(订单)",
  7977. "type": "string"
  7978. },
  7979. "relatedmarketid": {
  7980. "description": "关联交易合约市场ID",
  7981. "type": "integer"
  7982. },
  7983. "sellstatus": {
  7984. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7985. "type": "integer"
  7986. },
  7987. "startprice": {
  7988. "description": "起拍价[大宗式竞拍]",
  7989. "type": "number"
  7990. },
  7991. "starttime": {
  7992. "description": "预售开始时间",
  7993. "type": "string"
  7994. },
  7995. "tradedate": {
  7996. "description": "交易日(yyyyMMdd)",
  7997. "type": "string"
  7998. },
  7999. "tradeprice": {
  8000. "description": "成交价[大宗]",
  8001. "type": "number"
  8002. },
  8003. "userid": {
  8004. "description": "卖方用户ID",
  8005. "type": "integer"
  8006. }
  8007. }
  8008. },
  8009. "cptrade.QueryPresaleGoodsExRsp": {
  8010. "type": "object",
  8011. "required": [
  8012. "goodsid"
  8013. ],
  8014. "properties": {
  8015. "attachmenturl": {
  8016. "description": "附件地址",
  8017. "type": "string"
  8018. },
  8019. "createtime": {
  8020. "description": "创建时间",
  8021. "type": "string"
  8022. },
  8023. "endtime": {
  8024. "description": "预售结束时间",
  8025. "type": "string"
  8026. },
  8027. "floorprice": {
  8028. "description": "底价[大宗式竞拍]",
  8029. "type": "number"
  8030. },
  8031. "goodsdetail": {
  8032. "description": "详情[大宗]",
  8033. "type": "string"
  8034. },
  8035. "goodsid": {
  8036. "description": "商品ID(预售)",
  8037. "type": "integer"
  8038. },
  8039. "goodunit": {
  8040. "description": "报价单位",
  8041. "type": "string"
  8042. },
  8043. "marketid": {
  8044. "description": "预售市场ID - 根据预售模式选择市场",
  8045. "type": "integer"
  8046. },
  8047. "presaledamount": {
  8048. "description": "已预售总金额(预售结束时更新)",
  8049. "type": "number"
  8050. },
  8051. "presaledqty": {
  8052. "description": "已预售量(预售结束时更新)",
  8053. "type": "integer"
  8054. },
  8055. "presalemode": {
  8056. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8057. "type": "integer"
  8058. },
  8059. "presaleqty": {
  8060. "description": "预售数量",
  8061. "type": "integer"
  8062. },
  8063. "refprice": {
  8064. "description": "参考价格[一口价]",
  8065. "type": "number"
  8066. },
  8067. "relatedgoodsid": {
  8068. "description": "关联交易合约ID",
  8069. "type": "integer"
  8070. },
  8071. "relatedmarketid": {
  8072. "description": "关联交易合约市场ID",
  8073. "type": "integer"
  8074. },
  8075. "sellstatus": {
  8076. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8077. "type": "integer"
  8078. },
  8079. "startprice": {
  8080. "description": "起拍价[大宗式竞拍]",
  8081. "type": "number"
  8082. },
  8083. "starttime": {
  8084. "description": "预售开始时间",
  8085. "type": "string"
  8086. },
  8087. "tradedate": {
  8088. "description": "交易日(yyyyMMdd)",
  8089. "type": "string"
  8090. },
  8091. "tradeprice": {
  8092. "description": "成交价[大宗]",
  8093. "type": "number"
  8094. }
  8095. }
  8096. },
  8097. "delivery.QueryDeliveryRelationRsp": {
  8098. "type": "object",
  8099. "required": [
  8100. "begindate",
  8101. "enddate",
  8102. "goodsid",
  8103. "mindeliveryqty",
  8104. "xdeliveryratio"
  8105. ],
  8106. "properties": {
  8107. "begindate": {
  8108. "description": "起始日期(yyyyMMdd)",
  8109. "type": "string"
  8110. },
  8111. "buytemplateid": {
  8112. "description": "买履约计划模板ID",
  8113. "type": "integer"
  8114. },
  8115. "deliverygoodscode": {
  8116. "description": "品种代码",
  8117. "type": "string"
  8118. },
  8119. "deliverygoodsid": {
  8120. "description": "交割商品",
  8121. "type": "integer"
  8122. },
  8123. "deliverygoodsname": {
  8124. "description": "品种名称",
  8125. "type": "string"
  8126. },
  8127. "deliverymode": {
  8128. "description": "交割方式 - 1:点选式 2:申报式",
  8129. "type": "integer"
  8130. },
  8131. "deliverypricerule": {
  8132. "description": "交割价规则- 1:行情价 2:建仓价",
  8133. "type": "integer"
  8134. },
  8135. "deliverytype": {
  8136. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8137. "type": "integer"
  8138. },
  8139. "enddate": {
  8140. "description": "结束日期(yyyyMMdd)",
  8141. "type": "string"
  8142. },
  8143. "goodscode": {
  8144. "description": "商品代码",
  8145. "type": "string"
  8146. },
  8147. "goodsid": {
  8148. "description": "交易合约ID",
  8149. "type": "integer"
  8150. },
  8151. "goodsname": {
  8152. "description": "商品名称",
  8153. "type": "string"
  8154. },
  8155. "marketid": {
  8156. "description": "市场ID",
  8157. "type": "integer"
  8158. },
  8159. "mindeliveryqty": {
  8160. "description": "最小交割系数(K)",
  8161. "type": "integer"
  8162. },
  8163. "p2deliveryprice": {
  8164. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8165. "type": "number"
  8166. },
  8167. "p2deliveryratio": {
  8168. "description": "P2合约系数(p)",
  8169. "type": "integer"
  8170. },
  8171. "p2goodsid": {
  8172. "description": "P2合约ID",
  8173. "type": "integer"
  8174. },
  8175. "p2pricemode": {
  8176. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8177. "type": "integer"
  8178. },
  8179. "pdeliveryprice": {
  8180. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8181. "type": "number"
  8182. },
  8183. "pdeliveryratio": {
  8184. "description": "P合约系数(n)",
  8185. "type": "integer"
  8186. },
  8187. "pgoodsid": {
  8188. "description": "P合约ID",
  8189. "type": "integer"
  8190. },
  8191. "ppricemode": {
  8192. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8193. "type": "integer"
  8194. },
  8195. "rratio": {
  8196. "description": "兑换系数(R)",
  8197. "type": "integer"
  8198. },
  8199. "rratio1": {
  8200. "description": "兑换系数(交易合约)(R1)",
  8201. "type": "integer"
  8202. },
  8203. "rratio2": {
  8204. "description": "兑换系数(仓单标准)(R2)",
  8205. "type": "integer"
  8206. },
  8207. "selltemplateid": {
  8208. "description": "卖履约计划模板ID",
  8209. "type": "integer"
  8210. },
  8211. "wrstandardid": {
  8212. "description": "仓单标准ID",
  8213. "type": "integer"
  8214. },
  8215. "xdeliveryratio": {
  8216. "description": "交易合约系数(m)",
  8217. "type": "integer"
  8218. }
  8219. }
  8220. },
  8221. "ermcp.ExposureDetailRsp": {
  8222. "type": "object",
  8223. "properties": {
  8224. "areauserid": {
  8225. "description": "机构ID",
  8226. "type": "integer"
  8227. },
  8228. "changeQty": {
  8229. "description": "套保变动量",
  8230. "type": "number"
  8231. },
  8232. "contracttype": {
  8233. "description": "现货合同类型 - 1:采购 -1:销售",
  8234. "type": "integer"
  8235. },
  8236. "convertfactor": {
  8237. "description": "标仓系数",
  8238. "type": "number"
  8239. },
  8240. "convertratio": {
  8241. "description": "套保系数",
  8242. "type": "number"
  8243. },
  8244. "createtime": {
  8245. "description": "时间",
  8246. "type": "string"
  8247. },
  8248. "enumdicname": {
  8249. "description": "现货商品单位名称",
  8250. "type": "string"
  8251. },
  8252. "logtype": {
  8253. "description": "类型 - 1:套保计划 2:现货合同",
  8254. "type": "integer"
  8255. },
  8256. "middlegoodsId": {
  8257. "description": "套保商品id",
  8258. "type": "integer"
  8259. },
  8260. "middlegoodscode": {
  8261. "description": "套保商品代码",
  8262. "type": "string"
  8263. },
  8264. "middlegoodsname": {
  8265. "description": "套保商品名称",
  8266. "type": "string"
  8267. },
  8268. "qty": {
  8269. "description": "数量",
  8270. "type": "number"
  8271. },
  8272. "relateNo": {
  8273. "description": "现货合同/套保计划编号",
  8274. "type": "string"
  8275. },
  8276. "wrstandardcode": {
  8277. "description": "现货商品代码",
  8278. "type": "string"
  8279. },
  8280. "wrstandardid": {
  8281. "description": "现货商品ID",
  8282. "type": "integer"
  8283. },
  8284. "wrstandardname": {
  8285. "description": "现货商品名称",
  8286. "type": "string"
  8287. }
  8288. }
  8289. },
  8290. "ermcp.ExposureHedgePosDetailRsp": {
  8291. "type": "object",
  8292. "properties": {
  8293. "buyorsell": {
  8294. "description": "买卖方向 0-买 1-卖",
  8295. "type": "integer"
  8296. },
  8297. "channelbuildtype": {
  8298. "description": "开平方向 1-建仓 2-平仓",
  8299. "type": "integer"
  8300. },
  8301. "goodscode": {
  8302. "description": "商品代码",
  8303. "type": "string"
  8304. },
  8305. "goodsname": {
  8306. "description": "商品名称",
  8307. "type": "string"
  8308. },
  8309. "hedgegoodsid": {
  8310. "description": "商品id",
  8311. "type": "integer"
  8312. },
  8313. "tradeqty": {
  8314. "description": "数量(成交数量)",
  8315. "type": "integer"
  8316. },
  8317. "tradetime": {
  8318. "description": "时间(成交时间)",
  8319. "type": "string"
  8320. }
  8321. }
  8322. },
  8323. "ermcp.ExposureHedgePositionRsp": {
  8324. "type": "object",
  8325. "properties": {
  8326. "accountid": {
  8327. "description": "资金账号[外部母账户]",
  8328. "type": "integer"
  8329. },
  8330. "curbuyposition": {
  8331. "description": "期末买头寸",
  8332. "type": "integer"
  8333. },
  8334. "cursellposition": {
  8335. "description": "期末卖头寸",
  8336. "type": "integer"
  8337. },
  8338. "curtdbuyposition": {
  8339. "description": "期末今日买头寸",
  8340. "type": "integer"
  8341. },
  8342. "curtdsellposition": {
  8343. "description": "期末今日卖头寸",
  8344. "type": "integer"
  8345. },
  8346. "curydbuyposition": {
  8347. "description": "期末上日买头寸",
  8348. "type": "integer"
  8349. },
  8350. "curydsellposition": {
  8351. "description": "期末上日卖头寸",
  8352. "type": "integer"
  8353. },
  8354. "decreaseqty": {
  8355. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8356. "type": "integer"
  8357. },
  8358. "fretdbuyposition": {
  8359. "description": "冻结今日买头寸",
  8360. "type": "integer"
  8361. },
  8362. "fretdsellposition": {
  8363. "description": "冻结今日卖头寸",
  8364. "type": "integer"
  8365. },
  8366. "freydbuyposition": {
  8367. "description": "冻结上日买头寸",
  8368. "type": "integer"
  8369. },
  8370. "freydsellposition": {
  8371. "description": "冻结上日卖头寸",
  8372. "type": "integer"
  8373. },
  8374. "goodscode": {
  8375. "description": "商品代码",
  8376. "type": "string"
  8377. },
  8378. "goodsid": {
  8379. "description": "商品id",
  8380. "type": "integer"
  8381. },
  8382. "goodsname": {
  8383. "description": "商品名称",
  8384. "type": "string"
  8385. },
  8386. "hedgeaccountcode": {
  8387. "description": "对冲账号",
  8388. "type": "string"
  8389. },
  8390. "hedgegoodsid": {
  8391. "description": "对冲合约ID",
  8392. "type": "integer"
  8393. },
  8394. "increaseqty": {
  8395. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8396. "type": "integer"
  8397. },
  8398. "marketid": {
  8399. "description": "市场ID",
  8400. "type": "integer"
  8401. },
  8402. "relateduserid": {
  8403. "description": "关联用户id",
  8404. "type": "integer"
  8405. },
  8406. "totalcurqty": {
  8407. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8408. "type": "integer"
  8409. },
  8410. "totalydqty": {
  8411. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8412. "type": "integer"
  8413. },
  8414. "tradedate": {
  8415. "description": "交易日(yyyyMMdd)",
  8416. "type": "string"
  8417. },
  8418. "ydbuyposition": {
  8419. "description": "期初买头寸",
  8420. "type": "integer"
  8421. },
  8422. "ydsellposition": {
  8423. "description": "期初卖头寸",
  8424. "type": "integer"
  8425. }
  8426. }
  8427. },
  8428. "ermcp.ExposureSpotDetailRsp": {
  8429. "type": "object",
  8430. "properties": {
  8431. "contracttype": {
  8432. "description": "合同类型 1-采购 -1-销售",
  8433. "type": "integer"
  8434. },
  8435. "createtime": {
  8436. "description": "创建时间",
  8437. "type": "string"
  8438. },
  8439. "enumdicname": {
  8440. "description": "现货商品单位名称",
  8441. "type": "string"
  8442. },
  8443. "logtype": {
  8444. "description": "记录类型 1-套保 2-现货合同",
  8445. "type": "integer"
  8446. },
  8447. "qty": {
  8448. "description": "数量",
  8449. "type": "number"
  8450. },
  8451. "recordname": {
  8452. "description": "类型名称",
  8453. "type": "string"
  8454. },
  8455. "relatedid": {
  8456. "description": "套保计划ID/现货合同ID",
  8457. "type": "string"
  8458. },
  8459. "relatedno": {
  8460. "description": "编号",
  8461. "type": "string"
  8462. },
  8463. "strtime": {
  8464. "description": "时间",
  8465. "type": "string"
  8466. },
  8467. "wrstandardcode": {
  8468. "description": "现货商品代码",
  8469. "type": "string"
  8470. },
  8471. "wrstandardname": {
  8472. "description": "现货商品名称",
  8473. "type": "string"
  8474. }
  8475. }
  8476. },
  8477. "ermcp.ExposureSpotRsp": {
  8478. "type": "object",
  8479. "properties": {
  8480. "areauserid": {
  8481. "description": "所属机构",
  8482. "type": "integer"
  8483. },
  8484. "decreaseqty": {
  8485. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8486. "type": "number"
  8487. },
  8488. "increaseqty": {
  8489. "description": "增加数量=销售计划数量+采购已定价数量",
  8490. "type": "number"
  8491. },
  8492. "oritoalspotqty": {
  8493. "description": "昨日数量",
  8494. "type": "number"
  8495. },
  8496. "totalspotqty": {
  8497. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8498. "type": "number"
  8499. },
  8500. "updatetime": {
  8501. "description": "更新时间",
  8502. "type": "string"
  8503. },
  8504. "wrstandardcode": {
  8505. "description": "现货品种代码",
  8506. "type": "string"
  8507. },
  8508. "wrstandardid": {
  8509. "description": "现货商品ID",
  8510. "type": "integer"
  8511. },
  8512. "wrstandardname": {
  8513. "description": "现货品种",
  8514. "type": "string"
  8515. }
  8516. }
  8517. },
  8518. "ermcp.HisExposureRsp": {
  8519. "type": "object",
  8520. "properties": {
  8521. "data": {
  8522. "description": "历史敞口",
  8523. "type": "array",
  8524. "items": {
  8525. "$ref": "#/definitions/models.ErmcpHisExposure"
  8526. }
  8527. },
  8528. "enumdicname": {
  8529. "description": "单位名称",
  8530. "type": "string"
  8531. },
  8532. "middlegoodscode": {
  8533. "description": "套保品种代码",
  8534. "type": "string"
  8535. },
  8536. "middlegoodsid": {
  8537. "description": "套保品种ID",
  8538. "type": "integer"
  8539. },
  8540. "middlegoodsname": {
  8541. "description": "套保品种名称",
  8542. "type": "string"
  8543. }
  8544. }
  8545. },
  8546. "ermcp.PendingAuditCntRsp": {
  8547. "type": "object",
  8548. "properties": {
  8549. "areastockqty": {
  8550. "description": "待审核数量: 库存申请",
  8551. "type": "integer"
  8552. },
  8553. "businessdjqty": {
  8554. "description": "待审核数量: 点价",
  8555. "type": "integer"
  8556. },
  8557. "businessfpqty": {
  8558. "description": "待审核数量: 发票",
  8559. "type": "integer"
  8560. },
  8561. "businessjsqty": {
  8562. "description": "待审核数量: 结算",
  8563. "type": "integer"
  8564. },
  8565. "businesskxqty": {
  8566. "description": "待审核数量: 款项",
  8567. "type": "integer"
  8568. },
  8569. "hedgeplanqty": {
  8570. "description": "待审核数量: 套保计划",
  8571. "type": "integer"
  8572. },
  8573. "spotcontractqty": {
  8574. "description": "待审核数量: 现货合同",
  8575. "type": "integer"
  8576. },
  8577. "userqty": {
  8578. "description": "待审核数量: 用户",
  8579. "type": "integer"
  8580. }
  8581. }
  8582. },
  8583. "ermcp.QryAreaStockApplyRsp": {
  8584. "type": "object",
  8585. "properties": {
  8586. "applyid": {
  8587. "description": "申请人",
  8588. "type": "integer"
  8589. },
  8590. "applyname": {
  8591. "description": "申请人名称",
  8592. "type": "string"
  8593. },
  8594. "applyremark": {
  8595. "description": "申请备注",
  8596. "type": "string"
  8597. },
  8598. "applysrc": {
  8599. "description": "申请来源 - 1:管理端 2:终端",
  8600. "type": "integer"
  8601. },
  8602. "applystatus": {
  8603. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8604. "type": "integer"
  8605. },
  8606. "applytime": {
  8607. "description": "申请时间",
  8608. "type": "string"
  8609. },
  8610. "auditid": {
  8611. "description": "审核人",
  8612. "type": "integer"
  8613. },
  8614. "auditname": {
  8615. "description": "审核人名称",
  8616. "type": "string"
  8617. },
  8618. "auditremark": {
  8619. "description": "审核备注",
  8620. "type": "string"
  8621. },
  8622. "auditsrc": {
  8623. "description": "审核来源 - 1:管理端 2:终端",
  8624. "type": "integer"
  8625. },
  8626. "audittime": {
  8627. "description": "审核时间",
  8628. "type": "string"
  8629. },
  8630. "audittradedate": {
  8631. "description": "审核交易日(yyyyMMdd)",
  8632. "type": "string"
  8633. },
  8634. "brandname": {
  8635. "description": "品牌名称",
  8636. "type": "string"
  8637. },
  8638. "buyuserid": {
  8639. "description": "采购方userid",
  8640. "type": "integer"
  8641. },
  8642. "buyusername": {
  8643. "description": "采购方名称",
  8644. "type": "string"
  8645. },
  8646. "contractno": {
  8647. "description": "合同编号",
  8648. "type": "string"
  8649. },
  8650. "contractqty": {
  8651. "description": "合同量",
  8652. "type": "number"
  8653. },
  8654. "contracttype": {
  8655. "description": "现货合同类型 - 1:采购 -1:销售",
  8656. "type": "integer"
  8657. },
  8658. "deliverygoodsid": {
  8659. "description": "现货品种ID",
  8660. "type": "integer"
  8661. },
  8662. "enumdicname": {
  8663. "description": "现货商品单位名称",
  8664. "type": "string"
  8665. },
  8666. "inoutapplyid": {
  8667. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8668. "type": "string"
  8669. },
  8670. "inouttype": {
  8671. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8672. "type": "integer"
  8673. },
  8674. "modelname": {
  8675. "description": "型号名称",
  8676. "type": "string"
  8677. },
  8678. "pricetype": {
  8679. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8680. "type": "integer"
  8681. },
  8682. "qty": {
  8683. "description": "数量",
  8684. "type": "number"
  8685. },
  8686. "selluserid": {
  8687. "description": "销售方userid",
  8688. "type": "integer"
  8689. },
  8690. "sellusername": {
  8691. "description": "销售方名称",
  8692. "type": "string"
  8693. },
  8694. "spotcontractid": {
  8695. "description": "关联现货合同ID",
  8696. "type": "string"
  8697. },
  8698. "spotgoodsbrandid": {
  8699. "description": "现货品牌ID",
  8700. "type": "integer"
  8701. },
  8702. "spotgoodsmodelid": {
  8703. "description": "现货型号ID",
  8704. "type": "integer"
  8705. },
  8706. "unitid": {
  8707. "description": "单位id",
  8708. "type": "integer"
  8709. },
  8710. "userid": {
  8711. "description": "机构ID",
  8712. "type": "integer"
  8713. },
  8714. "warehousecode": {
  8715. "description": "仓库代码",
  8716. "type": "string"
  8717. },
  8718. "warehouseinfoid": {
  8719. "description": "现货仓库ID",
  8720. "type": "string"
  8721. },
  8722. "warehousename": {
  8723. "description": "仓库名称",
  8724. "type": "string"
  8725. },
  8726. "warehousetype": {
  8727. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8728. "type": "integer"
  8729. },
  8730. "wrstandardcode": {
  8731. "description": "现货商品代码",
  8732. "type": "string"
  8733. },
  8734. "wrstandardid": {
  8735. "description": "现货商品ID",
  8736. "type": "string"
  8737. },
  8738. "wrstandardname": {
  8739. "description": "现货商品名称",
  8740. "type": "string"
  8741. }
  8742. }
  8743. },
  8744. "ermcp.QryAvalidGPRsp": {
  8745. "type": "object",
  8746. "properties": {
  8747. "goodsgroupid": {
  8748. "description": "期货品种id",
  8749. "type": "integer"
  8750. },
  8751. "goodsgroupname": {
  8752. "description": "期货品种名称",
  8753. "type": "string"
  8754. },
  8755. "goodunitid": {
  8756. "description": "品种单位id",
  8757. "type": "integer"
  8758. },
  8759. "goodunitname": {
  8760. "description": "品种单位名称",
  8761. "type": "string"
  8762. },
  8763. "outergroupcode": {
  8764. "description": "期货品种代码",
  8765. "type": "string"
  8766. }
  8767. }
  8768. },
  8769. "ermcp.QryBusinessDjRsp": {
  8770. "type": "object",
  8771. "properties": {
  8772. "amount": {
  8773. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8774. "type": "number"
  8775. },
  8776. "applyid": {
  8777. "description": "申请人",
  8778. "type": "string"
  8779. },
  8780. "applyname": {
  8781. "description": "申请人名称",
  8782. "type": "string"
  8783. },
  8784. "applystatus": {
  8785. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8786. "type": "integer"
  8787. },
  8788. "applytime": {
  8789. "description": "申请时间",
  8790. "type": "string"
  8791. },
  8792. "attachurl": {
  8793. "description": "附件",
  8794. "type": "string"
  8795. },
  8796. "auditid": {
  8797. "description": "审核人ID",
  8798. "type": "string"
  8799. },
  8800. "auditname": {
  8801. "description": "审核人名称",
  8802. "type": "string"
  8803. },
  8804. "audittime": {
  8805. "description": "审核时间",
  8806. "type": "string"
  8807. },
  8808. "buyusername": {
  8809. "description": "采购方名称",
  8810. "type": "string"
  8811. },
  8812. "contractno": {
  8813. "description": "合同编号",
  8814. "type": "string"
  8815. },
  8816. "contractstatus": {
  8817. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8818. "type": "integer"
  8819. },
  8820. "contracttype": {
  8821. "description": "现货合同类型 - 1:采购 -1:销售",
  8822. "type": "integer"
  8823. },
  8824. "enumdicname": {
  8825. "description": "单位名称",
  8826. "type": "string"
  8827. },
  8828. "goodscode": {
  8829. "description": "点价合约",
  8830. "type": "string"
  8831. },
  8832. "goodsname": {
  8833. "description": "商品名称",
  8834. "type": "string"
  8835. },
  8836. "operateapplyid": {
  8837. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8838. "type": "string"
  8839. },
  8840. "operateapplytype": {
  8841. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8842. "type": "integer"
  8843. },
  8844. "pricedPrice": {
  8845. "description": "点价价格(非必填)",
  8846. "type": "number"
  8847. },
  8848. "pricedQty": {
  8849. "description": "点价数量(非必填)",
  8850. "type": "number"
  8851. },
  8852. "pricemove": {
  8853. "description": "升贴水",
  8854. "type": "number"
  8855. },
  8856. "pricetype": {
  8857. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8858. "type": "integer"
  8859. },
  8860. "relatedid": {
  8861. "description": "现货合同ID",
  8862. "type": "string"
  8863. },
  8864. "sellusername": {
  8865. "description": "销售方名字",
  8866. "type": "string"
  8867. },
  8868. "userid": {
  8869. "description": "用户ID",
  8870. "type": "integer"
  8871. },
  8872. "wrstandardcode": {
  8873. "description": "现货商品代码",
  8874. "type": "string"
  8875. },
  8876. "wrstandardid": {
  8877. "description": "现货商品id",
  8878. "type": "integer"
  8879. },
  8880. "wrstandardname": {
  8881. "description": "现货商品名称",
  8882. "type": "string"
  8883. }
  8884. }
  8885. },
  8886. "ermcp.QryBussinessFpRsp": {
  8887. "type": "object",
  8888. "properties": {
  8889. "applyid": {
  8890. "description": "申请人",
  8891. "type": "string"
  8892. },
  8893. "applyname": {
  8894. "description": "申请人名称",
  8895. "type": "string"
  8896. },
  8897. "applystatus": {
  8898. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8899. "type": "integer"
  8900. },
  8901. "applytime": {
  8902. "description": "申请时间",
  8903. "type": "string"
  8904. },
  8905. "attachurl": {
  8906. "description": "附件",
  8907. "type": "string"
  8908. },
  8909. "auditid": {
  8910. "description": "审核人ID",
  8911. "type": "string"
  8912. },
  8913. "auditname": {
  8914. "description": "审核人名称",
  8915. "type": "string"
  8916. },
  8917. "audittime": {
  8918. "description": "审核时间",
  8919. "type": "string"
  8920. },
  8921. "buyusername": {
  8922. "description": "采购方名称",
  8923. "type": "string"
  8924. },
  8925. "contractno": {
  8926. "description": "合同编号",
  8927. "type": "string"
  8928. },
  8929. "contractstatus": {
  8930. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8931. "type": "integer"
  8932. },
  8933. "contracttype": {
  8934. "description": "现货合同类型 - 1:采购 -1:销售",
  8935. "type": "integer"
  8936. },
  8937. "enumdicname": {
  8938. "description": "单位名称",
  8939. "type": "string"
  8940. },
  8941. "goodscode": {
  8942. "description": "点价合约",
  8943. "type": "string"
  8944. },
  8945. "goodsname": {
  8946. "description": "商品名称",
  8947. "type": "string"
  8948. },
  8949. "invoiceAmount": {
  8950. "description": "已开收票金额(销售为开票,采购为收票)",
  8951. "type": "number"
  8952. },
  8953. "operateapplyid": {
  8954. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8955. "type": "string"
  8956. },
  8957. "operateapplytype": {
  8958. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8959. "type": "integer"
  8960. },
  8961. "pricemove": {
  8962. "description": "升贴水",
  8963. "type": "number"
  8964. },
  8965. "pricetype": {
  8966. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8967. "type": "integer"
  8968. },
  8969. "relatedid": {
  8970. "description": "现货合同ID",
  8971. "type": "string"
  8972. },
  8973. "sellusername": {
  8974. "description": "销售方名字",
  8975. "type": "string"
  8976. },
  8977. "userid": {
  8978. "description": "用户ID",
  8979. "type": "integer"
  8980. },
  8981. "wrstandardcode": {
  8982. "description": "现货商品代码",
  8983. "type": "string"
  8984. },
  8985. "wrstandardid": {
  8986. "description": "现货商品id",
  8987. "type": "integer"
  8988. },
  8989. "wrstandardname": {
  8990. "description": "现货商品名称",
  8991. "type": "string"
  8992. }
  8993. }
  8994. },
  8995. "ermcp.QryBussinessJsExRsp": {
  8996. "type": "object",
  8997. "properties": {
  8998. "applyid": {
  8999. "description": "申请人",
  9000. "type": "string"
  9001. },
  9002. "applyname": {
  9003. "description": "申请人名称",
  9004. "type": "string"
  9005. },
  9006. "applystatus": {
  9007. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9008. "type": "integer"
  9009. },
  9010. "applytime": {
  9011. "description": "申请时间",
  9012. "type": "string"
  9013. },
  9014. "attachurl": {
  9015. "description": "附件",
  9016. "type": "string"
  9017. },
  9018. "auditid": {
  9019. "description": "审核人ID",
  9020. "type": "string"
  9021. },
  9022. "auditname": {
  9023. "description": "审核人名称",
  9024. "type": "string"
  9025. },
  9026. "audittime": {
  9027. "description": "审核时间",
  9028. "type": "string"
  9029. },
  9030. "buyusername": {
  9031. "description": "采购方名称",
  9032. "type": "string"
  9033. },
  9034. "contractno": {
  9035. "description": "合同编号",
  9036. "type": "string"
  9037. },
  9038. "contractstatus": {
  9039. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9040. "type": "integer"
  9041. },
  9042. "contracttype": {
  9043. "description": "现货合同类型 - 1:采购 -1:销售",
  9044. "type": "integer"
  9045. },
  9046. "enumdicname": {
  9047. "description": "单位名称",
  9048. "type": "string"
  9049. },
  9050. "goodscode": {
  9051. "description": "点价合约",
  9052. "type": "string"
  9053. },
  9054. "goodsname": {
  9055. "description": "商品名称",
  9056. "type": "string"
  9057. },
  9058. "operateapplyid": {
  9059. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9060. "type": "string"
  9061. },
  9062. "operateapplytype": {
  9063. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9064. "type": "integer"
  9065. },
  9066. "pricemove": {
  9067. "description": "升贴水",
  9068. "type": "number"
  9069. },
  9070. "pricetype": {
  9071. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9072. "type": "integer"
  9073. },
  9074. "reckontype": {
  9075. "description": "结算类型",
  9076. "type": "string"
  9077. },
  9078. "reckonvalue": {
  9079. "description": "值",
  9080. "type": "number"
  9081. },
  9082. "relatedid": {
  9083. "description": "现货合同ID",
  9084. "type": "string"
  9085. },
  9086. "sellusername": {
  9087. "description": "销售方名字",
  9088. "type": "string"
  9089. },
  9090. "userid": {
  9091. "description": "用户ID",
  9092. "type": "integer"
  9093. },
  9094. "wrstandardcode": {
  9095. "description": "现货商品代码",
  9096. "type": "string"
  9097. },
  9098. "wrstandardid": {
  9099. "description": "现货商品id",
  9100. "type": "integer"
  9101. },
  9102. "wrstandardname": {
  9103. "description": "现货商品名称",
  9104. "type": "string"
  9105. }
  9106. }
  9107. },
  9108. "ermcp.QryBussinessJsRsp": {
  9109. "type": "object",
  9110. "properties": {
  9111. "addmargin": {
  9112. "description": "追加保证金(非必填)",
  9113. "type": "number"
  9114. },
  9115. "applyid": {
  9116. "description": "申请人",
  9117. "type": "string"
  9118. },
  9119. "applyname": {
  9120. "description": "申请人名称",
  9121. "type": "string"
  9122. },
  9123. "applystatus": {
  9124. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9125. "type": "integer"
  9126. },
  9127. "applytime": {
  9128. "description": "申请时间",
  9129. "type": "string"
  9130. },
  9131. "attachurl": {
  9132. "description": "附件",
  9133. "type": "string"
  9134. },
  9135. "auditid": {
  9136. "description": "审核人ID",
  9137. "type": "string"
  9138. },
  9139. "auditname": {
  9140. "description": "审核人名称",
  9141. "type": "string"
  9142. },
  9143. "audittime": {
  9144. "description": "审核时间",
  9145. "type": "string"
  9146. },
  9147. "buyusername": {
  9148. "description": "采购方名称",
  9149. "type": "string"
  9150. },
  9151. "contractno": {
  9152. "description": "合同编号",
  9153. "type": "string"
  9154. },
  9155. "contractstatus": {
  9156. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9157. "type": "integer"
  9158. },
  9159. "contracttype": {
  9160. "description": "现货合同类型 - 1:采购 -1:销售",
  9161. "type": "integer"
  9162. },
  9163. "decmargin": {
  9164. "description": "减少保证金(非必填)",
  9165. "type": "number"
  9166. },
  9167. "enumdicname": {
  9168. "description": "单位名称",
  9169. "type": "string"
  9170. },
  9171. "goodscode": {
  9172. "description": "点价合约",
  9173. "type": "string"
  9174. },
  9175. "goodsname": {
  9176. "description": "商品名称",
  9177. "type": "string"
  9178. },
  9179. "operateapplyid": {
  9180. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9181. "type": "string"
  9182. },
  9183. "operateapplytype": {
  9184. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9185. "type": "integer"
  9186. },
  9187. "pricemove": {
  9188. "description": "升贴水",
  9189. "type": "number"
  9190. },
  9191. "pricetype": {
  9192. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9193. "type": "integer"
  9194. },
  9195. "reckonadjustamount": {
  9196. "description": "结算调整金额(非必填)",
  9197. "type": "number"
  9198. },
  9199. "reckonosamount": {
  9200. "description": "结算溢短金额(非必填)",
  9201. "type": "number"
  9202. },
  9203. "reckonotheramount": {
  9204. "description": "结算其他费用(非必填)",
  9205. "type": "number"
  9206. },
  9207. "reckonrealqty": {
  9208. "description": "结算实际数量(非必填)",
  9209. "type": "number"
  9210. },
  9211. "relatedid": {
  9212. "description": "现货合同ID",
  9213. "type": "string"
  9214. },
  9215. "sellusername": {
  9216. "description": "销售方名字",
  9217. "type": "string"
  9218. },
  9219. "userid": {
  9220. "description": "用户ID",
  9221. "type": "integer"
  9222. },
  9223. "wrstandardcode": {
  9224. "description": "现货商品代码",
  9225. "type": "string"
  9226. },
  9227. "wrstandardid": {
  9228. "description": "现货商品id",
  9229. "type": "integer"
  9230. },
  9231. "wrstandardname": {
  9232. "description": "现货商品名称",
  9233. "type": "string"
  9234. }
  9235. }
  9236. },
  9237. "ermcp.QryBussinessKxRsp": {
  9238. "type": "object",
  9239. "properties": {
  9240. "applyid": {
  9241. "description": "申请人",
  9242. "type": "string"
  9243. },
  9244. "applyname": {
  9245. "description": "申请人名称",
  9246. "type": "string"
  9247. },
  9248. "applystatus": {
  9249. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9250. "type": "integer"
  9251. },
  9252. "applytime": {
  9253. "description": "申请时间",
  9254. "type": "string"
  9255. },
  9256. "attachurl": {
  9257. "description": "附件",
  9258. "type": "string"
  9259. },
  9260. "auditid": {
  9261. "description": "审核人ID",
  9262. "type": "string"
  9263. },
  9264. "auditname": {
  9265. "description": "审核人名称",
  9266. "type": "string"
  9267. },
  9268. "audittime": {
  9269. "description": "审核时间",
  9270. "type": "string"
  9271. },
  9272. "buyusername": {
  9273. "description": "采购方名称",
  9274. "type": "string"
  9275. },
  9276. "contractno": {
  9277. "description": "合同编号",
  9278. "type": "string"
  9279. },
  9280. "contractstatus": {
  9281. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9282. "type": "integer"
  9283. },
  9284. "contracttype": {
  9285. "description": "现货合同类型 - 1:采购 -1:销售",
  9286. "type": "integer"
  9287. },
  9288. "deductamount": {
  9289. "description": "退款(非必填)",
  9290. "type": "number"
  9291. },
  9292. "enumdicname": {
  9293. "description": "单位名称",
  9294. "type": "string"
  9295. },
  9296. "goodscode": {
  9297. "description": "点价合约",
  9298. "type": "string"
  9299. },
  9300. "goodsname": {
  9301. "description": "商品名称",
  9302. "type": "string"
  9303. },
  9304. "kxtype": {
  9305. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9306. "type": "integer"
  9307. },
  9308. "operateapplyid": {
  9309. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9310. "type": "string"
  9311. },
  9312. "operateapplytype": {
  9313. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9314. "type": "integer"
  9315. },
  9316. "payamount": {
  9317. "description": "收付款(非必填)",
  9318. "type": "number"
  9319. },
  9320. "pricemove": {
  9321. "description": "升贴水",
  9322. "type": "number"
  9323. },
  9324. "pricetype": {
  9325. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9326. "type": "integer"
  9327. },
  9328. "relatedid": {
  9329. "description": "现货合同ID",
  9330. "type": "string"
  9331. },
  9332. "sellusername": {
  9333. "description": "销售方名字",
  9334. "type": "string"
  9335. },
  9336. "userid": {
  9337. "description": "用户ID",
  9338. "type": "integer"
  9339. },
  9340. "wrstandardcode": {
  9341. "description": "现货商品代码",
  9342. "type": "string"
  9343. },
  9344. "wrstandardid": {
  9345. "description": "现货商品id",
  9346. "type": "integer"
  9347. },
  9348. "wrstandardname": {
  9349. "description": "现货商品名称",
  9350. "type": "string"
  9351. }
  9352. }
  9353. },
  9354. "ermcp.QryErmcpRsp": {
  9355. "type": "object",
  9356. "properties": {
  9357. "accountname": {
  9358. "description": "账户名称",
  9359. "type": "string"
  9360. },
  9361. "attachment": {
  9362. "description": "附件",
  9363. "type": "string"
  9364. },
  9365. "audittime": {
  9366. "description": "审核时间",
  9367. "type": "string"
  9368. },
  9369. "brandname": {
  9370. "description": "品牌名称",
  9371. "type": "string"
  9372. },
  9373. "contracctstatus": {
  9374. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9375. "type": "integer"
  9376. },
  9377. "contractmargin": {
  9378. "description": "合同保证金",
  9379. "type": "number"
  9380. },
  9381. "contractno": {
  9382. "description": "合同编号",
  9383. "type": "string"
  9384. },
  9385. "contracttype": {
  9386. "description": "合同类型 1-采购, -1-销售",
  9387. "type": "integer"
  9388. },
  9389. "convertfactor": {
  9390. "description": "标仓系数",
  9391. "type": "number"
  9392. },
  9393. "createtime": {
  9394. "description": "创建时间",
  9395. "type": "string"
  9396. },
  9397. "daikaiamount": {
  9398. "description": "待开票额",
  9399. "type": "number"
  9400. },
  9401. "deliveryenddate": {
  9402. "description": "交割结束日",
  9403. "type": "string"
  9404. },
  9405. "deliverygoodscode": {
  9406. "description": "现货品种代码",
  9407. "type": "string"
  9408. },
  9409. "deliverygoodsid": {
  9410. "description": "现货商品ID",
  9411. "type": "integer"
  9412. },
  9413. "deliverygoodsname": {
  9414. "description": "现货品种名称",
  9415. "type": "string"
  9416. },
  9417. "deliverystartdate": {
  9418. "description": "交割开始日",
  9419. "type": "string"
  9420. },
  9421. "enddate": {
  9422. "description": "点价结束日",
  9423. "type": "string"
  9424. },
  9425. "enumdicname": {
  9426. "description": "单位名称",
  9427. "type": "string"
  9428. },
  9429. "goodscode": {
  9430. "description": "点价商品代码",
  9431. "type": "string"
  9432. },
  9433. "goodsid": {
  9434. "description": "点价商品ID",
  9435. "type": "integer"
  9436. },
  9437. "goodsname": {
  9438. "description": "点价商品名称",
  9439. "type": "string"
  9440. },
  9441. "invoiceamount": {
  9442. "description": "已开票额",
  9443. "type": "number"
  9444. },
  9445. "loanamount": {
  9446. "description": "贷款总额=已定价额+调整金额",
  9447. "type": "number"
  9448. },
  9449. "margin": {
  9450. "description": "保证金",
  9451. "type": "number"
  9452. },
  9453. "modelname": {
  9454. "description": "型号名称",
  9455. "type": "string"
  9456. },
  9457. "payamount": {
  9458. "description": "已收付额(收款或付款)",
  9459. "type": "number"
  9460. },
  9461. "price": {
  9462. "description": "价格",
  9463. "type": "number"
  9464. },
  9465. "pricedamount": {
  9466. "description": "已定价额",
  9467. "type": "number"
  9468. },
  9469. "pricedavg": {
  9470. "description": "已点均价",
  9471. "type": "number"
  9472. },
  9473. "pricedqty": {
  9474. "description": "已定价量",
  9475. "type": "number"
  9476. },
  9477. "pricemove": {
  9478. "description": "升贴水",
  9479. "type": "number"
  9480. },
  9481. "pricetype": {
  9482. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9483. "type": "integer"
  9484. },
  9485. "producttype": {
  9486. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9487. "type": "integer"
  9488. },
  9489. "qty": {
  9490. "description": "合同量",
  9491. "type": "number"
  9492. },
  9493. "reckonadjustamount": {
  9494. "description": "调整金额",
  9495. "type": "number"
  9496. },
  9497. "reckonedamount": {
  9498. "description": "已收付额(已确定额)",
  9499. "type": "number"
  9500. },
  9501. "reckonotheramount": {
  9502. "description": "其它费用",
  9503. "type": "number"
  9504. },
  9505. "reckonrealqty": {
  9506. "description": "已确定量",
  9507. "type": "number"
  9508. },
  9509. "remark": {
  9510. "description": "备注",
  9511. "type": "string"
  9512. },
  9513. "spotcontractid": {
  9514. "description": "合同ID",
  9515. "type": "string"
  9516. },
  9517. "spotgoodsbrandid": {
  9518. "description": "现货品牌ID",
  9519. "type": "integer"
  9520. },
  9521. "spotgoodsdesc": {
  9522. "description": "商品型号(商品规格)",
  9523. "type": "string"
  9524. },
  9525. "spotgoodsmodelid": {
  9526. "description": "现货型号ID",
  9527. "type": "integer"
  9528. },
  9529. "startdate": {
  9530. "description": "点价开始日",
  9531. "type": "string"
  9532. },
  9533. "totalamount": {
  9534. "description": "合计总额",
  9535. "type": "number"
  9536. },
  9537. "unpayamount": {
  9538. "description": "待支收额(支付或收款)",
  9539. "type": "number"
  9540. },
  9541. "unpricedqty": {
  9542. "description": "未定价量",
  9543. "type": "number"
  9544. },
  9545. "unsureqty": {
  9546. "description": "未确定量",
  9547. "type": "number"
  9548. },
  9549. "userid": {
  9550. "description": "用户ID",
  9551. "type": "integer"
  9552. },
  9553. "wrstandardcode": {
  9554. "description": "现货商品代码",
  9555. "type": "string"
  9556. },
  9557. "wrstandardid": {
  9558. "description": "现货商品ID",
  9559. "type": "integer"
  9560. },
  9561. "wrstandardname": {
  9562. "description": "现货商品名称",
  9563. "type": "string"
  9564. }
  9565. }
  9566. },
  9567. "ermcp.QryGGCovertCfgRsp": {
  9568. "type": "object",
  9569. "properties": {
  9570. "convertratio": {
  9571. "description": "折算系数",
  9572. "type": "number"
  9573. },
  9574. "destgoodsgroupid": {
  9575. "description": "目标品种ID",
  9576. "type": "integer"
  9577. },
  9578. "dstcode": {
  9579. "description": "目录品种代码",
  9580. "type": "string"
  9581. },
  9582. "dstexchangecode": {
  9583. "description": "目标期货交易所",
  9584. "type": "string"
  9585. },
  9586. "dstname": {
  9587. "description": "目标品种名称",
  9588. "type": "string"
  9589. },
  9590. "dstunitid": {
  9591. "description": "目标品种单位ID",
  9592. "type": "integer"
  9593. },
  9594. "dstunitidname": {
  9595. "description": "目标品种单位名称",
  9596. "type": "string"
  9597. },
  9598. "modifytime": {
  9599. "description": "修改时间",
  9600. "type": "string"
  9601. },
  9602. "srccode": {
  9603. "description": "源品种代码",
  9604. "type": "string"
  9605. },
  9606. "srcexchangecode": {
  9607. "description": "源期货交易所",
  9608. "type": "string"
  9609. },
  9610. "srcgoodsgroupid": {
  9611. "description": "源品种ID",
  9612. "type": "integer"
  9613. },
  9614. "srcname": {
  9615. "description": "源品种名称",
  9616. "type": "string"
  9617. },
  9618. "srcunitid": {
  9619. "description": "源品种单位ID",
  9620. "type": "integer"
  9621. },
  9622. "srcunitidname": {
  9623. "description": "源品种单位名称",
  9624. "type": "string"
  9625. }
  9626. }
  9627. },
  9628. "ermcp.QryHedgePlanRsp": {
  9629. "type": "object",
  9630. "properties": {
  9631. "areauserid": {
  9632. "description": "用户ID",
  9633. "type": "integer"
  9634. },
  9635. "audittime": {
  9636. "description": "审核时间",
  9637. "type": "string"
  9638. },
  9639. "contracttype": {
  9640. "description": "计划类型 - 1:采购 -1:销售",
  9641. "type": "integer"
  9642. },
  9643. "convertfactor": {
  9644. "description": "标仓系数",
  9645. "type": "number"
  9646. },
  9647. "createtime": {
  9648. "description": "创建时间",
  9649. "type": "string"
  9650. },
  9651. "deliverygoodsid": {
  9652. "description": "现货品种ID",
  9653. "type": "integer"
  9654. },
  9655. "deliverygoodsname": {
  9656. "description": "现货品种名称",
  9657. "type": "string"
  9658. },
  9659. "enumdicname": {
  9660. "description": "单位名称",
  9661. "type": "string"
  9662. },
  9663. "hedgeplanid": {
  9664. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9665. "type": "string"
  9666. },
  9667. "hedgeplanno": {
  9668. "description": "套保计划编号(名称)",
  9669. "type": "string"
  9670. },
  9671. "hedgeplanstatus": {
  9672. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9673. "type": "integer"
  9674. },
  9675. "planqty": {
  9676. "description": "计划数量",
  9677. "type": "number"
  9678. },
  9679. "plantime": {
  9680. "description": "计划时间",
  9681. "type": "string"
  9682. },
  9683. "producttype": {
  9684. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9685. "type": "integer"
  9686. },
  9687. "remark": {
  9688. "description": "备注",
  9689. "type": "string"
  9690. },
  9691. "spotgoodsdesc": {
  9692. "description": "商品型号",
  9693. "type": "string"
  9694. },
  9695. "unitid": {
  9696. "description": "单位id",
  9697. "type": "integer"
  9698. },
  9699. "updatetime": {
  9700. "description": "更新时间",
  9701. "type": "string"
  9702. },
  9703. "wrstandardid": {
  9704. "description": "现货商品ID",
  9705. "type": "integer"
  9706. },
  9707. "wrstandardname": {
  9708. "description": "现货商品名称",
  9709. "type": "string"
  9710. }
  9711. }
  9712. },
  9713. "ermcp.QryMGChangeLogRsp": {
  9714. "type": "object",
  9715. "properties": {
  9716. "aftervalue": {
  9717. "description": "变更后",
  9718. "type": "number"
  9719. },
  9720. "applyid": {
  9721. "description": "操作人",
  9722. "type": "integer"
  9723. },
  9724. "applyname": {
  9725. "description": "操作人名称",
  9726. "type": "string"
  9727. },
  9728. "applysrc": {
  9729. "description": "操作来源 - 1:管理端 2:终端",
  9730. "type": "integer"
  9731. },
  9732. "beforevalue": {
  9733. "description": "变更前",
  9734. "type": "number"
  9735. },
  9736. "changelogtype": {
  9737. "description": "变更流水类型 - 1:套保比率变更",
  9738. "type": "integer"
  9739. },
  9740. "handlestatus": {
  9741. "description": "处理状态",
  9742. "type": "integer"
  9743. },
  9744. "logdatetime": {
  9745. "description": "流水日期",
  9746. "type": "string"
  9747. },
  9748. "logid": {
  9749. "description": "流水ID",
  9750. "type": "integer"
  9751. },
  9752. "logremark": {
  9753. "description": "流水备注",
  9754. "type": "string"
  9755. },
  9756. "middlegoodsid": {
  9757. "description": "套保品种ID",
  9758. "type": "integer"
  9759. },
  9760. "tradedate": {
  9761. "description": "交易日(yyyyMMdd)",
  9762. "type": "string"
  9763. },
  9764. "updatetime": {
  9765. "description": "更新时间",
  9766. "type": "string"
  9767. }
  9768. }
  9769. },
  9770. "ermcp.QryMiddleGoodsDetailRsp": {
  9771. "type": "object",
  9772. "properties": {
  9773. "cvList": {
  9774. "description": "期货品种折算列表",
  9775. "type": "array",
  9776. "items": {
  9777. "$ref": "#/definitions/models.GoodsGroupConvert"
  9778. }
  9779. },
  9780. "mg": {
  9781. "description": "套保品种基本信息",
  9782. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9783. }
  9784. }
  9785. },
  9786. "ermcp.QryMiddleGoodsRsp": {
  9787. "type": "object",
  9788. "properties": {
  9789. "areauserid": {
  9790. "description": "机构用户ID",
  9791. "type": "integer"
  9792. },
  9793. "createtime": {
  9794. "description": "修改时间",
  9795. "type": "string"
  9796. },
  9797. "enumdicname": {
  9798. "description": "单位名称",
  9799. "type": "string"
  9800. },
  9801. "evaluateratio": {
  9802. "description": "估价系数",
  9803. "type": "number"
  9804. },
  9805. "goodsgroupid": {
  9806. "description": "关联期货品种ID",
  9807. "type": "integer"
  9808. },
  9809. "isvalid": {
  9810. "description": "状态 0-无效(停用) 1-有效(正常)",
  9811. "type": "integer"
  9812. },
  9813. "middlegoodscode": {
  9814. "description": "套保品种代码",
  9815. "type": "string"
  9816. },
  9817. "middlegoodsid": {
  9818. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9819. "type": "integer"
  9820. },
  9821. "middlegoodsname": {
  9822. "description": "套保品种名称",
  9823. "type": "string"
  9824. },
  9825. "modifytime": {
  9826. "description": "修改时间",
  9827. "type": "string"
  9828. },
  9829. "needhedgeratio": {
  9830. "description": "套保比率",
  9831. "type": "number"
  9832. },
  9833. "qtydecimalplace": {
  9834. "description": "数量小数位",
  9835. "type": "integer"
  9836. },
  9837. "relatedgoodsid": {
  9838. "description": "关联交易商品ID",
  9839. "type": "integer"
  9840. },
  9841. "relatedgoodstype": {
  9842. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9843. "type": "integer"
  9844. },
  9845. "remark": {
  9846. "description": "备注",
  9847. "type": "string"
  9848. }
  9849. }
  9850. },
  9851. "ermcp.QryOPLogRsp": {
  9852. "type": "object",
  9853. "properties": {
  9854. "aftervalue": {
  9855. "description": "变更后",
  9856. "type": "number"
  9857. },
  9858. "applyid": {
  9859. "description": "操作人ID",
  9860. "type": "string"
  9861. },
  9862. "applyname": {
  9863. "description": "操作人名称",
  9864. "type": "string"
  9865. },
  9866. "beforevalue": {
  9867. "description": "变更前",
  9868. "type": "number"
  9869. },
  9870. "biztype": {
  9871. "description": "业务类型 - 1:套保计划 2:现货合同",
  9872. "type": "integer"
  9873. },
  9874. "contracttype": {
  9875. "description": "现货合同类型 - 1:采购 -1:销售",
  9876. "type": "integer"
  9877. },
  9878. "logvalue": {
  9879. "description": "数值",
  9880. "type": "number"
  9881. },
  9882. "operatelogtype": {
  9883. "description": "操作流水类型",
  9884. "type": "integer"
  9885. },
  9886. "operatelogtypedesc": {
  9887. "description": "操作流水类型名称",
  9888. "type": "string"
  9889. },
  9890. "relatedid": {
  9891. "description": "现货合同ID\\套保计划",
  9892. "type": "string"
  9893. },
  9894. "updatetime": {
  9895. "description": "更新时间",
  9896. "type": "string"
  9897. }
  9898. }
  9899. },
  9900. "ermcp.QryReportDaySpotDetailRsp": {
  9901. "type": "object",
  9902. "properties": {
  9903. "applyid": {
  9904. "description": "操作人",
  9905. "type": "integer"
  9906. },
  9907. "applyname": {
  9908. "description": "操作人名称",
  9909. "type": "string"
  9910. },
  9911. "biztype": {
  9912. "description": "业务类型 - 1:套保计划 2:现货合同",
  9913. "type": "integer"
  9914. },
  9915. "brandname": {
  9916. "description": "品牌名称",
  9917. "type": "string"
  9918. },
  9919. "contracttype": {
  9920. "description": "现货合同类型 - 1:采购 -1:销售",
  9921. "type": "integer"
  9922. },
  9923. "enumdicName": {
  9924. "description": "单位名称",
  9925. "type": "string"
  9926. },
  9927. "logdatetime": {
  9928. "description": "流水日期(时间)",
  9929. "type": "string"
  9930. },
  9931. "logid": {
  9932. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9933. "type": "string"
  9934. },
  9935. "logtypename": {
  9936. "description": "合同类型(名称)",
  9937. "type": "string"
  9938. },
  9939. "logvalue": {
  9940. "description": "数值",
  9941. "type": "string"
  9942. },
  9943. "modelname": {
  9944. "description": "型号名称",
  9945. "type": "string"
  9946. },
  9947. "operatelogtype": {
  9948. "description": "操作流水类型 -",
  9949. "type": "integer"
  9950. },
  9951. "optypename": {
  9952. "description": "流水类型名称",
  9953. "type": "string"
  9954. },
  9955. "relatedid": {
  9956. "description": "现货合同ID\\套保计划",
  9957. "type": "string"
  9958. },
  9959. "relatedno": {
  9960. "description": "合同编号",
  9961. "type": "string"
  9962. },
  9963. "tradedate": {
  9964. "description": "交易日(yyyyMMdd)",
  9965. "type": "string"
  9966. },
  9967. "userid": {
  9968. "description": "机构ID",
  9969. "type": "integer"
  9970. },
  9971. "wrstandardcode": {
  9972. "description": "现货商品代码",
  9973. "type": "string"
  9974. },
  9975. "wrstandardid": {
  9976. "description": "现货商品ID",
  9977. "type": "integer"
  9978. },
  9979. "wrstandardname": {
  9980. "description": "现货商品名称",
  9981. "type": "string"
  9982. }
  9983. }
  9984. },
  9985. "ermcp.QryReportExposureDayRsp": {
  9986. "type": "object",
  9987. "properties": {
  9988. "areauserid": {
  9989. "description": "所属机构",
  9990. "type": "integer"
  9991. },
  9992. "buyfutureqty": {
  9993. "description": "买入期货数量",
  9994. "type": "number"
  9995. },
  9996. "buyplanqty": {
  9997. "description": "采购计划数量",
  9998. "type": "number"
  9999. },
  10000. "buypricedqty": {
  10001. "description": "采购合同已定价数量",
  10002. "type": "number"
  10003. },
  10004. "diffFutuQty": {
  10005. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10006. "type": "number"
  10007. },
  10008. "diffSpotQty": {
  10009. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10010. "type": "number"
  10011. },
  10012. "enumdicname": {
  10013. "description": "单位名称",
  10014. "type": "string"
  10015. },
  10016. "middlegoodscode": {
  10017. "description": "套保品种代码",
  10018. "type": "string"
  10019. },
  10020. "middlegoodshedgeratio": {
  10021. "description": "应套保比例",
  10022. "type": "number"
  10023. },
  10024. "middlegoodsid": {
  10025. "description": "套保品种ID",
  10026. "type": "integer"
  10027. },
  10028. "middlegoodsname": {
  10029. "description": "套保品种名称",
  10030. "type": "string"
  10031. },
  10032. "needhedgeexposoure": {
  10033. "description": "应套保敞口",
  10034. "type": "number"
  10035. },
  10036. "needhedgeratio": {
  10037. "description": "应套保敞口比例",
  10038. "type": "number"
  10039. },
  10040. "oriTotalFutuQty": {
  10041. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10042. "type": "number"
  10043. },
  10044. "oriTotalSpotQty": {
  10045. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10046. "type": "number"
  10047. },
  10048. "oribuyfutureqty": {
  10049. "description": "期初买入期货数量",
  10050. "type": "number"
  10051. },
  10052. "oribuyplanqty": {
  10053. "description": "期初采购计划数量",
  10054. "type": "number"
  10055. },
  10056. "oribuypricedqty": {
  10057. "description": "期初采购合同已定价数量",
  10058. "type": "number"
  10059. },
  10060. "orisellfutureqty": {
  10061. "description": "期初卖出期货数量",
  10062. "type": "number"
  10063. },
  10064. "orisellplanqty": {
  10065. "description": "期初销售计划数量",
  10066. "type": "number"
  10067. },
  10068. "orisellpricedqty": {
  10069. "description": "期初销售合同已定价数量",
  10070. "type": "number"
  10071. },
  10072. "reckondate": {
  10073. "description": "日照时期(yyyyMMdd)",
  10074. "type": "string"
  10075. },
  10076. "sellfutureqty": {
  10077. "description": "卖出期货数量",
  10078. "type": "number"
  10079. },
  10080. "sellplanqty": {
  10081. "description": "销售计划数量",
  10082. "type": "number"
  10083. },
  10084. "sellpricedqty": {
  10085. "description": "销售合同已定价数量",
  10086. "type": "number"
  10087. },
  10088. "totalexposure": {
  10089. "description": "总敞口",
  10090. "type": "number"
  10091. },
  10092. "totalfutureqty": {
  10093. "description": "期货数量",
  10094. "type": "number"
  10095. },
  10096. "totalhedgeratio": {
  10097. "description": "敞口比例",
  10098. "type": "number"
  10099. },
  10100. "totalneedhedgeqty": {
  10101. "description": "期货应套保量",
  10102. "type": "number"
  10103. },
  10104. "totalspotqty": {
  10105. "description": "现货数量",
  10106. "type": "number"
  10107. }
  10108. }
  10109. },
  10110. "ermcp.QryReportFinanceDayRsp": {
  10111. "type": "object",
  10112. "properties": {
  10113. "areauserid": {
  10114. "description": "所属机构",
  10115. "type": "integer"
  10116. },
  10117. "collectinvoiceamount": {
  10118. "description": "今日开票金额",
  10119. "type": "number"
  10120. },
  10121. "collectinvoicecount": {
  10122. "description": "今日开票笔数",
  10123. "type": "integer"
  10124. },
  10125. "collectmoneyamount": {
  10126. "description": "今日收款金额",
  10127. "type": "number"
  10128. },
  10129. "collectmoneycount": {
  10130. "description": "今日收款笔数",
  10131. "type": "integer"
  10132. },
  10133. "payinvoiceamount": {
  10134. "description": "今日收票金额",
  10135. "type": "number"
  10136. },
  10137. "payinvoicecount": {
  10138. "description": "今日收票笔数",
  10139. "type": "integer"
  10140. },
  10141. "paymoneyamount": {
  10142. "description": "今日付款金额",
  10143. "type": "number"
  10144. },
  10145. "paymoneycount": {
  10146. "description": "今日付款笔数",
  10147. "type": "integer"
  10148. },
  10149. "reckondate": {
  10150. "description": "日照时期(yyyyMMdd)",
  10151. "type": "string"
  10152. },
  10153. "updatetime": {
  10154. "description": "更新时间",
  10155. "type": "string"
  10156. }
  10157. }
  10158. },
  10159. "ermcp.QryReportFinanceKxRsp": {
  10160. "type": "object",
  10161. "properties": {
  10162. "applyid": {
  10163. "description": "操作人",
  10164. "type": "integer"
  10165. },
  10166. "applyname": {
  10167. "description": "操作人名称",
  10168. "type": "string"
  10169. },
  10170. "biztype": {
  10171. "description": "业务类型 - 1:套保计划 2:现货合同",
  10172. "type": "integer"
  10173. },
  10174. "brandname": {
  10175. "description": "品牌名称",
  10176. "type": "string"
  10177. },
  10178. "contracttype": {
  10179. "description": "现货合同类型 - 1:采购 -1:销售",
  10180. "type": "integer"
  10181. },
  10182. "enumdicName": {
  10183. "description": "单位名称",
  10184. "type": "string"
  10185. },
  10186. "logdatetime": {
  10187. "description": "流水日期(时间)",
  10188. "type": "string"
  10189. },
  10190. "logid": {
  10191. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10192. "type": "string"
  10193. },
  10194. "logtypename": {
  10195. "description": "合同类型(名称)",
  10196. "type": "string"
  10197. },
  10198. "logvalue": {
  10199. "description": "数值",
  10200. "type": "string"
  10201. },
  10202. "modelname": {
  10203. "description": "型号名称",
  10204. "type": "string"
  10205. },
  10206. "operatelogtype": {
  10207. "description": "操作流水类型 -",
  10208. "type": "integer"
  10209. },
  10210. "optypename": {
  10211. "description": "流水类型名称",
  10212. "type": "string"
  10213. },
  10214. "relatedid": {
  10215. "description": "现货合同ID\\套保计划",
  10216. "type": "string"
  10217. },
  10218. "relatedno": {
  10219. "description": "合同编号",
  10220. "type": "string"
  10221. },
  10222. "tradedate": {
  10223. "description": "交易日(yyyyMMdd)",
  10224. "type": "string"
  10225. },
  10226. "userid": {
  10227. "description": "机构ID",
  10228. "type": "integer"
  10229. },
  10230. "wrstandardcode": {
  10231. "description": "现货商品代码",
  10232. "type": "string"
  10233. },
  10234. "wrstandardid": {
  10235. "description": "现货商品ID",
  10236. "type": "integer"
  10237. },
  10238. "wrstandardname": {
  10239. "description": "现货商品名称",
  10240. "type": "string"
  10241. }
  10242. }
  10243. },
  10244. "ermcp.QryReportFinanceMonRsp": {
  10245. "type": "object",
  10246. "properties": {
  10247. "areauserid": {
  10248. "description": "所属机构【原值】",
  10249. "type": "integer"
  10250. },
  10251. "collectinvoiceamount": {
  10252. "description": "今日开票金额【汇总】",
  10253. "type": "number"
  10254. },
  10255. "collectinvoicecount": {
  10256. "description": "今日开票笔数【汇总】",
  10257. "type": "integer"
  10258. },
  10259. "collectmoneyamount": {
  10260. "description": "今日收款金额【汇总】",
  10261. "type": "number"
  10262. },
  10263. "collectmoneycount": {
  10264. "description": "今日收款笔数 【汇总】",
  10265. "type": "integer"
  10266. },
  10267. "cycletime": {
  10268. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10269. "type": "string"
  10270. },
  10271. "cycletype": {
  10272. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10273. "type": "integer"
  10274. },
  10275. "dayFr": {
  10276. "description": "日报表明细",
  10277. "type": "array",
  10278. "items": {
  10279. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10280. }
  10281. },
  10282. "payinvoiceamount": {
  10283. "description": "今日收票金额【汇总】",
  10284. "type": "number"
  10285. },
  10286. "payinvoicecount": {
  10287. "description": "今日收票笔数【汇总】",
  10288. "type": "integer"
  10289. },
  10290. "paymoneyamount": {
  10291. "description": "今日付款金额【汇总】",
  10292. "type": "number"
  10293. },
  10294. "paymoneycount": {
  10295. "description": "今日付款笔数【汇总】",
  10296. "type": "integer"
  10297. },
  10298. "updatetime": {
  10299. "description": "更新时间",
  10300. "type": "string"
  10301. }
  10302. }
  10303. },
  10304. "ermcp.QryReportSpotDayRsp": {
  10305. "type": "object",
  10306. "properties": {
  10307. "areauserid": {
  10308. "description": "所属机构T",
  10309. "type": "integer"
  10310. },
  10311. "buyinqty": {
  10312. "description": "采购入库量",
  10313. "type": "number"
  10314. },
  10315. "enumdicname": {
  10316. "description": "现货商品单位名称",
  10317. "type": "string"
  10318. },
  10319. "reckondate": {
  10320. "description": "日照时期(yyyyMMdd)",
  10321. "type": "string"
  10322. },
  10323. "selloutqty": {
  10324. "description": "销售出库量",
  10325. "type": "number"
  10326. },
  10327. "todaybuyreckonqty": {
  10328. "description": "采购确定量",
  10329. "type": "number"
  10330. },
  10331. "todaysellreckonqty": {
  10332. "description": "销售确定量",
  10333. "type": "number"
  10334. },
  10335. "totalbuypricedqty": {
  10336. "description": "采购定价量 = 期末 - 期初",
  10337. "type": "number"
  10338. },
  10339. "totalsellpricedqty": {
  10340. "description": "销售定价量 = 期末 - 期初",
  10341. "type": "number"
  10342. },
  10343. "wrstandardcode": {
  10344. "description": "现货商品代码",
  10345. "type": "string"
  10346. },
  10347. "wrstandardid": {
  10348. "description": "现货商品ID",
  10349. "type": "integer"
  10350. },
  10351. "wrstandardname": {
  10352. "description": "现货商品名称",
  10353. "type": "string"
  10354. }
  10355. }
  10356. },
  10357. "ermcp.QryReportSpotMonRsp": {
  10358. "type": "object",
  10359. "properties": {
  10360. "areauserid": {
  10361. "description": "所属机构T",
  10362. "type": "integer"
  10363. },
  10364. "buyinqty": {
  10365. "description": "采购入库量",
  10366. "type": "number"
  10367. },
  10368. "cycletime": {
  10369. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10370. "type": "string"
  10371. },
  10372. "cycletype": {
  10373. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10374. "type": "integer"
  10375. },
  10376. "enumdicname": {
  10377. "description": "现货商品单位名称",
  10378. "type": "string"
  10379. },
  10380. "selloutqty": {
  10381. "description": "销售出库量",
  10382. "type": "number"
  10383. },
  10384. "todaybuyreckonqty": {
  10385. "description": "采购确定量",
  10386. "type": "number"
  10387. },
  10388. "todaysellreckonqty": {
  10389. "description": "销售确定量",
  10390. "type": "number"
  10391. },
  10392. "totalbuypricedqty": {
  10393. "description": "采购定价量 = 期末 - 期初",
  10394. "type": "number"
  10395. },
  10396. "totalsellpricedqty": {
  10397. "description": "销售定价量 = 期末 - 期初",
  10398. "type": "number"
  10399. },
  10400. "wrstandardcode": {
  10401. "description": "现货商品代码",
  10402. "type": "string"
  10403. },
  10404. "wrstandardid": {
  10405. "description": "现货商品ID",
  10406. "type": "integer"
  10407. },
  10408. "wrstandardname": {
  10409. "description": "现货商品名称",
  10410. "type": "string"
  10411. }
  10412. }
  10413. },
  10414. "ermcp.QryReportSpotMonthDetailRsp": {
  10415. "type": "object",
  10416. "properties": {
  10417. "areauserid": {
  10418. "description": "所属机构T",
  10419. "type": "integer"
  10420. },
  10421. "buyinqty": {
  10422. "description": "采购入库量",
  10423. "type": "number"
  10424. },
  10425. "enumdicname": {
  10426. "description": "现货商品单位名称",
  10427. "type": "string"
  10428. },
  10429. "reckondate": {
  10430. "description": "日照时期(yyyyMMdd)",
  10431. "type": "string"
  10432. },
  10433. "selloutqty": {
  10434. "description": "销售出库量",
  10435. "type": "number"
  10436. },
  10437. "todaybuyreckonqty": {
  10438. "description": "采购确定量",
  10439. "type": "number"
  10440. },
  10441. "todaysellreckonqty": {
  10442. "description": "销售确定量",
  10443. "type": "number"
  10444. },
  10445. "totalbuypricedqty": {
  10446. "description": "采购定价量 = 期末 - 期初",
  10447. "type": "number"
  10448. },
  10449. "totalsellpricedqty": {
  10450. "description": "销售定价量 = 期末 - 期初",
  10451. "type": "number"
  10452. },
  10453. "wrstandardcode": {
  10454. "description": "现货商品代码",
  10455. "type": "string"
  10456. },
  10457. "wrstandardid": {
  10458. "description": "现货商品ID",
  10459. "type": "integer"
  10460. },
  10461. "wrstandardname": {
  10462. "description": "现货商品名称",
  10463. "type": "string"
  10464. }
  10465. }
  10466. },
  10467. "ermcp.QrySpotContractRsp": {
  10468. "type": "object",
  10469. "properties": {
  10470. "amount": {
  10471. "description": "金额 [1:一口价、3:暂定价]",
  10472. "type": "number"
  10473. },
  10474. "attachment": {
  10475. "description": "附件",
  10476. "type": "string"
  10477. },
  10478. "auditremark": {
  10479. "description": "审核意见",
  10480. "type": "string"
  10481. },
  10482. "audittime": {
  10483. "description": "审核时间",
  10484. "type": "string"
  10485. },
  10486. "brandname": {
  10487. "description": "品牌名称",
  10488. "type": "string"
  10489. },
  10490. "buyuserid": {
  10491. "description": "采购方ID",
  10492. "type": "integer"
  10493. },
  10494. "buyusername": {
  10495. "description": "采购方名称",
  10496. "type": "string"
  10497. },
  10498. "contracctstatus": {
  10499. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10500. "type": "integer"
  10501. },
  10502. "contractmargin": {
  10503. "description": "合同保证金",
  10504. "type": "number"
  10505. },
  10506. "contractno": {
  10507. "description": "现货合同编号",
  10508. "type": "string"
  10509. },
  10510. "contracttype": {
  10511. "description": "现货合同类型 - 1:采购 -1:销售",
  10512. "type": "integer"
  10513. },
  10514. "convertfactor": {
  10515. "description": "标仓系数",
  10516. "type": "number"
  10517. },
  10518. "createtime": {
  10519. "description": "创建时间",
  10520. "type": "string"
  10521. },
  10522. "deliveryenddate": {
  10523. "description": "交收期(结束)",
  10524. "type": "string"
  10525. },
  10526. "deliverygoodscode": {
  10527. "description": "现货品种代码",
  10528. "type": "string"
  10529. },
  10530. "deliverygoodsid": {
  10531. "description": "现货品种ID",
  10532. "type": "integer"
  10533. },
  10534. "deliverygoodsname": {
  10535. "description": "现货品种名称",
  10536. "type": "string"
  10537. },
  10538. "deliverystartdate": {
  10539. "description": "交收期(开始)",
  10540. "type": "string"
  10541. },
  10542. "enddate": {
  10543. "description": "点价结束日期 [2:点价 3:暂定价]",
  10544. "type": "string"
  10545. },
  10546. "enumdicname": {
  10547. "description": "单位名称",
  10548. "type": "string"
  10549. },
  10550. "goodscode": {
  10551. "description": "点价合约代码",
  10552. "type": "string"
  10553. },
  10554. "goodsid": {
  10555. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10556. "type": "integer"
  10557. },
  10558. "goodsname": {
  10559. "description": "点价商品名称",
  10560. "type": "string"
  10561. },
  10562. "margin": {
  10563. "description": "当前保证金",
  10564. "type": "number"
  10565. },
  10566. "modelname": {
  10567. "description": "型号名称",
  10568. "type": "string"
  10569. },
  10570. "price": {
  10571. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10572. "type": "number"
  10573. },
  10574. "pricemove": {
  10575. "description": "升贴水 [2:点价 3:暂定价]",
  10576. "type": "number"
  10577. },
  10578. "pricetype": {
  10579. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10580. "type": "integer"
  10581. },
  10582. "producttype": {
  10583. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10584. "type": "integer"
  10585. },
  10586. "qty": {
  10587. "description": "数量",
  10588. "type": "number"
  10589. },
  10590. "remark": {
  10591. "description": "备注",
  10592. "type": "string"
  10593. },
  10594. "selluserid": {
  10595. "description": "销售方ID",
  10596. "type": "integer"
  10597. },
  10598. "sellusername": {
  10599. "description": "销售方名称",
  10600. "type": "string"
  10601. },
  10602. "spotcontractid": {
  10603. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10604. "type": "string"
  10605. },
  10606. "spotgoodsbrandid": {
  10607. "description": "现货品牌ID",
  10608. "type": "integer"
  10609. },
  10610. "spotgoodsdesc": {
  10611. "description": "商品型号",
  10612. "type": "string"
  10613. },
  10614. "spotgoodsmodelid": {
  10615. "description": "现货型号ID",
  10616. "type": "integer"
  10617. },
  10618. "startdate": {
  10619. "description": "点价开始日期 [2:点价 3:暂定价]",
  10620. "type": "string"
  10621. },
  10622. "updatetime": {
  10623. "description": "更新时间",
  10624. "type": "string"
  10625. },
  10626. "userid": {
  10627. "description": "机构ID",
  10628. "type": "integer"
  10629. },
  10630. "wrstandardcode": {
  10631. "description": "现货商品代码",
  10632. "type": "string"
  10633. },
  10634. "wrstandardid": {
  10635. "description": "现货商品ID",
  10636. "type": "integer"
  10637. },
  10638. "wrstandardname": {
  10639. "description": "现货商品名称",
  10640. "type": "string"
  10641. }
  10642. }
  10643. },
  10644. "ermcp.QryUserInfoRsp": {
  10645. "type": "object",
  10646. "properties": {
  10647. "address": {
  10648. "description": "通讯地址",
  10649. "type": "string"
  10650. },
  10651. "attachment1": {
  10652. "description": "附件1",
  10653. "type": "string"
  10654. },
  10655. "audittime": {
  10656. "description": "审核时间",
  10657. "type": "string"
  10658. },
  10659. "cardfrontphotourl": {
  10660. "description": "证件正面图片地址",
  10661. "type": "string"
  10662. },
  10663. "cardnum": {
  10664. "description": "证件号码",
  10665. "type": "string"
  10666. },
  10667. "cardtype": {
  10668. "description": "证件类型",
  10669. "type": "integer"
  10670. },
  10671. "cardtypename": {
  10672. "description": "证件类型名称",
  10673. "type": "string"
  10674. },
  10675. "cityid": {
  10676. "description": "市",
  10677. "type": "integer"
  10678. },
  10679. "countryid": {
  10680. "description": "国家",
  10681. "type": "integer"
  10682. },
  10683. "createtime": {
  10684. "description": "创建时间",
  10685. "type": "string"
  10686. },
  10687. "customername": {
  10688. "description": "企业名称",
  10689. "type": "string"
  10690. },
  10691. "districtid": {
  10692. "description": "区域",
  10693. "type": "integer"
  10694. },
  10695. "memberuserid": {
  10696. "description": "所属机构ID",
  10697. "type": "integer"
  10698. },
  10699. "mobile": {
  10700. "description": "手机号码",
  10701. "type": "string"
  10702. },
  10703. "modifytime": {
  10704. "description": "修改时间",
  10705. "type": "string"
  10706. },
  10707. "provinceid": {
  10708. "description": "省",
  10709. "type": "integer"
  10710. },
  10711. "remark": {
  10712. "description": "备注",
  10713. "type": "string"
  10714. },
  10715. "status": {
  10716. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10717. "type": "integer"
  10718. },
  10719. "statusdesc": {
  10720. "description": "账户状态中文描述",
  10721. "type": "string"
  10722. },
  10723. "telphone": {
  10724. "description": "联系电话",
  10725. "type": "string"
  10726. },
  10727. "userid": {
  10728. "description": "用户ID",
  10729. "type": "integer"
  10730. },
  10731. "userinfotype": {
  10732. "description": "客户类型",
  10733. "type": "string"
  10734. }
  10735. }
  10736. },
  10737. "ermcp.QryWarehouseRsp": {
  10738. "type": "object",
  10739. "properties": {
  10740. "address": {
  10741. "description": "详细地址",
  10742. "type": "string"
  10743. },
  10744. "areauserid": {
  10745. "description": "所属机构",
  10746. "type": "integer"
  10747. },
  10748. "autoid": {
  10749. "description": "自增ID(仓库ID)",
  10750. "type": "integer"
  10751. },
  10752. "cityid": {
  10753. "description": "市",
  10754. "type": "integer"
  10755. },
  10756. "contactname": {
  10757. "description": "联系人",
  10758. "type": "string"
  10759. },
  10760. "contactnum": {
  10761. "description": "联系电话",
  10762. "type": "string"
  10763. },
  10764. "countryid": {
  10765. "description": "国家",
  10766. "type": "integer"
  10767. },
  10768. "createtime": {
  10769. "description": "创建时间",
  10770. "type": "string"
  10771. },
  10772. "districtid": {
  10773. "description": "区",
  10774. "type": "integer"
  10775. },
  10776. "hasvideo": {
  10777. "description": "是否有视频 - 0:无 1:有",
  10778. "type": "integer"
  10779. },
  10780. "provinceid": {
  10781. "description": "省",
  10782. "type": "integer"
  10783. },
  10784. "remark": {
  10785. "description": "审核备注",
  10786. "type": "string"
  10787. },
  10788. "videourl": {
  10789. "description": "视频地址",
  10790. "type": "string"
  10791. },
  10792. "warehousecode": {
  10793. "description": "仓库代码",
  10794. "type": "string"
  10795. },
  10796. "warehousename": {
  10797. "description": "仓库名称",
  10798. "type": "string"
  10799. },
  10800. "warehousestatus": {
  10801. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10802. "type": "integer"
  10803. },
  10804. "warehousetype": {
  10805. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10806. "type": "integer"
  10807. }
  10808. }
  10809. },
  10810. "ermcp.QryWrStandardDetailRsp": {
  10811. "type": "object",
  10812. "properties": {
  10813. "gbList": {
  10814. "description": "品牌列表",
  10815. "type": "array",
  10816. "items": {
  10817. "$ref": "#/definitions/models.GoodsBrand"
  10818. }
  10819. },
  10820. "goodsList": {
  10821. "description": "关联交易商品列表",
  10822. "type": "array",
  10823. "items": {
  10824. "$ref": "#/definitions/models.RelatedGoodsEx"
  10825. }
  10826. },
  10827. "gtList": {
  10828. "description": "型号列表",
  10829. "type": "array",
  10830. "items": {
  10831. "$ref": "#/definitions/models.GoodsTypeModel"
  10832. }
  10833. },
  10834. "wrd": {
  10835. "description": "基本信息",
  10836. "$ref": "#/definitions/models.ErmcpWrstandard"
  10837. },
  10838. "wrsList": {
  10839. "description": "套保信息列表",
  10840. "type": "array",
  10841. "items": {
  10842. "$ref": "#/definitions/models.WRSConverTDetail"
  10843. }
  10844. }
  10845. }
  10846. },
  10847. "ermcp.QryWrStandardRsp": {
  10848. "type": "object",
  10849. "properties": {
  10850. "areauserid": {
  10851. "description": "所属机构",
  10852. "type": "integer"
  10853. },
  10854. "createtime": {
  10855. "description": "创建时间",
  10856. "type": "string"
  10857. },
  10858. "creatorid": {
  10859. "description": "创建人",
  10860. "type": "integer"
  10861. },
  10862. "deliverygoodsid": {
  10863. "description": "品种ID",
  10864. "type": "integer"
  10865. },
  10866. "enumdicname": {
  10867. "description": "单位名称",
  10868. "type": "string"
  10869. },
  10870. "isvalid": {
  10871. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10872. "type": "integer"
  10873. },
  10874. "minivalue": {
  10875. "description": "最小变动值",
  10876. "type": "integer"
  10877. },
  10878. "minivaluedp": {
  10879. "description": "最小变动值小数位",
  10880. "type": "integer"
  10881. },
  10882. "realminivalue": {
  10883. "description": "实际最小变动值",
  10884. "type": "integer"
  10885. },
  10886. "realminivaluedp": {
  10887. "description": "实际最小变动值小数位",
  10888. "type": "integer"
  10889. },
  10890. "remark": {
  10891. "description": "备注",
  10892. "type": "string"
  10893. },
  10894. "unitid": {
  10895. "description": "单位ID",
  10896. "type": "integer"
  10897. },
  10898. "updatetime": {
  10899. "description": "更新时间",
  10900. "type": "string"
  10901. },
  10902. "wrstandardcode": {
  10903. "description": "现货商品代码",
  10904. "type": "string"
  10905. },
  10906. "wrstandardid": {
  10907. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10908. "type": "integer"
  10909. },
  10910. "wrstandardname": {
  10911. "description": "现货商品名称",
  10912. "type": "string"
  10913. }
  10914. }
  10915. },
  10916. "ermcp.QueryAreaStockApplySumRsp": {
  10917. "type": "object",
  10918. "properties": {
  10919. "brandname": {
  10920. "description": "品牌名称",
  10921. "type": "string"
  10922. },
  10923. "inouttype": {
  10924. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10925. "type": "integer"
  10926. },
  10927. "modelname": {
  10928. "description": "型号名称",
  10929. "type": "string"
  10930. },
  10931. "spotcontractid": {
  10932. "description": "关联现货合同ID",
  10933. "type": "string"
  10934. },
  10935. "spotgoodsbrandid": {
  10936. "description": "品牌id",
  10937. "type": "integer"
  10938. },
  10939. "spotgoodsmodelid": {
  10940. "description": "型号id",
  10941. "type": "integer"
  10942. },
  10943. "totalqty": {
  10944. "description": "总数量",
  10945. "type": "number"
  10946. }
  10947. }
  10948. },
  10949. "ermcp.QueryErmcpTradePositionRsp": {
  10950. "type": "object",
  10951. "properties": {
  10952. "agreeunit": {
  10953. "description": "合约单位",
  10954. "type": "number"
  10955. },
  10956. "buyorsell": {
  10957. "description": "方向 - 0:买 1:卖",
  10958. "type": "integer"
  10959. },
  10960. "curpositionqty": {
  10961. "description": "持仓(总仓数量, 期末头寸)",
  10962. "type": "integer"
  10963. },
  10964. "curtdposition": {
  10965. "description": "今仓数量(期末今日头寸)",
  10966. "type": "integer"
  10967. },
  10968. "curtdpositionenabled": {
  10969. "description": "今仓可用",
  10970. "type": "integer"
  10971. },
  10972. "decimalplace": {
  10973. "description": "报价小数位",
  10974. "type": "integer"
  10975. },
  10976. "enableqty": {
  10977. "description": "可用(总仓可用)",
  10978. "type": "integer"
  10979. },
  10980. "exexchangename": {
  10981. "description": "外部交易所名称",
  10982. "type": "string"
  10983. },
  10984. "goodscode": {
  10985. "description": "商品代码(内部)",
  10986. "type": "string"
  10987. },
  10988. "goodsid": {
  10989. "description": "商品ID(自增ID SEQ_GOODS)",
  10990. "type": "integer"
  10991. },
  10992. "goodsname": {
  10993. "description": "商品名称",
  10994. "type": "string"
  10995. },
  10996. "last": {
  10997. "description": "现价",
  10998. "type": "number"
  10999. },
  11000. "marketid": {
  11001. "description": "所属市场ID",
  11002. "type": "integer"
  11003. },
  11004. "openaverageprice": {
  11005. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11006. "type": "number"
  11007. },
  11008. "opencost": {
  11009. "description": "开仓成本",
  11010. "type": "number"
  11011. },
  11012. "openpl": {
  11013. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11014. "type": "number"
  11015. },
  11016. "outgoodscode": {
  11017. "description": "商品代码(外部)",
  11018. "type": "string"
  11019. },
  11020. "positionaverageprice": {
  11021. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11022. "type": "number"
  11023. },
  11024. "positioncost": {
  11025. "description": "持仓成本",
  11026. "type": "number"
  11027. },
  11028. "positionpl": {
  11029. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11030. "type": "number"
  11031. },
  11032. "positionplrate": {
  11033. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11034. "type": "number"
  11035. },
  11036. "usedmargin": {
  11037. "description": "占用保证金",
  11038. "type": "number"
  11039. }
  11040. }
  11041. },
  11042. "ermcp.RealtimeExposurePositionRsp": {
  11043. "type": "object",
  11044. "properties": {
  11045. "agreeunit": {
  11046. "description": "合约单位",
  11047. "type": "string"
  11048. },
  11049. "areauserid": {
  11050. "description": "所属机构id",
  11051. "type": "integer"
  11052. },
  11053. "convertratio": {
  11054. "description": "期货品种系数(折算系数)",
  11055. "type": "number"
  11056. },
  11057. "curqty": {
  11058. "description": "当前持仓",
  11059. "type": "integer"
  11060. },
  11061. "diffhedgeqty": {
  11062. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11063. "type": "number"
  11064. },
  11065. "diffqty": {
  11066. "description": "持仓变动量=当前持仓-昨日持仓",
  11067. "type": "integer"
  11068. },
  11069. "goodscode": {
  11070. "description": "商品代码",
  11071. "type": "string"
  11072. },
  11073. "goodsid": {
  11074. "description": "商品id",
  11075. "type": "integer"
  11076. },
  11077. "goodsname": {
  11078. "description": "商品名称",
  11079. "type": "string"
  11080. },
  11081. "middlegoodsid": {
  11082. "description": "套保商品id",
  11083. "type": "integer"
  11084. },
  11085. "ydqty": {
  11086. "description": "昨日持仓",
  11087. "type": "integer"
  11088. }
  11089. }
  11090. },
  11091. "ermcp.RealtimeExposureRsp": {
  11092. "type": "object",
  11093. "properties": {
  11094. "AreaUserID": {
  11095. "description": "所属机构",
  11096. "type": "integer"
  11097. },
  11098. "BuyFutureQty": {
  11099. "description": "买入期货数量",
  11100. "type": "number"
  11101. },
  11102. "BuyPlanQty": {
  11103. "description": "采购计划数量",
  11104. "type": "number"
  11105. },
  11106. "BuyPricedQty": {
  11107. "description": "采购合同已定价数量",
  11108. "type": "number"
  11109. },
  11110. "MiddleGoodsCode": {
  11111. "description": "套保品种代码",
  11112. "type": "string"
  11113. },
  11114. "MiddleGoodsHedgeRatio": {
  11115. "description": "应套保比例",
  11116. "type": "number"
  11117. },
  11118. "MiddleGoodsID": {
  11119. "description": "套保品种",
  11120. "type": "integer"
  11121. },
  11122. "MiddleGoodsName": {
  11123. "description": "套保品种名称",
  11124. "type": "string"
  11125. },
  11126. "NeedHedgeExposoure": {
  11127. "description": "应套保敞口",
  11128. "type": "number"
  11129. },
  11130. "NeedHedgeRatio": {
  11131. "description": "应套保敞口比例",
  11132. "type": "number"
  11133. },
  11134. "OriBuyFutureQty": {
  11135. "description": "期初买入期货数量",
  11136. "type": "number"
  11137. },
  11138. "OriBuyPlanQty": {
  11139. "description": "期初采购计划数量",
  11140. "type": "number"
  11141. },
  11142. "OriBuyPricedQty": {
  11143. "description": "期初采购合同已定价数量",
  11144. "type": "number"
  11145. },
  11146. "OriSellFutureQty": {
  11147. "description": "期初卖出期货数量",
  11148. "type": "number"
  11149. },
  11150. "OriSellPlanQty": {
  11151. "description": "期初销售计划数量",
  11152. "type": "number"
  11153. },
  11154. "OriSellPricedQty": {
  11155. "description": "期初销售合同已定价数量",
  11156. "type": "number"
  11157. },
  11158. "SellFutureQty": {
  11159. "description": "卖出期货数量",
  11160. "type": "number"
  11161. },
  11162. "SellPlanQty": {
  11163. "description": "销售计划数量",
  11164. "type": "number"
  11165. },
  11166. "SellPricedQty": {
  11167. "description": "销售合同已定价数量",
  11168. "type": "number"
  11169. },
  11170. "TotalExposure": {
  11171. "description": "总敞口",
  11172. "type": "number"
  11173. },
  11174. "TotalFutureQty": {
  11175. "description": "期货数量",
  11176. "type": "number"
  11177. },
  11178. "TotalHedgeRatio": {
  11179. "description": "敞口比例",
  11180. "type": "number"
  11181. },
  11182. "TotalNeedHedgeQty": {
  11183. "description": "期货应套保量",
  11184. "type": "number"
  11185. },
  11186. "TotalSpotQty": {
  11187. "description": "现货数量",
  11188. "type": "number"
  11189. },
  11190. "diffFutuQty": {
  11191. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11192. "type": "number"
  11193. },
  11194. "diffSpotQty": {
  11195. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11196. "type": "number"
  11197. },
  11198. "enumdicname": {
  11199. "description": "单位名称",
  11200. "type": "string"
  11201. },
  11202. "oriTotalFutuQty": {
  11203. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11204. "type": "number"
  11205. },
  11206. "oriTotalSpotQty": {
  11207. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11208. "type": "number"
  11209. }
  11210. }
  11211. },
  11212. "erms2.QueryArbitrageStrategyRsp": {
  11213. "type": "object",
  11214. "required": [
  11215. "asapplyid"
  11216. ],
  11217. "properties": {
  11218. "applybasis": {
  11219. "description": "申请基差",
  11220. "type": "number"
  11221. },
  11222. "asapplyid": {
  11223. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11224. "type": "string"
  11225. },
  11226. "asname": {
  11227. "description": "策略名称",
  11228. "type": "string"
  11229. },
  11230. "asno": {
  11231. "description": "策略编号",
  11232. "type": "string"
  11233. },
  11234. "basischangepl": {
  11235. "description": "基差变动损益[结算更新]",
  11236. "type": "number"
  11237. },
  11238. "biztype": {
  11239. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11240. "type": "integer"
  11241. },
  11242. "closetradedate": {
  11243. "description": "完结交易日(yyyyMMdd)",
  11244. "type": "string"
  11245. },
  11246. "curbasis": {
  11247. "description": "当前基差[结算更新]",
  11248. "type": "number"
  11249. },
  11250. "deliverygoodsid": {
  11251. "description": "现货品种ID",
  11252. "type": "integer"
  11253. },
  11254. "futureavgprice": {
  11255. "description": "期货建仓均价",
  11256. "type": "number"
  11257. },
  11258. "futurecloseamount": {
  11259. "description": "期货平仓金额",
  11260. "type": "number"
  11261. },
  11262. "futurecloseqty": {
  11263. "description": "期货平仓数量",
  11264. "type": "number"
  11265. },
  11266. "futureopenamount": {
  11267. "description": "期货开仓金额",
  11268. "type": "number"
  11269. },
  11270. "futureopenqty": {
  11271. "description": "期货开仓数量",
  11272. "type": "number"
  11273. },
  11274. "futurepl": {
  11275. "description": "期货总盈亏[结算更新]",
  11276. "type": "number"
  11277. },
  11278. "futureqty": {
  11279. "description": "期货持仓数量",
  11280. "type": "number"
  11281. },
  11282. "futurequote": {
  11283. "description": "期货额度",
  11284. "type": "number"
  11285. },
  11286. "goodsgroupid": {
  11287. "description": "期货品种ID",
  11288. "type": "integer"
  11289. },
  11290. "marketid": {
  11291. "description": "市场ID",
  11292. "type": "integer"
  11293. },
  11294. "netexposure": {
  11295. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11296. "type": "number"
  11297. },
  11298. "netexposurepl": {
  11299. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11300. "type": "number"
  11301. },
  11302. "netexposurerate": {
  11303. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11304. "type": "number"
  11305. },
  11306. "openbasis": {
  11307. "description": "建仓基差",
  11308. "type": "number"
  11309. },
  11310. "pricedspotqty": {
  11311. "description": "已定价现货数量",
  11312. "type": "number"
  11313. },
  11314. "pricedspotqtynotax": {
  11315. "description": "已定价现货不含税数量",
  11316. "type": "number"
  11317. },
  11318. "remark": {
  11319. "description": "备注",
  11320. "type": "string"
  11321. },
  11322. "spotavgprice": {
  11323. "description": "现货均价",
  11324. "type": "number"
  11325. },
  11326. "spotbuyamount": {
  11327. "description": "现货采购金额",
  11328. "type": "number"
  11329. },
  11330. "spotbuyqty": {
  11331. "description": "现货采购数量",
  11332. "type": "number"
  11333. },
  11334. "spotpl": {
  11335. "description": "现货总盈亏[结算更新]",
  11336. "type": "number"
  11337. },
  11338. "spotquota": {
  11339. "description": "现货额度",
  11340. "type": "number"
  11341. },
  11342. "spotsellamount": {
  11343. "description": "现货销售金额",
  11344. "type": "number"
  11345. },
  11346. "spotsellqty": {
  11347. "description": "现货销售数量",
  11348. "type": "number"
  11349. },
  11350. "spotusedquota": {
  11351. "description": "现货占用资金",
  11352. "type": "number"
  11353. },
  11354. "strategystatus": {
  11355. "description": "策略状态 - 0:未结束 1:已结束",
  11356. "type": "integer"
  11357. },
  11358. "totalpl": {
  11359. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11360. "type": "number"
  11361. },
  11362. "tradedate": {
  11363. "description": "交易日(yyyyMMdd)",
  11364. "type": "string"
  11365. },
  11366. "updatetime": {
  11367. "description": "更新时间",
  11368. "type": "string"
  11369. },
  11370. "usedquota": {
  11371. "description": "已占用资金",
  11372. "type": "number"
  11373. },
  11374. "userid": {
  11375. "description": "所属机构",
  11376. "type": "integer"
  11377. }
  11378. }
  11379. },
  11380. "erms2.QueryInnerTradeDetailRsp": {
  11381. "type": "object",
  11382. "required": [
  11383. "asapplyid",
  11384. "buyorsell",
  11385. "goodscode",
  11386. "goodsgroupid",
  11387. "goodsgroupname",
  11388. "goodsname",
  11389. "tradeid"
  11390. ],
  11391. "properties": {
  11392. "accountid": {
  11393. "description": "账号ID",
  11394. "type": "integer"
  11395. },
  11396. "agreeunit": {
  11397. "description": "合约单位",
  11398. "type": "number"
  11399. },
  11400. "asapplyid": {
  11401. "description": "策略申请ID",
  11402. "type": "integer"
  11403. },
  11404. "asname": {
  11405. "description": "策略名称",
  11406. "type": "string"
  11407. },
  11408. "asno": {
  11409. "description": "策略编号",
  11410. "type": "string"
  11411. },
  11412. "buyorsell": {
  11413. "description": "方向 - 0:买 1:卖",
  11414. "type": "integer"
  11415. },
  11416. "channelbuildtype": {
  11417. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11418. "type": "integer"
  11419. },
  11420. "closetype": {
  11421. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11422. "type": "integer"
  11423. },
  11424. "decimalplace": {
  11425. "description": "报价小数位",
  11426. "type": "integer"
  11427. },
  11428. "detailtype": {
  11429. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11430. "type": "integer"
  11431. },
  11432. "exexchangecode": {
  11433. "description": "外部交易所代码",
  11434. "type": "string"
  11435. },
  11436. "exexchangename": {
  11437. "description": "外部交易所名称",
  11438. "type": "string"
  11439. },
  11440. "goodscode": {
  11441. "description": "商品代码(合约)",
  11442. "type": "string"
  11443. },
  11444. "goodsgroupid": {
  11445. "description": "商品组ID(品种ID)",
  11446. "type": "integer"
  11447. },
  11448. "goodsgroupname": {
  11449. "description": "商品组名称(品种)",
  11450. "type": "string"
  11451. },
  11452. "goodsid": {
  11453. "description": "商品ID",
  11454. "type": "integer"
  11455. },
  11456. "goodsname": {
  11457. "description": "商品名称(合约)",
  11458. "type": "string"
  11459. },
  11460. "goodunit": {
  11461. "description": "报价单位",
  11462. "type": "string"
  11463. },
  11464. "marketid": {
  11465. "description": "市场ID",
  11466. "type": "integer"
  11467. },
  11468. "orderid": {
  11469. "description": "委托单号",
  11470. "type": "string"
  11471. },
  11472. "outgoodscode": {
  11473. "description": "商品代码(外部)",
  11474. "type": "string"
  11475. },
  11476. "relatedouttradeid": {
  11477. "description": "关联外部成交单ID",
  11478. "type": "string"
  11479. },
  11480. "remark": {
  11481. "description": "备注",
  11482. "type": "string"
  11483. },
  11484. "spotcontractid": {
  11485. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11486. "type": "integer"
  11487. },
  11488. "spotcontractno": {
  11489. "description": "现货合同编号",
  11490. "type": "string"
  11491. },
  11492. "tradeid": {
  11493. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11494. "type": "string"
  11495. },
  11496. "tradeprice": {
  11497. "description": "成交价格",
  11498. "type": "number"
  11499. },
  11500. "tradeqty": {
  11501. "description": "成交数量",
  11502. "type": "integer"
  11503. },
  11504. "tradetime": {
  11505. "description": "成交时间",
  11506. "type": "string"
  11507. },
  11508. "updatetime": {
  11509. "description": "更新时间",
  11510. "type": "string"
  11511. }
  11512. }
  11513. },
  11514. "erms2.QuerySpotContractRsp": {
  11515. "type": "object",
  11516. "required": [
  11517. "spotcontractid"
  11518. ],
  11519. "properties": {
  11520. "accountid": {
  11521. "description": "资金账户ID",
  11522. "type": "integer"
  11523. },
  11524. "areauserid": {
  11525. "description": "所属机构",
  11526. "type": "integer"
  11527. },
  11528. "closedate": {
  11529. "description": "终止日期",
  11530. "type": "string"
  11531. },
  11532. "closeremark": {
  11533. "description": "结束备注",
  11534. "type": "string"
  11535. },
  11536. "closetradedate": {
  11537. "description": "完结交易日(yyyyMMdd)",
  11538. "type": "string"
  11539. },
  11540. "closetype": {
  11541. "description": "终止类型 - 1:违约 2:提前终止",
  11542. "type": "integer"
  11543. },
  11544. "contractamount": {
  11545. "description": "合同金额",
  11546. "type": "number"
  11547. },
  11548. "contractattachment": {
  11549. "description": "合同附件",
  11550. "type": "string"
  11551. },
  11552. "contractno": {
  11553. "description": "现货合同编号",
  11554. "type": "string"
  11555. },
  11556. "contractqty": {
  11557. "description": "合同数量(数值) (用于计算)",
  11558. "type": "number"
  11559. },
  11560. "contractqtychar": {
  11561. "description": "合同数量\\已订价数量 (用于显示)",
  11562. "type": "string"
  11563. },
  11564. "contractstatus": {
  11565. "description": "合同状态 - 0:未结束 1:已结束",
  11566. "type": "integer"
  11567. },
  11568. "contracttype": {
  11569. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11570. "type": "integer"
  11571. },
  11572. "customeraccountid": {
  11573. "description": "客户资金账户ID",
  11574. "type": "integer"
  11575. },
  11576. "customeruserid": {
  11577. "description": "客户ID",
  11578. "type": "integer"
  11579. },
  11580. "deliverygoodsdesc": {
  11581. "description": "品种说明",
  11582. "type": "string"
  11583. },
  11584. "deliverygoodsid": {
  11585. "description": "现货品种ID",
  11586. "type": "integer"
  11587. },
  11588. "handlestatus": {
  11589. "description": "处理状态",
  11590. "type": "integer"
  11591. },
  11592. "invoiceatt": {
  11593. "description": "发票附件",
  11594. "type": "string"
  11595. },
  11596. "invoicedatetime": {
  11597. "description": "开收票更新时间",
  11598. "type": "string"
  11599. },
  11600. "invoiceopentime": {
  11601. "description": "开票时间",
  11602. "type": "string"
  11603. },
  11604. "invoiceremark": {
  11605. "description": "发票备注",
  11606. "type": "string"
  11607. },
  11608. "invoicestatus": {
  11609. "description": "开收票状态 - 0:未开票 1:已开票",
  11610. "type": "integer"
  11611. },
  11612. "lastdate": {
  11613. "description": "交货时间",
  11614. "type": "string"
  11615. },
  11616. "marketid": {
  11617. "description": "市场ID",
  11618. "type": "integer"
  11619. },
  11620. "paydatetime": {
  11621. "description": "收付款更新时间",
  11622. "type": "string"
  11623. },
  11624. "payremark": {
  11625. "description": "收付款备注",
  11626. "type": "string"
  11627. },
  11628. "paystatus": {
  11629. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11630. "type": "integer"
  11631. },
  11632. "positionqty": {
  11633. "description": "头寸数量 - 合同数量去小数部分",
  11634. "type": "integer"
  11635. },
  11636. "producttype": {
  11637. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11638. "type": "integer"
  11639. },
  11640. "relatedqty": {
  11641. "description": "已关联数量",
  11642. "type": "number"
  11643. },
  11644. "relatedstatus": {
  11645. "description": "关联完结状态 - 0:未结束 1:已结束",
  11646. "type": "integer"
  11647. },
  11648. "remark": {
  11649. "description": "备注",
  11650. "type": "string"
  11651. },
  11652. "signdate": {
  11653. "description": "签订日期",
  11654. "type": "string"
  11655. },
  11656. "spotcontractid": {
  11657. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11658. "type": "string"
  11659. },
  11660. "spotdatetime": {
  11661. "description": "收发货更新时间",
  11662. "type": "string"
  11663. },
  11664. "spotprice": {
  11665. "description": "价格",
  11666. "type": "number"
  11667. },
  11668. "spotremark": {
  11669. "description": "收发货备注",
  11670. "type": "string"
  11671. },
  11672. "spotstatus": {
  11673. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11674. "type": "integer"
  11675. },
  11676. "tradedate": {
  11677. "description": "交易日(yyyyMMdd)",
  11678. "type": "string"
  11679. },
  11680. "userid": {
  11681. "description": "业务员用户ID",
  11682. "type": "integer"
  11683. },
  11684. "warehouseid": {
  11685. "description": "仓库ID",
  11686. "type": "integer"
  11687. },
  11688. "wrfactortypeid": {
  11689. "description": "仓单要素类型ID",
  11690. "type": "integer"
  11691. },
  11692. "wrstandardid": {
  11693. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11694. "type": "integer"
  11695. }
  11696. }
  11697. },
  11698. "erms3.AddErms2ASApplyReq": {
  11699. "type": "object",
  11700. "required": [
  11701. "asapplyid"
  11702. ],
  11703. "properties": {
  11704. "applybasis": {
  11705. "description": "申请基差",
  11706. "type": "number"
  11707. },
  11708. "applystatus": {
  11709. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11710. "type": "integer"
  11711. },
  11712. "asapplyid": {
  11713. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11714. "type": "integer"
  11715. },
  11716. "asname": {
  11717. "description": "策略名称",
  11718. "type": "string"
  11719. },
  11720. "asno": {
  11721. "description": "策略编号",
  11722. "type": "string"
  11723. },
  11724. "auditid": {
  11725. "description": "审核人",
  11726. "type": "integer"
  11727. },
  11728. "auditremark": {
  11729. "description": "审核备注",
  11730. "type": "string"
  11731. },
  11732. "audittime": {
  11733. "description": "审核时间",
  11734. "type": "string"
  11735. },
  11736. "biztype": {
  11737. "description": "业务类型 - 1:正向套利 2:反向套利",
  11738. "type": "integer"
  11739. },
  11740. "createtime": {
  11741. "description": "创建时间",
  11742. "type": "string"
  11743. },
  11744. "creatorid": {
  11745. "description": "创建人",
  11746. "type": "integer"
  11747. },
  11748. "deliverygoodsid": {
  11749. "description": "现货品种ID",
  11750. "type": "integer"
  11751. },
  11752. "futurequote": {
  11753. "description": "期货额度",
  11754. "type": "number"
  11755. },
  11756. "goodsgroupid": {
  11757. "description": "期货品种ID",
  11758. "type": "integer"
  11759. },
  11760. "marketid": {
  11761. "description": "市场ID",
  11762. "type": "integer"
  11763. },
  11764. "remark": {
  11765. "description": "备注",
  11766. "type": "string"
  11767. },
  11768. "spotquota": {
  11769. "description": "现货额度",
  11770. "type": "number"
  11771. },
  11772. "tradedate": {
  11773. "description": "交易日(yyyyMMdd)",
  11774. "type": "string"
  11775. },
  11776. "userid": {
  11777. "description": "所属机构",
  11778. "type": "integer"
  11779. }
  11780. }
  11781. },
  11782. "erms3.AddErms2SpotTradeApplyReq": {
  11783. "type": "object",
  11784. "required": [
  11785. "spottradeid"
  11786. ],
  11787. "properties": {
  11788. "applyjsondetail": {
  11789. "description": "申请明细(JSON)",
  11790. "type": "string"
  11791. },
  11792. "applystatus": {
  11793. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11794. "type": "integer"
  11795. },
  11796. "areauserid": {
  11797. "description": "所属机构",
  11798. "type": "integer"
  11799. },
  11800. "auditid": {
  11801. "description": "审核人",
  11802. "type": "integer"
  11803. },
  11804. "auditremark": {
  11805. "description": "审核备注",
  11806. "type": "string"
  11807. },
  11808. "audittime": {
  11809. "description": "审核时间",
  11810. "type": "string"
  11811. },
  11812. "createtime": {
  11813. "description": "创建时间",
  11814. "type": "string"
  11815. },
  11816. "creatorid": {
  11817. "description": "创建人",
  11818. "type": "integer"
  11819. },
  11820. "deliverygoodsid": {
  11821. "description": "现货品种ID",
  11822. "type": "integer"
  11823. },
  11824. "futureaccountid": {
  11825. "description": "期货资金账户",
  11826. "type": "integer"
  11827. },
  11828. "goodsgroupid": {
  11829. "description": "期货品种",
  11830. "type": "integer"
  11831. },
  11832. "marketid": {
  11833. "description": "市场ID",
  11834. "type": "integer"
  11835. },
  11836. "remark": {
  11837. "description": "备注",
  11838. "type": "string"
  11839. },
  11840. "spotaccountid": {
  11841. "description": "现货资金账户",
  11842. "type": "integer"
  11843. },
  11844. "spottradeid": {
  11845. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11846. "type": "integer"
  11847. },
  11848. "spottradename": {
  11849. "description": "业务名称",
  11850. "type": "string"
  11851. },
  11852. "spottradeno": {
  11853. "description": "业务编号",
  11854. "type": "string"
  11855. },
  11856. "tradedate": {
  11857. "description": "交易日(yyyyMMdd)",
  11858. "type": "string"
  11859. },
  11860. "wrstandardid": {
  11861. "description": "仓单标准ID",
  11862. "type": "integer"
  11863. }
  11864. }
  11865. },
  11866. "erms3.AddSpotContractApplyReq": {
  11867. "type": "object",
  11868. "required": [
  11869. "accountid",
  11870. "areauserid",
  11871. "contractno",
  11872. "contracttype",
  11873. "customeraccountid",
  11874. "customeruserid",
  11875. "details",
  11876. "orimargin",
  11877. "signdate"
  11878. ],
  11879. "properties": {
  11880. "accountid": {
  11881. "description": "资金账户ID",
  11882. "type": "integer"
  11883. },
  11884. "areauserid": {
  11885. "description": "所属机构",
  11886. "type": "integer"
  11887. },
  11888. "contractattachment": {
  11889. "description": "合同附件",
  11890. "type": "string"
  11891. },
  11892. "contractno": {
  11893. "description": "现货合同编号",
  11894. "type": "string"
  11895. },
  11896. "contracttype": {
  11897. "description": "现货合同类型 - 1:采购 -1:销售",
  11898. "type": "integer"
  11899. },
  11900. "creatorid": {
  11901. "description": "申请人",
  11902. "type": "integer"
  11903. },
  11904. "customeraccountid": {
  11905. "description": "客户资金账户ID",
  11906. "type": "integer"
  11907. },
  11908. "customeruserid": {
  11909. "description": "客户ID",
  11910. "type": "integer"
  11911. },
  11912. "details": {
  11913. "description": "明细",
  11914. "type": "array",
  11915. "items": {
  11916. "$ref": "#/definitions/erms3.SoptContractDetail"
  11917. }
  11918. },
  11919. "orimargin": {
  11920. "description": "初始保证金",
  11921. "type": "number"
  11922. },
  11923. "remark": {
  11924. "description": "备注",
  11925. "type": "string"
  11926. },
  11927. "signdate": {
  11928. "description": "签订日期",
  11929. "type": "string"
  11930. }
  11931. }
  11932. },
  11933. "erms3.AddSpotContractApplyRsp": {
  11934. "type": "object",
  11935. "required": [
  11936. "contractno"
  11937. ],
  11938. "properties": {
  11939. "contractno": {
  11940. "description": "现货合同编号",
  11941. "type": "string"
  11942. },
  11943. "spotcontractid": {
  11944. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11945. "type": "integer"
  11946. }
  11947. }
  11948. },
  11949. "erms3.AddUserInfoApplyReq": {
  11950. "type": "object",
  11951. "required": [
  11952. "userid"
  11953. ],
  11954. "properties": {
  11955. "accountid": {
  11956. "description": "交易系统帐号Id (加密存储)",
  11957. "type": "integer"
  11958. },
  11959. "areacode": {
  11960. "description": "机构代码",
  11961. "type": "string"
  11962. },
  11963. "areaid": {
  11964. "description": "机构Id",
  11965. "type": "integer"
  11966. },
  11967. "attachment1": {
  11968. "description": "附件1",
  11969. "type": "string"
  11970. },
  11971. "attachment2": {
  11972. "description": "附件2",
  11973. "type": "string"
  11974. },
  11975. "attachment3": {
  11976. "description": "附件3",
  11977. "type": "string"
  11978. },
  11979. "attachment4": {
  11980. "description": "附件4",
  11981. "type": "string"
  11982. },
  11983. "attachment5": {
  11984. "description": "附件5",
  11985. "type": "string"
  11986. },
  11987. "auditedby": {
  11988. "description": "审核人",
  11989. "type": "string"
  11990. },
  11991. "auditime": {
  11992. "description": "审核时间",
  11993. "type": "string"
  11994. },
  11995. "bankaccount": {
  11996. "description": "银行帐号 (加密存储)",
  11997. "type": "string"
  11998. },
  11999. "bankaccountname": {
  12000. "description": "收款人名称",
  12001. "type": "string"
  12002. },
  12003. "bankcardbackphotourl": {
  12004. "description": "银行卡背面照地址",
  12005. "type": "string"
  12006. },
  12007. "bankcardfrontphotourl": {
  12008. "description": "银行卡正面照地址",
  12009. "type": "string"
  12010. },
  12011. "bankid": {
  12012. "description": "银行编码",
  12013. "type": "string"
  12014. },
  12015. "bankname": {
  12016. "description": "银行名称",
  12017. "type": "string"
  12018. },
  12019. "bankpictureurl": {
  12020. "description": "银行卡正面地址",
  12021. "type": "string"
  12022. },
  12023. "biznature": {
  12024. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12025. "type": "integer"
  12026. },
  12027. "bizscope": {
  12028. "description": "企业经营范围(企业)",
  12029. "type": "string"
  12030. },
  12031. "biztype": {
  12032. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12033. "type": "integer"
  12034. },
  12035. "brokerid": {
  12036. "description": "经纪人ID(加密存储)",
  12037. "type": "string"
  12038. },
  12039. "cardaddress": {
  12040. "description": "证件地址 (加密存储)",
  12041. "type": "string"
  12042. },
  12043. "cardbackphotourl": {
  12044. "description": "背面证件照地址",
  12045. "type": "string"
  12046. },
  12047. "cardfrontphotourl": {
  12048. "description": "正面证件照地址",
  12049. "type": "string"
  12050. },
  12051. "cardnum": {
  12052. "description": "证件号码 (加密存储)",
  12053. "type": "string"
  12054. },
  12055. "cardtype": {
  12056. "description": "证件类型",
  12057. "type": "integer"
  12058. },
  12059. "cityid": {
  12060. "description": "市",
  12061. "type": "integer"
  12062. },
  12063. "company": {
  12064. "description": "公司(个人)",
  12065. "type": "string"
  12066. },
  12067. "contactcardbackphotourl": {
  12068. "description": "联系人证件背面图片地址",
  12069. "type": "string"
  12070. },
  12071. "contactcardfrontphotourl": {
  12072. "description": "联系人证件正面图片地址",
  12073. "type": "string"
  12074. },
  12075. "contactname": {
  12076. "description": "联系人",
  12077. "type": "string"
  12078. },
  12079. "countryid": {
  12080. "description": "国家",
  12081. "type": "integer"
  12082. },
  12083. "createtime": {
  12084. "description": "开户申请时间",
  12085. "type": "string"
  12086. },
  12087. "cusbankid": {
  12088. "description": "签约类型",
  12089. "type": "string"
  12090. },
  12091. "cusbankname": {
  12092. "description": "签约类型名称",
  12093. "type": "string"
  12094. },
  12095. "customername": {
  12096. "description": "客户名称(企业名称)",
  12097. "type": "string"
  12098. },
  12099. "districtid": {
  12100. "description": "地区",
  12101. "type": "integer"
  12102. },
  12103. "email": {
  12104. "description": "Email地址(加密存储)",
  12105. "type": "string"
  12106. },
  12107. "halfbodyphotourl": {
  12108. "description": "半身照地址",
  12109. "type": "string"
  12110. },
  12111. "headurl": {
  12112. "description": "头像地址",
  12113. "type": "string"
  12114. },
  12115. "ipaddress": {
  12116. "description": "IP地址",
  12117. "type": "string"
  12118. },
  12119. "isvalidate": {
  12120. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12121. "type": "string"
  12122. },
  12123. "legalcardbackphotourl": {
  12124. "description": "法人身份证背面照地址",
  12125. "type": "string"
  12126. },
  12127. "legalcardfrontphotourl": {
  12128. "description": "法人身份证正面照地址",
  12129. "type": "string"
  12130. },
  12131. "legalpersonname": {
  12132. "description": "法人姓名(企业)",
  12133. "type": "string"
  12134. },
  12135. "logincode": {
  12136. "description": "登录帐号 (加密存储)",
  12137. "type": "string"
  12138. },
  12139. "memberareaid": {
  12140. "description": "所属会员ID",
  12141. "type": "integer"
  12142. },
  12143. "mobile2": {
  12144. "description": "手机号码[明文-尚志]",
  12145. "type": "string"
  12146. },
  12147. "mobilephone": {
  12148. "description": "手机号码 (加密存储)",
  12149. "type": "string"
  12150. },
  12151. "modifiedby": {
  12152. "description": "修改人帐号",
  12153. "type": "integer"
  12154. },
  12155. "modifiedtime": {
  12156. "description": "修改时间",
  12157. "type": "string"
  12158. },
  12159. "nickname": {
  12160. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12161. "type": "string"
  12162. },
  12163. "openmode": {
  12164. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12165. "type": "integer"
  12166. },
  12167. "otherurl": {
  12168. "description": "其它图片地址[使用分号分隔]",
  12169. "type": "string"
  12170. },
  12171. "postalcode": {
  12172. "description": "邮政编码",
  12173. "type": "string"
  12174. },
  12175. "provinceid": {
  12176. "description": "省",
  12177. "type": "integer"
  12178. },
  12179. "proxystatementurl": {
  12180. "description": "授权委托书",
  12181. "type": "string"
  12182. },
  12183. "qq": {
  12184. "description": "QQ(加密存储",
  12185. "type": "string"
  12186. },
  12187. "referral": {
  12188. "description": "推荐人编码",
  12189. "type": "string"
  12190. },
  12191. "remark": {
  12192. "description": "备注",
  12193. "type": "string"
  12194. },
  12195. "removebeforestatus": {
  12196. "description": "REMOVEBEFORESTATUS",
  12197. "type": "integer"
  12198. },
  12199. "sex": {
  12200. "description": "性别 - 0:女 1:男",
  12201. "type": "integer"
  12202. },
  12203. "signedstatus": {
  12204. "description": "账户一号签签约状态",
  12205. "type": "integer"
  12206. },
  12207. "signpdfurl": {
  12208. "description": "签约pdf文件",
  12209. "type": "string"
  12210. },
  12211. "subbranch": {
  12212. "description": "开户支行",
  12213. "type": "string"
  12214. },
  12215. "telphone": {
  12216. "description": "联系电话(加密存储)",
  12217. "type": "string"
  12218. },
  12219. "userid": {
  12220. "description": "用户ID(自增ID)",
  12221. "type": "integer"
  12222. },
  12223. "userinfotype": {
  12224. "description": "用户信息类型 - 1:个人 2:企业",
  12225. "type": "integer"
  12226. },
  12227. "username": {
  12228. "description": "用户姓名",
  12229. "type": "string"
  12230. },
  12231. "userstate": {
  12232. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12233. "type": "integer"
  12234. },
  12235. "usertype": {
  12236. "description": "用户类型 - 1:投资者 2:机构",
  12237. "type": "integer"
  12238. },
  12239. "videourl": {
  12240. "description": "视频地址",
  12241. "type": "string"
  12242. },
  12243. "wechat": {
  12244. "description": "微信号 (加密存储)",
  12245. "type": "string"
  12246. }
  12247. }
  12248. },
  12249. "erms3.CustomerInfo": {
  12250. "type": "object",
  12251. "required": [
  12252. "userid"
  12253. ],
  12254. "properties": {
  12255. "accountids": {
  12256. "description": "资金账户ID列表",
  12257. "type": "array",
  12258. "items": {
  12259. "type": "integer"
  12260. }
  12261. },
  12262. "customername": {
  12263. "description": "名称(企业名称)",
  12264. "type": "string"
  12265. },
  12266. "mobile": {
  12267. "description": "手机号码",
  12268. "type": "string"
  12269. },
  12270. "userid": {
  12271. "description": "用户ID",
  12272. "type": "integer"
  12273. }
  12274. }
  12275. },
  12276. "erms3.ModifyUserInfoApplyReq": {
  12277. "type": "object",
  12278. "required": [
  12279. "userid"
  12280. ],
  12281. "properties": {
  12282. "accountid": {
  12283. "description": "交易系统帐号Id (加密存储)",
  12284. "type": "integer"
  12285. },
  12286. "areacode": {
  12287. "description": "机构代码",
  12288. "type": "string"
  12289. },
  12290. "areaid": {
  12291. "description": "机构Id",
  12292. "type": "integer"
  12293. },
  12294. "attachment1": {
  12295. "description": "附件1",
  12296. "type": "string"
  12297. },
  12298. "attachment2": {
  12299. "description": "附件2",
  12300. "type": "string"
  12301. },
  12302. "attachment3": {
  12303. "description": "附件3",
  12304. "type": "string"
  12305. },
  12306. "attachment4": {
  12307. "description": "附件4",
  12308. "type": "string"
  12309. },
  12310. "attachment5": {
  12311. "description": "附件5",
  12312. "type": "string"
  12313. },
  12314. "auditedby": {
  12315. "description": "审核人",
  12316. "type": "string"
  12317. },
  12318. "auditime": {
  12319. "description": "审核时间",
  12320. "type": "string"
  12321. },
  12322. "bankaccount": {
  12323. "description": "银行帐号 (加密存储)",
  12324. "type": "string"
  12325. },
  12326. "bankaccountname": {
  12327. "description": "收款人名称",
  12328. "type": "string"
  12329. },
  12330. "bankcardbackphotourl": {
  12331. "description": "银行卡背面照地址",
  12332. "type": "string"
  12333. },
  12334. "bankcardfrontphotourl": {
  12335. "description": "银行卡正面照地址",
  12336. "type": "string"
  12337. },
  12338. "bankid": {
  12339. "description": "银行编码",
  12340. "type": "string"
  12341. },
  12342. "bankname": {
  12343. "description": "银行名称",
  12344. "type": "string"
  12345. },
  12346. "bankpictureurl": {
  12347. "description": "银行卡正面地址",
  12348. "type": "string"
  12349. },
  12350. "biznature": {
  12351. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12352. "type": "integer"
  12353. },
  12354. "bizscope": {
  12355. "description": "企业经营范围(企业)",
  12356. "type": "string"
  12357. },
  12358. "biztype": {
  12359. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12360. "type": "integer"
  12361. },
  12362. "brokerid": {
  12363. "description": "经纪人ID(加密存储)",
  12364. "type": "string"
  12365. },
  12366. "cardaddress": {
  12367. "description": "证件地址 (加密存储)",
  12368. "type": "string"
  12369. },
  12370. "cardbackphotourl": {
  12371. "description": "背面证件照地址",
  12372. "type": "string"
  12373. },
  12374. "cardfrontphotourl": {
  12375. "description": "正面证件照地址",
  12376. "type": "string"
  12377. },
  12378. "cardnum": {
  12379. "description": "证件号码 (加密存储)",
  12380. "type": "string"
  12381. },
  12382. "cardtype": {
  12383. "description": "证件类型",
  12384. "type": "integer"
  12385. },
  12386. "cityid": {
  12387. "description": "市",
  12388. "type": "integer"
  12389. },
  12390. "company": {
  12391. "description": "公司(个人)",
  12392. "type": "string"
  12393. },
  12394. "contactcardbackphotourl": {
  12395. "description": "联系人证件背面图片地址",
  12396. "type": "string"
  12397. },
  12398. "contactcardfrontphotourl": {
  12399. "description": "联系人证件正面图片地址",
  12400. "type": "string"
  12401. },
  12402. "contactname": {
  12403. "description": "联系人",
  12404. "type": "string"
  12405. },
  12406. "countryid": {
  12407. "description": "国家",
  12408. "type": "integer"
  12409. },
  12410. "createtime": {
  12411. "description": "开户申请时间",
  12412. "type": "string"
  12413. },
  12414. "cusbankid": {
  12415. "description": "签约类型",
  12416. "type": "string"
  12417. },
  12418. "cusbankname": {
  12419. "description": "签约类型名称",
  12420. "type": "string"
  12421. },
  12422. "customername": {
  12423. "description": "客户名称(企业名称)",
  12424. "type": "string"
  12425. },
  12426. "districtid": {
  12427. "description": "地区",
  12428. "type": "integer"
  12429. },
  12430. "email": {
  12431. "description": "Email地址(加密存储)",
  12432. "type": "string"
  12433. },
  12434. "halfbodyphotourl": {
  12435. "description": "半身照地址",
  12436. "type": "string"
  12437. },
  12438. "headurl": {
  12439. "description": "头像地址",
  12440. "type": "string"
  12441. },
  12442. "ipaddress": {
  12443. "description": "IP地址",
  12444. "type": "string"
  12445. },
  12446. "isvalidate": {
  12447. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12448. "type": "string"
  12449. },
  12450. "legalcardbackphotourl": {
  12451. "description": "法人身份证背面照地址",
  12452. "type": "string"
  12453. },
  12454. "legalcardfrontphotourl": {
  12455. "description": "法人身份证正面照地址",
  12456. "type": "string"
  12457. },
  12458. "legalpersonname": {
  12459. "description": "法人姓名(企业)",
  12460. "type": "string"
  12461. },
  12462. "logincode": {
  12463. "description": "登录帐号 (加密存储)",
  12464. "type": "string"
  12465. },
  12466. "memberareaid": {
  12467. "description": "所属会员ID",
  12468. "type": "integer"
  12469. },
  12470. "mobile2": {
  12471. "description": "手机号码[明文-尚志]",
  12472. "type": "string"
  12473. },
  12474. "mobilephone": {
  12475. "description": "手机号码 (加密存储)",
  12476. "type": "string"
  12477. },
  12478. "modifiedby": {
  12479. "description": "修改人帐号",
  12480. "type": "integer"
  12481. },
  12482. "modifiedtime": {
  12483. "description": "修改时间",
  12484. "type": "string"
  12485. },
  12486. "nickname": {
  12487. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12488. "type": "string"
  12489. },
  12490. "openmode": {
  12491. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12492. "type": "integer"
  12493. },
  12494. "otherurl": {
  12495. "description": "其它图片地址[使用分号分隔]",
  12496. "type": "string"
  12497. },
  12498. "postalcode": {
  12499. "description": "邮政编码",
  12500. "type": "string"
  12501. },
  12502. "provinceid": {
  12503. "description": "省",
  12504. "type": "integer"
  12505. },
  12506. "proxystatementurl": {
  12507. "description": "授权委托书",
  12508. "type": "string"
  12509. },
  12510. "qq": {
  12511. "description": "QQ(加密存储",
  12512. "type": "string"
  12513. },
  12514. "referral": {
  12515. "description": "推荐人编码",
  12516. "type": "string"
  12517. },
  12518. "remark": {
  12519. "description": "备注",
  12520. "type": "string"
  12521. },
  12522. "removebeforestatus": {
  12523. "description": "REMOVEBEFORESTATUS",
  12524. "type": "integer"
  12525. },
  12526. "sex": {
  12527. "description": "性别 - 0:女 1:男",
  12528. "type": "integer"
  12529. },
  12530. "signedstatus": {
  12531. "description": "账户一号签签约状态",
  12532. "type": "integer"
  12533. },
  12534. "signpdfurl": {
  12535. "description": "签约pdf文件",
  12536. "type": "string"
  12537. },
  12538. "subbranch": {
  12539. "description": "开户支行",
  12540. "type": "string"
  12541. },
  12542. "telphone": {
  12543. "description": "联系电话(加密存储)",
  12544. "type": "string"
  12545. },
  12546. "userid": {
  12547. "description": "用户ID(自增ID)",
  12548. "type": "integer"
  12549. },
  12550. "userinfotype": {
  12551. "description": "用户信息类型 - 1:个人 2:企业",
  12552. "type": "integer"
  12553. },
  12554. "username": {
  12555. "description": "用户姓名",
  12556. "type": "string"
  12557. },
  12558. "userstate": {
  12559. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12560. "type": "integer"
  12561. },
  12562. "usertype": {
  12563. "description": "用户类型 - 1:投资者 2:机构",
  12564. "type": "integer"
  12565. },
  12566. "videourl": {
  12567. "description": "视频地址",
  12568. "type": "string"
  12569. },
  12570. "wechat": {
  12571. "description": "微信号 (加密存储)",
  12572. "type": "string"
  12573. }
  12574. }
  12575. },
  12576. "erms3.QryAuditContractRsp": {
  12577. "type": "object",
  12578. "required": [
  12579. "matchcustomername",
  12580. "spotcontractid"
  12581. ],
  12582. "properties": {
  12583. "accountid": {
  12584. "description": "交易员ID",
  12585. "type": "string"
  12586. },
  12587. "applystatus": {
  12588. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12589. "type": "integer"
  12590. },
  12591. "curdeliveryqty": {
  12592. "description": "未交收量",
  12593. "type": "integer"
  12594. },
  12595. "customername": {
  12596. "description": "采购方ID",
  12597. "type": "string"
  12598. },
  12599. "deliverygoodsid": {
  12600. "description": "品种ID",
  12601. "type": "string"
  12602. },
  12603. "deliveryqty": {
  12604. "description": "交收量",
  12605. "type": "integer"
  12606. },
  12607. "enumdicname": {
  12608. "description": "单位名称",
  12609. "type": "string"
  12610. },
  12611. "matchaccountid": {
  12612. "description": "业务员ID",
  12613. "type": "string"
  12614. },
  12615. "matchcustomername": {
  12616. "description": "销售方ID",
  12617. "type": "string"
  12618. },
  12619. "pricedqty": {
  12620. "description": "定价量",
  12621. "type": "number"
  12622. },
  12623. "signdate": {
  12624. "description": "签订日期",
  12625. "type": "string"
  12626. },
  12627. "spotcontractid": {
  12628. "description": "合同ID",
  12629. "type": "string"
  12630. },
  12631. "totaldqty": {
  12632. "description": "合同量",
  12633. "type": "number"
  12634. },
  12635. "unpricedqty": {
  12636. "description": "未定价量",
  12637. "type": "number"
  12638. },
  12639. "wrstandardname": {
  12640. "description": "商品名称",
  12641. "type": "string"
  12642. }
  12643. }
  12644. },
  12645. "erms3.QryPendingBizRsp": {
  12646. "type": "object",
  12647. "properties": {
  12648. "accountid": {
  12649. "description": "现货账户",
  12650. "type": "string"
  12651. },
  12652. "areaname": {
  12653. "description": "所属部门",
  12654. "type": "string"
  12655. },
  12656. "bizid": {
  12657. "description": "业务ID",
  12658. "type": "string"
  12659. },
  12660. "bizname": {
  12661. "description": "业务名称",
  12662. "type": "string"
  12663. },
  12664. "status": {
  12665. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12666. "type": "integer"
  12667. },
  12668. "type": {
  12669. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12670. "type": "integer"
  12671. }
  12672. }
  12673. },
  12674. "erms3.QueryBusinessInfoRsp": {
  12675. "type": "object",
  12676. "properties": {
  12677. "businessid": {
  12678. "description": "业务ID.",
  12679. "type": "integer"
  12680. },
  12681. "buyamount": {
  12682. "description": "采购额.",
  12683. "type": "number"
  12684. },
  12685. "buyqty": {
  12686. "description": "采购量.",
  12687. "type": "string"
  12688. },
  12689. "futurepl": {
  12690. "description": "期货盈亏.",
  12691. "type": "number"
  12692. },
  12693. "futureqty": {
  12694. "description": "期货敞口.",
  12695. "type": "string"
  12696. },
  12697. "goodsid": {
  12698. "description": "商品名称/商品代码.",
  12699. "type": "string"
  12700. },
  12701. "hedgingqty": {
  12702. "description": "套保量.",
  12703. "type": "string"
  12704. },
  12705. "sellamount": {
  12706. "description": "销售额.",
  12707. "type": "number"
  12708. },
  12709. "sellqty": {
  12710. "description": "销售量.",
  12711. "type": "string"
  12712. },
  12713. "spotmarketvalue": {
  12714. "description": "现货市值.",
  12715. "type": "number"
  12716. },
  12717. "spotpl": {
  12718. "description": "浮动权益.",
  12719. "type": "number"
  12720. },
  12721. "spotqty": {
  12722. "description": "现货量.",
  12723. "type": "string"
  12724. },
  12725. "statu": {
  12726. "description": "状态,0-未结束 1-已结束.",
  12727. "type": "integer"
  12728. },
  12729. "totalpl": {
  12730. "description": "总盈亏.",
  12731. "type": "number"
  12732. },
  12733. "totalqty": {
  12734. "description": "总敞口.",
  12735. "type": "string"
  12736. },
  12737. "type": {
  12738. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12739. "type": "integer"
  12740. }
  12741. }
  12742. },
  12743. "erms3.QuerySpotContractAppleFormRsp": {
  12744. "type": "object",
  12745. "properties": {
  12746. "goodses": {
  12747. "description": "合约列表",
  12748. "type": "array",
  12749. "items": {
  12750. "$ref": "#/definitions/models.GoodsIDAndName"
  12751. }
  12752. },
  12753. "oppositeusers": {
  12754. "description": "对方账号列表",
  12755. "type": "array",
  12756. "items": {
  12757. "$ref": "#/definitions/erms3.CustomerInfo"
  12758. }
  12759. },
  12760. "ouruser": {
  12761. "description": "我方账号",
  12762. "$ref": "#/definitions/erms3.CustomerInfo"
  12763. },
  12764. "warehouseinfos": {
  12765. "description": "仓库信息列表",
  12766. "type": "array",
  12767. "items": {
  12768. "$ref": "#/definitions/models.Warehouseinfo"
  12769. }
  12770. },
  12771. "wrstandards": {
  12772. "description": "仓单标准列表",
  12773. "type": "array",
  12774. "items": {
  12775. "$ref": "#/definitions/models.WRStandardInfo"
  12776. }
  12777. }
  12778. }
  12779. },
  12780. "erms3.QuerySpotContractInfoRsp": {
  12781. "type": "object",
  12782. "properties": {
  12783. "accountid": {
  12784. "description": "表示交易员ID.",
  12785. "type": "integer"
  12786. },
  12787. "curdeliveryqty": {
  12788. "description": "表示未交收量.",
  12789. "type": "number"
  12790. },
  12791. "customername": {
  12792. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12793. "type": "string"
  12794. },
  12795. "deliverygoodsid": {
  12796. "description": "表示品种ID.",
  12797. "type": "string"
  12798. },
  12799. "deliveryqty": {
  12800. "description": "表示交收量.",
  12801. "type": "number"
  12802. },
  12803. "matchaccountid": {
  12804. "description": "表示业务员ID.",
  12805. "type": "integer"
  12806. },
  12807. "matchcustomername": {
  12808. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12809. "type": "string"
  12810. },
  12811. "priceqty": {
  12812. "description": "表示定价量.",
  12813. "type": "number"
  12814. },
  12815. "relatedbizid": {
  12816. "description": "表示业务ID.",
  12817. "type": "string"
  12818. },
  12819. "signdate": {
  12820. "description": "表示签订日期.",
  12821. "type": "string"
  12822. },
  12823. "spotcontractid": {
  12824. "description": "合同ID",
  12825. "type": "string"
  12826. },
  12827. "status": {
  12828. "description": "表示状态,0-履约中 1-已完成.",
  12829. "type": "integer"
  12830. },
  12831. "totalqty": {
  12832. "description": "表示合同量.",
  12833. "type": "number"
  12834. },
  12835. "unpricedqty": {
  12836. "description": "表示未定价量.",
  12837. "type": "number"
  12838. },
  12839. "wrstandardname": {
  12840. "description": "表示商品ID.",
  12841. "type": "string"
  12842. }
  12843. }
  12844. },
  12845. "erms3.QueryUserInfoAppliesRsp": {
  12846. "type": "object",
  12847. "required": [
  12848. "userid"
  12849. ],
  12850. "properties": {
  12851. "biznature": {
  12852. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12853. "type": "integer"
  12854. },
  12855. "contactname": {
  12856. "description": "联系人",
  12857. "type": "string"
  12858. },
  12859. "createtime": {
  12860. "description": "开户申请时间",
  12861. "type": "string"
  12862. },
  12863. "userid": {
  12864. "description": "用户ID(自增ID)",
  12865. "type": "integer"
  12866. },
  12867. "userinfotype": {
  12868. "description": "用户信息类型 - 1:个人 2:企业",
  12869. "type": "integer"
  12870. },
  12871. "username": {
  12872. "description": "用户姓名",
  12873. "type": "string"
  12874. },
  12875. "userstate": {
  12876. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12877. "type": "integer"
  12878. }
  12879. }
  12880. },
  12881. "erms3.QueryUserInfosRsp": {
  12882. "type": "object",
  12883. "required": [
  12884. "userid"
  12885. ],
  12886. "properties": {
  12887. "biznature": {
  12888. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12889. "type": "integer"
  12890. },
  12891. "contactname": {
  12892. "description": "联系人",
  12893. "type": "string"
  12894. },
  12895. "customername": {
  12896. "description": "客户名称(企业名称)",
  12897. "type": "string"
  12898. },
  12899. "userid": {
  12900. "description": "用户ID",
  12901. "type": "integer"
  12902. },
  12903. "userinfotype": {
  12904. "description": "用户信息类型 - 1:个人 2:企业",
  12905. "type": "integer"
  12906. },
  12907. "userstatus": {
  12908. "description": "用户状态 - 1:正常 2:注销",
  12909. "type": "integer"
  12910. }
  12911. }
  12912. },
  12913. "erms3.SoptContractDetail": {
  12914. "type": "object",
  12915. "required": [
  12916. "deliverygoodsid",
  12917. "producttype",
  12918. "unitname",
  12919. "warehouseid",
  12920. "wrstandardid",
  12921. "wrstandardname"
  12922. ],
  12923. "properties": {
  12924. "deliverygoodsdesc": {
  12925. "description": "现货品种说明",
  12926. "type": "string"
  12927. },
  12928. "deliverygoodsid": {
  12929. "description": "现货品种ID",
  12930. "type": "integer"
  12931. },
  12932. "deliverygoodsname": {
  12933. "description": "现货品种名称",
  12934. "type": "string"
  12935. },
  12936. "pointdesc": {
  12937. "description": "点价描述",
  12938. "type": "string"
  12939. },
  12940. "producttype": {
  12941. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12942. "type": "integer"
  12943. },
  12944. "producttypename": {
  12945. "description": "产品类型名称",
  12946. "type": "string"
  12947. },
  12948. "spotPointOrderVoList": {
  12949. "description": "点价列表",
  12950. "type": "array",
  12951. "items": {
  12952. "$ref": "#/definitions/erms3.SpotPointOrder"
  12953. }
  12954. },
  12955. "spotPriceOrderList": {
  12956. "description": "定价列表",
  12957. "type": "array",
  12958. "items": {
  12959. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12960. }
  12961. },
  12962. "unitname": {
  12963. "description": "单位名称",
  12964. "type": "string"
  12965. },
  12966. "warehouseid": {
  12967. "description": "仓库ID",
  12968. "type": "integer"
  12969. },
  12970. "warehousename": {
  12971. "description": "仓库名称",
  12972. "type": "string"
  12973. },
  12974. "wrstandardid": {
  12975. "description": "交易标的ID",
  12976. "type": "integer"
  12977. },
  12978. "wrstandardname": {
  12979. "description": "交易标的名称",
  12980. "type": "string"
  12981. }
  12982. }
  12983. },
  12984. "erms3.SpotPointOrder": {
  12985. "type": "object",
  12986. "required": [
  12987. "basic",
  12988. "goodsid",
  12989. "qty"
  12990. ],
  12991. "properties": {
  12992. "basic": {
  12993. "description": "基差",
  12994. "type": "number"
  12995. },
  12996. "deliveryenddate": {
  12997. "description": "交收结束日期",
  12998. "type": "string"
  12999. },
  13000. "deliverystartdate": {
  13001. "description": "交收开始日期",
  13002. "type": "string"
  13003. },
  13004. "enddate": {
  13005. "description": "点价结束日期",
  13006. "type": "string"
  13007. },
  13008. "goodsid": {
  13009. "description": "商品ID",
  13010. "type": "integer"
  13011. },
  13012. "goodsname": {
  13013. "description": "商品名称",
  13014. "type": "string"
  13015. },
  13016. "qty": {
  13017. "description": "数量",
  13018. "type": "number"
  13019. },
  13020. "startdate": {
  13021. "description": "点价开始日期",
  13022. "type": "string"
  13023. }
  13024. }
  13025. },
  13026. "erms3.SpotPriceOrder": {
  13027. "type": "object",
  13028. "required": [
  13029. "amount",
  13030. "price",
  13031. "qty"
  13032. ],
  13033. "properties": {
  13034. "amount": {
  13035. "description": "金额",
  13036. "type": "number"
  13037. },
  13038. "deliveryenddate": {
  13039. "description": "交收结束日期",
  13040. "type": "string"
  13041. },
  13042. "deliverystartdate": {
  13043. "description": "交收开始日期",
  13044. "type": "string"
  13045. },
  13046. "price": {
  13047. "description": "价格",
  13048. "type": "number"
  13049. },
  13050. "qty": {
  13051. "description": "数量",
  13052. "type": "number"
  13053. }
  13054. }
  13055. },
  13056. "hsby.GetHsbyMyCountRsp": {
  13057. "type": "object",
  13058. "properties": {
  13059. "myCouponCount": {
  13060. "description": "我的优惠卷数量",
  13061. "type": "integer"
  13062. },
  13063. "myOrderDetailListingCount": {
  13064. "description": "我的订单求购中数量",
  13065. "type": "integer"
  13066. },
  13067. "myOrderDetailPreCount": {
  13068. "description": "我的订单抢购中数量",
  13069. "type": "integer"
  13070. },
  13071. "myPackageUnReceiveCount": {
  13072. "description": "我的包裹待收货数量",
  13073. "type": "integer"
  13074. },
  13075. "myPackageUnSendCount": {
  13076. "description": "我的包裹待发货数量",
  13077. "type": "integer"
  13078. },
  13079. "myPayOrderCount": {
  13080. "description": "我的订单待付款数量",
  13081. "type": "integer"
  13082. }
  13083. }
  13084. },
  13085. "hsby.QueryProvincesAndCitiesRsp": {
  13086. "type": "object",
  13087. "properties": {
  13088. "cities": {
  13089. "description": "市",
  13090. "type": "array",
  13091. "items": {
  13092. "$ref": "#/definitions/models.Division"
  13093. }
  13094. },
  13095. "province": {
  13096. "description": "省",
  13097. "$ref": "#/definitions/models.Division"
  13098. }
  13099. }
  13100. },
  13101. "models.Clientfixedadconfig": {
  13102. "type": "object",
  13103. "required": [
  13104. "adsort",
  13105. "adtype"
  13106. ],
  13107. "properties": {
  13108. "adsort": {
  13109. "description": "排序",
  13110. "type": "integer"
  13111. },
  13112. "adtype": {
  13113. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13114. "type": "integer"
  13115. },
  13116. "areauserid": {
  13117. "description": "所属机构ID",
  13118. "type": "integer"
  13119. },
  13120. "createdate": {
  13121. "description": "创建时间",
  13122. "type": "string"
  13123. },
  13124. "creatorid": {
  13125. "description": "创建人",
  13126. "type": "integer"
  13127. },
  13128. "imagepath": {
  13129. "description": "图片",
  13130. "type": "string"
  13131. },
  13132. "isshow": {
  13133. "description": "是否展示 - 0:不展示 1:展示",
  13134. "type": "integer"
  13135. },
  13136. "modifierid": {
  13137. "description": "操作人",
  13138. "type": "integer"
  13139. },
  13140. "recsize": {
  13141. "description": "推荐尺寸",
  13142. "type": "string"
  13143. },
  13144. "title": {
  13145. "description": "标题",
  13146. "type": "string"
  13147. },
  13148. "updatedate": {
  13149. "description": "更新时间",
  13150. "type": "string"
  13151. },
  13152. "urlcontent": {
  13153. "description": "链接(地址或商品ID)",
  13154. "type": "string"
  13155. },
  13156. "urltype": {
  13157. "description": "链接类型 - 1:直接地址 2:商品ID",
  13158. "type": "integer"
  13159. }
  13160. }
  13161. },
  13162. "models.Division": {
  13163. "type": "object",
  13164. "required": [
  13165. "autoid",
  13166. "divisioncode"
  13167. ],
  13168. "properties": {
  13169. "autoid": {
  13170. "description": "自增ID",
  13171. "type": "integer"
  13172. },
  13173. "divisioncode": {
  13174. "description": "行政代码",
  13175. "type": "string"
  13176. },
  13177. "divisionlevel": {
  13178. "description": "行政级别",
  13179. "type": "string"
  13180. },
  13181. "divisionname": {
  13182. "description": "行政名称",
  13183. "type": "string"
  13184. },
  13185. "modifierid": {
  13186. "description": "修改人",
  13187. "type": "integer"
  13188. },
  13189. "modifytime": {
  13190. "description": "修改时间",
  13191. "type": "string"
  13192. },
  13193. "parentcode": {
  13194. "description": "上级行政代码",
  13195. "type": "string"
  13196. },
  13197. "pathname": {
  13198. "description": "路径名称",
  13199. "type": "string"
  13200. },
  13201. "postcode": {
  13202. "description": "邮政编码",
  13203. "type": "string"
  13204. },
  13205. "separablename": {
  13206. "description": "可拆分的全称",
  13207. "type": "string"
  13208. },
  13209. "shortcode": {
  13210. "description": "地区简码",
  13211. "type": "string"
  13212. }
  13213. }
  13214. },
  13215. "models.Enumdicitem": {
  13216. "type": "object",
  13217. "required": [
  13218. "autoid",
  13219. "enumdiccode",
  13220. "enumdicid",
  13221. "enumitemname"
  13222. ],
  13223. "properties": {
  13224. "autoid": {
  13225. "description": "自增ID",
  13226. "type": "integer"
  13227. },
  13228. "bankmappedvalue": {
  13229. "description": "银行服务对应值",
  13230. "type": "string"
  13231. },
  13232. "enumdiccode": {
  13233. "description": "所属枚举代码",
  13234. "type": "string"
  13235. },
  13236. "enumdicid": {
  13237. "description": "所属枚举ID",
  13238. "type": "integer"
  13239. },
  13240. "enumdicname": {
  13241. "description": "枚举项名称",
  13242. "type": "string"
  13243. },
  13244. "enumitemname": {
  13245. "description": "枚举项值",
  13246. "type": "integer"
  13247. },
  13248. "enumitemstatus": {
  13249. "description": "枚举项状态 - 1.启用 2.不启用",
  13250. "type": "integer"
  13251. },
  13252. "enumitemvalue": {
  13253. "description": "通用值 - [币种通用简写]",
  13254. "type": "string"
  13255. },
  13256. "param1": {
  13257. "description": "参数1[币种:币种小数位]",
  13258. "type": "string"
  13259. },
  13260. "param2": {
  13261. "description": "参数1[币种:币种显示单位]",
  13262. "type": "string"
  13263. },
  13264. "remark": {
  13265. "description": "备注",
  13266. "type": "string"
  13267. }
  13268. }
  13269. },
  13270. "models.ErmcpAreaStock": {
  13271. "type": "object",
  13272. "properties": {
  13273. "brandname": {
  13274. "description": "品牌名称",
  13275. "type": "string"
  13276. },
  13277. "curstock": {
  13278. "description": "期末库存量(今日量)",
  13279. "type": "number"
  13280. },
  13281. "deliverygoodsid": {
  13282. "description": "现货品种ID",
  13283. "type": "integer"
  13284. },
  13285. "enumdicname": {
  13286. "description": "单位名称",
  13287. "type": "string"
  13288. },
  13289. "modelname": {
  13290. "description": "型号名称",
  13291. "type": "string"
  13292. },
  13293. "oristock": {
  13294. "description": "期初库存量(昨日量)",
  13295. "type": "number"
  13296. },
  13297. "spotgoodsbrandid": {
  13298. "description": "现货品牌ID",
  13299. "type": "integer"
  13300. },
  13301. "spotgoodsmodelid": {
  13302. "description": "现货型号ID",
  13303. "type": "integer"
  13304. },
  13305. "todaybuyinqty": {
  13306. "description": "今日采购入库量",
  13307. "type": "number"
  13308. },
  13309. "todayproduceinqty": {
  13310. "description": "今日生产入库量",
  13311. "type": "number"
  13312. },
  13313. "todayproduceoutqty": {
  13314. "description": "今日生产出库量",
  13315. "type": "number"
  13316. },
  13317. "todayselloutqty": {
  13318. "description": "今日销售出库量",
  13319. "type": "number"
  13320. },
  13321. "unitid": {
  13322. "description": "单位id",
  13323. "type": "integer"
  13324. },
  13325. "updatetime": {
  13326. "description": "更新时间",
  13327. "type": "string"
  13328. },
  13329. "userid": {
  13330. "description": "机构ID",
  13331. "type": "integer"
  13332. },
  13333. "username": {
  13334. "description": "机构名称",
  13335. "type": "string"
  13336. },
  13337. "warehousecode": {
  13338. "description": "仓库代码",
  13339. "type": "string"
  13340. },
  13341. "warehouseinfoid": {
  13342. "description": "仓库ID",
  13343. "type": "string"
  13344. },
  13345. "warehousename": {
  13346. "description": "仓库名称",
  13347. "type": "string"
  13348. },
  13349. "warehousetype": {
  13350. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13351. "type": "integer"
  13352. },
  13353. "wrstandardcode": {
  13354. "description": "现货商品代码",
  13355. "type": "string"
  13356. },
  13357. "wrstandardid": {
  13358. "description": "现货商品ID",
  13359. "type": "string"
  13360. },
  13361. "wrstandardname": {
  13362. "description": "现货商品名称",
  13363. "type": "string"
  13364. }
  13365. }
  13366. },
  13367. "models.ErmcpAreaStockApply": {
  13368. "type": "object",
  13369. "properties": {
  13370. "applyid": {
  13371. "description": "申请人",
  13372. "type": "integer"
  13373. },
  13374. "applyname": {
  13375. "description": "申请人名称",
  13376. "type": "string"
  13377. },
  13378. "applyremark": {
  13379. "description": "申请备注",
  13380. "type": "string"
  13381. },
  13382. "applysrc": {
  13383. "description": "申请来源 - 1:管理端 2:终端",
  13384. "type": "integer"
  13385. },
  13386. "applystatus": {
  13387. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13388. "type": "integer"
  13389. },
  13390. "applytime": {
  13391. "description": "申请时间",
  13392. "type": "string"
  13393. },
  13394. "auditid": {
  13395. "description": "审核人",
  13396. "type": "integer"
  13397. },
  13398. "auditname": {
  13399. "description": "审核人名称",
  13400. "type": "string"
  13401. },
  13402. "auditremark": {
  13403. "description": "审核备注",
  13404. "type": "string"
  13405. },
  13406. "auditsrc": {
  13407. "description": "审核来源 - 1:管理端 2:终端",
  13408. "type": "integer"
  13409. },
  13410. "audittime": {
  13411. "description": "审核时间",
  13412. "type": "string"
  13413. },
  13414. "audittradedate": {
  13415. "description": "审核交易日(yyyyMMdd)",
  13416. "type": "string"
  13417. },
  13418. "brandname": {
  13419. "description": "品牌名称",
  13420. "type": "string"
  13421. },
  13422. "buyuserid": {
  13423. "description": "采购方userid",
  13424. "type": "integer"
  13425. },
  13426. "buyusername": {
  13427. "description": "采购方名称",
  13428. "type": "string"
  13429. },
  13430. "contractno": {
  13431. "description": "合同编号",
  13432. "type": "string"
  13433. },
  13434. "contractqty": {
  13435. "description": "合同量",
  13436. "type": "number"
  13437. },
  13438. "contracttype": {
  13439. "description": "现货合同类型 - 1:采购 -1:销售",
  13440. "type": "integer"
  13441. },
  13442. "deliverygoodsid": {
  13443. "description": "现货品种ID",
  13444. "type": "integer"
  13445. },
  13446. "enumdicname": {
  13447. "description": "现货商品单位名称",
  13448. "type": "string"
  13449. },
  13450. "inoutapplyid": {
  13451. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13452. "type": "string"
  13453. },
  13454. "inouttype": {
  13455. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13456. "type": "integer"
  13457. },
  13458. "modelname": {
  13459. "description": "型号名称",
  13460. "type": "string"
  13461. },
  13462. "pricetype": {
  13463. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13464. "type": "integer"
  13465. },
  13466. "qty": {
  13467. "description": "数量",
  13468. "type": "number"
  13469. },
  13470. "selluserid": {
  13471. "description": "销售方userid",
  13472. "type": "integer"
  13473. },
  13474. "sellusername": {
  13475. "description": "销售方名称",
  13476. "type": "string"
  13477. },
  13478. "spotcontractid": {
  13479. "description": "关联现货合同ID",
  13480. "type": "string"
  13481. },
  13482. "spotgoodsbrandid": {
  13483. "description": "现货品牌ID",
  13484. "type": "integer"
  13485. },
  13486. "spotgoodsmodelid": {
  13487. "description": "现货型号ID",
  13488. "type": "integer"
  13489. },
  13490. "unitid": {
  13491. "description": "单位id",
  13492. "type": "integer"
  13493. },
  13494. "userid": {
  13495. "description": "机构ID",
  13496. "type": "integer"
  13497. },
  13498. "warehousecode": {
  13499. "description": "仓库代码",
  13500. "type": "string"
  13501. },
  13502. "warehouseinfoid": {
  13503. "description": "现货仓库ID",
  13504. "type": "string"
  13505. },
  13506. "warehousename": {
  13507. "description": "仓库名称",
  13508. "type": "string"
  13509. },
  13510. "warehousetype": {
  13511. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13512. "type": "integer"
  13513. },
  13514. "wrstandardcode": {
  13515. "description": "现货商品代码",
  13516. "type": "string"
  13517. },
  13518. "wrstandardid": {
  13519. "description": "现货商品ID",
  13520. "type": "string"
  13521. },
  13522. "wrstandardname": {
  13523. "description": "现货商品名称",
  13524. "type": "string"
  13525. }
  13526. }
  13527. },
  13528. "models.ErmcpAreaStockReport": {
  13529. "type": "object",
  13530. "properties": {
  13531. "brandname": {
  13532. "description": "品牌名称",
  13533. "type": "string"
  13534. },
  13535. "curstock": {
  13536. "description": "期末库存量",
  13537. "type": "number"
  13538. },
  13539. "deliverygoodsid": {
  13540. "description": "现货品种ID",
  13541. "type": "integer"
  13542. },
  13543. "enumdicname": {
  13544. "description": "单位名称",
  13545. "type": "string"
  13546. },
  13547. "modelname": {
  13548. "description": "型号名称",
  13549. "type": "string"
  13550. },
  13551. "oristock": {
  13552. "description": "期初库存量",
  13553. "type": "number"
  13554. },
  13555. "spotgoodsbrandid": {
  13556. "description": "现货品牌ID",
  13557. "type": "integer"
  13558. },
  13559. "spotgoodsmodelid": {
  13560. "description": "现货型号ID",
  13561. "type": "integer"
  13562. },
  13563. "todaybuyinqty": {
  13564. "description": "今日采购入库量",
  13565. "type": "number"
  13566. },
  13567. "todayproduceinqty": {
  13568. "description": "今日生产入库量",
  13569. "type": "number"
  13570. },
  13571. "todayproduceoutqty": {
  13572. "description": "今日生产出库量",
  13573. "type": "number"
  13574. },
  13575. "todayselloutqty": {
  13576. "description": "今日销售出库量",
  13577. "type": "number"
  13578. },
  13579. "unitid": {
  13580. "description": "单位id",
  13581. "type": "integer"
  13582. },
  13583. "updatetime": {
  13584. "description": "更新时间",
  13585. "type": "string"
  13586. },
  13587. "userid": {
  13588. "description": "机构ID",
  13589. "type": "integer"
  13590. },
  13591. "username": {
  13592. "description": "机构名称",
  13593. "type": "string"
  13594. },
  13595. "warehousecode": {
  13596. "description": "仓库代码",
  13597. "type": "string"
  13598. },
  13599. "warehouseinfoid": {
  13600. "description": "仓库ID",
  13601. "type": "string"
  13602. },
  13603. "warehousename": {
  13604. "description": "仓库名称",
  13605. "type": "string"
  13606. },
  13607. "warehousetype": {
  13608. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13609. "type": "integer"
  13610. },
  13611. "wrstandardcode": {
  13612. "description": "现货商品代码",
  13613. "type": "string"
  13614. },
  13615. "wrstandardid": {
  13616. "description": "现货商品ID",
  13617. "type": "string"
  13618. },
  13619. "wrstandardname": {
  13620. "description": "现货商品名称",
  13621. "type": "string"
  13622. }
  13623. }
  13624. },
  13625. "models.ErmcpGoodsBrand": {
  13626. "type": "object",
  13627. "properties": {
  13628. "areauserid": {
  13629. "description": "所属机构",
  13630. "type": "integer"
  13631. },
  13632. "brandid": {
  13633. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13634. "type": "integer"
  13635. },
  13636. "brandname": {
  13637. "description": "品牌名称",
  13638. "type": "string"
  13639. },
  13640. "createtime": {
  13641. "description": "创建时间",
  13642. "type": "string"
  13643. },
  13644. "creatorid": {
  13645. "description": "创建人",
  13646. "type": "integer"
  13647. },
  13648. "creatorsrc": {
  13649. "description": "创建人来源 - 1:管理端 2:终端",
  13650. "type": "integer"
  13651. },
  13652. "deliverygoodsid": {
  13653. "description": "现货品种ID",
  13654. "type": "integer"
  13655. },
  13656. "isvalid": {
  13657. "description": "是否有效 - 0:无效 1:有效",
  13658. "type": "integer"
  13659. },
  13660. "updatetime": {
  13661. "description": "更新时间",
  13662. "type": "string"
  13663. },
  13664. "updatorid": {
  13665. "description": "更新人",
  13666. "type": "integer"
  13667. },
  13668. "updatorsrc": {
  13669. "description": "更新人来源 - 1:管理端 2:终端",
  13670. "type": "integer"
  13671. },
  13672. "wrstandardid": {
  13673. "description": "现货商品ID",
  13674. "type": "integer"
  13675. }
  13676. }
  13677. },
  13678. "models.ErmcpGoodsModel": {
  13679. "type": "object",
  13680. "properties": {
  13681. "areauserid": {
  13682. "description": "所属机构",
  13683. "type": "integer"
  13684. },
  13685. "convertfactor": {
  13686. "description": "标仓系数",
  13687. "type": "number"
  13688. },
  13689. "createtime": {
  13690. "description": "创建时间",
  13691. "type": "string"
  13692. },
  13693. "creatorid": {
  13694. "description": "创建人",
  13695. "type": "integer"
  13696. },
  13697. "creatorsrc": {
  13698. "description": "创建人来源 - 1:管理端 2:终端",
  13699. "type": "integer"
  13700. },
  13701. "deliverygoodsid": {
  13702. "description": "现货品种ID",
  13703. "type": "integer"
  13704. },
  13705. "isvalid": {
  13706. "description": "是否有效 - 0:无效 1:有效",
  13707. "type": "integer"
  13708. },
  13709. "modelid": {
  13710. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13711. "type": "integer"
  13712. },
  13713. "modelname": {
  13714. "description": "型号名称",
  13715. "type": "string"
  13716. },
  13717. "updatetime": {
  13718. "description": "更新时间",
  13719. "type": "string"
  13720. },
  13721. "updatorid": {
  13722. "description": "更新人",
  13723. "type": "integer"
  13724. },
  13725. "updatorsrc": {
  13726. "description": "更新人来源 - 1:管理端 2:终端",
  13727. "type": "integer"
  13728. },
  13729. "wrstandardid": {
  13730. "description": "现货商品ID",
  13731. "type": "integer"
  13732. }
  13733. }
  13734. },
  13735. "models.ErmcpHisExposure": {
  13736. "type": "object",
  13737. "properties": {
  13738. "needhedgeexposoure": {
  13739. "description": "应套保敞口",
  13740. "type": "number"
  13741. },
  13742. "reckondate": {
  13743. "description": "日照时期(yyyyMMdd)",
  13744. "type": "string"
  13745. },
  13746. "totalexposure": {
  13747. "description": "总敞口",
  13748. "type": "number"
  13749. }
  13750. }
  13751. },
  13752. "models.ErmcpMiddleGoodsModel": {
  13753. "type": "object",
  13754. "properties": {
  13755. "areauserid": {
  13756. "description": "机构用户ID",
  13757. "type": "integer"
  13758. },
  13759. "createtime": {
  13760. "description": "修改时间",
  13761. "type": "string"
  13762. },
  13763. "enumdicname": {
  13764. "description": "单位名称",
  13765. "type": "string"
  13766. },
  13767. "evaluateratio": {
  13768. "description": "估价系数",
  13769. "type": "number"
  13770. },
  13771. "goodsgroupid": {
  13772. "description": "关联期货品种ID",
  13773. "type": "integer"
  13774. },
  13775. "isvalid": {
  13776. "description": "状态 0-无效(停用) 1-有效(正常)",
  13777. "type": "integer"
  13778. },
  13779. "middlegoodscode": {
  13780. "description": "套保品种代码",
  13781. "type": "string"
  13782. },
  13783. "middlegoodsid": {
  13784. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13785. "type": "integer"
  13786. },
  13787. "middlegoodsname": {
  13788. "description": "套保品种名称",
  13789. "type": "string"
  13790. },
  13791. "modifytime": {
  13792. "description": "修改时间",
  13793. "type": "string"
  13794. },
  13795. "needhedgeratio": {
  13796. "description": "套保比率",
  13797. "type": "number"
  13798. },
  13799. "qtydecimalplace": {
  13800. "description": "数量小数位",
  13801. "type": "integer"
  13802. },
  13803. "relatedgoodsid": {
  13804. "description": "关联交易商品ID",
  13805. "type": "integer"
  13806. },
  13807. "relatedgoodstype": {
  13808. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13809. "type": "integer"
  13810. },
  13811. "remark": {
  13812. "description": "备注",
  13813. "type": "string"
  13814. }
  13815. }
  13816. },
  13817. "models.ErmcpReportDayFR": {
  13818. "type": "object",
  13819. "properties": {
  13820. "areauserid": {
  13821. "description": "所属机构",
  13822. "type": "integer"
  13823. },
  13824. "collectinvoiceamount": {
  13825. "description": "今日开票金额",
  13826. "type": "number"
  13827. },
  13828. "collectinvoicecount": {
  13829. "description": "今日开票笔数",
  13830. "type": "integer"
  13831. },
  13832. "collectmoneyamount": {
  13833. "description": "今日收款金额",
  13834. "type": "number"
  13835. },
  13836. "collectmoneycount": {
  13837. "description": "今日收款笔数",
  13838. "type": "integer"
  13839. },
  13840. "payinvoiceamount": {
  13841. "description": "今日收票金额",
  13842. "type": "number"
  13843. },
  13844. "payinvoicecount": {
  13845. "description": "今日收票笔数",
  13846. "type": "integer"
  13847. },
  13848. "paymoneyamount": {
  13849. "description": "今日付款金额",
  13850. "type": "number"
  13851. },
  13852. "paymoneycount": {
  13853. "description": "今日付款笔数",
  13854. "type": "integer"
  13855. },
  13856. "reckondate": {
  13857. "description": "日照时期(yyyyMMdd)",
  13858. "type": "string"
  13859. },
  13860. "updatetime": {
  13861. "description": "更新时间",
  13862. "type": "string"
  13863. }
  13864. }
  13865. },
  13866. "models.ErmcpWrstandard": {
  13867. "type": "object",
  13868. "properties": {
  13869. "areauserid": {
  13870. "description": "所属机构",
  13871. "type": "integer"
  13872. },
  13873. "createtime": {
  13874. "description": "创建时间",
  13875. "type": "string"
  13876. },
  13877. "creatorid": {
  13878. "description": "创建人",
  13879. "type": "integer"
  13880. },
  13881. "deliverygoodsid": {
  13882. "description": "品种ID",
  13883. "type": "integer"
  13884. },
  13885. "enumdicname": {
  13886. "description": "单位名称",
  13887. "type": "string"
  13888. },
  13889. "isvalid": {
  13890. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13891. "type": "integer"
  13892. },
  13893. "minivalue": {
  13894. "description": "最小变动值",
  13895. "type": "integer"
  13896. },
  13897. "minivaluedp": {
  13898. "description": "最小变动值小数位",
  13899. "type": "integer"
  13900. },
  13901. "realminivalue": {
  13902. "description": "实际最小变动值",
  13903. "type": "integer"
  13904. },
  13905. "realminivaluedp": {
  13906. "description": "实际最小变动值小数位",
  13907. "type": "integer"
  13908. },
  13909. "remark": {
  13910. "description": "备注",
  13911. "type": "string"
  13912. },
  13913. "unitid": {
  13914. "description": "单位ID",
  13915. "type": "integer"
  13916. },
  13917. "updatetime": {
  13918. "description": "更新时间",
  13919. "type": "string"
  13920. },
  13921. "wrstandardcode": {
  13922. "description": "现货商品代码",
  13923. "type": "string"
  13924. },
  13925. "wrstandardid": {
  13926. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13927. "type": "integer"
  13928. },
  13929. "wrstandardname": {
  13930. "description": "现货商品名称",
  13931. "type": "string"
  13932. }
  13933. }
  13934. },
  13935. "models.Externalexchange": {
  13936. "type": "object",
  13937. "required": [
  13938. "autoid"
  13939. ],
  13940. "properties": {
  13941. "autoid": {
  13942. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13943. "type": "integer"
  13944. },
  13945. "exchangefullname": {
  13946. "description": "外部交易所全称",
  13947. "type": "string"
  13948. },
  13949. "exexchangecode": {
  13950. "description": "外部交易所代码",
  13951. "type": "string"
  13952. },
  13953. "exexchangename": {
  13954. "description": "外部交易所名称(简称)",
  13955. "type": "string"
  13956. },
  13957. "ismarketprice": {
  13958. "description": "是否支持市价 - 0:不支持 1:支持",
  13959. "type": "integer"
  13960. },
  13961. "quotegear": {
  13962. "description": "行情档位(1-10)",
  13963. "type": "integer"
  13964. },
  13965. "showbrokerflag": {
  13966. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13967. "type": "integer"
  13968. },
  13969. "updatetime": {
  13970. "description": "更新时间",
  13971. "type": "string"
  13972. }
  13973. }
  13974. },
  13975. "models.Funcmenulist": {
  13976. "type": "object",
  13977. "required": [
  13978. "resourcecode"
  13979. ],
  13980. "properties": {
  13981. "iconame": {
  13982. "description": "菜单图标",
  13983. "type": "string"
  13984. },
  13985. "menutype": {
  13986. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13987. "type": "integer"
  13988. },
  13989. "parentcode": {
  13990. "description": "上级资源代码",
  13991. "type": "string"
  13992. },
  13993. "remark": {
  13994. "description": "备注",
  13995. "type": "string"
  13996. },
  13997. "resourcecode": {
  13998. "description": "资源代码",
  13999. "type": "string"
  14000. },
  14001. "resourcelevel": {
  14002. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  14003. "type": "integer"
  14004. },
  14005. "resourcename": {
  14006. "description": "资源名",
  14007. "type": "string"
  14008. },
  14009. "sort": {
  14010. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  14011. "type": "integer"
  14012. },
  14013. "url": {
  14014. "description": "URL",
  14015. "type": "string"
  14016. }
  14017. }
  14018. },
  14019. "models.Goods": {
  14020. "type": "object",
  14021. "required": [
  14022. "goodscode",
  14023. "goodsid",
  14024. "goodsname",
  14025. "marketid"
  14026. ],
  14027. "properties": {
  14028. "agreeunit": {
  14029. "description": "合约单位",
  14030. "type": "number"
  14031. },
  14032. "auditaccountid": {
  14033. "description": "审核操作员账号",
  14034. "type": "integer"
  14035. },
  14036. "audittime": {
  14037. "description": "审核时间",
  14038. "type": "string"
  14039. },
  14040. "cancelaccountid": {
  14041. "description": "注销操作员账号",
  14042. "type": "integer"
  14043. },
  14044. "canceltime": {
  14045. "description": "注销时间",
  14046. "type": "string"
  14047. },
  14048. "closepricemode": {
  14049. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14050. "type": "integer"
  14051. },
  14052. "closepriceparam": {
  14053. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  14054. "type": "number"
  14055. },
  14056. "createtime": {
  14057. "description": "创建时间",
  14058. "type": "string"
  14059. },
  14060. "creatorid": {
  14061. "description": "创建人",
  14062. "type": "integer"
  14063. },
  14064. "currencyid": {
  14065. "description": "报价货币ID",
  14066. "type": "integer"
  14067. },
  14068. "cutmode": {
  14069. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  14070. "type": "integer"
  14071. },
  14072. "decimalplace": {
  14073. "description": "报价小数位",
  14074. "type": "integer"
  14075. },
  14076. "delistingdate": {
  14077. "description": "商品退市时间(状态:退市) -- 已作废",
  14078. "type": "string"
  14079. },
  14080. "delistingmode": {
  14081. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  14082. "type": "integer"
  14083. },
  14084. "deliveryflag": {
  14085. "description": "交割标志 - 0:不可交割 1:可交割",
  14086. "type": "integer"
  14087. },
  14088. "forceclosemode": {
  14089. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  14090. "type": "integer"
  14091. },
  14092. "forceclosevalue": {
  14093. "description": "定期强平参数 [收益权]",
  14094. "type": "integer"
  14095. },
  14096. "goodscode": {
  14097. "description": "商品代码(内部)",
  14098. "type": "string"
  14099. },
  14100. "goodscurrencyid": {
  14101. "description": "合约货币ID",
  14102. "type": "integer"
  14103. },
  14104. "goodsgroupid": {
  14105. "description": "所属商品组ID",
  14106. "type": "integer"
  14107. },
  14108. "goodsid": {
  14109. "description": "商品ID(自增ID SEQ_GOODS)",
  14110. "type": "integer"
  14111. },
  14112. "goodsname": {
  14113. "description": "商品名称",
  14114. "type": "string"
  14115. },
  14116. "goodsquotetype": {
  14117. "description": "合约报价类型: 1-直接报价 2-间接报价",
  14118. "type": "integer"
  14119. },
  14120. "goodsstatus": {
  14121. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14122. "type": "integer"
  14123. },
  14124. "goodstradetype": {
  14125. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  14126. "type": "integer"
  14127. },
  14128. "goodunitid": {
  14129. "description": "报价单位ID",
  14130. "type": "integer"
  14131. },
  14132. "hasquoter": {
  14133. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  14134. "type": "integer"
  14135. },
  14136. "hqprotecttime": {
  14137. "description": "行情保护时间(秒)",
  14138. "type": "integer"
  14139. },
  14140. "innerdealmode": {
  14141. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14142. "type": "integer"
  14143. },
  14144. "isbuylimited": {
  14145. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14146. "type": "integer"
  14147. },
  14148. "lasttradedate": {
  14149. "description": "最后交易日期(状态:待退市)",
  14150. "type": "string"
  14151. },
  14152. "listingdate": {
  14153. "description": "交易开始日期",
  14154. "type": "string"
  14155. },
  14156. "marketid": {
  14157. "description": "所属市场ID",
  14158. "type": "integer"
  14159. },
  14160. "modifierid": {
  14161. "description": "修改人",
  14162. "type": "integer"
  14163. },
  14164. "modifystatus": {
  14165. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14166. "type": "integer"
  14167. },
  14168. "modifytime": {
  14169. "description": "修改时间",
  14170. "type": "string"
  14171. },
  14172. "outerdealmode": {
  14173. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14174. "type": "integer"
  14175. },
  14176. "outgoodscode": {
  14177. "description": "商品代码(外部)",
  14178. "type": "string"
  14179. },
  14180. "qtydecimalplace": {
  14181. "description": "成交量小数位",
  14182. "type": "integer"
  14183. },
  14184. "quotegear": {
  14185. "description": "行情档位(1-10)",
  14186. "type": "integer"
  14187. },
  14188. "quoteminunit": {
  14189. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14190. "type": "integer"
  14191. },
  14192. "quoteshowtype": {
  14193. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14194. "type": "integer"
  14195. },
  14196. "quoteshowtypeinterval": {
  14197. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14198. "type": "integer"
  14199. },
  14200. "remark": {
  14201. "description": "备注",
  14202. "type": "string"
  14203. }
  14204. }
  14205. },
  14206. "models.GoodsBrand": {
  14207. "type": "object",
  14208. "properties": {
  14209. "brandid": {
  14210. "description": "品牌ID",
  14211. "type": "integer"
  14212. },
  14213. "brandname": {
  14214. "description": "品牌名称",
  14215. "type": "string"
  14216. },
  14217. "isvalid": {
  14218. "description": "是否有效 - 0:无效 1:有效",
  14219. "type": "integer"
  14220. }
  14221. }
  14222. },
  14223. "models.GoodsGroupConvert": {
  14224. "type": "object",
  14225. "properties": {
  14226. "convertratio": {
  14227. "description": "折算系数",
  14228. "type": "number"
  14229. },
  14230. "dstgoodsgroupid": {
  14231. "description": "目标期货品种ID",
  14232. "type": "integer"
  14233. },
  14234. "goodsgroupname": {
  14235. "description": "期货品种名称",
  14236. "type": "string"
  14237. },
  14238. "outergroupcode": {
  14239. "description": "期货品种代码",
  14240. "type": "string"
  14241. },
  14242. "srcgoodsgroupid": {
  14243. "description": "源期货品种ID",
  14244. "type": "integer"
  14245. }
  14246. }
  14247. },
  14248. "models.GoodsIDAndName": {
  14249. "type": "object",
  14250. "required": [
  14251. "goodscode",
  14252. "goodsid",
  14253. "goodsname",
  14254. "marketid"
  14255. ],
  14256. "properties": {
  14257. "goodscode": {
  14258. "description": "商品代码(内部)",
  14259. "type": "string"
  14260. },
  14261. "goodsid": {
  14262. "description": "商品ID(自增ID SEQ_GOODS)",
  14263. "type": "integer"
  14264. },
  14265. "goodsname": {
  14266. "description": "商品名称",
  14267. "type": "string"
  14268. },
  14269. "marketid": {
  14270. "description": "所属市场ID",
  14271. "type": "integer"
  14272. }
  14273. }
  14274. },
  14275. "models.GoodsTypeModel": {
  14276. "type": "object",
  14277. "properties": {
  14278. "modelid": {
  14279. "description": "型号ID",
  14280. "type": "integer"
  14281. },
  14282. "modelname": {
  14283. "description": "型号名称",
  14284. "type": "string"
  14285. },
  14286. "updatetime": {
  14287. "description": "更新时间",
  14288. "type": "string"
  14289. }
  14290. }
  14291. },
  14292. "models.Goodsgroup": {
  14293. "type": "object",
  14294. "required": [
  14295. "goodsgroupid",
  14296. "goodsgroupname",
  14297. "goodsgroupstatus",
  14298. "marketid"
  14299. ],
  14300. "properties": {
  14301. "agreeunit": {
  14302. "description": "合约单位",
  14303. "type": "number"
  14304. },
  14305. "canshort": {
  14306. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14307. "type": "integer"
  14308. },
  14309. "closepricemode": {
  14310. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14311. "type": "integer"
  14312. },
  14313. "closepriceparam": {
  14314. "description": "强平最新价浮动比例 - 方式为2时使用",
  14315. "type": "number"
  14316. },
  14317. "createtime": {
  14318. "description": "创建时间",
  14319. "type": "string"
  14320. },
  14321. "creatorid": {
  14322. "description": "创建人",
  14323. "type": "integer"
  14324. },
  14325. "currencyid": {
  14326. "description": "报价货币ID",
  14327. "type": "integer"
  14328. },
  14329. "decimalplace": {
  14330. "description": "报价小数位",
  14331. "type": "integer"
  14332. },
  14333. "exercisetype": {
  14334. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14335. "type": "integer"
  14336. },
  14337. "exexchangeid": {
  14338. "description": "外部交易所ID[通道交易]",
  14339. "type": "integer"
  14340. },
  14341. "goodsgroupid": {
  14342. "description": "商品组ID(自增ID)",
  14343. "type": "integer"
  14344. },
  14345. "goodsgroupname": {
  14346. "description": "商品组名称",
  14347. "type": "string"
  14348. },
  14349. "goodsgroupstatus": {
  14350. "description": "商品组状态 - 1:正常 2:注销",
  14351. "type": "integer"
  14352. },
  14353. "goodunitid": {
  14354. "description": "报价单位ID",
  14355. "type": "integer"
  14356. },
  14357. "innerdealmode": {
  14358. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14359. "type": "integer"
  14360. },
  14361. "isbuylimited": {
  14362. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14363. "type": "integer"
  14364. },
  14365. "marketid": {
  14366. "description": "所属市场ID",
  14367. "type": "integer"
  14368. },
  14369. "modifierid": {
  14370. "description": "修改人",
  14371. "type": "integer"
  14372. },
  14373. "modifytime": {
  14374. "description": "修改时间",
  14375. "type": "string"
  14376. },
  14377. "outerdealmode": {
  14378. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14379. "type": "integer"
  14380. },
  14381. "outergroupcode": {
  14382. "description": "外部商品组代码[通道交易]",
  14383. "type": "string"
  14384. },
  14385. "premiumdecimalplace": {
  14386. "description": "权利金小数位[场外期权]",
  14387. "type": "integer"
  14388. },
  14389. "premiumspreadalgorithm": {
  14390. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14391. "type": "integer"
  14392. },
  14393. "premiumspreadvalue": {
  14394. "description": "权利金点差值[场外期权]",
  14395. "type": "number"
  14396. },
  14397. "qtydecimalplace": {
  14398. "description": "成交量小数位",
  14399. "type": "integer"
  14400. },
  14401. "quotegear": {
  14402. "description": "行情档位(1-10)",
  14403. "type": "integer"
  14404. },
  14405. "quoteminunit": {
  14406. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14407. "type": "integer"
  14408. },
  14409. "quoterid": {
  14410. "description": "报价商ID[场外期权]",
  14411. "type": "integer"
  14412. },
  14413. "quotesourcegroupid": {
  14414. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14415. "type": "integer"
  14416. },
  14417. "syncgoodsqty": {
  14418. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14419. "type": "integer"
  14420. }
  14421. }
  14422. },
  14423. "models.Goodssortbypreposition": {
  14424. "type": "object",
  14425. "required": [
  14426. "goodscode",
  14427. "tradedate"
  14428. ],
  14429. "properties": {
  14430. "goodscode": {
  14431. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14432. "type": "string"
  14433. },
  14434. "goodsgroupcode": {
  14435. "description": "品种代码",
  14436. "type": "string"
  14437. },
  14438. "prepositionqty": {
  14439. "description": "昨持仓量",
  14440. "type": "integer"
  14441. },
  14442. "sortindex": {
  14443. "description": "排序",
  14444. "type": "integer"
  14445. },
  14446. "tradedate": {
  14447. "description": "交易日",
  14448. "type": "string"
  14449. },
  14450. "updatetime": {
  14451. "description": "更新时间",
  14452. "type": "string"
  14453. }
  14454. }
  14455. },
  14456. "models.HsbyBuyMyPayOrder": {
  14457. "type": "object",
  14458. "required": [
  14459. "goodscode",
  14460. "goodsname",
  14461. "tradeid",
  14462. "trademode"
  14463. ],
  14464. "properties": {
  14465. "agreeunit": {
  14466. "description": "合约单位",
  14467. "type": "number"
  14468. },
  14469. "buyaccountid": {
  14470. "description": "买方账号ID[报价币种]",
  14471. "type": "integer"
  14472. },
  14473. "buyorderid": {
  14474. "description": "买方委托单号",
  14475. "type": "string"
  14476. },
  14477. "createtime": {
  14478. "description": "创建时间",
  14479. "type": "string"
  14480. },
  14481. "currencysign": {
  14482. "description": "货币符号",
  14483. "type": "string"
  14484. },
  14485. "decimalplace": {
  14486. "description": "报价小数位",
  14487. "type": "integer"
  14488. },
  14489. "goodscode": {
  14490. "description": "商品代码(内部)",
  14491. "type": "string"
  14492. },
  14493. "goodsid": {
  14494. "description": "商品ID",
  14495. "type": "integer"
  14496. },
  14497. "goodsname": {
  14498. "description": "商品名称",
  14499. "type": "string"
  14500. },
  14501. "marketid": {
  14502. "description": "市场ID",
  14503. "type": "integer"
  14504. },
  14505. "offamount": {
  14506. "description": "优惠金额",
  14507. "type": "number"
  14508. },
  14509. "originalamount": {
  14510. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14511. "type": "number"
  14512. },
  14513. "payamount": {
  14514. "description": "支付金额 = TradeAmount + TradeCharge",
  14515. "type": "number"
  14516. },
  14517. "payflag": {
  14518. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14519. "type": "integer"
  14520. },
  14521. "paylimitedtime": {
  14522. "description": "支付期限",
  14523. "type": "string"
  14524. },
  14525. "paytime": {
  14526. "description": "付款时间",
  14527. "type": "string"
  14528. },
  14529. "picurls1": {
  14530. "description": "预售商品介绍图片[多张用逗号分隔]",
  14531. "type": "string"
  14532. },
  14533. "picurls2": {
  14534. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14535. "type": "string"
  14536. },
  14537. "sellaccountid": {
  14538. "description": "卖方账号ID[报价币种]",
  14539. "type": "integer"
  14540. },
  14541. "sellorderid": {
  14542. "description": "卖方委托单号",
  14543. "type": "string"
  14544. },
  14545. "tradeamount": {
  14546. "description": "成交金额",
  14547. "type": "number"
  14548. },
  14549. "tradecharge": {
  14550. "description": "成交手续费(买方)",
  14551. "type": "number"
  14552. },
  14553. "tradedate": {
  14554. "description": "交易日(yyyyMMdd)",
  14555. "type": "string"
  14556. },
  14557. "tradeid": {
  14558. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14559. "type": "string"
  14560. },
  14561. "trademode": {
  14562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14563. "type": "integer"
  14564. },
  14565. "tradeprice": {
  14566. "description": "成交价格",
  14567. "type": "number"
  14568. },
  14569. "tradeqty": {
  14570. "description": "成交数量",
  14571. "type": "integer"
  14572. },
  14573. "vendorname1": {
  14574. "description": "预售商品供应商名称",
  14575. "type": "string"
  14576. },
  14577. "vendorname2": {
  14578. "description": "挂牌商品供应商名称",
  14579. "type": "string"
  14580. }
  14581. }
  14582. },
  14583. "models.HsbyBuyMyTradeDetail": {
  14584. "type": "object",
  14585. "required": [
  14586. "accountid",
  14587. "buyorsell",
  14588. "goodscode",
  14589. "goodsid",
  14590. "goodsname",
  14591. "marketid",
  14592. "orderid",
  14593. "qty",
  14594. "time",
  14595. "trademode"
  14596. ],
  14597. "properties": {
  14598. "accountid": {
  14599. "description": "账户ID[报价币种]",
  14600. "type": "integer"
  14601. },
  14602. "agreeunit": {
  14603. "description": "合约单位",
  14604. "type": "number"
  14605. },
  14606. "amount": {
  14607. "description": "金额 = 价格 * 数量 * 合约单位",
  14608. "type": "number"
  14609. },
  14610. "buyorsell": {
  14611. "description": "买卖 - 0:买 1:卖",
  14612. "type": "integer"
  14613. },
  14614. "currencysign": {
  14615. "description": "货币符号",
  14616. "type": "string"
  14617. },
  14618. "decimalplace": {
  14619. "description": "报价小数位",
  14620. "type": "integer"
  14621. },
  14622. "goodscode": {
  14623. "description": "商品代码(内部)",
  14624. "type": "string"
  14625. },
  14626. "goodsid": {
  14627. "description": "商品ID",
  14628. "type": "integer"
  14629. },
  14630. "goodsname": {
  14631. "description": "商品名称",
  14632. "type": "string"
  14633. },
  14634. "marketid": {
  14635. "description": "市场ID",
  14636. "type": "integer"
  14637. },
  14638. "orderamount": {
  14639. "description": "委托金额",
  14640. "type": "number"
  14641. },
  14642. "orderid": {
  14643. "description": "单号(成交单号)",
  14644. "type": "string"
  14645. },
  14646. "picurls1": {
  14647. "description": "预售商品介绍图片[多张用逗号分隔]",
  14648. "type": "string"
  14649. },
  14650. "picurls2": {
  14651. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14652. "type": "string"
  14653. },
  14654. "price": {
  14655. "description": "价格",
  14656. "type": "number"
  14657. },
  14658. "qty": {
  14659. "description": "数量",
  14660. "type": "integer"
  14661. },
  14662. "time": {
  14663. "description": "时间",
  14664. "type": "string"
  14665. },
  14666. "trademode": {
  14667. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14668. "type": "integer"
  14669. },
  14670. "vendorname1": {
  14671. "description": "预售商品供应商名称",
  14672. "type": "string"
  14673. },
  14674. "vendorname2": {
  14675. "description": "挂牌商品供应商名称",
  14676. "type": "string"
  14677. }
  14678. }
  14679. },
  14680. "models.HsbyGoodsOrderDetail": {
  14681. "type": "object",
  14682. "required": [
  14683. "buyorsell",
  14684. "orderid",
  14685. "ordertime"
  14686. ],
  14687. "properties": {
  14688. "buyorsell": {
  14689. "description": "买卖 - 0:买 1:卖",
  14690. "type": "integer"
  14691. },
  14692. "currencysign": {
  14693. "description": "货币符号",
  14694. "type": "string"
  14695. },
  14696. "customername": {
  14697. "description": "客户名称(企业名称),已脱敏",
  14698. "type": "string"
  14699. },
  14700. "enableqty": {
  14701. "description": "可用数量",
  14702. "type": "integer"
  14703. },
  14704. "goodunit": {
  14705. "description": "报价单位",
  14706. "type": "string"
  14707. },
  14708. "orderid": {
  14709. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14710. "type": "string"
  14711. },
  14712. "orderprice": {
  14713. "description": "委托价格",
  14714. "type": "number"
  14715. },
  14716. "ordertime": {
  14717. "description": "委托时间",
  14718. "type": "string"
  14719. }
  14720. }
  14721. },
  14722. "models.HsbyListingGoodsDetail": {
  14723. "type": "object",
  14724. "required": [
  14725. "goodscode",
  14726. "goodsid",
  14727. "goodsname",
  14728. "marketid",
  14729. "trademode"
  14730. ],
  14731. "properties": {
  14732. "agreeunit": {
  14733. "description": "合约单位",
  14734. "type": "number"
  14735. },
  14736. "buymaxqty": {
  14737. "description": "购买上限 [71] - 0为不限",
  14738. "type": "integer"
  14739. },
  14740. "currency": {
  14741. "description": "货币",
  14742. "type": "string"
  14743. },
  14744. "currencysign": {
  14745. "description": "货币符号",
  14746. "type": "string"
  14747. },
  14748. "decimalplace": {
  14749. "description": "报价小数位",
  14750. "type": "integer"
  14751. },
  14752. "desccityid": {
  14753. "description": "目的地(市)ID",
  14754. "type": "integer"
  14755. },
  14756. "descprovinceid": {
  14757. "description": "目的地(省)ID",
  14758. "type": "integer"
  14759. },
  14760. "goodscode": {
  14761. "description": "商品代码(内部)",
  14762. "type": "string"
  14763. },
  14764. "goodsdesc": {
  14765. "description": "商品详情",
  14766. "type": "string"
  14767. },
  14768. "goodsid": {
  14769. "description": "商品ID(自增ID SEQ_GOODS)",
  14770. "type": "integer"
  14771. },
  14772. "goodsname": {
  14773. "description": "商品名称",
  14774. "type": "string"
  14775. },
  14776. "goodsprice": {
  14777. "description": "商品价格",
  14778. "type": "number"
  14779. },
  14780. "hotindex": {
  14781. "description": "景点热度",
  14782. "type": "integer"
  14783. },
  14784. "last": {
  14785. "description": "现价",
  14786. "type": "number"
  14787. },
  14788. "limitdown": {
  14789. "description": "跌停价",
  14790. "type": "number"
  14791. },
  14792. "limitup": {
  14793. "description": "涨停价",
  14794. "type": "number"
  14795. },
  14796. "lotsize": {
  14797. "description": "手数最小变动单位",
  14798. "type": "integer"
  14799. },
  14800. "marketid": {
  14801. "description": "所属市场ID",
  14802. "type": "integer"
  14803. },
  14804. "picurls": {
  14805. "description": "介绍图片[多张用逗号分隔]",
  14806. "type": "string"
  14807. },
  14808. "quoteminunit": {
  14809. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14810. "type": "integer"
  14811. },
  14812. "stepvalue": {
  14813. "description": "价格最小变动单位",
  14814. "type": "number"
  14815. },
  14816. "trademode": {
  14817. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14818. "type": "integer"
  14819. },
  14820. "vendorattr": {
  14821. "description": "供应商附件(多张,逗号分隔)",
  14822. "type": "string"
  14823. },
  14824. "vendorname": {
  14825. "description": "供应商名称",
  14826. "type": "string"
  14827. },
  14828. "vendorphone": {
  14829. "description": "供应商客服电话",
  14830. "type": "string"
  14831. },
  14832. "videourls": {
  14833. "description": "介绍视频[多张用逗号分隔]",
  14834. "type": "string"
  14835. }
  14836. }
  14837. },
  14838. "models.HsbyMarketGoods": {
  14839. "type": "object",
  14840. "required": [
  14841. "accountid",
  14842. "buyorsell",
  14843. "goodscode",
  14844. "goodsid",
  14845. "goodsname",
  14846. "marketid",
  14847. "orderid",
  14848. "trademode"
  14849. ],
  14850. "properties": {
  14851. "accountid": {
  14852. "description": "账户ID[报价币种]",
  14853. "type": "integer"
  14854. },
  14855. "agreeunit": {
  14856. "description": "合约单位",
  14857. "type": "number"
  14858. },
  14859. "buyorsell": {
  14860. "description": "买卖 - 0:买 1:卖",
  14861. "type": "integer"
  14862. },
  14863. "categoryid": {
  14864. "description": "类别ID(WRCATEGORY)",
  14865. "type": "integer"
  14866. },
  14867. "currency": {
  14868. "description": "货币",
  14869. "type": "string"
  14870. },
  14871. "currencysign": {
  14872. "description": "货币符号",
  14873. "type": "string"
  14874. },
  14875. "customername": {
  14876. "description": "卖家名称",
  14877. "type": "string"
  14878. },
  14879. "decimalplace": {
  14880. "description": "报价小数位",
  14881. "type": "integer"
  14882. },
  14883. "goodscode": {
  14884. "description": "商品代码(内部)",
  14885. "type": "string"
  14886. },
  14887. "goodsid": {
  14888. "description": "商品ID",
  14889. "type": "integer"
  14890. },
  14891. "goodsname": {
  14892. "description": "商品名称",
  14893. "type": "string"
  14894. },
  14895. "goodsprice": {
  14896. "description": "商品价格",
  14897. "type": "number"
  14898. },
  14899. "hascoupon": {
  14900. "description": "是否可用优惠卷",
  14901. "type": "boolean"
  14902. },
  14903. "hotindex": {
  14904. "description": "景点热度",
  14905. "type": "integer"
  14906. },
  14907. "marketid": {
  14908. "description": "市场ID",
  14909. "type": "integer"
  14910. },
  14911. "orderid": {
  14912. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14913. "type": "string"
  14914. },
  14915. "orderprice": {
  14916. "description": "委托价格",
  14917. "type": "number"
  14918. },
  14919. "orderstatus": {
  14920. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14921. "type": "integer"
  14922. },
  14923. "picurls": {
  14924. "description": "介绍图片[多张用逗号分隔]",
  14925. "type": "string"
  14926. },
  14927. "quoteminunit": {
  14928. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14929. "type": "integer"
  14930. },
  14931. "sellUserID": {
  14932. "description": "卖方UserID",
  14933. "type": "integer"
  14934. },
  14935. "trademode": {
  14936. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14937. "type": "integer"
  14938. },
  14939. "videourls": {
  14940. "description": "介绍视频[多张用逗号分隔]",
  14941. "type": "string"
  14942. }
  14943. }
  14944. },
  14945. "models.HsbyMarketGoodsDetail": {
  14946. "type": "object",
  14947. "required": [
  14948. "accountid",
  14949. "buyorsell",
  14950. "goodscode",
  14951. "goodsid",
  14952. "goodsname",
  14953. "marketid",
  14954. "orderid",
  14955. "orderqty",
  14956. "trademode"
  14957. ],
  14958. "properties": {
  14959. "accountid": {
  14960. "description": "账户ID[报价币种]",
  14961. "type": "integer"
  14962. },
  14963. "agreeunit": {
  14964. "description": "合约单位",
  14965. "type": "number"
  14966. },
  14967. "buymaxqty": {
  14968. "description": "购买上限 [71] - 0为不限",
  14969. "type": "integer"
  14970. },
  14971. "buyorsell": {
  14972. "description": "买卖 - 0:买 1:卖",
  14973. "type": "integer"
  14974. },
  14975. "cancelqty": {
  14976. "description": "撤单数量",
  14977. "type": "integer"
  14978. },
  14979. "categoryid": {
  14980. "description": "类别ID(WRCATEGORY)",
  14981. "type": "integer"
  14982. },
  14983. "currency": {
  14984. "description": "货币",
  14985. "type": "string"
  14986. },
  14987. "currencysign": {
  14988. "description": "货币符号",
  14989. "type": "string"
  14990. },
  14991. "customername": {
  14992. "description": "卖家名称",
  14993. "type": "string"
  14994. },
  14995. "decimalplace": {
  14996. "description": "报价小数位",
  14997. "type": "integer"
  14998. },
  14999. "goodscode": {
  15000. "description": "商品代码(内部)",
  15001. "type": "string"
  15002. },
  15003. "goodsdesc": {
  15004. "description": "商品详情",
  15005. "type": "string"
  15006. },
  15007. "goodsid": {
  15008. "description": "商品ID",
  15009. "type": "integer"
  15010. },
  15011. "goodsname": {
  15012. "description": "商品名称",
  15013. "type": "string"
  15014. },
  15015. "goodsprice": {
  15016. "description": "商品价格",
  15017. "type": "number"
  15018. },
  15019. "hotindex": {
  15020. "description": "景点热度",
  15021. "type": "integer"
  15022. },
  15023. "lotsize": {
  15024. "description": "手数最小变动单位",
  15025. "type": "integer"
  15026. },
  15027. "marketid": {
  15028. "description": "市场ID",
  15029. "type": "integer"
  15030. },
  15031. "orderid": {
  15032. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15033. "type": "string"
  15034. },
  15035. "orderprice": {
  15036. "description": "委托价格",
  15037. "type": "number"
  15038. },
  15039. "orderqty": {
  15040. "description": "委托数量",
  15041. "type": "integer"
  15042. },
  15043. "orderstatus": {
  15044. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15045. "type": "integer"
  15046. },
  15047. "picurls": {
  15048. "description": "介绍图片[多张用逗号分隔]",
  15049. "type": "string"
  15050. },
  15051. "quoteminunit": {
  15052. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15053. "type": "integer"
  15054. },
  15055. "sellUserID": {
  15056. "description": "卖方UserID",
  15057. "type": "integer"
  15058. },
  15059. "trademode": {
  15060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15061. "type": "integer"
  15062. },
  15063. "tradeqty": {
  15064. "description": "成交数量",
  15065. "type": "integer"
  15066. },
  15067. "vendorattr": {
  15068. "description": "供应商附件(多张,逗号分隔)",
  15069. "type": "string"
  15070. },
  15071. "vendorname": {
  15072. "description": "供应商名称",
  15073. "type": "string"
  15074. },
  15075. "vendorphone": {
  15076. "description": "供应商客服电话",
  15077. "type": "string"
  15078. },
  15079. "videourls": {
  15080. "description": "介绍视频[多张用逗号分隔]",
  15081. "type": "string"
  15082. }
  15083. }
  15084. },
  15085. "models.HsbyMarketInfo": {
  15086. "type": "object",
  15087. "required": [
  15088. "marketid",
  15089. "marketstatus",
  15090. "trademode"
  15091. ],
  15092. "properties": {
  15093. "marketid": {
  15094. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15095. "type": "integer"
  15096. },
  15097. "marketname": {
  15098. "description": "市场名称",
  15099. "type": "string"
  15100. },
  15101. "marketstatus": {
  15102. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15103. "type": "integer"
  15104. },
  15105. "trademode": {
  15106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15107. "type": "integer"
  15108. }
  15109. }
  15110. },
  15111. "models.HsbyMyGoods": {
  15112. "type": "object",
  15113. "required": [
  15114. "accountid",
  15115. "goodscode",
  15116. "goodsid",
  15117. "goodsname",
  15118. "marketid",
  15119. "trademode"
  15120. ],
  15121. "properties": {
  15122. "accountid": {
  15123. "description": "账号Id",
  15124. "type": "integer"
  15125. },
  15126. "agreeunit": {
  15127. "description": "合约单位",
  15128. "type": "number"
  15129. },
  15130. "buyaverageprice": {
  15131. "description": "持仓均价",
  15132. "type": "number"
  15133. },
  15134. "buycurholderamount": {
  15135. "description": "买当前持仓总金额[商品币种]",
  15136. "type": "number"
  15137. },
  15138. "buycurpositionqty": {
  15139. "description": "买当前持仓总数量",
  15140. "type": "integer"
  15141. },
  15142. "buymaxqty": {
  15143. "description": "购买上限 [71] - 0为不限",
  15144. "type": "integer"
  15145. },
  15146. "currencysign": {
  15147. "description": "货币符号",
  15148. "type": "string"
  15149. },
  15150. "decimalplace": {
  15151. "description": "报价小数位",
  15152. "type": "integer"
  15153. },
  15154. "enableqty": {
  15155. "description": "可用数量",
  15156. "type": "integer"
  15157. },
  15158. "goodscode": {
  15159. "description": "商品代码(内部)",
  15160. "type": "string"
  15161. },
  15162. "goodsid": {
  15163. "description": "商品Id",
  15164. "type": "integer"
  15165. },
  15166. "goodsname": {
  15167. "description": "商品名称",
  15168. "type": "string"
  15169. },
  15170. "goodsprice": {
  15171. "description": "商品价格",
  15172. "type": "number"
  15173. },
  15174. "goodsstatus": {
  15175. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15176. "type": "integer"
  15177. },
  15178. "last": {
  15179. "description": "现价(仅使用于挂牌点选)",
  15180. "type": "number"
  15181. },
  15182. "limitdown": {
  15183. "description": "跌停价(仅使用于挂牌点选)",
  15184. "type": "number"
  15185. },
  15186. "limitup": {
  15187. "description": "涨停价(仅使用于挂牌点选)",
  15188. "type": "number"
  15189. },
  15190. "lotsize": {
  15191. "description": "手数最小变动单位",
  15192. "type": "integer"
  15193. },
  15194. "marketid": {
  15195. "description": "所属市场ID",
  15196. "type": "integer"
  15197. },
  15198. "picurls": {
  15199. "description": "介绍图片[多张用逗号分隔]",
  15200. "type": "string"
  15201. },
  15202. "quoteminunit": {
  15203. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15204. "type": "integer"
  15205. },
  15206. "stepvalue": {
  15207. "description": "价格最小变动单位",
  15208. "type": "number"
  15209. },
  15210. "trademode": {
  15211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15212. "type": "integer"
  15213. }
  15214. }
  15215. },
  15216. "models.HsbyMyPackage": {
  15217. "type": "object",
  15218. "required": [
  15219. "goodscode",
  15220. "goodsname",
  15221. "takeorderid",
  15222. "trademode"
  15223. ],
  15224. "properties": {
  15225. "accountid": {
  15226. "description": "账户ID",
  15227. "type": "integer"
  15228. },
  15229. "address": {
  15230. "description": "提货人详细地址",
  15231. "type": "string"
  15232. },
  15233. "agreeunit": {
  15234. "description": "合约单位",
  15235. "type": "number"
  15236. },
  15237. "amount": {
  15238. "description": "提货金额",
  15239. "type": "number"
  15240. },
  15241. "auditer": {
  15242. "description": "审核人",
  15243. "type": "integer"
  15244. },
  15245. "audittime": {
  15246. "description": "审核时间",
  15247. "type": "string"
  15248. },
  15249. "averageprice": {
  15250. "description": "均价",
  15251. "type": "number"
  15252. },
  15253. "cardnum": {
  15254. "description": "提货人证件号码",
  15255. "type": "string"
  15256. },
  15257. "cardtypeid": {
  15258. "description": "提货人证件类型",
  15259. "type": "integer"
  15260. },
  15261. "checkremark": {
  15262. "description": "审核备注",
  15263. "type": "string"
  15264. },
  15265. "currencysign": {
  15266. "description": "货币符号",
  15267. "type": "string"
  15268. },
  15269. "decimalplace": {
  15270. "description": "报价小数位",
  15271. "type": "integer"
  15272. },
  15273. "goodscode": {
  15274. "description": "商品代码(内部)",
  15275. "type": "string"
  15276. },
  15277. "goodsid": {
  15278. "description": "商品ID",
  15279. "type": "integer"
  15280. },
  15281. "goodsname": {
  15282. "description": "商品名称",
  15283. "type": "string"
  15284. },
  15285. "handlestatus": {
  15286. "description": "处理状态",
  15287. "type": "integer"
  15288. },
  15289. "marketid": {
  15290. "description": "市场ID",
  15291. "type": "integer"
  15292. },
  15293. "phonenum": {
  15294. "description": "提货人联系方式",
  15295. "type": "string"
  15296. },
  15297. "picurls": {
  15298. "description": "介绍图片[多张用逗号分隔]",
  15299. "type": "string"
  15300. },
  15301. "qty": {
  15302. "description": "提货数量",
  15303. "type": "number"
  15304. },
  15305. "recivername": {
  15306. "description": "提货人姓名",
  15307. "type": "string"
  15308. },
  15309. "reqtime": {
  15310. "description": "更新时间",
  15311. "type": "string"
  15312. },
  15313. "takemode": {
  15314. "description": "提货方式 - 2:自提 3:配送",
  15315. "type": "integer"
  15316. },
  15317. "takeorderid": {
  15318. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15319. "type": "string"
  15320. },
  15321. "takeorderstatus": {
  15322. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15323. "type": "integer"
  15324. },
  15325. "takeremark": {
  15326. "description": "提货备注",
  15327. "type": "string"
  15328. },
  15329. "tradedate": {
  15330. "description": "交易日(yyyyMMdd)",
  15331. "type": "string"
  15332. },
  15333. "trademode": {
  15334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15335. "type": "integer"
  15336. },
  15337. "userid": {
  15338. "description": "用户ID",
  15339. "type": "integer"
  15340. },
  15341. "vendorname": {
  15342. "description": "供应商名称",
  15343. "type": "string"
  15344. }
  15345. }
  15346. },
  15347. "models.HsbyPreGoods": {
  15348. "type": "object",
  15349. "required": [
  15350. "goodscode",
  15351. "goodsid",
  15352. "goodsname",
  15353. "marketid",
  15354. "trademode"
  15355. ],
  15356. "properties": {
  15357. "agreeunit": {
  15358. "description": "合约单位",
  15359. "type": "number"
  15360. },
  15361. "currency": {
  15362. "description": "货币",
  15363. "type": "string"
  15364. },
  15365. "currencysign": {
  15366. "description": "货币符号",
  15367. "type": "string"
  15368. },
  15369. "decimalplace": {
  15370. "description": "报价小数位",
  15371. "type": "integer"
  15372. },
  15373. "desccityid": {
  15374. "description": "目的地(市)",
  15375. "type": "integer"
  15376. },
  15377. "descprovinceid": {
  15378. "description": "目的地(省)",
  15379. "type": "integer"
  15380. },
  15381. "enableqty": {
  15382. "description": "剩余数量",
  15383. "type": "integer"
  15384. },
  15385. "goodscode": {
  15386. "description": "商品代码(内部)",
  15387. "type": "string"
  15388. },
  15389. "goodsid": {
  15390. "description": "商品ID(自增ID SEQ_GOODS)",
  15391. "type": "integer"
  15392. },
  15393. "goodsname": {
  15394. "description": "商品名称",
  15395. "type": "string"
  15396. },
  15397. "goodsstatus": {
  15398. "description": "商品状态- 2:未上市 3:上市",
  15399. "type": "integer"
  15400. },
  15401. "lasttradedate": {
  15402. "description": "最后交易日期(状态:待退市)",
  15403. "type": "string"
  15404. },
  15405. "listingdate": {
  15406. "description": "交易开始日期",
  15407. "type": "string"
  15408. },
  15409. "marketid": {
  15410. "description": "所属市场ID",
  15411. "type": "integer"
  15412. },
  15413. "picurls": {
  15414. "description": "介绍图片[多张用逗号分隔]",
  15415. "type": "string"
  15416. },
  15417. "presaledqty": {
  15418. "description": "已预售量(预售结束时更新)",
  15419. "type": "integer"
  15420. },
  15421. "presaleqty": {
  15422. "description": "预售数量",
  15423. "type": "integer"
  15424. },
  15425. "quoteminunit": {
  15426. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15427. "type": "integer"
  15428. },
  15429. "refprice": {
  15430. "description": "参考价格[一口价]",
  15431. "type": "number"
  15432. },
  15433. "relatedgoodsid": {
  15434. "description": "关联交易合约ID",
  15435. "type": "integer"
  15436. },
  15437. "trademode": {
  15438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15439. "type": "integer"
  15440. },
  15441. "videourls": {
  15442. "description": "介绍视频[多张用逗号分隔]",
  15443. "type": "string"
  15444. }
  15445. }
  15446. },
  15447. "models.HsbyPreGoodsDetail": {
  15448. "type": "object",
  15449. "required": [
  15450. "goodscode",
  15451. "goodsid",
  15452. "goodsname",
  15453. "marketid",
  15454. "trademode"
  15455. ],
  15456. "properties": {
  15457. "agreeunit": {
  15458. "description": "合约单位",
  15459. "type": "number"
  15460. },
  15461. "buymaxqty": {
  15462. "description": "购买上限 [71] - 0为不限",
  15463. "type": "integer"
  15464. },
  15465. "currency": {
  15466. "description": "货币",
  15467. "type": "string"
  15468. },
  15469. "currencysign": {
  15470. "description": "货币符号",
  15471. "type": "string"
  15472. },
  15473. "customername": {
  15474. "description": "发行单位",
  15475. "type": "string"
  15476. },
  15477. "decimalplace": {
  15478. "description": "报价小数位",
  15479. "type": "integer"
  15480. },
  15481. "desccityid": {
  15482. "description": "目的地(市)ID",
  15483. "type": "integer"
  15484. },
  15485. "descprovinceid": {
  15486. "description": "目的地(省)ID",
  15487. "type": "integer"
  15488. },
  15489. "enableqty": {
  15490. "description": "剩余数量",
  15491. "type": "integer"
  15492. },
  15493. "goodscode": {
  15494. "description": "商品代码(内部)",
  15495. "type": "string"
  15496. },
  15497. "goodsdesc": {
  15498. "description": "商品详情",
  15499. "type": "string"
  15500. },
  15501. "goodsid": {
  15502. "description": "商品ID(自增ID SEQ_GOODS)",
  15503. "type": "integer"
  15504. },
  15505. "goodsname": {
  15506. "description": "商品名称",
  15507. "type": "string"
  15508. },
  15509. "goodsstatus": {
  15510. "description": "商品状态- 2:未上市 3:上市",
  15511. "type": "integer"
  15512. },
  15513. "goodunit": {
  15514. "description": "报价单位",
  15515. "type": "string"
  15516. },
  15517. "lasttradedate": {
  15518. "description": "最后交易日期(状态:待退市)",
  15519. "type": "string"
  15520. },
  15521. "listingdate": {
  15522. "description": "交易开始日期",
  15523. "type": "string"
  15524. },
  15525. "lotsize": {
  15526. "description": "手数最小变动单位",
  15527. "type": "integer"
  15528. },
  15529. "marketid": {
  15530. "description": "所属市场ID",
  15531. "type": "integer"
  15532. },
  15533. "picurls": {
  15534. "description": "介绍图片[多张用逗号分隔]",
  15535. "type": "string"
  15536. },
  15537. "presaledqty": {
  15538. "description": "已预售量(预售结束时更新)",
  15539. "type": "integer"
  15540. },
  15541. "presaleqty": {
  15542. "description": "预售数量",
  15543. "type": "integer"
  15544. },
  15545. "quoteminunit": {
  15546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15547. "type": "integer"
  15548. },
  15549. "refprice": {
  15550. "description": "参考价格[一口价]",
  15551. "type": "number"
  15552. },
  15553. "relatedgoodsid": {
  15554. "description": "关联交易合约ID",
  15555. "type": "integer"
  15556. },
  15557. "stepvalue": {
  15558. "description": "价格最小变动单位",
  15559. "type": "number"
  15560. },
  15561. "trademode": {
  15562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15563. "type": "integer"
  15564. },
  15565. "vendorattr": {
  15566. "description": "供应商附件(多张,逗号分隔)",
  15567. "type": "string"
  15568. },
  15569. "vendorname": {
  15570. "description": "供应商名称",
  15571. "type": "string"
  15572. },
  15573. "vendorphone": {
  15574. "description": "供应商客服电话",
  15575. "type": "string"
  15576. },
  15577. "videourls": {
  15578. "description": "介绍视频[多张用逗号分隔]",
  15579. "type": "string"
  15580. }
  15581. }
  15582. },
  15583. "models.HsbySellCollectionOrder": {
  15584. "type": "object",
  15585. "required": [
  15586. "goodscode",
  15587. "goodsname",
  15588. "tradeid",
  15589. "trademode"
  15590. ],
  15591. "properties": {
  15592. "agreeunit": {
  15593. "description": "合约单位",
  15594. "type": "number"
  15595. },
  15596. "buyaccountid": {
  15597. "description": "买方账号ID[报价币种]",
  15598. "type": "integer"
  15599. },
  15600. "buyorderid": {
  15601. "description": "买方委托单号",
  15602. "type": "string"
  15603. },
  15604. "createtime": {
  15605. "description": "创建时间",
  15606. "type": "string"
  15607. },
  15608. "currencysign": {
  15609. "description": "货币符号",
  15610. "type": "string"
  15611. },
  15612. "decimalplace": {
  15613. "description": "报价小数位",
  15614. "type": "integer"
  15615. },
  15616. "goodscode": {
  15617. "description": "商品代码(内部)",
  15618. "type": "string"
  15619. },
  15620. "goodsid": {
  15621. "description": "商品ID",
  15622. "type": "integer"
  15623. },
  15624. "goodsname": {
  15625. "description": "商品名称",
  15626. "type": "string"
  15627. },
  15628. "marketid": {
  15629. "description": "市场ID",
  15630. "type": "integer"
  15631. },
  15632. "offamount": {
  15633. "description": "优惠金额",
  15634. "type": "number"
  15635. },
  15636. "payamount": {
  15637. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15638. "type": "number"
  15639. },
  15640. "payflag": {
  15641. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15642. "type": "integer"
  15643. },
  15644. "paylimitedtime": {
  15645. "description": "支付期限",
  15646. "type": "string"
  15647. },
  15648. "paytime": {
  15649. "description": "付款时间",
  15650. "type": "string"
  15651. },
  15652. "picurls": {
  15653. "description": "商品介绍图片[多张用逗号分隔]",
  15654. "type": "string"
  15655. },
  15656. "sellaccountid": {
  15657. "description": "卖方账号ID[报价币种]",
  15658. "type": "integer"
  15659. },
  15660. "sellorderid": {
  15661. "description": "卖方委托单号",
  15662. "type": "string"
  15663. },
  15664. "tradeamount": {
  15665. "description": "成交金额",
  15666. "type": "number"
  15667. },
  15668. "tradecharge": {
  15669. "description": "成交手续费(买方)",
  15670. "type": "number"
  15671. },
  15672. "tradedate": {
  15673. "description": "交易日(yyyyMMdd)",
  15674. "type": "string"
  15675. },
  15676. "tradeid": {
  15677. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15678. "type": "string"
  15679. },
  15680. "trademode": {
  15681. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15682. "type": "integer"
  15683. },
  15684. "tradeprice": {
  15685. "description": "成交价格",
  15686. "type": "number"
  15687. },
  15688. "tradeqty": {
  15689. "description": "成交数量",
  15690. "type": "integer"
  15691. }
  15692. }
  15693. },
  15694. "models.HsbySellMyDetail": {
  15695. "type": "object",
  15696. "required": [
  15697. "accountid",
  15698. "buyorsell",
  15699. "goodscode",
  15700. "goodsid",
  15701. "goodsname",
  15702. "marketid",
  15703. "orderid",
  15704. "time",
  15705. "trademode"
  15706. ],
  15707. "properties": {
  15708. "accountid": {
  15709. "description": "账户ID[报价币种]",
  15710. "type": "integer"
  15711. },
  15712. "agreeunit": {
  15713. "description": "合约单位",
  15714. "type": "number"
  15715. },
  15716. "buyorsell": {
  15717. "description": "买卖 - 0:买 1:卖",
  15718. "type": "integer"
  15719. },
  15720. "currencysign": {
  15721. "description": "货币符号",
  15722. "type": "string"
  15723. },
  15724. "decimalplace": {
  15725. "description": "报价小数位",
  15726. "type": "integer"
  15727. },
  15728. "goodscode": {
  15729. "description": "商品代码(内部)",
  15730. "type": "string"
  15731. },
  15732. "goodsid": {
  15733. "description": "商品ID",
  15734. "type": "integer"
  15735. },
  15736. "goodsname": {
  15737. "description": "商品名称",
  15738. "type": "string"
  15739. },
  15740. "marketid": {
  15741. "description": "市场ID",
  15742. "type": "integer"
  15743. },
  15744. "orderid": {
  15745. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15746. "type": "string"
  15747. },
  15748. "ordertype": {
  15749. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15750. "type": "integer"
  15751. },
  15752. "picurls": {
  15753. "description": "介绍图片[多张用逗号分隔]",
  15754. "type": "string"
  15755. },
  15756. "price": {
  15757. "description": "价格",
  15758. "type": "number"
  15759. },
  15760. "qty": {
  15761. "description": "数量",
  15762. "type": "integer"
  15763. },
  15764. "time": {
  15765. "description": "时间",
  15766. "type": "string"
  15767. },
  15768. "trademode": {
  15769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15770. "type": "integer"
  15771. },
  15772. "vendorname": {
  15773. "description": "供应商名称",
  15774. "type": "string"
  15775. }
  15776. }
  15777. },
  15778. "models.HsbyTopGoods": {
  15779. "type": "object",
  15780. "required": [
  15781. "goodscode",
  15782. "goodsid",
  15783. "goodsname",
  15784. "marketid",
  15785. "trademode"
  15786. ],
  15787. "properties": {
  15788. "agreeunit": {
  15789. "description": "合约单位",
  15790. "type": "number"
  15791. },
  15792. "currency": {
  15793. "description": "货币",
  15794. "type": "string"
  15795. },
  15796. "currencysign": {
  15797. "description": "货币符号",
  15798. "type": "string"
  15799. },
  15800. "decimalplace": {
  15801. "description": "报价小数位",
  15802. "type": "integer"
  15803. },
  15804. "desccityid": {
  15805. "description": "目的地(市)",
  15806. "type": "integer"
  15807. },
  15808. "descprovinceid": {
  15809. "description": "目的地(省)",
  15810. "type": "integer"
  15811. },
  15812. "goodscode": {
  15813. "description": "商品代码(内部)",
  15814. "type": "string"
  15815. },
  15816. "goodsid": {
  15817. "description": "商品ID(自增ID SEQ_GOODS)",
  15818. "type": "integer"
  15819. },
  15820. "goodsname": {
  15821. "description": "商品名称",
  15822. "type": "string"
  15823. },
  15824. "hotindex": {
  15825. "description": "景点热度",
  15826. "type": "integer"
  15827. },
  15828. "last": {
  15829. "description": "现价",
  15830. "type": "number"
  15831. },
  15832. "marketid": {
  15833. "description": "所属市场ID",
  15834. "type": "integer"
  15835. },
  15836. "picurls": {
  15837. "description": "介绍图片[多张用逗号分隔]",
  15838. "type": "string"
  15839. },
  15840. "quoteminunit": {
  15841. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15842. "type": "integer"
  15843. },
  15844. "trademode": {
  15845. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15846. "type": "integer"
  15847. },
  15848. "videourls": {
  15849. "description": "介绍视频[多张用逗号分隔]",
  15850. "type": "string"
  15851. }
  15852. }
  15853. },
  15854. "models.HybsMyBuyOrderDetail": {
  15855. "type": "object",
  15856. "required": [
  15857. "accountid",
  15858. "buyorsell",
  15859. "goodscode",
  15860. "goodsid",
  15861. "goodsname",
  15862. "marketid",
  15863. "orderid",
  15864. "orderqty",
  15865. "ordertime",
  15866. "trademode"
  15867. ],
  15868. "properties": {
  15869. "accountid": {
  15870. "description": "账户ID[报价币种]",
  15871. "type": "integer"
  15872. },
  15873. "agreeunit": {
  15874. "description": "合约单位",
  15875. "type": "number"
  15876. },
  15877. "buyorsell": {
  15878. "description": "买卖 - 0:买 1:卖",
  15879. "type": "integer"
  15880. },
  15881. "cancelqty": {
  15882. "description": "撤单数量",
  15883. "type": "integer"
  15884. },
  15885. "currencysign": {
  15886. "description": "货币符号",
  15887. "type": "string"
  15888. },
  15889. "decimalplace": {
  15890. "description": "报价小数位",
  15891. "type": "integer"
  15892. },
  15893. "goodscode": {
  15894. "description": "商品代码(内部)",
  15895. "type": "string"
  15896. },
  15897. "goodsid": {
  15898. "description": "商品ID",
  15899. "type": "integer"
  15900. },
  15901. "goodsname": {
  15902. "description": "商品名称",
  15903. "type": "string"
  15904. },
  15905. "listingselecttype": {
  15906. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15907. "type": "integer"
  15908. },
  15909. "marketid": {
  15910. "description": "市场ID",
  15911. "type": "integer"
  15912. },
  15913. "mybuystatus": {
  15914. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15915. "type": "integer"
  15916. },
  15917. "orderamount": {
  15918. "description": "委托金额",
  15919. "type": "number"
  15920. },
  15921. "orderid": {
  15922. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15923. "type": "string"
  15924. },
  15925. "orderprice": {
  15926. "description": "委托价格",
  15927. "type": "number"
  15928. },
  15929. "orderqty": {
  15930. "description": "委托数量",
  15931. "type": "integer"
  15932. },
  15933. "orderstatus": {
  15934. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15935. "type": "integer"
  15936. },
  15937. "ordertime": {
  15938. "description": "委托时间",
  15939. "type": "string"
  15940. },
  15941. "picurls1": {
  15942. "description": "预售商品介绍图片[多张用逗号分隔]",
  15943. "type": "string"
  15944. },
  15945. "picurls2": {
  15946. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15947. "type": "string"
  15948. },
  15949. "trademode": {
  15950. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15951. "type": "integer"
  15952. },
  15953. "tradeqty": {
  15954. "description": "成交数量",
  15955. "type": "integer"
  15956. },
  15957. "vendorname1": {
  15958. "description": "预售商品供应商名称",
  15959. "type": "string"
  15960. },
  15961. "vendorname2": {
  15962. "description": "挂牌商品供应商名称",
  15963. "type": "string"
  15964. }
  15965. }
  15966. },
  15967. "models.Loginaccount": {
  15968. "type": "object",
  15969. "required": [
  15970. "loginid"
  15971. ],
  15972. "properties": {
  15973. "canoutin": {
  15974. "description": "是否可出入金 - 0:不可 1:可",
  15975. "type": "integer"
  15976. },
  15977. "clientroleid": {
  15978. "description": "终端角色ID",
  15979. "type": "integer"
  15980. },
  15981. "haslogined": {
  15982. "description": "是否已登录 - 0:未登录 1:已登录",
  15983. "type": "integer"
  15984. },
  15985. "hasupdatedpwd": {
  15986. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15987. "type": "integer"
  15988. },
  15989. "lastloginip": {
  15990. "description": "最新登录地址",
  15991. "type": "string"
  15992. },
  15993. "lastloginmode": {
  15994. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15995. "type": "integer"
  15996. },
  15997. "lastloginremark": {
  15998. "description": "最新登录描述",
  15999. "type": "string"
  16000. },
  16001. "lastlogintime": {
  16002. "description": "最新登录时间",
  16003. "type": "string"
  16004. },
  16005. "logincode": {
  16006. "description": "登录代码",
  16007. "type": "string"
  16008. },
  16009. "loginfailnum": {
  16010. "description": "连续登录失败次数(登录成功时清零)",
  16011. "type": "integer"
  16012. },
  16013. "loginid": {
  16014. "description": "登陆账号",
  16015. "type": "integer"
  16016. },
  16017. "loginport": {
  16018. "description": "最新登录端口",
  16019. "type": "integer"
  16020. },
  16021. "loginstatus": {
  16022. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  16023. "type": "integer"
  16024. },
  16025. "loginusertype": {
  16026. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  16027. "type": "integer"
  16028. },
  16029. "modifierid": {
  16030. "description": "修改人",
  16031. "type": "integer"
  16032. },
  16033. "modifytime": {
  16034. "description": "修改时间",
  16035. "type": "string"
  16036. },
  16037. "pwdwrongcount": {
  16038. "description": "密码错误次数",
  16039. "type": "integer"
  16040. },
  16041. "taaccountrighttype": {
  16042. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  16043. "type": "integer"
  16044. },
  16045. "unfreezetime": {
  16046. "description": "账户解冻时间",
  16047. "type": "string"
  16048. },
  16049. "userid": {
  16050. "description": "用户ID",
  16051. "type": "integer"
  16052. }
  16053. }
  16054. },
  16055. "models.Market": {
  16056. "type": "object",
  16057. "required": [
  16058. "marketid",
  16059. "marketstatus",
  16060. "openmethod",
  16061. "reckonpricealgorithm",
  16062. "trademode",
  16063. "tradeproperty"
  16064. ],
  16065. "properties": {
  16066. "auctionwrtype": {
  16067. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  16068. "type": "integer"
  16069. },
  16070. "canacceptquote": {
  16071. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  16072. "type": "integer"
  16073. },
  16074. "cangoodsexercise": {
  16075. "description": "[期权]是否可现货行权- 0:否 1:是",
  16076. "type": "integer"
  16077. },
  16078. "cangoodsexercisetype": {
  16079. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  16080. "type": "integer"
  16081. },
  16082. "canmanualquotestrike": {
  16083. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  16084. "type": "integer"
  16085. },
  16086. "canmutistage": {
  16087. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  16088. "type": "integer"
  16089. },
  16090. "canpreexercise": {
  16091. "description": "[期权]是否可预申报- 0:否 1:是",
  16092. "type": "integer"
  16093. },
  16094. "clearinterval": {
  16095. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  16096. "type": "integer"
  16097. },
  16098. "contracttmp": {
  16099. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  16100. "type": "string"
  16101. },
  16102. "exchareaid": {
  16103. "description": "所属交易所,可以没有",
  16104. "type": "integer"
  16105. },
  16106. "goodstype": {
  16107. "description": "商品类型 - 1:交易商品 2:仓单商品",
  16108. "type": "integer"
  16109. },
  16110. "hasrebate": {
  16111. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  16112. "type": "integer"
  16113. },
  16114. "hastradecredit": {
  16115. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  16116. "type": "integer"
  16117. },
  16118. "haswr": {
  16119. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  16120. "type": "integer"
  16121. },
  16122. "isdeductmargin": {
  16123. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  16124. "type": "integer"
  16125. },
  16126. "isrecordsource": {
  16127. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  16128. "type": "integer"
  16129. },
  16130. "isreleasemargin": {
  16131. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  16132. "type": "integer"
  16133. },
  16134. "marginformula": {
  16135. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16136. "type": "integer"
  16137. },
  16138. "marginformula2": {
  16139. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16140. "type": "integer"
  16141. },
  16142. "marketid": {
  16143. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16144. "type": "integer"
  16145. },
  16146. "marketname": {
  16147. "description": "市场名称",
  16148. "type": "string"
  16149. },
  16150. "marketserviceid": {
  16151. "description": "市场服务ID",
  16152. "type": "integer"
  16153. },
  16154. "marketstatus": {
  16155. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16156. "type": "integer"
  16157. },
  16158. "markettype": {
  16159. "description": "市场类型- 1:非交易服务 2:交易服务",
  16160. "type": "integer"
  16161. },
  16162. "matchermode": {
  16163. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  16164. "type": "integer"
  16165. },
  16166. "openmethod": {
  16167. "description": "开盘模式 - 0 自动 1手动",
  16168. "type": "integer"
  16169. },
  16170. "otcuserid": {
  16171. "description": "场外期权做市商[场外期权]",
  16172. "type": "integer"
  16173. },
  16174. "outersynctime": {
  16175. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  16176. "type": "string"
  16177. },
  16178. "pendingflag": {
  16179. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  16180. "type": "integer"
  16181. },
  16182. "pendingtime": {
  16183. "description": "待开市时间[通道交易-对冲](HH:mm)",
  16184. "type": "string"
  16185. },
  16186. "performancetempid": {
  16187. "description": "履约计划模板ID - 作废",
  16188. "type": "integer"
  16189. },
  16190. "premiumquotemode": {
  16191. "description": "权利金报价方式 - 1:自动 2:手动",
  16192. "type": "integer"
  16193. },
  16194. "rebateratio": {
  16195. "description": "返利比率[竞价式]",
  16196. "type": "number"
  16197. },
  16198. "reckonorder": {
  16199. "description": "结算顺序",
  16200. "type": "integer"
  16201. },
  16202. "reckonpricealgorithm": {
  16203. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16204. "type": "integer"
  16205. },
  16206. "reckonpriceparam": {
  16207. "description": "结算价参数",
  16208. "type": "integer"
  16209. },
  16210. "reckontime": {
  16211. "description": "结算时间[通道交易-对冲](HH:mm)",
  16212. "type": "string"
  16213. },
  16214. "roleprioritytype": {
  16215. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16216. "type": "integer"
  16217. },
  16218. "selllistingauditflag": {
  16219. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16220. "type": "integer"
  16221. },
  16222. "trademarkettype": {
  16223. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16224. "type": "integer"
  16225. },
  16226. "trademode": {
  16227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16228. "type": "integer"
  16229. },
  16230. "tradeproperty": {
  16231. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16232. "type": "integer"
  16233. },
  16234. "tradetype": {
  16235. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16236. "type": "integer"
  16237. }
  16238. }
  16239. },
  16240. "models.Marketrun": {
  16241. "type": "object",
  16242. "required": [
  16243. "marketid",
  16244. "nexttradedate",
  16245. "reckonflag",
  16246. "runstatus",
  16247. "tradedate",
  16248. "tradedate2"
  16249. ],
  16250. "properties": {
  16251. "afternexttradedate": {
  16252. "description": "下下交易日",
  16253. "type": "string"
  16254. },
  16255. "clearquoteflag": {
  16256. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16257. "type": "integer"
  16258. },
  16259. "lastreckondate": {
  16260. "description": "最新交易日(结算成功)",
  16261. "type": "string"
  16262. },
  16263. "machinedate": {
  16264. "description": "机器时间",
  16265. "type": "string"
  16266. },
  16267. "manualflag": {
  16268. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16269. "type": "integer"
  16270. },
  16271. "marketid": {
  16272. "description": "市场ID",
  16273. "type": "integer"
  16274. },
  16275. "nexttradedate": {
  16276. "description": "下一交易日",
  16277. "type": "string"
  16278. },
  16279. "pretradedate": {
  16280. "description": "上一交易日",
  16281. "type": "string"
  16282. },
  16283. "reckonflag": {
  16284. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16285. "type": "integer"
  16286. },
  16287. "runstatus": {
  16288. "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.今日免清算",
  16289. "type": "integer"
  16290. },
  16291. "sectionid": {
  16292. "description": "时间段号[多时段时用]",
  16293. "type": "integer"
  16294. },
  16295. "tradedate": {
  16296. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16297. "type": "string"
  16298. },
  16299. "tradedate2": {
  16300. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16301. "type": "string"
  16302. },
  16303. "updatetime": {
  16304. "description": "更新时间",
  16305. "type": "string"
  16306. }
  16307. }
  16308. },
  16309. "models.Messageboard": {
  16310. "type": "object",
  16311. "required": [
  16312. "messageboardid"
  16313. ],
  16314. "properties": {
  16315. "contactnum": {
  16316. "description": "联系电话",
  16317. "type": "string"
  16318. },
  16319. "createtime": {
  16320. "description": "创建时间",
  16321. "type": "string"
  16322. },
  16323. "message": {
  16324. "description": "留言信息",
  16325. "type": "string"
  16326. },
  16327. "messageboardid": {
  16328. "description": "留言簿ID(SEQ_MessageBoard)",
  16329. "type": "integer"
  16330. },
  16331. "userid": {
  16332. "description": "用户ID",
  16333. "type": "integer"
  16334. }
  16335. }
  16336. },
  16337. "models.MyCoupon": {
  16338. "type": "object",
  16339. "required": [
  16340. "accountid",
  16341. "coupontypeid"
  16342. ],
  16343. "properties": {
  16344. "accountid": {
  16345. "description": "资金账户ID",
  16346. "type": "integer"
  16347. },
  16348. "areauserid": {
  16349. "description": "所属机构",
  16350. "type": "integer"
  16351. },
  16352. "conditionvalue": {
  16353. "description": "条件阈值(可为0)",
  16354. "type": "number"
  16355. },
  16356. "couponcategroy": {
  16357. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16358. "type": "integer"
  16359. },
  16360. "couponname": {
  16361. "description": "优惠券名称",
  16362. "type": "string"
  16363. },
  16364. "coupontypeid": {
  16365. "description": "优惠券类型ID",
  16366. "type": "string"
  16367. },
  16368. "couponvalue": {
  16369. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16370. "type": "number"
  16371. },
  16372. "curfreezeqty": {
  16373. "description": "期末冻结数量",
  16374. "type": "integer"
  16375. },
  16376. "curqty": {
  16377. "description": "期末数量",
  16378. "type": "integer"
  16379. },
  16380. "isgeneral": {
  16381. "description": "是否通用券 - 0:否 1:是",
  16382. "type": "integer"
  16383. },
  16384. "isunusable": {
  16385. "description": "是否不可用",
  16386. "type": "boolean"
  16387. },
  16388. "limitedflag": {
  16389. "description": "是否指定商品 - 0:不限 1:限制",
  16390. "type": "integer"
  16391. },
  16392. "limitedgoodsids": {
  16393. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16394. "type": "string"
  16395. },
  16396. "orifreezeqty": {
  16397. "description": "期初冻结数量",
  16398. "type": "integer"
  16399. },
  16400. "oriqty": {
  16401. "description": "期初数量",
  16402. "type": "integer"
  16403. },
  16404. "reasontype": {
  16405. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16406. "type": "integer"
  16407. },
  16408. "todaydecrease": {
  16409. "description": "今日减少",
  16410. "type": "integer"
  16411. },
  16412. "todayincrease": {
  16413. "description": "今日增加",
  16414. "type": "integer"
  16415. },
  16416. "userid": {
  16417. "description": "用户ID",
  16418. "type": "integer"
  16419. },
  16420. "userscope": {
  16421. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16422. "type": "string"
  16423. }
  16424. }
  16425. },
  16426. "models.MyCouponHold": {
  16427. "type": "object",
  16428. "required": [
  16429. "couponholdid"
  16430. ],
  16431. "properties": {
  16432. "accountid": {
  16433. "description": "资金账户ID",
  16434. "type": "integer"
  16435. },
  16436. "conditionvalue": {
  16437. "description": "条件阈值(可为0)",
  16438. "type": "number"
  16439. },
  16440. "couponcategroy": {
  16441. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16442. "type": "integer"
  16443. },
  16444. "couponholdid": {
  16445. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16446. "type": "string"
  16447. },
  16448. "couponname": {
  16449. "description": "优惠券名称",
  16450. "type": "string"
  16451. },
  16452. "coupontypeid": {
  16453. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16454. "type": "string"
  16455. },
  16456. "couponvalue": {
  16457. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16458. "type": "number"
  16459. },
  16460. "createtime": {
  16461. "description": "创建时间",
  16462. "type": "string"
  16463. },
  16464. "enddate": {
  16465. "description": "结束日期",
  16466. "type": "string"
  16467. },
  16468. "giveapplyid": {
  16469. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16470. "type": "integer"
  16471. },
  16472. "holdstatus": {
  16473. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16474. "type": "integer"
  16475. },
  16476. "isgeneral": {
  16477. "description": "是否通用券 - 0:否 1:是",
  16478. "type": "integer"
  16479. },
  16480. "limitedflag": {
  16481. "description": "是否指定商品 - 0:不限 1:限制",
  16482. "type": "integer"
  16483. },
  16484. "limitedgoodsids": {
  16485. "description": "指定商品IDs[逗号分隔]",
  16486. "type": "string"
  16487. },
  16488. "qty": {
  16489. "description": "数量(按1平铺)",
  16490. "type": "integer"
  16491. },
  16492. "startdate": {
  16493. "description": "开始日期",
  16494. "type": "string"
  16495. },
  16496. "userid": {
  16497. "description": "用户ID",
  16498. "type": "integer"
  16499. },
  16500. "userscope": {
  16501. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16502. "type": "string"
  16503. }
  16504. }
  16505. },
  16506. "models.MyUsedCoupon": {
  16507. "type": "object",
  16508. "required": [
  16509. "coupontypeid",
  16510. "orderid"
  16511. ],
  16512. "properties": {
  16513. "accountid": {
  16514. "description": "资金账户ID(买方)",
  16515. "type": "integer"
  16516. },
  16517. "conditionvalue": {
  16518. "description": "条件阈值(可为0)",
  16519. "type": "number"
  16520. },
  16521. "couponcategroy": {
  16522. "description": "种类 - 1:现金券 2:折扣券",
  16523. "type": "integer"
  16524. },
  16525. "couponname": {
  16526. "description": "优惠券名称",
  16527. "type": "string"
  16528. },
  16529. "coupontypeid": {
  16530. "description": "优惠券类型ID(买方)",
  16531. "type": "string"
  16532. },
  16533. "couponvalue": {
  16534. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16535. "type": "number"
  16536. },
  16537. "createtime": {
  16538. "description": "创建时间",
  16539. "type": "string"
  16540. },
  16541. "goodsid": {
  16542. "description": "商品ID",
  16543. "type": "integer"
  16544. },
  16545. "handlestatus": {
  16546. "description": "处理状态",
  16547. "type": "integer"
  16548. },
  16549. "marketid": {
  16550. "description": "市场ID",
  16551. "type": "integer"
  16552. },
  16553. "offamount": {
  16554. "description": "优惠金额",
  16555. "type": "number"
  16556. },
  16557. "orderid": {
  16558. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16559. "type": "string"
  16560. },
  16561. "sellaccountid": {
  16562. "description": "资金账户ID(卖方)",
  16563. "type": "integer"
  16564. },
  16565. "tradeamount": {
  16566. "description": "成交金额",
  16567. "type": "number"
  16568. },
  16569. "tradeid": {
  16570. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16571. "type": "string"
  16572. },
  16573. "usedqty": {
  16574. "description": "使用数量",
  16575. "type": "integer"
  16576. }
  16577. }
  16578. },
  16579. "models.OperationPrimaryMenu": {
  16580. "type": "object",
  16581. "properties": {
  16582. "Children": {
  16583. "description": "二级功能菜单",
  16584. "type": "array",
  16585. "items": {
  16586. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16587. }
  16588. },
  16589. "Key": {
  16590. "description": "菜单KEY",
  16591. "type": "string"
  16592. },
  16593. "Label": {
  16594. "description": "菜单标题",
  16595. "type": "string"
  16596. }
  16597. }
  16598. },
  16599. "models.OperationSecondaryMenu": {
  16600. "type": "object",
  16601. "properties": {
  16602. "Key": {
  16603. "description": "菜单KEY",
  16604. "type": "string"
  16605. },
  16606. "Label": {
  16607. "description": "菜单标题",
  16608. "type": "string"
  16609. },
  16610. "TabList": {
  16611. "description": "三级功能菜单",
  16612. "type": "array",
  16613. "items": {
  16614. "$ref": "#/definitions/models.OperationTabMenu"
  16615. }
  16616. }
  16617. }
  16618. },
  16619. "models.OperationTabMenu": {
  16620. "type": "object",
  16621. "properties": {
  16622. "Key": {
  16623. "description": "菜单KEY",
  16624. "type": "string"
  16625. },
  16626. "Label": {
  16627. "description": "菜单标题",
  16628. "type": "string"
  16629. }
  16630. }
  16631. },
  16632. "models.QueryErrorInfosRsp": {
  16633. "type": "object",
  16634. "required": [
  16635. "errorid"
  16636. ],
  16637. "properties": {
  16638. "description": {
  16639. "description": "异常描述",
  16640. "type": "string"
  16641. },
  16642. "errorcode": {
  16643. "description": "异常代码",
  16644. "type": "string"
  16645. },
  16646. "errorid": {
  16647. "description": "异常ID",
  16648. "type": "integer"
  16649. },
  16650. "modulecode": {
  16651. "description": "所属模块",
  16652. "type": "string"
  16653. },
  16654. "operatecode": {
  16655. "description": "所属操作",
  16656. "type": "string"
  16657. },
  16658. "rownumber": {
  16659. "description": "行号",
  16660. "type": "string"
  16661. }
  16662. }
  16663. },
  16664. "models.QueryHedgeOrderDetailRsp": {
  16665. "type": "object",
  16666. "properties": {
  16667. "accountid": {
  16668. "description": "账户ID",
  16669. "type": "integer"
  16670. },
  16671. "buyorsell": {
  16672. "description": "买卖 - 0:买 1:卖",
  16673. "type": "integer"
  16674. },
  16675. "cancellogincode": {
  16676. "description": "撤单人",
  16677. "type": "string"
  16678. },
  16679. "channelbuildtype": {
  16680. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16681. "type": "integer"
  16682. },
  16683. "channelinnerorderstatus": {
  16684. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16685. "type": "integer"
  16686. },
  16687. "channeloperatetype": {
  16688. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16689. "type": "integer"
  16690. },
  16691. "closetype": {
  16692. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16693. "type": "integer"
  16694. },
  16695. "curexchangerate": {
  16696. "description": "当前汇率",
  16697. "type": "number"
  16698. },
  16699. "exchangefullname": {
  16700. "description": "外部交易所全称",
  16701. "type": "string"
  16702. },
  16703. "goodscode": {
  16704. "description": "商品代码(内部)",
  16705. "type": "string"
  16706. },
  16707. "goodsid": {
  16708. "description": "商品ID",
  16709. "type": "integer"
  16710. },
  16711. "goodsname": {
  16712. "description": "商品名称",
  16713. "type": "string"
  16714. },
  16715. "marketid": {
  16716. "description": "市场ID",
  16717. "type": "integer"
  16718. },
  16719. "openfreezemargin": {
  16720. "description": "冻结保证金(冻结交易金额)",
  16721. "type": "number"
  16722. },
  16723. "orderid": {
  16724. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16725. "type": "string"
  16726. },
  16727. "orderlogincode": {
  16728. "description": "委托人",
  16729. "type": "string"
  16730. },
  16731. "orderprice": {
  16732. "description": "委托价格(账户)",
  16733. "type": "number"
  16734. },
  16735. "orderqty": {
  16736. "description": "委托数量",
  16737. "type": "integer"
  16738. },
  16739. "ordertime": {
  16740. "description": "委托时间",
  16741. "type": "string"
  16742. },
  16743. "pricemode": {
  16744. "description": "取价方式 - 1:市价 2: 限价",
  16745. "type": "integer"
  16746. },
  16747. "tradedate": {
  16748. "description": "交易日(yyyyMMdd)",
  16749. "type": "string"
  16750. },
  16751. "tradeqty": {
  16752. "description": "成交数量",
  16753. "type": "integer"
  16754. }
  16755. }
  16756. },
  16757. "models.QueryHedgeTradeDetailRsp": {
  16758. "type": "object",
  16759. "properties": {
  16760. "accountid": {
  16761. "description": "账号ID",
  16762. "type": "integer"
  16763. },
  16764. "buyorsell": {
  16765. "description": "方向 - 0:买 1:卖",
  16766. "type": "integer"
  16767. },
  16768. "channelbuildtype": {
  16769. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16770. "type": "integer"
  16771. },
  16772. "closecharge": {
  16773. "description": "平仓手续费(账户)",
  16774. "type": "number"
  16775. },
  16776. "closecharge2": {
  16777. "description": "平仓手续费(商品)",
  16778. "type": "number"
  16779. },
  16780. "closetype": {
  16781. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16782. "type": "integer"
  16783. },
  16784. "curexchangerate": {
  16785. "description": "当前汇率",
  16786. "type": "number"
  16787. },
  16788. "exchangefullname": {
  16789. "description": "外部交易所全称",
  16790. "type": "string"
  16791. },
  16792. "goodscode": {
  16793. "description": "商品代码(内部)",
  16794. "type": "string"
  16795. },
  16796. "goodsid": {
  16797. "description": "商品ID",
  16798. "type": "integer"
  16799. },
  16800. "goodsname": {
  16801. "description": "商品名称",
  16802. "type": "string"
  16803. },
  16804. "marketid": {
  16805. "description": "市场ID",
  16806. "type": "integer"
  16807. },
  16808. "opencharge": {
  16809. "description": "建仓手续费(账户)",
  16810. "type": "number"
  16811. },
  16812. "opencharge2": {
  16813. "description": "建仓手续费(商品)",
  16814. "type": "number"
  16815. },
  16816. "orderid": {
  16817. "description": "委托单号",
  16818. "type": "string"
  16819. },
  16820. "orderlogincode": {
  16821. "description": "委托人",
  16822. "type": "string"
  16823. },
  16824. "tradeamount": {
  16825. "description": "成交金额(账户)",
  16826. "type": "number"
  16827. },
  16828. "tradedate": {
  16829. "description": "交易日(yyyyMMdd)",
  16830. "type": "string"
  16831. },
  16832. "tradeid": {
  16833. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16834. "type": "string"
  16835. },
  16836. "tradeprice": {
  16837. "description": "成交价格",
  16838. "type": "number"
  16839. },
  16840. "tradeqty": {
  16841. "description": "成交数量",
  16842. "type": "integer"
  16843. },
  16844. "tradetime": {
  16845. "description": "成交时间",
  16846. "type": "string"
  16847. },
  16848. "tradetype": {
  16849. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16850. "type": "integer"
  16851. }
  16852. }
  16853. },
  16854. "models.QuotePrimaryMenu": {
  16855. "type": "object",
  16856. "properties": {
  16857. "Index": {
  16858. "description": "序号",
  16859. "type": "integer"
  16860. },
  16861. "Key": {
  16862. "description": "键名",
  16863. "type": "string"
  16864. },
  16865. "Name": {
  16866. "description": "菜单名称",
  16867. "type": "string"
  16868. },
  16869. "SubMenus": {
  16870. "description": "子菜单",
  16871. "type": "array",
  16872. "items": {
  16873. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16874. }
  16875. },
  16876. "SubTitleType": {
  16877. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16878. "type": "integer"
  16879. },
  16880. "TradeModes": {
  16881. "description": "包含市场交易类型",
  16882. "type": "string"
  16883. }
  16884. }
  16885. },
  16886. "models.QuoteSecondaryMenu": {
  16887. "type": "object",
  16888. "properties": {
  16889. "ExExchangeCode": {
  16890. "description": "外部交易所代码",
  16891. "type": "string"
  16892. },
  16893. "ExExchangeID": {
  16894. "description": "外部交易所ID",
  16895. "type": "integer"
  16896. },
  16897. "GoodsGroupIDs": {
  16898. "description": "商品组ID列表",
  16899. "type": "array",
  16900. "items": {
  16901. "type": "integer"
  16902. }
  16903. },
  16904. "Index": {
  16905. "description": "序号",
  16906. "type": "integer"
  16907. },
  16908. "MarketID": {
  16909. "description": "市场ID",
  16910. "type": "integer"
  16911. },
  16912. "MenuTitle": {
  16913. "description": "菜单标题(市场名称或外部交易所名称)",
  16914. "type": "string"
  16915. },
  16916. "TradeMode": {
  16917. "description": "交易模式",
  16918. "type": "integer"
  16919. }
  16920. }
  16921. },
  16922. "models.RelatedGoodsEx": {
  16923. "type": "object",
  16924. "properties": {
  16925. "goodscode": {
  16926. "description": "商品代码",
  16927. "type": "string"
  16928. },
  16929. "goodsid": {
  16930. "description": "商品id",
  16931. "type": "integer"
  16932. },
  16933. "goodsname": {
  16934. "description": "商品名称",
  16935. "type": "string"
  16936. }
  16937. }
  16938. },
  16939. "models.SearchGoods": {
  16940. "type": "object",
  16941. "required": [
  16942. "goodscode",
  16943. "goodsid",
  16944. "goodsname",
  16945. "marketid",
  16946. "trademode"
  16947. ],
  16948. "properties": {
  16949. "goodscode": {
  16950. "description": "商品代码(内部)",
  16951. "type": "string"
  16952. },
  16953. "goodsid": {
  16954. "description": "商品ID(自增ID SEQ_GOODS)",
  16955. "type": "integer"
  16956. },
  16957. "goodsname": {
  16958. "description": "商品名称",
  16959. "type": "string"
  16960. },
  16961. "marketid": {
  16962. "description": "所属市场ID",
  16963. "type": "integer"
  16964. },
  16965. "marketname": {
  16966. "description": "市场名称",
  16967. "type": "string"
  16968. },
  16969. "trademode": {
  16970. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16971. "type": "integer"
  16972. }
  16973. }
  16974. },
  16975. "models.Systemparam": {
  16976. "type": "object",
  16977. "required": [
  16978. "paramcode"
  16979. ],
  16980. "properties": {
  16981. "loginid": {
  16982. "description": "更新用户账号,登录账号",
  16983. "type": "string"
  16984. },
  16985. "modifyflag": {
  16986. "description": "修改标志0 不允许修改 1 允许修改",
  16987. "type": "integer"
  16988. },
  16989. "paramcode": {
  16990. "description": "参数代码",
  16991. "type": "string"
  16992. },
  16993. "paramname": {
  16994. "description": "参数名",
  16995. "type": "string"
  16996. },
  16997. "paramtype": {
  16998. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16999. "type": "integer"
  17000. },
  17001. "paramvalue": {
  17002. "description": "参数值",
  17003. "type": "string"
  17004. },
  17005. "paramvalue2": {
  17006. "description": "参数值(CLOB)",
  17007. "type": "string"
  17008. },
  17009. "regexpress": {
  17010. "description": "正则表达式",
  17011. "type": "string"
  17012. },
  17013. "remark": {
  17014. "description": "备注",
  17015. "type": "string"
  17016. },
  17017. "serverip": {
  17018. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  17019. "type": "string"
  17020. },
  17021. "showflag": {
  17022. "description": "是否显示0 不显示 1 显示",
  17023. "type": "integer"
  17024. },
  17025. "updatetime": {
  17026. "description": "更新时间",
  17027. "type": "string"
  17028. },
  17029. "userid": {
  17030. "description": "更新用户ID",
  17031. "type": "integer"
  17032. }
  17033. }
  17034. },
  17035. "models.Szdz3convertconfig": {
  17036. "type": "object",
  17037. "required": [
  17038. "converttype",
  17039. "innergoodsid",
  17040. "outergoodscode"
  17041. ],
  17042. "properties": {
  17043. "canin": {
  17044. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  17045. "type": "integer"
  17046. },
  17047. "canout": {
  17048. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  17049. "type": "integer"
  17050. },
  17051. "converttype": {
  17052. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  17053. "type": "integer"
  17054. },
  17055. "createtime": {
  17056. "description": "创建时间",
  17057. "type": "string"
  17058. },
  17059. "creatorid": {
  17060. "description": "创建人",
  17061. "type": "integer"
  17062. },
  17063. "daymaxvalue": {
  17064. "description": "当日最大转入限制",
  17065. "type": "number"
  17066. },
  17067. "freezedays": {
  17068. "description": "冻结天数 [5:花生米转交易]",
  17069. "type": "integer"
  17070. },
  17071. "innergoodsid": {
  17072. "description": "内部商品ID[交易]",
  17073. "type": "integer"
  17074. },
  17075. "inratio": {
  17076. "description": "目标值",
  17077. "type": "integer"
  17078. },
  17079. "modifierid": {
  17080. "description": "修改人",
  17081. "type": "integer"
  17082. },
  17083. "modifytime": {
  17084. "description": "修改时间",
  17085. "type": "string"
  17086. },
  17087. "outergoodscode": {
  17088. "description": "外部商品代码[JD\\PD]",
  17089. "type": "string"
  17090. },
  17091. "outratio": {
  17092. "description": "源值",
  17093. "type": "integer"
  17094. },
  17095. "pddecimalplace": {
  17096. "description": "PD小数位",
  17097. "type": "integer"
  17098. },
  17099. "timemaxvalue": {
  17100. "description": "单次最大转入限制",
  17101. "type": "number"
  17102. },
  17103. "timeminvalue": {
  17104. "description": "单次最小转入限制",
  17105. "type": "number"
  17106. }
  17107. }
  17108. },
  17109. "models.Szdz3searchwhitelist": {
  17110. "type": "object",
  17111. "required": [
  17112. "userid"
  17113. ],
  17114. "properties": {
  17115. "createtime": {
  17116. "description": "创建时间",
  17117. "type": "string"
  17118. },
  17119. "creatorid": {
  17120. "description": "创建人",
  17121. "type": "integer"
  17122. },
  17123. "modifierid": {
  17124. "description": "修改人",
  17125. "type": "integer"
  17126. },
  17127. "modifytime": {
  17128. "description": "修改时间",
  17129. "type": "string"
  17130. },
  17131. "userid": {
  17132. "description": "用户ID",
  17133. "type": "integer"
  17134. }
  17135. }
  17136. },
  17137. "models.Taaccount": {
  17138. "type": "object",
  17139. "required": [
  17140. "accountid",
  17141. "userid"
  17142. ],
  17143. "properties": {
  17144. "accountflag": {
  17145. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  17146. "type": "integer"
  17147. },
  17148. "accountid": {
  17149. "description": "资金账户ID",
  17150. "type": "integer"
  17151. },
  17152. "accountname": {
  17153. "description": "账户名称",
  17154. "type": "string"
  17155. },
  17156. "balance": {
  17157. "description": "期初余额",
  17158. "type": "number"
  17159. },
  17160. "capitalbalance": {
  17161. "description": "本金余额[外部子账户实际出入金余额]",
  17162. "type": "number"
  17163. },
  17164. "changeflag": {
  17165. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  17166. "type": "integer"
  17167. },
  17168. "changetime": {
  17169. "description": "账户状态变更时间",
  17170. "type": "string"
  17171. },
  17172. "closepl": {
  17173. "description": "今日平仓盈亏",
  17174. "type": "number"
  17175. },
  17176. "creditdecrease": {
  17177. "description": "今日授信减少",
  17178. "type": "number"
  17179. },
  17180. "creditincrease": {
  17181. "description": "今日授信增加",
  17182. "type": "number"
  17183. },
  17184. "currencyid": {
  17185. "description": "货币ID",
  17186. "type": "integer"
  17187. },
  17188. "currentbalance": {
  17189. "description": "期末余额",
  17190. "type": "number"
  17191. },
  17192. "freezecharge": {
  17193. "description": "手续费冻结",
  17194. "type": "number"
  17195. },
  17196. "freezemargin": {
  17197. "description": "冻结保证金",
  17198. "type": "number"
  17199. },
  17200. "fromaccountid": {
  17201. "description": "所属上级账户",
  17202. "type": "integer"
  17203. },
  17204. "inamount": {
  17205. "description": "今日入金金额(包括三方入金)",
  17206. "type": "number"
  17207. },
  17208. "ismain": {
  17209. "description": "是否母账号 0:不是母账户 1:是母账户",
  17210. "type": "integer"
  17211. },
  17212. "ismarketaccount": {
  17213. "description": "是否机构接单账号 0:不是 1:是",
  17214. "type": "integer"
  17215. },
  17216. "isreckonaccount": {
  17217. "description": "是否机构分润账号 0:不是 1:是",
  17218. "type": "integer"
  17219. },
  17220. "mortgagecredit": {
  17221. "description": "授信金额",
  17222. "type": "number"
  17223. },
  17224. "orifreezecharge": {
  17225. "description": "期初手续费冻结",
  17226. "type": "number"
  17227. },
  17228. "orifreezemargin": {
  17229. "description": "期初冻结保证金",
  17230. "type": "number"
  17231. },
  17232. "orimortgagecredit": {
  17233. "description": "期初授信金额",
  17234. "type": "number"
  17235. },
  17236. "oriothercredit": {
  17237. "description": "期初其它授信金额",
  17238. "type": "number"
  17239. },
  17240. "oriotherfreezemargin": {
  17241. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17242. "type": "number"
  17243. },
  17244. "orioutamountfreeze": {
  17245. "description": "期初出金冻结",
  17246. "type": "number"
  17247. },
  17248. "oriusedmargin": {
  17249. "description": "期初占用保证金",
  17250. "type": "number"
  17251. },
  17252. "othercredit": {
  17253. "description": "其它授信金额",
  17254. "type": "number"
  17255. },
  17256. "othercreditdecrease": {
  17257. "description": "今日其它授信减少",
  17258. "type": "number"
  17259. },
  17260. "othercreditincrease": {
  17261. "description": "今日其它授信增加",
  17262. "type": "number"
  17263. },
  17264. "otherfreezemargin": {
  17265. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17266. "type": "number"
  17267. },
  17268. "otherincome": {
  17269. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17270. "type": "number"
  17271. },
  17272. "otherpay": {
  17273. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17274. "type": "number"
  17275. },
  17276. "outamount": {
  17277. "description": "今日出金金额(包括三方出金)",
  17278. "type": "number"
  17279. },
  17280. "outamountfreeze": {
  17281. "description": "出金冻结",
  17282. "type": "number"
  17283. },
  17284. "outthreshold": {
  17285. "description": "出金阈值",
  17286. "type": "number"
  17287. },
  17288. "parentaccountid": {
  17289. "description": "所属根账号",
  17290. "type": "integer"
  17291. },
  17292. "paycharge": {
  17293. "description": "今日手续费支出",
  17294. "type": "number"
  17295. },
  17296. "relatedaccountstatus": {
  17297. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17298. "type": "integer"
  17299. },
  17300. "relateduserid": {
  17301. "description": "关联用户",
  17302. "type": "integer"
  17303. },
  17304. "serivcegroup": {
  17305. "description": "服务分组",
  17306. "type": "integer"
  17307. },
  17308. "signstatus": {
  17309. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17310. "type": "integer"
  17311. },
  17312. "sublevelpath": {
  17313. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17314. "type": "string"
  17315. },
  17316. "taaccounttype": {
  17317. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17318. "type": "integer"
  17319. },
  17320. "thirdinamount": {
  17321. "description": "今日三方入金",
  17322. "type": "number"
  17323. },
  17324. "thirdoutamount": {
  17325. "description": "今日三方出金",
  17326. "type": "number"
  17327. },
  17328. "tradestatus": {
  17329. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17330. "type": "integer"
  17331. },
  17332. "tradestatuschangetime": {
  17333. "description": "激活时间",
  17334. "type": "string"
  17335. },
  17336. "transferamount": {
  17337. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17338. "type": "number"
  17339. },
  17340. "usedmargin": {
  17341. "description": "占用保证金",
  17342. "type": "number"
  17343. },
  17344. "userid": {
  17345. "description": "用户ID",
  17346. "type": "integer"
  17347. }
  17348. }
  17349. },
  17350. "models.Tablecolumnconfig": {
  17351. "type": "object",
  17352. "required": [
  17353. "autoid"
  17354. ],
  17355. "properties": {
  17356. "aligntype": {
  17357. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17358. "type": "integer"
  17359. },
  17360. "autoid": {
  17361. "description": "AutoID",
  17362. "type": "integer"
  17363. },
  17364. "columnfield": {
  17365. "description": "列字段",
  17366. "type": "string"
  17367. },
  17368. "columntitle": {
  17369. "description": "列Title",
  17370. "type": "string"
  17371. },
  17372. "columnwidth": {
  17373. "description": "列宽",
  17374. "type": "string"
  17375. },
  17376. "formatterstring": {
  17377. "description": "格式化字符",
  17378. "type": "string"
  17379. },
  17380. "formattertype": {
  17381. "description": "格式化类型",
  17382. "type": "string"
  17383. },
  17384. "groupname": {
  17385. "description": "表头分组名称",
  17386. "type": "string"
  17387. },
  17388. "isshow": {
  17389. "description": "是否显示 - 0:不显示 1:显示",
  17390. "type": "integer"
  17391. },
  17392. "needsummary": {
  17393. "description": "是否需要汇总 - 0:不需要 1:需要",
  17394. "type": "integer"
  17395. },
  17396. "orderindex": {
  17397. "description": "顺序",
  17398. "type": "integer"
  17399. },
  17400. "remark": {
  17401. "description": "备注",
  17402. "type": "string"
  17403. },
  17404. "summarytype": {
  17405. "description": "汇总类型 - 1:加总 2:最后一个",
  17406. "type": "integer"
  17407. },
  17408. "tablekey": {
  17409. "description": "列表Key",
  17410. "type": "string"
  17411. }
  17412. }
  17413. },
  17414. "models.Useraccount": {
  17415. "type": "object",
  17416. "required": [
  17417. "userid"
  17418. ],
  17419. "properties": {
  17420. "accountname": {
  17421. "description": "账户名称(机构名称)",
  17422. "type": "string"
  17423. },
  17424. "accountstatus": {
  17425. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17426. "type": "integer"
  17427. },
  17428. "auditremark": {
  17429. "description": "审核备注",
  17430. "type": "string"
  17431. },
  17432. "audittime": {
  17433. "description": "审核时间",
  17434. "type": "string"
  17435. },
  17436. "audituserid": {
  17437. "description": "审核人",
  17438. "type": "integer"
  17439. },
  17440. "broker": {
  17441. "description": "所属经纪人ID",
  17442. "type": "integer"
  17443. },
  17444. "canceltime": {
  17445. "description": "销户时间",
  17446. "type": "string"
  17447. },
  17448. "canceluserid": {
  17449. "description": "销户人",
  17450. "type": "integer"
  17451. },
  17452. "createtime": {
  17453. "description": "创建时间",
  17454. "type": "string"
  17455. },
  17456. "creatorid": {
  17457. "description": "创建人",
  17458. "type": "integer"
  17459. },
  17460. "hasauth": {
  17461. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17462. "type": "integer"
  17463. },
  17464. "isanonymous": {
  17465. "description": "是否匿名下单 - 0:否 1:是",
  17466. "type": "integer"
  17467. },
  17468. "maxinvestornum": {
  17469. "description": "最大用户数(经纪会员下投资者个数)",
  17470. "type": "integer"
  17471. },
  17472. "memberuserid": {
  17473. "description": "所属会员ID",
  17474. "type": "integer"
  17475. },
  17476. "modifierid": {
  17477. "description": "修改人",
  17478. "type": "integer"
  17479. },
  17480. "modifyremark": {
  17481. "description": "变更备注",
  17482. "type": "string"
  17483. },
  17484. "modifystatus": {
  17485. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17486. "type": "integer"
  17487. },
  17488. "modifytime": {
  17489. "description": "修改时间",
  17490. "type": "string"
  17491. },
  17492. "parentuserid": {
  17493. "description": "所属机构ID",
  17494. "type": "integer"
  17495. },
  17496. "reckonaccountid": {
  17497. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17498. "type": "integer"
  17499. },
  17500. "refercount": {
  17501. "description": "推荐总人数",
  17502. "type": "integer"
  17503. },
  17504. "refereeuserid": {
  17505. "description": "推荐人ID",
  17506. "type": "integer"
  17507. },
  17508. "refernum": {
  17509. "description": "推荐码",
  17510. "type": "string"
  17511. },
  17512. "subarealevelpath": {
  17513. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17514. "type": "string"
  17515. },
  17516. "userid": {
  17517. "description": "用户ID",
  17518. "type": "integer"
  17519. },
  17520. "usertype": {
  17521. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17522. "type": "integer"
  17523. }
  17524. }
  17525. },
  17526. "models.Userfavoritegoods": {
  17527. "type": "object",
  17528. "required": [
  17529. "goodsid"
  17530. ],
  17531. "properties": {
  17532. "goodsid": {
  17533. "description": "商品ID",
  17534. "type": "integer"
  17535. }
  17536. }
  17537. },
  17538. "models.Userinfo": {
  17539. "type": "object",
  17540. "required": [
  17541. "userid"
  17542. ],
  17543. "properties": {
  17544. "address": {
  17545. "description": "地址",
  17546. "type": "string"
  17547. },
  17548. "attachment1": {
  17549. "description": "附件1",
  17550. "type": "string"
  17551. },
  17552. "attachment2": {
  17553. "description": "附件2",
  17554. "type": "string"
  17555. },
  17556. "bankaccount": {
  17557. "description": "银行帐号 (加密存储)",
  17558. "type": "string"
  17559. },
  17560. "bankaccountname": {
  17561. "description": "收款人名称",
  17562. "type": "string"
  17563. },
  17564. "bankcardfrontphotourl": {
  17565. "description": "银行卡正面照地址",
  17566. "type": "string"
  17567. },
  17568. "bankid": {
  17569. "description": "银行编码",
  17570. "type": "string"
  17571. },
  17572. "bankname": {
  17573. "description": "银行名称",
  17574. "type": "string"
  17575. },
  17576. "biznature": {
  17577. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17578. "type": "integer"
  17579. },
  17580. "bizscope": {
  17581. "description": "企业经营范围(企业)",
  17582. "type": "string"
  17583. },
  17584. "cardbackphotourl": {
  17585. "description": "证件背面图片地址",
  17586. "type": "string"
  17587. },
  17588. "cardfrontphotourl": {
  17589. "description": "证件正面图片地址",
  17590. "type": "string"
  17591. },
  17592. "cardnum": {
  17593. "description": "证件号码(加密存储)",
  17594. "type": "string"
  17595. },
  17596. "cardtypeid": {
  17597. "description": "证件类型ID",
  17598. "type": "integer"
  17599. },
  17600. "cityid": {
  17601. "description": "市",
  17602. "type": "integer"
  17603. },
  17604. "company": {
  17605. "description": "公司(个人)",
  17606. "type": "string"
  17607. },
  17608. "contactname": {
  17609. "description": "联系人",
  17610. "type": "string"
  17611. },
  17612. "countryid": {
  17613. "description": "国家",
  17614. "type": "integer"
  17615. },
  17616. "createtime": {
  17617. "description": "创建时间",
  17618. "type": "string"
  17619. },
  17620. "creatorid": {
  17621. "description": "创建人",
  17622. "type": "integer"
  17623. },
  17624. "customername": {
  17625. "description": "客户名称(企业名称)",
  17626. "type": "string"
  17627. },
  17628. "districtid": {
  17629. "description": "地区",
  17630. "type": "integer"
  17631. },
  17632. "email": {
  17633. "description": "邮件(加密存储)",
  17634. "type": "string"
  17635. },
  17636. "fax": {
  17637. "description": "传真(加密存储)",
  17638. "type": "string"
  17639. },
  17640. "halfbodyphotourl": {
  17641. "description": "半身照地址",
  17642. "type": "string"
  17643. },
  17644. "hasencrypt": {
  17645. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17646. "type": "integer"
  17647. },
  17648. "headurl": {
  17649. "description": "头像地址",
  17650. "type": "string"
  17651. },
  17652. "legalcardbackphotourl": {
  17653. "description": "法人身份证背面照地址",
  17654. "type": "string"
  17655. },
  17656. "legalcardfrontphotourl": {
  17657. "description": "法人身份证正面照地址",
  17658. "type": "string"
  17659. },
  17660. "legalpersonname": {
  17661. "description": "法人姓名(企业)",
  17662. "type": "string"
  17663. },
  17664. "mobile": {
  17665. "description": "手机号码(加密存储)",
  17666. "type": "string"
  17667. },
  17668. "mobile2": {
  17669. "description": "手机号码[明文-尚志]",
  17670. "type": "string"
  17671. },
  17672. "modifierid": {
  17673. "description": "修改人",
  17674. "type": "integer"
  17675. },
  17676. "modifiertime": {
  17677. "description": "修改时间",
  17678. "type": "string"
  17679. },
  17680. "needinvoice": {
  17681. "description": "是否需要发票 - 0:不需要 1:需要",
  17682. "type": "integer"
  17683. },
  17684. "nickname": {
  17685. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17686. "type": "string"
  17687. },
  17688. "openmode": {
  17689. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17690. "type": "integer"
  17691. },
  17692. "otherurl": {
  17693. "description": "其它图片地址[使用分号分隔]",
  17694. "type": "string"
  17695. },
  17696. "postalcode": {
  17697. "description": "邮政编码",
  17698. "type": "string"
  17699. },
  17700. "provinceid": {
  17701. "description": "省",
  17702. "type": "integer"
  17703. },
  17704. "qq": {
  17705. "description": "QQ(加密存储",
  17706. "type": "string"
  17707. },
  17708. "remark": {
  17709. "description": "备注",
  17710. "type": "string"
  17711. },
  17712. "sex": {
  17713. "description": "用户性别 0: 女 1: 男",
  17714. "type": "integer"
  17715. },
  17716. "signpdfurl": {
  17717. "description": "签约pdf文件",
  17718. "type": "string"
  17719. },
  17720. "telphone": {
  17721. "description": "联系电话(加密存储)",
  17722. "type": "string"
  17723. },
  17724. "userid": {
  17725. "description": "用户ID",
  17726. "type": "integer"
  17727. },
  17728. "userinfotype": {
  17729. "description": "用户信息类型 - 1:个人 2:企业",
  17730. "type": "integer"
  17731. },
  17732. "userstatus": {
  17733. "description": "用户状态 - 1:正常 2:注销",
  17734. "type": "integer"
  17735. },
  17736. "usertype": {
  17737. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17738. "type": "integer"
  17739. },
  17740. "wechat": {
  17741. "description": "微信(加密存储)",
  17742. "type": "string"
  17743. },
  17744. "wskhinfo": {
  17745. "description": "开户申请信息(JSON)",
  17746. "type": "string"
  17747. }
  17748. }
  17749. },
  17750. "models.WRCategoryTree": {
  17751. "type": "object",
  17752. "required": [
  17753. "categoryid"
  17754. ],
  17755. "properties": {
  17756. "areauserid": {
  17757. "description": "所属机构",
  17758. "type": "integer"
  17759. },
  17760. "categorydesc": {
  17761. "description": "类别描述",
  17762. "type": "string"
  17763. },
  17764. "categoryid": {
  17765. "description": "类别ID(SEQ_WRCATEGORY)",
  17766. "type": "integer"
  17767. },
  17768. "categoryname": {
  17769. "description": "类别名称",
  17770. "type": "string"
  17771. },
  17772. "iconurl": {
  17773. "description": "图标地址",
  17774. "type": "string"
  17775. },
  17776. "orderindex": {
  17777. "description": "顺序",
  17778. "type": "integer"
  17779. },
  17780. "parentcategoryid": {
  17781. "description": "父类别ID",
  17782. "type": "integer"
  17783. },
  17784. "subcategory": {
  17785. "description": "子分类",
  17786. "type": "array",
  17787. "items": {
  17788. "$ref": "#/definitions/models.WRCategoryTree"
  17789. }
  17790. }
  17791. }
  17792. },
  17793. "models.WRSConverTDetail": {
  17794. "type": "object",
  17795. "properties": {
  17796. "convertratio": {
  17797. "description": "套保系数",
  17798. "type": "number"
  17799. },
  17800. "deliverygoodsid": {
  17801. "description": "现货品种ID",
  17802. "type": "integer"
  17803. },
  17804. "middlegoodscode": {
  17805. "description": "套保品种代码",
  17806. "type": "string"
  17807. },
  17808. "middlegoodsid": {
  17809. "description": "套保品种ID",
  17810. "type": "integer"
  17811. },
  17812. "middlegoodsname": {
  17813. "description": "套保品种名称",
  17814. "type": "string"
  17815. },
  17816. "modifytime": {
  17817. "description": "修改时间",
  17818. "type": "string"
  17819. },
  17820. "wrstandardid": {
  17821. "description": "现货商品ID",
  17822. "type": "integer"
  17823. }
  17824. }
  17825. },
  17826. "models.WRStandardInfo": {
  17827. "type": "object",
  17828. "required": [
  17829. "wrstandardid"
  17830. ],
  17831. "properties": {
  17832. "createtime": {
  17833. "description": "创建时间",
  17834. "type": "string"
  17835. },
  17836. "creatorid": {
  17837. "description": "创建人",
  17838. "type": "integer"
  17839. },
  17840. "deliverygoodsid": {
  17841. "description": "品种ID",
  17842. "type": "integer"
  17843. },
  17844. "deliverygoodsname": {
  17845. "description": "交割商品名称",
  17846. "type": "string"
  17847. },
  17848. "factoryitemjson": {
  17849. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17850. "type": "string"
  17851. },
  17852. "isvalid": {
  17853. "description": "是否有效 - 0:无效 1:有效",
  17854. "type": "integer"
  17855. },
  17856. "minivalue": {
  17857. "description": "最小变动值",
  17858. "type": "integer"
  17859. },
  17860. "minivaluedp": {
  17861. "description": "最小变动值小数位",
  17862. "type": "integer"
  17863. },
  17864. "realminivalue": {
  17865. "description": "实际最小变动值",
  17866. "type": "integer"
  17867. },
  17868. "realminivaluedp": {
  17869. "description": "实际最小变动值小数位",
  17870. "type": "integer"
  17871. },
  17872. "unitid": {
  17873. "description": "单位ID",
  17874. "type": "integer"
  17875. },
  17876. "unitname": {
  17877. "description": "单位",
  17878. "type": "string"
  17879. },
  17880. "updatetime": {
  17881. "description": "更新时间",
  17882. "type": "string"
  17883. },
  17884. "updatorid": {
  17885. "description": "更新人",
  17886. "type": "integer"
  17887. },
  17888. "wrsstatus": {
  17889. "description": "状态 - 作废 - 0:未激活 1:正常",
  17890. "type": "integer"
  17891. },
  17892. "wrstandardcode": {
  17893. "description": "仓单标准代码",
  17894. "type": "string"
  17895. },
  17896. "wrstandardid": {
  17897. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17898. "type": "integer"
  17899. },
  17900. "wrstandardname": {
  17901. "description": "仓单标准名称",
  17902. "type": "string"
  17903. }
  17904. }
  17905. },
  17906. "models.Warehouseinfo": {
  17907. "type": "object",
  17908. "required": [
  17909. "autoid",
  17910. "warehousecode"
  17911. ],
  17912. "properties": {
  17913. "address": {
  17914. "description": "详细地址",
  17915. "type": "string"
  17916. },
  17917. "areauserid": {
  17918. "description": "所属机构",
  17919. "type": "integer"
  17920. },
  17921. "autoid": {
  17922. "description": "自增ID",
  17923. "type": "integer"
  17924. },
  17925. "cityid": {
  17926. "description": "市",
  17927. "type": "integer"
  17928. },
  17929. "contactname": {
  17930. "description": "联系人",
  17931. "type": "string"
  17932. },
  17933. "contactnum": {
  17934. "description": "联系电话",
  17935. "type": "string"
  17936. },
  17937. "countryid": {
  17938. "description": "国家",
  17939. "type": "integer"
  17940. },
  17941. "createtime": {
  17942. "description": "创建时间",
  17943. "type": "string"
  17944. },
  17945. "districtid": {
  17946. "description": "区",
  17947. "type": "integer"
  17948. },
  17949. "hasvideo": {
  17950. "description": "是否有视频 - 0:无 1:有",
  17951. "type": "integer"
  17952. },
  17953. "provinceid": {
  17954. "description": "省",
  17955. "type": "integer"
  17956. },
  17957. "remark": {
  17958. "description": "审核备注",
  17959. "type": "string"
  17960. },
  17961. "videourl": {
  17962. "description": "视频地址",
  17963. "type": "string"
  17964. },
  17965. "warehousecode": {
  17966. "description": "仓库代码",
  17967. "type": "string"
  17968. },
  17969. "warehousename": {
  17970. "description": "仓库名称",
  17971. "type": "string"
  17972. },
  17973. "warehousestatus": {
  17974. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17975. "type": "integer"
  17976. },
  17977. "warehousetype": {
  17978. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17979. "type": "integer"
  17980. }
  17981. }
  17982. },
  17983. "order.QueryHisTradeDetailRsp": {
  17984. "type": "object",
  17985. "required": [
  17986. "accountid",
  17987. "buyorsell",
  17988. "goodsid",
  17989. "histradedate",
  17990. "marketid",
  17991. "memberuserid",
  17992. "orderid",
  17993. "tradeamount",
  17994. "tradedate",
  17995. "tradeid",
  17996. "tradeprice",
  17997. "tradeqty",
  17998. "tradetime"
  17999. ],
  18000. "properties": {
  18001. "accountid": {
  18002. "description": "账户ID[报价币种]",
  18003. "type": "integer"
  18004. },
  18005. "buildtype": {
  18006. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18007. "type": "integer"
  18008. },
  18009. "buyorsell": {
  18010. "description": "方向 - 0:买 1:卖",
  18011. "type": "integer"
  18012. },
  18013. "charge": {
  18014. "description": "手续费",
  18015. "type": "number"
  18016. },
  18017. "closecharge": {
  18018. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18019. "type": "number"
  18020. },
  18021. "closeexchagechargevalue": {
  18022. "description": "平仓交易所手续费设置值",
  18023. "type": "number"
  18024. },
  18025. "closefeealgorithm": {
  18026. "description": "平仓手续费收取方式 1:比率 2:固定",
  18027. "type": "integer"
  18028. },
  18029. "closememberchargevalue": {
  18030. "description": "平仓会员手续费设置值",
  18031. "type": "number"
  18032. },
  18033. "closepl": {
  18034. "description": "平仓盈亏",
  18035. "type": "number"
  18036. },
  18037. "closepl2": {
  18038. "description": "平仓盈亏[逐笔]",
  18039. "type": "number"
  18040. },
  18041. "closeqty": {
  18042. "description": "平仓数量(先建后平操作 需要记录)",
  18043. "type": "integer"
  18044. },
  18045. "creditamount": {
  18046. "description": "授信金额",
  18047. "type": "number"
  18048. },
  18049. "gcaccountid": {
  18050. "description": "账户ID[合约币种]",
  18051. "type": "integer"
  18052. },
  18053. "goodscode": {
  18054. "description": "商品代码",
  18055. "type": "string"
  18056. },
  18057. "goodsid": {
  18058. "description": "商品ID",
  18059. "type": "integer"
  18060. },
  18061. "goodsname": {
  18062. "description": "商品名称",
  18063. "type": "string"
  18064. },
  18065. "histradedate": {
  18066. "description": "历史交易日",
  18067. "type": "string"
  18068. },
  18069. "intclosepl": {
  18070. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18071. "type": "integer"
  18072. },
  18073. "isconfirmexercise": {
  18074. "description": "是否确认行权- 0:否 1:是",
  18075. "type": "integer"
  18076. },
  18077. "ismain": {
  18078. "description": "是否主单 - 0:不是 1:是",
  18079. "type": "integer"
  18080. },
  18081. "ispreexercise": {
  18082. "description": "是否预申报- 0:否 1:是",
  18083. "type": "integer"
  18084. },
  18085. "isreckoned": {
  18086. "description": "是否结算 - 0:未结算 1:已结算",
  18087. "type": "integer"
  18088. },
  18089. "isvaliddata": {
  18090. "description": "是否有效 - 0:无效 1:有效",
  18091. "type": "integer"
  18092. },
  18093. "listingselecttype": {
  18094. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18095. "type": "integer"
  18096. },
  18097. "marketid": {
  18098. "description": "市场ID",
  18099. "type": "integer"
  18100. },
  18101. "marketname": {
  18102. "description": "市场名称",
  18103. "type": "string"
  18104. },
  18105. "matchaccountid": {
  18106. "description": "对手账号id",
  18107. "type": "integer"
  18108. },
  18109. "memberuserid": {
  18110. "description": "会员id 个人投资者 需要填写",
  18111. "type": "integer"
  18112. },
  18113. "opencharge": {
  18114. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18115. "type": "number"
  18116. },
  18117. "openexchagechargevalue": {
  18118. "description": "建仓交易所手续费设置值",
  18119. "type": "number"
  18120. },
  18121. "openfeealgorithm": {
  18122. "description": "建仓手续费收取方式 1:比率 2:固定",
  18123. "type": "integer"
  18124. },
  18125. "openmemberchargevalue": {
  18126. "description": "建仓会员手续费设置值",
  18127. "type": "number"
  18128. },
  18129. "openqty": {
  18130. "description": "开仓数量(先建后平操作 需要记录)",
  18131. "type": "integer"
  18132. },
  18133. "optiontype": {
  18134. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18135. "type": "integer"
  18136. },
  18137. "orderid": {
  18138. "description": "委托单号",
  18139. "type": "string"
  18140. },
  18141. "performanceplanid": {
  18142. "description": "履约计划ID[期权]",
  18143. "type": "integer"
  18144. },
  18145. "performancestatus": {
  18146. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18147. "type": "integer"
  18148. },
  18149. "preexerciseprice": {
  18150. "description": "预申报价格",
  18151. "type": "number"
  18152. },
  18153. "premium": {
  18154. "description": "权利金 - [持仓单的权利金]",
  18155. "type": "number"
  18156. },
  18157. "relatedouttradeid": {
  18158. "description": "关联外部成交单ID",
  18159. "type": "integer"
  18160. },
  18161. "status": {
  18162. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18163. "type": "integer"
  18164. },
  18165. "tradeamount": {
  18166. "description": "成交金额[账户币种,用于所有权]",
  18167. "type": "number"
  18168. },
  18169. "tradedate": {
  18170. "description": "交易日(yyyyMMdd)",
  18171. "type": "string"
  18172. },
  18173. "tradeid": {
  18174. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18175. "type": "string"
  18176. },
  18177. "trademode": {
  18178. "description": "交易模式",
  18179. "type": "integer"
  18180. },
  18181. "tradeprice": {
  18182. "description": "成交价格",
  18183. "type": "number"
  18184. },
  18185. "tradeproperty": {
  18186. "description": "交易属性",
  18187. "type": "integer"
  18188. },
  18189. "tradeqty": {
  18190. "description": "成交数量",
  18191. "type": "integer"
  18192. },
  18193. "tradetime": {
  18194. "description": "成交时间",
  18195. "type": "string"
  18196. },
  18197. "tradetype": {
  18198. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18199. "type": "integer"
  18200. }
  18201. }
  18202. },
  18203. "order.QueryHisTradeOrderDetailRsp": {
  18204. "type": "object",
  18205. "required": [
  18206. "accountid",
  18207. "buildtype",
  18208. "buyorsell",
  18209. "goodsid",
  18210. "histradedate",
  18211. "marketid",
  18212. "memberuserid",
  18213. "operatetype",
  18214. "orderid",
  18215. "orderqty",
  18216. "ordertime",
  18217. "pricemode",
  18218. "tradedate",
  18219. "validtype"
  18220. ],
  18221. "properties": {
  18222. "accountid": {
  18223. "description": "账户ID[报价币种]",
  18224. "type": "integer"
  18225. },
  18226. "buildtype": {
  18227. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18228. "type": "integer"
  18229. },
  18230. "buyorsell": {
  18231. "description": "买卖 - 0:买 1:卖",
  18232. "type": "integer"
  18233. },
  18234. "cancelorderid": {
  18235. "description": "撤单单号(撤单时填写)",
  18236. "type": "string"
  18237. },
  18238. "cancelqty": {
  18239. "description": "撤单数量",
  18240. "type": "integer"
  18241. },
  18242. "clientordertime": {
  18243. "description": "客户端委托时间",
  18244. "type": "string"
  18245. },
  18246. "clientticket": {
  18247. "description": "客户端流水号",
  18248. "type": "string"
  18249. },
  18250. "clienttype": {
  18251. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18252. "type": "integer"
  18253. },
  18254. "closeexchagechargevalue": {
  18255. "description": "平仓交易所手续费设置值",
  18256. "type": "number"
  18257. },
  18258. "closefeealgorithm": {
  18259. "description": "平仓手续费收取方式 1:比率 2:固定",
  18260. "type": "integer"
  18261. },
  18262. "closefreezecharge": {
  18263. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18264. "type": "number"
  18265. },
  18266. "closememberchargevalue": {
  18267. "description": "平仓会员手续费设置值",
  18268. "type": "number"
  18269. },
  18270. "closeqty": {
  18271. "description": "平仓数量(先建后平操作 需要记录)",
  18272. "type": "integer"
  18273. },
  18274. "closetradeqty": {
  18275. "description": "平仓成交数量(先建后平操作,需要记录)",
  18276. "type": "integer"
  18277. },
  18278. "closeunfreezecharge": {
  18279. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18280. "type": "number"
  18281. },
  18282. "delistingtype": {
  18283. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18284. "type": "integer"
  18285. },
  18286. "freezecharge": {
  18287. "description": "冻结手续费",
  18288. "type": "number"
  18289. },
  18290. "freezemargin": {
  18291. "description": "冻结保证金(冻结交易金额)",
  18292. "type": "number"
  18293. },
  18294. "gcaccountid": {
  18295. "description": "账户ID[合约币种]",
  18296. "type": "integer"
  18297. },
  18298. "goodscode": {
  18299. "description": "商品代码",
  18300. "type": "string"
  18301. },
  18302. "goodsid": {
  18303. "description": "商品ID",
  18304. "type": "integer"
  18305. },
  18306. "goodsname": {
  18307. "description": "商品名称",
  18308. "type": "string"
  18309. },
  18310. "histradedate": {
  18311. "description": "历史交易日",
  18312. "type": "string"
  18313. },
  18314. "isconfirmexercise": {
  18315. "description": "是否确认行权- 0:否 1:是",
  18316. "type": "integer"
  18317. },
  18318. "ispreexercise": {
  18319. "description": "是否预申报- 0:否 1:是",
  18320. "type": "integer"
  18321. },
  18322. "isvaliddata": {
  18323. "description": "是否有效 - 0:无效 1:有效",
  18324. "type": "integer"
  18325. },
  18326. "listingselecttype": {
  18327. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18328. "type": "integer"
  18329. },
  18330. "marginalgorithm": {
  18331. "description": "保证金收取方式 1:比率 2:固定",
  18332. "type": "integer"
  18333. },
  18334. "marginvalue": {
  18335. "description": "即市保证金设置值",
  18336. "type": "number"
  18337. },
  18338. "marketid": {
  18339. "description": "市场ID",
  18340. "type": "integer"
  18341. },
  18342. "marketmaxsub": {
  18343. "description": "市价最大偏移范围",
  18344. "type": "number"
  18345. },
  18346. "marketname": {
  18347. "description": "市场名称",
  18348. "type": "string"
  18349. },
  18350. "memberuserid": {
  18351. "description": "所属会员UserID",
  18352. "type": "integer"
  18353. },
  18354. "openexchagechargevalue": {
  18355. "description": "建仓交易所手续费设置值",
  18356. "type": "number"
  18357. },
  18358. "openfeealgorithm": {
  18359. "description": "建仓手续费收取方式 1:比率 2:固定",
  18360. "type": "integer"
  18361. },
  18362. "openfreezecharge": {
  18363. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18364. "type": "number"
  18365. },
  18366. "openmemberchargevalue": {
  18367. "description": "建仓会员手续费设置值",
  18368. "type": "number"
  18369. },
  18370. "openqty": {
  18371. "description": "开仓数量(先建后平操作,需要记录)",
  18372. "type": "integer"
  18373. },
  18374. "opentradeqty": {
  18375. "description": "开仓成交数量(先建后平操作,需要记录)",
  18376. "type": "integer"
  18377. },
  18378. "openunfreezecharge": {
  18379. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18380. "type": "number"
  18381. },
  18382. "operatetype": {
  18383. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18384. "type": "integer"
  18385. },
  18386. "operatorid": {
  18387. "description": "登录账号(LoginID)",
  18388. "type": "integer"
  18389. },
  18390. "optiontype": {
  18391. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18392. "type": "integer"
  18393. },
  18394. "orderid": {
  18395. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18396. "type": "string"
  18397. },
  18398. "orderprice": {
  18399. "description": "委托价格",
  18400. "type": "number"
  18401. },
  18402. "orderqty": {
  18403. "description": "委托数量",
  18404. "type": "integer"
  18405. },
  18406. "ordersrc": {
  18407. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18408. "type": "integer"
  18409. },
  18410. "orderstatus": {
  18411. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18412. "type": "integer"
  18413. },
  18414. "ordertime": {
  18415. "description": "委托时间",
  18416. "type": "string"
  18417. },
  18418. "preexerciseprice": {
  18419. "description": "预申报价格",
  18420. "type": "number"
  18421. },
  18422. "premium": {
  18423. "description": "权利金",
  18424. "type": "number"
  18425. },
  18426. "preorderid": {
  18427. "description": "关联预埋单号(止盈止损单时填写)",
  18428. "type": "string"
  18429. },
  18430. "pricemode": {
  18431. "description": "取价方式 - 1:市价 2: 限价",
  18432. "type": "integer"
  18433. },
  18434. "quoteid": {
  18435. "description": "报价单ID",
  18436. "type": "integer"
  18437. },
  18438. "relatedid": {
  18439. "description": "关联单号(交割单)",
  18440. "type": "string"
  18441. },
  18442. "retcode": {
  18443. "description": "错误代码",
  18444. "type": "integer"
  18445. },
  18446. "sessionid": {
  18447. "description": "会话ID",
  18448. "type": "integer"
  18449. },
  18450. "tradedate": {
  18451. "description": "交易日(yyyyMMdd)",
  18452. "type": "string"
  18453. },
  18454. "trademode": {
  18455. "description": "交易模式",
  18456. "type": "integer"
  18457. },
  18458. "tradeproperty": {
  18459. "description": "交易属性",
  18460. "type": "integer"
  18461. },
  18462. "tradeqty": {
  18463. "description": "成交数量",
  18464. "type": "integer"
  18465. },
  18466. "unfreezecharge": {
  18467. "description": "解冻手续费",
  18468. "type": "number"
  18469. },
  18470. "unfreezemargin": {
  18471. "description": "解冻保证金",
  18472. "type": "number"
  18473. },
  18474. "updatetime": {
  18475. "description": "更新时间",
  18476. "type": "string"
  18477. },
  18478. "uuid": {
  18479. "description": "发起端唯一id",
  18480. "type": "string"
  18481. },
  18482. "validtime": {
  18483. "description": "有效期限",
  18484. "type": "string"
  18485. },
  18486. "validtype": {
  18487. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18488. "type": "integer"
  18489. },
  18490. "volumetype": {
  18491. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18492. "type": "integer"
  18493. }
  18494. }
  18495. },
  18496. "order.QueryTradeDetailRsp": {
  18497. "type": "object",
  18498. "required": [
  18499. "accountid",
  18500. "buyorsell",
  18501. "goodsid",
  18502. "marketid",
  18503. "memberuserid",
  18504. "orderid",
  18505. "tradeamount",
  18506. "tradedate",
  18507. "tradeid",
  18508. "tradeprice",
  18509. "tradeqty",
  18510. "tradetime"
  18511. ],
  18512. "properties": {
  18513. "accountid": {
  18514. "description": "账户ID[报价币种]",
  18515. "type": "integer"
  18516. },
  18517. "buildtype": {
  18518. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18519. "type": "integer"
  18520. },
  18521. "buyorsell": {
  18522. "description": "方向 - 0:买 1:卖",
  18523. "type": "integer"
  18524. },
  18525. "charge": {
  18526. "description": "手续费",
  18527. "type": "number"
  18528. },
  18529. "closecharge": {
  18530. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18531. "type": "number"
  18532. },
  18533. "closeexchagechargevalue": {
  18534. "description": "平仓交易所手续费设置值",
  18535. "type": "number"
  18536. },
  18537. "closefeealgorithm": {
  18538. "description": "平仓手续费收取方式 1:比率 2:固定",
  18539. "type": "integer"
  18540. },
  18541. "closememberchargevalue": {
  18542. "description": "平仓会员手续费设置值",
  18543. "type": "number"
  18544. },
  18545. "closepl": {
  18546. "description": "平仓盈亏",
  18547. "type": "number"
  18548. },
  18549. "closepl2": {
  18550. "description": "平仓盈亏[逐笔]",
  18551. "type": "number"
  18552. },
  18553. "closeqty": {
  18554. "description": "平仓数量(先建后平操作 需要记录)",
  18555. "type": "integer"
  18556. },
  18557. "creditamount": {
  18558. "description": "授信金额",
  18559. "type": "number"
  18560. },
  18561. "gcaccountid": {
  18562. "description": "账户ID[合约币种]",
  18563. "type": "integer"
  18564. },
  18565. "goodscode": {
  18566. "description": "商品代码",
  18567. "type": "string"
  18568. },
  18569. "goodsid": {
  18570. "description": "商品ID",
  18571. "type": "integer"
  18572. },
  18573. "goodsname": {
  18574. "description": "商品名称",
  18575. "type": "string"
  18576. },
  18577. "intclosepl": {
  18578. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18579. "type": "integer"
  18580. },
  18581. "isconfirmexercise": {
  18582. "description": "是否确认行权- 0:否 1:是",
  18583. "type": "integer"
  18584. },
  18585. "ismain": {
  18586. "description": "是否主单 - 0:不是 1:是",
  18587. "type": "integer"
  18588. },
  18589. "ispreexercise": {
  18590. "description": "是否预申报- 0:否 1:是",
  18591. "type": "integer"
  18592. },
  18593. "isreckoned": {
  18594. "description": "是否结算 - 0:未结算 1:已结算",
  18595. "type": "integer"
  18596. },
  18597. "listingselecttype": {
  18598. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18599. "type": "integer"
  18600. },
  18601. "marketid": {
  18602. "description": "市场ID",
  18603. "type": "integer"
  18604. },
  18605. "marketname": {
  18606. "description": "市场名称",
  18607. "type": "string"
  18608. },
  18609. "matchaccountid": {
  18610. "description": "对手账号id",
  18611. "type": "integer"
  18612. },
  18613. "memberuserid": {
  18614. "description": "会员id 个人投资者 需要填写",
  18615. "type": "integer"
  18616. },
  18617. "opencharge": {
  18618. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18619. "type": "number"
  18620. },
  18621. "openexchagechargevalue": {
  18622. "description": "建仓交易所手续费设置值",
  18623. "type": "number"
  18624. },
  18625. "openfeealgorithm": {
  18626. "description": "建仓手续费收取方式 1:比率 2:固定",
  18627. "type": "integer"
  18628. },
  18629. "openmemberchargevalue": {
  18630. "description": "建仓会员手续费设置值",
  18631. "type": "number"
  18632. },
  18633. "openqty": {
  18634. "description": "开仓数量(先建后平操作 需要记录)",
  18635. "type": "integer"
  18636. },
  18637. "optiontype": {
  18638. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18639. "type": "integer"
  18640. },
  18641. "orderid": {
  18642. "description": "委托单号",
  18643. "type": "string"
  18644. },
  18645. "performanceplanid": {
  18646. "description": "履约计划ID[期权]",
  18647. "type": "integer"
  18648. },
  18649. "performancestatus": {
  18650. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18651. "type": "integer"
  18652. },
  18653. "preexerciseprice": {
  18654. "description": "预申报价格",
  18655. "type": "number"
  18656. },
  18657. "premium": {
  18658. "description": "权利金 - [持仓单的权利金]",
  18659. "type": "number"
  18660. },
  18661. "relatedouttradeid": {
  18662. "description": "关联外部成交单ID",
  18663. "type": "integer"
  18664. },
  18665. "status": {
  18666. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18667. "type": "integer"
  18668. },
  18669. "tradeamount": {
  18670. "description": "成交金额[账户币种,用于所有权]",
  18671. "type": "number"
  18672. },
  18673. "tradedate": {
  18674. "description": "交易日(yyyyMMdd)",
  18675. "type": "string"
  18676. },
  18677. "tradeid": {
  18678. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18679. "type": "string"
  18680. },
  18681. "trademode": {
  18682. "description": "交易模式",
  18683. "type": "integer"
  18684. },
  18685. "tradeprice": {
  18686. "description": "成交价格",
  18687. "type": "number"
  18688. },
  18689. "tradeproperty": {
  18690. "description": "交易属性",
  18691. "type": "integer"
  18692. },
  18693. "tradeqty": {
  18694. "description": "成交数量",
  18695. "type": "integer"
  18696. },
  18697. "tradetime": {
  18698. "description": "成交时间",
  18699. "type": "string"
  18700. },
  18701. "tradetype": {
  18702. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18703. "type": "integer"
  18704. }
  18705. }
  18706. },
  18707. "order.QueryTradeOrderDetailRsp": {
  18708. "type": "object",
  18709. "required": [
  18710. "accountid",
  18711. "buildtype",
  18712. "buyorsell",
  18713. "goodsid",
  18714. "marketid",
  18715. "operatetype",
  18716. "orderqty",
  18717. "ordertime",
  18718. "pricemode",
  18719. "tradedate",
  18720. "validtype"
  18721. ],
  18722. "properties": {
  18723. "accountid": {
  18724. "description": "账户ID[报价币种]",
  18725. "type": "integer"
  18726. },
  18727. "buildtype": {
  18728. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18729. "type": "integer"
  18730. },
  18731. "buyorsell": {
  18732. "description": "买卖 - 0:买 1:卖",
  18733. "type": "integer"
  18734. },
  18735. "cancelorderid": {
  18736. "description": "撤单单号(撤单时填写)",
  18737. "type": "string"
  18738. },
  18739. "cancelqty": {
  18740. "description": "撤单数量",
  18741. "type": "integer"
  18742. },
  18743. "clienttype": {
  18744. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18745. "type": "integer"
  18746. },
  18747. "closefreezecharge": {
  18748. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18749. "type": "number"
  18750. },
  18751. "closeqty": {
  18752. "description": "平仓数量(先建后平操作 需要记录)",
  18753. "type": "integer"
  18754. },
  18755. "closetradeqty": {
  18756. "description": "平仓成交数量(先建后平操作,需要记录)",
  18757. "type": "integer"
  18758. },
  18759. "closeunfreezecharge": {
  18760. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18761. "type": "number"
  18762. },
  18763. "delistingtype": {
  18764. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18765. "type": "integer"
  18766. },
  18767. "enableqty": {
  18768. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18769. "type": "integer"
  18770. },
  18771. "freezecharge": {
  18772. "description": "冻结手续费",
  18773. "type": "number"
  18774. },
  18775. "freezemargin": {
  18776. "description": "冻结保证金(冻结交易金额)",
  18777. "type": "number"
  18778. },
  18779. "goodscode": {
  18780. "description": "商品代码",
  18781. "type": "string"
  18782. },
  18783. "goodsid": {
  18784. "description": "商品ID",
  18785. "type": "integer"
  18786. },
  18787. "goodsname": {
  18788. "description": "商品名称",
  18789. "type": "string"
  18790. },
  18791. "listingselecttype": {
  18792. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18793. "type": "integer"
  18794. },
  18795. "marketid": {
  18796. "description": "市场ID",
  18797. "type": "integer"
  18798. },
  18799. "marketname": {
  18800. "description": "市场名称",
  18801. "type": "string"
  18802. },
  18803. "openfreezecharge": {
  18804. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18805. "type": "number"
  18806. },
  18807. "openqty": {
  18808. "description": "开仓数量(先建后平操作,需要记录)",
  18809. "type": "integer"
  18810. },
  18811. "opentradeqty": {
  18812. "description": "开仓成交数量(先建后平操作,需要记录)",
  18813. "type": "integer"
  18814. },
  18815. "openunfreezecharge": {
  18816. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18817. "type": "number"
  18818. },
  18819. "operatetype": {
  18820. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18821. "type": "integer"
  18822. },
  18823. "operatorid": {
  18824. "description": "登录账号(LoginID)",
  18825. "type": "integer"
  18826. },
  18827. "orderid": {
  18828. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18829. "type": "string"
  18830. },
  18831. "orderprice": {
  18832. "description": "委托价格",
  18833. "type": "number"
  18834. },
  18835. "orderqty": {
  18836. "description": "委托数量",
  18837. "type": "integer"
  18838. },
  18839. "ordersrc": {
  18840. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18841. "type": "integer"
  18842. },
  18843. "orderstatus": {
  18844. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18845. "type": "integer"
  18846. },
  18847. "ordertime": {
  18848. "description": "委托时间",
  18849. "type": "string"
  18850. },
  18851. "preorderid": {
  18852. "description": "关联预埋单号(止盈止损单时填写)",
  18853. "type": "string"
  18854. },
  18855. "pricemode": {
  18856. "description": "取价方式 - 1:市价 2: 限价",
  18857. "type": "integer"
  18858. },
  18859. "relatedid": {
  18860. "description": "关联单号(交割单)",
  18861. "type": "string"
  18862. },
  18863. "tradedate": {
  18864. "description": "交易日(yyyyMMdd)",
  18865. "type": "string"
  18866. },
  18867. "trademode": {
  18868. "description": "交易模式",
  18869. "type": "integer"
  18870. },
  18871. "tradeqty": {
  18872. "description": "成交数量",
  18873. "type": "integer"
  18874. },
  18875. "unfreezecharge": {
  18876. "description": "解冻手续费",
  18877. "type": "number"
  18878. },
  18879. "unfreezemargin": {
  18880. "description": "解冻保证金",
  18881. "type": "number"
  18882. },
  18883. "validtime": {
  18884. "description": "有效期限",
  18885. "type": "string"
  18886. },
  18887. "validtype": {
  18888. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18889. "type": "integer"
  18890. },
  18891. "volumetype": {
  18892. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18893. "type": "integer"
  18894. }
  18895. }
  18896. },
  18897. "order.QueryTradePositionRsp": {
  18898. "type": "object",
  18899. "required": [
  18900. "goodsid"
  18901. ],
  18902. "properties": {
  18903. "accountid": {
  18904. "description": "资金账户",
  18905. "type": "integer"
  18906. },
  18907. "agreeunit": {
  18908. "description": "合约单位",
  18909. "type": "number"
  18910. },
  18911. "averageprice": {
  18912. "description": "持仓均价",
  18913. "type": "number"
  18914. },
  18915. "buyorsell": {
  18916. "description": "方向 - 0:买 1:卖",
  18917. "type": "integer"
  18918. },
  18919. "closetotalqty": {
  18920. "description": "平仓总数量",
  18921. "type": "integer"
  18922. },
  18923. "curholderamount": {
  18924. "description": "当前持仓总金额[商品币种]",
  18925. "type": "number"
  18926. },
  18927. "curpositionqty": {
  18928. "description": "当前持仓总数量",
  18929. "type": "integer"
  18930. },
  18931. "currencyid": {
  18932. "description": "报价货币ID",
  18933. "type": "integer"
  18934. },
  18935. "curtdposition": {
  18936. "description": "期末今日头寸",
  18937. "type": "integer"
  18938. },
  18939. "decimalplace": {
  18940. "description": "报价小数位",
  18941. "type": "integer"
  18942. },
  18943. "enableqty": {
  18944. "description": "可用量",
  18945. "type": "integer"
  18946. },
  18947. "fretdposition": {
  18948. "description": "冻结今日头寸",
  18949. "type": "integer"
  18950. },
  18951. "frozenqty": {
  18952. "description": "持仓冻结数量",
  18953. "type": "integer"
  18954. },
  18955. "goodscode": {
  18956. "description": "商品代码",
  18957. "type": "string"
  18958. },
  18959. "goodsid": {
  18960. "description": "商品Id",
  18961. "type": "integer"
  18962. },
  18963. "goodsname": {
  18964. "description": "商品名称",
  18965. "type": "string"
  18966. },
  18967. "goodunit": {
  18968. "description": "报价单位",
  18969. "type": "string"
  18970. },
  18971. "goodunitid": {
  18972. "description": "报价单位ID",
  18973. "type": "integer"
  18974. },
  18975. "holderamount": {
  18976. "description": "期初持仓总金额[商品币种]",
  18977. "type": "number"
  18978. },
  18979. "marketid": {
  18980. "description": "所属市场ID",
  18981. "type": "integer"
  18982. },
  18983. "openreqqty": {
  18984. "description": "开仓申请数量(用于比较最大持仓数量)",
  18985. "type": "integer"
  18986. },
  18987. "opentotalqty": {
  18988. "description": "开仓总数量",
  18989. "type": "integer"
  18990. },
  18991. "otherfrozenqty": {
  18992. "description": "持仓其他冻结数量(交割冻结)",
  18993. "type": "integer"
  18994. },
  18995. "positionqty": {
  18996. "description": "期初持仓数量",
  18997. "type": "integer"
  18998. },
  18999. "tnqty": {
  19000. "description": "T+N冻结总量",
  19001. "type": "integer"
  19002. },
  19003. "tnusedqty": {
  19004. "description": "T+N使用量(可以使用T+N的冻结数量)",
  19005. "type": "integer"
  19006. },
  19007. "trademode": {
  19008. "description": "交易模式",
  19009. "type": "integer"
  19010. },
  19011. "usedmargin": {
  19012. "description": "占用保证金[商品币种]",
  19013. "type": "number"
  19014. }
  19015. }
  19016. },
  19017. "quote.HistoryData": {
  19018. "type": "object",
  19019. "properties": {
  19020. "c": {
  19021. "description": "收盘价",
  19022. "type": "number"
  19023. },
  19024. "f": {
  19025. "description": "是否补充数据",
  19026. "type": "boolean"
  19027. },
  19028. "h": {
  19029. "description": "最高价",
  19030. "type": "number"
  19031. },
  19032. "hv": {
  19033. "description": "持仓量",
  19034. "type": "integer"
  19035. },
  19036. "l": {
  19037. "description": "最低价",
  19038. "type": "number"
  19039. },
  19040. "o": {
  19041. "description": "开盘价",
  19042. "type": "number"
  19043. },
  19044. "s": {
  19045. "description": "结算价,日线周期(包括)以上才有",
  19046. "type": "number"
  19047. },
  19048. "ts": {
  19049. "description": "时间",
  19050. "type": "string"
  19051. },
  19052. "tt": {
  19053. "description": "总金额",
  19054. "type": "number"
  19055. },
  19056. "tv": {
  19057. "description": "总量",
  19058. "type": "integer"
  19059. }
  19060. }
  19061. },
  19062. "quote.HistoryTikData": {
  19063. "type": "object",
  19064. "properties": {
  19065. "AV": {
  19066. "description": "卖量",
  19067. "type": "integer"
  19068. },
  19069. "Ask": {
  19070. "description": "卖价",
  19071. "type": "number"
  19072. },
  19073. "BV": {
  19074. "description": "买量",
  19075. "type": "integer"
  19076. },
  19077. "Bid": {
  19078. "description": "买价",
  19079. "type": "number"
  19080. },
  19081. "HI": {
  19082. "description": "单笔持仓",
  19083. "type": "integer"
  19084. },
  19085. "HV": {
  19086. "description": "持仓量",
  19087. "type": "integer"
  19088. },
  19089. "PE": {
  19090. "description": "现价",
  19091. "type": "number"
  19092. },
  19093. "TDR": {
  19094. "description": "交易方向,0:买 1:卖",
  19095. "type": "integer"
  19096. },
  19097. "TK": {
  19098. "description": "交易类型",
  19099. "type": "integer"
  19100. },
  19101. "TS": {
  19102. "description": "行情时间文本",
  19103. "type": "string"
  19104. },
  19105. "TT": {
  19106. "description": "现金额",
  19107. "type": "number"
  19108. },
  19109. "Vol": {
  19110. "description": "现量",
  19111. "type": "integer"
  19112. }
  19113. }
  19114. },
  19115. "quote.QueryQuoteDayRsp": {
  19116. "type": "object",
  19117. "properties": {
  19118. "ask": {
  19119. "description": "卖1",
  19120. "type": "number"
  19121. },
  19122. "ask10": {
  19123. "description": "卖10",
  19124. "type": "number"
  19125. },
  19126. "ask2": {
  19127. "description": "卖2",
  19128. "type": "number"
  19129. },
  19130. "ask3": {
  19131. "description": "卖3",
  19132. "type": "number"
  19133. },
  19134. "ask4": {
  19135. "description": "卖4",
  19136. "type": "number"
  19137. },
  19138. "ask5": {
  19139. "description": "卖5",
  19140. "type": "number"
  19141. },
  19142. "ask6": {
  19143. "description": "卖6",
  19144. "type": "number"
  19145. },
  19146. "ask7": {
  19147. "description": "卖7",
  19148. "type": "number"
  19149. },
  19150. "ask8": {
  19151. "description": "卖8",
  19152. "type": "number"
  19153. },
  19154. "ask9": {
  19155. "description": "卖9",
  19156. "type": "number"
  19157. },
  19158. "askorderid": {
  19159. "description": "卖单号1",
  19160. "type": "integer"
  19161. },
  19162. "askorderid2": {
  19163. "description": "卖单号2",
  19164. "type": "integer"
  19165. },
  19166. "askorderid3": {
  19167. "description": "卖单号3",
  19168. "type": "integer"
  19169. },
  19170. "askorderid4": {
  19171. "description": "卖单号4",
  19172. "type": "integer"
  19173. },
  19174. "askorderid5": {
  19175. "description": "卖单号5",
  19176. "type": "integer"
  19177. },
  19178. "askordervolume": {
  19179. "description": "卖单量1",
  19180. "type": "integer"
  19181. },
  19182. "askordervolume10": {
  19183. "description": "卖单量10",
  19184. "type": "integer"
  19185. },
  19186. "askordervolume2": {
  19187. "description": "卖单量2",
  19188. "type": "integer"
  19189. },
  19190. "askordervolume3": {
  19191. "description": "卖单量3",
  19192. "type": "integer"
  19193. },
  19194. "askordervolume4": {
  19195. "description": "卖单量4",
  19196. "type": "integer"
  19197. },
  19198. "askordervolume5": {
  19199. "description": "卖单量5",
  19200. "type": "integer"
  19201. },
  19202. "askordervolume6": {
  19203. "description": "卖单量6",
  19204. "type": "integer"
  19205. },
  19206. "askordervolume7": {
  19207. "description": "卖单量7",
  19208. "type": "integer"
  19209. },
  19210. "askordervolume8": {
  19211. "description": "卖单量8",
  19212. "type": "integer"
  19213. },
  19214. "askordervolume9": {
  19215. "description": "卖单量9",
  19216. "type": "integer"
  19217. },
  19218. "askqueueinfo": {
  19219. "description": "大利市卖港股用",
  19220. "type": "string"
  19221. },
  19222. "askvolume": {
  19223. "description": "卖量1",
  19224. "type": "integer"
  19225. },
  19226. "askvolume10": {
  19227. "description": "卖量10",
  19228. "type": "integer"
  19229. },
  19230. "askvolume2": {
  19231. "description": "卖量2",
  19232. "type": "integer"
  19233. },
  19234. "askvolume3": {
  19235. "description": "卖量3",
  19236. "type": "integer"
  19237. },
  19238. "askvolume4": {
  19239. "description": "卖量4",
  19240. "type": "integer"
  19241. },
  19242. "askvolume5": {
  19243. "description": "卖量5",
  19244. "type": "integer"
  19245. },
  19246. "askvolume6": {
  19247. "description": "卖量6",
  19248. "type": "integer"
  19249. },
  19250. "askvolume7": {
  19251. "description": "卖量7",
  19252. "type": "integer"
  19253. },
  19254. "askvolume8": {
  19255. "description": "卖量8",
  19256. "type": "integer"
  19257. },
  19258. "askvolume9": {
  19259. "description": "卖量9",
  19260. "type": "integer"
  19261. },
  19262. "averageprice": {
  19263. "description": "均价",
  19264. "type": "number"
  19265. },
  19266. "bid": {
  19267. "description": "买1",
  19268. "type": "number"
  19269. },
  19270. "bid10": {
  19271. "description": "买10",
  19272. "type": "number"
  19273. },
  19274. "bid2": {
  19275. "description": "买2",
  19276. "type": "number"
  19277. },
  19278. "bid3": {
  19279. "description": "买3",
  19280. "type": "number"
  19281. },
  19282. "bid4": {
  19283. "description": "买4",
  19284. "type": "number"
  19285. },
  19286. "bid5": {
  19287. "description": "买5",
  19288. "type": "number"
  19289. },
  19290. "bid6": {
  19291. "description": "买6",
  19292. "type": "number"
  19293. },
  19294. "bid7": {
  19295. "description": "买7",
  19296. "type": "number"
  19297. },
  19298. "bid8": {
  19299. "description": "买8",
  19300. "type": "number"
  19301. },
  19302. "bid9": {
  19303. "description": "买9",
  19304. "type": "number"
  19305. },
  19306. "bidorderid": {
  19307. "description": "买单号1",
  19308. "type": "integer"
  19309. },
  19310. "bidorderid2": {
  19311. "description": "买单号2",
  19312. "type": "integer"
  19313. },
  19314. "bidorderid3": {
  19315. "description": "买单号3",
  19316. "type": "integer"
  19317. },
  19318. "bidorderid4": {
  19319. "description": "买单号4",
  19320. "type": "integer"
  19321. },
  19322. "bidorderid5": {
  19323. "description": "买单号5",
  19324. "type": "integer"
  19325. },
  19326. "bidordervolume": {
  19327. "description": "买单量1",
  19328. "type": "integer"
  19329. },
  19330. "bidordervolume10": {
  19331. "description": "买单量10",
  19332. "type": "integer"
  19333. },
  19334. "bidordervolume2": {
  19335. "description": "买单量2",
  19336. "type": "integer"
  19337. },
  19338. "bidordervolume3": {
  19339. "description": "买单量3",
  19340. "type": "integer"
  19341. },
  19342. "bidordervolume4": {
  19343. "description": "买单量4",
  19344. "type": "integer"
  19345. },
  19346. "bidordervolume5": {
  19347. "description": "买单量5",
  19348. "type": "integer"
  19349. },
  19350. "bidordervolume6": {
  19351. "description": "买单量6",
  19352. "type": "integer"
  19353. },
  19354. "bidordervolume7": {
  19355. "description": "买单量7",
  19356. "type": "integer"
  19357. },
  19358. "bidordervolume8": {
  19359. "description": "买单量8",
  19360. "type": "integer"
  19361. },
  19362. "bidordervolume9": {
  19363. "description": "买单量9",
  19364. "type": "integer"
  19365. },
  19366. "bidqueueinfo": {
  19367. "description": "大利市买港股用",
  19368. "type": "string"
  19369. },
  19370. "bidvolume": {
  19371. "description": "买量1",
  19372. "type": "integer"
  19373. },
  19374. "bidvolume10": {
  19375. "description": "买量10",
  19376. "type": "integer"
  19377. },
  19378. "bidvolume2": {
  19379. "description": "买量2",
  19380. "type": "integer"
  19381. },
  19382. "bidvolume3": {
  19383. "description": "买量3",
  19384. "type": "integer"
  19385. },
  19386. "bidvolume4": {
  19387. "description": "买量4",
  19388. "type": "integer"
  19389. },
  19390. "bidvolume5": {
  19391. "description": "买量5",
  19392. "type": "integer"
  19393. },
  19394. "bidvolume6": {
  19395. "description": "买量6",
  19396. "type": "integer"
  19397. },
  19398. "bidvolume7": {
  19399. "description": "买量7",
  19400. "type": "integer"
  19401. },
  19402. "bidvolume8": {
  19403. "description": "买量8",
  19404. "type": "integer"
  19405. },
  19406. "bidvolume9": {
  19407. "description": "买量9",
  19408. "type": "integer"
  19409. },
  19410. "calloptionpremiums": {
  19411. "description": "认购期权1",
  19412. "type": "integer"
  19413. },
  19414. "calloptionpremiums2": {
  19415. "description": "认购期权2",
  19416. "type": "integer"
  19417. },
  19418. "calloptionpremiums3": {
  19419. "description": "认购期权3",
  19420. "type": "integer"
  19421. },
  19422. "calloptionpremiums4": {
  19423. "description": "认购期权4",
  19424. "type": "integer"
  19425. },
  19426. "calloptionpremiums5": {
  19427. "description": "认购期权5",
  19428. "type": "integer"
  19429. },
  19430. "cleartime": {
  19431. "description": "清盘时间",
  19432. "type": "integer"
  19433. },
  19434. "exchangecode": {
  19435. "description": "交易所代码",
  19436. "type": "integer"
  19437. },
  19438. "exchangedate": {
  19439. "description": "交易日",
  19440. "type": "integer"
  19441. },
  19442. "goodscode": {
  19443. "description": "商品代码",
  19444. "type": "string"
  19445. },
  19446. "grepmarketprice": {
  19447. "description": "暗盘价 港股专用",
  19448. "type": "number"
  19449. },
  19450. "highest": {
  19451. "description": "最高价",
  19452. "type": "number"
  19453. },
  19454. "holdincrement": {
  19455. "description": "单笔持仓",
  19456. "type": "integer"
  19457. },
  19458. "holdvolume": {
  19459. "description": "持仓",
  19460. "type": "integer"
  19461. },
  19462. "iep": {
  19463. "description": "平衡价 港股专用",
  19464. "type": "number"
  19465. },
  19466. "iev": {
  19467. "description": "平衡量 港股专用",
  19468. "type": "number"
  19469. },
  19470. "inventory": {
  19471. "description": "库存",
  19472. "type": "integer"
  19473. },
  19474. "iscleared": {
  19475. "description": "是否清盘标志",
  19476. "type": "integer"
  19477. },
  19478. "issettled": {
  19479. "description": "是否结算标志",
  19480. "type": "integer"
  19481. },
  19482. "last": {
  19483. "description": "最新价",
  19484. "type": "number"
  19485. },
  19486. "lastlot": {
  19487. "description": "最新成交手数",
  19488. "type": "integer"
  19489. },
  19490. "lasttime": {
  19491. "description": "行情时间(只有现价变化行情时间才变化)",
  19492. "type": "string"
  19493. },
  19494. "lastturnover": {
  19495. "description": "最新成交金额",
  19496. "type": "number"
  19497. },
  19498. "lastvolume": {
  19499. "description": "最新成交量",
  19500. "type": "integer"
  19501. },
  19502. "limitdown": {
  19503. "description": "跌停价",
  19504. "type": "number"
  19505. },
  19506. "limitup": {
  19507. "description": "涨停价",
  19508. "type": "number"
  19509. },
  19510. "lowest": {
  19511. "description": "最低价",
  19512. "type": "number"
  19513. },
  19514. "nontotalholdervolume": {
  19515. "description": "非交易持仓量",
  19516. "type": "integer"
  19517. },
  19518. "nontotallot": {
  19519. "description": "非交易总手数",
  19520. "type": "integer"
  19521. },
  19522. "nontotalturnover": {
  19523. "description": "非交易总金额",
  19524. "type": "integer"
  19525. },
  19526. "nontotalvolume": {
  19527. "description": "非交易总量",
  19528. "type": "integer"
  19529. },
  19530. "opened": {
  19531. "description": "开盘价",
  19532. "type": "number"
  19533. },
  19534. "opentime": {
  19535. "description": "开盘时间",
  19536. "type": "string"
  19537. },
  19538. "orderid": {
  19539. "description": "序号",
  19540. "type": "integer"
  19541. },
  19542. "preclose": {
  19543. "description": "昨收",
  19544. "type": "number"
  19545. },
  19546. "preholdvolume": {
  19547. "description": "昨持仓",
  19548. "type": "integer"
  19549. },
  19550. "presettle": {
  19551. "description": "昨结价",
  19552. "type": "number"
  19553. },
  19554. "publictradetype": {
  19555. "description": "公共交易标志类型 港股专用",
  19556. "type": "string"
  19557. },
  19558. "putoptionpremiums": {
  19559. "description": "认沽期权1",
  19560. "type": "integer"
  19561. },
  19562. "putoptionpremiums2": {
  19563. "description": "认沽期权2",
  19564. "type": "integer"
  19565. },
  19566. "putoptionpremiums3": {
  19567. "description": "认沽期权3",
  19568. "type": "integer"
  19569. },
  19570. "putoptionpremiums4": {
  19571. "description": "认沽期权4",
  19572. "type": "integer"
  19573. },
  19574. "putoptionpremiums5": {
  19575. "description": "认沽期权5",
  19576. "type": "integer"
  19577. },
  19578. "settle": {
  19579. "description": "结算价",
  19580. "type": "number"
  19581. },
  19582. "strikeprice": {
  19583. "description": "发行价",
  19584. "type": "number"
  19585. },
  19586. "totalaskvolume": {
  19587. "description": "内盘",
  19588. "type": "integer"
  19589. },
  19590. "totalbidvolume": {
  19591. "description": "外盘",
  19592. "type": "integer"
  19593. },
  19594. "totallot": {
  19595. "description": "总手数",
  19596. "type": "integer"
  19597. },
  19598. "totalturnover": {
  19599. "description": "总金额",
  19600. "type": "number"
  19601. },
  19602. "totalvolume": {
  19603. "description": "总量",
  19604. "type": "integer"
  19605. },
  19606. "utclasttime": {
  19607. "description": "utc的行情时间",
  19608. "type": "string"
  19609. }
  19610. }
  19611. },
  19612. "quote.QueryTSDataRsp": {
  19613. "type": "object",
  19614. "properties": {
  19615. "decimalPlace": {
  19616. "description": "小数位",
  19617. "type": "integer"
  19618. },
  19619. "endTime": {
  19620. "description": "结束时间",
  19621. "type": "string"
  19622. },
  19623. "goodsCode": {
  19624. "description": "商品代码",
  19625. "type": "string"
  19626. },
  19627. "historyDatas": {
  19628. "description": "历史数据",
  19629. "type": "array",
  19630. "items": {
  19631. "$ref": "#/definitions/quote.HistoryData"
  19632. }
  19633. },
  19634. "outGoodsCode": {
  19635. "description": "外部商品代码",
  19636. "type": "string"
  19637. },
  19638. "preSettle": {
  19639. "description": "昨结价",
  19640. "type": "number"
  19641. },
  19642. "removeCount": {
  19643. "description": "交易日中休市时周期点数",
  19644. "type": "integer"
  19645. },
  19646. "runSteps": {
  19647. "description": "交易日开休市计划",
  19648. "type": "array",
  19649. "items": {
  19650. "$ref": "#/definitions/quote.TSDataRunStep"
  19651. }
  19652. },
  19653. "startTime": {
  19654. "description": "开始时间",
  19655. "type": "string"
  19656. },
  19657. "tradeDate": {
  19658. "description": "交易日",
  19659. "type": "string"
  19660. }
  19661. }
  19662. },
  19663. "quote.TSDataRunStep": {
  19664. "type": "object",
  19665. "properties": {
  19666. "end": {
  19667. "description": "真实结束时间",
  19668. "type": "string"
  19669. },
  19670. "endflag": {
  19671. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  19672. "type": "integer"
  19673. },
  19674. "endtime": {
  19675. "description": "结束时间(HH:mm)",
  19676. "type": "string"
  19677. },
  19678. "endweekday": {
  19679. "description": "结束周几",
  19680. "type": "integer"
  19681. },
  19682. "groupid": {
  19683. "description": "分组ID",
  19684. "type": "integer"
  19685. },
  19686. "runstep": {
  19687. "description": "运行阶段 - 2:连续交易",
  19688. "type": "integer"
  19689. },
  19690. "sectionid": {
  19691. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  19692. "type": "integer"
  19693. },
  19694. "start": {
  19695. "description": "真实开始时间",
  19696. "type": "string"
  19697. },
  19698. "startflag": {
  19699. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  19700. "type": "integer"
  19701. },
  19702. "starttime": {
  19703. "description": "起始时间(HH:mm)",
  19704. "type": "string"
  19705. },
  19706. "startweekday": {
  19707. "description": "起始周几",
  19708. "type": "integer"
  19709. },
  19710. "tradeweekday": {
  19711. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  19712. "type": "integer"
  19713. }
  19714. }
  19715. },
  19716. "szdz.QueryConvertLogRsp": {
  19717. "type": "object",
  19718. "required": [
  19719. "logid"
  19720. ],
  19721. "properties": {
  19722. "accountid": {
  19723. "description": "资金账户ID",
  19724. "type": "integer"
  19725. },
  19726. "clientticket": {
  19727. "description": "客户端流水号",
  19728. "type": "string"
  19729. },
  19730. "converttype": {
  19731. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19732. "type": "integer"
  19733. },
  19734. "createtime": {
  19735. "description": "记账时间",
  19736. "type": "string"
  19737. },
  19738. "daymaxvalue": {
  19739. "description": "配置当日最大转入限制",
  19740. "type": "number"
  19741. },
  19742. "daymaxvalue2": {
  19743. "description": "配置当日最大转入限制(转入)",
  19744. "type": "number"
  19745. },
  19746. "goodscode": {
  19747. "description": "商品代码",
  19748. "type": "string"
  19749. },
  19750. "goodsname": {
  19751. "description": "商品名称",
  19752. "type": "string"
  19753. },
  19754. "handlestatus": {
  19755. "description": "处理状态",
  19756. "type": "integer"
  19757. },
  19758. "innergoodsid": {
  19759. "description": "内部商品ID",
  19760. "type": "integer"
  19761. },
  19762. "inratio": {
  19763. "description": "配置转入比值",
  19764. "type": "integer"
  19765. },
  19766. "invalue": {
  19767. "description": "目标值",
  19768. "type": "number"
  19769. },
  19770. "logid": {
  19771. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19772. "type": "integer"
  19773. },
  19774. "mobile": {
  19775. "description": "手机号码(加密存储)",
  19776. "type": "string"
  19777. },
  19778. "outergoodscode": {
  19779. "description": "外部商品代码[JD\\PD]",
  19780. "type": "string"
  19781. },
  19782. "outratio": {
  19783. "description": "配置转出比值",
  19784. "type": "integer"
  19785. },
  19786. "outvalue": {
  19787. "description": "源值",
  19788. "type": "number"
  19789. },
  19790. "pddecimalplace": {
  19791. "description": "PD小数位",
  19792. "type": "integer"
  19793. },
  19794. "qty": {
  19795. "description": "数量",
  19796. "type": "string"
  19797. },
  19798. "remark": {
  19799. "description": "备注",
  19800. "type": "string"
  19801. },
  19802. "sessionid": {
  19803. "description": "会话ID",
  19804. "type": "integer"
  19805. },
  19806. "timemaxvalue": {
  19807. "description": "配置单次最大转入限制",
  19808. "type": "number"
  19809. },
  19810. "timemaxvalue2": {
  19811. "description": "配置单次最大转入限制(转入)",
  19812. "type": "number"
  19813. },
  19814. "timeminvalue": {
  19815. "description": "配置单次最小数量限制",
  19816. "type": "number"
  19817. },
  19818. "timeminvalue2": {
  19819. "description": "配置单次最小数量限制(转入)",
  19820. "type": "number"
  19821. },
  19822. "tradedate": {
  19823. "description": "交易日(yyyyMMdd)",
  19824. "type": "string"
  19825. },
  19826. "userid": {
  19827. "description": "用户ID",
  19828. "type": "integer"
  19829. }
  19830. }
  19831. },
  19832. "szdz.QueryGoodsPickupRsp": {
  19833. "type": "object",
  19834. "required": [
  19835. "takeorderid"
  19836. ],
  19837. "properties": {
  19838. "accountid": {
  19839. "description": "账户ID",
  19840. "type": "integer"
  19841. },
  19842. "address": {
  19843. "description": "提货人详细地址",
  19844. "type": "string"
  19845. },
  19846. "auditer": {
  19847. "description": "审核人",
  19848. "type": "integer"
  19849. },
  19850. "audittime": {
  19851. "description": "审核时间",
  19852. "type": "string"
  19853. },
  19854. "cardnum": {
  19855. "description": "提货人证件号码",
  19856. "type": "string"
  19857. },
  19858. "cardtypeid": {
  19859. "description": "提货人证件类型",
  19860. "type": "integer"
  19861. },
  19862. "checkremark": {
  19863. "description": "审核备注",
  19864. "type": "string"
  19865. },
  19866. "goodscode": {
  19867. "description": "商品代码",
  19868. "type": "string"
  19869. },
  19870. "goodsid": {
  19871. "description": "商品ID",
  19872. "type": "integer"
  19873. },
  19874. "goodsname": {
  19875. "description": "商品名称",
  19876. "type": "string"
  19877. },
  19878. "handlestatus": {
  19879. "description": "处理状态",
  19880. "type": "integer"
  19881. },
  19882. "marketid": {
  19883. "description": "市场ID",
  19884. "type": "integer"
  19885. },
  19886. "phonenum": {
  19887. "description": "提货人联系方式",
  19888. "type": "string"
  19889. },
  19890. "qty": {
  19891. "description": "提货数量",
  19892. "type": "number"
  19893. },
  19894. "recivername": {
  19895. "description": "提货人姓名",
  19896. "type": "string"
  19897. },
  19898. "reqtime": {
  19899. "description": "更新时间",
  19900. "type": "string"
  19901. },
  19902. "takemode": {
  19903. "description": "提货方式 - 2:自提 3:配送",
  19904. "type": "integer"
  19905. },
  19906. "takeorderid": {
  19907. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19908. "type": "string"
  19909. },
  19910. "takeorderstatus": {
  19911. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19912. "type": "integer"
  19913. },
  19914. "takeremark": {
  19915. "description": "提货备注",
  19916. "type": "string"
  19917. },
  19918. "tradedate": {
  19919. "description": "交易日(yyyyMMdd)",
  19920. "type": "string"
  19921. },
  19922. "userid": {
  19923. "description": "用户ID",
  19924. "type": "integer"
  19925. }
  19926. }
  19927. },
  19928. "szdz.QueryRecieptOrderRsp": {
  19929. "type": "object",
  19930. "required": [
  19931. "ordertime"
  19932. ],
  19933. "properties": {
  19934. "accountName": {
  19935. "description": "所属账号名称(已脱敏)",
  19936. "type": "string"
  19937. },
  19938. "accountid": {
  19939. "description": "资金账号",
  19940. "type": "integer"
  19941. },
  19942. "buyorsell": {
  19943. "description": "方向 - 0:买 1:卖",
  19944. "type": "integer"
  19945. },
  19946. "enableqty": {
  19947. "description": "可摘数量",
  19948. "type": "integer"
  19949. },
  19950. "goodscode": {
  19951. "description": "商品代码",
  19952. "type": "string"
  19953. },
  19954. "goodsid": {
  19955. "description": "商品ID",
  19956. "type": "integer"
  19957. },
  19958. "goodsname": {
  19959. "description": "商品名称",
  19960. "type": "string"
  19961. },
  19962. "orderid": {
  19963. "description": "委托单号",
  19964. "type": "string"
  19965. },
  19966. "orderprice": {
  19967. "description": "委托价格",
  19968. "type": "number"
  19969. },
  19970. "ordertime": {
  19971. "description": "委托时间",
  19972. "type": "string"
  19973. },
  19974. "tradedate": {
  19975. "description": "交易日(yyyyMMdd)",
  19976. "type": "string"
  19977. }
  19978. }
  19979. },
  19980. "szdz.QuerySZDZTradePositionRsp": {
  19981. "type": "object",
  19982. "properties": {
  19983. "accountid": {
  19984. "description": "账号Id",
  19985. "type": "integer"
  19986. },
  19987. "agreeunit": {
  19988. "description": "合约单位",
  19989. "type": "number"
  19990. },
  19991. "averageprice": {
  19992. "description": "持仓均价",
  19993. "type": "number"
  19994. },
  19995. "buyorsell": {
  19996. "description": "方向 - 0:买 1:卖",
  19997. "type": "integer"
  19998. },
  19999. "closetotalqty": {
  20000. "description": "平仓总数量",
  20001. "type": "integer"
  20002. },
  20003. "curholderamount": {
  20004. "description": "当前持仓总金额",
  20005. "type": "number"
  20006. },
  20007. "curpositionqty": {
  20008. "description": "当前持仓总数量",
  20009. "type": "integer"
  20010. },
  20011. "currencyid": {
  20012. "description": "报价货币ID",
  20013. "type": "integer"
  20014. },
  20015. "curtdposition": {
  20016. "description": "期末今日头寸",
  20017. "type": "integer"
  20018. },
  20019. "decimalplace": {
  20020. "description": "报价小数位",
  20021. "type": "integer"
  20022. },
  20023. "enableqty": {
  20024. "description": "可用量",
  20025. "type": "integer"
  20026. },
  20027. "fretdposition": {
  20028. "description": "冻结今日头寸",
  20029. "type": "integer"
  20030. },
  20031. "frozenqty": {
  20032. "description": "持仓冻结数量",
  20033. "type": "integer"
  20034. },
  20035. "goodscode": {
  20036. "description": "商品代码(内部)",
  20037. "type": "string"
  20038. },
  20039. "goodsid": {
  20040. "description": "商品Id",
  20041. "type": "integer"
  20042. },
  20043. "goodsname": {
  20044. "description": "商品名称",
  20045. "type": "string"
  20046. },
  20047. "goodunit": {
  20048. "description": "报价单位",
  20049. "type": "string"
  20050. },
  20051. "goodunitid": {
  20052. "description": "报价单位ID",
  20053. "type": "integer"
  20054. },
  20055. "holderamount": {
  20056. "description": "期初持仓总金额",
  20057. "type": "number"
  20058. },
  20059. "marketid": {
  20060. "description": "市场ID",
  20061. "type": "integer"
  20062. },
  20063. "openreqqty": {
  20064. "description": "开仓申请数量",
  20065. "type": "integer"
  20066. },
  20067. "opentotalqty": {
  20068. "description": "开仓总数量",
  20069. "type": "integer"
  20070. },
  20071. "otherfrozenqty": {
  20072. "description": "持仓其他冻结数量(交割冻结)",
  20073. "type": "integer"
  20074. },
  20075. "positionqty": {
  20076. "description": "期初持仓数量",
  20077. "type": "integer"
  20078. },
  20079. "szdz3freezqty": {
  20080. "description": "尚志大宗转换冻结总数量",
  20081. "type": "integer"
  20082. },
  20083. "tnqty": {
  20084. "description": "T+N冻结总量",
  20085. "type": "integer"
  20086. },
  20087. "tnusedqty": {
  20088. "description": "T+N使用量",
  20089. "type": "integer"
  20090. },
  20091. "trademode": {
  20092. "description": "交易模式",
  20093. "type": "integer"
  20094. },
  20095. "usedmargin": {
  20096. "description": "占用保证金",
  20097. "type": "number"
  20098. }
  20099. }
  20100. },
  20101. "taaccount.QueryAmountLogRsp": {
  20102. "type": "object",
  20103. "required": [
  20104. "accountid",
  20105. "amount",
  20106. "amountadjusttype",
  20107. "autoid",
  20108. "balance",
  20109. "createtime",
  20110. "currentbalance",
  20111. "operatetype"
  20112. ],
  20113. "properties": {
  20114. "OPERATETYPENAME": {
  20115. "description": "资金操作类型名称",
  20116. "type": "string"
  20117. },
  20118. "accountid": {
  20119. "description": "资金账户ID",
  20120. "type": "integer"
  20121. },
  20122. "agoodscode": {
  20123. "description": "竞拍商品代码",
  20124. "type": "string"
  20125. },
  20126. "agoodsname": {
  20127. "description": "竞拍商品名称",
  20128. "type": "string"
  20129. },
  20130. "amount": {
  20131. "description": "资金金额",
  20132. "type": "number"
  20133. },
  20134. "amountadjusttype": {
  20135. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20136. "type": "integer"
  20137. },
  20138. "autoid": {
  20139. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20140. "type": "integer"
  20141. },
  20142. "balance": {
  20143. "description": "期初余额",
  20144. "type": "number"
  20145. },
  20146. "businesscode": {
  20147. "description": "业务编号",
  20148. "type": "integer"
  20149. },
  20150. "createtime": {
  20151. "description": "发生时间",
  20152. "type": "string"
  20153. },
  20154. "currencyid": {
  20155. "description": "币种ID",
  20156. "type": "integer"
  20157. },
  20158. "currentbalance": {
  20159. "description": "期末余额(变动后金额)",
  20160. "type": "number"
  20161. },
  20162. "dgoodscode": {
  20163. "description": "交割商品代码",
  20164. "type": "string"
  20165. },
  20166. "dgoodsname": {
  20167. "description": "交割商品名称",
  20168. "type": "string"
  20169. },
  20170. "goodscode": {
  20171. "description": "商品代码",
  20172. "type": "string"
  20173. },
  20174. "goodsid": {
  20175. "description": "商品ID",
  20176. "type": "integer"
  20177. },
  20178. "goodsname": {
  20179. "description": "商品名称",
  20180. "type": "string"
  20181. },
  20182. "marketid": {
  20183. "description": "市场ID",
  20184. "type": "integer"
  20185. },
  20186. "marketname": {
  20187. "description": "市场名称",
  20188. "type": "string"
  20189. },
  20190. "moneyticket": {
  20191. "description": "资金流水号:银行端流水号",
  20192. "type": "integer"
  20193. },
  20194. "operatetype": {
  20195. "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:营销收款",
  20196. "type": "integer"
  20197. },
  20198. "relationorderid": {
  20199. "description": "关联单号",
  20200. "type": "string"
  20201. },
  20202. "remark": {
  20203. "description": "备注",
  20204. "type": "string"
  20205. },
  20206. "trademode": {
  20207. "description": "交易模式",
  20208. "type": "integer"
  20209. }
  20210. }
  20211. },
  20212. "taaccount.QueryHisAmountLogRsp": {
  20213. "type": "object",
  20214. "required": [
  20215. "accountid",
  20216. "amount",
  20217. "amountadjusttype",
  20218. "autoid",
  20219. "balance",
  20220. "createtime",
  20221. "currentbalance",
  20222. "histradedate",
  20223. "operatetype"
  20224. ],
  20225. "properties": {
  20226. "OPERATETYPENAME": {
  20227. "description": "资金操作类型名称",
  20228. "type": "string"
  20229. },
  20230. "accountid": {
  20231. "description": "资金账户ID",
  20232. "type": "integer"
  20233. },
  20234. "agoodscode": {
  20235. "description": "竞拍商品代码",
  20236. "type": "string"
  20237. },
  20238. "agoodsname": {
  20239. "description": "竞拍商品名称",
  20240. "type": "string"
  20241. },
  20242. "amount": {
  20243. "description": "资金金额",
  20244. "type": "number"
  20245. },
  20246. "amountadjusttype": {
  20247. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20248. "type": "integer"
  20249. },
  20250. "autoid": {
  20251. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20252. "type": "integer"
  20253. },
  20254. "balance": {
  20255. "description": "期初余额",
  20256. "type": "number"
  20257. },
  20258. "businesscode": {
  20259. "description": "业务编号",
  20260. "type": "integer"
  20261. },
  20262. "createtime": {
  20263. "description": "发生时间",
  20264. "type": "string"
  20265. },
  20266. "currencyid": {
  20267. "description": "币种ID",
  20268. "type": "integer"
  20269. },
  20270. "currentbalance": {
  20271. "description": "期末余额(变动后金额)",
  20272. "type": "number"
  20273. },
  20274. "dgoodscode": {
  20275. "description": "交割商品代码",
  20276. "type": "string"
  20277. },
  20278. "dgoodsname": {
  20279. "description": "交割商品名称",
  20280. "type": "string"
  20281. },
  20282. "goodscode": {
  20283. "description": "商品代码",
  20284. "type": "string"
  20285. },
  20286. "goodsid": {
  20287. "description": "商品ID",
  20288. "type": "integer"
  20289. },
  20290. "goodsname": {
  20291. "description": "商品名称",
  20292. "type": "string"
  20293. },
  20294. "histradedate": {
  20295. "description": "历史交易日",
  20296. "type": "string"
  20297. },
  20298. "isvaliddata": {
  20299. "description": "是否有效 - 0:无效 1:有效",
  20300. "type": "integer"
  20301. },
  20302. "marketid": {
  20303. "description": "市场ID",
  20304. "type": "integer"
  20305. },
  20306. "marketname": {
  20307. "description": "市场名称",
  20308. "type": "string"
  20309. },
  20310. "moneyticket": {
  20311. "description": "资金流水号:银行端流水号",
  20312. "type": "integer"
  20313. },
  20314. "operatetype": {
  20315. "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:营销收款",
  20316. "type": "integer"
  20317. },
  20318. "relationorderid": {
  20319. "description": "关联单号",
  20320. "type": "string"
  20321. },
  20322. "remark": {
  20323. "description": "备注",
  20324. "type": "string"
  20325. },
  20326. "trademode": {
  20327. "description": "交易模式",
  20328. "type": "integer"
  20329. }
  20330. }
  20331. },
  20332. "trade.QueryRecieptOrderRsp": {
  20333. "type": "object",
  20334. "required": [
  20335. "ordertime"
  20336. ],
  20337. "properties": {
  20338. "accountName": {
  20339. "description": "所属账号名称(已脱敏)",
  20340. "type": "string"
  20341. },
  20342. "accountid": {
  20343. "description": "资金账号",
  20344. "type": "integer"
  20345. },
  20346. "buyorsell": {
  20347. "description": "方向 - 0:买 1:卖",
  20348. "type": "integer"
  20349. },
  20350. "enableqty": {
  20351. "description": "可摘数量",
  20352. "type": "integer"
  20353. },
  20354. "goodscode": {
  20355. "description": "商品代码",
  20356. "type": "string"
  20357. },
  20358. "goodsid": {
  20359. "description": "商品ID",
  20360. "type": "integer"
  20361. },
  20362. "goodsname": {
  20363. "description": "商品名称",
  20364. "type": "string"
  20365. },
  20366. "orderid": {
  20367. "description": "委托单号",
  20368. "type": "string"
  20369. },
  20370. "orderprice": {
  20371. "description": "委托价格",
  20372. "type": "number"
  20373. },
  20374. "ordertime": {
  20375. "description": "委托时间",
  20376. "type": "string"
  20377. },
  20378. "tradedate": {
  20379. "description": "交易日(yyyyMMdd)",
  20380. "type": "string"
  20381. }
  20382. }
  20383. },
  20384. "user.LoginQueryRsp": {
  20385. "type": "object",
  20386. "properties": {
  20387. "externalExchanges": {
  20388. "description": "外部交易所",
  20389. "type": "array",
  20390. "items": {
  20391. "$ref": "#/definitions/models.Externalexchange"
  20392. }
  20393. },
  20394. "goodsgroups": {
  20395. "description": "商品组",
  20396. "type": "array",
  20397. "items": {
  20398. "$ref": "#/definitions/models.Goodsgroup"
  20399. }
  20400. },
  20401. "loginAccount": {
  20402. "description": "登录账号",
  20403. "$ref": "#/definitions/models.Loginaccount"
  20404. },
  20405. "markets": {
  20406. "description": "市场",
  20407. "type": "array",
  20408. "items": {
  20409. "$ref": "#/definitions/models.Market"
  20410. }
  20411. },
  20412. "systemParams": {
  20413. "description": "系统参数",
  20414. "type": "array",
  20415. "items": {
  20416. "$ref": "#/definitions/models.Systemparam"
  20417. }
  20418. },
  20419. "userAccount": {
  20420. "description": "用户账号",
  20421. "$ref": "#/definitions/models.Useraccount"
  20422. },
  20423. "userInfo": {
  20424. "description": "用户信息",
  20425. "$ref": "#/definitions/models.Userinfo"
  20426. },
  20427. "username": {
  20428. "description": "用户姓名",
  20429. "type": "string"
  20430. }
  20431. }
  20432. }
  20433. },
  20434. "securityDefinitions": {
  20435. "ApiKeyAuth": {
  20436. "type": "apiKey",
  20437. "name": "Authorization",
  20438. "in": "header"
  20439. }
  20440. }
  20441. }`
  20442. type swaggerInfo struct {
  20443. Version string
  20444. Host string
  20445. BasePath string
  20446. Schemes []string
  20447. Title string
  20448. Description string
  20449. }
  20450. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20451. var SwaggerInfo = swaggerInfo{
  20452. Version: "1.0",
  20453. Host: "",
  20454. BasePath: "/api",
  20455. Schemes: []string{},
  20456. Title: "MTP2.0 查询服务 API",
  20457. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20458. }
  20459. type s struct{}
  20460. func (s *s) ReadDoc() string {
  20461. sInfo := SwaggerInfo
  20462. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20463. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20464. "marshal": func(v interface{}) string {
  20465. a, _ := json.Marshal(v)
  20466. return string(a)
  20467. },
  20468. }).Parse(doc)
  20469. if err != nil {
  20470. return doc
  20471. }
  20472. var tpl bytes.Buffer
  20473. if err := t.Execute(&tpl, sInfo); err != nil {
  20474. return doc
  20475. }
  20476. return tpl.String()
  20477. }
  20478. func init() {
  20479. swag.Register(swag.Name, &s{})
  20480. }