docs.go 651 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088
  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/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/models.Szdz2imageconfig"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "integer",
  806. "description": "已存末尾商品编号",
  807. "name": "lastID",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/QryReportDayExposure": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  841. "parameters": [
  842. {
  843. "type": "integer",
  844. "description": "用户ID",
  845. "name": "userid",
  846. "in": "query",
  847. "required": true
  848. },
  849. {
  850. "type": "string",
  851. "description": "交易日(格式:yyyyMMdd)",
  852. "name": "tradedate",
  853. "in": "query",
  854. "required": true
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "OK",
  860. "schema": {
  861. "type": "array",
  862. "items": {
  863. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  864. }
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/QryReportDayFinance": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  890. "parameters": [
  891. {
  892. "type": "integer",
  893. "description": "用户ID",
  894. "name": "userid",
  895. "in": "query",
  896. "required": true
  897. },
  898. {
  899. "type": "string",
  900. "description": "交易日(格式:yyyyMMdd)",
  901. "name": "tradedate",
  902. "in": "query",
  903. "required": true
  904. }
  905. ],
  906. "responses": {
  907. "200": {
  908. "description": "OK",
  909. "schema": {
  910. "type": "array",
  911. "items": {
  912. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  913. }
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/QryReportDayFinanceFp": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "用户ID",
  943. "name": "userid",
  944. "in": "query",
  945. "required": true
  946. },
  947. {
  948. "type": "string",
  949. "description": "交易日(格式:yyyyMMdd)",
  950. "name": "tradedate",
  951. "in": "query",
  952. "required": true
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "type": "array",
  960. "items": {
  961. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  962. }
  963. }
  964. },
  965. "500": {
  966. "description": "Internal Server Error",
  967. "schema": {
  968. "$ref": "#/definitions/app.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/Ermcp/QryReportDayFinanceKx": {
  975. "get": {
  976. "security": [
  977. {
  978. "ApiKeyAuth": []
  979. }
  980. ],
  981. "produces": [
  982. "application/json"
  983. ],
  984. "tags": [
  985. "企业风险管理(app)"
  986. ],
  987. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  988. "parameters": [
  989. {
  990. "type": "integer",
  991. "description": "用户ID",
  992. "name": "userid",
  993. "in": "query",
  994. "required": true
  995. },
  996. {
  997. "type": "string",
  998. "description": "交易日(格式:yyyyMMdd)",
  999. "name": "tradedate",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Ermcp/QryReportDaySpot": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "企业风险管理(app)"
  1035. ],
  1036. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "用户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "交易日(格式:yyyyMMdd)",
  1048. "name": "tradedate",
  1049. "in": "query",
  1050. "required": true
  1051. }
  1052. ],
  1053. "responses": {
  1054. "200": {
  1055. "description": "OK",
  1056. "schema": {
  1057. "type": "array",
  1058. "items": {
  1059. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1060. }
  1061. }
  1062. },
  1063. "500": {
  1064. "description": "Internal Server Error",
  1065. "schema": {
  1066. "$ref": "#/definitions/app.Response"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/Ermcp/QryReportDaySpotDetail": {
  1073. "get": {
  1074. "security": [
  1075. {
  1076. "ApiKeyAuth": []
  1077. }
  1078. ],
  1079. "produces": [
  1080. "application/json"
  1081. ],
  1082. "tags": [
  1083. "企业风险管理(app)"
  1084. ],
  1085. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1086. "parameters": [
  1087. {
  1088. "type": "integer",
  1089. "description": "用户ID",
  1090. "name": "userid",
  1091. "in": "query",
  1092. "required": true
  1093. },
  1094. {
  1095. "type": "integer",
  1096. "description": "现货商品id",
  1097. "name": "wrstandardid",
  1098. "in": "query",
  1099. "required": true
  1100. },
  1101. {
  1102. "type": "string",
  1103. "description": "交易日(格式:yyyyMMdd)",
  1104. "name": "tradedate",
  1105. "in": "query",
  1106. "required": true
  1107. }
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "OK",
  1112. "schema": {
  1113. "type": "array",
  1114. "items": {
  1115. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1116. }
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Ermcp/QryReportMonthFinance": {
  1129. "get": {
  1130. "security": [
  1131. {
  1132. "ApiKeyAuth": []
  1133. }
  1134. ],
  1135. "produces": [
  1136. "application/json"
  1137. ],
  1138. "tags": [
  1139. "企业风险管理(app)"
  1140. ],
  1141. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1142. "parameters": [
  1143. {
  1144. "type": "integer",
  1145. "description": "用户ID",
  1146. "name": "userid",
  1147. "in": "query",
  1148. "required": true
  1149. },
  1150. {
  1151. "type": "string",
  1152. "description": "周期时间:月(格式:yyyyMM)",
  1153. "name": "cycletime",
  1154. "in": "query",
  1155. "required": true
  1156. }
  1157. ],
  1158. "responses": {
  1159. "200": {
  1160. "description": "OK",
  1161. "schema": {
  1162. "type": "array",
  1163. "items": {
  1164. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1165. }
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/app.Response"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/Ermcp/QryReportMonthSpot": {
  1178. "get": {
  1179. "security": [
  1180. {
  1181. "ApiKeyAuth": []
  1182. }
  1183. ],
  1184. "produces": [
  1185. "application/json"
  1186. ],
  1187. "tags": [
  1188. "企业风险管理(app)"
  1189. ],
  1190. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1191. "parameters": [
  1192. {
  1193. "type": "integer",
  1194. "description": "用户ID",
  1195. "name": "userid",
  1196. "in": "query",
  1197. "required": true
  1198. },
  1199. {
  1200. "type": "string",
  1201. "description": "周期时间:月(格式:yyyyMM)",
  1202. "name": "cycletime",
  1203. "in": "query",
  1204. "required": true
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QryReportMonthSpotDetail": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "现货商品id",
  1251. "name": "wrstandardid",
  1252. "in": "query",
  1253. "required": true
  1254. },
  1255. {
  1256. "type": "string",
  1257. "description": "周期时间:月(格式:yyyyMM)",
  1258. "name": "cycletime",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "type": "array",
  1268. "items": {
  1269. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Ermcp/QueryAvaildGoodsGroup": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "企业风险管理(app)"
  1294. ],
  1295. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "所属机构ID",
  1300. "name": "userid",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "type": "array",
  1310. "items": {
  1311. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1312. }
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/Ermcp/QueryBusinessDj": {
  1325. "get": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "produces": [
  1332. "application/json"
  1333. ],
  1334. "tags": [
  1335. "企业风险管理(app)"
  1336. ],
  1337. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1338. "parameters": [
  1339. {
  1340. "type": "integer",
  1341. "description": "用户ID",
  1342. "name": "UserId",
  1343. "in": "query",
  1344. "required": true
  1345. },
  1346. {
  1347. "type": "string",
  1348. "description": "现货合同ID, 不填则查所有",
  1349. "name": "relatedid",
  1350. "in": "query"
  1351. }
  1352. ],
  1353. "responses": {
  1354. "200": {
  1355. "description": "OK",
  1356. "schema": {
  1357. "type": "array",
  1358. "items": {
  1359. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1360. }
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Ermcp/QueryBusinessFp": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "企业风险管理(app)"
  1384. ],
  1385. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "用户ID",
  1390. "name": "UserId",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "string",
  1396. "description": "现货合同ID, 不填则查所有",
  1397. "name": "relatedid",
  1398. "in": "query"
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "type": "array",
  1406. "items": {
  1407. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1408. }
  1409. }
  1410. },
  1411. "500": {
  1412. "description": "Internal Server Error",
  1413. "schema": {
  1414. "$ref": "#/definitions/app.Response"
  1415. }
  1416. }
  1417. }
  1418. }
  1419. },
  1420. "/Ermcp/QueryBusinessJs": {
  1421. "get": {
  1422. "security": [
  1423. {
  1424. "ApiKeyAuth": []
  1425. }
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "企业风险管理(app)"
  1432. ],
  1433. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "用户ID",
  1438. "name": "UserId",
  1439. "in": "query",
  1440. "required": true
  1441. },
  1442. {
  1443. "type": "string",
  1444. "description": "现货合同ID, 不填则查所有",
  1445. "name": "relatedid",
  1446. "in": "query"
  1447. }
  1448. ],
  1449. "responses": {
  1450. "200": {
  1451. "description": "OK",
  1452. "schema": {
  1453. "type": "array",
  1454. "items": {
  1455. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1456. }
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/app.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/Ermcp/QueryBusinessJsEx": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "ApiKeyAuth": []
  1473. }
  1474. ],
  1475. "produces": [
  1476. "application/json"
  1477. ],
  1478. "tags": [
  1479. "企业风险管理(app)"
  1480. ],
  1481. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1482. "parameters": [
  1483. {
  1484. "type": "integer",
  1485. "description": "用户ID",
  1486. "name": "UserId",
  1487. "in": "query",
  1488. "required": true
  1489. },
  1490. {
  1491. "type": "string",
  1492. "description": "现货合同ID, 不填则查所有",
  1493. "name": "relatedid",
  1494. "in": "query"
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryBusinessKx": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "用户ID",
  1534. "name": "UserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "string",
  1540. "description": "现货合同ID, 不填则查所有",
  1541. "name": "relatedid",
  1542. "in": "query"
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryChangeLog": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询变更记录",
  1578. "parameters": [
  1579. {
  1580. "type": "string",
  1581. "description": "合同ID",
  1582. "name": "RelatedId",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryContract": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询合同(采购和销售)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "合同类型 1-采购, -1-销售",
  1631. "name": "contracttype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1638. "name": "querytype",
  1639. "in": "query",
  1640. "required": true
  1641. }
  1642. ],
  1643. "responses": {
  1644. "200": {
  1645. "description": "OK",
  1646. "schema": {
  1647. "type": "array",
  1648. "items": {
  1649. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1650. }
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "Internal Server Error",
  1655. "schema": {
  1656. "$ref": "#/definitions/app.Response"
  1657. }
  1658. }
  1659. }
  1660. }
  1661. },
  1662. "/Ermcp/QueryErmcpOrderDetails": {
  1663. "get": {
  1664. "security": [
  1665. {
  1666. "ApiKeyAuth": []
  1667. }
  1668. ],
  1669. "produces": [
  1670. "application/json"
  1671. ],
  1672. "tags": [
  1673. "企业风险管理(app)"
  1674. ],
  1675. "summary": "获取企业风管期货委托单信息",
  1676. "parameters": [
  1677. {
  1678. "type": "integer",
  1679. "description": "资金账户ID",
  1680. "name": "accountID",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1690. }
  1691. },
  1692. "500": {
  1693. "description": "Internal Server Error",
  1694. "schema": {
  1695. "$ref": "#/definitions/app.Response"
  1696. }
  1697. }
  1698. }
  1699. }
  1700. },
  1701. "/Ermcp/QueryErmcpTradeDetails": {
  1702. "get": {
  1703. "security": [
  1704. {
  1705. "ApiKeyAuth": []
  1706. }
  1707. ],
  1708. "produces": [
  1709. "application/json"
  1710. ],
  1711. "tags": [
  1712. "企业风险管理(app)"
  1713. ],
  1714. "summary": "获取企业风管期货成交单信息",
  1715. "parameters": [
  1716. {
  1717. "type": "integer",
  1718. "description": "资金账户ID",
  1719. "name": "accountID",
  1720. "in": "query",
  1721. "required": true
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "商品ID",
  1726. "name": "goodsID",
  1727. "in": "query"
  1728. },
  1729. {
  1730. "type": "integer",
  1731. "description": "买卖方向,0:买 1:卖",
  1732. "name": "buyOrSell",
  1733. "in": "query"
  1734. }
  1735. ],
  1736. "responses": {
  1737. "200": {
  1738. "description": "OK",
  1739. "schema": {
  1740. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1741. }
  1742. },
  1743. "500": {
  1744. "description": "Internal Server Error",
  1745. "schema": {
  1746. "$ref": "#/definitions/app.Response"
  1747. }
  1748. }
  1749. }
  1750. }
  1751. },
  1752. "/Ermcp/QueryErmcpTradePosition": {
  1753. "get": {
  1754. "security": [
  1755. {
  1756. "ApiKeyAuth": []
  1757. }
  1758. ],
  1759. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "获取企业风管期货持仓头寸信息",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "资金账户ID",
  1771. "name": "accountID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "所属市场ID",
  1778. "name": "marketID",
  1779. "in": "query"
  1780. }
  1781. ],
  1782. "responses": {
  1783. "200": {
  1784. "description": "OK",
  1785. "schema": {
  1786. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Ermcp/QueryExposureDetail": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "企业风险管理(app)"
  1810. ],
  1811. "summary": "查询敞口现货明细",
  1812. "parameters": [
  1813. {
  1814. "type": "integer",
  1815. "description": "所属机构ID",
  1816. "name": "areaUserId",
  1817. "in": "query",
  1818. "required": true
  1819. },
  1820. {
  1821. "type": "integer",
  1822. "description": "套保商品",
  1823. "name": "middleGoodsId",
  1824. "in": "query",
  1825. "required": true
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1835. }
  1836. }
  1837. },
  1838. "500": {
  1839. "description": "Internal Server Error",
  1840. "schema": {
  1841. "$ref": "#/definitions/app.Response"
  1842. }
  1843. }
  1844. }
  1845. }
  1846. },
  1847. "/Ermcp/QueryExposureHedgePosition": {
  1848. "get": {
  1849. "security": [
  1850. {
  1851. "ApiKeyAuth": []
  1852. }
  1853. ],
  1854. "produces": [
  1855. "application/json"
  1856. ],
  1857. "tags": [
  1858. "企业风险管理(app)"
  1859. ],
  1860. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "description": "所属机构ID",
  1865. "name": "areaUserId",
  1866. "in": "query",
  1867. "required": true
  1868. }
  1869. ],
  1870. "responses": {
  1871. "200": {
  1872. "description": "OK",
  1873. "schema": {
  1874. "type": "array",
  1875. "items": {
  1876. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1877. }
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryExposureHedgePositionDetail": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "所属机构ID",
  1907. "name": "areaUserId",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "integer",
  1913. "description": "商品id",
  1914. "name": "goodsId",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryExposureSpot": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1952. "parameters": [
  1953. {
  1954. "type": "integer",
  1955. "description": "所属机构ID",
  1956. "name": "areaUserId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryExposureSpotDetail": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "所属机构ID",
  1998. "name": "areaUserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "现货品种ID",
  2005. "name": "wrstandardId",
  2006. "in": "query",
  2007. "required": true
  2008. }
  2009. ],
  2010. "responses": {
  2011. "200": {
  2012. "description": "OK",
  2013. "schema": {
  2014. "type": "array",
  2015. "items": {
  2016. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2017. }
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "Internal Server Error",
  2022. "schema": {
  2023. "$ref": "#/definitions/app.Response"
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "/Ermcp/QueryGGConvertConfig": {
  2030. "get": {
  2031. "security": [
  2032. {
  2033. "ApiKeyAuth": []
  2034. }
  2035. ],
  2036. "produces": [
  2037. "application/json"
  2038. ],
  2039. "tags": [
  2040. "企业风险管理(app)"
  2041. ],
  2042. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2043. "parameters": [
  2044. {
  2045. "type": "integer",
  2046. "description": "品种id(不填则查所有)",
  2047. "name": "goodsgroupid",
  2048. "in": "query"
  2049. }
  2050. ],
  2051. "responses": {
  2052. "200": {
  2053. "description": "OK",
  2054. "schema": {
  2055. "type": "array",
  2056. "items": {
  2057. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2058. }
  2059. }
  2060. },
  2061. "500": {
  2062. "description": "Internal Server Error",
  2063. "schema": {
  2064. "$ref": "#/definitions/app.Response"
  2065. }
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "/Ermcp/QueryHedgePlan": {
  2071. "get": {
  2072. "security": [
  2073. {
  2074. "ApiKeyAuth": []
  2075. }
  2076. ],
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "企业风险管理(app)"
  2082. ],
  2083. "summary": "查询套保计划",
  2084. "parameters": [
  2085. {
  2086. "type": "integer",
  2087. "description": "用户ID",
  2088. "name": "userId",
  2089. "in": "query",
  2090. "required": true
  2091. },
  2092. {
  2093. "type": "string",
  2094. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2095. "name": "HedgePlanStatus",
  2096. "in": "query",
  2097. "required": true
  2098. }
  2099. ],
  2100. "responses": {
  2101. "200": {
  2102. "description": "OK",
  2103. "schema": {
  2104. "type": "array",
  2105. "items": {
  2106. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2107. }
  2108. }
  2109. },
  2110. "500": {
  2111. "description": "Internal Server Error",
  2112. "schema": {
  2113. "$ref": "#/definitions/app.Response"
  2114. }
  2115. }
  2116. }
  2117. }
  2118. },
  2119. "/Ermcp/QueryHisExposure": {
  2120. "get": {
  2121. "security": [
  2122. {
  2123. "ApiKeyAuth": []
  2124. }
  2125. ],
  2126. "produces": [
  2127. "application/json"
  2128. ],
  2129. "tags": [
  2130. "企业风险管理(app)"
  2131. ],
  2132. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2133. "parameters": [
  2134. {
  2135. "type": "integer",
  2136. "description": "所属机构ID",
  2137. "name": "areaUserId",
  2138. "in": "query",
  2139. "required": true
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "每个品种记录数",
  2144. "name": "lastNum",
  2145. "in": "query",
  2146. "required": true
  2147. }
  2148. ],
  2149. "responses": {
  2150. "200": {
  2151. "description": "OK",
  2152. "schema": {
  2153. "type": "array",
  2154. "items": {
  2155. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2156. }
  2157. }
  2158. },
  2159. "500": {
  2160. "description": "Internal Server Error",
  2161. "schema": {
  2162. "$ref": "#/definitions/app.Response"
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "/Ermcp/QueryMiddleGoods": {
  2169. "get": {
  2170. "security": [
  2171. {
  2172. "ApiKeyAuth": []
  2173. }
  2174. ],
  2175. "produces": [
  2176. "application/json"
  2177. ],
  2178. "tags": [
  2179. "企业风险管理(app)"
  2180. ],
  2181. "summary": "查询套保品种(菜单:套保品种)",
  2182. "parameters": [
  2183. {
  2184. "type": "integer",
  2185. "description": "所属机构ID",
  2186. "name": "userid",
  2187. "in": "query",
  2188. "required": true
  2189. },
  2190. {
  2191. "type": "integer",
  2192. "description": "状态 0-停用 1-正常",
  2193. "name": "status",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "userid",
  2236. "in": "query",
  2237. "required": true
  2238. },
  2239. {
  2240. "type": "integer",
  2241. "description": "套保品种id",
  2242. "name": "middlegoodsid",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryMiddleGoodsDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "userid",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "套保品种id",
  2291. "name": "middlegoodsid",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryPendingAuditInfo": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2329. "parameters": [
  2330. {
  2331. "type": "integer",
  2332. "description": "用户ID",
  2333. "name": "UserId",
  2334. "in": "query",
  2335. "required": true
  2336. }
  2337. ],
  2338. "responses": {
  2339. "200": {
  2340. "description": "OK",
  2341. "schema": {
  2342. "type": "array",
  2343. "items": {
  2344. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2345. }
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "Internal Server Error",
  2350. "schema": {
  2351. "$ref": "#/definitions/app.Response"
  2352. }
  2353. }
  2354. }
  2355. }
  2356. },
  2357. "/Ermcp/QueryRealtimeExposure": {
  2358. "get": {
  2359. "security": [
  2360. {
  2361. "ApiKeyAuth": []
  2362. }
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "企业风险管理(app)"
  2369. ],
  2370. "summary": "查询实时敞口",
  2371. "parameters": [
  2372. {
  2373. "type": "integer",
  2374. "description": "所属机构ID",
  2375. "name": "AreaUserID",
  2376. "in": "query",
  2377. "required": true
  2378. }
  2379. ],
  2380. "responses": {
  2381. "200": {
  2382. "description": "OK",
  2383. "schema": {
  2384. "type": "array",
  2385. "items": {
  2386. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2387. }
  2388. }
  2389. },
  2390. "500": {
  2391. "description": "Internal Server Error",
  2392. "schema": {
  2393. "$ref": "#/definitions/app.Response"
  2394. }
  2395. }
  2396. }
  2397. }
  2398. },
  2399. "/Ermcp/QueryRealtimeExposurePosition": {
  2400. "get": {
  2401. "security": [
  2402. {
  2403. "ApiKeyAuth": []
  2404. }
  2405. ],
  2406. "produces": [
  2407. "application/json"
  2408. ],
  2409. "tags": [
  2410. "企业风险管理(app)"
  2411. ],
  2412. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2413. "parameters": [
  2414. {
  2415. "type": "integer",
  2416. "description": "所属机构ID",
  2417. "name": "areaUserId",
  2418. "in": "query",
  2419. "required": true
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "套保商品ID",
  2424. "name": "middleGoodsId",
  2425. "in": "query",
  2426. "required": true
  2427. }
  2428. ],
  2429. "responses": {
  2430. "200": {
  2431. "description": "OK",
  2432. "schema": {
  2433. "type": "array",
  2434. "items": {
  2435. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2436. }
  2437. }
  2438. },
  2439. "500": {
  2440. "description": "Internal Server Error",
  2441. "schema": {
  2442. "$ref": "#/definitions/app.Response"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "/Ermcp/QuerySpotContract": {
  2449. "get": {
  2450. "security": [
  2451. {
  2452. "ApiKeyAuth": []
  2453. }
  2454. ],
  2455. "produces": [
  2456. "application/json"
  2457. ],
  2458. "tags": [
  2459. "企业风险管理(app)"
  2460. ],
  2461. "summary": "查询现货合同(对应现货合同菜单)",
  2462. "parameters": [
  2463. {
  2464. "type": "integer",
  2465. "description": "用户ID",
  2466. "name": "userId",
  2467. "in": "query",
  2468. "required": true
  2469. },
  2470. {
  2471. "type": "integer",
  2472. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2473. "name": "QueryType",
  2474. "in": "query",
  2475. "required": true
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "type": "array",
  2483. "items": {
  2484. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2485. }
  2486. }
  2487. },
  2488. "500": {
  2489. "description": "Internal Server Error",
  2490. "schema": {
  2491. "$ref": "#/definitions/app.Response"
  2492. }
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "/Ermcp/QueryUserInfo": {
  2498. "get": {
  2499. "security": [
  2500. {
  2501. "ApiKeyAuth": []
  2502. }
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "企业风险管理(app)"
  2509. ],
  2510. "summary": "查询客户资料",
  2511. "parameters": [
  2512. {
  2513. "type": "integer",
  2514. "description": "所属机构用户ID",
  2515. "name": "MemberUserID",
  2516. "in": "query",
  2517. "required": true
  2518. },
  2519. {
  2520. "type": "integer",
  2521. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2522. "name": "queryType",
  2523. "in": "query",
  2524. "required": true
  2525. }
  2526. ],
  2527. "responses": {
  2528. "200": {
  2529. "description": "OK",
  2530. "schema": {
  2531. "type": "array",
  2532. "items": {
  2533. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2534. }
  2535. }
  2536. },
  2537. "500": {
  2538. "description": "Internal Server Error",
  2539. "schema": {
  2540. "$ref": "#/definitions/app.Response"
  2541. }
  2542. }
  2543. }
  2544. }
  2545. },
  2546. "/Ermcp/QueryWrStandard": {
  2547. "get": {
  2548. "security": [
  2549. {
  2550. "ApiKeyAuth": []
  2551. }
  2552. ],
  2553. "produces": [
  2554. "application/json"
  2555. ],
  2556. "tags": [
  2557. "企业风险管理(app)"
  2558. ],
  2559. "summary": "查询现货商品",
  2560. "parameters": [
  2561. {
  2562. "type": "integer",
  2563. "description": "所属机构ID",
  2564. "name": "userid",
  2565. "in": "query",
  2566. "required": true
  2567. },
  2568. {
  2569. "type": "integer",
  2570. "description": "状态 0-停用 1-正常",
  2571. "name": "status",
  2572. "in": "query",
  2573. "required": true
  2574. }
  2575. ],
  2576. "responses": {
  2577. "200": {
  2578. "description": "OK",
  2579. "schema": {
  2580. "type": "array",
  2581. "items": {
  2582. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2583. }
  2584. }
  2585. },
  2586. "500": {
  2587. "description": "Internal Server Error",
  2588. "schema": {
  2589. "$ref": "#/definitions/app.Response"
  2590. }
  2591. }
  2592. }
  2593. }
  2594. },
  2595. "/Ermcp/QueryWrStandardDetail": {
  2596. "get": {
  2597. "security": [
  2598. {
  2599. "ApiKeyAuth": []
  2600. }
  2601. ],
  2602. "produces": [
  2603. "application/json"
  2604. ],
  2605. "tags": [
  2606. "企业风险管理(app)"
  2607. ],
  2608. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2609. "parameters": [
  2610. {
  2611. "type": "integer",
  2612. "description": "所属机构ID",
  2613. "name": "userid",
  2614. "in": "query",
  2615. "required": true
  2616. },
  2617. {
  2618. "type": "integer",
  2619. "description": "现货商品ID",
  2620. "name": "wrstandardid",
  2621. "in": "query",
  2622. "required": true
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "type": "array",
  2630. "items": {
  2631. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2632. }
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/Erms2/QueryArbitrageStrategy": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "风险管理"
  2656. ],
  2657. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2658. "parameters": [
  2659. {
  2660. "type": "integer",
  2661. "description": "账户ID",
  2662. "name": "userid",
  2663. "in": "query",
  2664. "required": true
  2665. },
  2666. {
  2667. "type": "string",
  2668. "description": "商品组ID(品种ID)",
  2669. "name": "goodsgroupid",
  2670. "in": "query"
  2671. }
  2672. ],
  2673. "responses": {
  2674. "200": {
  2675. "description": "OK",
  2676. "schema": {
  2677. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2678. }
  2679. },
  2680. "500": {
  2681. "description": "Internal Server Error",
  2682. "schema": {
  2683. "$ref": "#/definitions/app.Response"
  2684. }
  2685. }
  2686. }
  2687. }
  2688. },
  2689. "/Erms2/QueryInnerTradeDetail": {
  2690. "get": {
  2691. "security": [
  2692. {
  2693. "ApiKeyAuth": []
  2694. }
  2695. ],
  2696. "produces": [
  2697. "application/json"
  2698. ],
  2699. "tags": [
  2700. "风险管理"
  2701. ],
  2702. "summary": "查询内部成交单信息",
  2703. "parameters": [
  2704. {
  2705. "type": "integer",
  2706. "description": "资金账户",
  2707. "name": "accountid",
  2708. "in": "query",
  2709. "required": true
  2710. }
  2711. ],
  2712. "responses": {
  2713. "200": {
  2714. "description": "OK",
  2715. "schema": {
  2716. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Erms2/QuerySpotContract": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "风险管理"
  2740. ],
  2741. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "策略申请ID",
  2746. "name": "asapplyid",
  2747. "in": "query",
  2748. "required": true
  2749. },
  2750. {
  2751. "type": "integer",
  2752. "description": "现货合同ID",
  2753. "name": "spotcontractid",
  2754. "in": "query"
  2755. }
  2756. ],
  2757. "responses": {
  2758. "200": {
  2759. "description": "OK",
  2760. "schema": {
  2761. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2762. }
  2763. },
  2764. "500": {
  2765. "description": "Internal Server Error",
  2766. "schema": {
  2767. "$ref": "#/definitions/app.Response"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/Erms3/AddErms2ASApply": {
  2774. "post": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "produces": [
  2781. "application/json"
  2782. ],
  2783. "tags": [
  2784. "风险管理v3"
  2785. ],
  2786. "summary": "新增期现套利业务申请",
  2787. "parameters": [
  2788. {
  2789. "description": "申请参数",
  2790. "name": "jsonBody",
  2791. "in": "body",
  2792. "required": true,
  2793. "schema": {
  2794. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2795. }
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/Erms3/AddErms2SpotTradeApply": {
  2815. "post": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "风险管理v3"
  2826. ],
  2827. "summary": "新增现货贸易业务申请",
  2828. "parameters": [
  2829. {
  2830. "description": "申请参数",
  2831. "name": "jsonBody",
  2832. "in": "body",
  2833. "required": true,
  2834. "schema": {
  2835. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2836. }
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Erms3/AddSpotContractApply": {
  2856. "post": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "风险管理v3"
  2867. ],
  2868. "summary": "新增现货合同申请",
  2869. "parameters": [
  2870. {
  2871. "description": "申请参数",
  2872. "name": "jsonBody",
  2873. "in": "body",
  2874. "required": true,
  2875. "schema": {
  2876. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2877. }
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Erms3/AddUserInfoApply": {
  2897. "post": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "风险管理v3"
  2908. ],
  2909. "summary": "新增客户申请",
  2910. "parameters": [
  2911. {
  2912. "description": "用户信息",
  2913. "name": "jsonBody",
  2914. "in": "body",
  2915. "required": true,
  2916. "schema": {
  2917. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2918. }
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. },
  2928. "500": {
  2929. "description": "Internal Server Error",
  2930. "schema": {
  2931. "$ref": "#/definitions/app.Response"
  2932. }
  2933. }
  2934. }
  2935. }
  2936. },
  2937. "/Erms3/ModifyUserInfoApply": {
  2938. "post": {
  2939. "security": [
  2940. {
  2941. "ApiKeyAuth": []
  2942. }
  2943. ],
  2944. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2945. "produces": [
  2946. "application/json"
  2947. ],
  2948. "tags": [
  2949. "风险管理v3"
  2950. ],
  2951. "summary": "修改客户申请",
  2952. "parameters": [
  2953. {
  2954. "description": "用户信息",
  2955. "name": "jsonBody",
  2956. "in": "body",
  2957. "required": true,
  2958. "schema": {
  2959. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2960. }
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Erms3/QueryBusinessInfo": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "风险管理v3"
  2991. ],
  2992. "summary": "查询业务表单数据",
  2993. "parameters": [
  2994. {
  2995. "type": "string",
  2996. "description": "资金账号ID列表,用逗号分隔",
  2997. "name": "accountids",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "状态,0为未结束 1为已结束",
  3004. "name": "status",
  3005. "in": "query",
  3006. "required": true
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "type": "array",
  3014. "items": {
  3015. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3016. }
  3017. }
  3018. },
  3019. "500": {
  3020. "description": "Internal Server Error",
  3021. "schema": {
  3022. "$ref": "#/definitions/app.Response"
  3023. }
  3024. }
  3025. }
  3026. }
  3027. },
  3028. "/Erms3/QueryPendingAuditContract": {
  3029. "get": {
  3030. "security": [
  3031. {
  3032. "ApiKeyAuth": []
  3033. }
  3034. ],
  3035. "produces": [
  3036. "application/json"
  3037. ],
  3038. "tags": [
  3039. "风险管理v3"
  3040. ],
  3041. "summary": "查询待审核合同",
  3042. "parameters": [
  3043. {
  3044. "type": "string",
  3045. "description": "资金账号ID列表,逗号隔开",
  3046. "name": "accountids",
  3047. "in": "query",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "合同类型 1-采购 -1-销售",
  3053. "name": "contracttype",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "合同模式 1-普通 2-回购",
  3060. "name": "contractmode",
  3061. "in": "query",
  3062. "required": true
  3063. }
  3064. ],
  3065. "responses": {
  3066. "200": {
  3067. "description": "OK",
  3068. "schema": {
  3069. "type": "array",
  3070. "items": {
  3071. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3072. }
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "Internal Server Error",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "/Erms3/QueryPendingBusiness": {
  3085. "get": {
  3086. "security": [
  3087. {
  3088. "ApiKeyAuth": []
  3089. }
  3090. ],
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "风险管理v3"
  3096. ],
  3097. "summary": "查询待审核基差贸易业务",
  3098. "parameters": [
  3099. {
  3100. "type": "string",
  3101. "description": "资金账号ID列表,逗号隔开",
  3102. "name": "accountids",
  3103. "in": "query",
  3104. "required": true
  3105. }
  3106. ],
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "type": "array",
  3112. "items": {
  3113. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3114. }
  3115. }
  3116. },
  3117. "500": {
  3118. "description": "Internal Server Error",
  3119. "schema": {
  3120. "$ref": "#/definitions/app.Response"
  3121. }
  3122. }
  3123. }
  3124. }
  3125. },
  3126. "/Erms3/QuerySpotContractAppleForm": {
  3127. "get": {
  3128. "security": [
  3129. {
  3130. "ApiKeyAuth": []
  3131. }
  3132. ],
  3133. "produces": [
  3134. "application/json"
  3135. ],
  3136. "tags": [
  3137. "风险管理v3"
  3138. ],
  3139. "summary": "查询合同申请表单数据",
  3140. "parameters": [
  3141. {
  3142. "type": "integer",
  3143. "description": "登录账号",
  3144. "name": "loginID",
  3145. "in": "query",
  3146. "required": true
  3147. }
  3148. ],
  3149. "responses": {
  3150. "200": {
  3151. "description": "OK",
  3152. "schema": {
  3153. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Erms3/QuerySpotContractDetail": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "风险管理v3"
  3177. ],
  3178. "summary": "查询合同详细信息",
  3179. "parameters": [
  3180. {
  3181. "type": "string",
  3182. "description": "资金账号ID列表,用逗号分隔",
  3183. "name": "accountids",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "integer",
  3189. "description": "合同类型,1为采购合同 -1为销售合同",
  3190. "name": "contracttype",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "合同模式,1为普通合同 2为回购销售合同",
  3197. "name": "contractmode",
  3198. "in": "query",
  3199. "required": true
  3200. },
  3201. {
  3202. "type": "integer",
  3203. "description": "状态,0为履约中 1为已完成",
  3204. "name": "status",
  3205. "in": "query",
  3206. "required": true
  3207. }
  3208. ],
  3209. "responses": {
  3210. "200": {
  3211. "description": "OK",
  3212. "schema": {
  3213. "type": "array",
  3214. "items": {
  3215. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3216. }
  3217. }
  3218. },
  3219. "500": {
  3220. "description": "Internal Server Error",
  3221. "schema": {
  3222. "$ref": "#/definitions/app.Response"
  3223. }
  3224. }
  3225. }
  3226. }
  3227. },
  3228. "/Erms3/QueryUserInfoApplies": {
  3229. "get": {
  3230. "security": [
  3231. {
  3232. "ApiKeyAuth": []
  3233. }
  3234. ],
  3235. "produces": [
  3236. "application/json"
  3237. ],
  3238. "tags": [
  3239. "风险管理v3"
  3240. ],
  3241. "summary": "客户申请信息查询",
  3242. "parameters": [
  3243. {
  3244. "type": "integer",
  3245. "description": "页码",
  3246. "name": "page",
  3247. "in": "query"
  3248. },
  3249. {
  3250. "type": "integer",
  3251. "description": "每页条数",
  3252. "name": "pagesize",
  3253. "in": "query"
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "客户名称,支持模糊查询",
  3258. "name": "userName",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/Erms3/QueryUserInfos": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "风险管理v3"
  3290. ],
  3291. "summary": "客户信息查询",
  3292. "parameters": [
  3293. {
  3294. "type": "integer",
  3295. "description": "页码",
  3296. "name": "page",
  3297. "in": "query"
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "每页条数",
  3302. "name": "pagesize",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "string",
  3307. "description": "客户名称,支持模糊查询",
  3308. "name": "userName",
  3309. "in": "query"
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/HSBY/GetHsbyMyCount": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "description": "说明: 不包括已完成的数量。",
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "定制【海商报业】"
  3341. ],
  3342. "summary": "获取我的订单与包裹数量",
  3343. "parameters": [
  3344. {
  3345. "type": "string",
  3346. "description": "资金账户列表,格式:1,2,3",
  3347. "name": "accountIDs",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/HSBY/QueryClientFixedADConfigs": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "produces": [
  3376. "application/json"
  3377. ],
  3378. "tags": [
  3379. "定制【海商报业】"
  3380. ],
  3381. "summary": "获取终端固定广告配置",
  3382. "responses": {
  3383. "200": {
  3384. "description": "OK",
  3385. "schema": {
  3386. "$ref": "#/definitions/models.Clientfixedadconfig"
  3387. }
  3388. },
  3389. "500": {
  3390. "description": "Internal Server Error",
  3391. "schema": {
  3392. "$ref": "#/definitions/app.Response"
  3393. }
  3394. }
  3395. }
  3396. }
  3397. },
  3398. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3399. "get": {
  3400. "security": [
  3401. {
  3402. "ApiKeyAuth": []
  3403. }
  3404. ],
  3405. "produces": [
  3406. "application/json"
  3407. ],
  3408. "tags": [
  3409. "定制【海商报业】"
  3410. ],
  3411. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3412. "parameters": [
  3413. {
  3414. "type": "integer",
  3415. "description": "页码",
  3416. "name": "page",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "integer",
  3421. "description": "每页条数",
  3422. "name": "pagesize",
  3423. "in": "query"
  3424. },
  3425. {
  3426. "type": "string",
  3427. "description": "资金账户列表,格式:1,2,3",
  3428. "name": "accountIDs",
  3429. "in": "query",
  3430. "required": true
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "description": "说明:查询结果已按委托价格和委托时间排序",
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "定制【海商报业】"
  3462. ],
  3463. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3464. "parameters": [
  3465. {
  3466. "type": "integer",
  3467. "description": "商品ID",
  3468. "name": "goodsID",
  3469. "in": "query",
  3470. "required": true
  3471. },
  3472. {
  3473. "type": "string",
  3474. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3475. "name": "accountIDs",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3481. "name": "buyOrSell",
  3482. "in": "query"
  3483. },
  3484. {
  3485. "type": "number",
  3486. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3487. "name": "price",
  3488. "in": "query"
  3489. },
  3490. {
  3491. "type": "integer",
  3492. "description": "档位,不传则默认为3档",
  3493. "name": "speed",
  3494. "in": "query"
  3495. }
  3496. ],
  3497. "responses": {
  3498. "200": {
  3499. "description": "OK",
  3500. "schema": {
  3501. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3502. }
  3503. },
  3504. "500": {
  3505. "description": "Internal Server Error",
  3506. "schema": {
  3507. "$ref": "#/definitions/app.Response"
  3508. }
  3509. }
  3510. }
  3511. }
  3512. },
  3513. "/HSBY/QueryHsbyListingGoodsDetail": {
  3514. "get": {
  3515. "security": [
  3516. {
  3517. "ApiKeyAuth": []
  3518. }
  3519. ],
  3520. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3521. "produces": [
  3522. "application/json"
  3523. ],
  3524. "tags": [
  3525. "定制【海商报业】"
  3526. ],
  3527. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3528. "parameters": [
  3529. {
  3530. "type": "integer",
  3531. "description": "商品ID",
  3532. "name": "goodsID",
  3533. "in": "query",
  3534. "required": true
  3535. },
  3536. {
  3537. "type": "integer",
  3538. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3539. "name": "accountID",
  3540. "in": "query"
  3541. }
  3542. ],
  3543. "responses": {
  3544. "200": {
  3545. "description": "OK",
  3546. "schema": {
  3547. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "定制【海商报业】"
  3571. ],
  3572. "summary": "查询三级市场(商城)商品信息详情",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "委托单号",
  3577. "name": "orderID",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3584. "name": "accountID",
  3585. "in": "query"
  3586. }
  3587. ],
  3588. "responses": {
  3589. "200": {
  3590. "description": "OK",
  3591. "schema": {
  3592. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3593. }
  3594. },
  3595. "500": {
  3596. "description": "Internal Server Error",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "/HSBY/QueryHsbyMarketGoodses": {
  3605. "get": {
  3606. "security": [
  3607. {
  3608. "ApiKeyAuth": []
  3609. }
  3610. ],
  3611. "produces": [
  3612. "application/json"
  3613. ],
  3614. "tags": [
  3615. "定制【海商报业】"
  3616. ],
  3617. "summary": "查询特卖商品列表(三级商城)",
  3618. "parameters": [
  3619. {
  3620. "type": "integer",
  3621. "description": "页码",
  3622. "name": "page",
  3623. "in": "query"
  3624. },
  3625. {
  3626. "type": "integer",
  3627. "description": "每页条数",
  3628. "name": "pagesize",
  3629. "in": "query"
  3630. },
  3631. {
  3632. "type": "string",
  3633. "description": "市场ID列表,格式:1,2,3",
  3634. "name": "marketIDs",
  3635. "in": "query",
  3636. "required": true
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3641. "name": "accountID",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "类别ID",
  3648. "name": "categoryID",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3654. "name": "goodsIDs",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3660. "name": "couponTypeID",
  3661. "in": "query"
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "$ref": "#/definitions/models.HsbyMarketGoods"
  3669. }
  3670. },
  3671. "500": {
  3672. "description": "Internal Server Error",
  3673. "schema": {
  3674. "$ref": "#/definitions/app.Response"
  3675. }
  3676. }
  3677. }
  3678. }
  3679. },
  3680. "/HSBY/QueryHsbyMarkets": {
  3681. "get": {
  3682. "security": [
  3683. {
  3684. "ApiKeyAuth": []
  3685. }
  3686. ],
  3687. "produces": [
  3688. "application/json"
  3689. ],
  3690. "tags": [
  3691. "定制【海商报业】"
  3692. ],
  3693. "summary": "查询海商报业相关市场信息",
  3694. "responses": {
  3695. "200": {
  3696. "description": "OK",
  3697. "schema": {
  3698. "$ref": "#/definitions/models.HsbyMarketInfo"
  3699. }
  3700. },
  3701. "500": {
  3702. "description": "Internal Server Error",
  3703. "schema": {
  3704. "$ref": "#/definitions/app.Response"
  3705. }
  3706. }
  3707. }
  3708. }
  3709. },
  3710. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3711. "get": {
  3712. "security": [
  3713. {
  3714. "ApiKeyAuth": []
  3715. }
  3716. ],
  3717. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3718. "produces": [
  3719. "application/json"
  3720. ],
  3721. "tags": [
  3722. "定制【海商报业】"
  3723. ],
  3724. "summary": "查询“我的订单”信息",
  3725. "parameters": [
  3726. {
  3727. "type": "string",
  3728. "description": "资金账户列表,格式:1,2,3",
  3729. "name": "accountIDs",
  3730. "in": "query",
  3731. "required": true
  3732. }
  3733. ],
  3734. "responses": {
  3735. "200": {
  3736. "description": "OK",
  3737. "schema": {
  3738. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/HSBY/QueryHsbyMyGoods": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3758. "produces": [
  3759. "application/json"
  3760. ],
  3761. "tags": [
  3762. "定制【海商报业】"
  3763. ],
  3764. "summary": "查询“我的商品”信息",
  3765. "parameters": [
  3766. {
  3767. "type": "string",
  3768. "description": "资金账户列表,格式:1,2,3",
  3769. "name": "accountIDs",
  3770. "in": "query",
  3771. "required": true
  3772. }
  3773. ],
  3774. "responses": {
  3775. "200": {
  3776. "description": "OK",
  3777. "schema": {
  3778. "$ref": "#/definitions/models.HsbyMyGoods"
  3779. }
  3780. },
  3781. "500": {
  3782. "description": "Internal Server Error",
  3783. "schema": {
  3784. "$ref": "#/definitions/app.Response"
  3785. }
  3786. }
  3787. }
  3788. }
  3789. },
  3790. "/HSBY/QueryHsbyMyPackages": {
  3791. "get": {
  3792. "security": [
  3793. {
  3794. "ApiKeyAuth": []
  3795. }
  3796. ],
  3797. "produces": [
  3798. "application/json"
  3799. ],
  3800. "tags": [
  3801. "定制【海商报业】"
  3802. ],
  3803. "summary": "查询我的包裹信息",
  3804. "parameters": [
  3805. {
  3806. "type": "string",
  3807. "description": "资金账户列表,格式:1,2,3",
  3808. "name": "accountIDs",
  3809. "in": "query",
  3810. "required": true
  3811. },
  3812. {
  3813. "type": "integer",
  3814. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3815. "name": "takeOrderStatus",
  3816. "in": "query"
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "$ref": "#/definitions/models.HsbyMyPackage"
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/HSBY/QueryHsbyPreGoodsDetail": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "定制【海商报业】"
  3847. ],
  3848. "summary": "查询一级市场(预售)商品信息详情",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "商品ID",
  3853. "name": "goodsID",
  3854. "in": "query",
  3855. "required": true
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "资金账户,主要用于获取预售商品购买上限",
  3860. "name": "accountID",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/HSBY/QueryHsbyPreGoodses": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "定制【海商报业】"
  3893. ],
  3894. "summary": "查询新品上市商品列表(一级市场预售)",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "页码",
  3899. "name": "page",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "每页条数",
  3905. "name": "pagesize",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "string",
  3910. "description": "市场ID列表,格式:1,2,3",
  3911. "name": "marketIDs",
  3912. "in": "query",
  3913. "required": true
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "目的地(省)ID",
  3918. "name": "descProvinceID",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "目的地(市)ID",
  3924. "name": "descCityID",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/models.HsbyPreGoods"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. },
  3944. "/HSBY/QueryHsbySellMyDetails": {
  3945. "get": {
  3946. "security": [
  3947. {
  3948. "ApiKeyAuth": []
  3949. }
  3950. ],
  3951. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "定制【海商报业】"
  3957. ],
  3958. "summary": "查询\"我的闲置\"单据信息",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "页码",
  3963. "name": "page",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "integer",
  3968. "description": "每页条数",
  3969. "name": "pagesize",
  3970. "in": "query"
  3971. },
  3972. {
  3973. "type": "string",
  3974. "description": "资金账户列表,格式:1,2,3",
  3975. "name": "accountIDs",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3982. "name": "orderType",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "$ref": "#/definitions/models.HsbySellMyDetail"
  3991. }
  3992. },
  3993. "500": {
  3994. "description": "Internal Server Error",
  3995. "schema": {
  3996. "$ref": "#/definitions/app.Response"
  3997. }
  3998. }
  3999. }
  4000. }
  4001. },
  4002. "/HSBY/QueryHsbyTopGoodses": {
  4003. "get": {
  4004. "security": [
  4005. {
  4006. "ApiKeyAuth": []
  4007. }
  4008. ],
  4009. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4010. "produces": [
  4011. "application/json"
  4012. ],
  4013. "tags": [
  4014. "定制【海商报业】"
  4015. ],
  4016. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4017. "parameters": [
  4018. {
  4019. "type": "integer",
  4020. "description": "页码",
  4021. "name": "page",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "integer",
  4026. "description": "每页条数",
  4027. "name": "pagesize",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "string",
  4032. "description": "市场ID列表,格式:1,2,3",
  4033. "name": "marketIDs",
  4034. "in": "query",
  4035. "required": true
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "目的地(省)ID",
  4040. "name": "descProvinceID",
  4041. "in": "query"
  4042. },
  4043. {
  4044. "type": "integer",
  4045. "description": "目的地(市)ID",
  4046. "name": "descCityID",
  4047. "in": "query"
  4048. }
  4049. ],
  4050. "responses": {
  4051. "200": {
  4052. "description": "OK",
  4053. "schema": {
  4054. "$ref": "#/definitions/models.HsbyTopGoods"
  4055. }
  4056. },
  4057. "500": {
  4058. "description": "Internal Server Error",
  4059. "schema": {
  4060. "$ref": "#/definitions/app.Response"
  4061. }
  4062. }
  4063. }
  4064. }
  4065. },
  4066. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4067. "get": {
  4068. "security": [
  4069. {
  4070. "ApiKeyAuth": []
  4071. }
  4072. ],
  4073. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4074. "produces": [
  4075. "application/json"
  4076. ],
  4077. "tags": [
  4078. "定制【海商报业】"
  4079. ],
  4080. "summary": "查询游客三级市场(商城)商品信息详情",
  4081. "parameters": [
  4082. {
  4083. "type": "integer",
  4084. "description": "商品ID",
  4085. "name": "goodsID",
  4086. "in": "query",
  4087. "required": true
  4088. }
  4089. ],
  4090. "responses": {
  4091. "200": {
  4092. "description": "OK",
  4093. "schema": {
  4094. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4095. }
  4096. },
  4097. "500": {
  4098. "description": "Internal Server Error",
  4099. "schema": {
  4100. "$ref": "#/definitions/app.Response"
  4101. }
  4102. }
  4103. }
  4104. }
  4105. },
  4106. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4107. "get": {
  4108. "security": [
  4109. {
  4110. "ApiKeyAuth": []
  4111. }
  4112. ],
  4113. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "定制【海商报业】"
  4119. ],
  4120. "summary": "查询游客特卖商品列表(三级商城)",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "页码",
  4125. "name": "page",
  4126. "in": "query"
  4127. },
  4128. {
  4129. "type": "integer",
  4130. "description": "每页条数",
  4131. "name": "pagesize",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "string",
  4136. "description": "市场ID列表,格式:1,2,3",
  4137. "name": "marketIDs",
  4138. "in": "query",
  4139. "required": true
  4140. },
  4141. {
  4142. "type": "integer",
  4143. "description": "类别ID",
  4144. "name": "categoryID",
  4145. "in": "query"
  4146. },
  4147. {
  4148. "type": "string",
  4149. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4150. "name": "goodsIDs",
  4151. "in": "query"
  4152. }
  4153. ],
  4154. "responses": {
  4155. "200": {
  4156. "description": "OK",
  4157. "schema": {
  4158. "$ref": "#/definitions/models.HsbyMarketGoods"
  4159. }
  4160. },
  4161. "500": {
  4162. "description": "Internal Server Error",
  4163. "schema": {
  4164. "$ref": "#/definitions/app.Response"
  4165. }
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "/HSBY/QueryMyCollectionOrders": {
  4171. "get": {
  4172. "security": [
  4173. {
  4174. "ApiKeyAuth": []
  4175. }
  4176. ],
  4177. "produces": [
  4178. "application/json"
  4179. ],
  4180. "tags": [
  4181. "定制【海商报业】"
  4182. ],
  4183. "summary": "我的闲置中收款信息查询",
  4184. "parameters": [
  4185. {
  4186. "type": "integer",
  4187. "description": "页码",
  4188. "name": "page",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "integer",
  4193. "description": "每页条数",
  4194. "name": "pagesize",
  4195. "in": "query"
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "资金账户,格式:1,2,3",
  4200. "name": "accountIDs",
  4201. "in": "query",
  4202. "required": true
  4203. }
  4204. ],
  4205. "responses": {
  4206. "200": {
  4207. "description": "OK",
  4208. "schema": {
  4209. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4210. }
  4211. },
  4212. "500": {
  4213. "description": "Internal Server Error",
  4214. "schema": {
  4215. "$ref": "#/definitions/app.Response"
  4216. }
  4217. }
  4218. }
  4219. }
  4220. },
  4221. "/HSBY/QueryMyCouponHolds": {
  4222. "get": {
  4223. "security": [
  4224. {
  4225. "ApiKeyAuth": []
  4226. }
  4227. ],
  4228. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【海商报业】"
  4234. ],
  4235. "summary": "我的优惠卷持仓查询",
  4236. "parameters": [
  4237. {
  4238. "type": "string",
  4239. "description": "资金账户列表,格式:1,2,3",
  4240. "name": "accountIDs",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "string",
  4246. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4247. "name": "holdStatus",
  4248. "in": "query"
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/models.MyCouponHold"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/HSBY/QueryMyCoupons": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "定制【海商报业】"
  4279. ],
  4280. "summary": "我的优惠卷查询",
  4281. "parameters": [
  4282. {
  4283. "type": "string",
  4284. "description": "资金账户列表,格式:1,2,3",
  4285. "name": "accountIDs",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "商品ID, 一般与sellUserID配套传入",
  4292. "name": "goodsID",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "卖方UserID",
  4298. "name": "sellUserID",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "$ref": "#/definitions/models.MyCoupon"
  4307. }
  4308. },
  4309. "500": {
  4310. "description": "Internal Server Error",
  4311. "schema": {
  4312. "$ref": "#/definitions/app.Response"
  4313. }
  4314. }
  4315. }
  4316. }
  4317. },
  4318. "/HSBY/QueryMyPayOrders": {
  4319. "get": {
  4320. "security": [
  4321. {
  4322. "ApiKeyAuth": []
  4323. }
  4324. ],
  4325. "produces": [
  4326. "application/json"
  4327. ],
  4328. "tags": [
  4329. "定制【海商报业】"
  4330. ],
  4331. "summary": "获取我的订单中待付款信息",
  4332. "parameters": [
  4333. {
  4334. "type": "integer",
  4335. "description": "页码",
  4336. "name": "page",
  4337. "in": "query"
  4338. },
  4339. {
  4340. "type": "integer",
  4341. "description": "每页条数",
  4342. "name": "pagesize",
  4343. "in": "query"
  4344. },
  4345. {
  4346. "type": "string",
  4347. "description": "资金账户列表,格式:1,2,3",
  4348. "name": "accountIDs",
  4349. "in": "query",
  4350. "required": true
  4351. },
  4352. {
  4353. "type": "integer",
  4354. "description": "买方委托单号",
  4355. "name": "buyOrderID",
  4356. "in": "query"
  4357. },
  4358. {
  4359. "type": "integer",
  4360. "description": "卖方委托单号",
  4361. "name": "sellOrderID",
  4362. "in": "query"
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryMyUsedCoupon": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "定制【海商报业】"
  4393. ],
  4394. "summary": "已使用优惠卷查询",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账户列表,格式:1,2,3",
  4399. "name": "accountIDs",
  4400. "in": "query",
  4401. "required": true
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "$ref": "#/definitions/models.MyUsedCoupon"
  4409. }
  4410. },
  4411. "500": {
  4412. "description": "Internal Server Error",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "/HSBY/QueryProvincesAndCities": {
  4421. "get": {
  4422. "security": [
  4423. {
  4424. "ApiKeyAuth": []
  4425. }
  4426. ],
  4427. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "定制【海商报业】"
  4433. ],
  4434. "summary": "查询省市信息(不包括区)",
  4435. "parameters": [
  4436. {
  4437. "type": "integer",
  4438. "description": "省ID",
  4439. "name": "provinceID",
  4440. "in": "query"
  4441. }
  4442. ],
  4443. "responses": {
  4444. "200": {
  4445. "description": "OK",
  4446. "schema": {
  4447. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4448. }
  4449. },
  4450. "500": {
  4451. "description": "Internal Server Error",
  4452. "schema": {
  4453. "$ref": "#/definitions/app.Response"
  4454. }
  4455. }
  4456. }
  4457. }
  4458. },
  4459. "/HSBY/SetHsbyMyPackagesStatus": {
  4460. "post": {
  4461. "security": [
  4462. {
  4463. "ApiKeyAuth": []
  4464. }
  4465. ],
  4466. "produces": [
  4467. "application/json"
  4468. ],
  4469. "tags": [
  4470. "定制【海商报业】"
  4471. ],
  4472. "summary": "设置我的包裹已收货状态",
  4473. "parameters": [
  4474. {
  4475. "type": "string",
  4476. "description": "提货单号",
  4477. "name": "takeOrderID",
  4478. "in": "query",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "资金账号",
  4484. "name": "accountID",
  4485. "in": "query",
  4486. "required": true
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "$ref": "#/definitions/app.Response"
  4494. }
  4495. },
  4496. "500": {
  4497. "description": "Internal Server Error",
  4498. "schema": {
  4499. "$ref": "#/definitions/app.Response"
  4500. }
  4501. }
  4502. }
  4503. }
  4504. },
  4505. "/Market/QueryGoodsesByLoginID": {
  4506. "get": {
  4507. "security": [
  4508. {
  4509. "ApiKeyAuth": []
  4510. }
  4511. ],
  4512. "produces": [
  4513. "application/json"
  4514. ],
  4515. "tags": [
  4516. "通用市场"
  4517. ],
  4518. "summary": "获取登录账号有权限的商品信息",
  4519. "parameters": [
  4520. {
  4521. "type": "integer",
  4522. "description": "登录账号",
  4523. "name": "loginID",
  4524. "in": "query",
  4525. "required": true
  4526. },
  4527. {
  4528. "type": "string",
  4529. "description": "市场ID列表,格式:1,2,3",
  4530. "name": "marketIDs",
  4531. "in": "query"
  4532. }
  4533. ],
  4534. "responses": {
  4535. "200": {
  4536. "description": "OK",
  4537. "schema": {
  4538. "$ref": "#/definitions/models.Goods"
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Market/QueryMarketRun": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "通用市场"
  4562. ],
  4563. "summary": "查询市场运行信息",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "市场ID,不传返回所有",
  4568. "name": "marketID",
  4569. "in": "query"
  4570. }
  4571. ],
  4572. "responses": {
  4573. "200": {
  4574. "description": "OK",
  4575. "schema": {
  4576. "$ref": "#/definitions/models.Marketrun"
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Market/QueryMarketsByLoginID": {
  4589. "get": {
  4590. "security": [
  4591. {
  4592. "ApiKeyAuth": []
  4593. }
  4594. ],
  4595. "produces": [
  4596. "application/json"
  4597. ],
  4598. "tags": [
  4599. "通用市场"
  4600. ],
  4601. "summary": "获取登录账号有权限的市场信息",
  4602. "parameters": [
  4603. {
  4604. "type": "integer",
  4605. "description": "登录账号",
  4606. "name": "loginID",
  4607. "in": "query",
  4608. "required": true
  4609. }
  4610. ],
  4611. "responses": {
  4612. "200": {
  4613. "description": "OK",
  4614. "schema": {
  4615. "$ref": "#/definitions/models.Market"
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Order/QueryHisTradeDetail": {
  4628. "get": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "通用单据"
  4639. ],
  4640. "summary": "历史成交单查询(合约市场)",
  4641. "parameters": [
  4642. {
  4643. "type": "string",
  4644. "description": "资金账户 - 格式:1,2,3",
  4645. "name": "accountID",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "成交单号",
  4652. "name": "tradeID",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "委托单号",
  4658. "name": "orderID",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "string",
  4663. "description": "交易模式 - 格式:1,2,3",
  4664. "name": "tradeMode",
  4665. "in": "query"
  4666. },
  4667. {
  4668. "type": "integer",
  4669. "description": "委托单据类型",
  4670. "name": "buildType",
  4671. "in": "query"
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "成交类别 - 格式:1,2,3",
  4676. "name": "tradeType",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4682. "name": "startDate",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "string",
  4687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4688. "name": "endDate",
  4689. "in": "query"
  4690. }
  4691. ],
  4692. "responses": {
  4693. "200": {
  4694. "description": "OK",
  4695. "schema": {
  4696. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4697. }
  4698. },
  4699. "500": {
  4700. "description": "Internal Server Error",
  4701. "schema": {
  4702. "$ref": "#/definitions/app.Response"
  4703. }
  4704. }
  4705. }
  4706. }
  4707. },
  4708. "/Order/QueryHisTradeOrderDetail": {
  4709. "get": {
  4710. "security": [
  4711. {
  4712. "ApiKeyAuth": []
  4713. }
  4714. ],
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "通用单据"
  4720. ],
  4721. "summary": "历史委托单查询请求(合约市场)",
  4722. "parameters": [
  4723. {
  4724. "type": "string",
  4725. "description": "资金账户 - 格式:1,2,3",
  4726. "name": "accountID",
  4727. "in": "query",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "string",
  4732. "description": "交易模式 - 格式:1,2,3",
  4733. "name": "tradeMode",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "委托状态 - 格式:1,2,3",
  4739. "name": "orderStatus",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "委托单号",
  4745. "name": "orderID",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "string",
  4750. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4751. "name": "startDate",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "string",
  4756. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4757. "name": "endDate",
  4758. "in": "query"
  4759. }
  4760. ],
  4761. "responses": {
  4762. "200": {
  4763. "description": "OK",
  4764. "schema": {
  4765. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4766. }
  4767. },
  4768. "500": {
  4769. "description": "Internal Server Error",
  4770. "schema": {
  4771. "$ref": "#/definitions/app.Response"
  4772. }
  4773. }
  4774. }
  4775. }
  4776. },
  4777. "/Order/QueryTradeDetail": {
  4778. "get": {
  4779. "security": [
  4780. {
  4781. "ApiKeyAuth": []
  4782. }
  4783. ],
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "通用单据"
  4789. ],
  4790. "summary": "成交单查询(合约市场)",
  4791. "parameters": [
  4792. {
  4793. "type": "string",
  4794. "description": "资金账户 - 格式:1,2,3",
  4795. "name": "accountID",
  4796. "in": "query",
  4797. "required": true
  4798. },
  4799. {
  4800. "type": "integer",
  4801. "description": "成交单号",
  4802. "name": "tradeID",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "委托单号",
  4808. "name": "orderID",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "交易模式 - 格式:1,2,3",
  4814. "name": "tradeMode",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "integer",
  4819. "description": "委托单据类型",
  4820. "name": "buildType",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "string",
  4825. "description": "成交类别 - 格式:1,2,3",
  4826. "name": "tradeType",
  4827. "in": "query"
  4828. }
  4829. ],
  4830. "responses": {
  4831. "200": {
  4832. "description": "OK",
  4833. "schema": {
  4834. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4835. }
  4836. },
  4837. "500": {
  4838. "description": "Internal Server Error",
  4839. "schema": {
  4840. "$ref": "#/definitions/app.Response"
  4841. }
  4842. }
  4843. }
  4844. }
  4845. },
  4846. "/Order/QueryTradeOrderDetail": {
  4847. "get": {
  4848. "security": [
  4849. {
  4850. "ApiKeyAuth": []
  4851. }
  4852. ],
  4853. "produces": [
  4854. "application/json"
  4855. ],
  4856. "tags": [
  4857. "通用单据"
  4858. ],
  4859. "summary": "委托单查询请求(合约市场)",
  4860. "parameters": [
  4861. {
  4862. "type": "string",
  4863. "description": "资金账户 - 格式:1,2,3",
  4864. "name": "accountID",
  4865. "in": "query",
  4866. "required": true
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "交易模式 - 格式:1,2,3",
  4871. "name": "tradeMode",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "委托状态 - 格式:1,2,3",
  4877. "name": "orderStatus",
  4878. "in": "query"
  4879. },
  4880. {
  4881. "type": "integer",
  4882. "description": "委托单号",
  4883. "name": "orderID",
  4884. "in": "query"
  4885. }
  4886. ],
  4887. "responses": {
  4888. "200": {
  4889. "description": "OK",
  4890. "schema": {
  4891. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4892. }
  4893. },
  4894. "500": {
  4895. "description": "Internal Server Error",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. }
  4900. }
  4901. }
  4902. },
  4903. "/Order/QueryTradePosition": {
  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": "string",
  4920. "description": "资金账户 - 格式:1,2,3",
  4921. "name": "accountID",
  4922. "in": "query",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "交易模式 - 格式:1,2,3",
  4928. "name": "tradeMode",
  4929. "in": "query"
  4930. }
  4931. ],
  4932. "responses": {
  4933. "200": {
  4934. "description": "OK",
  4935. "schema": {
  4936. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/Quote/QueryHistoryDatas": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "行情服务"
  4960. ],
  4961. "summary": "查询行情历史数据",
  4962. "parameters": [
  4963. {
  4964. "type": "integer",
  4965. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4966. "name": "cycleType",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "商品代码",
  4973. "name": "goodsCode",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4980. "name": "startTime",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "string",
  4985. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4986. "name": "endTime",
  4987. "in": "query"
  4988. },
  4989. {
  4990. "type": "integer",
  4991. "description": "条数",
  4992. "name": "count",
  4993. "in": "query"
  4994. },
  4995. {
  4996. "type": "boolean",
  4997. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4998. "name": "isAsc",
  4999. "in": "query"
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/quote.HistoryData"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Quote/QueryQuoteDay": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "行情服务"
  5030. ],
  5031. "summary": "获取商品盘面信息",
  5032. "parameters": [
  5033. {
  5034. "type": "string",
  5035. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5036. "name": "goodsCodes",
  5037. "in": "query",
  5038. "required": true
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/Quote/QueryTSData": {
  5058. "get": {
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "行情服务"
  5064. ],
  5065. "summary": "分时图数据查询",
  5066. "parameters": [
  5067. {
  5068. "type": "string",
  5069. "description": "商品代码",
  5070. "name": "goodsCode",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/SZDZ/QueryConvertConfig": {
  5092. "get": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【尚志大宗】"
  5103. ],
  5104. "summary": "查询交易系统转换设置",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5109. "name": "convertType",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "外部商品代码[JD\\PD]",
  5115. "name": "outerGoodsCode",
  5116. "in": "query"
  5117. },
  5118. {
  5119. "type": "string",
  5120. "description": "内部商品ID列表[交易],格式:1,2,3",
  5121. "name": "innerGoodsIDs",
  5122. "in": "query"
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/models.Szdz3convertconfig"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/SZDZ/QueryConvertLog": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "定制【尚志大宗】"
  5153. ],
  5154. "summary": "交易系统转换流水查询",
  5155. "parameters": [
  5156. {
  5157. "type": "string",
  5158. "description": "资金账户 - 格式:1,2,3",
  5159. "name": "accountID",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "string",
  5165. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5166. "name": "startDate",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5172. "name": "endDate",
  5173. "in": "query"
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/SZDZ/QueryGoodsPickup": {
  5193. "get": {
  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": "资金账户 - 格式:1,2,3",
  5210. "name": "accountID",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "integer",
  5216. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5217. "name": "takeOrderStatus",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/SZDZ/QueryRecieptOrder": {
  5238. "get": {
  5239. "security": [
  5240. {
  5241. "ApiKeyAuth": []
  5242. }
  5243. ],
  5244. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "定制【尚志大宗】"
  5250. ],
  5251. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5252. "parameters": [
  5253. {
  5254. "type": "integer",
  5255. "description": "页码",
  5256. "name": "page",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "每页条数",
  5262. "name": "pagesize",
  5263. "in": "query"
  5264. },
  5265. {
  5266. "type": "integer",
  5267. "description": "商品ID",
  5268. "name": "goodsID",
  5269. "in": "query",
  5270. "required": true
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "所属账户名称",
  5275. "name": "accountName",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "市场ID",
  5281. "name": "marketID",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "方向 - 0:买 1:卖",
  5287. "name": "buyorsell",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5297. }
  5298. },
  5299. "500": {
  5300. "description": "Internal Server Error",
  5301. "schema": {
  5302. "$ref": "#/definitions/app.Response"
  5303. }
  5304. }
  5305. }
  5306. }
  5307. },
  5308. "/SZDZ/QuerySZDZTradePosition": {
  5309. "get": {
  5310. "security": [
  5311. {
  5312. "ApiKeyAuth": []
  5313. }
  5314. ],
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "定制【尚志大宗】"
  5320. ],
  5321. "summary": "持仓汇总查询(尚志大宗)",
  5322. "parameters": [
  5323. {
  5324. "type": "integer",
  5325. "description": "资金账户",
  5326. "name": "accountID",
  5327. "in": "query",
  5328. "required": true
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "OK",
  5334. "schema": {
  5335. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "Internal Server Error",
  5340. "schema": {
  5341. "$ref": "#/definitions/app.Response"
  5342. }
  5343. }
  5344. }
  5345. }
  5346. },
  5347. "/SZDZ/SearchWhite": {
  5348. "get": {
  5349. "security": [
  5350. {
  5351. "ApiKeyAuth": []
  5352. }
  5353. ],
  5354. "produces": [
  5355. "application/json"
  5356. ],
  5357. "tags": [
  5358. "定制【尚志大宗】"
  5359. ],
  5360. "summary": "搜索白名单",
  5361. "parameters": [
  5362. {
  5363. "type": "integer",
  5364. "description": "用户ID",
  5365. "name": "userID",
  5366. "in": "query",
  5367. "required": true
  5368. }
  5369. ],
  5370. "responses": {
  5371. "200": {
  5372. "description": "OK",
  5373. "schema": {
  5374. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5375. }
  5376. },
  5377. "500": {
  5378. "description": "Internal Server Error",
  5379. "schema": {
  5380. "$ref": "#/definitions/app.Response"
  5381. }
  5382. }
  5383. }
  5384. }
  5385. },
  5386. "/Search/SearchGoodses": {
  5387. "get": {
  5388. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "检索服务"
  5394. ],
  5395. "summary": "检索商品信息",
  5396. "parameters": [
  5397. {
  5398. "type": "string",
  5399. "description": "检索内容",
  5400. "name": "content",
  5401. "in": "query",
  5402. "required": true
  5403. },
  5404. {
  5405. "type": "string",
  5406. "description": "交易模式,格式:1,2,3",
  5407. "name": "tradeModes",
  5408. "in": "query"
  5409. }
  5410. ],
  5411. "responses": {
  5412. "200": {
  5413. "description": "OK",
  5414. "schema": {
  5415. "$ref": "#/definitions/models.SearchGoods"
  5416. }
  5417. },
  5418. "500": {
  5419. "description": "Internal Server Error",
  5420. "schema": {
  5421. "$ref": "#/definitions/app.Response"
  5422. }
  5423. }
  5424. }
  5425. }
  5426. },
  5427. "/TaAccount/GetTaAccounts": {
  5428. "get": {
  5429. "security": [
  5430. {
  5431. "ApiKeyAuth": []
  5432. }
  5433. ],
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "资金账户"
  5439. ],
  5440. "summary": "获取资金账户信息",
  5441. "parameters": [
  5442. {
  5443. "type": "integer",
  5444. "description": "登录账户",
  5445. "name": "loginID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5452. "name": "taAccountType",
  5453. "in": "query"
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/models.Taaccount"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/TaAccount/QueryAmountLog": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "资金账户"
  5484. ],
  5485. "summary": "资金流水查询(当前)",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "页码",
  5490. "name": "page",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "每页条数",
  5496. "name": "pagesize",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "资金账户 - 格式:1,2,3",
  5502. "name": "accountID",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "资金操作类型 - 格式:1,2,3",
  5509. "name": "OperateType",
  5510. "in": "query"
  5511. }
  5512. ],
  5513. "responses": {
  5514. "200": {
  5515. "description": "OK",
  5516. "schema": {
  5517. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5518. }
  5519. },
  5520. "500": {
  5521. "description": "Internal Server Error",
  5522. "schema": {
  5523. "$ref": "#/definitions/app.Response"
  5524. }
  5525. }
  5526. }
  5527. }
  5528. },
  5529. "/TaAccount/QueryHisAmountLog": {
  5530. "get": {
  5531. "security": [
  5532. {
  5533. "ApiKeyAuth": []
  5534. }
  5535. ],
  5536. "produces": [
  5537. "application/json"
  5538. ],
  5539. "tags": [
  5540. "资金账户"
  5541. ],
  5542. "summary": "资金流水查询(历史)",
  5543. "parameters": [
  5544. {
  5545. "type": "integer",
  5546. "description": "页码",
  5547. "name": "page",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "integer",
  5552. "description": "每页条数",
  5553. "name": "pagesize",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户 - 格式:1,2,3",
  5559. "name": "accountID",
  5560. "in": "query",
  5561. "required": true
  5562. },
  5563. {
  5564. "type": "string",
  5565. "description": "资金操作类型 - 格式:1,2,3",
  5566. "name": "OperateType",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5572. "name": "startDate",
  5573. "in": "query"
  5574. },
  5575. {
  5576. "type": "string",
  5577. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5578. "name": "endDate",
  5579. "in": "query"
  5580. }
  5581. ],
  5582. "responses": {
  5583. "200": {
  5584. "description": "OK",
  5585. "schema": {
  5586. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5587. }
  5588. },
  5589. "500": {
  5590. "description": "Internal Server Error",
  5591. "schema": {
  5592. "$ref": "#/definitions/app.Response"
  5593. }
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "/Trade/QueryRecieptOrder": {
  5599. "get": {
  5600. "security": [
  5601. {
  5602. "ApiKeyAuth": []
  5603. }
  5604. ],
  5605. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5606. "produces": [
  5607. "application/json"
  5608. ],
  5609. "tags": [
  5610. "通用交易"
  5611. ],
  5612. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5613. "parameters": [
  5614. {
  5615. "type": "integer",
  5616. "description": "页码",
  5617. "name": "page",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "每页条数",
  5623. "name": "pagesize",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "商品ID",
  5629. "name": "goodsID",
  5630. "in": "query",
  5631. "required": true
  5632. },
  5633. {
  5634. "type": "string",
  5635. "description": "所属账户名称",
  5636. "name": "accountName",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "市场ID",
  5642. "name": "marketID",
  5643. "in": "query"
  5644. },
  5645. {
  5646. "type": "integer",
  5647. "description": "方向 - 0:买 1:卖",
  5648. "name": "buyorsell",
  5649. "in": "query",
  5650. "required": true
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/User/AddMessageBoard": {
  5670. "post": {
  5671. "security": [
  5672. {
  5673. "ApiKeyAuth": []
  5674. }
  5675. ],
  5676. "produces": [
  5677. "application/json"
  5678. ],
  5679. "tags": [
  5680. "用户信息"
  5681. ],
  5682. "summary": "添加用户留言板信息",
  5683. "parameters": [
  5684. {
  5685. "type": "integer",
  5686. "description": "用户ID",
  5687. "name": "userID",
  5688. "in": "query",
  5689. "required": true
  5690. },
  5691. {
  5692. "type": "string",
  5693. "description": "留言信息",
  5694. "name": "message",
  5695. "in": "query",
  5696. "required": true
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "联系电话",
  5701. "name": "contactNum",
  5702. "in": "query",
  5703. "required": true
  5704. }
  5705. ],
  5706. "responses": {
  5707. "200": {
  5708. "description": "OK",
  5709. "schema": {
  5710. "$ref": "#/definitions/app.Response"
  5711. }
  5712. },
  5713. "500": {
  5714. "description": "Internal Server Error",
  5715. "schema": {
  5716. "$ref": "#/definitions/app.Response"
  5717. }
  5718. }
  5719. }
  5720. }
  5721. },
  5722. "/User/AddUserFavoriteGoods": {
  5723. "post": {
  5724. "security": [
  5725. {
  5726. "ApiKeyAuth": []
  5727. }
  5728. ],
  5729. "produces": [
  5730. "application/json"
  5731. ],
  5732. "tags": [
  5733. "用户信息"
  5734. ],
  5735. "summary": "添加用户商品收藏信息",
  5736. "parameters": [
  5737. {
  5738. "type": "integer",
  5739. "description": "用户ID",
  5740. "name": "userID",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "商品ID",
  5747. "name": "goodsID",
  5748. "in": "query",
  5749. "required": true
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/User/GetLoginID": {
  5769. "get": {
  5770. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "用户信息"
  5776. ],
  5777. "summary": "获取登录ID",
  5778. "parameters": [
  5779. {
  5780. "type": "string",
  5781. "description": "登录代码",
  5782. "name": "username",
  5783. "in": "query",
  5784. "required": true
  5785. }
  5786. ],
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/User/GetUserAccount": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "produces": [
  5811. "application/json"
  5812. ],
  5813. "tags": [
  5814. "用户信息"
  5815. ],
  5816. "summary": "获取用户账号信息",
  5817. "parameters": [
  5818. {
  5819. "type": "integer",
  5820. "description": "用户ID",
  5821. "name": "userID",
  5822. "in": "query",
  5823. "required": true
  5824. }
  5825. ],
  5826. "responses": {
  5827. "200": {
  5828. "description": "OK",
  5829. "schema": {
  5830. "$ref": "#/definitions/models.Useraccount"
  5831. }
  5832. },
  5833. "500": {
  5834. "description": "Internal Server Error",
  5835. "schema": {
  5836. "$ref": "#/definitions/app.Response"
  5837. }
  5838. }
  5839. }
  5840. }
  5841. },
  5842. "/User/GetUserAuthStatus": {
  5843. "get": {
  5844. "security": [
  5845. {
  5846. "ApiKeyAuth": []
  5847. }
  5848. ],
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "用户信息"
  5854. ],
  5855. "summary": "获取用户实名认证状态",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "用户ID",
  5860. "name": "userID",
  5861. "in": "query",
  5862. "required": true
  5863. }
  5864. ],
  5865. "responses": {
  5866. "200": {
  5867. "description": "OK",
  5868. "schema": {
  5869. "$ref": "#/definitions/app.Response"
  5870. }
  5871. },
  5872. "500": {
  5873. "description": "Internal Server Error",
  5874. "schema": {
  5875. "$ref": "#/definitions/app.Response"
  5876. }
  5877. }
  5878. }
  5879. }
  5880. },
  5881. "/User/QueryMessageBoard": {
  5882. "get": {
  5883. "security": [
  5884. {
  5885. "ApiKeyAuth": []
  5886. }
  5887. ],
  5888. "produces": [
  5889. "application/json"
  5890. ],
  5891. "tags": [
  5892. "用户信息"
  5893. ],
  5894. "summary": "获取用户留言板信息",
  5895. "parameters": [
  5896. {
  5897. "type": "integer",
  5898. "description": "用户ID",
  5899. "name": "userID",
  5900. "in": "query",
  5901. "required": true
  5902. }
  5903. ],
  5904. "responses": {
  5905. "200": {
  5906. "description": "OK",
  5907. "schema": {
  5908. "$ref": "#/definitions/models.Messageboard"
  5909. }
  5910. },
  5911. "500": {
  5912. "description": "Internal Server Error",
  5913. "schema": {
  5914. "$ref": "#/definitions/app.Response"
  5915. }
  5916. }
  5917. }
  5918. }
  5919. },
  5920. "/User/QueryUserFavoriteGoodses": {
  5921. "get": {
  5922. "security": [
  5923. {
  5924. "ApiKeyAuth": []
  5925. }
  5926. ],
  5927. "produces": [
  5928. "application/json"
  5929. ],
  5930. "tags": [
  5931. "用户信息"
  5932. ],
  5933. "summary": "获取用户商品收藏信息",
  5934. "parameters": [
  5935. {
  5936. "type": "integer",
  5937. "description": "用户ID",
  5938. "name": "userID",
  5939. "in": "query",
  5940. "required": true
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.Userfavoritegoods"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/User/QueryUserInfo": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "用户信息"
  5971. ],
  5972. "summary": "获取用户信息",
  5973. "parameters": [
  5974. {
  5975. "type": "integer",
  5976. "description": "用户ID",
  5977. "name": "userID",
  5978. "in": "query",
  5979. "required": true
  5980. }
  5981. ],
  5982. "responses": {
  5983. "200": {
  5984. "description": "OK",
  5985. "schema": {
  5986. "$ref": "#/definitions/models.Userinfo"
  5987. }
  5988. },
  5989. "500": {
  5990. "description": "Internal Server Error",
  5991. "schema": {
  5992. "$ref": "#/definitions/app.Response"
  5993. }
  5994. }
  5995. }
  5996. }
  5997. },
  5998. "/User/QueryUserReferNum": {
  5999. "get": {
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "用户信息"
  6005. ],
  6006. "summary": "获取用户邀请码",
  6007. "parameters": [
  6008. {
  6009. "type": "integer",
  6010. "description": "用户ID",
  6011. "name": "userID",
  6012. "in": "query",
  6013. "required": true
  6014. }
  6015. ],
  6016. "responses": {
  6017. "200": {
  6018. "description": "OK",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. },
  6023. "500": {
  6024. "description": "Internal Server Error",
  6025. "schema": {
  6026. "$ref": "#/definitions/app.Response"
  6027. }
  6028. }
  6029. }
  6030. }
  6031. },
  6032. "/User/RemoveUserFavoriteGoods": {
  6033. "post": {
  6034. "security": [
  6035. {
  6036. "ApiKeyAuth": []
  6037. }
  6038. ],
  6039. "produces": [
  6040. "application/json"
  6041. ],
  6042. "tags": [
  6043. "用户信息"
  6044. ],
  6045. "summary": "移除用户商品收藏信息",
  6046. "parameters": [
  6047. {
  6048. "type": "integer",
  6049. "description": "用户ID",
  6050. "name": "userID",
  6051. "in": "query",
  6052. "required": true
  6053. },
  6054. {
  6055. "type": "integer",
  6056. "description": "商品ID",
  6057. "name": "goodsID",
  6058. "in": "query",
  6059. "required": true
  6060. }
  6061. ],
  6062. "responses": {
  6063. "200": {
  6064. "description": "OK",
  6065. "schema": {
  6066. "$ref": "#/definitions/app.Response"
  6067. }
  6068. },
  6069. "500": {
  6070. "description": "Internal Server Error",
  6071. "schema": {
  6072. "$ref": "#/definitions/app.Response"
  6073. }
  6074. }
  6075. }
  6076. }
  6077. },
  6078. "/User/UpdateUserAccountStatus": {
  6079. "post": {
  6080. "security": [
  6081. {
  6082. "ApiKeyAuth": []
  6083. }
  6084. ],
  6085. "produces": [
  6086. "application/json"
  6087. ],
  6088. "tags": [
  6089. "用户信息"
  6090. ],
  6091. "summary": "更新用户状态",
  6092. "parameters": [
  6093. {
  6094. "type": "integer",
  6095. "description": "用户ID",
  6096. "name": "userID",
  6097. "in": "query",
  6098. "required": true
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "账户状态 - 4:正常 6:注销(停用)",
  6103. "name": "accountStatus",
  6104. "in": "query",
  6105. "required": true
  6106. }
  6107. ],
  6108. "responses": {
  6109. "200": {
  6110. "description": "OK",
  6111. "schema": {
  6112. "$ref": "#/definitions/app.Response"
  6113. }
  6114. },
  6115. "500": {
  6116. "description": "Internal Server Error",
  6117. "schema": {
  6118. "$ref": "#/definitions/app.Response"
  6119. }
  6120. }
  6121. }
  6122. }
  6123. },
  6124. "/WR/GetWRCategoryInfo": {
  6125. "get": {
  6126. "produces": [
  6127. "application/json"
  6128. ],
  6129. "tags": [
  6130. "仓单服务"
  6131. ],
  6132. "summary": "获取现货分类信息",
  6133. "responses": {
  6134. "200": {
  6135. "description": "OK",
  6136. "schema": {
  6137. "$ref": "#/definitions/models.WRCategoryTree"
  6138. }
  6139. },
  6140. "500": {
  6141. "description": "Internal Server Error",
  6142. "schema": {
  6143. "$ref": "#/definitions/app.Response"
  6144. }
  6145. }
  6146. }
  6147. }
  6148. },
  6149. "/WRTrade/GetAllDeliveryGoods": {
  6150. "get": {
  6151. "security": [
  6152. {
  6153. "ApiKeyAuth": []
  6154. },
  6155. {
  6156. "ApiKeyAuth": []
  6157. }
  6158. ],
  6159. "produces": [
  6160. "application/json",
  6161. "application/json"
  6162. ],
  6163. "tags": [
  6164. "仓单贸易",
  6165. "仓单贸易"
  6166. ],
  6167. "summary": "获取带仓单分类的种类信息",
  6168. "responses": {
  6169. "200": {
  6170. "description": "OK",
  6171. "schema": {
  6172. "$ref": "#/definitions/app.Response"
  6173. }
  6174. },
  6175. "500": {
  6176. "description": "Internal Server Error",
  6177. "schema": {
  6178. "$ref": "#/definitions/app.Response"
  6179. }
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "definitions": {
  6186. "app.Response": {
  6187. "type": "object",
  6188. "properties": {
  6189. "code": {
  6190. "type": "integer"
  6191. },
  6192. "data": {
  6193. "type": "object"
  6194. },
  6195. "msg": {
  6196. "type": "string"
  6197. },
  6198. "page": {
  6199. "description": "页码",
  6200. "type": "integer"
  6201. },
  6202. "pagesize": {
  6203. "description": "每页条数",
  6204. "type": "integer"
  6205. },
  6206. "total": {
  6207. "description": "总条数",
  6208. "type": "integer"
  6209. }
  6210. }
  6211. },
  6212. "common.QueryNoticeRsp": {
  6213. "type": "object",
  6214. "required": [
  6215. "autoid"
  6216. ],
  6217. "properties": {
  6218. "auditoruserid": {
  6219. "description": "审核人",
  6220. "type": "integer"
  6221. },
  6222. "auditremark": {
  6223. "description": "审核备注",
  6224. "type": "string"
  6225. },
  6226. "audittime": {
  6227. "description": "审核日期",
  6228. "type": "string"
  6229. },
  6230. "autoid": {
  6231. "description": "自增ID",
  6232. "type": "integer"
  6233. },
  6234. "content": {
  6235. "description": "内容",
  6236. "type": "string"
  6237. },
  6238. "createtime": {
  6239. "description": "创建时间",
  6240. "type": "string"
  6241. },
  6242. "creatorid": {
  6243. "description": "建仓人",
  6244. "type": "integer"
  6245. },
  6246. "endtime": {
  6247. "description": "结束时间",
  6248. "type": "string"
  6249. },
  6250. "istop": {
  6251. "description": "是否置顶 - 0:不置顶 1:置顶",
  6252. "type": "integer"
  6253. },
  6254. "msgiconurl": {
  6255. "description": "消息图标Url",
  6256. "type": "string"
  6257. },
  6258. "msgtype": {
  6259. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6260. "type": "integer"
  6261. },
  6262. "publisher": {
  6263. "description": "消息发布者",
  6264. "type": "string"
  6265. },
  6266. "readed": {
  6267. "description": "是否已读",
  6268. "type": "boolean"
  6269. },
  6270. "scheduletime": {
  6271. "description": "计划发送时间",
  6272. "type": "string"
  6273. },
  6274. "sendtype": {
  6275. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6276. "type": "integer"
  6277. },
  6278. "sentstatus": {
  6279. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6280. "type": "integer"
  6281. },
  6282. "title": {
  6283. "description": "标题",
  6284. "type": "string"
  6285. },
  6286. "userid": {
  6287. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6288. "type": "integer"
  6289. }
  6290. }
  6291. },
  6292. "common.QueryProvincesAndCitiesRsp": {
  6293. "type": "object",
  6294. "properties": {
  6295. "cities": {
  6296. "description": "市",
  6297. "type": "array",
  6298. "items": {
  6299. "$ref": "#/definitions/models.Division"
  6300. }
  6301. },
  6302. "province": {
  6303. "description": "省",
  6304. "$ref": "#/definitions/models.Division"
  6305. }
  6306. }
  6307. },
  6308. "common.QueryTableDefineRsp": {
  6309. "type": "object",
  6310. "required": [
  6311. "tablekey"
  6312. ],
  6313. "properties": {
  6314. "columns": {
  6315. "description": "列头信息数组",
  6316. "type": "array",
  6317. "items": {
  6318. "$ref": "#/definitions/models.Tablecolumnconfig"
  6319. }
  6320. },
  6321. "remark": {
  6322. "description": "Remark",
  6323. "type": "string"
  6324. },
  6325. "tabelmenu": {
  6326. "description": "列表菜单",
  6327. "type": "string"
  6328. },
  6329. "tablekey": {
  6330. "description": "列表Key",
  6331. "type": "string"
  6332. },
  6333. "tablename": {
  6334. "description": "列表名称",
  6335. "type": "string"
  6336. },
  6337. "tabletype": {
  6338. "description": "列表类型 - 1:管理端 2:终端",
  6339. "type": "integer"
  6340. }
  6341. }
  6342. },
  6343. "common.QueryTraderMenuRsp": {
  6344. "type": "object",
  6345. "properties": {
  6346. "OperationMenu": {
  6347. "description": "功能菜单",
  6348. "type": "array",
  6349. "items": {
  6350. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6351. }
  6352. },
  6353. "QuoteMenu": {
  6354. "description": "报价牌分类菜单",
  6355. "type": "array",
  6356. "items": {
  6357. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6358. }
  6359. }
  6360. }
  6361. },
  6362. "cptrade.Cptradepositioncancel": {
  6363. "type": "object",
  6364. "required": [
  6365. "cancelid"
  6366. ],
  6367. "properties": {
  6368. "accountid": {
  6369. "description": "申请人账户ID",
  6370. "type": "integer"
  6371. },
  6372. "applystatus": {
  6373. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6374. "type": "integer"
  6375. },
  6376. "applytime": {
  6377. "description": "申请时间",
  6378. "type": "string"
  6379. },
  6380. "cancelid": {
  6381. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6382. "type": "integer"
  6383. },
  6384. "cancelqty": {
  6385. "description": "注销数量",
  6386. "type": "integer"
  6387. },
  6388. "createtime": {
  6389. "description": "创建时间",
  6390. "type": "string"
  6391. },
  6392. "creatorid": {
  6393. "description": "创建人ID",
  6394. "type": "integer"
  6395. },
  6396. "creatorname": {
  6397. "description": "创建人",
  6398. "type": "string"
  6399. },
  6400. "goodscode": {
  6401. "description": "订单商品代码",
  6402. "type": "string"
  6403. },
  6404. "goodsid": {
  6405. "description": "商品ID",
  6406. "type": "integer"
  6407. },
  6408. "goodsname": {
  6409. "description": "订单商品名称",
  6410. "type": "string"
  6411. },
  6412. "goodunit": {
  6413. "description": "报价单位",
  6414. "type": "string"
  6415. },
  6416. "handlestatus": {
  6417. "description": "处理状态",
  6418. "type": "integer"
  6419. },
  6420. "marketid": {
  6421. "description": "市场ID",
  6422. "type": "integer"
  6423. },
  6424. "marketname": {
  6425. "description": "市场名称",
  6426. "type": "string"
  6427. },
  6428. "tradedate": {
  6429. "description": "交易日(yyyyMMdd)",
  6430. "type": "string"
  6431. },
  6432. "userid": {
  6433. "description": "申请人ID",
  6434. "type": "integer"
  6435. }
  6436. }
  6437. },
  6438. "cptrade.Cptradepresaleapply": {
  6439. "type": "object",
  6440. "required": [
  6441. "applyid"
  6442. ],
  6443. "properties": {
  6444. "accountid": {
  6445. "description": "申请人账户ID",
  6446. "type": "integer"
  6447. },
  6448. "applyid": {
  6449. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6450. "type": "integer"
  6451. },
  6452. "applyremark": {
  6453. "description": "申请备注",
  6454. "type": "string"
  6455. },
  6456. "applystatus": {
  6457. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6458. "type": "integer"
  6459. },
  6460. "applytime": {
  6461. "description": "申请时间",
  6462. "type": "string"
  6463. },
  6464. "attachmenturl": {
  6465. "description": "附件地址",
  6466. "type": "string"
  6467. },
  6468. "endtime": {
  6469. "description": "预售结束时间",
  6470. "type": "string"
  6471. },
  6472. "goodscode": {
  6473. "description": "商品代码",
  6474. "type": "string"
  6475. },
  6476. "goodsid": {
  6477. "description": "商品ID",
  6478. "type": "integer"
  6479. },
  6480. "goodsname": {
  6481. "description": "商品名称",
  6482. "type": "string"
  6483. },
  6484. "goodunit": {
  6485. "description": "报价单位",
  6486. "type": "string"
  6487. },
  6488. "handlestatus": {
  6489. "description": "处理状态",
  6490. "type": "integer"
  6491. },
  6492. "marketid": {
  6493. "description": "预售市场ID",
  6494. "type": "integer"
  6495. },
  6496. "marketname": {
  6497. "description": "预售市场名称",
  6498. "type": "string"
  6499. },
  6500. "presaleqty": {
  6501. "description": "预售数量",
  6502. "type": "integer"
  6503. },
  6504. "relatedgoodscode": {
  6505. "description": "关联交易合约代码",
  6506. "type": "string"
  6507. },
  6508. "relatedgoodsid": {
  6509. "description": "关联交易合约ID",
  6510. "type": "integer"
  6511. },
  6512. "relatedgoodsname": {
  6513. "description": "关联交易合约名称",
  6514. "type": "string"
  6515. },
  6516. "starttime": {
  6517. "description": "预售开始时间",
  6518. "type": "string"
  6519. },
  6520. "tradedate": {
  6521. "description": "交易日(yyyyMMdd)",
  6522. "type": "string"
  6523. },
  6524. "trademode": {
  6525. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6526. "type": "integer"
  6527. },
  6528. "userid": {
  6529. "description": "申请人ID",
  6530. "type": "integer"
  6531. }
  6532. }
  6533. },
  6534. "cptrade.Cptradeusergoodsdata": {
  6535. "type": "object",
  6536. "required": [
  6537. "accountid",
  6538. "goodsid"
  6539. ],
  6540. "properties": {
  6541. "EnabledQty": {
  6542. "description": "可用量",
  6543. "type": "integer"
  6544. },
  6545. "GoodsCode": {
  6546. "description": "订单商品代码",
  6547. "type": "string"
  6548. },
  6549. "GoodsName": {
  6550. "description": "订单商品名称",
  6551. "type": "string"
  6552. },
  6553. "WRStandardCode": {
  6554. "description": "仓单标准代码",
  6555. "type": "string"
  6556. },
  6557. "WRStandardName": {
  6558. "description": "仓单标准名称",
  6559. "type": "string"
  6560. },
  6561. "accountid": {
  6562. "description": "账户ID",
  6563. "type": "integer"
  6564. },
  6565. "cancelqty": {
  6566. "description": "注销量",
  6567. "type": "integer"
  6568. },
  6569. "curpresaleqty": {
  6570. "description": "当前预售量",
  6571. "type": "integer"
  6572. },
  6573. "deliveryqty": {
  6574. "description": "交割量",
  6575. "type": "integer"
  6576. },
  6577. "freezeamount": {
  6578. "description": "冻结金额",
  6579. "type": "number"
  6580. },
  6581. "goodsid": {
  6582. "description": "商品ID",
  6583. "type": "integer"
  6584. },
  6585. "goodunit": {
  6586. "description": "报价单位",
  6587. "type": "string"
  6588. },
  6589. "hasspotfreeze": {
  6590. "description": "是否有现货冻结 - 0:否 1:有",
  6591. "type": "integer"
  6592. },
  6593. "inqty": {
  6594. "description": "转入量(总数量)",
  6595. "type": "integer"
  6596. },
  6597. "marketid": {
  6598. "description": "市场ID",
  6599. "type": "integer"
  6600. },
  6601. "presaledamount": {
  6602. "description": "已预售总金额",
  6603. "type": "integer"
  6604. },
  6605. "presaledqty": {
  6606. "description": "已预售量",
  6607. "type": "integer"
  6608. },
  6609. "userid": {
  6610. "description": "用户ID",
  6611. "type": "integer"
  6612. },
  6613. "wrstandardid": {
  6614. "description": "仓单标准ID",
  6615. "type": "integer"
  6616. }
  6617. }
  6618. },
  6619. "cptrade.QueryCPTradeMyBidRsp": {
  6620. "type": "object",
  6621. "required": [
  6622. "accountid",
  6623. "goodsid",
  6624. "marketid",
  6625. "orderid",
  6626. "orderqty",
  6627. "ordertime",
  6628. "tradeprice",
  6629. "tradeqty"
  6630. ],
  6631. "properties": {
  6632. "accountid": {
  6633. "description": "账户ID[报价币种]",
  6634. "type": "integer"
  6635. },
  6636. "goodsid": {
  6637. "description": "商品ID",
  6638. "type": "integer"
  6639. },
  6640. "goodunit": {
  6641. "description": "报价单位",
  6642. "type": "string"
  6643. },
  6644. "marketid": {
  6645. "description": "市场ID",
  6646. "type": "integer"
  6647. },
  6648. "orderid": {
  6649. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6650. "type": "integer"
  6651. },
  6652. "orderprice": {
  6653. "description": "委托价格",
  6654. "type": "number"
  6655. },
  6656. "orderqty": {
  6657. "description": "委托数量",
  6658. "type": "integer"
  6659. },
  6660. "ordertime": {
  6661. "description": "委托时间",
  6662. "type": "string"
  6663. },
  6664. "ordertotalprice": {
  6665. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6666. "type": "number"
  6667. },
  6668. "ordertotalweight": {
  6669. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6670. "type": "integer"
  6671. },
  6672. "totaltotalprice": {
  6673. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6674. "type": "number"
  6675. },
  6676. "tradeprice": {
  6677. "description": "成交价格",
  6678. "type": "number"
  6679. },
  6680. "tradeqty": {
  6681. "description": "成交数量",
  6682. "type": "integer"
  6683. }
  6684. }
  6685. },
  6686. "cptrade.QueryCPTradeOrderDetailRsq": {
  6687. "type": "object",
  6688. "required": [
  6689. "accountid",
  6690. "buildtype",
  6691. "buyorsell",
  6692. "goodsid",
  6693. "marketid",
  6694. "memberuserid",
  6695. "operatetype",
  6696. "orderqty",
  6697. "ordertime",
  6698. "pricemode",
  6699. "strorderid",
  6700. "tradedate",
  6701. "validtype"
  6702. ],
  6703. "properties": {
  6704. "accountid": {
  6705. "description": "账户ID[报价币种]",
  6706. "type": "integer"
  6707. },
  6708. "buildtype": {
  6709. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6710. "type": "integer"
  6711. },
  6712. "buyorsell": {
  6713. "description": "买卖 - 0:买 1:卖",
  6714. "type": "integer"
  6715. },
  6716. "cancelorderid": {
  6717. "description": "撤单单号(撤单时填写)",
  6718. "type": "integer"
  6719. },
  6720. "cancelqty": {
  6721. "description": "撤单数量",
  6722. "type": "integer"
  6723. },
  6724. "clientordertime": {
  6725. "description": "客户端委托时间",
  6726. "type": "string"
  6727. },
  6728. "clientticket": {
  6729. "description": "客户端流水号",
  6730. "type": "string"
  6731. },
  6732. "clienttype": {
  6733. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6734. "type": "integer"
  6735. },
  6736. "closeexchagechargevalue": {
  6737. "description": "平仓交易所手续费设置值",
  6738. "type": "number"
  6739. },
  6740. "closefeealgorithm": {
  6741. "description": "平仓手续费收取方式 1:比率 2:固定",
  6742. "type": "integer"
  6743. },
  6744. "closefreezecharge": {
  6745. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6746. "type": "number"
  6747. },
  6748. "closememberchargevalue": {
  6749. "description": "平仓会员手续费设置值",
  6750. "type": "number"
  6751. },
  6752. "closeqty": {
  6753. "description": "平仓数量(先建后平操作 需要记录)",
  6754. "type": "integer"
  6755. },
  6756. "closetradeqty": {
  6757. "description": "平仓成交数量(先建后平操作,需要记录)",
  6758. "type": "integer"
  6759. },
  6760. "closeunfreezecharge": {
  6761. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6762. "type": "number"
  6763. },
  6764. "delistingtype": {
  6765. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6766. "type": "integer"
  6767. },
  6768. "freezecharge": {
  6769. "description": "冻结手续费",
  6770. "type": "number"
  6771. },
  6772. "freezemargin": {
  6773. "description": "冻结保证金(冻结交易金额)",
  6774. "type": "number"
  6775. },
  6776. "gcaccountid": {
  6777. "description": "账户ID[合约币种]",
  6778. "type": "integer"
  6779. },
  6780. "goodsid": {
  6781. "description": "商品ID",
  6782. "type": "integer"
  6783. },
  6784. "isconfirmexercise": {
  6785. "description": "是否确认行权- 0:否 1:是",
  6786. "type": "integer"
  6787. },
  6788. "ispreexercise": {
  6789. "description": "是否预申报- 0:否 1:是",
  6790. "type": "integer"
  6791. },
  6792. "listingselecttype": {
  6793. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6794. "type": "integer"
  6795. },
  6796. "marginalgorithm": {
  6797. "description": "保证金收取方式 1:比率 2:固定",
  6798. "type": "integer"
  6799. },
  6800. "marginvalue": {
  6801. "description": "即市保证金设置值",
  6802. "type": "number"
  6803. },
  6804. "marketid": {
  6805. "description": "市场ID",
  6806. "type": "integer"
  6807. },
  6808. "marketmaxsub": {
  6809. "description": "市价最大偏移范围",
  6810. "type": "number"
  6811. },
  6812. "memberuserid": {
  6813. "description": "所属会员UserID",
  6814. "type": "integer"
  6815. },
  6816. "openexchagechargevalue": {
  6817. "description": "建仓交易所手续费设置值",
  6818. "type": "number"
  6819. },
  6820. "openfeealgorithm": {
  6821. "description": "建仓手续费收取方式 1:比率 2:固定",
  6822. "type": "integer"
  6823. },
  6824. "openfreezecharge": {
  6825. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6826. "type": "number"
  6827. },
  6828. "openmemberchargevalue": {
  6829. "description": "建仓会员手续费设置值",
  6830. "type": "number"
  6831. },
  6832. "openqty": {
  6833. "description": "开仓数量(先建后平操作,需要记录)",
  6834. "type": "integer"
  6835. },
  6836. "opentradeqty": {
  6837. "description": "开仓成交数量(先建后平操作,需要记录)",
  6838. "type": "integer"
  6839. },
  6840. "openunfreezecharge": {
  6841. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6842. "type": "number"
  6843. },
  6844. "operatetype": {
  6845. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6846. "type": "integer"
  6847. },
  6848. "operatorid": {
  6849. "description": "登录账号(LoginID)",
  6850. "type": "integer"
  6851. },
  6852. "optiontype": {
  6853. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6854. "type": "integer"
  6855. },
  6856. "orderprice": {
  6857. "description": "委托价格",
  6858. "type": "number"
  6859. },
  6860. "orderqty": {
  6861. "description": "委托数量",
  6862. "type": "integer"
  6863. },
  6864. "ordersrc": {
  6865. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6866. "type": "integer"
  6867. },
  6868. "orderstatus": {
  6869. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6870. "type": "integer"
  6871. },
  6872. "ordertime": {
  6873. "description": "委托时间",
  6874. "type": "string"
  6875. },
  6876. "preexerciseprice": {
  6877. "description": "预申报价格",
  6878. "type": "number"
  6879. },
  6880. "premium": {
  6881. "description": "权利金",
  6882. "type": "number"
  6883. },
  6884. "preorderid": {
  6885. "description": "关联预埋单号(止盈止损单时填写)",
  6886. "type": "integer"
  6887. },
  6888. "pricemode": {
  6889. "description": "取价方式 - 1:市价 2: 限价",
  6890. "type": "integer"
  6891. },
  6892. "quoteid": {
  6893. "description": "报价单ID",
  6894. "type": "integer"
  6895. },
  6896. "relatedid": {
  6897. "description": "关联单号(交割单)",
  6898. "type": "integer"
  6899. },
  6900. "retcode": {
  6901. "description": "错误代码",
  6902. "type": "integer"
  6903. },
  6904. "sessionid": {
  6905. "description": "会话ID",
  6906. "type": "integer"
  6907. },
  6908. "strorderid": {
  6909. "description": "委托单号",
  6910. "type": "string"
  6911. },
  6912. "tradedate": {
  6913. "description": "交易日(yyyyMMdd)",
  6914. "type": "string"
  6915. },
  6916. "tradeproperty": {
  6917. "description": "交易属性",
  6918. "type": "integer"
  6919. },
  6920. "tradeqty": {
  6921. "description": "成交数量",
  6922. "type": "integer"
  6923. },
  6924. "unfreezecharge": {
  6925. "description": "解冻手续费",
  6926. "type": "number"
  6927. },
  6928. "unfreezemargin": {
  6929. "description": "解冻保证金",
  6930. "type": "number"
  6931. },
  6932. "updatetime": {
  6933. "description": "更新时间",
  6934. "type": "string"
  6935. },
  6936. "uuid": {
  6937. "description": "发起端唯一id",
  6938. "type": "string"
  6939. },
  6940. "validtime": {
  6941. "description": "有效期限",
  6942. "type": "string"
  6943. },
  6944. "validtype": {
  6945. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6946. "type": "integer"
  6947. },
  6948. "volumetype": {
  6949. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6950. "type": "integer"
  6951. }
  6952. }
  6953. },
  6954. "cptrade.QueryMyCPTradeGoodsRsp": {
  6955. "type": "object",
  6956. "required": [
  6957. "goodscode",
  6958. "goodsid",
  6959. "goodsname",
  6960. "marketid",
  6961. "relatedgoodscode",
  6962. "relatedgoodsname"
  6963. ],
  6964. "properties": {
  6965. "accountid": {
  6966. "description": "卖方账户ID",
  6967. "type": "integer"
  6968. },
  6969. "agreeunit": {
  6970. "description": "合约单位",
  6971. "type": "number"
  6972. },
  6973. "applyid": {
  6974. "description": "关联申请ID",
  6975. "type": "integer"
  6976. },
  6977. "attachmenturl": {
  6978. "description": "附件地址",
  6979. "type": "string"
  6980. },
  6981. "createtime": {
  6982. "description": "创建时间",
  6983. "type": "string"
  6984. },
  6985. "currencyid": {
  6986. "description": "报价货币ID",
  6987. "type": "integer"
  6988. },
  6989. "decimalplace": {
  6990. "description": "报价小数位",
  6991. "type": "integer"
  6992. },
  6993. "endtime": {
  6994. "description": "预售结束时间",
  6995. "type": "string"
  6996. },
  6997. "floorprice": {
  6998. "description": "底价[大宗式竞拍]",
  6999. "type": "number"
  7000. },
  7001. "goodscode": {
  7002. "description": "商品代码(预售)",
  7003. "type": "string"
  7004. },
  7005. "goodsdetail": {
  7006. "description": "详情[大宗]",
  7007. "type": "string"
  7008. },
  7009. "goodsid": {
  7010. "description": "商品ID(自增ID SEQ_GOODS)",
  7011. "type": "integer"
  7012. },
  7013. "goodsname": {
  7014. "description": "商品名称(预售)",
  7015. "type": "string"
  7016. },
  7017. "goodunit": {
  7018. "description": "报价单位",
  7019. "type": "string"
  7020. },
  7021. "goodunitid": {
  7022. "description": "报价单位ID",
  7023. "type": "integer"
  7024. },
  7025. "marketid": {
  7026. "description": "所属市场ID",
  7027. "type": "integer"
  7028. },
  7029. "marketname": {
  7030. "description": "预售市场名称",
  7031. "type": "string"
  7032. },
  7033. "presaledamount": {
  7034. "description": "已预售总金额(预售结束时更新)",
  7035. "type": "number"
  7036. },
  7037. "presaledqty": {
  7038. "description": "已预售量(预售结束时更新)",
  7039. "type": "integer"
  7040. },
  7041. "presalemode": {
  7042. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7043. "type": "integer"
  7044. },
  7045. "presaleqty": {
  7046. "description": "预售数量",
  7047. "type": "integer"
  7048. },
  7049. "refprice": {
  7050. "description": "参考价格[一口价]",
  7051. "type": "number"
  7052. },
  7053. "relatedgoodscode": {
  7054. "description": "商品代码(订单)",
  7055. "type": "string"
  7056. },
  7057. "relatedgoodsid": {
  7058. "description": "关联交易合约ID",
  7059. "type": "integer"
  7060. },
  7061. "relatedgoodsname": {
  7062. "description": "商品名称(订单)",
  7063. "type": "string"
  7064. },
  7065. "relatedmarketid": {
  7066. "description": "关联交易合约市场ID",
  7067. "type": "integer"
  7068. },
  7069. "sellstatus": {
  7070. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7071. "type": "integer"
  7072. },
  7073. "startprice": {
  7074. "description": "起拍价[大宗式竞拍]",
  7075. "type": "number"
  7076. },
  7077. "starttime": {
  7078. "description": "预售开始时间",
  7079. "type": "string"
  7080. },
  7081. "tradedate": {
  7082. "description": "交易日(yyyyMMdd)",
  7083. "type": "string"
  7084. },
  7085. "tradeprice": {
  7086. "description": "成交价[大宗]",
  7087. "type": "number"
  7088. },
  7089. "userid": {
  7090. "description": "卖方用户ID",
  7091. "type": "integer"
  7092. }
  7093. }
  7094. },
  7095. "cptrade.QueryPresaleGoodsExRsp": {
  7096. "type": "object",
  7097. "required": [
  7098. "goodsid"
  7099. ],
  7100. "properties": {
  7101. "attachmenturl": {
  7102. "description": "附件地址",
  7103. "type": "string"
  7104. },
  7105. "createtime": {
  7106. "description": "创建时间",
  7107. "type": "string"
  7108. },
  7109. "endtime": {
  7110. "description": "预售结束时间",
  7111. "type": "string"
  7112. },
  7113. "floorprice": {
  7114. "description": "底价[大宗式竞拍]",
  7115. "type": "number"
  7116. },
  7117. "goodsdetail": {
  7118. "description": "详情[大宗]",
  7119. "type": "string"
  7120. },
  7121. "goodsid": {
  7122. "description": "商品ID(预售)",
  7123. "type": "integer"
  7124. },
  7125. "goodunit": {
  7126. "description": "报价单位",
  7127. "type": "string"
  7128. },
  7129. "marketid": {
  7130. "description": "预售市场ID - 根据预售模式选择市场",
  7131. "type": "integer"
  7132. },
  7133. "presaledamount": {
  7134. "description": "已预售总金额(预售结束时更新)",
  7135. "type": "number"
  7136. },
  7137. "presaledqty": {
  7138. "description": "已预售量(预售结束时更新)",
  7139. "type": "integer"
  7140. },
  7141. "presalemode": {
  7142. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7143. "type": "integer"
  7144. },
  7145. "presaleqty": {
  7146. "description": "预售数量",
  7147. "type": "integer"
  7148. },
  7149. "refprice": {
  7150. "description": "参考价格[一口价]",
  7151. "type": "number"
  7152. },
  7153. "relatedgoodsid": {
  7154. "description": "关联交易合约ID",
  7155. "type": "integer"
  7156. },
  7157. "relatedmarketid": {
  7158. "description": "关联交易合约市场ID",
  7159. "type": "integer"
  7160. },
  7161. "sellstatus": {
  7162. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7163. "type": "integer"
  7164. },
  7165. "startprice": {
  7166. "description": "起拍价[大宗式竞拍]",
  7167. "type": "number"
  7168. },
  7169. "starttime": {
  7170. "description": "预售开始时间",
  7171. "type": "string"
  7172. },
  7173. "tradedate": {
  7174. "description": "交易日(yyyyMMdd)",
  7175. "type": "string"
  7176. },
  7177. "tradeprice": {
  7178. "description": "成交价[大宗]",
  7179. "type": "number"
  7180. }
  7181. }
  7182. },
  7183. "delivery.QueryDeliveryRelationRsp": {
  7184. "type": "object",
  7185. "required": [
  7186. "begindate",
  7187. "enddate",
  7188. "goodsid",
  7189. "mindeliveryqty",
  7190. "xdeliveryratio"
  7191. ],
  7192. "properties": {
  7193. "begindate": {
  7194. "description": "起始日期(yyyyMMdd)",
  7195. "type": "string"
  7196. },
  7197. "buytemplateid": {
  7198. "description": "买履约计划模板ID",
  7199. "type": "integer"
  7200. },
  7201. "deliverygoodscode": {
  7202. "description": "品种代码",
  7203. "type": "string"
  7204. },
  7205. "deliverygoodsid": {
  7206. "description": "交割商品",
  7207. "type": "integer"
  7208. },
  7209. "deliverygoodsname": {
  7210. "description": "品种名称",
  7211. "type": "string"
  7212. },
  7213. "deliverymode": {
  7214. "description": "交割方式 - 1:点选式 2:申报式",
  7215. "type": "integer"
  7216. },
  7217. "deliverypricerule": {
  7218. "description": "交割价规则- 1:行情价 2:建仓价",
  7219. "type": "integer"
  7220. },
  7221. "deliverytype": {
  7222. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7223. "type": "integer"
  7224. },
  7225. "enddate": {
  7226. "description": "结束日期(yyyyMMdd)",
  7227. "type": "string"
  7228. },
  7229. "goodscode": {
  7230. "description": "商品代码",
  7231. "type": "string"
  7232. },
  7233. "goodsid": {
  7234. "description": "交易合约ID",
  7235. "type": "integer"
  7236. },
  7237. "goodsname": {
  7238. "description": "商品名称",
  7239. "type": "string"
  7240. },
  7241. "marketid": {
  7242. "description": "市场ID",
  7243. "type": "integer"
  7244. },
  7245. "mindeliveryqty": {
  7246. "description": "最小交割系数(K)",
  7247. "type": "integer"
  7248. },
  7249. "p2deliveryprice": {
  7250. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7251. "type": "number"
  7252. },
  7253. "p2deliveryratio": {
  7254. "description": "P2合约系数(p)",
  7255. "type": "integer"
  7256. },
  7257. "p2goodsid": {
  7258. "description": "P2合约ID",
  7259. "type": "integer"
  7260. },
  7261. "p2pricemode": {
  7262. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7263. "type": "integer"
  7264. },
  7265. "pdeliveryprice": {
  7266. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7267. "type": "number"
  7268. },
  7269. "pdeliveryratio": {
  7270. "description": "P合约系数(n)",
  7271. "type": "integer"
  7272. },
  7273. "pgoodsid": {
  7274. "description": "P合约ID",
  7275. "type": "integer"
  7276. },
  7277. "ppricemode": {
  7278. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7279. "type": "integer"
  7280. },
  7281. "rratio": {
  7282. "description": "兑换系数(R)",
  7283. "type": "integer"
  7284. },
  7285. "rratio1": {
  7286. "description": "兑换系数(交易合约)(R1)",
  7287. "type": "integer"
  7288. },
  7289. "rratio2": {
  7290. "description": "兑换系数(仓单标准)(R2)",
  7291. "type": "integer"
  7292. },
  7293. "selltemplateid": {
  7294. "description": "卖履约计划模板ID",
  7295. "type": "integer"
  7296. },
  7297. "wrstandardid": {
  7298. "description": "仓单标准ID",
  7299. "type": "integer"
  7300. },
  7301. "xdeliveryratio": {
  7302. "description": "交易合约系数(m)",
  7303. "type": "integer"
  7304. }
  7305. }
  7306. },
  7307. "ermcp.ExposureDetailRsp": {
  7308. "type": "object",
  7309. "properties": {
  7310. "areauserid": {
  7311. "description": "机构ID",
  7312. "type": "integer"
  7313. },
  7314. "changeQty": {
  7315. "description": "套保变动量",
  7316. "type": "number"
  7317. },
  7318. "contracttype": {
  7319. "description": "现货合同类型 - 1:采购 -1:销售",
  7320. "type": "integer"
  7321. },
  7322. "convertfactor": {
  7323. "description": "标仓系数",
  7324. "type": "number"
  7325. },
  7326. "convertratio": {
  7327. "description": "套保系数",
  7328. "type": "number"
  7329. },
  7330. "createtime": {
  7331. "description": "时间",
  7332. "type": "string"
  7333. },
  7334. "enumdicname": {
  7335. "description": "现货商品单位名称",
  7336. "type": "string"
  7337. },
  7338. "logtype": {
  7339. "description": "类型 - 1:套保计划 2:现货合同",
  7340. "type": "integer"
  7341. },
  7342. "middlegoodsId": {
  7343. "description": "套保商品id",
  7344. "type": "integer"
  7345. },
  7346. "middlegoodscode": {
  7347. "description": "套保商品代码",
  7348. "type": "string"
  7349. },
  7350. "middlegoodsname": {
  7351. "description": "套保商品名称",
  7352. "type": "string"
  7353. },
  7354. "qty": {
  7355. "description": "数量",
  7356. "type": "number"
  7357. },
  7358. "relateNo": {
  7359. "description": "现货合同/套保计划编号",
  7360. "type": "string"
  7361. },
  7362. "wrstandardcode": {
  7363. "description": "现货商品代码",
  7364. "type": "string"
  7365. },
  7366. "wrstandardid": {
  7367. "description": "现货商品ID",
  7368. "type": "integer"
  7369. },
  7370. "wrstandardname": {
  7371. "description": "现货商品名称",
  7372. "type": "string"
  7373. }
  7374. }
  7375. },
  7376. "ermcp.ExposureHedgePosDetailRsp": {
  7377. "type": "object",
  7378. "properties": {
  7379. "buyorsell": {
  7380. "description": "买卖方向 0-买 1-卖",
  7381. "type": "integer"
  7382. },
  7383. "channelbuildtype": {
  7384. "description": "开平方向 1-建仓 2-平仓",
  7385. "type": "integer"
  7386. },
  7387. "goodscode": {
  7388. "description": "商品代码",
  7389. "type": "string"
  7390. },
  7391. "goodsname": {
  7392. "description": "商品名称",
  7393. "type": "string"
  7394. },
  7395. "hedgegoodsid": {
  7396. "description": "商品id",
  7397. "type": "integer"
  7398. },
  7399. "tradeqty": {
  7400. "description": "数量(成交数量)",
  7401. "type": "integer"
  7402. },
  7403. "tradetime": {
  7404. "description": "时间(成交时间)",
  7405. "type": "string"
  7406. }
  7407. }
  7408. },
  7409. "ermcp.ExposureHedgePositionRsp": {
  7410. "type": "object",
  7411. "properties": {
  7412. "accountid": {
  7413. "description": "资金账号[外部母账户]",
  7414. "type": "integer"
  7415. },
  7416. "curbuyposition": {
  7417. "description": "期末买头寸",
  7418. "type": "integer"
  7419. },
  7420. "cursellposition": {
  7421. "description": "期末卖头寸",
  7422. "type": "integer"
  7423. },
  7424. "curtdbuyposition": {
  7425. "description": "期末今日买头寸",
  7426. "type": "integer"
  7427. },
  7428. "curtdsellposition": {
  7429. "description": "期末今日卖头寸",
  7430. "type": "integer"
  7431. },
  7432. "curydbuyposition": {
  7433. "description": "期末上日买头寸",
  7434. "type": "integer"
  7435. },
  7436. "curydsellposition": {
  7437. "description": "期末上日卖头寸",
  7438. "type": "integer"
  7439. },
  7440. "decreaseqty": {
  7441. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7442. "type": "integer"
  7443. },
  7444. "fretdbuyposition": {
  7445. "description": "冻结今日买头寸",
  7446. "type": "integer"
  7447. },
  7448. "fretdsellposition": {
  7449. "description": "冻结今日卖头寸",
  7450. "type": "integer"
  7451. },
  7452. "freydbuyposition": {
  7453. "description": "冻结上日买头寸",
  7454. "type": "integer"
  7455. },
  7456. "freydsellposition": {
  7457. "description": "冻结上日卖头寸",
  7458. "type": "integer"
  7459. },
  7460. "goodscode": {
  7461. "description": "商品代码",
  7462. "type": "string"
  7463. },
  7464. "goodsid": {
  7465. "description": "商品id",
  7466. "type": "integer"
  7467. },
  7468. "goodsname": {
  7469. "description": "商品名称",
  7470. "type": "string"
  7471. },
  7472. "hedgeaccountcode": {
  7473. "description": "对冲账号",
  7474. "type": "string"
  7475. },
  7476. "hedgegoodsid": {
  7477. "description": "对冲合约ID",
  7478. "type": "integer"
  7479. },
  7480. "increaseqty": {
  7481. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7482. "type": "integer"
  7483. },
  7484. "marketid": {
  7485. "description": "市场ID",
  7486. "type": "integer"
  7487. },
  7488. "relateduserid": {
  7489. "description": "关联用户id",
  7490. "type": "integer"
  7491. },
  7492. "totalcurqty": {
  7493. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7494. "type": "integer"
  7495. },
  7496. "totalydqty": {
  7497. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7498. "type": "integer"
  7499. },
  7500. "tradedate": {
  7501. "description": "交易日(yyyyMMdd)",
  7502. "type": "string"
  7503. },
  7504. "ydbuyposition": {
  7505. "description": "期初买头寸",
  7506. "type": "integer"
  7507. },
  7508. "ydsellposition": {
  7509. "description": "期初卖头寸",
  7510. "type": "integer"
  7511. }
  7512. }
  7513. },
  7514. "ermcp.ExposureSpotDetailRsp": {
  7515. "type": "object",
  7516. "properties": {
  7517. "contracttype": {
  7518. "description": "合同类型 1-采购 -1-销售",
  7519. "type": "integer"
  7520. },
  7521. "createtime": {
  7522. "description": "创建时间",
  7523. "type": "string"
  7524. },
  7525. "enumdicname": {
  7526. "description": "现货商品单位名称",
  7527. "type": "string"
  7528. },
  7529. "logtype": {
  7530. "description": "记录类型 1-套保 2-现货合同",
  7531. "type": "integer"
  7532. },
  7533. "qty": {
  7534. "description": "数量",
  7535. "type": "number"
  7536. },
  7537. "recordname": {
  7538. "description": "类型名称",
  7539. "type": "string"
  7540. },
  7541. "relatedid": {
  7542. "description": "套保计划ID/现货合同ID",
  7543. "type": "string"
  7544. },
  7545. "relatedno": {
  7546. "description": "编号",
  7547. "type": "string"
  7548. },
  7549. "strtime": {
  7550. "description": "时间",
  7551. "type": "string"
  7552. },
  7553. "wrstandardcode": {
  7554. "description": "现货商品代码",
  7555. "type": "string"
  7556. },
  7557. "wrstandardname": {
  7558. "description": "现货商品名称",
  7559. "type": "string"
  7560. }
  7561. }
  7562. },
  7563. "ermcp.ExposureSpotRsp": {
  7564. "type": "object",
  7565. "properties": {
  7566. "areauserid": {
  7567. "description": "所属机构",
  7568. "type": "integer"
  7569. },
  7570. "decreaseqty": {
  7571. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7572. "type": "number"
  7573. },
  7574. "increaseqty": {
  7575. "description": "增加数量=销售计划数量+采购已定价数量",
  7576. "type": "number"
  7577. },
  7578. "oritoalspotqty": {
  7579. "description": "昨日数量",
  7580. "type": "number"
  7581. },
  7582. "totalspotqty": {
  7583. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7584. "type": "number"
  7585. },
  7586. "updatetime": {
  7587. "description": "更新时间",
  7588. "type": "string"
  7589. },
  7590. "wrstandardcode": {
  7591. "description": "现货品种代码",
  7592. "type": "string"
  7593. },
  7594. "wrstandardid": {
  7595. "description": "现货商品ID",
  7596. "type": "integer"
  7597. },
  7598. "wrstandardname": {
  7599. "description": "现货品种",
  7600. "type": "string"
  7601. }
  7602. }
  7603. },
  7604. "ermcp.HisExposureRsp": {
  7605. "type": "object",
  7606. "properties": {
  7607. "data": {
  7608. "description": "历史敞口",
  7609. "type": "array",
  7610. "items": {
  7611. "$ref": "#/definitions/models.ErmcpHisExposure"
  7612. }
  7613. },
  7614. "enumdicname": {
  7615. "description": "单位名称",
  7616. "type": "string"
  7617. },
  7618. "middlegoodscode": {
  7619. "description": "套保品种代码",
  7620. "type": "string"
  7621. },
  7622. "middlegoodsid": {
  7623. "description": "套保品种ID",
  7624. "type": "integer"
  7625. },
  7626. "middlegoodsname": {
  7627. "description": "套保品种名称",
  7628. "type": "string"
  7629. }
  7630. }
  7631. },
  7632. "ermcp.PendingAuditCntRsp": {
  7633. "type": "object",
  7634. "properties": {
  7635. "businessdjqty": {
  7636. "description": "待审核数量: 点价",
  7637. "type": "integer"
  7638. },
  7639. "businessfpqty": {
  7640. "description": "待审核数量: 发票",
  7641. "type": "integer"
  7642. },
  7643. "businessjsqty": {
  7644. "description": "待审核数量: 结算",
  7645. "type": "integer"
  7646. },
  7647. "businesskxqty": {
  7648. "description": "待审核数量: 款项",
  7649. "type": "integer"
  7650. },
  7651. "hedgeplanqty": {
  7652. "description": "待审核数量: 套保计划",
  7653. "type": "integer"
  7654. },
  7655. "spotcontractqty": {
  7656. "description": "待审核数量: 现货合同",
  7657. "type": "integer"
  7658. },
  7659. "userqty": {
  7660. "description": "待审核数量: 用户",
  7661. "type": "integer"
  7662. }
  7663. }
  7664. },
  7665. "ermcp.QryAvalidGPRsp": {
  7666. "type": "object",
  7667. "properties": {
  7668. "goodsgroupid": {
  7669. "description": "期货品种id",
  7670. "type": "integer"
  7671. },
  7672. "goodsgroupname": {
  7673. "description": "期货品种名称",
  7674. "type": "string"
  7675. },
  7676. "goodunitid": {
  7677. "description": "品种单位id",
  7678. "type": "integer"
  7679. },
  7680. "goodunitname": {
  7681. "description": "品种单位名称",
  7682. "type": "string"
  7683. },
  7684. "outergroupcode": {
  7685. "description": "期货品种代码",
  7686. "type": "string"
  7687. }
  7688. }
  7689. },
  7690. "ermcp.QryBusinessDjRsp": {
  7691. "type": "object",
  7692. "properties": {
  7693. "amount": {
  7694. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7695. "type": "number"
  7696. },
  7697. "applyid": {
  7698. "description": "申请人",
  7699. "type": "string"
  7700. },
  7701. "applyname": {
  7702. "description": "申请人名称",
  7703. "type": "string"
  7704. },
  7705. "applystatus": {
  7706. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7707. "type": "integer"
  7708. },
  7709. "applytime": {
  7710. "description": "申请时间",
  7711. "type": "string"
  7712. },
  7713. "attachurl": {
  7714. "description": "附件",
  7715. "type": "string"
  7716. },
  7717. "auditname": {
  7718. "description": "审核人名称",
  7719. "type": "string"
  7720. },
  7721. "audittime": {
  7722. "description": "审核时间",
  7723. "type": "string"
  7724. },
  7725. "buyusername": {
  7726. "description": "采购方名称",
  7727. "type": "string"
  7728. },
  7729. "contractno": {
  7730. "description": "合同编号",
  7731. "type": "string"
  7732. },
  7733. "contractstatus": {
  7734. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7735. "type": "integer"
  7736. },
  7737. "contracttype": {
  7738. "description": "现货合同类型 - 1:采购 -1:销售",
  7739. "type": "integer"
  7740. },
  7741. "enumdicname": {
  7742. "description": "单位名称",
  7743. "type": "string"
  7744. },
  7745. "goodscode": {
  7746. "description": "点价合约",
  7747. "type": "string"
  7748. },
  7749. "goodsname": {
  7750. "description": "商品名称",
  7751. "type": "string"
  7752. },
  7753. "operateapplyid": {
  7754. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7755. "type": "string"
  7756. },
  7757. "operateapplytype": {
  7758. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7759. "type": "integer"
  7760. },
  7761. "pricedPrice": {
  7762. "description": "点价价格(非必填)",
  7763. "type": "number"
  7764. },
  7765. "pricedQty": {
  7766. "description": "点价数量(非必填)",
  7767. "type": "number"
  7768. },
  7769. "pricemove": {
  7770. "description": "升贴水",
  7771. "type": "number"
  7772. },
  7773. "pricetype": {
  7774. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7775. "type": "integer"
  7776. },
  7777. "relatedid": {
  7778. "description": "现货合同ID",
  7779. "type": "string"
  7780. },
  7781. "sellusername": {
  7782. "description": "销售方名字",
  7783. "type": "string"
  7784. },
  7785. "userid": {
  7786. "description": "用户ID",
  7787. "type": "integer"
  7788. }
  7789. }
  7790. },
  7791. "ermcp.QryBussinessFpRsp": {
  7792. "type": "object",
  7793. "properties": {
  7794. "applyid": {
  7795. "description": "申请人",
  7796. "type": "string"
  7797. },
  7798. "applyname": {
  7799. "description": "申请人名称",
  7800. "type": "string"
  7801. },
  7802. "applystatus": {
  7803. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7804. "type": "integer"
  7805. },
  7806. "applytime": {
  7807. "description": "申请时间",
  7808. "type": "string"
  7809. },
  7810. "attachurl": {
  7811. "description": "附件",
  7812. "type": "string"
  7813. },
  7814. "auditname": {
  7815. "description": "审核人名称",
  7816. "type": "string"
  7817. },
  7818. "audittime": {
  7819. "description": "审核时间",
  7820. "type": "string"
  7821. },
  7822. "buyusername": {
  7823. "description": "采购方名称",
  7824. "type": "string"
  7825. },
  7826. "contractno": {
  7827. "description": "合同编号",
  7828. "type": "string"
  7829. },
  7830. "contractstatus": {
  7831. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7832. "type": "integer"
  7833. },
  7834. "contracttype": {
  7835. "description": "现货合同类型 - 1:采购 -1:销售",
  7836. "type": "integer"
  7837. },
  7838. "enumdicname": {
  7839. "description": "单位名称",
  7840. "type": "string"
  7841. },
  7842. "goodscode": {
  7843. "description": "点价合约",
  7844. "type": "string"
  7845. },
  7846. "goodsname": {
  7847. "description": "商品名称",
  7848. "type": "string"
  7849. },
  7850. "invoiceAmount": {
  7851. "description": "已开收票金额(销售为开票,采购为收票)",
  7852. "type": "number"
  7853. },
  7854. "operateapplyid": {
  7855. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7856. "type": "string"
  7857. },
  7858. "operateapplytype": {
  7859. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7860. "type": "integer"
  7861. },
  7862. "pricemove": {
  7863. "description": "升贴水",
  7864. "type": "number"
  7865. },
  7866. "pricetype": {
  7867. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7868. "type": "integer"
  7869. },
  7870. "relatedid": {
  7871. "description": "现货合同ID",
  7872. "type": "string"
  7873. },
  7874. "sellusername": {
  7875. "description": "销售方名字",
  7876. "type": "string"
  7877. },
  7878. "userid": {
  7879. "description": "用户ID",
  7880. "type": "integer"
  7881. }
  7882. }
  7883. },
  7884. "ermcp.QryBussinessJsExRsp": {
  7885. "type": "object",
  7886. "properties": {
  7887. "applyid": {
  7888. "description": "申请人",
  7889. "type": "string"
  7890. },
  7891. "applyname": {
  7892. "description": "申请人名称",
  7893. "type": "string"
  7894. },
  7895. "applystatus": {
  7896. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7897. "type": "integer"
  7898. },
  7899. "applytime": {
  7900. "description": "申请时间",
  7901. "type": "string"
  7902. },
  7903. "attachurl": {
  7904. "description": "附件",
  7905. "type": "string"
  7906. },
  7907. "auditname": {
  7908. "description": "审核人名称",
  7909. "type": "string"
  7910. },
  7911. "audittime": {
  7912. "description": "审核时间",
  7913. "type": "string"
  7914. },
  7915. "buyusername": {
  7916. "description": "采购方名称",
  7917. "type": "string"
  7918. },
  7919. "contractno": {
  7920. "description": "合同编号",
  7921. "type": "string"
  7922. },
  7923. "contractstatus": {
  7924. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7925. "type": "integer"
  7926. },
  7927. "contracttype": {
  7928. "description": "现货合同类型 - 1:采购 -1:销售",
  7929. "type": "integer"
  7930. },
  7931. "enumdicname": {
  7932. "description": "单位名称",
  7933. "type": "string"
  7934. },
  7935. "goodscode": {
  7936. "description": "点价合约",
  7937. "type": "string"
  7938. },
  7939. "goodsname": {
  7940. "description": "商品名称",
  7941. "type": "string"
  7942. },
  7943. "operateapplyid": {
  7944. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7945. "type": "string"
  7946. },
  7947. "operateapplytype": {
  7948. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7949. "type": "integer"
  7950. },
  7951. "pricemove": {
  7952. "description": "升贴水",
  7953. "type": "number"
  7954. },
  7955. "pricetype": {
  7956. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7957. "type": "integer"
  7958. },
  7959. "reckontype": {
  7960. "description": "结算类型",
  7961. "type": "string"
  7962. },
  7963. "reckonvalue": {
  7964. "description": "值",
  7965. "type": "number"
  7966. },
  7967. "relatedid": {
  7968. "description": "现货合同ID",
  7969. "type": "string"
  7970. },
  7971. "sellusername": {
  7972. "description": "销售方名字",
  7973. "type": "string"
  7974. },
  7975. "userid": {
  7976. "description": "用户ID",
  7977. "type": "integer"
  7978. }
  7979. }
  7980. },
  7981. "ermcp.QryBussinessJsRsp": {
  7982. "type": "object",
  7983. "properties": {
  7984. "addmargin": {
  7985. "description": "追加保证金(非必填)",
  7986. "type": "number"
  7987. },
  7988. "applyid": {
  7989. "description": "申请人",
  7990. "type": "string"
  7991. },
  7992. "applyname": {
  7993. "description": "申请人名称",
  7994. "type": "string"
  7995. },
  7996. "applystatus": {
  7997. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7998. "type": "integer"
  7999. },
  8000. "applytime": {
  8001. "description": "申请时间",
  8002. "type": "string"
  8003. },
  8004. "attachurl": {
  8005. "description": "附件",
  8006. "type": "string"
  8007. },
  8008. "auditname": {
  8009. "description": "审核人名称",
  8010. "type": "string"
  8011. },
  8012. "audittime": {
  8013. "description": "审核时间",
  8014. "type": "string"
  8015. },
  8016. "buyusername": {
  8017. "description": "采购方名称",
  8018. "type": "string"
  8019. },
  8020. "contractno": {
  8021. "description": "合同编号",
  8022. "type": "string"
  8023. },
  8024. "contractstatus": {
  8025. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8026. "type": "integer"
  8027. },
  8028. "contracttype": {
  8029. "description": "现货合同类型 - 1:采购 -1:销售",
  8030. "type": "integer"
  8031. },
  8032. "decmargin": {
  8033. "description": "减少保证金(非必填)",
  8034. "type": "number"
  8035. },
  8036. "enumdicname": {
  8037. "description": "单位名称",
  8038. "type": "string"
  8039. },
  8040. "goodscode": {
  8041. "description": "点价合约",
  8042. "type": "string"
  8043. },
  8044. "goodsname": {
  8045. "description": "商品名称",
  8046. "type": "string"
  8047. },
  8048. "operateapplyid": {
  8049. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8050. "type": "string"
  8051. },
  8052. "operateapplytype": {
  8053. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8054. "type": "integer"
  8055. },
  8056. "pricemove": {
  8057. "description": "升贴水",
  8058. "type": "number"
  8059. },
  8060. "pricetype": {
  8061. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8062. "type": "integer"
  8063. },
  8064. "reckonadjustamount": {
  8065. "description": "结算调整金额(非必填)",
  8066. "type": "number"
  8067. },
  8068. "reckonosamount": {
  8069. "description": "结算溢短金额(非必填)",
  8070. "type": "number"
  8071. },
  8072. "reckonotheramount": {
  8073. "description": "结算其他费用(非必填)",
  8074. "type": "number"
  8075. },
  8076. "reckonrealqty": {
  8077. "description": "结算实际数量(非必填)",
  8078. "type": "number"
  8079. },
  8080. "relatedid": {
  8081. "description": "现货合同ID",
  8082. "type": "string"
  8083. },
  8084. "sellusername": {
  8085. "description": "销售方名字",
  8086. "type": "string"
  8087. },
  8088. "userid": {
  8089. "description": "用户ID",
  8090. "type": "integer"
  8091. }
  8092. }
  8093. },
  8094. "ermcp.QryBussinessKxRsp": {
  8095. "type": "object",
  8096. "properties": {
  8097. "applyid": {
  8098. "description": "申请人",
  8099. "type": "string"
  8100. },
  8101. "applyname": {
  8102. "description": "申请人名称",
  8103. "type": "string"
  8104. },
  8105. "applystatus": {
  8106. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8107. "type": "integer"
  8108. },
  8109. "applytime": {
  8110. "description": "申请时间",
  8111. "type": "string"
  8112. },
  8113. "attachurl": {
  8114. "description": "附件",
  8115. "type": "string"
  8116. },
  8117. "auditname": {
  8118. "description": "审核人名称",
  8119. "type": "string"
  8120. },
  8121. "audittime": {
  8122. "description": "审核时间",
  8123. "type": "string"
  8124. },
  8125. "buyusername": {
  8126. "description": "采购方名称",
  8127. "type": "string"
  8128. },
  8129. "contractno": {
  8130. "description": "合同编号",
  8131. "type": "string"
  8132. },
  8133. "contractstatus": {
  8134. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8135. "type": "integer"
  8136. },
  8137. "contracttype": {
  8138. "description": "现货合同类型 - 1:采购 -1:销售",
  8139. "type": "integer"
  8140. },
  8141. "deductamount": {
  8142. "description": "退款(非必填)",
  8143. "type": "number"
  8144. },
  8145. "enumdicname": {
  8146. "description": "单位名称",
  8147. "type": "string"
  8148. },
  8149. "goodscode": {
  8150. "description": "点价合约",
  8151. "type": "string"
  8152. },
  8153. "goodsname": {
  8154. "description": "商品名称",
  8155. "type": "string"
  8156. },
  8157. "kxtype": {
  8158. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8159. "type": "integer"
  8160. },
  8161. "operateapplyid": {
  8162. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8163. "type": "string"
  8164. },
  8165. "operateapplytype": {
  8166. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8167. "type": "integer"
  8168. },
  8169. "payamount": {
  8170. "description": "收付款(非必填)",
  8171. "type": "number"
  8172. },
  8173. "pricemove": {
  8174. "description": "升贴水",
  8175. "type": "number"
  8176. },
  8177. "pricetype": {
  8178. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8179. "type": "integer"
  8180. },
  8181. "relatedid": {
  8182. "description": "现货合同ID",
  8183. "type": "string"
  8184. },
  8185. "sellusername": {
  8186. "description": "销售方名字",
  8187. "type": "string"
  8188. },
  8189. "userid": {
  8190. "description": "用户ID",
  8191. "type": "integer"
  8192. }
  8193. }
  8194. },
  8195. "ermcp.QryErmcpRsp": {
  8196. "type": "object",
  8197. "properties": {
  8198. "accountname": {
  8199. "description": "账户名称",
  8200. "type": "string"
  8201. },
  8202. "attachment": {
  8203. "description": "附件",
  8204. "type": "string"
  8205. },
  8206. "audittime": {
  8207. "description": "审核时间",
  8208. "type": "string"
  8209. },
  8210. "contracctstatus": {
  8211. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8212. "type": "integer"
  8213. },
  8214. "contractmargin": {
  8215. "description": "合同保证金",
  8216. "type": "number"
  8217. },
  8218. "contractno": {
  8219. "description": "合同编号",
  8220. "type": "string"
  8221. },
  8222. "contracttype": {
  8223. "description": "合同类型 1-采购, -1-销售",
  8224. "type": "integer"
  8225. },
  8226. "convertfactor": {
  8227. "description": "标仓系数",
  8228. "type": "number"
  8229. },
  8230. "createtime": {
  8231. "description": "创建时间",
  8232. "type": "string"
  8233. },
  8234. "daikaiamount": {
  8235. "description": "待开票额",
  8236. "type": "number"
  8237. },
  8238. "deliveryenddate": {
  8239. "description": "交割结束日",
  8240. "type": "string"
  8241. },
  8242. "deliverygoodscode": {
  8243. "description": "现货商品代码",
  8244. "type": "string"
  8245. },
  8246. "deliverygoodsid": {
  8247. "description": "现货商品ID",
  8248. "type": "integer"
  8249. },
  8250. "deliverygoodsname": {
  8251. "description": "现货商品名称",
  8252. "type": "string"
  8253. },
  8254. "deliverystartdate": {
  8255. "description": "交割开始日",
  8256. "type": "string"
  8257. },
  8258. "enddate": {
  8259. "description": "点价结束日",
  8260. "type": "string"
  8261. },
  8262. "enumdicname": {
  8263. "description": "单位名称",
  8264. "type": "string"
  8265. },
  8266. "goodscode": {
  8267. "description": "点价商品代码",
  8268. "type": "string"
  8269. },
  8270. "goodsid": {
  8271. "description": "点价商品ID",
  8272. "type": "integer"
  8273. },
  8274. "goodsname": {
  8275. "description": "点价商品名称",
  8276. "type": "string"
  8277. },
  8278. "invoiceamount": {
  8279. "description": "已开票额",
  8280. "type": "number"
  8281. },
  8282. "loanamount": {
  8283. "description": "贷款总额=已定价额+调整金额",
  8284. "type": "number"
  8285. },
  8286. "margin": {
  8287. "description": "保证金",
  8288. "type": "number"
  8289. },
  8290. "payamount": {
  8291. "description": "已收付额(收款或付款)",
  8292. "type": "number"
  8293. },
  8294. "price": {
  8295. "description": "价格",
  8296. "type": "number"
  8297. },
  8298. "pricedamount": {
  8299. "description": "已定价额",
  8300. "type": "number"
  8301. },
  8302. "pricedavg": {
  8303. "description": "已点均价",
  8304. "type": "number"
  8305. },
  8306. "pricedqty": {
  8307. "description": "已定价量",
  8308. "type": "number"
  8309. },
  8310. "pricemove": {
  8311. "description": "升贴水",
  8312. "type": "number"
  8313. },
  8314. "pricetype": {
  8315. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8316. "type": "integer"
  8317. },
  8318. "producttype": {
  8319. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8320. "type": "integer"
  8321. },
  8322. "qty": {
  8323. "description": "合同量",
  8324. "type": "number"
  8325. },
  8326. "reckonadjustamount": {
  8327. "description": "调整金额",
  8328. "type": "number"
  8329. },
  8330. "reckonedamount": {
  8331. "description": "已收付额(已确定额)",
  8332. "type": "number"
  8333. },
  8334. "reckonotheramount": {
  8335. "description": "其它费用",
  8336. "type": "number"
  8337. },
  8338. "reckonrealqty": {
  8339. "description": "已确定量",
  8340. "type": "number"
  8341. },
  8342. "remark": {
  8343. "description": "备注",
  8344. "type": "string"
  8345. },
  8346. "spotcontractid": {
  8347. "description": "合同ID",
  8348. "type": "string"
  8349. },
  8350. "spotgoodsdesc": {
  8351. "description": "商品型号(商品规格)",
  8352. "type": "string"
  8353. },
  8354. "startdate": {
  8355. "description": "点价开始日",
  8356. "type": "string"
  8357. },
  8358. "totalamount": {
  8359. "description": "合计总额",
  8360. "type": "number"
  8361. },
  8362. "unpayamount": {
  8363. "description": "待支收额(支付或收款)",
  8364. "type": "number"
  8365. },
  8366. "unpricedqty": {
  8367. "description": "未定价量",
  8368. "type": "number"
  8369. },
  8370. "unsureqty": {
  8371. "description": "未确定量",
  8372. "type": "number"
  8373. },
  8374. "userid": {
  8375. "description": "用户ID",
  8376. "type": "integer"
  8377. }
  8378. }
  8379. },
  8380. "ermcp.QryGGCovertCfgRsp": {
  8381. "type": "object",
  8382. "properties": {
  8383. "convertratio": {
  8384. "description": "折算系数",
  8385. "type": "number"
  8386. },
  8387. "destgoodsgroupid": {
  8388. "description": "目标品种ID",
  8389. "type": "integer"
  8390. },
  8391. "dstcode": {
  8392. "description": "目录品种代码",
  8393. "type": "string"
  8394. },
  8395. "dstexchangecode": {
  8396. "description": "目标期货交易所",
  8397. "type": "string"
  8398. },
  8399. "dstname": {
  8400. "description": "目标品种名称",
  8401. "type": "string"
  8402. },
  8403. "dstunitid": {
  8404. "description": "目标品种单位ID",
  8405. "type": "integer"
  8406. },
  8407. "dstunitidname": {
  8408. "description": "目标品种单位名称",
  8409. "type": "string"
  8410. },
  8411. "srccode": {
  8412. "description": "源品种代码",
  8413. "type": "string"
  8414. },
  8415. "srcexchangecode": {
  8416. "description": "源期货交易所",
  8417. "type": "string"
  8418. },
  8419. "srcgoodsgroupid": {
  8420. "description": "源品种ID",
  8421. "type": "integer"
  8422. },
  8423. "srcname": {
  8424. "description": "源品种名称",
  8425. "type": "string"
  8426. },
  8427. "srcunitid": {
  8428. "description": "源品种单位ID",
  8429. "type": "integer"
  8430. },
  8431. "srcunitidname": {
  8432. "description": "源品种单位名称",
  8433. "type": "string"
  8434. }
  8435. }
  8436. },
  8437. "ermcp.QryHedgePlanRsp": {
  8438. "type": "object",
  8439. "properties": {
  8440. "areauserid": {
  8441. "description": "用户ID",
  8442. "type": "integer"
  8443. },
  8444. "contracttype": {
  8445. "description": "计划类型 - 1:采购 -1:销售",
  8446. "type": "integer"
  8447. },
  8448. "convertfactor": {
  8449. "description": "标仓系数",
  8450. "type": "number"
  8451. },
  8452. "createtime": {
  8453. "description": "创建时间",
  8454. "type": "string"
  8455. },
  8456. "deliverygoodsid": {
  8457. "description": "现货品种ID",
  8458. "type": "integer"
  8459. },
  8460. "deliverygoodsname": {
  8461. "description": "现货品种名称",
  8462. "type": "string"
  8463. },
  8464. "hedgeplanid": {
  8465. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8466. "type": "string"
  8467. },
  8468. "hedgeplanno": {
  8469. "description": "套保计划编号(名称)",
  8470. "type": "string"
  8471. },
  8472. "hedgeplanstatus": {
  8473. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8474. "type": "integer"
  8475. },
  8476. "planqty": {
  8477. "description": "计划数量",
  8478. "type": "number"
  8479. },
  8480. "plantime": {
  8481. "description": "计划时间",
  8482. "type": "string"
  8483. },
  8484. "producttype": {
  8485. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8486. "type": "integer"
  8487. },
  8488. "remark": {
  8489. "description": "备注",
  8490. "type": "string"
  8491. },
  8492. "spotgoodsdesc": {
  8493. "description": "商品型号",
  8494. "type": "string"
  8495. },
  8496. "wrstandardid": {
  8497. "description": "现货商品ID",
  8498. "type": "integer"
  8499. },
  8500. "wrstandardname": {
  8501. "description": "现货商品名称",
  8502. "type": "string"
  8503. }
  8504. }
  8505. },
  8506. "ermcp.QryMGChangeLogRsp": {
  8507. "type": "object",
  8508. "properties": {
  8509. "aftervalue": {
  8510. "description": "变更后",
  8511. "type": "number"
  8512. },
  8513. "applyid": {
  8514. "description": "操作人",
  8515. "type": "integer"
  8516. },
  8517. "applyname": {
  8518. "description": "操作人名称",
  8519. "type": "string"
  8520. },
  8521. "applysrc": {
  8522. "description": "操作来源 - 1:管理端 2:终端",
  8523. "type": "integer"
  8524. },
  8525. "beforevalue": {
  8526. "description": "变更前",
  8527. "type": "number"
  8528. },
  8529. "changelogtype": {
  8530. "description": "变更流水类型 - 1:套保比率变更",
  8531. "type": "integer"
  8532. },
  8533. "handlestatus": {
  8534. "description": "处理状态",
  8535. "type": "integer"
  8536. },
  8537. "logdatetime": {
  8538. "description": "流水日期",
  8539. "type": "string"
  8540. },
  8541. "logid": {
  8542. "description": "流水ID",
  8543. "type": "integer"
  8544. },
  8545. "logremark": {
  8546. "description": "流水备注",
  8547. "type": "string"
  8548. },
  8549. "middlegoodsid": {
  8550. "description": "套保品种ID",
  8551. "type": "integer"
  8552. },
  8553. "tradedate": {
  8554. "description": "交易日(yyyyMMdd)",
  8555. "type": "string"
  8556. },
  8557. "updatetime": {
  8558. "description": "更新时间",
  8559. "type": "string"
  8560. }
  8561. }
  8562. },
  8563. "ermcp.QryMiddleGoodsDetailRsp": {
  8564. "type": "object",
  8565. "properties": {
  8566. "cvList": {
  8567. "description": "期货品种折算列表",
  8568. "type": "array",
  8569. "items": {
  8570. "$ref": "#/definitions/models.GoodsGroupConvert"
  8571. }
  8572. },
  8573. "mg": {
  8574. "description": "套保品种基本信息",
  8575. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8576. }
  8577. }
  8578. },
  8579. "ermcp.QryMiddleGoodsRsp": {
  8580. "type": "object",
  8581. "properties": {
  8582. "areauserid": {
  8583. "description": "机构用户ID",
  8584. "type": "integer"
  8585. },
  8586. "enumdicname": {
  8587. "description": "单位名称",
  8588. "type": "string"
  8589. },
  8590. "evaluateratio": {
  8591. "description": "估价系数",
  8592. "type": "number"
  8593. },
  8594. "goodsgroupid": {
  8595. "description": "关联期货品种ID",
  8596. "type": "integer"
  8597. },
  8598. "isvalid": {
  8599. "description": "状态 0-无效(停用) 1-有效(正常)",
  8600. "type": "integer"
  8601. },
  8602. "middlegoodscode": {
  8603. "description": "套保品种代码",
  8604. "type": "string"
  8605. },
  8606. "middlegoodsid": {
  8607. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8608. "type": "integer"
  8609. },
  8610. "middlegoodsname": {
  8611. "description": "套保品种名称",
  8612. "type": "string"
  8613. },
  8614. "modifytime": {
  8615. "description": "修改时间",
  8616. "type": "string"
  8617. },
  8618. "needhedgeratio": {
  8619. "description": "套保比率",
  8620. "type": "number"
  8621. },
  8622. "qtydecimalplace": {
  8623. "description": "数量小数位",
  8624. "type": "integer"
  8625. },
  8626. "relatedgoodsid": {
  8627. "description": "关联交易商品ID",
  8628. "type": "integer"
  8629. },
  8630. "relatedgoodstype": {
  8631. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8632. "type": "integer"
  8633. }
  8634. }
  8635. },
  8636. "ermcp.QryOPLogRsp": {
  8637. "type": "object",
  8638. "properties": {
  8639. "aftervalue": {
  8640. "description": "变更后",
  8641. "type": "number"
  8642. },
  8643. "applyid": {
  8644. "description": "操作人ID",
  8645. "type": "string"
  8646. },
  8647. "applyname": {
  8648. "description": "操作人名称",
  8649. "type": "string"
  8650. },
  8651. "beforevalue": {
  8652. "description": "变更前",
  8653. "type": "number"
  8654. },
  8655. "biztype": {
  8656. "description": "业务类型 - 1:套保计划 2:现货合同",
  8657. "type": "integer"
  8658. },
  8659. "contracttype": {
  8660. "description": "现货合同类型 - 1:采购 -1:销售",
  8661. "type": "integer"
  8662. },
  8663. "logvalue": {
  8664. "description": "数值",
  8665. "type": "number"
  8666. },
  8667. "operatelogtype": {
  8668. "description": "操作流水类型",
  8669. "type": "integer"
  8670. },
  8671. "operatelogtypedesc": {
  8672. "description": "操作流水类型名称",
  8673. "type": "string"
  8674. },
  8675. "relatedid": {
  8676. "description": "现货合同ID\\套保计划",
  8677. "type": "string"
  8678. },
  8679. "updatetime": {
  8680. "description": "更新时间",
  8681. "type": "string"
  8682. }
  8683. }
  8684. },
  8685. "ermcp.QryReportDaySpotDetailRsp": {
  8686. "type": "object",
  8687. "properties": {
  8688. "applyid": {
  8689. "description": "操作人",
  8690. "type": "integer"
  8691. },
  8692. "applyname": {
  8693. "description": "操作人名称",
  8694. "type": "string"
  8695. },
  8696. "biztype": {
  8697. "description": "业务类型 - 1:套保计划 2:现货合同",
  8698. "type": "integer"
  8699. },
  8700. "contracttype": {
  8701. "description": "现货合同类型 - 1:采购 -1:销售",
  8702. "type": "integer"
  8703. },
  8704. "enumdicName": {
  8705. "description": "单位名称",
  8706. "type": "string"
  8707. },
  8708. "logdatetime": {
  8709. "description": "流水日期(时间)",
  8710. "type": "string"
  8711. },
  8712. "logid": {
  8713. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8714. "type": "string"
  8715. },
  8716. "logtypename": {
  8717. "description": "合同类型(名称)",
  8718. "type": "string"
  8719. },
  8720. "logvalue": {
  8721. "description": "数值",
  8722. "type": "string"
  8723. },
  8724. "operatelogtype": {
  8725. "description": "操作流水类型 -",
  8726. "type": "integer"
  8727. },
  8728. "optypename": {
  8729. "description": "流水类型名称",
  8730. "type": "string"
  8731. },
  8732. "relatedid": {
  8733. "description": "现货合同ID\\套保计划",
  8734. "type": "string"
  8735. },
  8736. "relatedno": {
  8737. "description": "合同编号",
  8738. "type": "string"
  8739. },
  8740. "tradedate": {
  8741. "description": "交易日(yyyyMMdd)",
  8742. "type": "string"
  8743. },
  8744. "userid": {
  8745. "description": "机构ID",
  8746. "type": "integer"
  8747. },
  8748. "wrstandardcode": {
  8749. "description": "现货商品代码",
  8750. "type": "string"
  8751. },
  8752. "wrstandardid": {
  8753. "description": "现货商品ID",
  8754. "type": "integer"
  8755. },
  8756. "wrstandardname": {
  8757. "description": "现货商品名称",
  8758. "type": "string"
  8759. }
  8760. }
  8761. },
  8762. "ermcp.QryReportExposureDayRsp": {
  8763. "type": "object",
  8764. "properties": {
  8765. "areauserid": {
  8766. "description": "所属机构",
  8767. "type": "integer"
  8768. },
  8769. "buyfutureqty": {
  8770. "description": "买入期货数量",
  8771. "type": "number"
  8772. },
  8773. "buyplanqty": {
  8774. "description": "采购计划数量",
  8775. "type": "number"
  8776. },
  8777. "buypricedqty": {
  8778. "description": "采购合同已定价数量",
  8779. "type": "number"
  8780. },
  8781. "diffFutuQty": {
  8782. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8783. "type": "number"
  8784. },
  8785. "diffSpotQty": {
  8786. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8787. "type": "number"
  8788. },
  8789. "enumdicname": {
  8790. "description": "单位名称",
  8791. "type": "string"
  8792. },
  8793. "middlegoodscode": {
  8794. "description": "套保品种代码",
  8795. "type": "string"
  8796. },
  8797. "middlegoodshedgeratio": {
  8798. "description": "应套保比例",
  8799. "type": "number"
  8800. },
  8801. "middlegoodsid": {
  8802. "description": "套保品种ID",
  8803. "type": "integer"
  8804. },
  8805. "middlegoodsname": {
  8806. "description": "套保品种名称",
  8807. "type": "string"
  8808. },
  8809. "needhedgeexposoure": {
  8810. "description": "应套保敞口",
  8811. "type": "number"
  8812. },
  8813. "needhedgeratio": {
  8814. "description": "应套保敞口比例",
  8815. "type": "number"
  8816. },
  8817. "oriTotalFutuQty": {
  8818. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8819. "type": "number"
  8820. },
  8821. "oriTotalSpotQty": {
  8822. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8823. "type": "number"
  8824. },
  8825. "oribuyfutureqty": {
  8826. "description": "期初买入期货数量",
  8827. "type": "number"
  8828. },
  8829. "oribuyplanqty": {
  8830. "description": "期初采购计划数量",
  8831. "type": "number"
  8832. },
  8833. "oribuypricedqty": {
  8834. "description": "期初采购合同已定价数量",
  8835. "type": "number"
  8836. },
  8837. "orisellfutureqty": {
  8838. "description": "期初卖出期货数量",
  8839. "type": "number"
  8840. },
  8841. "orisellplanqty": {
  8842. "description": "期初销售计划数量",
  8843. "type": "number"
  8844. },
  8845. "orisellpricedqty": {
  8846. "description": "期初销售合同已定价数量",
  8847. "type": "number"
  8848. },
  8849. "reckondate": {
  8850. "description": "日照时期(yyyyMMdd)",
  8851. "type": "string"
  8852. },
  8853. "sellfutureqty": {
  8854. "description": "卖出期货数量",
  8855. "type": "number"
  8856. },
  8857. "sellplanqty": {
  8858. "description": "销售计划数量",
  8859. "type": "number"
  8860. },
  8861. "sellpricedqty": {
  8862. "description": "销售合同已定价数量",
  8863. "type": "number"
  8864. },
  8865. "totalexposure": {
  8866. "description": "总敞口",
  8867. "type": "number"
  8868. },
  8869. "totalfutureqty": {
  8870. "description": "期货数量",
  8871. "type": "number"
  8872. },
  8873. "totalhedgeratio": {
  8874. "description": "敞口比例",
  8875. "type": "number"
  8876. },
  8877. "totalneedhedgeqty": {
  8878. "description": "期货应套保量",
  8879. "type": "number"
  8880. },
  8881. "totalspotqty": {
  8882. "description": "现货数量",
  8883. "type": "number"
  8884. }
  8885. }
  8886. },
  8887. "ermcp.QryReportFinanceDayRsp": {
  8888. "type": "object",
  8889. "properties": {
  8890. "areauserid": {
  8891. "description": "所属机构",
  8892. "type": "integer"
  8893. },
  8894. "collectinvoiceamount": {
  8895. "description": "今日开票金额",
  8896. "type": "number"
  8897. },
  8898. "collectinvoicecount": {
  8899. "description": "今日开票笔数",
  8900. "type": "integer"
  8901. },
  8902. "collectmoneyamount": {
  8903. "description": "今日收款金额",
  8904. "type": "number"
  8905. },
  8906. "collectmoneycount": {
  8907. "description": "今日收款笔数",
  8908. "type": "integer"
  8909. },
  8910. "payinvoiceamount": {
  8911. "description": "今日收票金额",
  8912. "type": "number"
  8913. },
  8914. "payinvoicecount": {
  8915. "description": "今日收票笔数",
  8916. "type": "integer"
  8917. },
  8918. "paymoneyamount": {
  8919. "description": "今日付款金额",
  8920. "type": "number"
  8921. },
  8922. "paymoneycount": {
  8923. "description": "今日付款笔数",
  8924. "type": "integer"
  8925. },
  8926. "reckondate": {
  8927. "description": "日照时期(yyyyMMdd)",
  8928. "type": "string"
  8929. },
  8930. "updatetime": {
  8931. "description": "更新时间",
  8932. "type": "string"
  8933. }
  8934. }
  8935. },
  8936. "ermcp.QryReportFinanceKxRsp": {
  8937. "type": "object",
  8938. "properties": {
  8939. "applyid": {
  8940. "description": "操作人",
  8941. "type": "integer"
  8942. },
  8943. "applyname": {
  8944. "description": "操作人名称",
  8945. "type": "string"
  8946. },
  8947. "biztype": {
  8948. "description": "业务类型 - 1:套保计划 2:现货合同",
  8949. "type": "integer"
  8950. },
  8951. "contracttype": {
  8952. "description": "现货合同类型 - 1:采购 -1:销售",
  8953. "type": "integer"
  8954. },
  8955. "enumdicName": {
  8956. "description": "单位名称",
  8957. "type": "string"
  8958. },
  8959. "logdatetime": {
  8960. "description": "流水日期(时间)",
  8961. "type": "string"
  8962. },
  8963. "logid": {
  8964. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8965. "type": "string"
  8966. },
  8967. "logtypename": {
  8968. "description": "合同类型(名称)",
  8969. "type": "string"
  8970. },
  8971. "logvalue": {
  8972. "description": "数值",
  8973. "type": "string"
  8974. },
  8975. "operatelogtype": {
  8976. "description": "操作流水类型 -",
  8977. "type": "integer"
  8978. },
  8979. "optypename": {
  8980. "description": "流水类型名称",
  8981. "type": "string"
  8982. },
  8983. "relatedid": {
  8984. "description": "现货合同ID\\套保计划",
  8985. "type": "string"
  8986. },
  8987. "relatedno": {
  8988. "description": "合同编号",
  8989. "type": "string"
  8990. },
  8991. "tradedate": {
  8992. "description": "交易日(yyyyMMdd)",
  8993. "type": "string"
  8994. },
  8995. "userid": {
  8996. "description": "机构ID",
  8997. "type": "integer"
  8998. },
  8999. "wrstandardcode": {
  9000. "description": "现货商品代码",
  9001. "type": "string"
  9002. },
  9003. "wrstandardid": {
  9004. "description": "现货商品ID",
  9005. "type": "integer"
  9006. },
  9007. "wrstandardname": {
  9008. "description": "现货商品名称",
  9009. "type": "string"
  9010. }
  9011. }
  9012. },
  9013. "ermcp.QryReportFinanceMonRsp": {
  9014. "type": "object",
  9015. "properties": {
  9016. "areauserid": {
  9017. "description": "所属机构【原值】",
  9018. "type": "integer"
  9019. },
  9020. "collectinvoiceamount": {
  9021. "description": "今日开票金额【汇总】",
  9022. "type": "number"
  9023. },
  9024. "collectinvoicecount": {
  9025. "description": "今日开票笔数【汇总】",
  9026. "type": "integer"
  9027. },
  9028. "collectmoneyamount": {
  9029. "description": "今日收款金额【汇总】",
  9030. "type": "number"
  9031. },
  9032. "collectmoneycount": {
  9033. "description": "今日收款笔数 【汇总】",
  9034. "type": "integer"
  9035. },
  9036. "cycletime": {
  9037. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9038. "type": "string"
  9039. },
  9040. "cycletype": {
  9041. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9042. "type": "integer"
  9043. },
  9044. "dayFr": {
  9045. "description": "日报表明细",
  9046. "type": "array",
  9047. "items": {
  9048. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9049. }
  9050. },
  9051. "payinvoiceamount": {
  9052. "description": "今日收票金额【汇总】",
  9053. "type": "number"
  9054. },
  9055. "payinvoicecount": {
  9056. "description": "今日收票笔数【汇总】",
  9057. "type": "integer"
  9058. },
  9059. "paymoneyamount": {
  9060. "description": "今日付款金额【汇总】",
  9061. "type": "number"
  9062. },
  9063. "paymoneycount": {
  9064. "description": "今日付款笔数【汇总】",
  9065. "type": "integer"
  9066. },
  9067. "updatetime": {
  9068. "description": "更新时间",
  9069. "type": "string"
  9070. }
  9071. }
  9072. },
  9073. "ermcp.QryReportSpotDayRsp": {
  9074. "type": "object",
  9075. "properties": {
  9076. "areauserid": {
  9077. "description": "所属机构T",
  9078. "type": "integer"
  9079. },
  9080. "enumdicname": {
  9081. "description": "现货商品单位名称",
  9082. "type": "string"
  9083. },
  9084. "reckondate": {
  9085. "description": "日照时期(yyyyMMdd)",
  9086. "type": "string"
  9087. },
  9088. "todaybuyreckonqty": {
  9089. "description": "采购确定量",
  9090. "type": "number"
  9091. },
  9092. "todaysellreckonqty": {
  9093. "description": "销售确定量",
  9094. "type": "number"
  9095. },
  9096. "totalbuypricedqty": {
  9097. "description": "采购定价量 = 期末 - 期初",
  9098. "type": "number"
  9099. },
  9100. "totalsellpricedqty": {
  9101. "description": "销售定价量 = 期末 - 期初",
  9102. "type": "number"
  9103. },
  9104. "wrstandardcode": {
  9105. "description": "现货商品代码",
  9106. "type": "string"
  9107. },
  9108. "wrstandardid": {
  9109. "description": "现货商品ID",
  9110. "type": "integer"
  9111. },
  9112. "wrstandardname": {
  9113. "description": "现货商品名称",
  9114. "type": "string"
  9115. }
  9116. }
  9117. },
  9118. "ermcp.QryReportSpotMonRsp": {
  9119. "type": "object",
  9120. "properties": {
  9121. "areauserid": {
  9122. "description": "所属机构T",
  9123. "type": "integer"
  9124. },
  9125. "cycletime": {
  9126. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9127. "type": "string"
  9128. },
  9129. "cycletype": {
  9130. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9131. "type": "integer"
  9132. },
  9133. "enumdicname": {
  9134. "description": "现货商品单位名称",
  9135. "type": "string"
  9136. },
  9137. "todaybuyreckonqty": {
  9138. "description": "采购确定量",
  9139. "type": "number"
  9140. },
  9141. "todaysellreckonqty": {
  9142. "description": "销售确定量",
  9143. "type": "number"
  9144. },
  9145. "totalbuypricedqty": {
  9146. "description": "采购定价量 = 期末 - 期初",
  9147. "type": "number"
  9148. },
  9149. "totalsellpricedqty": {
  9150. "description": "销售定价量 = 期末 - 期初",
  9151. "type": "number"
  9152. },
  9153. "wrstandardcode": {
  9154. "description": "现货商品代码",
  9155. "type": "string"
  9156. },
  9157. "wrstandardid": {
  9158. "description": "现货商品ID",
  9159. "type": "integer"
  9160. },
  9161. "wrstandardname": {
  9162. "description": "现货商品名称",
  9163. "type": "string"
  9164. }
  9165. }
  9166. },
  9167. "ermcp.QryReportSpotMonthDetailRsp": {
  9168. "type": "object",
  9169. "properties": {
  9170. "areauserid": {
  9171. "description": "所属机构T",
  9172. "type": "integer"
  9173. },
  9174. "enumdicname": {
  9175. "description": "现货商品单位名称",
  9176. "type": "string"
  9177. },
  9178. "reckondate": {
  9179. "description": "日照时期(yyyyMMdd)",
  9180. "type": "string"
  9181. },
  9182. "todaybuyreckonqty": {
  9183. "description": "采购确定量",
  9184. "type": "number"
  9185. },
  9186. "todaysellreckonqty": {
  9187. "description": "销售确定量",
  9188. "type": "number"
  9189. },
  9190. "totalbuypricedqty": {
  9191. "description": "采购定价量 = 期末 - 期初",
  9192. "type": "number"
  9193. },
  9194. "totalsellpricedqty": {
  9195. "description": "销售定价量 = 期末 - 期初",
  9196. "type": "number"
  9197. },
  9198. "wrstandardcode": {
  9199. "description": "现货商品代码",
  9200. "type": "string"
  9201. },
  9202. "wrstandardid": {
  9203. "description": "现货商品ID",
  9204. "type": "integer"
  9205. },
  9206. "wrstandardname": {
  9207. "description": "现货商品名称",
  9208. "type": "string"
  9209. }
  9210. }
  9211. },
  9212. "ermcp.QrySpotContractRsp": {
  9213. "type": "object",
  9214. "properties": {
  9215. "amount": {
  9216. "description": "金额 [1:一口价、3:暂定价]",
  9217. "type": "number"
  9218. },
  9219. "attachment": {
  9220. "description": "附件",
  9221. "type": "string"
  9222. },
  9223. "auditremark": {
  9224. "description": "审核意见",
  9225. "type": "string"
  9226. },
  9227. "audittime": {
  9228. "description": "审核时间",
  9229. "type": "string"
  9230. },
  9231. "brandname": {
  9232. "description": "品牌名称",
  9233. "type": "string"
  9234. },
  9235. "buyuserid": {
  9236. "description": "采购方ID",
  9237. "type": "integer"
  9238. },
  9239. "buyusername": {
  9240. "description": "采购方名称",
  9241. "type": "string"
  9242. },
  9243. "contracctstatus": {
  9244. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9245. "type": "integer"
  9246. },
  9247. "contractmargin": {
  9248. "description": "合同保证金",
  9249. "type": "number"
  9250. },
  9251. "contractno": {
  9252. "description": "现货合同编号",
  9253. "type": "string"
  9254. },
  9255. "contracttype": {
  9256. "description": "现货合同类型 - 1:采购 -1:销售",
  9257. "type": "integer"
  9258. },
  9259. "convertfactor": {
  9260. "description": "标仓系数",
  9261. "type": "number"
  9262. },
  9263. "createtime": {
  9264. "description": "创建时间",
  9265. "type": "string"
  9266. },
  9267. "deliveryenddate": {
  9268. "description": "交收期(结束)",
  9269. "type": "string"
  9270. },
  9271. "deliverygoodscode": {
  9272. "description": "现货品种代码",
  9273. "type": "string"
  9274. },
  9275. "deliverygoodsid": {
  9276. "description": "现货品种ID",
  9277. "type": "integer"
  9278. },
  9279. "deliverygoodsname": {
  9280. "description": "现货品种名称",
  9281. "type": "string"
  9282. },
  9283. "deliverystartdate": {
  9284. "description": "交收期(开始)",
  9285. "type": "string"
  9286. },
  9287. "enddate": {
  9288. "description": "点价结束日期 [2:点价 3:暂定价]",
  9289. "type": "string"
  9290. },
  9291. "enumdicname": {
  9292. "description": "单位名称",
  9293. "type": "string"
  9294. },
  9295. "goodscode": {
  9296. "description": "点价合约代码",
  9297. "type": "string"
  9298. },
  9299. "goodsid": {
  9300. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9301. "type": "integer"
  9302. },
  9303. "goodsname": {
  9304. "description": "点价商品名称",
  9305. "type": "string"
  9306. },
  9307. "margin": {
  9308. "description": "当前保证金",
  9309. "type": "number"
  9310. },
  9311. "modelname": {
  9312. "description": "型号名称",
  9313. "type": "string"
  9314. },
  9315. "price": {
  9316. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9317. "type": "number"
  9318. },
  9319. "pricemove": {
  9320. "description": "升贴水 [2:点价 3:暂定价]",
  9321. "type": "number"
  9322. },
  9323. "pricetype": {
  9324. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9325. "type": "integer"
  9326. },
  9327. "producttype": {
  9328. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9329. "type": "integer"
  9330. },
  9331. "qty": {
  9332. "description": "数量",
  9333. "type": "number"
  9334. },
  9335. "remark": {
  9336. "description": "备注",
  9337. "type": "string"
  9338. },
  9339. "selluserid": {
  9340. "description": "销售方ID",
  9341. "type": "integer"
  9342. },
  9343. "sellusername": {
  9344. "description": "销售方名称",
  9345. "type": "string"
  9346. },
  9347. "spotcontractid": {
  9348. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9349. "type": "string"
  9350. },
  9351. "spotgoodsbrandid": {
  9352. "description": "现货品牌ID",
  9353. "type": "integer"
  9354. },
  9355. "spotgoodsdesc": {
  9356. "description": "商品型号",
  9357. "type": "string"
  9358. },
  9359. "spotgoodsmodelid": {
  9360. "description": "现货型号ID",
  9361. "type": "integer"
  9362. },
  9363. "startdate": {
  9364. "description": "点价开始日期 [2:点价 3:暂定价]",
  9365. "type": "string"
  9366. },
  9367. "userid": {
  9368. "description": "机构ID",
  9369. "type": "integer"
  9370. },
  9371. "wrstandardid": {
  9372. "description": "现货商品ID",
  9373. "type": "integer"
  9374. }
  9375. }
  9376. },
  9377. "ermcp.QryUserInfoRsp": {
  9378. "type": "object",
  9379. "properties": {
  9380. "address": {
  9381. "description": "通讯地址",
  9382. "type": "string"
  9383. },
  9384. "attachment1": {
  9385. "description": "附件1",
  9386. "type": "string"
  9387. },
  9388. "cardfrontphotourl": {
  9389. "description": "证件正面图片地址",
  9390. "type": "string"
  9391. },
  9392. "cardnum": {
  9393. "description": "证件号码",
  9394. "type": "string"
  9395. },
  9396. "cardtype": {
  9397. "description": "证件类型",
  9398. "type": "integer"
  9399. },
  9400. "cardtypename": {
  9401. "description": "证件类型名称",
  9402. "type": "string"
  9403. },
  9404. "cityid": {
  9405. "description": "市",
  9406. "type": "integer"
  9407. },
  9408. "countryid": {
  9409. "description": "国家",
  9410. "type": "integer"
  9411. },
  9412. "createtime": {
  9413. "description": "创建时间",
  9414. "type": "string"
  9415. },
  9416. "customername": {
  9417. "description": "企业名称",
  9418. "type": "string"
  9419. },
  9420. "memberuserid": {
  9421. "description": "所属机构ID",
  9422. "type": "integer"
  9423. },
  9424. "mobile": {
  9425. "description": "手机号码",
  9426. "type": "string"
  9427. },
  9428. "provinceid": {
  9429. "description": "省",
  9430. "type": "integer"
  9431. },
  9432. "remark": {
  9433. "description": "备注",
  9434. "type": "string"
  9435. },
  9436. "status": {
  9437. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9438. "type": "integer"
  9439. },
  9440. "statusdesc": {
  9441. "description": "账户状态中文描述",
  9442. "type": "string"
  9443. },
  9444. "telphone": {
  9445. "description": "联系电话",
  9446. "type": "string"
  9447. },
  9448. "userid": {
  9449. "description": "用户ID",
  9450. "type": "integer"
  9451. },
  9452. "userinfotype": {
  9453. "description": "客户类型",
  9454. "type": "string"
  9455. }
  9456. }
  9457. },
  9458. "ermcp.QryWrStandardDetailRsp": {
  9459. "type": "object",
  9460. "properties": {
  9461. "gbList": {
  9462. "description": "品牌列表",
  9463. "type": "array",
  9464. "items": {
  9465. "$ref": "#/definitions/models.GoodsBrand"
  9466. }
  9467. },
  9468. "gtList": {
  9469. "description": "型号列表",
  9470. "type": "array",
  9471. "items": {
  9472. "$ref": "#/definitions/models.GoodsTypeModel"
  9473. }
  9474. },
  9475. "wrd": {
  9476. "description": "基本信息",
  9477. "$ref": "#/definitions/models.ErmcpWrstandard"
  9478. },
  9479. "wrsList": {
  9480. "description": "套保信息列表",
  9481. "type": "array",
  9482. "items": {
  9483. "$ref": "#/definitions/models.WRSConverTDetail"
  9484. }
  9485. }
  9486. }
  9487. },
  9488. "ermcp.QryWrStandardRsp": {
  9489. "type": "object",
  9490. "properties": {
  9491. "areauserid": {
  9492. "description": "所属机构",
  9493. "type": "integer"
  9494. },
  9495. "createtime": {
  9496. "description": "创建时间",
  9497. "type": "string"
  9498. },
  9499. "creatorid": {
  9500. "description": "创建人",
  9501. "type": "integer"
  9502. },
  9503. "deliverygoodsid": {
  9504. "description": "品种ID",
  9505. "type": "integer"
  9506. },
  9507. "enumdicname": {
  9508. "description": "单位名称",
  9509. "type": "string"
  9510. },
  9511. "isvalid": {
  9512. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9513. "type": "integer"
  9514. },
  9515. "minivalue": {
  9516. "description": "最小变动值",
  9517. "type": "integer"
  9518. },
  9519. "minivaluedp": {
  9520. "description": "最小变动值小数位",
  9521. "type": "integer"
  9522. },
  9523. "realminivalue": {
  9524. "description": "实际最小变动值",
  9525. "type": "integer"
  9526. },
  9527. "realminivaluedp": {
  9528. "description": "实际最小变动值小数位",
  9529. "type": "integer"
  9530. },
  9531. "remark": {
  9532. "description": "备注",
  9533. "type": "string"
  9534. },
  9535. "unitid": {
  9536. "description": "单位ID",
  9537. "type": "integer"
  9538. },
  9539. "updatetime": {
  9540. "description": "更新时间",
  9541. "type": "string"
  9542. },
  9543. "wrstandardcode": {
  9544. "description": "现货商品代码",
  9545. "type": "string"
  9546. },
  9547. "wrstandardid": {
  9548. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9549. "type": "integer"
  9550. },
  9551. "wrstandardname": {
  9552. "description": "现货商品名称",
  9553. "type": "string"
  9554. }
  9555. }
  9556. },
  9557. "ermcp.QueryErmcpTradePositionRsp": {
  9558. "type": "object",
  9559. "properties": {
  9560. "agreeunit": {
  9561. "description": "合约单位",
  9562. "type": "number"
  9563. },
  9564. "buyorsell": {
  9565. "description": "方向 - 0:买 1:卖",
  9566. "type": "integer"
  9567. },
  9568. "curpositionqty": {
  9569. "description": "持仓(总仓数量, 期末头寸)",
  9570. "type": "integer"
  9571. },
  9572. "curtdposition": {
  9573. "description": "今仓数量(期末今日头寸)",
  9574. "type": "integer"
  9575. },
  9576. "curtdpositionenabled": {
  9577. "description": "今仓可用",
  9578. "type": "integer"
  9579. },
  9580. "decimalplace": {
  9581. "description": "报价小数位",
  9582. "type": "integer"
  9583. },
  9584. "enableqty": {
  9585. "description": "可用(总仓可用)",
  9586. "type": "integer"
  9587. },
  9588. "exexchangename": {
  9589. "description": "外部交易所名称",
  9590. "type": "string"
  9591. },
  9592. "goodscode": {
  9593. "description": "商品代码(内部)",
  9594. "type": "string"
  9595. },
  9596. "goodsid": {
  9597. "description": "商品ID(自增ID SEQ_GOODS)",
  9598. "type": "integer"
  9599. },
  9600. "goodsname": {
  9601. "description": "商品名称",
  9602. "type": "string"
  9603. },
  9604. "last": {
  9605. "description": "现价",
  9606. "type": "number"
  9607. },
  9608. "marketid": {
  9609. "description": "所属市场ID",
  9610. "type": "integer"
  9611. },
  9612. "openaverageprice": {
  9613. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9614. "type": "number"
  9615. },
  9616. "opencost": {
  9617. "description": "开仓成本",
  9618. "type": "number"
  9619. },
  9620. "openpl": {
  9621. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9622. "type": "number"
  9623. },
  9624. "outgoodscode": {
  9625. "description": "商品代码(外部)",
  9626. "type": "string"
  9627. },
  9628. "positionaverageprice": {
  9629. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9630. "type": "number"
  9631. },
  9632. "positioncost": {
  9633. "description": "持仓成本",
  9634. "type": "number"
  9635. },
  9636. "positionpl": {
  9637. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9638. "type": "number"
  9639. },
  9640. "positionplrate": {
  9641. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9642. "type": "number"
  9643. },
  9644. "usedmargin": {
  9645. "description": "占用保证金",
  9646. "type": "number"
  9647. }
  9648. }
  9649. },
  9650. "ermcp.RealtimeExposurePositionRsp": {
  9651. "type": "object",
  9652. "properties": {
  9653. "agreeunit": {
  9654. "description": "合约单位",
  9655. "type": "string"
  9656. },
  9657. "areauserid": {
  9658. "description": "所属机构id",
  9659. "type": "integer"
  9660. },
  9661. "convertratio": {
  9662. "description": "期货品种系数(折算系数)",
  9663. "type": "number"
  9664. },
  9665. "curqty": {
  9666. "description": "当前持仓",
  9667. "type": "integer"
  9668. },
  9669. "diffhedgeqty": {
  9670. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9671. "type": "number"
  9672. },
  9673. "diffqty": {
  9674. "description": "持仓变动量=当前持仓-昨日持仓",
  9675. "type": "integer"
  9676. },
  9677. "goodscode": {
  9678. "description": "商品代码",
  9679. "type": "string"
  9680. },
  9681. "goodsid": {
  9682. "description": "商品id",
  9683. "type": "integer"
  9684. },
  9685. "goodsname": {
  9686. "description": "商品名称",
  9687. "type": "string"
  9688. },
  9689. "middlegoodsid": {
  9690. "description": "套保商品id",
  9691. "type": "integer"
  9692. },
  9693. "ydqty": {
  9694. "description": "昨日持仓",
  9695. "type": "integer"
  9696. }
  9697. }
  9698. },
  9699. "ermcp.RealtimeExposureRsp": {
  9700. "type": "object",
  9701. "properties": {
  9702. "areaUserID": {
  9703. "description": "所属机构",
  9704. "type": "integer"
  9705. },
  9706. "buyFutureQty": {
  9707. "description": "买入期货数量",
  9708. "type": "number"
  9709. },
  9710. "buyPlanQty": {
  9711. "description": "采购计划数量",
  9712. "type": "number"
  9713. },
  9714. "buyPricedQty": {
  9715. "description": "采购合同已定价数量",
  9716. "type": "number"
  9717. },
  9718. "diffFutuQty": {
  9719. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9720. "type": "number"
  9721. },
  9722. "diffSpotQty": {
  9723. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9724. "type": "number"
  9725. },
  9726. "enumdicname": {
  9727. "description": "单位名称",
  9728. "type": "string"
  9729. },
  9730. "middleGoodsCode": {
  9731. "description": "套保品种代码",
  9732. "type": "string"
  9733. },
  9734. "middleGoodsHedgeRatio": {
  9735. "description": "应套保比例",
  9736. "type": "number"
  9737. },
  9738. "middleGoodsID": {
  9739. "description": "套保品种",
  9740. "type": "integer"
  9741. },
  9742. "middleGoodsName": {
  9743. "description": "套保品种名称",
  9744. "type": "string"
  9745. },
  9746. "needHedgeExposoure": {
  9747. "description": "应套保敞口",
  9748. "type": "number"
  9749. },
  9750. "needHedgeRatio": {
  9751. "description": "应套保敞口比例",
  9752. "type": "number"
  9753. },
  9754. "oriBuyFutureQty": {
  9755. "description": "期初买入期货数量",
  9756. "type": "number"
  9757. },
  9758. "oriBuyPlanQty": {
  9759. "description": "期初采购计划数量",
  9760. "type": "number"
  9761. },
  9762. "oriBuyPricedQty": {
  9763. "description": "期初采购合同已定价数量",
  9764. "type": "number"
  9765. },
  9766. "oriSellFutureQty": {
  9767. "description": "期初卖出期货数量",
  9768. "type": "number"
  9769. },
  9770. "oriSellPlanQty": {
  9771. "description": "期初销售计划数量",
  9772. "type": "number"
  9773. },
  9774. "oriSellPricedQty": {
  9775. "description": "期初销售合同已定价数量",
  9776. "type": "number"
  9777. },
  9778. "oriTotalFutuQty": {
  9779. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9780. "type": "number"
  9781. },
  9782. "oriTotalSpotQty": {
  9783. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9784. "type": "number"
  9785. },
  9786. "sellFutureQty": {
  9787. "description": "卖出期货数量",
  9788. "type": "number"
  9789. },
  9790. "sellPlanQty": {
  9791. "description": "销售计划数量",
  9792. "type": "number"
  9793. },
  9794. "sellPricedQty": {
  9795. "description": "销售合同已定价数量",
  9796. "type": "number"
  9797. },
  9798. "totalExposure": {
  9799. "description": "总敞口",
  9800. "type": "number"
  9801. },
  9802. "totalFutureQty": {
  9803. "description": "期货数量",
  9804. "type": "number"
  9805. },
  9806. "totalHedgeRatio": {
  9807. "description": "敞口比例",
  9808. "type": "number"
  9809. },
  9810. "totalNeedHedgeQty": {
  9811. "description": "期货应套保量",
  9812. "type": "number"
  9813. },
  9814. "totalSpotQty": {
  9815. "description": "现货数量",
  9816. "type": "number"
  9817. }
  9818. }
  9819. },
  9820. "erms2.QueryArbitrageStrategyRsp": {
  9821. "type": "object",
  9822. "required": [
  9823. "asapplyid"
  9824. ],
  9825. "properties": {
  9826. "applybasis": {
  9827. "description": "申请基差",
  9828. "type": "number"
  9829. },
  9830. "asapplyid": {
  9831. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9832. "type": "string"
  9833. },
  9834. "asname": {
  9835. "description": "策略名称",
  9836. "type": "string"
  9837. },
  9838. "asno": {
  9839. "description": "策略编号",
  9840. "type": "string"
  9841. },
  9842. "basischangepl": {
  9843. "description": "基差变动损益[结算更新]",
  9844. "type": "number"
  9845. },
  9846. "biztype": {
  9847. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9848. "type": "integer"
  9849. },
  9850. "closetradedate": {
  9851. "description": "完结交易日(yyyyMMdd)",
  9852. "type": "string"
  9853. },
  9854. "curbasis": {
  9855. "description": "当前基差[结算更新]",
  9856. "type": "number"
  9857. },
  9858. "deliverygoodsid": {
  9859. "description": "现货品种ID",
  9860. "type": "integer"
  9861. },
  9862. "futureavgprice": {
  9863. "description": "期货建仓均价",
  9864. "type": "number"
  9865. },
  9866. "futurecloseamount": {
  9867. "description": "期货平仓金额",
  9868. "type": "number"
  9869. },
  9870. "futurecloseqty": {
  9871. "description": "期货平仓数量",
  9872. "type": "number"
  9873. },
  9874. "futureopenamount": {
  9875. "description": "期货开仓金额",
  9876. "type": "number"
  9877. },
  9878. "futureopenqty": {
  9879. "description": "期货开仓数量",
  9880. "type": "number"
  9881. },
  9882. "futurepl": {
  9883. "description": "期货总盈亏[结算更新]",
  9884. "type": "number"
  9885. },
  9886. "futureqty": {
  9887. "description": "期货持仓数量",
  9888. "type": "number"
  9889. },
  9890. "futurequote": {
  9891. "description": "期货额度",
  9892. "type": "number"
  9893. },
  9894. "goodsgroupid": {
  9895. "description": "期货品种ID",
  9896. "type": "integer"
  9897. },
  9898. "marketid": {
  9899. "description": "市场ID",
  9900. "type": "integer"
  9901. },
  9902. "netexposure": {
  9903. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9904. "type": "number"
  9905. },
  9906. "netexposurepl": {
  9907. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9908. "type": "number"
  9909. },
  9910. "netexposurerate": {
  9911. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9912. "type": "number"
  9913. },
  9914. "openbasis": {
  9915. "description": "建仓基差",
  9916. "type": "number"
  9917. },
  9918. "pricedspotqty": {
  9919. "description": "已定价现货数量",
  9920. "type": "number"
  9921. },
  9922. "pricedspotqtynotax": {
  9923. "description": "已定价现货不含税数量",
  9924. "type": "number"
  9925. },
  9926. "remark": {
  9927. "description": "备注",
  9928. "type": "string"
  9929. },
  9930. "spotavgprice": {
  9931. "description": "现货均价",
  9932. "type": "number"
  9933. },
  9934. "spotbuyamount": {
  9935. "description": "现货采购金额",
  9936. "type": "number"
  9937. },
  9938. "spotbuyqty": {
  9939. "description": "现货采购数量",
  9940. "type": "number"
  9941. },
  9942. "spotpl": {
  9943. "description": "现货总盈亏[结算更新]",
  9944. "type": "number"
  9945. },
  9946. "spotquota": {
  9947. "description": "现货额度",
  9948. "type": "number"
  9949. },
  9950. "spotsellamount": {
  9951. "description": "现货销售金额",
  9952. "type": "number"
  9953. },
  9954. "spotsellqty": {
  9955. "description": "现货销售数量",
  9956. "type": "number"
  9957. },
  9958. "spotusedquota": {
  9959. "description": "现货占用资金",
  9960. "type": "number"
  9961. },
  9962. "strategystatus": {
  9963. "description": "策略状态 - 0:未结束 1:已结束",
  9964. "type": "integer"
  9965. },
  9966. "totalpl": {
  9967. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9968. "type": "number"
  9969. },
  9970. "tradedate": {
  9971. "description": "交易日(yyyyMMdd)",
  9972. "type": "string"
  9973. },
  9974. "updatetime": {
  9975. "description": "更新时间",
  9976. "type": "string"
  9977. },
  9978. "usedquota": {
  9979. "description": "已占用资金",
  9980. "type": "number"
  9981. },
  9982. "userid": {
  9983. "description": "所属机构",
  9984. "type": "integer"
  9985. }
  9986. }
  9987. },
  9988. "erms2.QueryInnerTradeDetailRsp": {
  9989. "type": "object",
  9990. "required": [
  9991. "asapplyid",
  9992. "buyorsell",
  9993. "goodscode",
  9994. "goodsgroupid",
  9995. "goodsgroupname",
  9996. "goodsname",
  9997. "tradeid"
  9998. ],
  9999. "properties": {
  10000. "accountid": {
  10001. "description": "账号ID",
  10002. "type": "integer"
  10003. },
  10004. "agreeunit": {
  10005. "description": "合约单位",
  10006. "type": "number"
  10007. },
  10008. "asapplyid": {
  10009. "description": "策略申请ID",
  10010. "type": "integer"
  10011. },
  10012. "asname": {
  10013. "description": "策略名称",
  10014. "type": "string"
  10015. },
  10016. "asno": {
  10017. "description": "策略编号",
  10018. "type": "string"
  10019. },
  10020. "buyorsell": {
  10021. "description": "方向 - 0:买 1:卖",
  10022. "type": "integer"
  10023. },
  10024. "channelbuildtype": {
  10025. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10026. "type": "integer"
  10027. },
  10028. "closetype": {
  10029. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10030. "type": "integer"
  10031. },
  10032. "decimalplace": {
  10033. "description": "报价小数位",
  10034. "type": "integer"
  10035. },
  10036. "detailtype": {
  10037. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10038. "type": "integer"
  10039. },
  10040. "exexchangecode": {
  10041. "description": "外部交易所代码",
  10042. "type": "string"
  10043. },
  10044. "exexchangename": {
  10045. "description": "外部交易所名称",
  10046. "type": "string"
  10047. },
  10048. "goodscode": {
  10049. "description": "商品代码(合约)",
  10050. "type": "string"
  10051. },
  10052. "goodsgroupid": {
  10053. "description": "商品组ID(品种ID)",
  10054. "type": "integer"
  10055. },
  10056. "goodsgroupname": {
  10057. "description": "商品组名称(品种)",
  10058. "type": "string"
  10059. },
  10060. "goodsid": {
  10061. "description": "商品ID",
  10062. "type": "integer"
  10063. },
  10064. "goodsname": {
  10065. "description": "商品名称(合约)",
  10066. "type": "string"
  10067. },
  10068. "goodunit": {
  10069. "description": "报价单位",
  10070. "type": "string"
  10071. },
  10072. "marketid": {
  10073. "description": "市场ID",
  10074. "type": "integer"
  10075. },
  10076. "orderid": {
  10077. "description": "委托单号",
  10078. "type": "string"
  10079. },
  10080. "outgoodscode": {
  10081. "description": "商品代码(外部)",
  10082. "type": "string"
  10083. },
  10084. "relatedouttradeid": {
  10085. "description": "关联外部成交单ID",
  10086. "type": "string"
  10087. },
  10088. "remark": {
  10089. "description": "备注",
  10090. "type": "string"
  10091. },
  10092. "spotcontractid": {
  10093. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10094. "type": "integer"
  10095. },
  10096. "spotcontractno": {
  10097. "description": "现货合同编号",
  10098. "type": "string"
  10099. },
  10100. "tradeid": {
  10101. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10102. "type": "string"
  10103. },
  10104. "tradeprice": {
  10105. "description": "成交价格",
  10106. "type": "number"
  10107. },
  10108. "tradeqty": {
  10109. "description": "成交数量",
  10110. "type": "integer"
  10111. },
  10112. "tradetime": {
  10113. "description": "成交时间",
  10114. "type": "string"
  10115. },
  10116. "updatetime": {
  10117. "description": "更新时间",
  10118. "type": "string"
  10119. }
  10120. }
  10121. },
  10122. "erms2.QuerySpotContractRsp": {
  10123. "type": "object",
  10124. "required": [
  10125. "spotcontractid"
  10126. ],
  10127. "properties": {
  10128. "accountid": {
  10129. "description": "资金账户ID",
  10130. "type": "integer"
  10131. },
  10132. "areauserid": {
  10133. "description": "所属机构",
  10134. "type": "integer"
  10135. },
  10136. "closedate": {
  10137. "description": "终止日期",
  10138. "type": "string"
  10139. },
  10140. "closeremark": {
  10141. "description": "结束备注",
  10142. "type": "string"
  10143. },
  10144. "closetradedate": {
  10145. "description": "完结交易日(yyyyMMdd)",
  10146. "type": "string"
  10147. },
  10148. "closetype": {
  10149. "description": "终止类型 - 1:违约 2:提前终止",
  10150. "type": "integer"
  10151. },
  10152. "contractamount": {
  10153. "description": "合同金额",
  10154. "type": "number"
  10155. },
  10156. "contractattachment": {
  10157. "description": "合同附件",
  10158. "type": "string"
  10159. },
  10160. "contractno": {
  10161. "description": "现货合同编号",
  10162. "type": "string"
  10163. },
  10164. "contractqty": {
  10165. "description": "合同数量(数值) (用于计算)",
  10166. "type": "number"
  10167. },
  10168. "contractqtychar": {
  10169. "description": "合同数量\\已订价数量 (用于显示)",
  10170. "type": "string"
  10171. },
  10172. "contractstatus": {
  10173. "description": "合同状态 - 0:未结束 1:已结束",
  10174. "type": "integer"
  10175. },
  10176. "contracttype": {
  10177. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10178. "type": "integer"
  10179. },
  10180. "customeraccountid": {
  10181. "description": "客户资金账户ID",
  10182. "type": "integer"
  10183. },
  10184. "customeruserid": {
  10185. "description": "客户ID",
  10186. "type": "integer"
  10187. },
  10188. "deliverygoodsdesc": {
  10189. "description": "品种说明",
  10190. "type": "string"
  10191. },
  10192. "deliverygoodsid": {
  10193. "description": "现货品种ID",
  10194. "type": "integer"
  10195. },
  10196. "handlestatus": {
  10197. "description": "处理状态",
  10198. "type": "integer"
  10199. },
  10200. "invoiceatt": {
  10201. "description": "发票附件",
  10202. "type": "string"
  10203. },
  10204. "invoicedatetime": {
  10205. "description": "开收票更新时间",
  10206. "type": "string"
  10207. },
  10208. "invoiceopentime": {
  10209. "description": "开票时间",
  10210. "type": "string"
  10211. },
  10212. "invoiceremark": {
  10213. "description": "发票备注",
  10214. "type": "string"
  10215. },
  10216. "invoicestatus": {
  10217. "description": "开收票状态 - 0:未开票 1:已开票",
  10218. "type": "integer"
  10219. },
  10220. "lastdate": {
  10221. "description": "交货时间",
  10222. "type": "string"
  10223. },
  10224. "marketid": {
  10225. "description": "市场ID",
  10226. "type": "integer"
  10227. },
  10228. "paydatetime": {
  10229. "description": "收付款更新时间",
  10230. "type": "string"
  10231. },
  10232. "payremark": {
  10233. "description": "收付款备注",
  10234. "type": "string"
  10235. },
  10236. "paystatus": {
  10237. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10238. "type": "integer"
  10239. },
  10240. "positionqty": {
  10241. "description": "头寸数量 - 合同数量去小数部分",
  10242. "type": "integer"
  10243. },
  10244. "producttype": {
  10245. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10246. "type": "integer"
  10247. },
  10248. "relatedqty": {
  10249. "description": "已关联数量",
  10250. "type": "number"
  10251. },
  10252. "relatedstatus": {
  10253. "description": "关联完结状态 - 0:未结束 1:已结束",
  10254. "type": "integer"
  10255. },
  10256. "remark": {
  10257. "description": "备注",
  10258. "type": "string"
  10259. },
  10260. "signdate": {
  10261. "description": "签订日期",
  10262. "type": "string"
  10263. },
  10264. "spotcontractid": {
  10265. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10266. "type": "string"
  10267. },
  10268. "spotdatetime": {
  10269. "description": "收发货更新时间",
  10270. "type": "string"
  10271. },
  10272. "spotprice": {
  10273. "description": "价格",
  10274. "type": "number"
  10275. },
  10276. "spotremark": {
  10277. "description": "收发货备注",
  10278. "type": "string"
  10279. },
  10280. "spotstatus": {
  10281. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10282. "type": "integer"
  10283. },
  10284. "tradedate": {
  10285. "description": "交易日(yyyyMMdd)",
  10286. "type": "string"
  10287. },
  10288. "userid": {
  10289. "description": "业务员用户ID",
  10290. "type": "integer"
  10291. },
  10292. "warehouseid": {
  10293. "description": "仓库ID",
  10294. "type": "integer"
  10295. },
  10296. "wrfactortypeid": {
  10297. "description": "仓单要素类型ID",
  10298. "type": "integer"
  10299. },
  10300. "wrstandardid": {
  10301. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10302. "type": "integer"
  10303. }
  10304. }
  10305. },
  10306. "erms3.AddErms2ASApplyReq": {
  10307. "type": "object",
  10308. "required": [
  10309. "asapplyid"
  10310. ],
  10311. "properties": {
  10312. "applybasis": {
  10313. "description": "申请基差",
  10314. "type": "number"
  10315. },
  10316. "applystatus": {
  10317. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10318. "type": "integer"
  10319. },
  10320. "asapplyid": {
  10321. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10322. "type": "integer"
  10323. },
  10324. "asname": {
  10325. "description": "策略名称",
  10326. "type": "string"
  10327. },
  10328. "asno": {
  10329. "description": "策略编号",
  10330. "type": "string"
  10331. },
  10332. "auditid": {
  10333. "description": "审核人",
  10334. "type": "integer"
  10335. },
  10336. "auditremark": {
  10337. "description": "审核备注",
  10338. "type": "string"
  10339. },
  10340. "audittime": {
  10341. "description": "审核时间",
  10342. "type": "string"
  10343. },
  10344. "biztype": {
  10345. "description": "业务类型 - 1:正向套利 2:反向套利",
  10346. "type": "integer"
  10347. },
  10348. "createtime": {
  10349. "description": "创建时间",
  10350. "type": "string"
  10351. },
  10352. "creatorid": {
  10353. "description": "创建人",
  10354. "type": "integer"
  10355. },
  10356. "deliverygoodsid": {
  10357. "description": "现货品种ID",
  10358. "type": "integer"
  10359. },
  10360. "futurequote": {
  10361. "description": "期货额度",
  10362. "type": "number"
  10363. },
  10364. "goodsgroupid": {
  10365. "description": "期货品种ID",
  10366. "type": "integer"
  10367. },
  10368. "marketid": {
  10369. "description": "市场ID",
  10370. "type": "integer"
  10371. },
  10372. "remark": {
  10373. "description": "备注",
  10374. "type": "string"
  10375. },
  10376. "spotquota": {
  10377. "description": "现货额度",
  10378. "type": "number"
  10379. },
  10380. "tradedate": {
  10381. "description": "交易日(yyyyMMdd)",
  10382. "type": "string"
  10383. },
  10384. "userid": {
  10385. "description": "所属机构",
  10386. "type": "integer"
  10387. }
  10388. }
  10389. },
  10390. "erms3.AddErms2SpotTradeApplyReq": {
  10391. "type": "object",
  10392. "required": [
  10393. "spottradeid"
  10394. ],
  10395. "properties": {
  10396. "applyjsondetail": {
  10397. "description": "申请明细(JSON)",
  10398. "type": "string"
  10399. },
  10400. "applystatus": {
  10401. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10402. "type": "integer"
  10403. },
  10404. "areauserid": {
  10405. "description": "所属机构",
  10406. "type": "integer"
  10407. },
  10408. "auditid": {
  10409. "description": "审核人",
  10410. "type": "integer"
  10411. },
  10412. "auditremark": {
  10413. "description": "审核备注",
  10414. "type": "string"
  10415. },
  10416. "audittime": {
  10417. "description": "审核时间",
  10418. "type": "string"
  10419. },
  10420. "createtime": {
  10421. "description": "创建时间",
  10422. "type": "string"
  10423. },
  10424. "creatorid": {
  10425. "description": "创建人",
  10426. "type": "integer"
  10427. },
  10428. "deliverygoodsid": {
  10429. "description": "现货品种ID",
  10430. "type": "integer"
  10431. },
  10432. "futureaccountid": {
  10433. "description": "期货资金账户",
  10434. "type": "integer"
  10435. },
  10436. "goodsgroupid": {
  10437. "description": "期货品种",
  10438. "type": "integer"
  10439. },
  10440. "marketid": {
  10441. "description": "市场ID",
  10442. "type": "integer"
  10443. },
  10444. "remark": {
  10445. "description": "备注",
  10446. "type": "string"
  10447. },
  10448. "spotaccountid": {
  10449. "description": "现货资金账户",
  10450. "type": "integer"
  10451. },
  10452. "spottradeid": {
  10453. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10454. "type": "integer"
  10455. },
  10456. "spottradename": {
  10457. "description": "业务名称",
  10458. "type": "string"
  10459. },
  10460. "spottradeno": {
  10461. "description": "业务编号",
  10462. "type": "string"
  10463. },
  10464. "tradedate": {
  10465. "description": "交易日(yyyyMMdd)",
  10466. "type": "string"
  10467. },
  10468. "wrstandardid": {
  10469. "description": "仓单标准ID",
  10470. "type": "integer"
  10471. }
  10472. }
  10473. },
  10474. "erms3.AddSpotContractApplyReq": {
  10475. "type": "object",
  10476. "required": [
  10477. "accountid",
  10478. "areauserid",
  10479. "contractno",
  10480. "contracttype",
  10481. "customeraccountid",
  10482. "customeruserid",
  10483. "details",
  10484. "orimargin",
  10485. "signdate"
  10486. ],
  10487. "properties": {
  10488. "accountid": {
  10489. "description": "资金账户ID",
  10490. "type": "integer"
  10491. },
  10492. "areauserid": {
  10493. "description": "所属机构",
  10494. "type": "integer"
  10495. },
  10496. "contractattachment": {
  10497. "description": "合同附件",
  10498. "type": "string"
  10499. },
  10500. "contractno": {
  10501. "description": "现货合同编号",
  10502. "type": "string"
  10503. },
  10504. "contracttype": {
  10505. "description": "现货合同类型 - 1:采购 -1:销售",
  10506. "type": "integer"
  10507. },
  10508. "creatorid": {
  10509. "description": "申请人",
  10510. "type": "integer"
  10511. },
  10512. "customeraccountid": {
  10513. "description": "客户资金账户ID",
  10514. "type": "integer"
  10515. },
  10516. "customeruserid": {
  10517. "description": "客户ID",
  10518. "type": "integer"
  10519. },
  10520. "details": {
  10521. "description": "明细",
  10522. "type": "array",
  10523. "items": {
  10524. "$ref": "#/definitions/erms3.SoptContractDetail"
  10525. }
  10526. },
  10527. "orimargin": {
  10528. "description": "初始保证金",
  10529. "type": "number"
  10530. },
  10531. "remark": {
  10532. "description": "备注",
  10533. "type": "string"
  10534. },
  10535. "signdate": {
  10536. "description": "签订日期",
  10537. "type": "string"
  10538. }
  10539. }
  10540. },
  10541. "erms3.AddSpotContractApplyRsp": {
  10542. "type": "object",
  10543. "required": [
  10544. "contractno"
  10545. ],
  10546. "properties": {
  10547. "contractno": {
  10548. "description": "现货合同编号",
  10549. "type": "string"
  10550. },
  10551. "spotcontractid": {
  10552. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10553. "type": "integer"
  10554. }
  10555. }
  10556. },
  10557. "erms3.AddUserInfoApplyReq": {
  10558. "type": "object",
  10559. "required": [
  10560. "userid"
  10561. ],
  10562. "properties": {
  10563. "accountid": {
  10564. "description": "交易系统帐号Id (加密存储)",
  10565. "type": "integer"
  10566. },
  10567. "areacode": {
  10568. "description": "机构代码",
  10569. "type": "string"
  10570. },
  10571. "areaid": {
  10572. "description": "机构Id",
  10573. "type": "integer"
  10574. },
  10575. "attachment1": {
  10576. "description": "附件1",
  10577. "type": "string"
  10578. },
  10579. "attachment2": {
  10580. "description": "附件2",
  10581. "type": "string"
  10582. },
  10583. "attachment3": {
  10584. "description": "附件3",
  10585. "type": "string"
  10586. },
  10587. "attachment4": {
  10588. "description": "附件4",
  10589. "type": "string"
  10590. },
  10591. "attachment5": {
  10592. "description": "附件5",
  10593. "type": "string"
  10594. },
  10595. "auditedby": {
  10596. "description": "审核人",
  10597. "type": "string"
  10598. },
  10599. "auditime": {
  10600. "description": "审核时间",
  10601. "type": "string"
  10602. },
  10603. "bankaccount": {
  10604. "description": "银行帐号 (加密存储)",
  10605. "type": "string"
  10606. },
  10607. "bankaccountname": {
  10608. "description": "收款人名称",
  10609. "type": "string"
  10610. },
  10611. "bankcardbackphotourl": {
  10612. "description": "银行卡背面照地址",
  10613. "type": "string"
  10614. },
  10615. "bankcardfrontphotourl": {
  10616. "description": "银行卡正面照地址",
  10617. "type": "string"
  10618. },
  10619. "bankid": {
  10620. "description": "银行编码",
  10621. "type": "string"
  10622. },
  10623. "bankname": {
  10624. "description": "银行名称",
  10625. "type": "string"
  10626. },
  10627. "bankpictureurl": {
  10628. "description": "银行卡正面地址",
  10629. "type": "string"
  10630. },
  10631. "biznature": {
  10632. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10633. "type": "integer"
  10634. },
  10635. "bizscope": {
  10636. "description": "企业经营范围(企业)",
  10637. "type": "string"
  10638. },
  10639. "biztype": {
  10640. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10641. "type": "integer"
  10642. },
  10643. "brokerid": {
  10644. "description": "经纪人ID(加密存储)",
  10645. "type": "string"
  10646. },
  10647. "cardaddress": {
  10648. "description": "证件地址 (加密存储)",
  10649. "type": "string"
  10650. },
  10651. "cardbackphotourl": {
  10652. "description": "背面证件照地址",
  10653. "type": "string"
  10654. },
  10655. "cardfrontphotourl": {
  10656. "description": "正面证件照地址",
  10657. "type": "string"
  10658. },
  10659. "cardnum": {
  10660. "description": "证件号码 (加密存储)",
  10661. "type": "string"
  10662. },
  10663. "cardtype": {
  10664. "description": "证件类型",
  10665. "type": "integer"
  10666. },
  10667. "cityid": {
  10668. "description": "市",
  10669. "type": "integer"
  10670. },
  10671. "company": {
  10672. "description": "公司(个人)",
  10673. "type": "string"
  10674. },
  10675. "contactcardbackphotourl": {
  10676. "description": "联系人证件背面图片地址",
  10677. "type": "string"
  10678. },
  10679. "contactcardfrontphotourl": {
  10680. "description": "联系人证件正面图片地址",
  10681. "type": "string"
  10682. },
  10683. "contactname": {
  10684. "description": "联系人",
  10685. "type": "string"
  10686. },
  10687. "countryid": {
  10688. "description": "国家",
  10689. "type": "integer"
  10690. },
  10691. "createtime": {
  10692. "description": "开户申请时间",
  10693. "type": "string"
  10694. },
  10695. "cusbankid": {
  10696. "description": "签约类型",
  10697. "type": "string"
  10698. },
  10699. "cusbankname": {
  10700. "description": "签约类型名称",
  10701. "type": "string"
  10702. },
  10703. "customername": {
  10704. "description": "客户名称(企业名称)",
  10705. "type": "string"
  10706. },
  10707. "districtid": {
  10708. "description": "地区",
  10709. "type": "integer"
  10710. },
  10711. "email": {
  10712. "description": "Email地址(加密存储)",
  10713. "type": "string"
  10714. },
  10715. "halfbodyphotourl": {
  10716. "description": "半身照地址",
  10717. "type": "string"
  10718. },
  10719. "headurl": {
  10720. "description": "头像地址",
  10721. "type": "string"
  10722. },
  10723. "ipaddress": {
  10724. "description": "IP地址",
  10725. "type": "string"
  10726. },
  10727. "isvalidate": {
  10728. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10729. "type": "string"
  10730. },
  10731. "legalcardbackphotourl": {
  10732. "description": "法人身份证背面照地址",
  10733. "type": "string"
  10734. },
  10735. "legalcardfrontphotourl": {
  10736. "description": "法人身份证正面照地址",
  10737. "type": "string"
  10738. },
  10739. "legalpersonname": {
  10740. "description": "法人姓名(企业)",
  10741. "type": "string"
  10742. },
  10743. "logincode": {
  10744. "description": "登录帐号 (加密存储)",
  10745. "type": "string"
  10746. },
  10747. "memberareaid": {
  10748. "description": "所属会员ID",
  10749. "type": "integer"
  10750. },
  10751. "mobile2": {
  10752. "description": "手机号码[明文-尚志]",
  10753. "type": "string"
  10754. },
  10755. "mobilephone": {
  10756. "description": "手机号码 (加密存储)",
  10757. "type": "string"
  10758. },
  10759. "modifiedby": {
  10760. "description": "修改人帐号",
  10761. "type": "integer"
  10762. },
  10763. "modifiedtime": {
  10764. "description": "修改时间",
  10765. "type": "string"
  10766. },
  10767. "nickname": {
  10768. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10769. "type": "string"
  10770. },
  10771. "openmode": {
  10772. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10773. "type": "integer"
  10774. },
  10775. "otherurl": {
  10776. "description": "其它图片地址[使用分号分隔]",
  10777. "type": "string"
  10778. },
  10779. "postalcode": {
  10780. "description": "邮政编码",
  10781. "type": "string"
  10782. },
  10783. "provinceid": {
  10784. "description": "省",
  10785. "type": "integer"
  10786. },
  10787. "proxystatementurl": {
  10788. "description": "授权委托书",
  10789. "type": "string"
  10790. },
  10791. "qq": {
  10792. "description": "QQ(加密存储",
  10793. "type": "string"
  10794. },
  10795. "referral": {
  10796. "description": "推荐人编码",
  10797. "type": "string"
  10798. },
  10799. "remark": {
  10800. "description": "备注",
  10801. "type": "string"
  10802. },
  10803. "removebeforestatus": {
  10804. "description": "REMOVEBEFORESTATUS",
  10805. "type": "integer"
  10806. },
  10807. "sex": {
  10808. "description": "性别 - 0:女 1:男",
  10809. "type": "integer"
  10810. },
  10811. "signedstatus": {
  10812. "description": "账户一号签签约状态",
  10813. "type": "integer"
  10814. },
  10815. "signpdfurl": {
  10816. "description": "签约pdf文件",
  10817. "type": "string"
  10818. },
  10819. "subbranch": {
  10820. "description": "开户支行",
  10821. "type": "string"
  10822. },
  10823. "telphone": {
  10824. "description": "联系电话(加密存储)",
  10825. "type": "string"
  10826. },
  10827. "userid": {
  10828. "description": "用户ID(自增ID)",
  10829. "type": "integer"
  10830. },
  10831. "userinfotype": {
  10832. "description": "用户信息类型 - 1:个人 2:企业",
  10833. "type": "integer"
  10834. },
  10835. "username": {
  10836. "description": "用户姓名",
  10837. "type": "string"
  10838. },
  10839. "userstate": {
  10840. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10841. "type": "integer"
  10842. },
  10843. "usertype": {
  10844. "description": "用户类型 - 1:投资者 2:机构",
  10845. "type": "integer"
  10846. },
  10847. "videourl": {
  10848. "description": "视频地址",
  10849. "type": "string"
  10850. },
  10851. "wechat": {
  10852. "description": "微信号 (加密存储)",
  10853. "type": "string"
  10854. }
  10855. }
  10856. },
  10857. "erms3.CustomerInfo": {
  10858. "type": "object",
  10859. "required": [
  10860. "userid"
  10861. ],
  10862. "properties": {
  10863. "accountids": {
  10864. "description": "资金账户ID列表",
  10865. "type": "array",
  10866. "items": {
  10867. "type": "integer"
  10868. }
  10869. },
  10870. "customername": {
  10871. "description": "名称(企业名称)",
  10872. "type": "string"
  10873. },
  10874. "mobile": {
  10875. "description": "手机号码",
  10876. "type": "string"
  10877. },
  10878. "userid": {
  10879. "description": "用户ID",
  10880. "type": "integer"
  10881. }
  10882. }
  10883. },
  10884. "erms3.ModifyUserInfoApplyReq": {
  10885. "type": "object",
  10886. "required": [
  10887. "userid"
  10888. ],
  10889. "properties": {
  10890. "accountid": {
  10891. "description": "交易系统帐号Id (加密存储)",
  10892. "type": "integer"
  10893. },
  10894. "areacode": {
  10895. "description": "机构代码",
  10896. "type": "string"
  10897. },
  10898. "areaid": {
  10899. "description": "机构Id",
  10900. "type": "integer"
  10901. },
  10902. "attachment1": {
  10903. "description": "附件1",
  10904. "type": "string"
  10905. },
  10906. "attachment2": {
  10907. "description": "附件2",
  10908. "type": "string"
  10909. },
  10910. "attachment3": {
  10911. "description": "附件3",
  10912. "type": "string"
  10913. },
  10914. "attachment4": {
  10915. "description": "附件4",
  10916. "type": "string"
  10917. },
  10918. "attachment5": {
  10919. "description": "附件5",
  10920. "type": "string"
  10921. },
  10922. "auditedby": {
  10923. "description": "审核人",
  10924. "type": "string"
  10925. },
  10926. "auditime": {
  10927. "description": "审核时间",
  10928. "type": "string"
  10929. },
  10930. "bankaccount": {
  10931. "description": "银行帐号 (加密存储)",
  10932. "type": "string"
  10933. },
  10934. "bankaccountname": {
  10935. "description": "收款人名称",
  10936. "type": "string"
  10937. },
  10938. "bankcardbackphotourl": {
  10939. "description": "银行卡背面照地址",
  10940. "type": "string"
  10941. },
  10942. "bankcardfrontphotourl": {
  10943. "description": "银行卡正面照地址",
  10944. "type": "string"
  10945. },
  10946. "bankid": {
  10947. "description": "银行编码",
  10948. "type": "string"
  10949. },
  10950. "bankname": {
  10951. "description": "银行名称",
  10952. "type": "string"
  10953. },
  10954. "bankpictureurl": {
  10955. "description": "银行卡正面地址",
  10956. "type": "string"
  10957. },
  10958. "biznature": {
  10959. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10960. "type": "integer"
  10961. },
  10962. "bizscope": {
  10963. "description": "企业经营范围(企业)",
  10964. "type": "string"
  10965. },
  10966. "biztype": {
  10967. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10968. "type": "integer"
  10969. },
  10970. "brokerid": {
  10971. "description": "经纪人ID(加密存储)",
  10972. "type": "string"
  10973. },
  10974. "cardaddress": {
  10975. "description": "证件地址 (加密存储)",
  10976. "type": "string"
  10977. },
  10978. "cardbackphotourl": {
  10979. "description": "背面证件照地址",
  10980. "type": "string"
  10981. },
  10982. "cardfrontphotourl": {
  10983. "description": "正面证件照地址",
  10984. "type": "string"
  10985. },
  10986. "cardnum": {
  10987. "description": "证件号码 (加密存储)",
  10988. "type": "string"
  10989. },
  10990. "cardtype": {
  10991. "description": "证件类型",
  10992. "type": "integer"
  10993. },
  10994. "cityid": {
  10995. "description": "市",
  10996. "type": "integer"
  10997. },
  10998. "company": {
  10999. "description": "公司(个人)",
  11000. "type": "string"
  11001. },
  11002. "contactcardbackphotourl": {
  11003. "description": "联系人证件背面图片地址",
  11004. "type": "string"
  11005. },
  11006. "contactcardfrontphotourl": {
  11007. "description": "联系人证件正面图片地址",
  11008. "type": "string"
  11009. },
  11010. "contactname": {
  11011. "description": "联系人",
  11012. "type": "string"
  11013. },
  11014. "countryid": {
  11015. "description": "国家",
  11016. "type": "integer"
  11017. },
  11018. "createtime": {
  11019. "description": "开户申请时间",
  11020. "type": "string"
  11021. },
  11022. "cusbankid": {
  11023. "description": "签约类型",
  11024. "type": "string"
  11025. },
  11026. "cusbankname": {
  11027. "description": "签约类型名称",
  11028. "type": "string"
  11029. },
  11030. "customername": {
  11031. "description": "客户名称(企业名称)",
  11032. "type": "string"
  11033. },
  11034. "districtid": {
  11035. "description": "地区",
  11036. "type": "integer"
  11037. },
  11038. "email": {
  11039. "description": "Email地址(加密存储)",
  11040. "type": "string"
  11041. },
  11042. "halfbodyphotourl": {
  11043. "description": "半身照地址",
  11044. "type": "string"
  11045. },
  11046. "headurl": {
  11047. "description": "头像地址",
  11048. "type": "string"
  11049. },
  11050. "ipaddress": {
  11051. "description": "IP地址",
  11052. "type": "string"
  11053. },
  11054. "isvalidate": {
  11055. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11056. "type": "string"
  11057. },
  11058. "legalcardbackphotourl": {
  11059. "description": "法人身份证背面照地址",
  11060. "type": "string"
  11061. },
  11062. "legalcardfrontphotourl": {
  11063. "description": "法人身份证正面照地址",
  11064. "type": "string"
  11065. },
  11066. "legalpersonname": {
  11067. "description": "法人姓名(企业)",
  11068. "type": "string"
  11069. },
  11070. "logincode": {
  11071. "description": "登录帐号 (加密存储)",
  11072. "type": "string"
  11073. },
  11074. "memberareaid": {
  11075. "description": "所属会员ID",
  11076. "type": "integer"
  11077. },
  11078. "mobile2": {
  11079. "description": "手机号码[明文-尚志]",
  11080. "type": "string"
  11081. },
  11082. "mobilephone": {
  11083. "description": "手机号码 (加密存储)",
  11084. "type": "string"
  11085. },
  11086. "modifiedby": {
  11087. "description": "修改人帐号",
  11088. "type": "integer"
  11089. },
  11090. "modifiedtime": {
  11091. "description": "修改时间",
  11092. "type": "string"
  11093. },
  11094. "nickname": {
  11095. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11096. "type": "string"
  11097. },
  11098. "openmode": {
  11099. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11100. "type": "integer"
  11101. },
  11102. "otherurl": {
  11103. "description": "其它图片地址[使用分号分隔]",
  11104. "type": "string"
  11105. },
  11106. "postalcode": {
  11107. "description": "邮政编码",
  11108. "type": "string"
  11109. },
  11110. "provinceid": {
  11111. "description": "省",
  11112. "type": "integer"
  11113. },
  11114. "proxystatementurl": {
  11115. "description": "授权委托书",
  11116. "type": "string"
  11117. },
  11118. "qq": {
  11119. "description": "QQ(加密存储",
  11120. "type": "string"
  11121. },
  11122. "referral": {
  11123. "description": "推荐人编码",
  11124. "type": "string"
  11125. },
  11126. "remark": {
  11127. "description": "备注",
  11128. "type": "string"
  11129. },
  11130. "removebeforestatus": {
  11131. "description": "REMOVEBEFORESTATUS",
  11132. "type": "integer"
  11133. },
  11134. "sex": {
  11135. "description": "性别 - 0:女 1:男",
  11136. "type": "integer"
  11137. },
  11138. "signedstatus": {
  11139. "description": "账户一号签签约状态",
  11140. "type": "integer"
  11141. },
  11142. "signpdfurl": {
  11143. "description": "签约pdf文件",
  11144. "type": "string"
  11145. },
  11146. "subbranch": {
  11147. "description": "开户支行",
  11148. "type": "string"
  11149. },
  11150. "telphone": {
  11151. "description": "联系电话(加密存储)",
  11152. "type": "string"
  11153. },
  11154. "userid": {
  11155. "description": "用户ID(自增ID)",
  11156. "type": "integer"
  11157. },
  11158. "userinfotype": {
  11159. "description": "用户信息类型 - 1:个人 2:企业",
  11160. "type": "integer"
  11161. },
  11162. "username": {
  11163. "description": "用户姓名",
  11164. "type": "string"
  11165. },
  11166. "userstate": {
  11167. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11168. "type": "integer"
  11169. },
  11170. "usertype": {
  11171. "description": "用户类型 - 1:投资者 2:机构",
  11172. "type": "integer"
  11173. },
  11174. "videourl": {
  11175. "description": "视频地址",
  11176. "type": "string"
  11177. },
  11178. "wechat": {
  11179. "description": "微信号 (加密存储)",
  11180. "type": "string"
  11181. }
  11182. }
  11183. },
  11184. "erms3.QryAuditContractRsp": {
  11185. "type": "object",
  11186. "required": [
  11187. "matchcustomername",
  11188. "spotcontractid"
  11189. ],
  11190. "properties": {
  11191. "accountid": {
  11192. "description": "交易员ID",
  11193. "type": "string"
  11194. },
  11195. "applystatus": {
  11196. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11197. "type": "integer"
  11198. },
  11199. "curdeliveryqty": {
  11200. "description": "未交收量",
  11201. "type": "integer"
  11202. },
  11203. "customername": {
  11204. "description": "采购方ID",
  11205. "type": "string"
  11206. },
  11207. "deliverygoodsid": {
  11208. "description": "品种ID",
  11209. "type": "string"
  11210. },
  11211. "deliveryqty": {
  11212. "description": "交收量",
  11213. "type": "integer"
  11214. },
  11215. "enumdicname": {
  11216. "description": "单位名称",
  11217. "type": "string"
  11218. },
  11219. "matchaccountid": {
  11220. "description": "业务员ID",
  11221. "type": "string"
  11222. },
  11223. "matchcustomername": {
  11224. "description": "销售方ID",
  11225. "type": "string"
  11226. },
  11227. "pricedqty": {
  11228. "description": "定价量",
  11229. "type": "number"
  11230. },
  11231. "signdate": {
  11232. "description": "签订日期",
  11233. "type": "string"
  11234. },
  11235. "spotcontractid": {
  11236. "description": "合同ID",
  11237. "type": "string"
  11238. },
  11239. "totaldqty": {
  11240. "description": "合同量",
  11241. "type": "number"
  11242. },
  11243. "unpricedqty": {
  11244. "description": "未定价量",
  11245. "type": "number"
  11246. },
  11247. "wrstandardname": {
  11248. "description": "商品名称",
  11249. "type": "string"
  11250. }
  11251. }
  11252. },
  11253. "erms3.QryPendingBizRsp": {
  11254. "type": "object",
  11255. "properties": {
  11256. "accountid": {
  11257. "description": "现货账户",
  11258. "type": "string"
  11259. },
  11260. "areaname": {
  11261. "description": "所属部门",
  11262. "type": "string"
  11263. },
  11264. "bizid": {
  11265. "description": "业务ID",
  11266. "type": "string"
  11267. },
  11268. "bizname": {
  11269. "description": "业务名称",
  11270. "type": "string"
  11271. },
  11272. "status": {
  11273. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11274. "type": "integer"
  11275. },
  11276. "type": {
  11277. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11278. "type": "integer"
  11279. }
  11280. }
  11281. },
  11282. "erms3.QueryBusinessInfoRsp": {
  11283. "type": "object",
  11284. "properties": {
  11285. "businessid": {
  11286. "description": "业务ID.",
  11287. "type": "integer"
  11288. },
  11289. "buyamount": {
  11290. "description": "采购额.",
  11291. "type": "number"
  11292. },
  11293. "buyqty": {
  11294. "description": "采购量.",
  11295. "type": "string"
  11296. },
  11297. "futurepl": {
  11298. "description": "期货盈亏.",
  11299. "type": "number"
  11300. },
  11301. "futureqty": {
  11302. "description": "期货敞口.",
  11303. "type": "string"
  11304. },
  11305. "goodsid": {
  11306. "description": "商品名称/商品代码.",
  11307. "type": "string"
  11308. },
  11309. "hedgingqty": {
  11310. "description": "套保量.",
  11311. "type": "string"
  11312. },
  11313. "sellamount": {
  11314. "description": "销售额.",
  11315. "type": "number"
  11316. },
  11317. "sellqty": {
  11318. "description": "销售量.",
  11319. "type": "string"
  11320. },
  11321. "spotmarketvalue": {
  11322. "description": "现货市值.",
  11323. "type": "number"
  11324. },
  11325. "spotpl": {
  11326. "description": "浮动权益.",
  11327. "type": "number"
  11328. },
  11329. "spotqty": {
  11330. "description": "现货量.",
  11331. "type": "string"
  11332. },
  11333. "statu": {
  11334. "description": "状态,0-未结束 1-已结束.",
  11335. "type": "integer"
  11336. },
  11337. "totalpl": {
  11338. "description": "总盈亏.",
  11339. "type": "number"
  11340. },
  11341. "totalqty": {
  11342. "description": "总敞口.",
  11343. "type": "string"
  11344. },
  11345. "type": {
  11346. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11347. "type": "integer"
  11348. }
  11349. }
  11350. },
  11351. "erms3.QuerySpotContractAppleFormRsp": {
  11352. "type": "object",
  11353. "properties": {
  11354. "goodses": {
  11355. "description": "合约列表",
  11356. "type": "array",
  11357. "items": {
  11358. "$ref": "#/definitions/models.GoodsIDAndName"
  11359. }
  11360. },
  11361. "oppositeusers": {
  11362. "description": "对方账号列表",
  11363. "type": "array",
  11364. "items": {
  11365. "$ref": "#/definitions/erms3.CustomerInfo"
  11366. }
  11367. },
  11368. "ouruser": {
  11369. "description": "我方账号",
  11370. "$ref": "#/definitions/erms3.CustomerInfo"
  11371. },
  11372. "warehouseinfos": {
  11373. "description": "仓库信息列表",
  11374. "type": "array",
  11375. "items": {
  11376. "$ref": "#/definitions/models.Warehouseinfo"
  11377. }
  11378. },
  11379. "wrstandards": {
  11380. "description": "仓单标准列表",
  11381. "type": "array",
  11382. "items": {
  11383. "$ref": "#/definitions/models.WRStandardInfo"
  11384. }
  11385. }
  11386. }
  11387. },
  11388. "erms3.QuerySpotContractInfoRsp": {
  11389. "type": "object",
  11390. "properties": {
  11391. "accountid": {
  11392. "description": "表示交易员ID.",
  11393. "type": "integer"
  11394. },
  11395. "curdeliveryqty": {
  11396. "description": "表示未交收量.",
  11397. "type": "number"
  11398. },
  11399. "customername": {
  11400. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11401. "type": "string"
  11402. },
  11403. "deliverygoodsid": {
  11404. "description": "表示品种ID.",
  11405. "type": "string"
  11406. },
  11407. "deliveryqty": {
  11408. "description": "表示交收量.",
  11409. "type": "number"
  11410. },
  11411. "matchaccountid": {
  11412. "description": "表示业务员ID.",
  11413. "type": "integer"
  11414. },
  11415. "matchcustomername": {
  11416. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11417. "type": "string"
  11418. },
  11419. "priceqty": {
  11420. "description": "表示定价量.",
  11421. "type": "number"
  11422. },
  11423. "relatedbizid": {
  11424. "description": "表示业务ID.",
  11425. "type": "string"
  11426. },
  11427. "signdate": {
  11428. "description": "表示签订日期.",
  11429. "type": "string"
  11430. },
  11431. "spotcontractid": {
  11432. "description": "合同ID",
  11433. "type": "string"
  11434. },
  11435. "status": {
  11436. "description": "表示状态,0-履约中 1-已完成.",
  11437. "type": "integer"
  11438. },
  11439. "totalqty": {
  11440. "description": "表示合同量.",
  11441. "type": "number"
  11442. },
  11443. "unpricedqty": {
  11444. "description": "表示未定价量.",
  11445. "type": "number"
  11446. },
  11447. "wrstandardname": {
  11448. "description": "表示商品ID.",
  11449. "type": "string"
  11450. }
  11451. }
  11452. },
  11453. "erms3.QueryUserInfoAppliesRsp": {
  11454. "type": "object",
  11455. "required": [
  11456. "userid"
  11457. ],
  11458. "properties": {
  11459. "biznature": {
  11460. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11461. "type": "integer"
  11462. },
  11463. "contactname": {
  11464. "description": "联系人",
  11465. "type": "string"
  11466. },
  11467. "createtime": {
  11468. "description": "开户申请时间",
  11469. "type": "string"
  11470. },
  11471. "userid": {
  11472. "description": "用户ID(自增ID)",
  11473. "type": "integer"
  11474. },
  11475. "userinfotype": {
  11476. "description": "用户信息类型 - 1:个人 2:企业",
  11477. "type": "integer"
  11478. },
  11479. "username": {
  11480. "description": "用户姓名",
  11481. "type": "string"
  11482. },
  11483. "userstate": {
  11484. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11485. "type": "integer"
  11486. }
  11487. }
  11488. },
  11489. "erms3.QueryUserInfosRsp": {
  11490. "type": "object",
  11491. "required": [
  11492. "userid"
  11493. ],
  11494. "properties": {
  11495. "biznature": {
  11496. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11497. "type": "integer"
  11498. },
  11499. "contactname": {
  11500. "description": "联系人",
  11501. "type": "string"
  11502. },
  11503. "customername": {
  11504. "description": "客户名称(企业名称)",
  11505. "type": "string"
  11506. },
  11507. "userid": {
  11508. "description": "用户ID",
  11509. "type": "integer"
  11510. },
  11511. "userinfotype": {
  11512. "description": "用户信息类型 - 1:个人 2:企业",
  11513. "type": "integer"
  11514. },
  11515. "userstatus": {
  11516. "description": "用户状态 - 1:正常 2:注销",
  11517. "type": "integer"
  11518. }
  11519. }
  11520. },
  11521. "erms3.SoptContractDetail": {
  11522. "type": "object",
  11523. "required": [
  11524. "deliverygoodsid",
  11525. "producttype",
  11526. "unitname",
  11527. "warehouseid",
  11528. "wrstandardid",
  11529. "wrstandardname"
  11530. ],
  11531. "properties": {
  11532. "deliverygoodsdesc": {
  11533. "description": "现货品种说明",
  11534. "type": "string"
  11535. },
  11536. "deliverygoodsid": {
  11537. "description": "现货品种ID",
  11538. "type": "integer"
  11539. },
  11540. "deliverygoodsname": {
  11541. "description": "现货品种名称",
  11542. "type": "string"
  11543. },
  11544. "pointdesc": {
  11545. "description": "点价描述",
  11546. "type": "string"
  11547. },
  11548. "producttype": {
  11549. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11550. "type": "integer"
  11551. },
  11552. "producttypename": {
  11553. "description": "产品类型名称",
  11554. "type": "string"
  11555. },
  11556. "spotPointOrderVoList": {
  11557. "description": "点价列表",
  11558. "type": "array",
  11559. "items": {
  11560. "$ref": "#/definitions/erms3.SpotPointOrder"
  11561. }
  11562. },
  11563. "spotPriceOrderList": {
  11564. "description": "定价列表",
  11565. "type": "array",
  11566. "items": {
  11567. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11568. }
  11569. },
  11570. "unitname": {
  11571. "description": "单位名称",
  11572. "type": "string"
  11573. },
  11574. "warehouseid": {
  11575. "description": "仓库ID",
  11576. "type": "integer"
  11577. },
  11578. "warehousename": {
  11579. "description": "仓库名称",
  11580. "type": "string"
  11581. },
  11582. "wrstandardid": {
  11583. "description": "交易标的ID",
  11584. "type": "integer"
  11585. },
  11586. "wrstandardname": {
  11587. "description": "交易标的名称",
  11588. "type": "string"
  11589. }
  11590. }
  11591. },
  11592. "erms3.SpotPointOrder": {
  11593. "type": "object",
  11594. "required": [
  11595. "basic",
  11596. "goodsid",
  11597. "qty"
  11598. ],
  11599. "properties": {
  11600. "basic": {
  11601. "description": "基差",
  11602. "type": "number"
  11603. },
  11604. "deliveryenddate": {
  11605. "description": "交收结束日期",
  11606. "type": "string"
  11607. },
  11608. "deliverystartdate": {
  11609. "description": "交收开始日期",
  11610. "type": "string"
  11611. },
  11612. "enddate": {
  11613. "description": "点价结束日期",
  11614. "type": "string"
  11615. },
  11616. "goodsid": {
  11617. "description": "商品ID",
  11618. "type": "integer"
  11619. },
  11620. "goodsname": {
  11621. "description": "商品名称",
  11622. "type": "string"
  11623. },
  11624. "qty": {
  11625. "description": "数量",
  11626. "type": "number"
  11627. },
  11628. "startdate": {
  11629. "description": "点价开始日期",
  11630. "type": "string"
  11631. }
  11632. }
  11633. },
  11634. "erms3.SpotPriceOrder": {
  11635. "type": "object",
  11636. "required": [
  11637. "amount",
  11638. "price",
  11639. "qty"
  11640. ],
  11641. "properties": {
  11642. "amount": {
  11643. "description": "金额",
  11644. "type": "number"
  11645. },
  11646. "deliveryenddate": {
  11647. "description": "交收结束日期",
  11648. "type": "string"
  11649. },
  11650. "deliverystartdate": {
  11651. "description": "交收开始日期",
  11652. "type": "string"
  11653. },
  11654. "price": {
  11655. "description": "价格",
  11656. "type": "number"
  11657. },
  11658. "qty": {
  11659. "description": "数量",
  11660. "type": "number"
  11661. }
  11662. }
  11663. },
  11664. "hsby.GetHsbyMyCountRsp": {
  11665. "type": "object",
  11666. "properties": {
  11667. "myCouponCount": {
  11668. "description": "我的优惠卷数量",
  11669. "type": "integer"
  11670. },
  11671. "myOrderDetailListingCount": {
  11672. "description": "我的订单求购中数量",
  11673. "type": "integer"
  11674. },
  11675. "myOrderDetailPreCount": {
  11676. "description": "我的订单抢购中数量",
  11677. "type": "integer"
  11678. },
  11679. "myPackageUnReceiveCount": {
  11680. "description": "我的包裹待收货数量",
  11681. "type": "integer"
  11682. },
  11683. "myPackageUnSendCount": {
  11684. "description": "我的包裹待发货数量",
  11685. "type": "integer"
  11686. },
  11687. "myPayOrderCount": {
  11688. "description": "我的订单待付款数量",
  11689. "type": "integer"
  11690. }
  11691. }
  11692. },
  11693. "hsby.QueryProvincesAndCitiesRsp": {
  11694. "type": "object",
  11695. "properties": {
  11696. "cities": {
  11697. "description": "市",
  11698. "type": "array",
  11699. "items": {
  11700. "$ref": "#/definitions/models.Division"
  11701. }
  11702. },
  11703. "province": {
  11704. "description": "省",
  11705. "$ref": "#/definitions/models.Division"
  11706. }
  11707. }
  11708. },
  11709. "models.Clientfixedadconfig": {
  11710. "type": "object",
  11711. "required": [
  11712. "adsort",
  11713. "adtype"
  11714. ],
  11715. "properties": {
  11716. "adsort": {
  11717. "description": "排序",
  11718. "type": "integer"
  11719. },
  11720. "adtype": {
  11721. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11722. "type": "integer"
  11723. },
  11724. "areauserid": {
  11725. "description": "所属机构ID",
  11726. "type": "integer"
  11727. },
  11728. "createdate": {
  11729. "description": "创建时间",
  11730. "type": "string"
  11731. },
  11732. "creatorid": {
  11733. "description": "创建人",
  11734. "type": "integer"
  11735. },
  11736. "imagepath": {
  11737. "description": "图片",
  11738. "type": "string"
  11739. },
  11740. "isshow": {
  11741. "description": "是否展示 - 0:不展示 1:展示",
  11742. "type": "integer"
  11743. },
  11744. "modifierid": {
  11745. "description": "操作人",
  11746. "type": "integer"
  11747. },
  11748. "recsize": {
  11749. "description": "推荐尺寸",
  11750. "type": "string"
  11751. },
  11752. "title": {
  11753. "description": "标题",
  11754. "type": "string"
  11755. },
  11756. "updatedate": {
  11757. "description": "更新时间",
  11758. "type": "string"
  11759. },
  11760. "urlcontent": {
  11761. "description": "链接(地址或商品ID)",
  11762. "type": "string"
  11763. },
  11764. "urltype": {
  11765. "description": "链接类型 - 1:直接地址 2:商品ID",
  11766. "type": "integer"
  11767. }
  11768. }
  11769. },
  11770. "models.Division": {
  11771. "type": "object",
  11772. "required": [
  11773. "autoid",
  11774. "divisioncode"
  11775. ],
  11776. "properties": {
  11777. "autoid": {
  11778. "description": "自增ID",
  11779. "type": "integer"
  11780. },
  11781. "divisioncode": {
  11782. "description": "行政代码",
  11783. "type": "string"
  11784. },
  11785. "divisionlevel": {
  11786. "description": "行政级别",
  11787. "type": "string"
  11788. },
  11789. "divisionname": {
  11790. "description": "行政名称",
  11791. "type": "string"
  11792. },
  11793. "modifierid": {
  11794. "description": "修改人",
  11795. "type": "integer"
  11796. },
  11797. "modifytime": {
  11798. "description": "修改时间",
  11799. "type": "string"
  11800. },
  11801. "parentcode": {
  11802. "description": "上级行政代码",
  11803. "type": "string"
  11804. },
  11805. "pathname": {
  11806. "description": "路径名称",
  11807. "type": "string"
  11808. },
  11809. "postcode": {
  11810. "description": "邮政编码",
  11811. "type": "string"
  11812. },
  11813. "separablename": {
  11814. "description": "可拆分的全称",
  11815. "type": "string"
  11816. },
  11817. "shortcode": {
  11818. "description": "地区简码",
  11819. "type": "string"
  11820. }
  11821. }
  11822. },
  11823. "models.Enumdicitem": {
  11824. "type": "object",
  11825. "required": [
  11826. "autoid",
  11827. "enumdiccode",
  11828. "enumdicid",
  11829. "enumitemname"
  11830. ],
  11831. "properties": {
  11832. "autoid": {
  11833. "description": "自增ID",
  11834. "type": "integer"
  11835. },
  11836. "bankmappedvalue": {
  11837. "description": "银行服务对应值",
  11838. "type": "string"
  11839. },
  11840. "enumdiccode": {
  11841. "description": "所属枚举代码",
  11842. "type": "string"
  11843. },
  11844. "enumdicid": {
  11845. "description": "所属枚举ID",
  11846. "type": "integer"
  11847. },
  11848. "enumdicname": {
  11849. "description": "枚举项名称",
  11850. "type": "string"
  11851. },
  11852. "enumitemname": {
  11853. "description": "枚举项值",
  11854. "type": "integer"
  11855. },
  11856. "enumitemstatus": {
  11857. "description": "枚举项状态 - 1.启用 2.不启用",
  11858. "type": "integer"
  11859. },
  11860. "enumitemvalue": {
  11861. "description": "通用值 - [币种通用简写]",
  11862. "type": "string"
  11863. },
  11864. "param1": {
  11865. "description": "参数1[币种:币种小数位]",
  11866. "type": "string"
  11867. },
  11868. "param2": {
  11869. "description": "参数1[币种:币种显示单位]",
  11870. "type": "string"
  11871. },
  11872. "remark": {
  11873. "description": "备注",
  11874. "type": "string"
  11875. }
  11876. }
  11877. },
  11878. "models.ErmcpHisExposure": {
  11879. "type": "object",
  11880. "properties": {
  11881. "needhedgeexposoure": {
  11882. "description": "应套保敞口",
  11883. "type": "number"
  11884. },
  11885. "reckondate": {
  11886. "description": "日照时期(yyyyMMdd)",
  11887. "type": "string"
  11888. },
  11889. "totalexposure": {
  11890. "description": "总敞口",
  11891. "type": "number"
  11892. }
  11893. }
  11894. },
  11895. "models.ErmcpMiddleGoodsModel": {
  11896. "type": "object",
  11897. "properties": {
  11898. "areauserid": {
  11899. "description": "机构用户ID",
  11900. "type": "integer"
  11901. },
  11902. "enumdicname": {
  11903. "description": "单位名称",
  11904. "type": "string"
  11905. },
  11906. "evaluateratio": {
  11907. "description": "估价系数",
  11908. "type": "number"
  11909. },
  11910. "goodsgroupid": {
  11911. "description": "关联期货品种ID",
  11912. "type": "integer"
  11913. },
  11914. "isvalid": {
  11915. "description": "状态 0-无效(停用) 1-有效(正常)",
  11916. "type": "integer"
  11917. },
  11918. "middlegoodscode": {
  11919. "description": "套保品种代码",
  11920. "type": "string"
  11921. },
  11922. "middlegoodsid": {
  11923. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11924. "type": "integer"
  11925. },
  11926. "middlegoodsname": {
  11927. "description": "套保品种名称",
  11928. "type": "string"
  11929. },
  11930. "modifytime": {
  11931. "description": "修改时间",
  11932. "type": "string"
  11933. },
  11934. "needhedgeratio": {
  11935. "description": "套保比率",
  11936. "type": "number"
  11937. },
  11938. "qtydecimalplace": {
  11939. "description": "数量小数位",
  11940. "type": "integer"
  11941. },
  11942. "relatedgoodsid": {
  11943. "description": "关联交易商品ID",
  11944. "type": "integer"
  11945. },
  11946. "relatedgoodstype": {
  11947. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11948. "type": "integer"
  11949. }
  11950. }
  11951. },
  11952. "models.ErmcpReportDayFR": {
  11953. "type": "object",
  11954. "properties": {
  11955. "areauserid": {
  11956. "description": "所属机构",
  11957. "type": "integer"
  11958. },
  11959. "collectinvoiceamount": {
  11960. "description": "今日开票金额",
  11961. "type": "number"
  11962. },
  11963. "collectinvoicecount": {
  11964. "description": "今日开票笔数",
  11965. "type": "integer"
  11966. },
  11967. "collectmoneyamount": {
  11968. "description": "今日收款金额",
  11969. "type": "number"
  11970. },
  11971. "collectmoneycount": {
  11972. "description": "今日收款笔数",
  11973. "type": "integer"
  11974. },
  11975. "payinvoiceamount": {
  11976. "description": "今日收票金额",
  11977. "type": "number"
  11978. },
  11979. "payinvoicecount": {
  11980. "description": "今日收票笔数",
  11981. "type": "integer"
  11982. },
  11983. "paymoneyamount": {
  11984. "description": "今日付款金额",
  11985. "type": "number"
  11986. },
  11987. "paymoneycount": {
  11988. "description": "今日付款笔数",
  11989. "type": "integer"
  11990. },
  11991. "reckondate": {
  11992. "description": "日照时期(yyyyMMdd)",
  11993. "type": "string"
  11994. },
  11995. "updatetime": {
  11996. "description": "更新时间",
  11997. "type": "string"
  11998. }
  11999. }
  12000. },
  12001. "models.ErmcpWrstandard": {
  12002. "type": "object",
  12003. "properties": {
  12004. "areauserid": {
  12005. "description": "所属机构",
  12006. "type": "integer"
  12007. },
  12008. "createtime": {
  12009. "description": "创建时间",
  12010. "type": "string"
  12011. },
  12012. "creatorid": {
  12013. "description": "创建人",
  12014. "type": "integer"
  12015. },
  12016. "deliverygoodsid": {
  12017. "description": "品种ID",
  12018. "type": "integer"
  12019. },
  12020. "enumdicname": {
  12021. "description": "单位名称",
  12022. "type": "string"
  12023. },
  12024. "isvalid": {
  12025. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12026. "type": "integer"
  12027. },
  12028. "minivalue": {
  12029. "description": "最小变动值",
  12030. "type": "integer"
  12031. },
  12032. "minivaluedp": {
  12033. "description": "最小变动值小数位",
  12034. "type": "integer"
  12035. },
  12036. "realminivalue": {
  12037. "description": "实际最小变动值",
  12038. "type": "integer"
  12039. },
  12040. "realminivaluedp": {
  12041. "description": "实际最小变动值小数位",
  12042. "type": "integer"
  12043. },
  12044. "remark": {
  12045. "description": "备注",
  12046. "type": "string"
  12047. },
  12048. "unitid": {
  12049. "description": "单位ID",
  12050. "type": "integer"
  12051. },
  12052. "updatetime": {
  12053. "description": "更新时间",
  12054. "type": "string"
  12055. },
  12056. "wrstandardcode": {
  12057. "description": "现货商品代码",
  12058. "type": "string"
  12059. },
  12060. "wrstandardid": {
  12061. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12062. "type": "integer"
  12063. },
  12064. "wrstandardname": {
  12065. "description": "现货商品名称",
  12066. "type": "string"
  12067. }
  12068. }
  12069. },
  12070. "models.Goods": {
  12071. "type": "object",
  12072. "required": [
  12073. "goodscode",
  12074. "goodsid",
  12075. "goodsname",
  12076. "marketid"
  12077. ],
  12078. "properties": {
  12079. "agreeunit": {
  12080. "description": "合约单位",
  12081. "type": "number"
  12082. },
  12083. "auditaccountid": {
  12084. "description": "审核操作员账号",
  12085. "type": "integer"
  12086. },
  12087. "audittime": {
  12088. "description": "审核时间",
  12089. "type": "string"
  12090. },
  12091. "cancelaccountid": {
  12092. "description": "注销操作员账号",
  12093. "type": "integer"
  12094. },
  12095. "canceltime": {
  12096. "description": "注销时间",
  12097. "type": "string"
  12098. },
  12099. "closepricemode": {
  12100. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12101. "type": "integer"
  12102. },
  12103. "closepriceparam": {
  12104. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12105. "type": "number"
  12106. },
  12107. "createtime": {
  12108. "description": "创建时间",
  12109. "type": "string"
  12110. },
  12111. "creatorid": {
  12112. "description": "创建人",
  12113. "type": "integer"
  12114. },
  12115. "currencyid": {
  12116. "description": "报价货币ID",
  12117. "type": "integer"
  12118. },
  12119. "cutmode": {
  12120. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12121. "type": "integer"
  12122. },
  12123. "decimalplace": {
  12124. "description": "报价小数位",
  12125. "type": "integer"
  12126. },
  12127. "delistingdate": {
  12128. "description": "商品退市时间(状态:退市) -- 已作废",
  12129. "type": "string"
  12130. },
  12131. "delistingmode": {
  12132. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12133. "type": "integer"
  12134. },
  12135. "deliveryflag": {
  12136. "description": "交割标志 - 0:不可交割 1:可交割",
  12137. "type": "integer"
  12138. },
  12139. "forceclosemode": {
  12140. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12141. "type": "integer"
  12142. },
  12143. "forceclosevalue": {
  12144. "description": "定期强平参数 [收益权]",
  12145. "type": "integer"
  12146. },
  12147. "goodscode": {
  12148. "description": "商品代码(内部)",
  12149. "type": "string"
  12150. },
  12151. "goodscurrencyid": {
  12152. "description": "合约货币ID",
  12153. "type": "integer"
  12154. },
  12155. "goodsgroupid": {
  12156. "description": "所属商品组ID",
  12157. "type": "integer"
  12158. },
  12159. "goodsid": {
  12160. "description": "商品ID(自增ID SEQ_GOODS)",
  12161. "type": "integer"
  12162. },
  12163. "goodsname": {
  12164. "description": "商品名称",
  12165. "type": "string"
  12166. },
  12167. "goodsquotetype": {
  12168. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12169. "type": "integer"
  12170. },
  12171. "goodsstatus": {
  12172. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12173. "type": "integer"
  12174. },
  12175. "goodstradetype": {
  12176. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12177. "type": "integer"
  12178. },
  12179. "goodunitid": {
  12180. "description": "报价单位ID",
  12181. "type": "integer"
  12182. },
  12183. "hasquoter": {
  12184. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12185. "type": "integer"
  12186. },
  12187. "hqprotecttime": {
  12188. "description": "行情保护时间(秒)",
  12189. "type": "integer"
  12190. },
  12191. "innerdealmode": {
  12192. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12193. "type": "integer"
  12194. },
  12195. "isbuylimited": {
  12196. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12197. "type": "integer"
  12198. },
  12199. "lasttradedate": {
  12200. "description": "最后交易日期(状态:待退市)",
  12201. "type": "string"
  12202. },
  12203. "listingdate": {
  12204. "description": "交易开始日期",
  12205. "type": "string"
  12206. },
  12207. "marketid": {
  12208. "description": "所属市场ID",
  12209. "type": "integer"
  12210. },
  12211. "modifierid": {
  12212. "description": "修改人",
  12213. "type": "integer"
  12214. },
  12215. "modifystatus": {
  12216. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12217. "type": "integer"
  12218. },
  12219. "modifytime": {
  12220. "description": "修改时间",
  12221. "type": "string"
  12222. },
  12223. "outerdealmode": {
  12224. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12225. "type": "integer"
  12226. },
  12227. "outgoodscode": {
  12228. "description": "商品代码(外部)",
  12229. "type": "string"
  12230. },
  12231. "qtydecimalplace": {
  12232. "description": "成交量小数位",
  12233. "type": "integer"
  12234. },
  12235. "quotegear": {
  12236. "description": "行情档位(1-10)",
  12237. "type": "integer"
  12238. },
  12239. "quoteminunit": {
  12240. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12241. "type": "integer"
  12242. },
  12243. "quoteshowtype": {
  12244. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12245. "type": "integer"
  12246. },
  12247. "quoteshowtypeinterval": {
  12248. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12249. "type": "integer"
  12250. },
  12251. "remark": {
  12252. "description": "备注",
  12253. "type": "string"
  12254. }
  12255. }
  12256. },
  12257. "models.GoodsBrand": {
  12258. "type": "object",
  12259. "properties": {
  12260. "brandid": {
  12261. "description": "品牌ID",
  12262. "type": "integer"
  12263. },
  12264. "brandname": {
  12265. "description": "品牌名称",
  12266. "type": "string"
  12267. },
  12268. "isvalid": {
  12269. "description": "是否有效 - 0:无效 1:有效",
  12270. "type": "integer"
  12271. }
  12272. }
  12273. },
  12274. "models.GoodsGroupConvert": {
  12275. "type": "object",
  12276. "properties": {
  12277. "convertratio": {
  12278. "description": "折算系数",
  12279. "type": "number"
  12280. },
  12281. "dstgoodsgroupid": {
  12282. "description": "目标期货品种ID",
  12283. "type": "integer"
  12284. },
  12285. "goodsgroupname": {
  12286. "description": "期货品种名称",
  12287. "type": "string"
  12288. },
  12289. "outergroupcode": {
  12290. "description": "期货品种代码",
  12291. "type": "string"
  12292. },
  12293. "srcgoodsgroupid": {
  12294. "description": "源期货品种ID",
  12295. "type": "integer"
  12296. }
  12297. }
  12298. },
  12299. "models.GoodsIDAndName": {
  12300. "type": "object",
  12301. "required": [
  12302. "goodscode",
  12303. "goodsid",
  12304. "goodsname",
  12305. "marketid"
  12306. ],
  12307. "properties": {
  12308. "goodscode": {
  12309. "description": "商品代码(内部)",
  12310. "type": "string"
  12311. },
  12312. "goodsid": {
  12313. "description": "商品ID(自增ID SEQ_GOODS)",
  12314. "type": "integer"
  12315. },
  12316. "goodsname": {
  12317. "description": "商品名称",
  12318. "type": "string"
  12319. },
  12320. "marketid": {
  12321. "description": "所属市场ID",
  12322. "type": "integer"
  12323. }
  12324. }
  12325. },
  12326. "models.GoodsTypeModel": {
  12327. "type": "object",
  12328. "properties": {
  12329. "modelid": {
  12330. "description": "型号ID",
  12331. "type": "integer"
  12332. },
  12333. "modelname": {
  12334. "description": "型号名称",
  12335. "type": "string"
  12336. },
  12337. "updatetime": {
  12338. "description": "更新时间",
  12339. "type": "string"
  12340. }
  12341. }
  12342. },
  12343. "models.HsbyBuyMyPayOrder": {
  12344. "type": "object",
  12345. "required": [
  12346. "goodscode",
  12347. "goodsname",
  12348. "tradeid",
  12349. "trademode"
  12350. ],
  12351. "properties": {
  12352. "agreeunit": {
  12353. "description": "合约单位",
  12354. "type": "number"
  12355. },
  12356. "buyaccountid": {
  12357. "description": "买方账号ID[报价币种]",
  12358. "type": "integer"
  12359. },
  12360. "buyorderid": {
  12361. "description": "买方委托单号",
  12362. "type": "string"
  12363. },
  12364. "createtime": {
  12365. "description": "创建时间",
  12366. "type": "string"
  12367. },
  12368. "currencysign": {
  12369. "description": "货币符号",
  12370. "type": "string"
  12371. },
  12372. "decimalplace": {
  12373. "description": "报价小数位",
  12374. "type": "integer"
  12375. },
  12376. "goodscode": {
  12377. "description": "商品代码(内部)",
  12378. "type": "string"
  12379. },
  12380. "goodsid": {
  12381. "description": "商品ID",
  12382. "type": "integer"
  12383. },
  12384. "goodsname": {
  12385. "description": "商品名称",
  12386. "type": "string"
  12387. },
  12388. "marketid": {
  12389. "description": "市场ID",
  12390. "type": "integer"
  12391. },
  12392. "offamount": {
  12393. "description": "优惠金额",
  12394. "type": "number"
  12395. },
  12396. "payamount": {
  12397. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12398. "type": "number"
  12399. },
  12400. "payflag": {
  12401. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12402. "type": "integer"
  12403. },
  12404. "paylimitedtime": {
  12405. "description": "支付期限",
  12406. "type": "string"
  12407. },
  12408. "paytime": {
  12409. "description": "付款时间",
  12410. "type": "string"
  12411. },
  12412. "picurls1": {
  12413. "description": "预售商品介绍图片[多张用逗号分隔]",
  12414. "type": "string"
  12415. },
  12416. "picurls2": {
  12417. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12418. "type": "string"
  12419. },
  12420. "sellaccountid": {
  12421. "description": "卖方账号ID[报价币种]",
  12422. "type": "integer"
  12423. },
  12424. "sellorderid": {
  12425. "description": "卖方委托单号",
  12426. "type": "string"
  12427. },
  12428. "tradeamount": {
  12429. "description": "成交金额",
  12430. "type": "number"
  12431. },
  12432. "tradecharge": {
  12433. "description": "成交手续费(买方)",
  12434. "type": "number"
  12435. },
  12436. "tradedate": {
  12437. "description": "交易日(yyyyMMdd)",
  12438. "type": "string"
  12439. },
  12440. "tradeid": {
  12441. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12442. "type": "string"
  12443. },
  12444. "trademode": {
  12445. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12446. "type": "integer"
  12447. },
  12448. "tradeprice": {
  12449. "description": "成交价格",
  12450. "type": "number"
  12451. },
  12452. "tradeqty": {
  12453. "description": "成交数量",
  12454. "type": "integer"
  12455. },
  12456. "vendorname1": {
  12457. "description": "预售商品供应商名称",
  12458. "type": "string"
  12459. },
  12460. "vendorname2": {
  12461. "description": "挂牌商品供应商名称",
  12462. "type": "string"
  12463. }
  12464. }
  12465. },
  12466. "models.HsbyBuyMyTradeDetail": {
  12467. "type": "object",
  12468. "required": [
  12469. "accountid",
  12470. "buyorsell",
  12471. "goodscode",
  12472. "goodsid",
  12473. "goodsname",
  12474. "marketid",
  12475. "orderid",
  12476. "qty",
  12477. "time",
  12478. "trademode"
  12479. ],
  12480. "properties": {
  12481. "accountid": {
  12482. "description": "账户ID[报价币种]",
  12483. "type": "integer"
  12484. },
  12485. "agreeunit": {
  12486. "description": "合约单位",
  12487. "type": "number"
  12488. },
  12489. "amount": {
  12490. "description": "金额 = 价格 * 数量 * 合约单位",
  12491. "type": "number"
  12492. },
  12493. "buyorsell": {
  12494. "description": "买卖 - 0:买 1:卖",
  12495. "type": "integer"
  12496. },
  12497. "currencysign": {
  12498. "description": "货币符号",
  12499. "type": "string"
  12500. },
  12501. "decimalplace": {
  12502. "description": "报价小数位",
  12503. "type": "integer"
  12504. },
  12505. "goodscode": {
  12506. "description": "商品代码(内部)",
  12507. "type": "string"
  12508. },
  12509. "goodsid": {
  12510. "description": "商品ID",
  12511. "type": "integer"
  12512. },
  12513. "goodsname": {
  12514. "description": "商品名称",
  12515. "type": "string"
  12516. },
  12517. "marketid": {
  12518. "description": "市场ID",
  12519. "type": "integer"
  12520. },
  12521. "orderid": {
  12522. "description": "单号(成交单号)",
  12523. "type": "string"
  12524. },
  12525. "picurls1": {
  12526. "description": "预售商品介绍图片[多张用逗号分隔]",
  12527. "type": "string"
  12528. },
  12529. "picurls2": {
  12530. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12531. "type": "string"
  12532. },
  12533. "price": {
  12534. "description": "价格",
  12535. "type": "number"
  12536. },
  12537. "qty": {
  12538. "description": "数量",
  12539. "type": "integer"
  12540. },
  12541. "time": {
  12542. "description": "时间",
  12543. "type": "string"
  12544. },
  12545. "trademode": {
  12546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12547. "type": "integer"
  12548. },
  12549. "vendorname1": {
  12550. "description": "预售商品供应商名称",
  12551. "type": "string"
  12552. },
  12553. "vendorname2": {
  12554. "description": "挂牌商品供应商名称",
  12555. "type": "string"
  12556. }
  12557. }
  12558. },
  12559. "models.HsbyGoodsOrderDetail": {
  12560. "type": "object",
  12561. "required": [
  12562. "buyorsell",
  12563. "orderid",
  12564. "ordertime"
  12565. ],
  12566. "properties": {
  12567. "buyorsell": {
  12568. "description": "买卖 - 0:买 1:卖",
  12569. "type": "integer"
  12570. },
  12571. "currencysign": {
  12572. "description": "货币符号",
  12573. "type": "string"
  12574. },
  12575. "customername": {
  12576. "description": "客户名称(企业名称),已脱敏",
  12577. "type": "string"
  12578. },
  12579. "enableqty": {
  12580. "description": "可用数量",
  12581. "type": "integer"
  12582. },
  12583. "goodunit": {
  12584. "description": "报价单位",
  12585. "type": "string"
  12586. },
  12587. "orderid": {
  12588. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12589. "type": "string"
  12590. },
  12591. "orderprice": {
  12592. "description": "委托价格",
  12593. "type": "number"
  12594. },
  12595. "ordertime": {
  12596. "description": "委托时间",
  12597. "type": "string"
  12598. }
  12599. }
  12600. },
  12601. "models.HsbyListingGoodsDetail": {
  12602. "type": "object",
  12603. "required": [
  12604. "goodscode",
  12605. "goodsid",
  12606. "goodsname",
  12607. "marketid",
  12608. "trademode"
  12609. ],
  12610. "properties": {
  12611. "agreeunit": {
  12612. "description": "合约单位",
  12613. "type": "number"
  12614. },
  12615. "buymaxqty": {
  12616. "description": "购买上限 [71] - 0为不限",
  12617. "type": "integer"
  12618. },
  12619. "currency": {
  12620. "description": "货币",
  12621. "type": "string"
  12622. },
  12623. "currencysign": {
  12624. "description": "货币符号",
  12625. "type": "string"
  12626. },
  12627. "decimalplace": {
  12628. "description": "报价小数位",
  12629. "type": "integer"
  12630. },
  12631. "desccityid": {
  12632. "description": "目的地(市)ID",
  12633. "type": "integer"
  12634. },
  12635. "descprovinceid": {
  12636. "description": "目的地(省)ID",
  12637. "type": "integer"
  12638. },
  12639. "goodscode": {
  12640. "description": "商品代码(内部)",
  12641. "type": "string"
  12642. },
  12643. "goodsdesc": {
  12644. "description": "商品详情",
  12645. "type": "string"
  12646. },
  12647. "goodsid": {
  12648. "description": "商品ID(自增ID SEQ_GOODS)",
  12649. "type": "integer"
  12650. },
  12651. "goodsname": {
  12652. "description": "商品名称",
  12653. "type": "string"
  12654. },
  12655. "goodsprice": {
  12656. "description": "商品价格",
  12657. "type": "number"
  12658. },
  12659. "hotindex": {
  12660. "description": "景点热度",
  12661. "type": "integer"
  12662. },
  12663. "last": {
  12664. "description": "现价",
  12665. "type": "number"
  12666. },
  12667. "limitdown": {
  12668. "description": "跌停价",
  12669. "type": "number"
  12670. },
  12671. "limitup": {
  12672. "description": "涨停价",
  12673. "type": "number"
  12674. },
  12675. "lotsize": {
  12676. "description": "手数最小变动单位",
  12677. "type": "integer"
  12678. },
  12679. "marketid": {
  12680. "description": "所属市场ID",
  12681. "type": "integer"
  12682. },
  12683. "picurls": {
  12684. "description": "介绍图片[多张用逗号分隔]",
  12685. "type": "string"
  12686. },
  12687. "quoteminunit": {
  12688. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12689. "type": "integer"
  12690. },
  12691. "stepvalue": {
  12692. "description": "价格最小变动单位",
  12693. "type": "number"
  12694. },
  12695. "trademode": {
  12696. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12697. "type": "integer"
  12698. },
  12699. "vendorattr": {
  12700. "description": "供应商附件(多张,逗号分隔)",
  12701. "type": "string"
  12702. },
  12703. "vendorname": {
  12704. "description": "供应商名称",
  12705. "type": "string"
  12706. },
  12707. "vendorphone": {
  12708. "description": "供应商客服电话",
  12709. "type": "string"
  12710. },
  12711. "videourls": {
  12712. "description": "介绍视频[多张用逗号分隔]",
  12713. "type": "string"
  12714. }
  12715. }
  12716. },
  12717. "models.HsbyMarketGoods": {
  12718. "type": "object",
  12719. "required": [
  12720. "accountid",
  12721. "buyorsell",
  12722. "goodscode",
  12723. "goodsid",
  12724. "goodsname",
  12725. "marketid",
  12726. "orderid",
  12727. "trademode"
  12728. ],
  12729. "properties": {
  12730. "accountid": {
  12731. "description": "账户ID[报价币种]",
  12732. "type": "integer"
  12733. },
  12734. "agreeunit": {
  12735. "description": "合约单位",
  12736. "type": "number"
  12737. },
  12738. "buyorsell": {
  12739. "description": "买卖 - 0:买 1:卖",
  12740. "type": "integer"
  12741. },
  12742. "categoryid": {
  12743. "description": "类别ID(WRCATEGORY)",
  12744. "type": "integer"
  12745. },
  12746. "currency": {
  12747. "description": "货币",
  12748. "type": "string"
  12749. },
  12750. "currencysign": {
  12751. "description": "货币符号",
  12752. "type": "string"
  12753. },
  12754. "customername": {
  12755. "description": "卖家名称",
  12756. "type": "string"
  12757. },
  12758. "decimalplace": {
  12759. "description": "报价小数位",
  12760. "type": "integer"
  12761. },
  12762. "goodscode": {
  12763. "description": "商品代码(内部)",
  12764. "type": "string"
  12765. },
  12766. "goodsid": {
  12767. "description": "商品ID",
  12768. "type": "integer"
  12769. },
  12770. "goodsname": {
  12771. "description": "商品名称",
  12772. "type": "string"
  12773. },
  12774. "goodsprice": {
  12775. "description": "商品价格",
  12776. "type": "number"
  12777. },
  12778. "hascoupon": {
  12779. "description": "是否可用优惠卷",
  12780. "type": "boolean"
  12781. },
  12782. "hotindex": {
  12783. "description": "景点热度",
  12784. "type": "integer"
  12785. },
  12786. "marketid": {
  12787. "description": "市场ID",
  12788. "type": "integer"
  12789. },
  12790. "orderid": {
  12791. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12792. "type": "string"
  12793. },
  12794. "orderprice": {
  12795. "description": "委托价格",
  12796. "type": "number"
  12797. },
  12798. "orderstatus": {
  12799. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12800. "type": "integer"
  12801. },
  12802. "picurls": {
  12803. "description": "介绍图片[多张用逗号分隔]",
  12804. "type": "string"
  12805. },
  12806. "quoteminunit": {
  12807. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12808. "type": "integer"
  12809. },
  12810. "sellUserID": {
  12811. "description": "卖方UserID",
  12812. "type": "integer"
  12813. },
  12814. "trademode": {
  12815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12816. "type": "integer"
  12817. },
  12818. "videourls": {
  12819. "description": "介绍视频[多张用逗号分隔]",
  12820. "type": "string"
  12821. }
  12822. }
  12823. },
  12824. "models.HsbyMarketGoodsDetail": {
  12825. "type": "object",
  12826. "required": [
  12827. "accountid",
  12828. "buyorsell",
  12829. "goodscode",
  12830. "goodsid",
  12831. "goodsname",
  12832. "marketid",
  12833. "orderid",
  12834. "orderqty",
  12835. "trademode"
  12836. ],
  12837. "properties": {
  12838. "accountid": {
  12839. "description": "账户ID[报价币种]",
  12840. "type": "integer"
  12841. },
  12842. "agreeunit": {
  12843. "description": "合约单位",
  12844. "type": "number"
  12845. },
  12846. "buymaxqty": {
  12847. "description": "购买上限 [71] - 0为不限",
  12848. "type": "integer"
  12849. },
  12850. "buyorsell": {
  12851. "description": "买卖 - 0:买 1:卖",
  12852. "type": "integer"
  12853. },
  12854. "cancelqty": {
  12855. "description": "撤单数量",
  12856. "type": "integer"
  12857. },
  12858. "categoryid": {
  12859. "description": "类别ID(WRCATEGORY)",
  12860. "type": "integer"
  12861. },
  12862. "currency": {
  12863. "description": "货币",
  12864. "type": "string"
  12865. },
  12866. "currencysign": {
  12867. "description": "货币符号",
  12868. "type": "string"
  12869. },
  12870. "customername": {
  12871. "description": "卖家名称",
  12872. "type": "string"
  12873. },
  12874. "decimalplace": {
  12875. "description": "报价小数位",
  12876. "type": "integer"
  12877. },
  12878. "goodscode": {
  12879. "description": "商品代码(内部)",
  12880. "type": "string"
  12881. },
  12882. "goodsdesc": {
  12883. "description": "商品详情",
  12884. "type": "string"
  12885. },
  12886. "goodsid": {
  12887. "description": "商品ID",
  12888. "type": "integer"
  12889. },
  12890. "goodsname": {
  12891. "description": "商品名称",
  12892. "type": "string"
  12893. },
  12894. "goodsprice": {
  12895. "description": "商品价格",
  12896. "type": "number"
  12897. },
  12898. "hotindex": {
  12899. "description": "景点热度",
  12900. "type": "integer"
  12901. },
  12902. "lotsize": {
  12903. "description": "手数最小变动单位",
  12904. "type": "integer"
  12905. },
  12906. "marketid": {
  12907. "description": "市场ID",
  12908. "type": "integer"
  12909. },
  12910. "orderid": {
  12911. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12912. "type": "string"
  12913. },
  12914. "orderprice": {
  12915. "description": "委托价格",
  12916. "type": "number"
  12917. },
  12918. "orderqty": {
  12919. "description": "委托数量",
  12920. "type": "integer"
  12921. },
  12922. "orderstatus": {
  12923. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12924. "type": "integer"
  12925. },
  12926. "picurls": {
  12927. "description": "介绍图片[多张用逗号分隔]",
  12928. "type": "string"
  12929. },
  12930. "quoteminunit": {
  12931. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12932. "type": "integer"
  12933. },
  12934. "sellUserID": {
  12935. "description": "卖方UserID",
  12936. "type": "integer"
  12937. },
  12938. "trademode": {
  12939. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12940. "type": "integer"
  12941. },
  12942. "tradeqty": {
  12943. "description": "成交数量",
  12944. "type": "integer"
  12945. },
  12946. "vendorattr": {
  12947. "description": "供应商附件(多张,逗号分隔)",
  12948. "type": "string"
  12949. },
  12950. "vendorname": {
  12951. "description": "供应商名称",
  12952. "type": "string"
  12953. },
  12954. "vendorphone": {
  12955. "description": "供应商客服电话",
  12956. "type": "string"
  12957. },
  12958. "videourls": {
  12959. "description": "介绍视频[多张用逗号分隔]",
  12960. "type": "string"
  12961. }
  12962. }
  12963. },
  12964. "models.HsbyMarketInfo": {
  12965. "type": "object",
  12966. "required": [
  12967. "marketid",
  12968. "marketstatus",
  12969. "trademode"
  12970. ],
  12971. "properties": {
  12972. "marketid": {
  12973. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12974. "type": "integer"
  12975. },
  12976. "marketname": {
  12977. "description": "市场名称",
  12978. "type": "string"
  12979. },
  12980. "marketstatus": {
  12981. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12982. "type": "integer"
  12983. },
  12984. "trademode": {
  12985. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12986. "type": "integer"
  12987. }
  12988. }
  12989. },
  12990. "models.HsbyMyGoods": {
  12991. "type": "object",
  12992. "required": [
  12993. "accountid",
  12994. "goodscode",
  12995. "goodsid",
  12996. "goodsname",
  12997. "marketid",
  12998. "trademode"
  12999. ],
  13000. "properties": {
  13001. "accountid": {
  13002. "description": "账号Id",
  13003. "type": "integer"
  13004. },
  13005. "agreeunit": {
  13006. "description": "合约单位",
  13007. "type": "number"
  13008. },
  13009. "buyaverageprice": {
  13010. "description": "持仓均价",
  13011. "type": "number"
  13012. },
  13013. "buycurholderamount": {
  13014. "description": "买当前持仓总金额[商品币种]",
  13015. "type": "number"
  13016. },
  13017. "buycurpositionqty": {
  13018. "description": "买当前持仓总数量",
  13019. "type": "integer"
  13020. },
  13021. "buymaxqty": {
  13022. "description": "购买上限 [71] - 0为不限",
  13023. "type": "integer"
  13024. },
  13025. "currencysign": {
  13026. "description": "货币符号",
  13027. "type": "string"
  13028. },
  13029. "decimalplace": {
  13030. "description": "报价小数位",
  13031. "type": "integer"
  13032. },
  13033. "enableqty": {
  13034. "description": "可用数量",
  13035. "type": "integer"
  13036. },
  13037. "goodscode": {
  13038. "description": "商品代码(内部)",
  13039. "type": "string"
  13040. },
  13041. "goodsid": {
  13042. "description": "商品Id",
  13043. "type": "integer"
  13044. },
  13045. "goodsname": {
  13046. "description": "商品名称",
  13047. "type": "string"
  13048. },
  13049. "goodsprice": {
  13050. "description": "商品价格",
  13051. "type": "number"
  13052. },
  13053. "goodsstatus": {
  13054. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13055. "type": "integer"
  13056. },
  13057. "last": {
  13058. "description": "现价(仅使用于挂牌点选)",
  13059. "type": "number"
  13060. },
  13061. "limitdown": {
  13062. "description": "跌停价(仅使用于挂牌点选)",
  13063. "type": "number"
  13064. },
  13065. "limitup": {
  13066. "description": "涨停价(仅使用于挂牌点选)",
  13067. "type": "number"
  13068. },
  13069. "lotsize": {
  13070. "description": "手数最小变动单位",
  13071. "type": "integer"
  13072. },
  13073. "marketid": {
  13074. "description": "所属市场ID",
  13075. "type": "integer"
  13076. },
  13077. "picurls": {
  13078. "description": "介绍图片[多张用逗号分隔]",
  13079. "type": "string"
  13080. },
  13081. "quoteminunit": {
  13082. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13083. "type": "integer"
  13084. },
  13085. "stepvalue": {
  13086. "description": "价格最小变动单位",
  13087. "type": "number"
  13088. },
  13089. "trademode": {
  13090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13091. "type": "integer"
  13092. }
  13093. }
  13094. },
  13095. "models.HsbyMyPackage": {
  13096. "type": "object",
  13097. "required": [
  13098. "goodscode",
  13099. "goodsname",
  13100. "takeorderid",
  13101. "trademode"
  13102. ],
  13103. "properties": {
  13104. "accountid": {
  13105. "description": "账户ID",
  13106. "type": "integer"
  13107. },
  13108. "address": {
  13109. "description": "提货人详细地址",
  13110. "type": "string"
  13111. },
  13112. "agreeunit": {
  13113. "description": "合约单位",
  13114. "type": "number"
  13115. },
  13116. "amount": {
  13117. "description": "提货金额",
  13118. "type": "number"
  13119. },
  13120. "auditer": {
  13121. "description": "审核人",
  13122. "type": "integer"
  13123. },
  13124. "audittime": {
  13125. "description": "审核时间",
  13126. "type": "string"
  13127. },
  13128. "averageprice": {
  13129. "description": "均价",
  13130. "type": "number"
  13131. },
  13132. "cardnum": {
  13133. "description": "提货人证件号码",
  13134. "type": "string"
  13135. },
  13136. "cardtypeid": {
  13137. "description": "提货人证件类型",
  13138. "type": "integer"
  13139. },
  13140. "checkremark": {
  13141. "description": "审核备注",
  13142. "type": "string"
  13143. },
  13144. "currencysign": {
  13145. "description": "货币符号",
  13146. "type": "string"
  13147. },
  13148. "decimalplace": {
  13149. "description": "报价小数位",
  13150. "type": "integer"
  13151. },
  13152. "goodscode": {
  13153. "description": "商品代码(内部)",
  13154. "type": "string"
  13155. },
  13156. "goodsid": {
  13157. "description": "商品ID",
  13158. "type": "integer"
  13159. },
  13160. "goodsname": {
  13161. "description": "商品名称",
  13162. "type": "string"
  13163. },
  13164. "handlestatus": {
  13165. "description": "处理状态",
  13166. "type": "integer"
  13167. },
  13168. "marketid": {
  13169. "description": "市场ID",
  13170. "type": "integer"
  13171. },
  13172. "phonenum": {
  13173. "description": "提货人联系方式",
  13174. "type": "string"
  13175. },
  13176. "picurls": {
  13177. "description": "介绍图片[多张用逗号分隔]",
  13178. "type": "string"
  13179. },
  13180. "qty": {
  13181. "description": "提货数量",
  13182. "type": "number"
  13183. },
  13184. "recivername": {
  13185. "description": "提货人姓名",
  13186. "type": "string"
  13187. },
  13188. "reqtime": {
  13189. "description": "更新时间",
  13190. "type": "string"
  13191. },
  13192. "takemode": {
  13193. "description": "提货方式 - 2:自提 3:配送",
  13194. "type": "integer"
  13195. },
  13196. "takeorderid": {
  13197. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13198. "type": "string"
  13199. },
  13200. "takeorderstatus": {
  13201. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13202. "type": "integer"
  13203. },
  13204. "takeremark": {
  13205. "description": "提货备注",
  13206. "type": "string"
  13207. },
  13208. "tradedate": {
  13209. "description": "交易日(yyyyMMdd)",
  13210. "type": "string"
  13211. },
  13212. "trademode": {
  13213. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13214. "type": "integer"
  13215. },
  13216. "userid": {
  13217. "description": "用户ID",
  13218. "type": "integer"
  13219. },
  13220. "vendorname": {
  13221. "description": "供应商名称",
  13222. "type": "string"
  13223. }
  13224. }
  13225. },
  13226. "models.HsbyPreGoods": {
  13227. "type": "object",
  13228. "required": [
  13229. "goodscode",
  13230. "goodsid",
  13231. "goodsname",
  13232. "marketid",
  13233. "trademode"
  13234. ],
  13235. "properties": {
  13236. "agreeunit": {
  13237. "description": "合约单位",
  13238. "type": "number"
  13239. },
  13240. "currency": {
  13241. "description": "货币",
  13242. "type": "string"
  13243. },
  13244. "currencysign": {
  13245. "description": "货币符号",
  13246. "type": "string"
  13247. },
  13248. "decimalplace": {
  13249. "description": "报价小数位",
  13250. "type": "integer"
  13251. },
  13252. "desccityid": {
  13253. "description": "目的地(市)",
  13254. "type": "integer"
  13255. },
  13256. "descprovinceid": {
  13257. "description": "目的地(省)",
  13258. "type": "integer"
  13259. },
  13260. "enableqty": {
  13261. "description": "剩余数量",
  13262. "type": "integer"
  13263. },
  13264. "goodscode": {
  13265. "description": "商品代码(内部)",
  13266. "type": "string"
  13267. },
  13268. "goodsid": {
  13269. "description": "商品ID(自增ID SEQ_GOODS)",
  13270. "type": "integer"
  13271. },
  13272. "goodsname": {
  13273. "description": "商品名称",
  13274. "type": "string"
  13275. },
  13276. "goodsstatus": {
  13277. "description": "商品状态- 2:未上市 3:上市",
  13278. "type": "integer"
  13279. },
  13280. "lasttradedate": {
  13281. "description": "最后交易日期(状态:待退市)",
  13282. "type": "string"
  13283. },
  13284. "listingdate": {
  13285. "description": "交易开始日期",
  13286. "type": "string"
  13287. },
  13288. "marketid": {
  13289. "description": "所属市场ID",
  13290. "type": "integer"
  13291. },
  13292. "picurls": {
  13293. "description": "介绍图片[多张用逗号分隔]",
  13294. "type": "string"
  13295. },
  13296. "presaledqty": {
  13297. "description": "已预售量(预售结束时更新)",
  13298. "type": "integer"
  13299. },
  13300. "presaleqty": {
  13301. "description": "预售数量",
  13302. "type": "integer"
  13303. },
  13304. "quoteminunit": {
  13305. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13306. "type": "integer"
  13307. },
  13308. "refprice": {
  13309. "description": "参考价格[一口价]",
  13310. "type": "number"
  13311. },
  13312. "relatedgoodsid": {
  13313. "description": "关联交易合约ID",
  13314. "type": "integer"
  13315. },
  13316. "trademode": {
  13317. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13318. "type": "integer"
  13319. },
  13320. "videourls": {
  13321. "description": "介绍视频[多张用逗号分隔]",
  13322. "type": "string"
  13323. }
  13324. }
  13325. },
  13326. "models.HsbyPreGoodsDetail": {
  13327. "type": "object",
  13328. "required": [
  13329. "goodscode",
  13330. "goodsid",
  13331. "goodsname",
  13332. "marketid",
  13333. "trademode"
  13334. ],
  13335. "properties": {
  13336. "agreeunit": {
  13337. "description": "合约单位",
  13338. "type": "number"
  13339. },
  13340. "buymaxqty": {
  13341. "description": "购买上限 [71] - 0为不限",
  13342. "type": "integer"
  13343. },
  13344. "currency": {
  13345. "description": "货币",
  13346. "type": "string"
  13347. },
  13348. "currencysign": {
  13349. "description": "货币符号",
  13350. "type": "string"
  13351. },
  13352. "customername": {
  13353. "description": "发行单位",
  13354. "type": "string"
  13355. },
  13356. "decimalplace": {
  13357. "description": "报价小数位",
  13358. "type": "integer"
  13359. },
  13360. "desccityid": {
  13361. "description": "目的地(市)ID",
  13362. "type": "integer"
  13363. },
  13364. "descprovinceid": {
  13365. "description": "目的地(省)ID",
  13366. "type": "integer"
  13367. },
  13368. "enableqty": {
  13369. "description": "剩余数量",
  13370. "type": "integer"
  13371. },
  13372. "goodscode": {
  13373. "description": "商品代码(内部)",
  13374. "type": "string"
  13375. },
  13376. "goodsdesc": {
  13377. "description": "商品详情",
  13378. "type": "string"
  13379. },
  13380. "goodsid": {
  13381. "description": "商品ID(自增ID SEQ_GOODS)",
  13382. "type": "integer"
  13383. },
  13384. "goodsname": {
  13385. "description": "商品名称",
  13386. "type": "string"
  13387. },
  13388. "goodsstatus": {
  13389. "description": "商品状态- 2:未上市 3:上市",
  13390. "type": "integer"
  13391. },
  13392. "goodunit": {
  13393. "description": "报价单位",
  13394. "type": "string"
  13395. },
  13396. "lasttradedate": {
  13397. "description": "最后交易日期(状态:待退市)",
  13398. "type": "string"
  13399. },
  13400. "listingdate": {
  13401. "description": "交易开始日期",
  13402. "type": "string"
  13403. },
  13404. "lotsize": {
  13405. "description": "手数最小变动单位",
  13406. "type": "integer"
  13407. },
  13408. "marketid": {
  13409. "description": "所属市场ID",
  13410. "type": "integer"
  13411. },
  13412. "picurls": {
  13413. "description": "介绍图片[多张用逗号分隔]",
  13414. "type": "string"
  13415. },
  13416. "presaledqty": {
  13417. "description": "已预售量(预售结束时更新)",
  13418. "type": "integer"
  13419. },
  13420. "presaleqty": {
  13421. "description": "预售数量",
  13422. "type": "integer"
  13423. },
  13424. "quoteminunit": {
  13425. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13426. "type": "integer"
  13427. },
  13428. "refprice": {
  13429. "description": "参考价格[一口价]",
  13430. "type": "number"
  13431. },
  13432. "relatedgoodsid": {
  13433. "description": "关联交易合约ID",
  13434. "type": "integer"
  13435. },
  13436. "stepvalue": {
  13437. "description": "价格最小变动单位",
  13438. "type": "number"
  13439. },
  13440. "trademode": {
  13441. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13442. "type": "integer"
  13443. },
  13444. "vendorattr": {
  13445. "description": "供应商附件(多张,逗号分隔)",
  13446. "type": "string"
  13447. },
  13448. "vendorname": {
  13449. "description": "供应商名称",
  13450. "type": "string"
  13451. },
  13452. "vendorphone": {
  13453. "description": "供应商客服电话",
  13454. "type": "string"
  13455. },
  13456. "videourls": {
  13457. "description": "介绍视频[多张用逗号分隔]",
  13458. "type": "string"
  13459. }
  13460. }
  13461. },
  13462. "models.HsbySellCollectionOrder": {
  13463. "type": "object",
  13464. "required": [
  13465. "goodscode",
  13466. "goodsname",
  13467. "tradeid",
  13468. "trademode"
  13469. ],
  13470. "properties": {
  13471. "agreeunit": {
  13472. "description": "合约单位",
  13473. "type": "number"
  13474. },
  13475. "buyaccountid": {
  13476. "description": "买方账号ID[报价币种]",
  13477. "type": "integer"
  13478. },
  13479. "buyorderid": {
  13480. "description": "买方委托单号",
  13481. "type": "string"
  13482. },
  13483. "createtime": {
  13484. "description": "创建时间",
  13485. "type": "string"
  13486. },
  13487. "currencysign": {
  13488. "description": "货币符号",
  13489. "type": "string"
  13490. },
  13491. "decimalplace": {
  13492. "description": "报价小数位",
  13493. "type": "integer"
  13494. },
  13495. "goodscode": {
  13496. "description": "商品代码(内部)",
  13497. "type": "string"
  13498. },
  13499. "goodsid": {
  13500. "description": "商品ID",
  13501. "type": "integer"
  13502. },
  13503. "goodsname": {
  13504. "description": "商品名称",
  13505. "type": "string"
  13506. },
  13507. "marketid": {
  13508. "description": "市场ID",
  13509. "type": "integer"
  13510. },
  13511. "offamount": {
  13512. "description": "优惠金额",
  13513. "type": "number"
  13514. },
  13515. "payamount": {
  13516. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13517. "type": "number"
  13518. },
  13519. "payflag": {
  13520. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13521. "type": "integer"
  13522. },
  13523. "paylimitedtime": {
  13524. "description": "支付期限",
  13525. "type": "string"
  13526. },
  13527. "paytime": {
  13528. "description": "付款时间",
  13529. "type": "string"
  13530. },
  13531. "picurls": {
  13532. "description": "商品介绍图片[多张用逗号分隔]",
  13533. "type": "string"
  13534. },
  13535. "sellaccountid": {
  13536. "description": "卖方账号ID[报价币种]",
  13537. "type": "integer"
  13538. },
  13539. "sellorderid": {
  13540. "description": "卖方委托单号",
  13541. "type": "string"
  13542. },
  13543. "tradeamount": {
  13544. "description": "成交金额",
  13545. "type": "number"
  13546. },
  13547. "tradecharge": {
  13548. "description": "成交手续费(买方)",
  13549. "type": "number"
  13550. },
  13551. "tradedate": {
  13552. "description": "交易日(yyyyMMdd)",
  13553. "type": "string"
  13554. },
  13555. "tradeid": {
  13556. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13557. "type": "string"
  13558. },
  13559. "trademode": {
  13560. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13561. "type": "integer"
  13562. },
  13563. "tradeprice": {
  13564. "description": "成交价格",
  13565. "type": "number"
  13566. },
  13567. "tradeqty": {
  13568. "description": "成交数量",
  13569. "type": "integer"
  13570. }
  13571. }
  13572. },
  13573. "models.HsbySellMyDetail": {
  13574. "type": "object",
  13575. "required": [
  13576. "accountid",
  13577. "buyorsell",
  13578. "goodscode",
  13579. "goodsid",
  13580. "goodsname",
  13581. "marketid",
  13582. "orderid",
  13583. "time",
  13584. "trademode"
  13585. ],
  13586. "properties": {
  13587. "accountid": {
  13588. "description": "账户ID[报价币种]",
  13589. "type": "integer"
  13590. },
  13591. "agreeunit": {
  13592. "description": "合约单位",
  13593. "type": "number"
  13594. },
  13595. "buyorsell": {
  13596. "description": "买卖 - 0:买 1:卖",
  13597. "type": "integer"
  13598. },
  13599. "currencysign": {
  13600. "description": "货币符号",
  13601. "type": "string"
  13602. },
  13603. "decimalplace": {
  13604. "description": "报价小数位",
  13605. "type": "integer"
  13606. },
  13607. "goodscode": {
  13608. "description": "商品代码(内部)",
  13609. "type": "string"
  13610. },
  13611. "goodsid": {
  13612. "description": "商品ID",
  13613. "type": "integer"
  13614. },
  13615. "goodsname": {
  13616. "description": "商品名称",
  13617. "type": "string"
  13618. },
  13619. "marketid": {
  13620. "description": "市场ID",
  13621. "type": "integer"
  13622. },
  13623. "orderid": {
  13624. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13625. "type": "string"
  13626. },
  13627. "ordertype": {
  13628. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13629. "type": "integer"
  13630. },
  13631. "picurls": {
  13632. "description": "介绍图片[多张用逗号分隔]",
  13633. "type": "string"
  13634. },
  13635. "price": {
  13636. "description": "价格",
  13637. "type": "number"
  13638. },
  13639. "qty": {
  13640. "description": "数量",
  13641. "type": "integer"
  13642. },
  13643. "time": {
  13644. "description": "时间",
  13645. "type": "string"
  13646. },
  13647. "trademode": {
  13648. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13649. "type": "integer"
  13650. },
  13651. "vendorname": {
  13652. "description": "供应商名称",
  13653. "type": "string"
  13654. }
  13655. }
  13656. },
  13657. "models.HsbyTopGoods": {
  13658. "type": "object",
  13659. "required": [
  13660. "goodscode",
  13661. "goodsid",
  13662. "goodsname",
  13663. "marketid",
  13664. "trademode"
  13665. ],
  13666. "properties": {
  13667. "agreeunit": {
  13668. "description": "合约单位",
  13669. "type": "number"
  13670. },
  13671. "currency": {
  13672. "description": "货币",
  13673. "type": "string"
  13674. },
  13675. "currencysign": {
  13676. "description": "货币符号",
  13677. "type": "string"
  13678. },
  13679. "decimalplace": {
  13680. "description": "报价小数位",
  13681. "type": "integer"
  13682. },
  13683. "desccityid": {
  13684. "description": "目的地(市)",
  13685. "type": "integer"
  13686. },
  13687. "descprovinceid": {
  13688. "description": "目的地(省)",
  13689. "type": "integer"
  13690. },
  13691. "goodscode": {
  13692. "description": "商品代码(内部)",
  13693. "type": "string"
  13694. },
  13695. "goodsid": {
  13696. "description": "商品ID(自增ID SEQ_GOODS)",
  13697. "type": "integer"
  13698. },
  13699. "goodsname": {
  13700. "description": "商品名称",
  13701. "type": "string"
  13702. },
  13703. "hotindex": {
  13704. "description": "景点热度",
  13705. "type": "integer"
  13706. },
  13707. "last": {
  13708. "description": "现价",
  13709. "type": "number"
  13710. },
  13711. "marketid": {
  13712. "description": "所属市场ID",
  13713. "type": "integer"
  13714. },
  13715. "picurls": {
  13716. "description": "介绍图片[多张用逗号分隔]",
  13717. "type": "string"
  13718. },
  13719. "quoteminunit": {
  13720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13721. "type": "integer"
  13722. },
  13723. "trademode": {
  13724. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13725. "type": "integer"
  13726. },
  13727. "videourls": {
  13728. "description": "介绍视频[多张用逗号分隔]",
  13729. "type": "string"
  13730. }
  13731. }
  13732. },
  13733. "models.HybsMyBuyOrderDetail": {
  13734. "type": "object",
  13735. "required": [
  13736. "accountid",
  13737. "buyorsell",
  13738. "goodscode",
  13739. "goodsid",
  13740. "goodsname",
  13741. "marketid",
  13742. "orderid",
  13743. "orderqty",
  13744. "ordertime",
  13745. "trademode"
  13746. ],
  13747. "properties": {
  13748. "accountid": {
  13749. "description": "账户ID[报价币种]",
  13750. "type": "integer"
  13751. },
  13752. "agreeunit": {
  13753. "description": "合约单位",
  13754. "type": "number"
  13755. },
  13756. "buyorsell": {
  13757. "description": "买卖 - 0:买 1:卖",
  13758. "type": "integer"
  13759. },
  13760. "cancelqty": {
  13761. "description": "撤单数量",
  13762. "type": "integer"
  13763. },
  13764. "currencysign": {
  13765. "description": "货币符号",
  13766. "type": "string"
  13767. },
  13768. "decimalplace": {
  13769. "description": "报价小数位",
  13770. "type": "integer"
  13771. },
  13772. "goodscode": {
  13773. "description": "商品代码(内部)",
  13774. "type": "string"
  13775. },
  13776. "goodsid": {
  13777. "description": "商品ID",
  13778. "type": "integer"
  13779. },
  13780. "goodsname": {
  13781. "description": "商品名称",
  13782. "type": "string"
  13783. },
  13784. "listingselecttype": {
  13785. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13786. "type": "integer"
  13787. },
  13788. "marketid": {
  13789. "description": "市场ID",
  13790. "type": "integer"
  13791. },
  13792. "mybuystatus": {
  13793. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13794. "type": "integer"
  13795. },
  13796. "orderamount": {
  13797. "description": "委托金额",
  13798. "type": "number"
  13799. },
  13800. "orderid": {
  13801. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13802. "type": "string"
  13803. },
  13804. "orderprice": {
  13805. "description": "委托价格",
  13806. "type": "number"
  13807. },
  13808. "orderqty": {
  13809. "description": "委托数量",
  13810. "type": "integer"
  13811. },
  13812. "orderstatus": {
  13813. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13814. "type": "integer"
  13815. },
  13816. "ordertime": {
  13817. "description": "委托时间",
  13818. "type": "string"
  13819. },
  13820. "picurls1": {
  13821. "description": "预售商品介绍图片[多张用逗号分隔]",
  13822. "type": "string"
  13823. },
  13824. "picurls2": {
  13825. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13826. "type": "string"
  13827. },
  13828. "trademode": {
  13829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13830. "type": "integer"
  13831. },
  13832. "tradeqty": {
  13833. "description": "成交数量",
  13834. "type": "integer"
  13835. },
  13836. "vendorname1": {
  13837. "description": "预售商品供应商名称",
  13838. "type": "string"
  13839. },
  13840. "vendorname2": {
  13841. "description": "挂牌商品供应商名称",
  13842. "type": "string"
  13843. }
  13844. }
  13845. },
  13846. "models.Market": {
  13847. "type": "object",
  13848. "required": [
  13849. "marketid",
  13850. "marketstatus",
  13851. "openmethod",
  13852. "reckonpricealgorithm",
  13853. "trademode",
  13854. "tradeproperty"
  13855. ],
  13856. "properties": {
  13857. "auctionwrtype": {
  13858. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13859. "type": "integer"
  13860. },
  13861. "canacceptquote": {
  13862. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13863. "type": "integer"
  13864. },
  13865. "cangoodsexercise": {
  13866. "description": "[期权]是否可现货行权- 0:否 1:是",
  13867. "type": "integer"
  13868. },
  13869. "cangoodsexercisetype": {
  13870. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13871. "type": "integer"
  13872. },
  13873. "canmanualquotestrike": {
  13874. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13875. "type": "integer"
  13876. },
  13877. "canmutistage": {
  13878. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13879. "type": "integer"
  13880. },
  13881. "canpreexercise": {
  13882. "description": "[期权]是否可预申报- 0:否 1:是",
  13883. "type": "integer"
  13884. },
  13885. "clearinterval": {
  13886. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13887. "type": "integer"
  13888. },
  13889. "contracttmp": {
  13890. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13891. "type": "string"
  13892. },
  13893. "exchareaid": {
  13894. "description": "所属交易所,可以没有",
  13895. "type": "integer"
  13896. },
  13897. "goodstype": {
  13898. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13899. "type": "integer"
  13900. },
  13901. "hasrebate": {
  13902. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13903. "type": "integer"
  13904. },
  13905. "hastradecredit": {
  13906. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13907. "type": "integer"
  13908. },
  13909. "haswr": {
  13910. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13911. "type": "integer"
  13912. },
  13913. "isdeductmargin": {
  13914. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13915. "type": "integer"
  13916. },
  13917. "isrecordsource": {
  13918. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13919. "type": "integer"
  13920. },
  13921. "isreleasemargin": {
  13922. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13923. "type": "integer"
  13924. },
  13925. "marginformula": {
  13926. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13927. "type": "integer"
  13928. },
  13929. "marginformula2": {
  13930. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13931. "type": "integer"
  13932. },
  13933. "marketid": {
  13934. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13935. "type": "integer"
  13936. },
  13937. "marketname": {
  13938. "description": "市场名称",
  13939. "type": "string"
  13940. },
  13941. "marketserviceid": {
  13942. "description": "市场服务ID",
  13943. "type": "integer"
  13944. },
  13945. "marketstatus": {
  13946. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13947. "type": "integer"
  13948. },
  13949. "markettype": {
  13950. "description": "市场类型- 1:非交易服务 2:交易服务",
  13951. "type": "integer"
  13952. },
  13953. "matchermode": {
  13954. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13955. "type": "integer"
  13956. },
  13957. "openmethod": {
  13958. "description": "开盘模式 - 0 自动 1手动",
  13959. "type": "integer"
  13960. },
  13961. "otcuserid": {
  13962. "description": "场外期权做市商[场外期权]",
  13963. "type": "integer"
  13964. },
  13965. "outersynctime": {
  13966. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13967. "type": "string"
  13968. },
  13969. "pendingflag": {
  13970. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13971. "type": "integer"
  13972. },
  13973. "pendingtime": {
  13974. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13975. "type": "string"
  13976. },
  13977. "performancetempid": {
  13978. "description": "履约计划模板ID - 作废",
  13979. "type": "integer"
  13980. },
  13981. "premiumquotemode": {
  13982. "description": "权利金报价方式 - 1:自动 2:手动",
  13983. "type": "integer"
  13984. },
  13985. "rebateratio": {
  13986. "description": "返利比率[竞价式]",
  13987. "type": "number"
  13988. },
  13989. "reckonorder": {
  13990. "description": "结算顺序",
  13991. "type": "integer"
  13992. },
  13993. "reckonpricealgorithm": {
  13994. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13995. "type": "integer"
  13996. },
  13997. "reckonpriceparam": {
  13998. "description": "结算价参数",
  13999. "type": "integer"
  14000. },
  14001. "reckontime": {
  14002. "description": "结算时间[通道交易-对冲](HH:mm)",
  14003. "type": "string"
  14004. },
  14005. "roleprioritytype": {
  14006. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14007. "type": "integer"
  14008. },
  14009. "selllistingauditflag": {
  14010. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14011. "type": "integer"
  14012. },
  14013. "trademarkettype": {
  14014. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14015. "type": "integer"
  14016. },
  14017. "trademode": {
  14018. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14019. "type": "integer"
  14020. },
  14021. "tradeproperty": {
  14022. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14023. "type": "integer"
  14024. },
  14025. "tradetype": {
  14026. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14027. "type": "integer"
  14028. }
  14029. }
  14030. },
  14031. "models.Marketrun": {
  14032. "type": "object",
  14033. "required": [
  14034. "marketid",
  14035. "nexttradedate",
  14036. "reckonflag",
  14037. "runstatus",
  14038. "tradedate",
  14039. "tradedate2"
  14040. ],
  14041. "properties": {
  14042. "afternexttradedate": {
  14043. "description": "下下交易日",
  14044. "type": "string"
  14045. },
  14046. "clearquoteflag": {
  14047. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14048. "type": "integer"
  14049. },
  14050. "lastreckondate": {
  14051. "description": "最新交易日(结算成功)",
  14052. "type": "string"
  14053. },
  14054. "machinedate": {
  14055. "description": "机器时间",
  14056. "type": "string"
  14057. },
  14058. "manualflag": {
  14059. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14060. "type": "integer"
  14061. },
  14062. "marketid": {
  14063. "description": "市场ID",
  14064. "type": "integer"
  14065. },
  14066. "nexttradedate": {
  14067. "description": "下一交易日",
  14068. "type": "string"
  14069. },
  14070. "pretradedate": {
  14071. "description": "上一交易日",
  14072. "type": "string"
  14073. },
  14074. "reckonflag": {
  14075. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14076. "type": "integer"
  14077. },
  14078. "runstatus": {
  14079. "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.今日免清算",
  14080. "type": "integer"
  14081. },
  14082. "sectionid": {
  14083. "description": "时间段号[多时段时用]",
  14084. "type": "integer"
  14085. },
  14086. "tradedate": {
  14087. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14088. "type": "string"
  14089. },
  14090. "tradedate2": {
  14091. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14092. "type": "string"
  14093. },
  14094. "updatetime": {
  14095. "description": "更新时间",
  14096. "type": "string"
  14097. }
  14098. }
  14099. },
  14100. "models.Messageboard": {
  14101. "type": "object",
  14102. "required": [
  14103. "messageboardid"
  14104. ],
  14105. "properties": {
  14106. "contactnum": {
  14107. "description": "联系电话",
  14108. "type": "string"
  14109. },
  14110. "createtime": {
  14111. "description": "创建时间",
  14112. "type": "string"
  14113. },
  14114. "message": {
  14115. "description": "留言信息",
  14116. "type": "string"
  14117. },
  14118. "messageboardid": {
  14119. "description": "留言簿ID(SEQ_MessageBoard)",
  14120. "type": "integer"
  14121. },
  14122. "userid": {
  14123. "description": "用户ID",
  14124. "type": "integer"
  14125. }
  14126. }
  14127. },
  14128. "models.MyCoupon": {
  14129. "type": "object",
  14130. "required": [
  14131. "accountid",
  14132. "coupontypeid"
  14133. ],
  14134. "properties": {
  14135. "accountid": {
  14136. "description": "资金账户ID",
  14137. "type": "integer"
  14138. },
  14139. "areauserid": {
  14140. "description": "所属机构",
  14141. "type": "integer"
  14142. },
  14143. "conditionvalue": {
  14144. "description": "条件阈值(可为0)",
  14145. "type": "number"
  14146. },
  14147. "couponcategroy": {
  14148. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14149. "type": "integer"
  14150. },
  14151. "couponname": {
  14152. "description": "优惠券名称",
  14153. "type": "string"
  14154. },
  14155. "coupontypeid": {
  14156. "description": "优惠券类型ID",
  14157. "type": "string"
  14158. },
  14159. "couponvalue": {
  14160. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14161. "type": "number"
  14162. },
  14163. "curfreezeqty": {
  14164. "description": "期末冻结数量",
  14165. "type": "integer"
  14166. },
  14167. "curqty": {
  14168. "description": "期末数量",
  14169. "type": "integer"
  14170. },
  14171. "isgeneral": {
  14172. "description": "是否通用券 - 0:否 1:是",
  14173. "type": "integer"
  14174. },
  14175. "isunusable": {
  14176. "description": "是否不可用",
  14177. "type": "boolean"
  14178. },
  14179. "limitedflag": {
  14180. "description": "是否指定商品 - 0:不限 1:限制",
  14181. "type": "integer"
  14182. },
  14183. "limitedgoodsids": {
  14184. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14185. "type": "string"
  14186. },
  14187. "orifreezeqty": {
  14188. "description": "期初冻结数量",
  14189. "type": "integer"
  14190. },
  14191. "oriqty": {
  14192. "description": "期初数量",
  14193. "type": "integer"
  14194. },
  14195. "reasontype": {
  14196. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14197. "type": "integer"
  14198. },
  14199. "todaydecrease": {
  14200. "description": "今日减少",
  14201. "type": "integer"
  14202. },
  14203. "todayincrease": {
  14204. "description": "今日增加",
  14205. "type": "integer"
  14206. },
  14207. "userid": {
  14208. "description": "用户ID",
  14209. "type": "integer"
  14210. },
  14211. "userscope": {
  14212. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14213. "type": "string"
  14214. }
  14215. }
  14216. },
  14217. "models.MyCouponHold": {
  14218. "type": "object",
  14219. "required": [
  14220. "couponholdid"
  14221. ],
  14222. "properties": {
  14223. "accountid": {
  14224. "description": "资金账户ID",
  14225. "type": "integer"
  14226. },
  14227. "conditionvalue": {
  14228. "description": "条件阈值(可为0)",
  14229. "type": "number"
  14230. },
  14231. "couponcategroy": {
  14232. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14233. "type": "integer"
  14234. },
  14235. "couponholdid": {
  14236. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14237. "type": "string"
  14238. },
  14239. "couponname": {
  14240. "description": "优惠券名称",
  14241. "type": "string"
  14242. },
  14243. "coupontypeid": {
  14244. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14245. "type": "string"
  14246. },
  14247. "couponvalue": {
  14248. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14249. "type": "number"
  14250. },
  14251. "createtime": {
  14252. "description": "创建时间",
  14253. "type": "string"
  14254. },
  14255. "enddate": {
  14256. "description": "结束日期",
  14257. "type": "string"
  14258. },
  14259. "giveapplyid": {
  14260. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14261. "type": "integer"
  14262. },
  14263. "holdstatus": {
  14264. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14265. "type": "integer"
  14266. },
  14267. "isgeneral": {
  14268. "description": "是否通用券 - 0:否 1:是",
  14269. "type": "integer"
  14270. },
  14271. "limitedflag": {
  14272. "description": "是否指定商品 - 0:不限 1:限制",
  14273. "type": "integer"
  14274. },
  14275. "limitedgoodsids": {
  14276. "description": "指定商品IDs[逗号分隔]",
  14277. "type": "string"
  14278. },
  14279. "qty": {
  14280. "description": "数量(按1平铺)",
  14281. "type": "integer"
  14282. },
  14283. "startdate": {
  14284. "description": "开始日期",
  14285. "type": "string"
  14286. },
  14287. "userid": {
  14288. "description": "用户ID",
  14289. "type": "integer"
  14290. },
  14291. "userscope": {
  14292. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14293. "type": "string"
  14294. }
  14295. }
  14296. },
  14297. "models.MyUsedCoupon": {
  14298. "type": "object",
  14299. "required": [
  14300. "coupontypeid",
  14301. "orderid"
  14302. ],
  14303. "properties": {
  14304. "accountid": {
  14305. "description": "资金账户ID(买方)",
  14306. "type": "integer"
  14307. },
  14308. "conditionvalue": {
  14309. "description": "条件阈值(可为0)",
  14310. "type": "number"
  14311. },
  14312. "couponcategroy": {
  14313. "description": "种类 - 1:现金券 2:折扣券",
  14314. "type": "integer"
  14315. },
  14316. "couponname": {
  14317. "description": "优惠券名称",
  14318. "type": "string"
  14319. },
  14320. "coupontypeid": {
  14321. "description": "优惠券类型ID(买方)",
  14322. "type": "string"
  14323. },
  14324. "couponvalue": {
  14325. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14326. "type": "number"
  14327. },
  14328. "createtime": {
  14329. "description": "创建时间",
  14330. "type": "string"
  14331. },
  14332. "goodsid": {
  14333. "description": "商品ID",
  14334. "type": "integer"
  14335. },
  14336. "handlestatus": {
  14337. "description": "处理状态",
  14338. "type": "integer"
  14339. },
  14340. "marketid": {
  14341. "description": "市场ID",
  14342. "type": "integer"
  14343. },
  14344. "offamount": {
  14345. "description": "优惠金额",
  14346. "type": "number"
  14347. },
  14348. "orderid": {
  14349. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14350. "type": "string"
  14351. },
  14352. "sellaccountid": {
  14353. "description": "资金账户ID(卖方)",
  14354. "type": "integer"
  14355. },
  14356. "tradeamount": {
  14357. "description": "成交金额",
  14358. "type": "number"
  14359. },
  14360. "tradeid": {
  14361. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14362. "type": "string"
  14363. },
  14364. "usedqty": {
  14365. "description": "使用数量",
  14366. "type": "integer"
  14367. }
  14368. }
  14369. },
  14370. "models.OperationPrimaryMenu": {
  14371. "type": "object",
  14372. "properties": {
  14373. "Children": {
  14374. "description": "二级功能菜单",
  14375. "type": "array",
  14376. "items": {
  14377. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14378. }
  14379. },
  14380. "Key": {
  14381. "description": "菜单KEY",
  14382. "type": "string"
  14383. },
  14384. "Label": {
  14385. "description": "菜单标题",
  14386. "type": "string"
  14387. }
  14388. }
  14389. },
  14390. "models.OperationSecondaryMenu": {
  14391. "type": "object",
  14392. "properties": {
  14393. "Key": {
  14394. "description": "菜单KEY",
  14395. "type": "string"
  14396. },
  14397. "Label": {
  14398. "description": "菜单标题",
  14399. "type": "string"
  14400. },
  14401. "TabList": {
  14402. "description": "三级功能菜单",
  14403. "type": "array",
  14404. "items": {
  14405. "$ref": "#/definitions/models.OperationTabMenu"
  14406. }
  14407. }
  14408. }
  14409. },
  14410. "models.OperationTabMenu": {
  14411. "type": "object",
  14412. "properties": {
  14413. "Key": {
  14414. "description": "菜单KEY",
  14415. "type": "string"
  14416. },
  14417. "Label": {
  14418. "description": "菜单标题",
  14419. "type": "string"
  14420. }
  14421. }
  14422. },
  14423. "models.QueryErrorInfosRsp": {
  14424. "type": "object",
  14425. "required": [
  14426. "errorid"
  14427. ],
  14428. "properties": {
  14429. "description": {
  14430. "description": "异常描述",
  14431. "type": "string"
  14432. },
  14433. "errorcode": {
  14434. "description": "异常代码",
  14435. "type": "string"
  14436. },
  14437. "errorid": {
  14438. "description": "异常ID",
  14439. "type": "integer"
  14440. },
  14441. "modulecode": {
  14442. "description": "所属模块",
  14443. "type": "string"
  14444. },
  14445. "operatecode": {
  14446. "description": "所属操作",
  14447. "type": "string"
  14448. },
  14449. "rownumber": {
  14450. "description": "行号",
  14451. "type": "string"
  14452. }
  14453. }
  14454. },
  14455. "models.QueryHedgeOrderDetailRsp": {
  14456. "type": "object",
  14457. "properties": {
  14458. "accountid": {
  14459. "description": "账户ID",
  14460. "type": "integer"
  14461. },
  14462. "buyorsell": {
  14463. "description": "买卖 - 0:买 1:卖",
  14464. "type": "integer"
  14465. },
  14466. "channelbuildtype": {
  14467. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14468. "type": "integer"
  14469. },
  14470. "channelinnerorderstatus": {
  14471. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14472. "type": "integer"
  14473. },
  14474. "channeloperatetype": {
  14475. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14476. "type": "integer"
  14477. },
  14478. "closetype": {
  14479. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14480. "type": "integer"
  14481. },
  14482. "curexchangerate": {
  14483. "description": "当前汇率",
  14484. "type": "number"
  14485. },
  14486. "exchangefullname": {
  14487. "description": "外部交易所全称",
  14488. "type": "string"
  14489. },
  14490. "goodscode": {
  14491. "description": "商品代码(内部)",
  14492. "type": "string"
  14493. },
  14494. "goodsid": {
  14495. "description": "商品ID",
  14496. "type": "integer"
  14497. },
  14498. "goodsname": {
  14499. "description": "商品名称",
  14500. "type": "string"
  14501. },
  14502. "marketid": {
  14503. "description": "市场ID",
  14504. "type": "integer"
  14505. },
  14506. "openfreezemargin": {
  14507. "description": "冻结保证金(冻结交易金额)",
  14508. "type": "number"
  14509. },
  14510. "orderid": {
  14511. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14512. "type": "string"
  14513. },
  14514. "orderprice": {
  14515. "description": "委托价格(账户)",
  14516. "type": "number"
  14517. },
  14518. "orderqty": {
  14519. "description": "委托数量",
  14520. "type": "integer"
  14521. },
  14522. "ordertime": {
  14523. "description": "委托时间",
  14524. "type": "string"
  14525. },
  14526. "pricemode": {
  14527. "description": "取价方式 - 1:市价 2: 限价",
  14528. "type": "integer"
  14529. },
  14530. "tradedate": {
  14531. "description": "交易日(yyyyMMdd)",
  14532. "type": "string"
  14533. },
  14534. "tradeqty": {
  14535. "description": "成交数量",
  14536. "type": "integer"
  14537. }
  14538. }
  14539. },
  14540. "models.QueryHedgeTradeDetailRsp": {
  14541. "type": "object",
  14542. "properties": {
  14543. "accountid": {
  14544. "description": "账号ID",
  14545. "type": "integer"
  14546. },
  14547. "buyorsell": {
  14548. "description": "方向 - 0:买 1:卖",
  14549. "type": "integer"
  14550. },
  14551. "channelbuildtype": {
  14552. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14553. "type": "integer"
  14554. },
  14555. "closecharge": {
  14556. "description": "平仓手续费(账户)",
  14557. "type": "number"
  14558. },
  14559. "closecharge2": {
  14560. "description": "平仓手续费(商品)",
  14561. "type": "number"
  14562. },
  14563. "closetype": {
  14564. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14565. "type": "integer"
  14566. },
  14567. "curexchangerate": {
  14568. "description": "当前汇率",
  14569. "type": "number"
  14570. },
  14571. "exchangefullname": {
  14572. "description": "外部交易所全称",
  14573. "type": "string"
  14574. },
  14575. "goodscode": {
  14576. "description": "商品代码(内部)",
  14577. "type": "string"
  14578. },
  14579. "goodsid": {
  14580. "description": "商品ID",
  14581. "type": "integer"
  14582. },
  14583. "goodsname": {
  14584. "description": "商品名称",
  14585. "type": "string"
  14586. },
  14587. "marketid": {
  14588. "description": "市场ID",
  14589. "type": "integer"
  14590. },
  14591. "opencharge": {
  14592. "description": "建仓手续费(账户)",
  14593. "type": "number"
  14594. },
  14595. "opencharge2": {
  14596. "description": "建仓手续费(商品)",
  14597. "type": "number"
  14598. },
  14599. "orderid": {
  14600. "description": "委托单号",
  14601. "type": "string"
  14602. },
  14603. "tradeamount": {
  14604. "description": "成交金额(账户)",
  14605. "type": "number"
  14606. },
  14607. "tradedate": {
  14608. "description": "交易日(yyyyMMdd)",
  14609. "type": "string"
  14610. },
  14611. "tradeid": {
  14612. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14613. "type": "string"
  14614. },
  14615. "tradeprice": {
  14616. "description": "成交价格",
  14617. "type": "number"
  14618. },
  14619. "tradeqty": {
  14620. "description": "成交数量",
  14621. "type": "integer"
  14622. },
  14623. "tradetime": {
  14624. "description": "成交时间",
  14625. "type": "string"
  14626. },
  14627. "tradetype": {
  14628. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14629. "type": "integer"
  14630. }
  14631. }
  14632. },
  14633. "models.QuotePrimaryMenu": {
  14634. "type": "object",
  14635. "properties": {
  14636. "Index": {
  14637. "description": "序号",
  14638. "type": "integer"
  14639. },
  14640. "Key": {
  14641. "description": "键名",
  14642. "type": "string"
  14643. },
  14644. "Name": {
  14645. "description": "菜单名称",
  14646. "type": "string"
  14647. },
  14648. "SubMenus": {
  14649. "description": "子菜单",
  14650. "type": "array",
  14651. "items": {
  14652. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14653. }
  14654. },
  14655. "SubTitleType": {
  14656. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14657. "type": "integer"
  14658. },
  14659. "TradeModes": {
  14660. "description": "包含市场交易类型",
  14661. "type": "string"
  14662. }
  14663. }
  14664. },
  14665. "models.QuoteSecondaryMenu": {
  14666. "type": "object",
  14667. "properties": {
  14668. "ExExchangeCode": {
  14669. "description": "外部交易所代码",
  14670. "type": "string"
  14671. },
  14672. "ExExchangeID": {
  14673. "description": "外部交易所ID",
  14674. "type": "integer"
  14675. },
  14676. "GoodsGroupIDs": {
  14677. "description": "商品组ID列表",
  14678. "type": "array",
  14679. "items": {
  14680. "type": "integer"
  14681. }
  14682. },
  14683. "Index": {
  14684. "description": "序号",
  14685. "type": "integer"
  14686. },
  14687. "MarketID": {
  14688. "description": "市场ID",
  14689. "type": "integer"
  14690. },
  14691. "MenuTitle": {
  14692. "description": "菜单标题(市场名称或外部交易所名称)",
  14693. "type": "string"
  14694. },
  14695. "TradeMode": {
  14696. "description": "交易模式",
  14697. "type": "integer"
  14698. }
  14699. }
  14700. },
  14701. "models.SearchGoods": {
  14702. "type": "object",
  14703. "required": [
  14704. "goodscode",
  14705. "goodsid",
  14706. "goodsname",
  14707. "marketid",
  14708. "trademode"
  14709. ],
  14710. "properties": {
  14711. "goodscode": {
  14712. "description": "商品代码(内部)",
  14713. "type": "string"
  14714. },
  14715. "goodsid": {
  14716. "description": "商品ID(自增ID SEQ_GOODS)",
  14717. "type": "integer"
  14718. },
  14719. "goodsname": {
  14720. "description": "商品名称",
  14721. "type": "string"
  14722. },
  14723. "marketid": {
  14724. "description": "所属市场ID",
  14725. "type": "integer"
  14726. },
  14727. "marketname": {
  14728. "description": "市场名称",
  14729. "type": "string"
  14730. },
  14731. "trademode": {
  14732. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14733. "type": "integer"
  14734. }
  14735. }
  14736. },
  14737. "models.Szdz2imageconfig": {
  14738. "type": "object",
  14739. "required": [
  14740. "configid"
  14741. ],
  14742. "properties": {
  14743. "areauserid": {
  14744. "description": "所属机构ID",
  14745. "type": "integer"
  14746. },
  14747. "configid": {
  14748. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14749. "type": "integer"
  14750. },
  14751. "createdate": {
  14752. "description": "创建时间",
  14753. "type": "string"
  14754. },
  14755. "creatorid": {
  14756. "description": "创建人",
  14757. "type": "integer"
  14758. },
  14759. "imagepath": {
  14760. "description": "图片",
  14761. "type": "string"
  14762. },
  14763. "imagetype": {
  14764. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14765. "type": "integer"
  14766. },
  14767. "isshow": {
  14768. "description": "是否展示 - 0:不展示 1:展示",
  14769. "type": "integer"
  14770. },
  14771. "modifierid": {
  14772. "description": "操作人",
  14773. "type": "integer"
  14774. },
  14775. "sort": {
  14776. "description": "排序",
  14777. "type": "integer"
  14778. },
  14779. "title": {
  14780. "description": "标题",
  14781. "type": "string"
  14782. },
  14783. "updatedate": {
  14784. "description": "修改时间",
  14785. "type": "string"
  14786. },
  14787. "url": {
  14788. "description": "链接(地址或商品ID)",
  14789. "type": "string"
  14790. },
  14791. "urltype": {
  14792. "description": "链接类型 - 1:直接地址 2:商品ID",
  14793. "type": "integer"
  14794. }
  14795. }
  14796. },
  14797. "models.Szdz3convertconfig": {
  14798. "type": "object",
  14799. "required": [
  14800. "converttype",
  14801. "innergoodsid",
  14802. "outergoodscode"
  14803. ],
  14804. "properties": {
  14805. "canin": {
  14806. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14807. "type": "integer"
  14808. },
  14809. "canout": {
  14810. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14811. "type": "integer"
  14812. },
  14813. "converttype": {
  14814. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14815. "type": "integer"
  14816. },
  14817. "createtime": {
  14818. "description": "创建时间",
  14819. "type": "string"
  14820. },
  14821. "creatorid": {
  14822. "description": "创建人",
  14823. "type": "integer"
  14824. },
  14825. "daymaxvalue": {
  14826. "description": "当日最大转入限制",
  14827. "type": "number"
  14828. },
  14829. "freezedays": {
  14830. "description": "冻结天数 [5:花生米转交易]",
  14831. "type": "integer"
  14832. },
  14833. "innergoodsid": {
  14834. "description": "内部商品ID[交易]",
  14835. "type": "integer"
  14836. },
  14837. "inratio": {
  14838. "description": "目标值",
  14839. "type": "integer"
  14840. },
  14841. "modifierid": {
  14842. "description": "修改人",
  14843. "type": "integer"
  14844. },
  14845. "modifytime": {
  14846. "description": "修改时间",
  14847. "type": "string"
  14848. },
  14849. "outergoodscode": {
  14850. "description": "外部商品代码[JD\\PD]",
  14851. "type": "string"
  14852. },
  14853. "outratio": {
  14854. "description": "源值",
  14855. "type": "integer"
  14856. },
  14857. "pddecimalplace": {
  14858. "description": "PD小数位",
  14859. "type": "integer"
  14860. },
  14861. "timemaxvalue": {
  14862. "description": "单次最大转入限制",
  14863. "type": "number"
  14864. },
  14865. "timeminvalue": {
  14866. "description": "单次最小转入限制",
  14867. "type": "number"
  14868. }
  14869. }
  14870. },
  14871. "models.Szdz3searchwhitelist": {
  14872. "type": "object",
  14873. "required": [
  14874. "userid"
  14875. ],
  14876. "properties": {
  14877. "createtime": {
  14878. "description": "创建时间",
  14879. "type": "string"
  14880. },
  14881. "creatorid": {
  14882. "description": "创建人",
  14883. "type": "integer"
  14884. },
  14885. "modifierid": {
  14886. "description": "修改人",
  14887. "type": "integer"
  14888. },
  14889. "modifytime": {
  14890. "description": "修改时间",
  14891. "type": "string"
  14892. },
  14893. "userid": {
  14894. "description": "用户ID",
  14895. "type": "integer"
  14896. }
  14897. }
  14898. },
  14899. "models.Taaccount": {
  14900. "type": "object",
  14901. "required": [
  14902. "accountid",
  14903. "userid"
  14904. ],
  14905. "properties": {
  14906. "accountflag": {
  14907. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14908. "type": "integer"
  14909. },
  14910. "accountid": {
  14911. "description": "资金账户ID",
  14912. "type": "integer"
  14913. },
  14914. "accountname": {
  14915. "description": "账户名称",
  14916. "type": "string"
  14917. },
  14918. "balance": {
  14919. "description": "期初余额",
  14920. "type": "number"
  14921. },
  14922. "capitalbalance": {
  14923. "description": "本金余额[外部子账户实际出入金余额]",
  14924. "type": "number"
  14925. },
  14926. "changeflag": {
  14927. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14928. "type": "integer"
  14929. },
  14930. "changetime": {
  14931. "description": "账户状态变更时间",
  14932. "type": "string"
  14933. },
  14934. "closepl": {
  14935. "description": "今日平仓盈亏",
  14936. "type": "number"
  14937. },
  14938. "creditdecrease": {
  14939. "description": "今日授信减少",
  14940. "type": "number"
  14941. },
  14942. "creditincrease": {
  14943. "description": "今日授信增加",
  14944. "type": "number"
  14945. },
  14946. "currencyid": {
  14947. "description": "货币ID",
  14948. "type": "integer"
  14949. },
  14950. "currentbalance": {
  14951. "description": "期末余额",
  14952. "type": "number"
  14953. },
  14954. "freezecharge": {
  14955. "description": "手续费冻结",
  14956. "type": "number"
  14957. },
  14958. "freezemargin": {
  14959. "description": "冻结保证金",
  14960. "type": "number"
  14961. },
  14962. "fromaccountid": {
  14963. "description": "所属上级账户",
  14964. "type": "integer"
  14965. },
  14966. "inamount": {
  14967. "description": "今日入金金额(包括三方入金)",
  14968. "type": "number"
  14969. },
  14970. "ismain": {
  14971. "description": "是否母账号 0:不是母账户 1:是母账户",
  14972. "type": "integer"
  14973. },
  14974. "ismarketaccount": {
  14975. "description": "是否机构接单账号 0:不是 1:是",
  14976. "type": "integer"
  14977. },
  14978. "isreckonaccount": {
  14979. "description": "是否机构分润账号 0:不是 1:是",
  14980. "type": "integer"
  14981. },
  14982. "mortgagecredit": {
  14983. "description": "授信金额",
  14984. "type": "number"
  14985. },
  14986. "orifreezecharge": {
  14987. "description": "期初手续费冻结",
  14988. "type": "number"
  14989. },
  14990. "orifreezemargin": {
  14991. "description": "期初冻结保证金",
  14992. "type": "number"
  14993. },
  14994. "orimortgagecredit": {
  14995. "description": "期初授信金额",
  14996. "type": "number"
  14997. },
  14998. "oriothercredit": {
  14999. "description": "期初其它授信金额",
  15000. "type": "number"
  15001. },
  15002. "oriotherfreezemargin": {
  15003. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15004. "type": "number"
  15005. },
  15006. "orioutamountfreeze": {
  15007. "description": "期初出金冻结",
  15008. "type": "number"
  15009. },
  15010. "oriusedmargin": {
  15011. "description": "期初占用保证金",
  15012. "type": "number"
  15013. },
  15014. "othercredit": {
  15015. "description": "其它授信金额",
  15016. "type": "number"
  15017. },
  15018. "othercreditdecrease": {
  15019. "description": "今日其它授信减少",
  15020. "type": "number"
  15021. },
  15022. "othercreditincrease": {
  15023. "description": "今日其它授信增加",
  15024. "type": "number"
  15025. },
  15026. "otherfreezemargin": {
  15027. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15028. "type": "number"
  15029. },
  15030. "otherincome": {
  15031. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15032. "type": "number"
  15033. },
  15034. "otherpay": {
  15035. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15036. "type": "number"
  15037. },
  15038. "outamount": {
  15039. "description": "今日出金金额(包括三方出金)",
  15040. "type": "number"
  15041. },
  15042. "outamountfreeze": {
  15043. "description": "出金冻结",
  15044. "type": "number"
  15045. },
  15046. "outthreshold": {
  15047. "description": "出金阈值",
  15048. "type": "number"
  15049. },
  15050. "parentaccountid": {
  15051. "description": "所属根账号",
  15052. "type": "integer"
  15053. },
  15054. "paycharge": {
  15055. "description": "今日手续费支出",
  15056. "type": "number"
  15057. },
  15058. "relatedaccountstatus": {
  15059. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15060. "type": "integer"
  15061. },
  15062. "relateduserid": {
  15063. "description": "关联用户",
  15064. "type": "integer"
  15065. },
  15066. "serivcegroup": {
  15067. "description": "服务分组",
  15068. "type": "integer"
  15069. },
  15070. "signstatus": {
  15071. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15072. "type": "integer"
  15073. },
  15074. "sublevelpath": {
  15075. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15076. "type": "string"
  15077. },
  15078. "taaccounttype": {
  15079. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15080. "type": "integer"
  15081. },
  15082. "thirdinamount": {
  15083. "description": "今日三方入金",
  15084. "type": "number"
  15085. },
  15086. "thirdoutamount": {
  15087. "description": "今日三方出金",
  15088. "type": "number"
  15089. },
  15090. "tradestatus": {
  15091. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15092. "type": "integer"
  15093. },
  15094. "tradestatuschangetime": {
  15095. "description": "激活时间",
  15096. "type": "string"
  15097. },
  15098. "transferamount": {
  15099. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15100. "type": "number"
  15101. },
  15102. "usedmargin": {
  15103. "description": "占用保证金",
  15104. "type": "number"
  15105. },
  15106. "userid": {
  15107. "description": "用户ID",
  15108. "type": "integer"
  15109. }
  15110. }
  15111. },
  15112. "models.Tablecolumnconfig": {
  15113. "type": "object",
  15114. "required": [
  15115. "autoid"
  15116. ],
  15117. "properties": {
  15118. "aligntype": {
  15119. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15120. "type": "integer"
  15121. },
  15122. "autoid": {
  15123. "description": "AutoID",
  15124. "type": "integer"
  15125. },
  15126. "columnfield": {
  15127. "description": "列字段",
  15128. "type": "string"
  15129. },
  15130. "columntitle": {
  15131. "description": "列Title",
  15132. "type": "string"
  15133. },
  15134. "columnwidth": {
  15135. "description": "列宽",
  15136. "type": "string"
  15137. },
  15138. "formatterstring": {
  15139. "description": "格式化字符",
  15140. "type": "string"
  15141. },
  15142. "formattertype": {
  15143. "description": "格式化类型",
  15144. "type": "string"
  15145. },
  15146. "groupname": {
  15147. "description": "表头分组名称",
  15148. "type": "string"
  15149. },
  15150. "isshow": {
  15151. "description": "是否显示 - 0:不显示 1:显示",
  15152. "type": "integer"
  15153. },
  15154. "needsummary": {
  15155. "description": "是否需要汇总 - 0:不需要 1:需要",
  15156. "type": "integer"
  15157. },
  15158. "orderindex": {
  15159. "description": "顺序",
  15160. "type": "integer"
  15161. },
  15162. "remark": {
  15163. "description": "备注",
  15164. "type": "string"
  15165. },
  15166. "summarytype": {
  15167. "description": "汇总类型 - 1:加总 2:最后一个",
  15168. "type": "integer"
  15169. },
  15170. "tablekey": {
  15171. "description": "列表Key",
  15172. "type": "string"
  15173. }
  15174. }
  15175. },
  15176. "models.Useraccount": {
  15177. "type": "object",
  15178. "required": [
  15179. "userid"
  15180. ],
  15181. "properties": {
  15182. "accountname": {
  15183. "description": "账户名称(机构名称)",
  15184. "type": "string"
  15185. },
  15186. "accountstatus": {
  15187. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15188. "type": "integer"
  15189. },
  15190. "auditremark": {
  15191. "description": "审核备注",
  15192. "type": "string"
  15193. },
  15194. "audittime": {
  15195. "description": "审核时间",
  15196. "type": "string"
  15197. },
  15198. "audituserid": {
  15199. "description": "审核人",
  15200. "type": "integer"
  15201. },
  15202. "broker": {
  15203. "description": "所属经纪人ID",
  15204. "type": "integer"
  15205. },
  15206. "canceltime": {
  15207. "description": "销户时间",
  15208. "type": "string"
  15209. },
  15210. "canceluserid": {
  15211. "description": "销户人",
  15212. "type": "integer"
  15213. },
  15214. "createtime": {
  15215. "description": "创建时间",
  15216. "type": "string"
  15217. },
  15218. "creatorid": {
  15219. "description": "创建人",
  15220. "type": "integer"
  15221. },
  15222. "hasauth": {
  15223. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15224. "type": "integer"
  15225. },
  15226. "isanonymous": {
  15227. "description": "是否匿名下单 - 0:否 1:是",
  15228. "type": "integer"
  15229. },
  15230. "maxinvestornum": {
  15231. "description": "最大用户数(经纪会员下投资者个数)",
  15232. "type": "integer"
  15233. },
  15234. "memberuserid": {
  15235. "description": "所属会员ID",
  15236. "type": "integer"
  15237. },
  15238. "modifierid": {
  15239. "description": "修改人",
  15240. "type": "integer"
  15241. },
  15242. "modifyremark": {
  15243. "description": "变更备注",
  15244. "type": "string"
  15245. },
  15246. "modifystatus": {
  15247. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15248. "type": "integer"
  15249. },
  15250. "modifytime": {
  15251. "description": "修改时间",
  15252. "type": "string"
  15253. },
  15254. "parentuserid": {
  15255. "description": "所属机构ID",
  15256. "type": "integer"
  15257. },
  15258. "reckonaccountid": {
  15259. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15260. "type": "integer"
  15261. },
  15262. "refercount": {
  15263. "description": "推荐总人数",
  15264. "type": "integer"
  15265. },
  15266. "refereeuserid": {
  15267. "description": "推荐人ID",
  15268. "type": "integer"
  15269. },
  15270. "refernum": {
  15271. "description": "推荐码",
  15272. "type": "string"
  15273. },
  15274. "subarealevelpath": {
  15275. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15276. "type": "string"
  15277. },
  15278. "userid": {
  15279. "description": "用户ID",
  15280. "type": "integer"
  15281. },
  15282. "usertype": {
  15283. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15284. "type": "integer"
  15285. }
  15286. }
  15287. },
  15288. "models.Userfavoritegoods": {
  15289. "type": "object",
  15290. "required": [
  15291. "goodsid"
  15292. ],
  15293. "properties": {
  15294. "goodsid": {
  15295. "description": "商品ID",
  15296. "type": "integer"
  15297. }
  15298. }
  15299. },
  15300. "models.Userinfo": {
  15301. "type": "object",
  15302. "required": [
  15303. "userid"
  15304. ],
  15305. "properties": {
  15306. "address": {
  15307. "description": "地址",
  15308. "type": "string"
  15309. },
  15310. "attachment1": {
  15311. "description": "附件1",
  15312. "type": "string"
  15313. },
  15314. "attachment2": {
  15315. "description": "附件2",
  15316. "type": "string"
  15317. },
  15318. "bankaccount": {
  15319. "description": "银行帐号 (加密存储)",
  15320. "type": "string"
  15321. },
  15322. "bankaccountname": {
  15323. "description": "收款人名称",
  15324. "type": "string"
  15325. },
  15326. "bankcardfrontphotourl": {
  15327. "description": "银行卡正面照地址",
  15328. "type": "string"
  15329. },
  15330. "bankid": {
  15331. "description": "银行编码",
  15332. "type": "string"
  15333. },
  15334. "bankname": {
  15335. "description": "银行名称",
  15336. "type": "string"
  15337. },
  15338. "biznature": {
  15339. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15340. "type": "integer"
  15341. },
  15342. "bizscope": {
  15343. "description": "企业经营范围(企业)",
  15344. "type": "string"
  15345. },
  15346. "cardbackphotourl": {
  15347. "description": "证件背面图片地址",
  15348. "type": "string"
  15349. },
  15350. "cardfrontphotourl": {
  15351. "description": "证件正面图片地址",
  15352. "type": "string"
  15353. },
  15354. "cardnum": {
  15355. "description": "证件号码(加密存储)",
  15356. "type": "string"
  15357. },
  15358. "cardtypeid": {
  15359. "description": "证件类型ID",
  15360. "type": "integer"
  15361. },
  15362. "cityid": {
  15363. "description": "市",
  15364. "type": "integer"
  15365. },
  15366. "company": {
  15367. "description": "公司(个人)",
  15368. "type": "string"
  15369. },
  15370. "contactname": {
  15371. "description": "联系人",
  15372. "type": "string"
  15373. },
  15374. "countryid": {
  15375. "description": "国家",
  15376. "type": "integer"
  15377. },
  15378. "createtime": {
  15379. "description": "创建时间",
  15380. "type": "string"
  15381. },
  15382. "creatorid": {
  15383. "description": "创建人",
  15384. "type": "integer"
  15385. },
  15386. "customername": {
  15387. "description": "客户名称(企业名称)",
  15388. "type": "string"
  15389. },
  15390. "districtid": {
  15391. "description": "地区",
  15392. "type": "integer"
  15393. },
  15394. "email": {
  15395. "description": "邮件(加密存储)",
  15396. "type": "string"
  15397. },
  15398. "fax": {
  15399. "description": "传真(加密存储)",
  15400. "type": "string"
  15401. },
  15402. "halfbodyphotourl": {
  15403. "description": "半身照地址",
  15404. "type": "string"
  15405. },
  15406. "hasencrypt": {
  15407. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15408. "type": "integer"
  15409. },
  15410. "headurl": {
  15411. "description": "头像地址",
  15412. "type": "string"
  15413. },
  15414. "legalcardbackphotourl": {
  15415. "description": "法人身份证背面照地址",
  15416. "type": "string"
  15417. },
  15418. "legalcardfrontphotourl": {
  15419. "description": "法人身份证正面照地址",
  15420. "type": "string"
  15421. },
  15422. "legalpersonname": {
  15423. "description": "法人姓名(企业)",
  15424. "type": "string"
  15425. },
  15426. "mobile": {
  15427. "description": "手机号码(加密存储)",
  15428. "type": "string"
  15429. },
  15430. "mobile2": {
  15431. "description": "手机号码[明文-尚志]",
  15432. "type": "string"
  15433. },
  15434. "modifierid": {
  15435. "description": "修改人",
  15436. "type": "integer"
  15437. },
  15438. "modifiertime": {
  15439. "description": "修改时间",
  15440. "type": "string"
  15441. },
  15442. "needinvoice": {
  15443. "description": "是否需要发票 - 0:不需要 1:需要",
  15444. "type": "integer"
  15445. },
  15446. "nickname": {
  15447. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15448. "type": "string"
  15449. },
  15450. "openmode": {
  15451. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15452. "type": "integer"
  15453. },
  15454. "otherurl": {
  15455. "description": "其它图片地址[使用分号分隔]",
  15456. "type": "string"
  15457. },
  15458. "postalcode": {
  15459. "description": "邮政编码",
  15460. "type": "string"
  15461. },
  15462. "provinceid": {
  15463. "description": "省",
  15464. "type": "integer"
  15465. },
  15466. "qq": {
  15467. "description": "QQ(加密存储",
  15468. "type": "string"
  15469. },
  15470. "remark": {
  15471. "description": "备注",
  15472. "type": "string"
  15473. },
  15474. "sex": {
  15475. "description": "用户性别 0: 女 1: 男",
  15476. "type": "integer"
  15477. },
  15478. "signpdfurl": {
  15479. "description": "签约pdf文件",
  15480. "type": "string"
  15481. },
  15482. "telphone": {
  15483. "description": "联系电话(加密存储)",
  15484. "type": "string"
  15485. },
  15486. "userid": {
  15487. "description": "用户ID",
  15488. "type": "integer"
  15489. },
  15490. "userinfotype": {
  15491. "description": "用户信息类型 - 1:个人 2:企业",
  15492. "type": "integer"
  15493. },
  15494. "userstatus": {
  15495. "description": "用户状态 - 1:正常 2:注销",
  15496. "type": "integer"
  15497. },
  15498. "usertype": {
  15499. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15500. "type": "integer"
  15501. },
  15502. "wechat": {
  15503. "description": "微信(加密存储)",
  15504. "type": "string"
  15505. },
  15506. "wskhinfo": {
  15507. "description": "开户申请信息(JSON)",
  15508. "type": "string"
  15509. }
  15510. }
  15511. },
  15512. "models.WRCategoryTree": {
  15513. "type": "object",
  15514. "required": [
  15515. "categoryid"
  15516. ],
  15517. "properties": {
  15518. "areauserid": {
  15519. "description": "所属机构",
  15520. "type": "integer"
  15521. },
  15522. "categorydesc": {
  15523. "description": "类别描述",
  15524. "type": "string"
  15525. },
  15526. "categoryid": {
  15527. "description": "类别ID(SEQ_WRCATEGORY)",
  15528. "type": "integer"
  15529. },
  15530. "categoryname": {
  15531. "description": "类别名称",
  15532. "type": "string"
  15533. },
  15534. "iconurl": {
  15535. "description": "图标地址",
  15536. "type": "string"
  15537. },
  15538. "orderindex": {
  15539. "description": "顺序",
  15540. "type": "integer"
  15541. },
  15542. "parentcategoryid": {
  15543. "description": "父类别ID",
  15544. "type": "integer"
  15545. },
  15546. "subcategory": {
  15547. "description": "子分类",
  15548. "type": "array",
  15549. "items": {
  15550. "$ref": "#/definitions/models.WRCategoryTree"
  15551. }
  15552. }
  15553. }
  15554. },
  15555. "models.WRSConverTDetail": {
  15556. "type": "object",
  15557. "properties": {
  15558. "convertratio": {
  15559. "description": "套保系数",
  15560. "type": "number"
  15561. },
  15562. "deliverygoodsid": {
  15563. "description": "现货品种ID",
  15564. "type": "integer"
  15565. },
  15566. "middlegoodscode": {
  15567. "description": "套保品种代码",
  15568. "type": "string"
  15569. },
  15570. "middlegoodsid": {
  15571. "description": "套保品种ID",
  15572. "type": "integer"
  15573. },
  15574. "middlegoodsname": {
  15575. "description": "套保品种名称",
  15576. "type": "string"
  15577. },
  15578. "modifytime": {
  15579. "description": "修改时间",
  15580. "type": "string"
  15581. },
  15582. "wrstandardid": {
  15583. "description": "现货商品ID",
  15584. "type": "integer"
  15585. }
  15586. }
  15587. },
  15588. "models.WRStandardInfo": {
  15589. "type": "object",
  15590. "required": [
  15591. "wrstandardid"
  15592. ],
  15593. "properties": {
  15594. "createtime": {
  15595. "description": "创建时间",
  15596. "type": "string"
  15597. },
  15598. "creatorid": {
  15599. "description": "创建人",
  15600. "type": "integer"
  15601. },
  15602. "deliverygoodsid": {
  15603. "description": "品种ID",
  15604. "type": "integer"
  15605. },
  15606. "deliverygoodsname": {
  15607. "description": "交割商品名称",
  15608. "type": "string"
  15609. },
  15610. "factoryitemjson": {
  15611. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15612. "type": "string"
  15613. },
  15614. "isvalid": {
  15615. "description": "是否有效 - 0:无效 1:有效",
  15616. "type": "integer"
  15617. },
  15618. "minivalue": {
  15619. "description": "最小变动值",
  15620. "type": "integer"
  15621. },
  15622. "minivaluedp": {
  15623. "description": "最小变动值小数位",
  15624. "type": "integer"
  15625. },
  15626. "realminivalue": {
  15627. "description": "实际最小变动值",
  15628. "type": "integer"
  15629. },
  15630. "realminivaluedp": {
  15631. "description": "实际最小变动值小数位",
  15632. "type": "integer"
  15633. },
  15634. "unitid": {
  15635. "description": "单位ID",
  15636. "type": "integer"
  15637. },
  15638. "unitname": {
  15639. "description": "单位",
  15640. "type": "string"
  15641. },
  15642. "updatetime": {
  15643. "description": "更新时间",
  15644. "type": "string"
  15645. },
  15646. "updatorid": {
  15647. "description": "更新人",
  15648. "type": "integer"
  15649. },
  15650. "wrsstatus": {
  15651. "description": "状态 - 作废 - 0:未激活 1:正常",
  15652. "type": "integer"
  15653. },
  15654. "wrstandardcode": {
  15655. "description": "仓单标准代码",
  15656. "type": "string"
  15657. },
  15658. "wrstandardid": {
  15659. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15660. "type": "integer"
  15661. },
  15662. "wrstandardname": {
  15663. "description": "仓单标准名称",
  15664. "type": "string"
  15665. }
  15666. }
  15667. },
  15668. "models.Warehouseinfo": {
  15669. "type": "object",
  15670. "required": [
  15671. "autoid",
  15672. "warehousecode"
  15673. ],
  15674. "properties": {
  15675. "address": {
  15676. "description": "详细地址",
  15677. "type": "string"
  15678. },
  15679. "areauserid": {
  15680. "description": "所属机构",
  15681. "type": "integer"
  15682. },
  15683. "autoid": {
  15684. "description": "自增ID",
  15685. "type": "integer"
  15686. },
  15687. "cityid": {
  15688. "description": "市",
  15689. "type": "integer"
  15690. },
  15691. "contactname": {
  15692. "description": "联系人",
  15693. "type": "string"
  15694. },
  15695. "contactnum": {
  15696. "description": "联系电话",
  15697. "type": "string"
  15698. },
  15699. "countryid": {
  15700. "description": "国家",
  15701. "type": "integer"
  15702. },
  15703. "createtime": {
  15704. "description": "创建时间",
  15705. "type": "string"
  15706. },
  15707. "districtid": {
  15708. "description": "区",
  15709. "type": "integer"
  15710. },
  15711. "hasvideo": {
  15712. "description": "是否有视频 - 0:无 1:有",
  15713. "type": "integer"
  15714. },
  15715. "provinceid": {
  15716. "description": "省",
  15717. "type": "integer"
  15718. },
  15719. "remark": {
  15720. "description": "审核备注",
  15721. "type": "string"
  15722. },
  15723. "videourl": {
  15724. "description": "视频地址",
  15725. "type": "string"
  15726. },
  15727. "warehousecode": {
  15728. "description": "仓库代码",
  15729. "type": "string"
  15730. },
  15731. "warehousename": {
  15732. "description": "仓库名称",
  15733. "type": "string"
  15734. },
  15735. "warehousestatus": {
  15736. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15737. "type": "integer"
  15738. },
  15739. "warehousetype": {
  15740. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15741. "type": "integer"
  15742. }
  15743. }
  15744. },
  15745. "order.QueryHisTradeDetailRsp": {
  15746. "type": "object",
  15747. "required": [
  15748. "accountid",
  15749. "buyorsell",
  15750. "goodsid",
  15751. "histradedate",
  15752. "marketid",
  15753. "memberuserid",
  15754. "orderid",
  15755. "tradeamount",
  15756. "tradedate",
  15757. "tradeid",
  15758. "tradeprice",
  15759. "tradeqty",
  15760. "tradetime"
  15761. ],
  15762. "properties": {
  15763. "accountid": {
  15764. "description": "账户ID[报价币种]",
  15765. "type": "integer"
  15766. },
  15767. "buildtype": {
  15768. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15769. "type": "integer"
  15770. },
  15771. "buyorsell": {
  15772. "description": "方向 - 0:买 1:卖",
  15773. "type": "integer"
  15774. },
  15775. "charge": {
  15776. "description": "手续费",
  15777. "type": "number"
  15778. },
  15779. "closecharge": {
  15780. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15781. "type": "number"
  15782. },
  15783. "closeexchagechargevalue": {
  15784. "description": "平仓交易所手续费设置值",
  15785. "type": "number"
  15786. },
  15787. "closefeealgorithm": {
  15788. "description": "平仓手续费收取方式 1:比率 2:固定",
  15789. "type": "integer"
  15790. },
  15791. "closememberchargevalue": {
  15792. "description": "平仓会员手续费设置值",
  15793. "type": "number"
  15794. },
  15795. "closepl": {
  15796. "description": "平仓盈亏",
  15797. "type": "number"
  15798. },
  15799. "closepl2": {
  15800. "description": "平仓盈亏[逐笔]",
  15801. "type": "number"
  15802. },
  15803. "closeqty": {
  15804. "description": "平仓数量(先建后平操作 需要记录)",
  15805. "type": "integer"
  15806. },
  15807. "creditamount": {
  15808. "description": "授信金额",
  15809. "type": "number"
  15810. },
  15811. "gcaccountid": {
  15812. "description": "账户ID[合约币种]",
  15813. "type": "integer"
  15814. },
  15815. "goodscode": {
  15816. "description": "商品代码",
  15817. "type": "string"
  15818. },
  15819. "goodsid": {
  15820. "description": "商品ID",
  15821. "type": "integer"
  15822. },
  15823. "goodsname": {
  15824. "description": "商品名称",
  15825. "type": "string"
  15826. },
  15827. "histradedate": {
  15828. "description": "历史交易日",
  15829. "type": "string"
  15830. },
  15831. "intclosepl": {
  15832. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15833. "type": "integer"
  15834. },
  15835. "isconfirmexercise": {
  15836. "description": "是否确认行权- 0:否 1:是",
  15837. "type": "integer"
  15838. },
  15839. "ismain": {
  15840. "description": "是否主单 - 0:不是 1:是",
  15841. "type": "integer"
  15842. },
  15843. "ispreexercise": {
  15844. "description": "是否预申报- 0:否 1:是",
  15845. "type": "integer"
  15846. },
  15847. "isreckoned": {
  15848. "description": "是否结算 - 0:未结算 1:已结算",
  15849. "type": "integer"
  15850. },
  15851. "isvaliddata": {
  15852. "description": "是否有效 - 0:无效 1:有效",
  15853. "type": "integer"
  15854. },
  15855. "listingselecttype": {
  15856. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15857. "type": "integer"
  15858. },
  15859. "marketid": {
  15860. "description": "市场ID",
  15861. "type": "integer"
  15862. },
  15863. "marketname": {
  15864. "description": "市场名称",
  15865. "type": "string"
  15866. },
  15867. "matchaccountid": {
  15868. "description": "对手账号id",
  15869. "type": "integer"
  15870. },
  15871. "memberuserid": {
  15872. "description": "会员id 个人投资者 需要填写",
  15873. "type": "integer"
  15874. },
  15875. "opencharge": {
  15876. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15877. "type": "number"
  15878. },
  15879. "openexchagechargevalue": {
  15880. "description": "建仓交易所手续费设置值",
  15881. "type": "number"
  15882. },
  15883. "openfeealgorithm": {
  15884. "description": "建仓手续费收取方式 1:比率 2:固定",
  15885. "type": "integer"
  15886. },
  15887. "openmemberchargevalue": {
  15888. "description": "建仓会员手续费设置值",
  15889. "type": "number"
  15890. },
  15891. "openqty": {
  15892. "description": "开仓数量(先建后平操作 需要记录)",
  15893. "type": "integer"
  15894. },
  15895. "optiontype": {
  15896. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15897. "type": "integer"
  15898. },
  15899. "orderid": {
  15900. "description": "委托单号",
  15901. "type": "string"
  15902. },
  15903. "performanceplanid": {
  15904. "description": "履约计划ID[期权]",
  15905. "type": "integer"
  15906. },
  15907. "performancestatus": {
  15908. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15909. "type": "integer"
  15910. },
  15911. "preexerciseprice": {
  15912. "description": "预申报价格",
  15913. "type": "number"
  15914. },
  15915. "premium": {
  15916. "description": "权利金 - [持仓单的权利金]",
  15917. "type": "number"
  15918. },
  15919. "relatedouttradeid": {
  15920. "description": "关联外部成交单ID",
  15921. "type": "integer"
  15922. },
  15923. "status": {
  15924. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15925. "type": "integer"
  15926. },
  15927. "tradeamount": {
  15928. "description": "成交金额[账户币种,用于所有权]",
  15929. "type": "number"
  15930. },
  15931. "tradedate": {
  15932. "description": "交易日(yyyyMMdd)",
  15933. "type": "string"
  15934. },
  15935. "tradeid": {
  15936. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15937. "type": "string"
  15938. },
  15939. "trademode": {
  15940. "description": "交易模式",
  15941. "type": "integer"
  15942. },
  15943. "tradeprice": {
  15944. "description": "成交价格",
  15945. "type": "number"
  15946. },
  15947. "tradeproperty": {
  15948. "description": "交易属性",
  15949. "type": "integer"
  15950. },
  15951. "tradeqty": {
  15952. "description": "成交数量",
  15953. "type": "integer"
  15954. },
  15955. "tradetime": {
  15956. "description": "成交时间",
  15957. "type": "string"
  15958. },
  15959. "tradetype": {
  15960. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15961. "type": "integer"
  15962. }
  15963. }
  15964. },
  15965. "order.QueryHisTradeOrderDetailRsp": {
  15966. "type": "object",
  15967. "required": [
  15968. "accountid",
  15969. "buildtype",
  15970. "buyorsell",
  15971. "goodsid",
  15972. "histradedate",
  15973. "marketid",
  15974. "memberuserid",
  15975. "operatetype",
  15976. "orderid",
  15977. "orderqty",
  15978. "ordertime",
  15979. "pricemode",
  15980. "tradedate",
  15981. "validtype"
  15982. ],
  15983. "properties": {
  15984. "accountid": {
  15985. "description": "账户ID[报价币种]",
  15986. "type": "integer"
  15987. },
  15988. "buildtype": {
  15989. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15990. "type": "integer"
  15991. },
  15992. "buyorsell": {
  15993. "description": "买卖 - 0:买 1:卖",
  15994. "type": "integer"
  15995. },
  15996. "cancelorderid": {
  15997. "description": "撤单单号(撤单时填写)",
  15998. "type": "string"
  15999. },
  16000. "cancelqty": {
  16001. "description": "撤单数量",
  16002. "type": "integer"
  16003. },
  16004. "clientordertime": {
  16005. "description": "客户端委托时间",
  16006. "type": "string"
  16007. },
  16008. "clientticket": {
  16009. "description": "客户端流水号",
  16010. "type": "string"
  16011. },
  16012. "clienttype": {
  16013. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16014. "type": "integer"
  16015. },
  16016. "closeexchagechargevalue": {
  16017. "description": "平仓交易所手续费设置值",
  16018. "type": "number"
  16019. },
  16020. "closefeealgorithm": {
  16021. "description": "平仓手续费收取方式 1:比率 2:固定",
  16022. "type": "integer"
  16023. },
  16024. "closefreezecharge": {
  16025. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16026. "type": "number"
  16027. },
  16028. "closememberchargevalue": {
  16029. "description": "平仓会员手续费设置值",
  16030. "type": "number"
  16031. },
  16032. "closeqty": {
  16033. "description": "平仓数量(先建后平操作 需要记录)",
  16034. "type": "integer"
  16035. },
  16036. "closetradeqty": {
  16037. "description": "平仓成交数量(先建后平操作,需要记录)",
  16038. "type": "integer"
  16039. },
  16040. "closeunfreezecharge": {
  16041. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16042. "type": "number"
  16043. },
  16044. "delistingtype": {
  16045. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16046. "type": "integer"
  16047. },
  16048. "freezecharge": {
  16049. "description": "冻结手续费",
  16050. "type": "number"
  16051. },
  16052. "freezemargin": {
  16053. "description": "冻结保证金(冻结交易金额)",
  16054. "type": "number"
  16055. },
  16056. "gcaccountid": {
  16057. "description": "账户ID[合约币种]",
  16058. "type": "integer"
  16059. },
  16060. "goodscode": {
  16061. "description": "商品代码",
  16062. "type": "string"
  16063. },
  16064. "goodsid": {
  16065. "description": "商品ID",
  16066. "type": "integer"
  16067. },
  16068. "goodsname": {
  16069. "description": "商品名称",
  16070. "type": "string"
  16071. },
  16072. "histradedate": {
  16073. "description": "历史交易日",
  16074. "type": "string"
  16075. },
  16076. "isconfirmexercise": {
  16077. "description": "是否确认行权- 0:否 1:是",
  16078. "type": "integer"
  16079. },
  16080. "ispreexercise": {
  16081. "description": "是否预申报- 0:否 1:是",
  16082. "type": "integer"
  16083. },
  16084. "isvaliddata": {
  16085. "description": "是否有效 - 0:无效 1:有效",
  16086. "type": "integer"
  16087. },
  16088. "listingselecttype": {
  16089. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16090. "type": "integer"
  16091. },
  16092. "marginalgorithm": {
  16093. "description": "保证金收取方式 1:比率 2:固定",
  16094. "type": "integer"
  16095. },
  16096. "marginvalue": {
  16097. "description": "即市保证金设置值",
  16098. "type": "number"
  16099. },
  16100. "marketid": {
  16101. "description": "市场ID",
  16102. "type": "integer"
  16103. },
  16104. "marketmaxsub": {
  16105. "description": "市价最大偏移范围",
  16106. "type": "number"
  16107. },
  16108. "marketname": {
  16109. "description": "市场名称",
  16110. "type": "string"
  16111. },
  16112. "memberuserid": {
  16113. "description": "所属会员UserID",
  16114. "type": "integer"
  16115. },
  16116. "openexchagechargevalue": {
  16117. "description": "建仓交易所手续费设置值",
  16118. "type": "number"
  16119. },
  16120. "openfeealgorithm": {
  16121. "description": "建仓手续费收取方式 1:比率 2:固定",
  16122. "type": "integer"
  16123. },
  16124. "openfreezecharge": {
  16125. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16126. "type": "number"
  16127. },
  16128. "openmemberchargevalue": {
  16129. "description": "建仓会员手续费设置值",
  16130. "type": "number"
  16131. },
  16132. "openqty": {
  16133. "description": "开仓数量(先建后平操作,需要记录)",
  16134. "type": "integer"
  16135. },
  16136. "opentradeqty": {
  16137. "description": "开仓成交数量(先建后平操作,需要记录)",
  16138. "type": "integer"
  16139. },
  16140. "openunfreezecharge": {
  16141. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16142. "type": "number"
  16143. },
  16144. "operatetype": {
  16145. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16146. "type": "integer"
  16147. },
  16148. "operatorid": {
  16149. "description": "登录账号(LoginID)",
  16150. "type": "integer"
  16151. },
  16152. "optiontype": {
  16153. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16154. "type": "integer"
  16155. },
  16156. "orderid": {
  16157. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16158. "type": "string"
  16159. },
  16160. "orderprice": {
  16161. "description": "委托价格",
  16162. "type": "number"
  16163. },
  16164. "orderqty": {
  16165. "description": "委托数量",
  16166. "type": "integer"
  16167. },
  16168. "ordersrc": {
  16169. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16170. "type": "integer"
  16171. },
  16172. "orderstatus": {
  16173. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16174. "type": "integer"
  16175. },
  16176. "ordertime": {
  16177. "description": "委托时间",
  16178. "type": "string"
  16179. },
  16180. "preexerciseprice": {
  16181. "description": "预申报价格",
  16182. "type": "number"
  16183. },
  16184. "premium": {
  16185. "description": "权利金",
  16186. "type": "number"
  16187. },
  16188. "preorderid": {
  16189. "description": "关联预埋单号(止盈止损单时填写)",
  16190. "type": "string"
  16191. },
  16192. "pricemode": {
  16193. "description": "取价方式 - 1:市价 2: 限价",
  16194. "type": "integer"
  16195. },
  16196. "quoteid": {
  16197. "description": "报价单ID",
  16198. "type": "integer"
  16199. },
  16200. "relatedid": {
  16201. "description": "关联单号(交割单)",
  16202. "type": "string"
  16203. },
  16204. "retcode": {
  16205. "description": "错误代码",
  16206. "type": "integer"
  16207. },
  16208. "sessionid": {
  16209. "description": "会话ID",
  16210. "type": "integer"
  16211. },
  16212. "tradedate": {
  16213. "description": "交易日(yyyyMMdd)",
  16214. "type": "string"
  16215. },
  16216. "trademode": {
  16217. "description": "交易模式",
  16218. "type": "integer"
  16219. },
  16220. "tradeproperty": {
  16221. "description": "交易属性",
  16222. "type": "integer"
  16223. },
  16224. "tradeqty": {
  16225. "description": "成交数量",
  16226. "type": "integer"
  16227. },
  16228. "unfreezecharge": {
  16229. "description": "解冻手续费",
  16230. "type": "number"
  16231. },
  16232. "unfreezemargin": {
  16233. "description": "解冻保证金",
  16234. "type": "number"
  16235. },
  16236. "updatetime": {
  16237. "description": "更新时间",
  16238. "type": "string"
  16239. },
  16240. "uuid": {
  16241. "description": "发起端唯一id",
  16242. "type": "string"
  16243. },
  16244. "validtime": {
  16245. "description": "有效期限",
  16246. "type": "string"
  16247. },
  16248. "validtype": {
  16249. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16250. "type": "integer"
  16251. },
  16252. "volumetype": {
  16253. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16254. "type": "integer"
  16255. }
  16256. }
  16257. },
  16258. "order.QueryTradeDetailRsp": {
  16259. "type": "object",
  16260. "required": [
  16261. "accountid",
  16262. "buyorsell",
  16263. "goodsid",
  16264. "marketid",
  16265. "memberuserid",
  16266. "orderid",
  16267. "tradeamount",
  16268. "tradedate",
  16269. "tradeid",
  16270. "tradeprice",
  16271. "tradeqty",
  16272. "tradetime"
  16273. ],
  16274. "properties": {
  16275. "accountid": {
  16276. "description": "账户ID[报价币种]",
  16277. "type": "integer"
  16278. },
  16279. "buildtype": {
  16280. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16281. "type": "integer"
  16282. },
  16283. "buyorsell": {
  16284. "description": "方向 - 0:买 1:卖",
  16285. "type": "integer"
  16286. },
  16287. "charge": {
  16288. "description": "手续费",
  16289. "type": "number"
  16290. },
  16291. "closecharge": {
  16292. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16293. "type": "number"
  16294. },
  16295. "closeexchagechargevalue": {
  16296. "description": "平仓交易所手续费设置值",
  16297. "type": "number"
  16298. },
  16299. "closefeealgorithm": {
  16300. "description": "平仓手续费收取方式 1:比率 2:固定",
  16301. "type": "integer"
  16302. },
  16303. "closememberchargevalue": {
  16304. "description": "平仓会员手续费设置值",
  16305. "type": "number"
  16306. },
  16307. "closepl": {
  16308. "description": "平仓盈亏",
  16309. "type": "number"
  16310. },
  16311. "closepl2": {
  16312. "description": "平仓盈亏[逐笔]",
  16313. "type": "number"
  16314. },
  16315. "closeqty": {
  16316. "description": "平仓数量(先建后平操作 需要记录)",
  16317. "type": "integer"
  16318. },
  16319. "creditamount": {
  16320. "description": "授信金额",
  16321. "type": "number"
  16322. },
  16323. "gcaccountid": {
  16324. "description": "账户ID[合约币种]",
  16325. "type": "integer"
  16326. },
  16327. "goodscode": {
  16328. "description": "商品代码",
  16329. "type": "string"
  16330. },
  16331. "goodsid": {
  16332. "description": "商品ID",
  16333. "type": "integer"
  16334. },
  16335. "goodsname": {
  16336. "description": "商品名称",
  16337. "type": "string"
  16338. },
  16339. "intclosepl": {
  16340. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16341. "type": "integer"
  16342. },
  16343. "isconfirmexercise": {
  16344. "description": "是否确认行权- 0:否 1:是",
  16345. "type": "integer"
  16346. },
  16347. "ismain": {
  16348. "description": "是否主单 - 0:不是 1:是",
  16349. "type": "integer"
  16350. },
  16351. "ispreexercise": {
  16352. "description": "是否预申报- 0:否 1:是",
  16353. "type": "integer"
  16354. },
  16355. "isreckoned": {
  16356. "description": "是否结算 - 0:未结算 1:已结算",
  16357. "type": "integer"
  16358. },
  16359. "listingselecttype": {
  16360. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16361. "type": "integer"
  16362. },
  16363. "marketid": {
  16364. "description": "市场ID",
  16365. "type": "integer"
  16366. },
  16367. "marketname": {
  16368. "description": "市场名称",
  16369. "type": "string"
  16370. },
  16371. "matchaccountid": {
  16372. "description": "对手账号id",
  16373. "type": "integer"
  16374. },
  16375. "memberuserid": {
  16376. "description": "会员id 个人投资者 需要填写",
  16377. "type": "integer"
  16378. },
  16379. "opencharge": {
  16380. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16381. "type": "number"
  16382. },
  16383. "openexchagechargevalue": {
  16384. "description": "建仓交易所手续费设置值",
  16385. "type": "number"
  16386. },
  16387. "openfeealgorithm": {
  16388. "description": "建仓手续费收取方式 1:比率 2:固定",
  16389. "type": "integer"
  16390. },
  16391. "openmemberchargevalue": {
  16392. "description": "建仓会员手续费设置值",
  16393. "type": "number"
  16394. },
  16395. "openqty": {
  16396. "description": "开仓数量(先建后平操作 需要记录)",
  16397. "type": "integer"
  16398. },
  16399. "optiontype": {
  16400. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16401. "type": "integer"
  16402. },
  16403. "orderid": {
  16404. "description": "委托单号",
  16405. "type": "string"
  16406. },
  16407. "performanceplanid": {
  16408. "description": "履约计划ID[期权]",
  16409. "type": "integer"
  16410. },
  16411. "performancestatus": {
  16412. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16413. "type": "integer"
  16414. },
  16415. "preexerciseprice": {
  16416. "description": "预申报价格",
  16417. "type": "number"
  16418. },
  16419. "premium": {
  16420. "description": "权利金 - [持仓单的权利金]",
  16421. "type": "number"
  16422. },
  16423. "relatedouttradeid": {
  16424. "description": "关联外部成交单ID",
  16425. "type": "integer"
  16426. },
  16427. "status": {
  16428. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16429. "type": "integer"
  16430. },
  16431. "tradeamount": {
  16432. "description": "成交金额[账户币种,用于所有权]",
  16433. "type": "number"
  16434. },
  16435. "tradedate": {
  16436. "description": "交易日(yyyyMMdd)",
  16437. "type": "string"
  16438. },
  16439. "tradeid": {
  16440. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16441. "type": "string"
  16442. },
  16443. "trademode": {
  16444. "description": "交易模式",
  16445. "type": "integer"
  16446. },
  16447. "tradeprice": {
  16448. "description": "成交价格",
  16449. "type": "number"
  16450. },
  16451. "tradeproperty": {
  16452. "description": "交易属性",
  16453. "type": "integer"
  16454. },
  16455. "tradeqty": {
  16456. "description": "成交数量",
  16457. "type": "integer"
  16458. },
  16459. "tradetime": {
  16460. "description": "成交时间",
  16461. "type": "string"
  16462. },
  16463. "tradetype": {
  16464. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16465. "type": "integer"
  16466. }
  16467. }
  16468. },
  16469. "order.QueryTradeOrderDetailRsp": {
  16470. "type": "object",
  16471. "required": [
  16472. "accountid",
  16473. "buildtype",
  16474. "buyorsell",
  16475. "goodsid",
  16476. "marketid",
  16477. "operatetype",
  16478. "orderqty",
  16479. "ordertime",
  16480. "pricemode",
  16481. "tradedate",
  16482. "validtype"
  16483. ],
  16484. "properties": {
  16485. "accountid": {
  16486. "description": "账户ID[报价币种]",
  16487. "type": "integer"
  16488. },
  16489. "buildtype": {
  16490. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16491. "type": "integer"
  16492. },
  16493. "buyorsell": {
  16494. "description": "买卖 - 0:买 1:卖",
  16495. "type": "integer"
  16496. },
  16497. "cancelorderid": {
  16498. "description": "撤单单号(撤单时填写)",
  16499. "type": "string"
  16500. },
  16501. "cancelqty": {
  16502. "description": "撤单数量",
  16503. "type": "integer"
  16504. },
  16505. "clienttype": {
  16506. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16507. "type": "integer"
  16508. },
  16509. "closefreezecharge": {
  16510. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16511. "type": "number"
  16512. },
  16513. "closeqty": {
  16514. "description": "平仓数量(先建后平操作 需要记录)",
  16515. "type": "integer"
  16516. },
  16517. "closetradeqty": {
  16518. "description": "平仓成交数量(先建后平操作,需要记录)",
  16519. "type": "integer"
  16520. },
  16521. "closeunfreezecharge": {
  16522. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16523. "type": "number"
  16524. },
  16525. "delistingtype": {
  16526. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16527. "type": "integer"
  16528. },
  16529. "enableqty": {
  16530. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16531. "type": "integer"
  16532. },
  16533. "freezecharge": {
  16534. "description": "冻结手续费",
  16535. "type": "number"
  16536. },
  16537. "freezemargin": {
  16538. "description": "冻结保证金(冻结交易金额)",
  16539. "type": "number"
  16540. },
  16541. "goodscode": {
  16542. "description": "商品代码",
  16543. "type": "string"
  16544. },
  16545. "goodsid": {
  16546. "description": "商品ID",
  16547. "type": "integer"
  16548. },
  16549. "goodsname": {
  16550. "description": "商品名称",
  16551. "type": "string"
  16552. },
  16553. "listingselecttype": {
  16554. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16555. "type": "integer"
  16556. },
  16557. "marketid": {
  16558. "description": "市场ID",
  16559. "type": "integer"
  16560. },
  16561. "marketname": {
  16562. "description": "市场名称",
  16563. "type": "string"
  16564. },
  16565. "openfreezecharge": {
  16566. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16567. "type": "number"
  16568. },
  16569. "openqty": {
  16570. "description": "开仓数量(先建后平操作,需要记录)",
  16571. "type": "integer"
  16572. },
  16573. "opentradeqty": {
  16574. "description": "开仓成交数量(先建后平操作,需要记录)",
  16575. "type": "integer"
  16576. },
  16577. "openunfreezecharge": {
  16578. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16579. "type": "number"
  16580. },
  16581. "operatetype": {
  16582. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16583. "type": "integer"
  16584. },
  16585. "operatorid": {
  16586. "description": "登录账号(LoginID)",
  16587. "type": "integer"
  16588. },
  16589. "orderid": {
  16590. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16591. "type": "string"
  16592. },
  16593. "orderprice": {
  16594. "description": "委托价格",
  16595. "type": "number"
  16596. },
  16597. "orderqty": {
  16598. "description": "委托数量",
  16599. "type": "integer"
  16600. },
  16601. "ordersrc": {
  16602. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16603. "type": "integer"
  16604. },
  16605. "orderstatus": {
  16606. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16607. "type": "integer"
  16608. },
  16609. "ordertime": {
  16610. "description": "委托时间",
  16611. "type": "string"
  16612. },
  16613. "preorderid": {
  16614. "description": "关联预埋单号(止盈止损单时填写)",
  16615. "type": "string"
  16616. },
  16617. "pricemode": {
  16618. "description": "取价方式 - 1:市价 2: 限价",
  16619. "type": "integer"
  16620. },
  16621. "relatedid": {
  16622. "description": "关联单号(交割单)",
  16623. "type": "string"
  16624. },
  16625. "tradedate": {
  16626. "description": "交易日(yyyyMMdd)",
  16627. "type": "string"
  16628. },
  16629. "trademode": {
  16630. "description": "交易模式",
  16631. "type": "integer"
  16632. },
  16633. "tradeqty": {
  16634. "description": "成交数量",
  16635. "type": "integer"
  16636. },
  16637. "unfreezecharge": {
  16638. "description": "解冻手续费",
  16639. "type": "number"
  16640. },
  16641. "unfreezemargin": {
  16642. "description": "解冻保证金",
  16643. "type": "number"
  16644. },
  16645. "validtime": {
  16646. "description": "有效期限",
  16647. "type": "string"
  16648. },
  16649. "validtype": {
  16650. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16651. "type": "integer"
  16652. },
  16653. "volumetype": {
  16654. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16655. "type": "integer"
  16656. }
  16657. }
  16658. },
  16659. "order.QueryTradePositionRsp": {
  16660. "type": "object",
  16661. "required": [
  16662. "goodsid"
  16663. ],
  16664. "properties": {
  16665. "accountid": {
  16666. "description": "资金账户",
  16667. "type": "integer"
  16668. },
  16669. "agreeunit": {
  16670. "description": "合约单位",
  16671. "type": "number"
  16672. },
  16673. "averageprice": {
  16674. "description": "持仓均价",
  16675. "type": "number"
  16676. },
  16677. "buyorsell": {
  16678. "description": "方向 - 0:买 1:卖",
  16679. "type": "integer"
  16680. },
  16681. "closetotalqty": {
  16682. "description": "平仓总数量",
  16683. "type": "integer"
  16684. },
  16685. "curholderamount": {
  16686. "description": "当前持仓总金额[商品币种]",
  16687. "type": "number"
  16688. },
  16689. "curpositionqty": {
  16690. "description": "当前持仓总数量",
  16691. "type": "integer"
  16692. },
  16693. "currencyid": {
  16694. "description": "报价货币ID",
  16695. "type": "integer"
  16696. },
  16697. "curtdposition": {
  16698. "description": "期末今日头寸",
  16699. "type": "integer"
  16700. },
  16701. "decimalplace": {
  16702. "description": "报价小数位",
  16703. "type": "integer"
  16704. },
  16705. "enableqty": {
  16706. "description": "可用量",
  16707. "type": "integer"
  16708. },
  16709. "fretdposition": {
  16710. "description": "冻结今日头寸",
  16711. "type": "integer"
  16712. },
  16713. "frozenqty": {
  16714. "description": "持仓冻结数量",
  16715. "type": "integer"
  16716. },
  16717. "goodscode": {
  16718. "description": "商品代码",
  16719. "type": "string"
  16720. },
  16721. "goodsid": {
  16722. "description": "商品Id",
  16723. "type": "integer"
  16724. },
  16725. "goodsname": {
  16726. "description": "商品名称",
  16727. "type": "string"
  16728. },
  16729. "goodunit": {
  16730. "description": "报价单位",
  16731. "type": "string"
  16732. },
  16733. "goodunitid": {
  16734. "description": "报价单位ID",
  16735. "type": "integer"
  16736. },
  16737. "holderamount": {
  16738. "description": "期初持仓总金额[商品币种]",
  16739. "type": "number"
  16740. },
  16741. "marketid": {
  16742. "description": "所属市场ID",
  16743. "type": "integer"
  16744. },
  16745. "openreqqty": {
  16746. "description": "开仓申请数量(用于比较最大持仓数量)",
  16747. "type": "integer"
  16748. },
  16749. "opentotalqty": {
  16750. "description": "开仓总数量",
  16751. "type": "integer"
  16752. },
  16753. "otherfrozenqty": {
  16754. "description": "持仓其他冻结数量(交割冻结)",
  16755. "type": "integer"
  16756. },
  16757. "positionqty": {
  16758. "description": "期初持仓数量",
  16759. "type": "integer"
  16760. },
  16761. "tnqty": {
  16762. "description": "T+N冻结总量",
  16763. "type": "integer"
  16764. },
  16765. "tnusedqty": {
  16766. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16767. "type": "integer"
  16768. },
  16769. "trademode": {
  16770. "description": "交易模式",
  16771. "type": "integer"
  16772. },
  16773. "usedmargin": {
  16774. "description": "占用保证金[商品币种]",
  16775. "type": "number"
  16776. }
  16777. }
  16778. },
  16779. "quote.HistoryData": {
  16780. "type": "object",
  16781. "properties": {
  16782. "c": {
  16783. "description": "收盘价",
  16784. "type": "number"
  16785. },
  16786. "f": {
  16787. "description": "是否补充数据",
  16788. "type": "boolean"
  16789. },
  16790. "h": {
  16791. "description": "最高价",
  16792. "type": "number"
  16793. },
  16794. "hv": {
  16795. "description": "持仓量",
  16796. "type": "integer"
  16797. },
  16798. "l": {
  16799. "description": "最低价",
  16800. "type": "number"
  16801. },
  16802. "o": {
  16803. "description": "开盘价",
  16804. "type": "number"
  16805. },
  16806. "s": {
  16807. "description": "结算价,日线周期(包括)以上才有",
  16808. "type": "number"
  16809. },
  16810. "ts": {
  16811. "description": "时间",
  16812. "type": "string"
  16813. },
  16814. "tt": {
  16815. "description": "总金额",
  16816. "type": "number"
  16817. },
  16818. "tv": {
  16819. "description": "总量",
  16820. "type": "integer"
  16821. }
  16822. }
  16823. },
  16824. "quote.QueryQuoteDayRsp": {
  16825. "type": "object",
  16826. "properties": {
  16827. "ask": {
  16828. "description": "卖1",
  16829. "type": "number"
  16830. },
  16831. "ask10": {
  16832. "description": "卖10",
  16833. "type": "number"
  16834. },
  16835. "ask2": {
  16836. "description": "卖2",
  16837. "type": "number"
  16838. },
  16839. "ask3": {
  16840. "description": "卖3",
  16841. "type": "number"
  16842. },
  16843. "ask4": {
  16844. "description": "卖4",
  16845. "type": "number"
  16846. },
  16847. "ask5": {
  16848. "description": "卖5",
  16849. "type": "number"
  16850. },
  16851. "ask6": {
  16852. "description": "卖6",
  16853. "type": "number"
  16854. },
  16855. "ask7": {
  16856. "description": "卖7",
  16857. "type": "number"
  16858. },
  16859. "ask8": {
  16860. "description": "卖8",
  16861. "type": "number"
  16862. },
  16863. "ask9": {
  16864. "description": "卖9",
  16865. "type": "number"
  16866. },
  16867. "askorderid": {
  16868. "description": "卖单号1",
  16869. "type": "integer"
  16870. },
  16871. "askorderid2": {
  16872. "description": "卖单号2",
  16873. "type": "integer"
  16874. },
  16875. "askorderid3": {
  16876. "description": "卖单号3",
  16877. "type": "integer"
  16878. },
  16879. "askorderid4": {
  16880. "description": "卖单号4",
  16881. "type": "integer"
  16882. },
  16883. "askorderid5": {
  16884. "description": "卖单号5",
  16885. "type": "integer"
  16886. },
  16887. "askordervolume": {
  16888. "description": "卖单量1",
  16889. "type": "integer"
  16890. },
  16891. "askordervolume10": {
  16892. "description": "卖单量10",
  16893. "type": "integer"
  16894. },
  16895. "askordervolume2": {
  16896. "description": "卖单量2",
  16897. "type": "integer"
  16898. },
  16899. "askordervolume3": {
  16900. "description": "卖单量3",
  16901. "type": "integer"
  16902. },
  16903. "askordervolume4": {
  16904. "description": "卖单量4",
  16905. "type": "integer"
  16906. },
  16907. "askordervolume5": {
  16908. "description": "卖单量5",
  16909. "type": "integer"
  16910. },
  16911. "askordervolume6": {
  16912. "description": "卖单量6",
  16913. "type": "integer"
  16914. },
  16915. "askordervolume7": {
  16916. "description": "卖单量7",
  16917. "type": "integer"
  16918. },
  16919. "askordervolume8": {
  16920. "description": "卖单量8",
  16921. "type": "integer"
  16922. },
  16923. "askordervolume9": {
  16924. "description": "卖单量9",
  16925. "type": "integer"
  16926. },
  16927. "askqueueinfo": {
  16928. "description": "大利市卖港股用",
  16929. "type": "string"
  16930. },
  16931. "askvolume": {
  16932. "description": "卖量1",
  16933. "type": "integer"
  16934. },
  16935. "askvolume10": {
  16936. "description": "卖量10",
  16937. "type": "integer"
  16938. },
  16939. "askvolume2": {
  16940. "description": "卖量2",
  16941. "type": "integer"
  16942. },
  16943. "askvolume3": {
  16944. "description": "卖量3",
  16945. "type": "integer"
  16946. },
  16947. "askvolume4": {
  16948. "description": "卖量4",
  16949. "type": "integer"
  16950. },
  16951. "askvolume5": {
  16952. "description": "卖量5",
  16953. "type": "integer"
  16954. },
  16955. "askvolume6": {
  16956. "description": "卖量6",
  16957. "type": "integer"
  16958. },
  16959. "askvolume7": {
  16960. "description": "卖量7",
  16961. "type": "integer"
  16962. },
  16963. "askvolume8": {
  16964. "description": "卖量8",
  16965. "type": "integer"
  16966. },
  16967. "askvolume9": {
  16968. "description": "卖量9",
  16969. "type": "integer"
  16970. },
  16971. "averageprice": {
  16972. "description": "均价",
  16973. "type": "number"
  16974. },
  16975. "bid": {
  16976. "description": "买1",
  16977. "type": "number"
  16978. },
  16979. "bid10": {
  16980. "description": "买10",
  16981. "type": "number"
  16982. },
  16983. "bid2": {
  16984. "description": "买2",
  16985. "type": "number"
  16986. },
  16987. "bid3": {
  16988. "description": "买3",
  16989. "type": "number"
  16990. },
  16991. "bid4": {
  16992. "description": "买4",
  16993. "type": "number"
  16994. },
  16995. "bid5": {
  16996. "description": "买5",
  16997. "type": "number"
  16998. },
  16999. "bid6": {
  17000. "description": "买6",
  17001. "type": "number"
  17002. },
  17003. "bid7": {
  17004. "description": "买7",
  17005. "type": "number"
  17006. },
  17007. "bid8": {
  17008. "description": "买8",
  17009. "type": "number"
  17010. },
  17011. "bid9": {
  17012. "description": "买9",
  17013. "type": "number"
  17014. },
  17015. "bidorderid": {
  17016. "description": "买单号1",
  17017. "type": "integer"
  17018. },
  17019. "bidorderid2": {
  17020. "description": "买单号2",
  17021. "type": "integer"
  17022. },
  17023. "bidorderid3": {
  17024. "description": "买单号3",
  17025. "type": "integer"
  17026. },
  17027. "bidorderid4": {
  17028. "description": "买单号4",
  17029. "type": "integer"
  17030. },
  17031. "bidorderid5": {
  17032. "description": "买单号5",
  17033. "type": "integer"
  17034. },
  17035. "bidordervolume": {
  17036. "description": "买单量1",
  17037. "type": "integer"
  17038. },
  17039. "bidordervolume10": {
  17040. "description": "买单量10",
  17041. "type": "integer"
  17042. },
  17043. "bidordervolume2": {
  17044. "description": "买单量2",
  17045. "type": "integer"
  17046. },
  17047. "bidordervolume3": {
  17048. "description": "买单量3",
  17049. "type": "integer"
  17050. },
  17051. "bidordervolume4": {
  17052. "description": "买单量4",
  17053. "type": "integer"
  17054. },
  17055. "bidordervolume5": {
  17056. "description": "买单量5",
  17057. "type": "integer"
  17058. },
  17059. "bidordervolume6": {
  17060. "description": "买单量6",
  17061. "type": "integer"
  17062. },
  17063. "bidordervolume7": {
  17064. "description": "买单量7",
  17065. "type": "integer"
  17066. },
  17067. "bidordervolume8": {
  17068. "description": "买单量8",
  17069. "type": "integer"
  17070. },
  17071. "bidordervolume9": {
  17072. "description": "买单量9",
  17073. "type": "integer"
  17074. },
  17075. "bidqueueinfo": {
  17076. "description": "大利市买港股用",
  17077. "type": "string"
  17078. },
  17079. "bidvolume": {
  17080. "description": "买量1",
  17081. "type": "integer"
  17082. },
  17083. "bidvolume10": {
  17084. "description": "买量10",
  17085. "type": "integer"
  17086. },
  17087. "bidvolume2": {
  17088. "description": "买量2",
  17089. "type": "integer"
  17090. },
  17091. "bidvolume3": {
  17092. "description": "买量3",
  17093. "type": "integer"
  17094. },
  17095. "bidvolume4": {
  17096. "description": "买量4",
  17097. "type": "integer"
  17098. },
  17099. "bidvolume5": {
  17100. "description": "买量5",
  17101. "type": "integer"
  17102. },
  17103. "bidvolume6": {
  17104. "description": "买量6",
  17105. "type": "integer"
  17106. },
  17107. "bidvolume7": {
  17108. "description": "买量7",
  17109. "type": "integer"
  17110. },
  17111. "bidvolume8": {
  17112. "description": "买量8",
  17113. "type": "integer"
  17114. },
  17115. "bidvolume9": {
  17116. "description": "买量9",
  17117. "type": "integer"
  17118. },
  17119. "calloptionpremiums": {
  17120. "description": "认购期权1",
  17121. "type": "integer"
  17122. },
  17123. "calloptionpremiums2": {
  17124. "description": "认购期权2",
  17125. "type": "integer"
  17126. },
  17127. "calloptionpremiums3": {
  17128. "description": "认购期权3",
  17129. "type": "integer"
  17130. },
  17131. "calloptionpremiums4": {
  17132. "description": "认购期权4",
  17133. "type": "integer"
  17134. },
  17135. "calloptionpremiums5": {
  17136. "description": "认购期权5",
  17137. "type": "integer"
  17138. },
  17139. "cleartime": {
  17140. "description": "清盘时间",
  17141. "type": "integer"
  17142. },
  17143. "exchangecode": {
  17144. "description": "交易所代码",
  17145. "type": "integer"
  17146. },
  17147. "exchangedate": {
  17148. "description": "交易日",
  17149. "type": "integer"
  17150. },
  17151. "goodscode": {
  17152. "description": "商品代码",
  17153. "type": "string"
  17154. },
  17155. "grepmarketprice": {
  17156. "description": "暗盘价 港股专用",
  17157. "type": "number"
  17158. },
  17159. "highest": {
  17160. "description": "最高价",
  17161. "type": "number"
  17162. },
  17163. "holdincrement": {
  17164. "description": "单笔持仓",
  17165. "type": "integer"
  17166. },
  17167. "holdvolume": {
  17168. "description": "持仓",
  17169. "type": "integer"
  17170. },
  17171. "iep": {
  17172. "description": "平衡价 港股专用",
  17173. "type": "number"
  17174. },
  17175. "iev": {
  17176. "description": "平衡量 港股专用",
  17177. "type": "number"
  17178. },
  17179. "inventory": {
  17180. "description": "库存",
  17181. "type": "integer"
  17182. },
  17183. "iscleared": {
  17184. "description": "是否清盘标志",
  17185. "type": "integer"
  17186. },
  17187. "issettled": {
  17188. "description": "是否结算标志",
  17189. "type": "integer"
  17190. },
  17191. "last": {
  17192. "description": "最新价",
  17193. "type": "number"
  17194. },
  17195. "lastlot": {
  17196. "description": "最新成交手数",
  17197. "type": "integer"
  17198. },
  17199. "lasttime": {
  17200. "description": "行情时间(只有现价变化行情时间才变化)",
  17201. "type": "string"
  17202. },
  17203. "lastturnover": {
  17204. "description": "最新成交金额",
  17205. "type": "number"
  17206. },
  17207. "lastvolume": {
  17208. "description": "最新成交量",
  17209. "type": "integer"
  17210. },
  17211. "limitdown": {
  17212. "description": "跌停价",
  17213. "type": "number"
  17214. },
  17215. "limitup": {
  17216. "description": "涨停价",
  17217. "type": "number"
  17218. },
  17219. "lowest": {
  17220. "description": "最低价",
  17221. "type": "number"
  17222. },
  17223. "nontotalholdervolume": {
  17224. "description": "非交易持仓量",
  17225. "type": "integer"
  17226. },
  17227. "nontotallot": {
  17228. "description": "非交易总手数",
  17229. "type": "integer"
  17230. },
  17231. "nontotalturnover": {
  17232. "description": "非交易总金额",
  17233. "type": "integer"
  17234. },
  17235. "nontotalvolume": {
  17236. "description": "非交易总量",
  17237. "type": "integer"
  17238. },
  17239. "opened": {
  17240. "description": "开盘价",
  17241. "type": "number"
  17242. },
  17243. "opentime": {
  17244. "description": "开盘时间",
  17245. "type": "string"
  17246. },
  17247. "orderid": {
  17248. "description": "序号",
  17249. "type": "integer"
  17250. },
  17251. "preclose": {
  17252. "description": "昨收",
  17253. "type": "number"
  17254. },
  17255. "preholdvolume": {
  17256. "description": "昨持仓",
  17257. "type": "integer"
  17258. },
  17259. "presettle": {
  17260. "description": "昨结价",
  17261. "type": "number"
  17262. },
  17263. "publictradetype": {
  17264. "description": "公共交易标志类型 港股专用",
  17265. "type": "string"
  17266. },
  17267. "putoptionpremiums": {
  17268. "description": "认沽期权1",
  17269. "type": "integer"
  17270. },
  17271. "putoptionpremiums2": {
  17272. "description": "认沽期权2",
  17273. "type": "integer"
  17274. },
  17275. "putoptionpremiums3": {
  17276. "description": "认沽期权3",
  17277. "type": "integer"
  17278. },
  17279. "putoptionpremiums4": {
  17280. "description": "认沽期权4",
  17281. "type": "integer"
  17282. },
  17283. "putoptionpremiums5": {
  17284. "description": "认沽期权5",
  17285. "type": "integer"
  17286. },
  17287. "settle": {
  17288. "description": "结算价",
  17289. "type": "number"
  17290. },
  17291. "strikeprice": {
  17292. "description": "发行价",
  17293. "type": "number"
  17294. },
  17295. "totalaskvolume": {
  17296. "description": "内盘",
  17297. "type": "integer"
  17298. },
  17299. "totalbidvolume": {
  17300. "description": "外盘",
  17301. "type": "integer"
  17302. },
  17303. "totallot": {
  17304. "description": "总手数",
  17305. "type": "integer"
  17306. },
  17307. "totalturnover": {
  17308. "description": "总金额",
  17309. "type": "number"
  17310. },
  17311. "totalvolume": {
  17312. "description": "总量",
  17313. "type": "integer"
  17314. },
  17315. "utclasttime": {
  17316. "description": "utc的行情时间",
  17317. "type": "string"
  17318. }
  17319. }
  17320. },
  17321. "quote.QueryTSDataRsp": {
  17322. "type": "object",
  17323. "properties": {
  17324. "decimalPlace": {
  17325. "description": "小数位",
  17326. "type": "integer"
  17327. },
  17328. "endTime": {
  17329. "description": "结束时间",
  17330. "type": "string"
  17331. },
  17332. "goodsCode": {
  17333. "description": "商品代码",
  17334. "type": "string"
  17335. },
  17336. "historyDatas": {
  17337. "description": "历史数据",
  17338. "type": "array",
  17339. "items": {
  17340. "$ref": "#/definitions/quote.HistoryData"
  17341. }
  17342. },
  17343. "outGoodsCode": {
  17344. "description": "外部商品代码",
  17345. "type": "string"
  17346. },
  17347. "preSettle": {
  17348. "description": "昨结",
  17349. "type": "number"
  17350. },
  17351. "startTime": {
  17352. "description": "开始时间",
  17353. "type": "string"
  17354. },
  17355. "tradeDate": {
  17356. "description": "交易日",
  17357. "type": "string"
  17358. }
  17359. }
  17360. },
  17361. "szdz.QueryConvertLogRsp": {
  17362. "type": "object",
  17363. "required": [
  17364. "logid"
  17365. ],
  17366. "properties": {
  17367. "accountid": {
  17368. "description": "资金账户ID",
  17369. "type": "integer"
  17370. },
  17371. "clientticket": {
  17372. "description": "客户端流水号",
  17373. "type": "string"
  17374. },
  17375. "converttype": {
  17376. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17377. "type": "integer"
  17378. },
  17379. "createtime": {
  17380. "description": "记账时间",
  17381. "type": "string"
  17382. },
  17383. "daymaxvalue": {
  17384. "description": "配置当日最大转入限制",
  17385. "type": "number"
  17386. },
  17387. "daymaxvalue2": {
  17388. "description": "配置当日最大转入限制(转入)",
  17389. "type": "number"
  17390. },
  17391. "goodscode": {
  17392. "description": "商品代码",
  17393. "type": "string"
  17394. },
  17395. "goodsname": {
  17396. "description": "商品名称",
  17397. "type": "string"
  17398. },
  17399. "handlestatus": {
  17400. "description": "处理状态",
  17401. "type": "integer"
  17402. },
  17403. "innergoodsid": {
  17404. "description": "内部商品ID",
  17405. "type": "integer"
  17406. },
  17407. "inratio": {
  17408. "description": "配置转入比值",
  17409. "type": "integer"
  17410. },
  17411. "invalue": {
  17412. "description": "目标值",
  17413. "type": "number"
  17414. },
  17415. "logid": {
  17416. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17417. "type": "integer"
  17418. },
  17419. "mobile": {
  17420. "description": "手机号码(加密存储)",
  17421. "type": "string"
  17422. },
  17423. "outergoodscode": {
  17424. "description": "外部商品代码[JD\\PD]",
  17425. "type": "string"
  17426. },
  17427. "outratio": {
  17428. "description": "配置转出比值",
  17429. "type": "integer"
  17430. },
  17431. "outvalue": {
  17432. "description": "源值",
  17433. "type": "number"
  17434. },
  17435. "pddecimalplace": {
  17436. "description": "PD小数位",
  17437. "type": "integer"
  17438. },
  17439. "qty": {
  17440. "description": "数量",
  17441. "type": "string"
  17442. },
  17443. "remark": {
  17444. "description": "备注",
  17445. "type": "string"
  17446. },
  17447. "sessionid": {
  17448. "description": "会话ID",
  17449. "type": "integer"
  17450. },
  17451. "timemaxvalue": {
  17452. "description": "配置单次最大转入限制",
  17453. "type": "number"
  17454. },
  17455. "timemaxvalue2": {
  17456. "description": "配置单次最大转入限制(转入)",
  17457. "type": "number"
  17458. },
  17459. "timeminvalue": {
  17460. "description": "配置单次最小数量限制",
  17461. "type": "number"
  17462. },
  17463. "timeminvalue2": {
  17464. "description": "配置单次最小数量限制(转入)",
  17465. "type": "number"
  17466. },
  17467. "tradedate": {
  17468. "description": "交易日(yyyyMMdd)",
  17469. "type": "string"
  17470. },
  17471. "userid": {
  17472. "description": "用户ID",
  17473. "type": "integer"
  17474. }
  17475. }
  17476. },
  17477. "szdz.QueryGoodsPickupRsp": {
  17478. "type": "object",
  17479. "required": [
  17480. "takeorderid"
  17481. ],
  17482. "properties": {
  17483. "accountid": {
  17484. "description": "账户ID",
  17485. "type": "integer"
  17486. },
  17487. "address": {
  17488. "description": "提货人详细地址",
  17489. "type": "string"
  17490. },
  17491. "auditer": {
  17492. "description": "审核人",
  17493. "type": "integer"
  17494. },
  17495. "audittime": {
  17496. "description": "审核时间",
  17497. "type": "string"
  17498. },
  17499. "cardnum": {
  17500. "description": "提货人证件号码",
  17501. "type": "string"
  17502. },
  17503. "cardtypeid": {
  17504. "description": "提货人证件类型",
  17505. "type": "integer"
  17506. },
  17507. "checkremark": {
  17508. "description": "审核备注",
  17509. "type": "string"
  17510. },
  17511. "goodscode": {
  17512. "description": "商品代码",
  17513. "type": "string"
  17514. },
  17515. "goodsid": {
  17516. "description": "商品ID",
  17517. "type": "integer"
  17518. },
  17519. "goodsname": {
  17520. "description": "商品名称",
  17521. "type": "string"
  17522. },
  17523. "handlestatus": {
  17524. "description": "处理状态",
  17525. "type": "integer"
  17526. },
  17527. "marketid": {
  17528. "description": "市场ID",
  17529. "type": "integer"
  17530. },
  17531. "phonenum": {
  17532. "description": "提货人联系方式",
  17533. "type": "string"
  17534. },
  17535. "qty": {
  17536. "description": "提货数量",
  17537. "type": "number"
  17538. },
  17539. "recivername": {
  17540. "description": "提货人姓名",
  17541. "type": "string"
  17542. },
  17543. "reqtime": {
  17544. "description": "更新时间",
  17545. "type": "string"
  17546. },
  17547. "takemode": {
  17548. "description": "提货方式 - 2:自提 3:配送",
  17549. "type": "integer"
  17550. },
  17551. "takeorderid": {
  17552. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17553. "type": "string"
  17554. },
  17555. "takeorderstatus": {
  17556. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17557. "type": "integer"
  17558. },
  17559. "takeremark": {
  17560. "description": "提货备注",
  17561. "type": "string"
  17562. },
  17563. "tradedate": {
  17564. "description": "交易日(yyyyMMdd)",
  17565. "type": "string"
  17566. },
  17567. "userid": {
  17568. "description": "用户ID",
  17569. "type": "integer"
  17570. }
  17571. }
  17572. },
  17573. "szdz.QueryRecieptOrderRsp": {
  17574. "type": "object",
  17575. "required": [
  17576. "ordertime"
  17577. ],
  17578. "properties": {
  17579. "accountName": {
  17580. "description": "所属账号名称(已脱敏)",
  17581. "type": "string"
  17582. },
  17583. "accountid": {
  17584. "description": "资金账号",
  17585. "type": "integer"
  17586. },
  17587. "buyorsell": {
  17588. "description": "方向 - 0:买 1:卖",
  17589. "type": "integer"
  17590. },
  17591. "enableqty": {
  17592. "description": "可摘数量",
  17593. "type": "integer"
  17594. },
  17595. "goodscode": {
  17596. "description": "商品代码",
  17597. "type": "string"
  17598. },
  17599. "goodsid": {
  17600. "description": "商品ID",
  17601. "type": "integer"
  17602. },
  17603. "goodsname": {
  17604. "description": "商品名称",
  17605. "type": "string"
  17606. },
  17607. "orderid": {
  17608. "description": "委托单号",
  17609. "type": "string"
  17610. },
  17611. "orderprice": {
  17612. "description": "委托价格",
  17613. "type": "number"
  17614. },
  17615. "ordertime": {
  17616. "description": "委托时间",
  17617. "type": "string"
  17618. },
  17619. "tradedate": {
  17620. "description": "交易日(yyyyMMdd)",
  17621. "type": "string"
  17622. }
  17623. }
  17624. },
  17625. "szdz.QuerySZDZTradePositionRsp": {
  17626. "type": "object",
  17627. "properties": {
  17628. "accountid": {
  17629. "description": "账号Id",
  17630. "type": "integer"
  17631. },
  17632. "agreeunit": {
  17633. "description": "合约单位",
  17634. "type": "number"
  17635. },
  17636. "averageprice": {
  17637. "description": "持仓均价",
  17638. "type": "number"
  17639. },
  17640. "buyorsell": {
  17641. "description": "方向 - 0:买 1:卖",
  17642. "type": "integer"
  17643. },
  17644. "closetotalqty": {
  17645. "description": "平仓总数量",
  17646. "type": "integer"
  17647. },
  17648. "curholderamount": {
  17649. "description": "当前持仓总金额",
  17650. "type": "number"
  17651. },
  17652. "curpositionqty": {
  17653. "description": "当前持仓总数量",
  17654. "type": "integer"
  17655. },
  17656. "currencyid": {
  17657. "description": "报价货币ID",
  17658. "type": "integer"
  17659. },
  17660. "curtdposition": {
  17661. "description": "期末今日头寸",
  17662. "type": "integer"
  17663. },
  17664. "decimalplace": {
  17665. "description": "报价小数位",
  17666. "type": "integer"
  17667. },
  17668. "enableqty": {
  17669. "description": "可用量",
  17670. "type": "integer"
  17671. },
  17672. "fretdposition": {
  17673. "description": "冻结今日头寸",
  17674. "type": "integer"
  17675. },
  17676. "frozenqty": {
  17677. "description": "持仓冻结数量",
  17678. "type": "integer"
  17679. },
  17680. "goodscode": {
  17681. "description": "商品代码(内部)",
  17682. "type": "string"
  17683. },
  17684. "goodsid": {
  17685. "description": "商品Id",
  17686. "type": "integer"
  17687. },
  17688. "goodsname": {
  17689. "description": "商品名称",
  17690. "type": "string"
  17691. },
  17692. "goodunit": {
  17693. "description": "报价单位",
  17694. "type": "string"
  17695. },
  17696. "goodunitid": {
  17697. "description": "报价单位ID",
  17698. "type": "integer"
  17699. },
  17700. "holderamount": {
  17701. "description": "期初持仓总金额",
  17702. "type": "number"
  17703. },
  17704. "marketid": {
  17705. "description": "市场ID",
  17706. "type": "integer"
  17707. },
  17708. "openreqqty": {
  17709. "description": "开仓申请数量",
  17710. "type": "integer"
  17711. },
  17712. "opentotalqty": {
  17713. "description": "开仓总数量",
  17714. "type": "integer"
  17715. },
  17716. "otherfrozenqty": {
  17717. "description": "持仓其他冻结数量(交割冻结)",
  17718. "type": "integer"
  17719. },
  17720. "positionqty": {
  17721. "description": "期初持仓数量",
  17722. "type": "integer"
  17723. },
  17724. "szdz3freezqty": {
  17725. "description": "尚志大宗转换冻结总数量",
  17726. "type": "integer"
  17727. },
  17728. "tnqty": {
  17729. "description": "T+N冻结总量",
  17730. "type": "integer"
  17731. },
  17732. "tnusedqty": {
  17733. "description": "T+N使用量",
  17734. "type": "integer"
  17735. },
  17736. "trademode": {
  17737. "description": "交易模式",
  17738. "type": "integer"
  17739. },
  17740. "usedmargin": {
  17741. "description": "占用保证金",
  17742. "type": "number"
  17743. }
  17744. }
  17745. },
  17746. "taaccount.QueryAmountLogRsp": {
  17747. "type": "object",
  17748. "required": [
  17749. "accountid",
  17750. "amount",
  17751. "amountadjusttype",
  17752. "autoid",
  17753. "balance",
  17754. "createtime",
  17755. "currentbalance",
  17756. "operatetype"
  17757. ],
  17758. "properties": {
  17759. "OPERATETYPENAME": {
  17760. "description": "资金操作类型名称",
  17761. "type": "string"
  17762. },
  17763. "accountid": {
  17764. "description": "资金账户ID",
  17765. "type": "integer"
  17766. },
  17767. "agoodscode": {
  17768. "description": "竞拍商品代码",
  17769. "type": "string"
  17770. },
  17771. "agoodsname": {
  17772. "description": "竞拍商品名称",
  17773. "type": "string"
  17774. },
  17775. "amount": {
  17776. "description": "资金金额",
  17777. "type": "number"
  17778. },
  17779. "amountadjusttype": {
  17780. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17781. "type": "integer"
  17782. },
  17783. "autoid": {
  17784. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17785. "type": "integer"
  17786. },
  17787. "balance": {
  17788. "description": "期初余额",
  17789. "type": "number"
  17790. },
  17791. "businesscode": {
  17792. "description": "业务编号",
  17793. "type": "integer"
  17794. },
  17795. "createtime": {
  17796. "description": "发生时间",
  17797. "type": "string"
  17798. },
  17799. "currencyid": {
  17800. "description": "币种ID",
  17801. "type": "integer"
  17802. },
  17803. "currentbalance": {
  17804. "description": "期末余额(变动后金额)",
  17805. "type": "number"
  17806. },
  17807. "dgoodscode": {
  17808. "description": "交割商品代码",
  17809. "type": "string"
  17810. },
  17811. "dgoodsname": {
  17812. "description": "交割商品名称",
  17813. "type": "string"
  17814. },
  17815. "goodscode": {
  17816. "description": "商品代码",
  17817. "type": "string"
  17818. },
  17819. "goodsid": {
  17820. "description": "商品ID",
  17821. "type": "integer"
  17822. },
  17823. "goodsname": {
  17824. "description": "商品名称",
  17825. "type": "string"
  17826. },
  17827. "marketid": {
  17828. "description": "市场ID",
  17829. "type": "integer"
  17830. },
  17831. "marketname": {
  17832. "description": "市场名称",
  17833. "type": "string"
  17834. },
  17835. "moneyticket": {
  17836. "description": "资金流水号:银行端流水号",
  17837. "type": "integer"
  17838. },
  17839. "operatetype": {
  17840. "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:营销收款",
  17841. "type": "integer"
  17842. },
  17843. "relationorderid": {
  17844. "description": "关联单号",
  17845. "type": "string"
  17846. },
  17847. "remark": {
  17848. "description": "备注",
  17849. "type": "string"
  17850. },
  17851. "trademode": {
  17852. "description": "交易模式",
  17853. "type": "integer"
  17854. }
  17855. }
  17856. },
  17857. "taaccount.QueryHisAmountLogRsp": {
  17858. "type": "object",
  17859. "required": [
  17860. "accountid",
  17861. "amount",
  17862. "amountadjusttype",
  17863. "autoid",
  17864. "balance",
  17865. "createtime",
  17866. "currentbalance",
  17867. "histradedate",
  17868. "operatetype"
  17869. ],
  17870. "properties": {
  17871. "OPERATETYPENAME": {
  17872. "description": "资金操作类型名称",
  17873. "type": "string"
  17874. },
  17875. "accountid": {
  17876. "description": "资金账户ID",
  17877. "type": "integer"
  17878. },
  17879. "agoodscode": {
  17880. "description": "竞拍商品代码",
  17881. "type": "string"
  17882. },
  17883. "agoodsname": {
  17884. "description": "竞拍商品名称",
  17885. "type": "string"
  17886. },
  17887. "amount": {
  17888. "description": "资金金额",
  17889. "type": "number"
  17890. },
  17891. "amountadjusttype": {
  17892. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17893. "type": "integer"
  17894. },
  17895. "autoid": {
  17896. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17897. "type": "integer"
  17898. },
  17899. "balance": {
  17900. "description": "期初余额",
  17901. "type": "number"
  17902. },
  17903. "businesscode": {
  17904. "description": "业务编号",
  17905. "type": "integer"
  17906. },
  17907. "createtime": {
  17908. "description": "发生时间",
  17909. "type": "string"
  17910. },
  17911. "currencyid": {
  17912. "description": "币种ID",
  17913. "type": "integer"
  17914. },
  17915. "currentbalance": {
  17916. "description": "期末余额(变动后金额)",
  17917. "type": "number"
  17918. },
  17919. "dgoodscode": {
  17920. "description": "交割商品代码",
  17921. "type": "string"
  17922. },
  17923. "dgoodsname": {
  17924. "description": "交割商品名称",
  17925. "type": "string"
  17926. },
  17927. "goodscode": {
  17928. "description": "商品代码",
  17929. "type": "string"
  17930. },
  17931. "goodsid": {
  17932. "description": "商品ID",
  17933. "type": "integer"
  17934. },
  17935. "goodsname": {
  17936. "description": "商品名称",
  17937. "type": "string"
  17938. },
  17939. "histradedate": {
  17940. "description": "历史交易日",
  17941. "type": "string"
  17942. },
  17943. "isvaliddata": {
  17944. "description": "是否有效 - 0:无效 1:有效",
  17945. "type": "integer"
  17946. },
  17947. "marketid": {
  17948. "description": "市场ID",
  17949. "type": "integer"
  17950. },
  17951. "marketname": {
  17952. "description": "市场名称",
  17953. "type": "string"
  17954. },
  17955. "moneyticket": {
  17956. "description": "资金流水号:银行端流水号",
  17957. "type": "integer"
  17958. },
  17959. "operatetype": {
  17960. "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:营销收款",
  17961. "type": "integer"
  17962. },
  17963. "relationorderid": {
  17964. "description": "关联单号",
  17965. "type": "string"
  17966. },
  17967. "remark": {
  17968. "description": "备注",
  17969. "type": "string"
  17970. },
  17971. "trademode": {
  17972. "description": "交易模式",
  17973. "type": "integer"
  17974. }
  17975. }
  17976. },
  17977. "trade.QueryRecieptOrderRsp": {
  17978. "type": "object",
  17979. "required": [
  17980. "ordertime"
  17981. ],
  17982. "properties": {
  17983. "accountName": {
  17984. "description": "所属账号名称(已脱敏)",
  17985. "type": "string"
  17986. },
  17987. "accountid": {
  17988. "description": "资金账号",
  17989. "type": "integer"
  17990. },
  17991. "buyorsell": {
  17992. "description": "方向 - 0:买 1:卖",
  17993. "type": "integer"
  17994. },
  17995. "enableqty": {
  17996. "description": "可摘数量",
  17997. "type": "integer"
  17998. },
  17999. "goodscode": {
  18000. "description": "商品代码",
  18001. "type": "string"
  18002. },
  18003. "goodsid": {
  18004. "description": "商品ID",
  18005. "type": "integer"
  18006. },
  18007. "goodsname": {
  18008. "description": "商品名称",
  18009. "type": "string"
  18010. },
  18011. "orderid": {
  18012. "description": "委托单号",
  18013. "type": "string"
  18014. },
  18015. "orderprice": {
  18016. "description": "委托价格",
  18017. "type": "number"
  18018. },
  18019. "ordertime": {
  18020. "description": "委托时间",
  18021. "type": "string"
  18022. },
  18023. "tradedate": {
  18024. "description": "交易日(yyyyMMdd)",
  18025. "type": "string"
  18026. }
  18027. }
  18028. }
  18029. },
  18030. "securityDefinitions": {
  18031. "ApiKeyAuth": {
  18032. "type": "apiKey",
  18033. "name": "Authorization",
  18034. "in": "header"
  18035. }
  18036. }
  18037. }`
  18038. type swaggerInfo struct {
  18039. Version string
  18040. Host string
  18041. BasePath string
  18042. Schemes []string
  18043. Title string
  18044. Description string
  18045. }
  18046. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18047. var SwaggerInfo = swaggerInfo{
  18048. Version: "1.0",
  18049. Host: "",
  18050. BasePath: "/api",
  18051. Schemes: []string{},
  18052. Title: "MTP2.0 查询服务 API",
  18053. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18054. }
  18055. type s struct{}
  18056. func (s *s) ReadDoc() string {
  18057. sInfo := SwaggerInfo
  18058. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18059. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18060. "marshal": func(v interface{}) string {
  18061. a, _ := json.Marshal(v)
  18062. return string(a)
  18063. },
  18064. }).Parse(doc)
  18065. if err != nil {
  18066. return doc
  18067. }
  18068. var tpl bytes.Buffer
  18069. if err := t.Execute(&tpl, sInfo); err != nil {
  18070. return doc
  18071. }
  18072. return tpl.String()
  18073. }
  18074. func init() {
  18075. swag.Register(swag.Name, &s{})
  18076. }