docs.go 650 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059
  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. "responses": {
  612. "200": {
  613. "description": "OK",
  614. "schema": {
  615. "$ref": "#/definitions/common.QueryNoticeRsp"
  616. }
  617. },
  618. "500": {
  619. "description": "Internal Server Error",
  620. "schema": {
  621. "$ref": "#/definitions/app.Response"
  622. }
  623. }
  624. }
  625. }
  626. },
  627. "/Common/QueryProvincesAndCities": {
  628. "get": {
  629. "produces": [
  630. "application/json"
  631. ],
  632. "tags": [
  633. "通用服务"
  634. ],
  635. "summary": "查询省市信息(不包括区)",
  636. "parameters": [
  637. {
  638. "type": "integer",
  639. "description": "省ID",
  640. "name": "provinceID",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Common/QueryTableDefine": {
  661. "get": {
  662. "produces": [
  663. "application/json"
  664. ],
  665. "tags": [
  666. "通用服务"
  667. ],
  668. "summary": "查询交易端列表头信息",
  669. "parameters": [
  670. {
  671. "type": "string",
  672. "description": "表key",
  673. "name": "tableKey",
  674. "in": "query"
  675. },
  676. {
  677. "type": "integer",
  678. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  679. "name": "tableType",
  680. "in": "query"
  681. }
  682. ],
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/common.QueryTableDefineRsp"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/QueryTraderMenu": {
  700. "get": {
  701. "produces": [
  702. "application/json"
  703. ],
  704. "tags": [
  705. "通用服务"
  706. ],
  707. "summary": "查询交易端菜单",
  708. "parameters": [
  709. {
  710. "type": "integer",
  711. "description": "登录账号",
  712. "name": "loginid",
  713. "in": "query",
  714. "required": true
  715. }
  716. ],
  717. "responses": {
  718. "200": {
  719. "description": "OK",
  720. "schema": {
  721. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  722. }
  723. },
  724. "500": {
  725. "description": "Internal Server Error",
  726. "schema": {
  727. "$ref": "#/definitions/app.Response"
  728. }
  729. }
  730. }
  731. }
  732. },
  733. "/Delivery/QueryDeliveryRelation": {
  734. "get": {
  735. "security": [
  736. {
  737. "ApiKeyAuth": []
  738. }
  739. ],
  740. "produces": [
  741. "application/json"
  742. ],
  743. "tags": [
  744. "交割服务"
  745. ],
  746. "summary": "查询商品交割关系表",
  747. "parameters": [
  748. {
  749. "type": "integer",
  750. "description": "商品ID",
  751. "name": "goodsid",
  752. "in": "query"
  753. },
  754. {
  755. "type": "integer",
  756. "description": "品种ID",
  757. "name": "deliverygoodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "市场ID",
  763. "name": "marketid",
  764. "in": "query"
  765. }
  766. ],
  767. "responses": {
  768. "200": {
  769. "description": "OK",
  770. "schema": {
  771. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  772. }
  773. },
  774. "500": {
  775. "description": "Internal Server Error",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. }
  780. }
  781. }
  782. },
  783. "/Ermcp/GetErmcpGoods": {
  784. "get": {
  785. "security": [
  786. {
  787. "ApiKeyAuth": []
  788. }
  789. ],
  790. "produces": [
  791. "application/json"
  792. ],
  793. "tags": [
  794. "企业风险管理(app)"
  795. ],
  796. "summary": "查询企业风管期货商品信息",
  797. "parameters": [
  798. {
  799. "type": "integer",
  800. "description": "已存末尾商品编号",
  801. "name": "lastID",
  802. "in": "query"
  803. }
  804. ],
  805. "responses": {
  806. "200": {
  807. "description": "OK",
  808. "schema": {
  809. "$ref": "#/definitions/models.Goods"
  810. }
  811. },
  812. "500": {
  813. "description": "Internal Server Error",
  814. "schema": {
  815. "$ref": "#/definitions/app.Response"
  816. }
  817. }
  818. }
  819. }
  820. },
  821. "/Ermcp/QryReportDayExposure": {
  822. "get": {
  823. "security": [
  824. {
  825. "ApiKeyAuth": []
  826. }
  827. ],
  828. "produces": [
  829. "application/json"
  830. ],
  831. "tags": [
  832. "企业风险管理(app)"
  833. ],
  834. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  835. "parameters": [
  836. {
  837. "type": "integer",
  838. "description": "用户ID",
  839. "name": "userid",
  840. "in": "query",
  841. "required": true
  842. },
  843. {
  844. "type": "string",
  845. "description": "交易日(格式:yyyyMMdd)",
  846. "name": "tradedate",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "type": "array",
  856. "items": {
  857. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  858. }
  859. }
  860. },
  861. "500": {
  862. "description": "Internal Server Error",
  863. "schema": {
  864. "$ref": "#/definitions/app.Response"
  865. }
  866. }
  867. }
  868. }
  869. },
  870. "/Ermcp/QryReportDayFinance": {
  871. "get": {
  872. "security": [
  873. {
  874. "ApiKeyAuth": []
  875. }
  876. ],
  877. "produces": [
  878. "application/json"
  879. ],
  880. "tags": [
  881. "企业风险管理(app)"
  882. ],
  883. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  884. "parameters": [
  885. {
  886. "type": "integer",
  887. "description": "用户ID",
  888. "name": "userid",
  889. "in": "query",
  890. "required": true
  891. },
  892. {
  893. "type": "string",
  894. "description": "交易日(格式:yyyyMMdd)",
  895. "name": "tradedate",
  896. "in": "query",
  897. "required": true
  898. }
  899. ],
  900. "responses": {
  901. "200": {
  902. "description": "OK",
  903. "schema": {
  904. "type": "array",
  905. "items": {
  906. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  907. }
  908. }
  909. },
  910. "500": {
  911. "description": "Internal Server Error",
  912. "schema": {
  913. "$ref": "#/definitions/app.Response"
  914. }
  915. }
  916. }
  917. }
  918. },
  919. "/Ermcp/QryReportDayFinanceFp": {
  920. "get": {
  921. "security": [
  922. {
  923. "ApiKeyAuth": []
  924. }
  925. ],
  926. "produces": [
  927. "application/json"
  928. ],
  929. "tags": [
  930. "企业风险管理(app)"
  931. ],
  932. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  933. "parameters": [
  934. {
  935. "type": "integer",
  936. "description": "用户ID",
  937. "name": "userid",
  938. "in": "query",
  939. "required": true
  940. },
  941. {
  942. "type": "string",
  943. "description": "交易日(格式:yyyyMMdd)",
  944. "name": "tradedate",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "type": "array",
  954. "items": {
  955. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  956. }
  957. }
  958. },
  959. "500": {
  960. "description": "Internal Server Error",
  961. "schema": {
  962. "$ref": "#/definitions/app.Response"
  963. }
  964. }
  965. }
  966. }
  967. },
  968. "/Ermcp/QryReportDayFinanceKx": {
  969. "get": {
  970. "security": [
  971. {
  972. "ApiKeyAuth": []
  973. }
  974. ],
  975. "produces": [
  976. "application/json"
  977. ],
  978. "tags": [
  979. "企业风险管理(app)"
  980. ],
  981. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  982. "parameters": [
  983. {
  984. "type": "integer",
  985. "description": "用户ID",
  986. "name": "userid",
  987. "in": "query",
  988. "required": true
  989. },
  990. {
  991. "type": "string",
  992. "description": "交易日(格式:yyyyMMdd)",
  993. "name": "tradedate",
  994. "in": "query",
  995. "required": true
  996. }
  997. ],
  998. "responses": {
  999. "200": {
  1000. "description": "OK",
  1001. "schema": {
  1002. "type": "array",
  1003. "items": {
  1004. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1005. }
  1006. }
  1007. },
  1008. "500": {
  1009. "description": "Internal Server Error",
  1010. "schema": {
  1011. "$ref": "#/definitions/app.Response"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "/Ermcp/QryReportDaySpot": {
  1018. "get": {
  1019. "security": [
  1020. {
  1021. "ApiKeyAuth": []
  1022. }
  1023. ],
  1024. "produces": [
  1025. "application/json"
  1026. ],
  1027. "tags": [
  1028. "企业风险管理(app)"
  1029. ],
  1030. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1031. "parameters": [
  1032. {
  1033. "type": "integer",
  1034. "description": "用户ID",
  1035. "name": "userid",
  1036. "in": "query",
  1037. "required": true
  1038. },
  1039. {
  1040. "type": "string",
  1041. "description": "交易日(格式:yyyyMMdd)",
  1042. "name": "tradedate",
  1043. "in": "query",
  1044. "required": true
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDaySpotDetail": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "integer",
  1090. "description": "现货商品id",
  1091. "name": "wrstandardid",
  1092. "in": "query",
  1093. "required": true
  1094. },
  1095. {
  1096. "type": "string",
  1097. "description": "交易日(格式:yyyyMMdd)",
  1098. "name": "tradedate",
  1099. "in": "query",
  1100. "required": true
  1101. }
  1102. ],
  1103. "responses": {
  1104. "200": {
  1105. "description": "OK",
  1106. "schema": {
  1107. "type": "array",
  1108. "items": {
  1109. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1110. }
  1111. }
  1112. },
  1113. "500": {
  1114. "description": "Internal Server Error",
  1115. "schema": {
  1116. "$ref": "#/definitions/app.Response"
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "/Ermcp/QryReportMonthFinance": {
  1123. "get": {
  1124. "security": [
  1125. {
  1126. "ApiKeyAuth": []
  1127. }
  1128. ],
  1129. "produces": [
  1130. "application/json"
  1131. ],
  1132. "tags": [
  1133. "企业风险管理(app)"
  1134. ],
  1135. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1136. "parameters": [
  1137. {
  1138. "type": "integer",
  1139. "description": "用户ID",
  1140. "name": "userid",
  1141. "in": "query",
  1142. "required": true
  1143. },
  1144. {
  1145. "type": "string",
  1146. "description": "周期时间:月(格式:yyyyMM)",
  1147. "name": "cycletime",
  1148. "in": "query",
  1149. "required": true
  1150. }
  1151. ],
  1152. "responses": {
  1153. "200": {
  1154. "description": "OK",
  1155. "schema": {
  1156. "type": "array",
  1157. "items": {
  1158. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1159. }
  1160. }
  1161. },
  1162. "500": {
  1163. "description": "Internal Server Error",
  1164. "schema": {
  1165. "$ref": "#/definitions/app.Response"
  1166. }
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "/Ermcp/QryReportMonthSpot": {
  1172. "get": {
  1173. "security": [
  1174. {
  1175. "ApiKeyAuth": []
  1176. }
  1177. ],
  1178. "produces": [
  1179. "application/json"
  1180. ],
  1181. "tags": [
  1182. "企业风险管理(app)"
  1183. ],
  1184. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1185. "parameters": [
  1186. {
  1187. "type": "integer",
  1188. "description": "用户ID",
  1189. "name": "userid",
  1190. "in": "query",
  1191. "required": true
  1192. },
  1193. {
  1194. "type": "string",
  1195. "description": "周期时间:月(格式:yyyyMM)",
  1196. "name": "cycletime",
  1197. "in": "query",
  1198. "required": true
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QryReportMonthSpotDetail": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "现货商品id",
  1245. "name": "wrstandardid",
  1246. "in": "query",
  1247. "required": true
  1248. },
  1249. {
  1250. "type": "string",
  1251. "description": "周期时间:月(格式:yyyyMM)",
  1252. "name": "cycletime",
  1253. "in": "query",
  1254. "required": true
  1255. }
  1256. ],
  1257. "responses": {
  1258. "200": {
  1259. "description": "OK",
  1260. "schema": {
  1261. "type": "array",
  1262. "items": {
  1263. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1264. }
  1265. }
  1266. },
  1267. "500": {
  1268. "description": "Internal Server Error",
  1269. "schema": {
  1270. "$ref": "#/definitions/app.Response"
  1271. }
  1272. }
  1273. }
  1274. }
  1275. },
  1276. "/Ermcp/QueryAvaildGoodsGroup": {
  1277. "get": {
  1278. "security": [
  1279. {
  1280. "ApiKeyAuth": []
  1281. }
  1282. ],
  1283. "produces": [
  1284. "application/json"
  1285. ],
  1286. "tags": [
  1287. "企业风险管理(app)"
  1288. ],
  1289. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1290. "parameters": [
  1291. {
  1292. "type": "integer",
  1293. "description": "所属机构ID",
  1294. "name": "userid",
  1295. "in": "query",
  1296. "required": true
  1297. }
  1298. ],
  1299. "responses": {
  1300. "200": {
  1301. "description": "OK",
  1302. "schema": {
  1303. "type": "array",
  1304. "items": {
  1305. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1306. }
  1307. }
  1308. },
  1309. "500": {
  1310. "description": "Internal Server Error",
  1311. "schema": {
  1312. "$ref": "#/definitions/app.Response"
  1313. }
  1314. }
  1315. }
  1316. }
  1317. },
  1318. "/Ermcp/QueryBusinessDj": {
  1319. "get": {
  1320. "security": [
  1321. {
  1322. "ApiKeyAuth": []
  1323. }
  1324. ],
  1325. "produces": [
  1326. "application/json"
  1327. ],
  1328. "tags": [
  1329. "企业风险管理(app)"
  1330. ],
  1331. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1332. "parameters": [
  1333. {
  1334. "type": "integer",
  1335. "description": "用户ID",
  1336. "name": "UserId",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "现货合同ID, 不填则查所有",
  1343. "name": "relatedid",
  1344. "in": "query"
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "type": "array",
  1352. "items": {
  1353. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1354. }
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/Ermcp/QueryBusinessFp": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "企业风险管理(app)"
  1378. ],
  1379. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "用户ID",
  1384. "name": "UserId",
  1385. "in": "query",
  1386. "required": true
  1387. },
  1388. {
  1389. "type": "string",
  1390. "description": "现货合同ID, 不填则查所有",
  1391. "name": "relatedid",
  1392. "in": "query"
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "type": "array",
  1400. "items": {
  1401. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1402. }
  1403. }
  1404. },
  1405. "500": {
  1406. "description": "Internal Server Error",
  1407. "schema": {
  1408. "$ref": "#/definitions/app.Response"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/Ermcp/QueryBusinessJs": {
  1415. "get": {
  1416. "security": [
  1417. {
  1418. "ApiKeyAuth": []
  1419. }
  1420. ],
  1421. "produces": [
  1422. "application/json"
  1423. ],
  1424. "tags": [
  1425. "企业风险管理(app)"
  1426. ],
  1427. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1428. "parameters": [
  1429. {
  1430. "type": "integer",
  1431. "description": "用户ID",
  1432. "name": "UserId",
  1433. "in": "query",
  1434. "required": true
  1435. },
  1436. {
  1437. "type": "string",
  1438. "description": "现货合同ID, 不填则查所有",
  1439. "name": "relatedid",
  1440. "in": "query"
  1441. }
  1442. ],
  1443. "responses": {
  1444. "200": {
  1445. "description": "OK",
  1446. "schema": {
  1447. "type": "array",
  1448. "items": {
  1449. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1450. }
  1451. }
  1452. },
  1453. "500": {
  1454. "description": "Internal Server Error",
  1455. "schema": {
  1456. "$ref": "#/definitions/app.Response"
  1457. }
  1458. }
  1459. }
  1460. }
  1461. },
  1462. "/Ermcp/QueryBusinessJsEx": {
  1463. "get": {
  1464. "security": [
  1465. {
  1466. "ApiKeyAuth": []
  1467. }
  1468. ],
  1469. "produces": [
  1470. "application/json"
  1471. ],
  1472. "tags": [
  1473. "企业风险管理(app)"
  1474. ],
  1475. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1476. "parameters": [
  1477. {
  1478. "type": "integer",
  1479. "description": "用户ID",
  1480. "name": "UserId",
  1481. "in": "query",
  1482. "required": true
  1483. },
  1484. {
  1485. "type": "string",
  1486. "description": "现货合同ID, 不填则查所有",
  1487. "name": "relatedid",
  1488. "in": "query"
  1489. }
  1490. ],
  1491. "responses": {
  1492. "200": {
  1493. "description": "OK",
  1494. "schema": {
  1495. "type": "array",
  1496. "items": {
  1497. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1498. }
  1499. }
  1500. },
  1501. "500": {
  1502. "description": "Internal Server Error",
  1503. "schema": {
  1504. "$ref": "#/definitions/app.Response"
  1505. }
  1506. }
  1507. }
  1508. }
  1509. },
  1510. "/Ermcp/QueryBusinessKx": {
  1511. "get": {
  1512. "security": [
  1513. {
  1514. "ApiKeyAuth": []
  1515. }
  1516. ],
  1517. "produces": [
  1518. "application/json"
  1519. ],
  1520. "tags": [
  1521. "企业风险管理(app)"
  1522. ],
  1523. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1524. "parameters": [
  1525. {
  1526. "type": "integer",
  1527. "description": "用户ID",
  1528. "name": "UserId",
  1529. "in": "query",
  1530. "required": true
  1531. },
  1532. {
  1533. "type": "string",
  1534. "description": "现货合同ID, 不填则查所有",
  1535. "name": "relatedid",
  1536. "in": "query"
  1537. }
  1538. ],
  1539. "responses": {
  1540. "200": {
  1541. "description": "OK",
  1542. "schema": {
  1543. "type": "array",
  1544. "items": {
  1545. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1546. }
  1547. }
  1548. },
  1549. "500": {
  1550. "description": "Internal Server Error",
  1551. "schema": {
  1552. "$ref": "#/definitions/app.Response"
  1553. }
  1554. }
  1555. }
  1556. }
  1557. },
  1558. "/Ermcp/QueryChangeLog": {
  1559. "get": {
  1560. "security": [
  1561. {
  1562. "ApiKeyAuth": []
  1563. }
  1564. ],
  1565. "produces": [
  1566. "application/json"
  1567. ],
  1568. "tags": [
  1569. "企业风险管理(app)"
  1570. ],
  1571. "summary": "查询变更记录",
  1572. "parameters": [
  1573. {
  1574. "type": "string",
  1575. "description": "合同ID",
  1576. "name": "RelatedId",
  1577. "in": "query",
  1578. "required": true
  1579. }
  1580. ],
  1581. "responses": {
  1582. "200": {
  1583. "description": "OK",
  1584. "schema": {
  1585. "type": "array",
  1586. "items": {
  1587. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1588. }
  1589. }
  1590. },
  1591. "500": {
  1592. "description": "Internal Server Error",
  1593. "schema": {
  1594. "$ref": "#/definitions/app.Response"
  1595. }
  1596. }
  1597. }
  1598. }
  1599. },
  1600. "/Ermcp/QueryContract": {
  1601. "get": {
  1602. "security": [
  1603. {
  1604. "ApiKeyAuth": []
  1605. }
  1606. ],
  1607. "produces": [
  1608. "application/json"
  1609. ],
  1610. "tags": [
  1611. "企业风险管理(app)"
  1612. ],
  1613. "summary": "查询合同(采购和销售)",
  1614. "parameters": [
  1615. {
  1616. "type": "integer",
  1617. "description": "用户ID",
  1618. "name": "userId",
  1619. "in": "query",
  1620. "required": true
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "合同类型 1-采购, -1-销售",
  1625. "name": "contracttype",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1632. "name": "querytype",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryErmcpOrderDetails": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "获取企业风管期货委托单信息",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "资金账户ID",
  1674. "name": "accountID",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "$ref": "#/definitions/models.QueryHedgeInnerOrderDetailRsp"
  1684. }
  1685. },
  1686. "500": {
  1687. "description": "Internal Server Error",
  1688. "schema": {
  1689. "$ref": "#/definitions/app.Response"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "/Ermcp/QueryErmcpTradePosition": {
  1696. "get": {
  1697. "security": [
  1698. {
  1699. "ApiKeyAuth": []
  1700. }
  1701. ],
  1702. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1703. "produces": [
  1704. "application/json"
  1705. ],
  1706. "tags": [
  1707. "企业风险管理(app)"
  1708. ],
  1709. "summary": "获取企业风管期货持仓头寸信息",
  1710. "parameters": [
  1711. {
  1712. "type": "integer",
  1713. "description": "资金账户ID",
  1714. "name": "accountID",
  1715. "in": "query",
  1716. "required": true
  1717. },
  1718. {
  1719. "type": "integer",
  1720. "description": "所属市场ID",
  1721. "name": "marketID",
  1722. "in": "query"
  1723. }
  1724. ],
  1725. "responses": {
  1726. "200": {
  1727. "description": "OK",
  1728. "schema": {
  1729. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryExposureDetail": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询敞口现货明细",
  1755. "parameters": [
  1756. {
  1757. "type": "integer",
  1758. "description": "所属机构ID",
  1759. "name": "areaUserId",
  1760. "in": "query",
  1761. "required": true
  1762. },
  1763. {
  1764. "type": "integer",
  1765. "description": "套保商品",
  1766. "name": "middleGoodsId",
  1767. "in": "query",
  1768. "required": true
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryExposureHedgePosition": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "所属机构ID",
  1808. "name": "areaUserId",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryExposureHedgePositionDetail": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "所属机构ID",
  1850. "name": "areaUserId",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品id",
  1857. "name": "goodsId",
  1858. "in": "query",
  1859. "required": true
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "type": "array",
  1867. "items": {
  1868. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1869. }
  1870. }
  1871. },
  1872. "500": {
  1873. "description": "Internal Server Error",
  1874. "schema": {
  1875. "$ref": "#/definitions/app.Response"
  1876. }
  1877. }
  1878. }
  1879. }
  1880. },
  1881. "/Ermcp/QueryExposureSpot": {
  1882. "get": {
  1883. "security": [
  1884. {
  1885. "ApiKeyAuth": []
  1886. }
  1887. ],
  1888. "produces": [
  1889. "application/json"
  1890. ],
  1891. "tags": [
  1892. "企业风险管理(app)"
  1893. ],
  1894. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1895. "parameters": [
  1896. {
  1897. "type": "integer",
  1898. "description": "所属机构ID",
  1899. "name": "areaUserId",
  1900. "in": "query",
  1901. "required": true
  1902. }
  1903. ],
  1904. "responses": {
  1905. "200": {
  1906. "description": "OK",
  1907. "schema": {
  1908. "type": "array",
  1909. "items": {
  1910. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1911. }
  1912. }
  1913. },
  1914. "500": {
  1915. "description": "Internal Server Error",
  1916. "schema": {
  1917. "$ref": "#/definitions/app.Response"
  1918. }
  1919. }
  1920. }
  1921. }
  1922. },
  1923. "/Ermcp/QueryExposureSpotDetail": {
  1924. "get": {
  1925. "security": [
  1926. {
  1927. "ApiKeyAuth": []
  1928. }
  1929. ],
  1930. "produces": [
  1931. "application/json"
  1932. ],
  1933. "tags": [
  1934. "企业风险管理(app)"
  1935. ],
  1936. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1937. "parameters": [
  1938. {
  1939. "type": "integer",
  1940. "description": "所属机构ID",
  1941. "name": "areaUserId",
  1942. "in": "query",
  1943. "required": true
  1944. },
  1945. {
  1946. "type": "integer",
  1947. "description": "现货品种ID",
  1948. "name": "wrstandardId",
  1949. "in": "query",
  1950. "required": true
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "type": "array",
  1958. "items": {
  1959. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1960. }
  1961. }
  1962. },
  1963. "500": {
  1964. "description": "Internal Server Error",
  1965. "schema": {
  1966. "$ref": "#/definitions/app.Response"
  1967. }
  1968. }
  1969. }
  1970. }
  1971. },
  1972. "/Ermcp/QueryGGConvertConfig": {
  1973. "get": {
  1974. "security": [
  1975. {
  1976. "ApiKeyAuth": []
  1977. }
  1978. ],
  1979. "produces": [
  1980. "application/json"
  1981. ],
  1982. "tags": [
  1983. "企业风险管理(app)"
  1984. ],
  1985. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1986. "parameters": [
  1987. {
  1988. "type": "integer",
  1989. "description": "品种id(不填则查所有)",
  1990. "name": "goodsgroupid",
  1991. "in": "query"
  1992. }
  1993. ],
  1994. "responses": {
  1995. "200": {
  1996. "description": "OK",
  1997. "schema": {
  1998. "type": "array",
  1999. "items": {
  2000. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2001. }
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Ermcp/QueryHedgePlan": {
  2014. "get": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "企业风险管理(app)"
  2025. ],
  2026. "summary": "查询套保计划",
  2027. "parameters": [
  2028. {
  2029. "type": "integer",
  2030. "description": "用户ID",
  2031. "name": "userId",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "string",
  2037. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2038. "name": "HedgePlanStatus",
  2039. "in": "query",
  2040. "required": true
  2041. }
  2042. ],
  2043. "responses": {
  2044. "200": {
  2045. "description": "OK",
  2046. "schema": {
  2047. "type": "array",
  2048. "items": {
  2049. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2050. }
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Ermcp/QueryHisExposure": {
  2063. "get": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "企业风险管理(app)"
  2074. ],
  2075. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2076. "parameters": [
  2077. {
  2078. "type": "integer",
  2079. "description": "所属机构ID",
  2080. "name": "areaUserId",
  2081. "in": "query",
  2082. "required": true
  2083. },
  2084. {
  2085. "type": "integer",
  2086. "description": "每个品种记录数",
  2087. "name": "lastNum",
  2088. "in": "query",
  2089. "required": true
  2090. }
  2091. ],
  2092. "responses": {
  2093. "200": {
  2094. "description": "OK",
  2095. "schema": {
  2096. "type": "array",
  2097. "items": {
  2098. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2099. }
  2100. }
  2101. },
  2102. "500": {
  2103. "description": "Internal Server Error",
  2104. "schema": {
  2105. "$ref": "#/definitions/app.Response"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. },
  2111. "/Ermcp/QueryMiddleGoods": {
  2112. "get": {
  2113. "security": [
  2114. {
  2115. "ApiKeyAuth": []
  2116. }
  2117. ],
  2118. "produces": [
  2119. "application/json"
  2120. ],
  2121. "tags": [
  2122. "企业风险管理(app)"
  2123. ],
  2124. "summary": "查询套保品种(菜单:套保品种)",
  2125. "parameters": [
  2126. {
  2127. "type": "integer",
  2128. "description": "所属机构ID",
  2129. "name": "userid",
  2130. "in": "query",
  2131. "required": true
  2132. },
  2133. {
  2134. "type": "integer",
  2135. "description": "状态 0-停用 1-正常",
  2136. "name": "status",
  2137. "in": "query",
  2138. "required": true
  2139. }
  2140. ],
  2141. "responses": {
  2142. "200": {
  2143. "description": "OK",
  2144. "schema": {
  2145. "type": "array",
  2146. "items": {
  2147. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2148. }
  2149. }
  2150. },
  2151. "500": {
  2152. "description": "Internal Server Error",
  2153. "schema": {
  2154. "$ref": "#/definitions/app.Response"
  2155. }
  2156. }
  2157. }
  2158. }
  2159. },
  2160. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2161. "get": {
  2162. "security": [
  2163. {
  2164. "ApiKeyAuth": []
  2165. }
  2166. ],
  2167. "produces": [
  2168. "application/json"
  2169. ],
  2170. "tags": [
  2171. "企业风险管理(app)"
  2172. ],
  2173. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2174. "parameters": [
  2175. {
  2176. "type": "integer",
  2177. "description": "所属机构ID",
  2178. "name": "userid",
  2179. "in": "query",
  2180. "required": true
  2181. },
  2182. {
  2183. "type": "integer",
  2184. "description": "套保品种id",
  2185. "name": "middlegoodsid",
  2186. "in": "query",
  2187. "required": true
  2188. }
  2189. ],
  2190. "responses": {
  2191. "200": {
  2192. "description": "OK",
  2193. "schema": {
  2194. "type": "array",
  2195. "items": {
  2196. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2197. }
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/app.Response"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/Ermcp/QueryMiddleGoodsDetail": {
  2210. "get": {
  2211. "security": [
  2212. {
  2213. "ApiKeyAuth": []
  2214. }
  2215. ],
  2216. "produces": [
  2217. "application/json"
  2218. ],
  2219. "tags": [
  2220. "企业风险管理(app)"
  2221. ],
  2222. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2223. "parameters": [
  2224. {
  2225. "type": "integer",
  2226. "description": "所属机构ID",
  2227. "name": "userid",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "integer",
  2233. "description": "套保品种id",
  2234. "name": "middlegoodsid",
  2235. "in": "query",
  2236. "required": true
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "type": "array",
  2244. "items": {
  2245. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2246. }
  2247. }
  2248. },
  2249. "500": {
  2250. "description": "Internal Server Error",
  2251. "schema": {
  2252. "$ref": "#/definitions/app.Response"
  2253. }
  2254. }
  2255. }
  2256. }
  2257. },
  2258. "/Ermcp/QueryPendingAuditInfo": {
  2259. "get": {
  2260. "security": [
  2261. {
  2262. "ApiKeyAuth": []
  2263. }
  2264. ],
  2265. "produces": [
  2266. "application/json"
  2267. ],
  2268. "tags": [
  2269. "企业风险管理(app)"
  2270. ],
  2271. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2272. "parameters": [
  2273. {
  2274. "type": "integer",
  2275. "description": "用户ID",
  2276. "name": "UserId",
  2277. "in": "query",
  2278. "required": true
  2279. }
  2280. ],
  2281. "responses": {
  2282. "200": {
  2283. "description": "OK",
  2284. "schema": {
  2285. "type": "array",
  2286. "items": {
  2287. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2288. }
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/app.Response"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/Ermcp/QueryRealtimeExposure": {
  2301. "get": {
  2302. "security": [
  2303. {
  2304. "ApiKeyAuth": []
  2305. }
  2306. ],
  2307. "produces": [
  2308. "application/json"
  2309. ],
  2310. "tags": [
  2311. "企业风险管理(app)"
  2312. ],
  2313. "summary": "查询实时敞口",
  2314. "parameters": [
  2315. {
  2316. "type": "integer",
  2317. "description": "所属机构ID",
  2318. "name": "AreaUserID",
  2319. "in": "query",
  2320. "required": true
  2321. }
  2322. ],
  2323. "responses": {
  2324. "200": {
  2325. "description": "OK",
  2326. "schema": {
  2327. "type": "array",
  2328. "items": {
  2329. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2330. }
  2331. }
  2332. },
  2333. "500": {
  2334. "description": "Internal Server Error",
  2335. "schema": {
  2336. "$ref": "#/definitions/app.Response"
  2337. }
  2338. }
  2339. }
  2340. }
  2341. },
  2342. "/Ermcp/QueryRealtimeExposurePosition": {
  2343. "get": {
  2344. "security": [
  2345. {
  2346. "ApiKeyAuth": []
  2347. }
  2348. ],
  2349. "produces": [
  2350. "application/json"
  2351. ],
  2352. "tags": [
  2353. "企业风险管理(app)"
  2354. ],
  2355. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2356. "parameters": [
  2357. {
  2358. "type": "integer",
  2359. "description": "所属机构ID",
  2360. "name": "areaUserId",
  2361. "in": "query",
  2362. "required": true
  2363. },
  2364. {
  2365. "type": "integer",
  2366. "description": "套保商品ID",
  2367. "name": "middleGoodsId",
  2368. "in": "query",
  2369. "required": true
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QuerySpotContract": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "企业风险管理(app)"
  2403. ],
  2404. "summary": "查询现货合同(对应现货合同菜单)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "用户ID",
  2409. "name": "userId",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "integer",
  2415. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2416. "name": "QueryType",
  2417. "in": "query",
  2418. "required": true
  2419. }
  2420. ],
  2421. "responses": {
  2422. "200": {
  2423. "description": "OK",
  2424. "schema": {
  2425. "type": "array",
  2426. "items": {
  2427. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2428. }
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/Ermcp/QueryUserInfo": {
  2441. "get": {
  2442. "security": [
  2443. {
  2444. "ApiKeyAuth": []
  2445. }
  2446. ],
  2447. "produces": [
  2448. "application/json"
  2449. ],
  2450. "tags": [
  2451. "企业风险管理(app)"
  2452. ],
  2453. "summary": "查询客户资料",
  2454. "parameters": [
  2455. {
  2456. "type": "integer",
  2457. "description": "所属机构用户ID",
  2458. "name": "MemberUserID",
  2459. "in": "query",
  2460. "required": true
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2465. "name": "queryType",
  2466. "in": "query",
  2467. "required": true
  2468. }
  2469. ],
  2470. "responses": {
  2471. "200": {
  2472. "description": "OK",
  2473. "schema": {
  2474. "type": "array",
  2475. "items": {
  2476. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2477. }
  2478. }
  2479. },
  2480. "500": {
  2481. "description": "Internal Server Error",
  2482. "schema": {
  2483. "$ref": "#/definitions/app.Response"
  2484. }
  2485. }
  2486. }
  2487. }
  2488. },
  2489. "/Ermcp/QueryWrStandard": {
  2490. "get": {
  2491. "security": [
  2492. {
  2493. "ApiKeyAuth": []
  2494. }
  2495. ],
  2496. "produces": [
  2497. "application/json"
  2498. ],
  2499. "tags": [
  2500. "企业风险管理(app)"
  2501. ],
  2502. "summary": "查询现货商品",
  2503. "parameters": [
  2504. {
  2505. "type": "integer",
  2506. "description": "所属机构ID",
  2507. "name": "userid",
  2508. "in": "query",
  2509. "required": true
  2510. },
  2511. {
  2512. "type": "integer",
  2513. "description": "状态 0-停用 1-正常",
  2514. "name": "status",
  2515. "in": "query",
  2516. "required": true
  2517. }
  2518. ],
  2519. "responses": {
  2520. "200": {
  2521. "description": "OK",
  2522. "schema": {
  2523. "type": "array",
  2524. "items": {
  2525. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2526. }
  2527. }
  2528. },
  2529. "500": {
  2530. "description": "Internal Server Error",
  2531. "schema": {
  2532. "$ref": "#/definitions/app.Response"
  2533. }
  2534. }
  2535. }
  2536. }
  2537. },
  2538. "/Ermcp/QueryWrStandardDetail": {
  2539. "get": {
  2540. "security": [
  2541. {
  2542. "ApiKeyAuth": []
  2543. }
  2544. ],
  2545. "produces": [
  2546. "application/json"
  2547. ],
  2548. "tags": [
  2549. "企业风险管理(app)"
  2550. ],
  2551. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2552. "parameters": [
  2553. {
  2554. "type": "integer",
  2555. "description": "所属机构ID",
  2556. "name": "userid",
  2557. "in": "query",
  2558. "required": true
  2559. },
  2560. {
  2561. "type": "integer",
  2562. "description": "现货商品ID",
  2563. "name": "wrstandardid",
  2564. "in": "query",
  2565. "required": true
  2566. }
  2567. ],
  2568. "responses": {
  2569. "200": {
  2570. "description": "OK",
  2571. "schema": {
  2572. "type": "array",
  2573. "items": {
  2574. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2575. }
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/Erms2/QueryArbitrageStrategy": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "风险管理"
  2599. ],
  2600. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2601. "parameters": [
  2602. {
  2603. "type": "integer",
  2604. "description": "账户ID",
  2605. "name": "userid",
  2606. "in": "query",
  2607. "required": true
  2608. },
  2609. {
  2610. "type": "string",
  2611. "description": "商品组ID(品种ID)",
  2612. "name": "goodsgroupid",
  2613. "in": "query"
  2614. }
  2615. ],
  2616. "responses": {
  2617. "200": {
  2618. "description": "OK",
  2619. "schema": {
  2620. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2621. }
  2622. },
  2623. "500": {
  2624. "description": "Internal Server Error",
  2625. "schema": {
  2626. "$ref": "#/definitions/app.Response"
  2627. }
  2628. }
  2629. }
  2630. }
  2631. },
  2632. "/Erms2/QueryInnerTradeDetail": {
  2633. "get": {
  2634. "security": [
  2635. {
  2636. "ApiKeyAuth": []
  2637. }
  2638. ],
  2639. "produces": [
  2640. "application/json"
  2641. ],
  2642. "tags": [
  2643. "风险管理"
  2644. ],
  2645. "summary": "查询内部成交单信息",
  2646. "parameters": [
  2647. {
  2648. "type": "integer",
  2649. "description": "资金账户",
  2650. "name": "accountid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2660. }
  2661. },
  2662. "500": {
  2663. "description": "Internal Server Error",
  2664. "schema": {
  2665. "$ref": "#/definitions/app.Response"
  2666. }
  2667. }
  2668. }
  2669. }
  2670. },
  2671. "/Erms2/QuerySpotContract": {
  2672. "get": {
  2673. "security": [
  2674. {
  2675. "ApiKeyAuth": []
  2676. }
  2677. ],
  2678. "produces": [
  2679. "application/json"
  2680. ],
  2681. "tags": [
  2682. "风险管理"
  2683. ],
  2684. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2685. "parameters": [
  2686. {
  2687. "type": "integer",
  2688. "description": "策略申请ID",
  2689. "name": "asapplyid",
  2690. "in": "query",
  2691. "required": true
  2692. },
  2693. {
  2694. "type": "integer",
  2695. "description": "现货合同ID",
  2696. "name": "spotcontractid",
  2697. "in": "query"
  2698. }
  2699. ],
  2700. "responses": {
  2701. "200": {
  2702. "description": "OK",
  2703. "schema": {
  2704. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Erms3/AddErms2ASApply": {
  2717. "post": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "风险管理v3"
  2728. ],
  2729. "summary": "新增期现套利业务申请",
  2730. "parameters": [
  2731. {
  2732. "description": "申请参数",
  2733. "name": "jsonBody",
  2734. "in": "body",
  2735. "required": true,
  2736. "schema": {
  2737. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2738. }
  2739. }
  2740. ],
  2741. "responses": {
  2742. "200": {
  2743. "description": "OK",
  2744. "schema": {
  2745. "$ref": "#/definitions/app.Response"
  2746. }
  2747. },
  2748. "500": {
  2749. "description": "Internal Server Error",
  2750. "schema": {
  2751. "$ref": "#/definitions/app.Response"
  2752. }
  2753. }
  2754. }
  2755. }
  2756. },
  2757. "/Erms3/AddErms2SpotTradeApply": {
  2758. "post": {
  2759. "security": [
  2760. {
  2761. "ApiKeyAuth": []
  2762. }
  2763. ],
  2764. "produces": [
  2765. "application/json"
  2766. ],
  2767. "tags": [
  2768. "风险管理v3"
  2769. ],
  2770. "summary": "新增现货贸易业务申请",
  2771. "parameters": [
  2772. {
  2773. "description": "申请参数",
  2774. "name": "jsonBody",
  2775. "in": "body",
  2776. "required": true,
  2777. "schema": {
  2778. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2779. }
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/app.Response"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Erms3/AddSpotContractApply": {
  2799. "post": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "风险管理v3"
  2810. ],
  2811. "summary": "新增现货合同申请",
  2812. "parameters": [
  2813. {
  2814. "description": "申请参数",
  2815. "name": "jsonBody",
  2816. "in": "body",
  2817. "required": true,
  2818. "schema": {
  2819. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2820. }
  2821. }
  2822. ],
  2823. "responses": {
  2824. "200": {
  2825. "description": "OK",
  2826. "schema": {
  2827. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2828. }
  2829. },
  2830. "500": {
  2831. "description": "Internal Server Error",
  2832. "schema": {
  2833. "$ref": "#/definitions/app.Response"
  2834. }
  2835. }
  2836. }
  2837. }
  2838. },
  2839. "/Erms3/AddUserInfoApply": {
  2840. "post": {
  2841. "security": [
  2842. {
  2843. "ApiKeyAuth": []
  2844. }
  2845. ],
  2846. "produces": [
  2847. "application/json"
  2848. ],
  2849. "tags": [
  2850. "风险管理v3"
  2851. ],
  2852. "summary": "新增客户申请",
  2853. "parameters": [
  2854. {
  2855. "description": "用户信息",
  2856. "name": "jsonBody",
  2857. "in": "body",
  2858. "required": true,
  2859. "schema": {
  2860. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2861. }
  2862. }
  2863. ],
  2864. "responses": {
  2865. "200": {
  2866. "description": "OK",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. },
  2871. "500": {
  2872. "description": "Internal Server Error",
  2873. "schema": {
  2874. "$ref": "#/definitions/app.Response"
  2875. }
  2876. }
  2877. }
  2878. }
  2879. },
  2880. "/Erms3/ModifyUserInfoApply": {
  2881. "post": {
  2882. "security": [
  2883. {
  2884. "ApiKeyAuth": []
  2885. }
  2886. ],
  2887. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "风险管理v3"
  2893. ],
  2894. "summary": "修改客户申请",
  2895. "parameters": [
  2896. {
  2897. "description": "用户信息",
  2898. "name": "jsonBody",
  2899. "in": "body",
  2900. "required": true,
  2901. "schema": {
  2902. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2903. }
  2904. }
  2905. ],
  2906. "responses": {
  2907. "200": {
  2908. "description": "OK",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/Erms3/QueryBusinessInfo": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "produces": [
  2930. "application/json"
  2931. ],
  2932. "tags": [
  2933. "风险管理v3"
  2934. ],
  2935. "summary": "查询业务表单数据",
  2936. "parameters": [
  2937. {
  2938. "type": "string",
  2939. "description": "资金账号ID列表,用逗号分隔",
  2940. "name": "accountids",
  2941. "in": "query",
  2942. "required": true
  2943. },
  2944. {
  2945. "type": "integer",
  2946. "description": "状态,0为未结束 1为已结束",
  2947. "name": "status",
  2948. "in": "query",
  2949. "required": true
  2950. }
  2951. ],
  2952. "responses": {
  2953. "200": {
  2954. "description": "OK",
  2955. "schema": {
  2956. "type": "array",
  2957. "items": {
  2958. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2959. }
  2960. }
  2961. },
  2962. "500": {
  2963. "description": "Internal Server Error",
  2964. "schema": {
  2965. "$ref": "#/definitions/app.Response"
  2966. }
  2967. }
  2968. }
  2969. }
  2970. },
  2971. "/Erms3/QueryPendingAuditContract": {
  2972. "get": {
  2973. "security": [
  2974. {
  2975. "ApiKeyAuth": []
  2976. }
  2977. ],
  2978. "produces": [
  2979. "application/json"
  2980. ],
  2981. "tags": [
  2982. "风险管理v3"
  2983. ],
  2984. "summary": "查询待审核合同",
  2985. "parameters": [
  2986. {
  2987. "type": "string",
  2988. "description": "资金账号ID列表,逗号隔开",
  2989. "name": "accountids",
  2990. "in": "query",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": "合同类型 1-采购 -1-销售",
  2996. "name": "contracttype",
  2997. "in": "query",
  2998. "required": true
  2999. },
  3000. {
  3001. "type": "integer",
  3002. "description": "合同模式 1-普通 2-回购",
  3003. "name": "contractmode",
  3004. "in": "query",
  3005. "required": true
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Erms3/QueryPendingBusiness": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "风险管理v3"
  3039. ],
  3040. "summary": "查询待审核基差贸易业务",
  3041. "parameters": [
  3042. {
  3043. "type": "string",
  3044. "description": "资金账号ID列表,逗号隔开",
  3045. "name": "accountids",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Erms3/QuerySpotContractAppleForm": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "风险管理v3"
  3081. ],
  3082. "summary": "查询合同申请表单数据",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "登录账号",
  3087. "name": "loginID",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3097. }
  3098. },
  3099. "500": {
  3100. "description": "Internal Server Error",
  3101. "schema": {
  3102. "$ref": "#/definitions/app.Response"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/Erms3/QuerySpotContractDetail": {
  3109. "get": {
  3110. "security": [
  3111. {
  3112. "ApiKeyAuth": []
  3113. }
  3114. ],
  3115. "produces": [
  3116. "application/json"
  3117. ],
  3118. "tags": [
  3119. "风险管理v3"
  3120. ],
  3121. "summary": "查询合同详细信息",
  3122. "parameters": [
  3123. {
  3124. "type": "string",
  3125. "description": "资金账号ID列表,用逗号分隔",
  3126. "name": "accountids",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "合同类型,1为采购合同 -1为销售合同",
  3133. "name": "contracttype",
  3134. "in": "query",
  3135. "required": true
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "合同模式,1为普通合同 2为回购销售合同",
  3140. "name": "contractmode",
  3141. "in": "query",
  3142. "required": true
  3143. },
  3144. {
  3145. "type": "integer",
  3146. "description": "状态,0为履约中 1为已完成",
  3147. "name": "status",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Erms3/QueryUserInfoApplies": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "风险管理v3"
  3183. ],
  3184. "summary": "客户申请信息查询",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "页码",
  3189. "name": "page",
  3190. "in": "query"
  3191. },
  3192. {
  3193. "type": "integer",
  3194. "description": "每页条数",
  3195. "name": "pagesize",
  3196. "in": "query"
  3197. },
  3198. {
  3199. "type": "string",
  3200. "description": "客户名称,支持模糊查询",
  3201. "name": "userName",
  3202. "in": "query"
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Erms3/QueryUserInfos": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "风险管理v3"
  3233. ],
  3234. "summary": "客户信息查询",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "页码",
  3239. "name": "page",
  3240. "in": "query"
  3241. },
  3242. {
  3243. "type": "integer",
  3244. "description": "每页条数",
  3245. "name": "pagesize",
  3246. "in": "query"
  3247. },
  3248. {
  3249. "type": "string",
  3250. "description": "客户名称,支持模糊查询",
  3251. "name": "userName",
  3252. "in": "query"
  3253. }
  3254. ],
  3255. "responses": {
  3256. "200": {
  3257. "description": "OK",
  3258. "schema": {
  3259. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3260. }
  3261. },
  3262. "500": {
  3263. "description": "Internal Server Error",
  3264. "schema": {
  3265. "$ref": "#/definitions/app.Response"
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "/HSBY/GetHsbyMyCount": {
  3272. "get": {
  3273. "security": [
  3274. {
  3275. "ApiKeyAuth": []
  3276. }
  3277. ],
  3278. "description": "说明: 不包括已完成的数量。",
  3279. "produces": [
  3280. "application/json"
  3281. ],
  3282. "tags": [
  3283. "定制【海商报业】"
  3284. ],
  3285. "summary": "获取我的订单与包裹数量",
  3286. "parameters": [
  3287. {
  3288. "type": "string",
  3289. "description": "资金账户列表,格式:1,2,3",
  3290. "name": "accountIDs",
  3291. "in": "query",
  3292. "required": true
  3293. }
  3294. ],
  3295. "responses": {
  3296. "200": {
  3297. "description": "OK",
  3298. "schema": {
  3299. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3300. }
  3301. },
  3302. "500": {
  3303. "description": "Internal Server Error",
  3304. "schema": {
  3305. "$ref": "#/definitions/app.Response"
  3306. }
  3307. }
  3308. }
  3309. }
  3310. },
  3311. "/HSBY/QueryClientFixedADConfigs": {
  3312. "get": {
  3313. "security": [
  3314. {
  3315. "ApiKeyAuth": []
  3316. }
  3317. ],
  3318. "produces": [
  3319. "application/json"
  3320. ],
  3321. "tags": [
  3322. "定制【海商报业】"
  3323. ],
  3324. "summary": "获取终端固定广告配置",
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/models.Clientfixedadconfig"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/app.Response"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3342. "get": {
  3343. "security": [
  3344. {
  3345. "ApiKeyAuth": []
  3346. }
  3347. ],
  3348. "produces": [
  3349. "application/json"
  3350. ],
  3351. "tags": [
  3352. "定制【海商报业】"
  3353. ],
  3354. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3355. "parameters": [
  3356. {
  3357. "type": "integer",
  3358. "description": "页码",
  3359. "name": "page",
  3360. "in": "query"
  3361. },
  3362. {
  3363. "type": "integer",
  3364. "description": "每页条数",
  3365. "name": "pagesize",
  3366. "in": "query"
  3367. },
  3368. {
  3369. "type": "string",
  3370. "description": "资金账户列表,格式:1,2,3",
  3371. "name": "accountIDs",
  3372. "in": "query",
  3373. "required": true
  3374. }
  3375. ],
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "description": "说明:查询结果已按委托价格和委托时间排序",
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "定制【海商报业】"
  3405. ],
  3406. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3407. "parameters": [
  3408. {
  3409. "type": "integer",
  3410. "description": "商品ID",
  3411. "name": "goodsID",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3418. "name": "accountIDs",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3424. "name": "buyOrSell",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "number",
  3429. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3430. "name": "price",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "档位,不传则默认为3档",
  3436. "name": "speed",
  3437. "in": "query"
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3445. }
  3446. },
  3447. "500": {
  3448. "description": "Internal Server Error",
  3449. "schema": {
  3450. "$ref": "#/definitions/app.Response"
  3451. }
  3452. }
  3453. }
  3454. }
  3455. },
  3456. "/HSBY/QueryHsbyListingGoodsDetail": {
  3457. "get": {
  3458. "security": [
  3459. {
  3460. "ApiKeyAuth": []
  3461. }
  3462. ],
  3463. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3464. "produces": [
  3465. "application/json"
  3466. ],
  3467. "tags": [
  3468. "定制【海商报业】"
  3469. ],
  3470. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3471. "parameters": [
  3472. {
  3473. "type": "integer",
  3474. "description": "商品ID",
  3475. "name": "goodsID",
  3476. "in": "query",
  3477. "required": true
  3478. },
  3479. {
  3480. "type": "integer",
  3481. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3482. "name": "accountID",
  3483. "in": "query"
  3484. }
  3485. ],
  3486. "responses": {
  3487. "200": {
  3488. "description": "OK",
  3489. "schema": {
  3490. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3491. }
  3492. },
  3493. "500": {
  3494. "description": "Internal Server Error",
  3495. "schema": {
  3496. "$ref": "#/definitions/app.Response"
  3497. }
  3498. }
  3499. }
  3500. }
  3501. },
  3502. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3503. "get": {
  3504. "security": [
  3505. {
  3506. "ApiKeyAuth": []
  3507. }
  3508. ],
  3509. "produces": [
  3510. "application/json"
  3511. ],
  3512. "tags": [
  3513. "定制【海商报业】"
  3514. ],
  3515. "summary": "查询三级市场(商城)商品信息详情",
  3516. "parameters": [
  3517. {
  3518. "type": "integer",
  3519. "description": "委托单号",
  3520. "name": "orderID",
  3521. "in": "query",
  3522. "required": true
  3523. },
  3524. {
  3525. "type": "integer",
  3526. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3527. "name": "accountID",
  3528. "in": "query"
  3529. }
  3530. ],
  3531. "responses": {
  3532. "200": {
  3533. "description": "OK",
  3534. "schema": {
  3535. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3536. }
  3537. },
  3538. "500": {
  3539. "description": "Internal Server Error",
  3540. "schema": {
  3541. "$ref": "#/definitions/app.Response"
  3542. }
  3543. }
  3544. }
  3545. }
  3546. },
  3547. "/HSBY/QueryHsbyMarketGoodses": {
  3548. "get": {
  3549. "security": [
  3550. {
  3551. "ApiKeyAuth": []
  3552. }
  3553. ],
  3554. "produces": [
  3555. "application/json"
  3556. ],
  3557. "tags": [
  3558. "定制【海商报业】"
  3559. ],
  3560. "summary": "查询特卖商品列表(三级商城)",
  3561. "parameters": [
  3562. {
  3563. "type": "integer",
  3564. "description": "页码",
  3565. "name": "page",
  3566. "in": "query"
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "每页条数",
  3571. "name": "pagesize",
  3572. "in": "query"
  3573. },
  3574. {
  3575. "type": "string",
  3576. "description": "市场ID列表,格式:1,2,3",
  3577. "name": "marketIDs",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3584. "name": "accountID",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "类别ID",
  3591. "name": "categoryID",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3597. "name": "goodsIDs",
  3598. "in": "query"
  3599. },
  3600. {
  3601. "type": "integer",
  3602. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3603. "name": "couponTypeID",
  3604. "in": "query"
  3605. }
  3606. ],
  3607. "responses": {
  3608. "200": {
  3609. "description": "OK",
  3610. "schema": {
  3611. "$ref": "#/definitions/models.HsbyMarketGoods"
  3612. }
  3613. },
  3614. "500": {
  3615. "description": "Internal Server Error",
  3616. "schema": {
  3617. "$ref": "#/definitions/app.Response"
  3618. }
  3619. }
  3620. }
  3621. }
  3622. },
  3623. "/HSBY/QueryHsbyMarkets": {
  3624. "get": {
  3625. "security": [
  3626. {
  3627. "ApiKeyAuth": []
  3628. }
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "定制【海商报业】"
  3635. ],
  3636. "summary": "查询海商报业相关市场信息",
  3637. "responses": {
  3638. "200": {
  3639. "description": "OK",
  3640. "schema": {
  3641. "$ref": "#/definitions/models.HsbyMarketInfo"
  3642. }
  3643. },
  3644. "500": {
  3645. "description": "Internal Server Error",
  3646. "schema": {
  3647. "$ref": "#/definitions/app.Response"
  3648. }
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3654. "get": {
  3655. "security": [
  3656. {
  3657. "ApiKeyAuth": []
  3658. }
  3659. ],
  3660. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3661. "produces": [
  3662. "application/json"
  3663. ],
  3664. "tags": [
  3665. "定制【海商报业】"
  3666. ],
  3667. "summary": "查询“我的订单”信息",
  3668. "parameters": [
  3669. {
  3670. "type": "string",
  3671. "description": "资金账户列表,格式:1,2,3",
  3672. "name": "accountIDs",
  3673. "in": "query",
  3674. "required": true
  3675. }
  3676. ],
  3677. "responses": {
  3678. "200": {
  3679. "description": "OK",
  3680. "schema": {
  3681. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3682. }
  3683. },
  3684. "500": {
  3685. "description": "Internal Server Error",
  3686. "schema": {
  3687. "$ref": "#/definitions/app.Response"
  3688. }
  3689. }
  3690. }
  3691. }
  3692. },
  3693. "/HSBY/QueryHsbyMyGoods": {
  3694. "get": {
  3695. "security": [
  3696. {
  3697. "ApiKeyAuth": []
  3698. }
  3699. ],
  3700. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3701. "produces": [
  3702. "application/json"
  3703. ],
  3704. "tags": [
  3705. "定制【海商报业】"
  3706. ],
  3707. "summary": "查询“我的商品”信息",
  3708. "parameters": [
  3709. {
  3710. "type": "string",
  3711. "description": "资金账户列表,格式:1,2,3",
  3712. "name": "accountIDs",
  3713. "in": "query",
  3714. "required": true
  3715. }
  3716. ],
  3717. "responses": {
  3718. "200": {
  3719. "description": "OK",
  3720. "schema": {
  3721. "$ref": "#/definitions/models.HsbyMyGoods"
  3722. }
  3723. },
  3724. "500": {
  3725. "description": "Internal Server Error",
  3726. "schema": {
  3727. "$ref": "#/definitions/app.Response"
  3728. }
  3729. }
  3730. }
  3731. }
  3732. },
  3733. "/HSBY/QueryHsbyMyPackages": {
  3734. "get": {
  3735. "security": [
  3736. {
  3737. "ApiKeyAuth": []
  3738. }
  3739. ],
  3740. "produces": [
  3741. "application/json"
  3742. ],
  3743. "tags": [
  3744. "定制【海商报业】"
  3745. ],
  3746. "summary": "查询我的包裹信息",
  3747. "parameters": [
  3748. {
  3749. "type": "string",
  3750. "description": "资金账户列表,格式:1,2,3",
  3751. "name": "accountIDs",
  3752. "in": "query",
  3753. "required": true
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3758. "name": "takeOrderStatus",
  3759. "in": "query"
  3760. }
  3761. ],
  3762. "responses": {
  3763. "200": {
  3764. "description": "OK",
  3765. "schema": {
  3766. "$ref": "#/definitions/models.HsbyMyPackage"
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/HSBY/QueryHsbyPreGoodsDetail": {
  3779. "get": {
  3780. "security": [
  3781. {
  3782. "ApiKeyAuth": []
  3783. }
  3784. ],
  3785. "produces": [
  3786. "application/json"
  3787. ],
  3788. "tags": [
  3789. "定制【海商报业】"
  3790. ],
  3791. "summary": "查询一级市场(预售)商品信息详情",
  3792. "parameters": [
  3793. {
  3794. "type": "integer",
  3795. "description": "商品ID",
  3796. "name": "goodsID",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "资金账户,主要用于获取预售商品购买上限",
  3803. "name": "accountID",
  3804. "in": "query"
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3812. }
  3813. },
  3814. "500": {
  3815. "description": "Internal Server Error",
  3816. "schema": {
  3817. "$ref": "#/definitions/app.Response"
  3818. }
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "/HSBY/QueryHsbyPreGoodses": {
  3824. "get": {
  3825. "security": [
  3826. {
  3827. "ApiKeyAuth": []
  3828. }
  3829. ],
  3830. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3831. "produces": [
  3832. "application/json"
  3833. ],
  3834. "tags": [
  3835. "定制【海商报业】"
  3836. ],
  3837. "summary": "查询新品上市商品列表(一级市场预售)",
  3838. "parameters": [
  3839. {
  3840. "type": "integer",
  3841. "description": "页码",
  3842. "name": "page",
  3843. "in": "query"
  3844. },
  3845. {
  3846. "type": "integer",
  3847. "description": "每页条数",
  3848. "name": "pagesize",
  3849. "in": "query"
  3850. },
  3851. {
  3852. "type": "string",
  3853. "description": "市场ID列表,格式:1,2,3",
  3854. "name": "marketIDs",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "目的地(省)ID",
  3861. "name": "descProvinceID",
  3862. "in": "query"
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "目的地(市)ID",
  3867. "name": "descCityID",
  3868. "in": "query"
  3869. }
  3870. ],
  3871. "responses": {
  3872. "200": {
  3873. "description": "OK",
  3874. "schema": {
  3875. "$ref": "#/definitions/models.HsbyPreGoods"
  3876. }
  3877. },
  3878. "500": {
  3879. "description": "Internal Server Error",
  3880. "schema": {
  3881. "$ref": "#/definitions/app.Response"
  3882. }
  3883. }
  3884. }
  3885. }
  3886. },
  3887. "/HSBY/QueryHsbySellMyDetails": {
  3888. "get": {
  3889. "security": [
  3890. {
  3891. "ApiKeyAuth": []
  3892. }
  3893. ],
  3894. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3895. "produces": [
  3896. "application/json"
  3897. ],
  3898. "tags": [
  3899. "定制【海商报业】"
  3900. ],
  3901. "summary": "查询\"我的闲置\"单据信息",
  3902. "parameters": [
  3903. {
  3904. "type": "integer",
  3905. "description": "页码",
  3906. "name": "page",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "每页条数",
  3912. "name": "pagesize",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "string",
  3917. "description": "资金账户列表,格式:1,2,3",
  3918. "name": "accountIDs",
  3919. "in": "query",
  3920. "required": true
  3921. },
  3922. {
  3923. "type": "integer",
  3924. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3925. "name": "orderType",
  3926. "in": "query"
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/models.HsbySellMyDetail"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/HSBY/QueryHsbyTopGoodses": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "定制【海商报业】"
  3958. ],
  3959. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "页码",
  3964. "name": "page",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "每页条数",
  3970. "name": "pagesize",
  3971. "in": "query"
  3972. },
  3973. {
  3974. "type": "string",
  3975. "description": "市场ID列表,格式:1,2,3",
  3976. "name": "marketIDs",
  3977. "in": "query",
  3978. "required": true
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "目的地(省)ID",
  3983. "name": "descProvinceID",
  3984. "in": "query"
  3985. },
  3986. {
  3987. "type": "integer",
  3988. "description": "目的地(市)ID",
  3989. "name": "descCityID",
  3990. "in": "query"
  3991. }
  3992. ],
  3993. "responses": {
  3994. "200": {
  3995. "description": "OK",
  3996. "schema": {
  3997. "$ref": "#/definitions/models.HsbyTopGoods"
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4017. "produces": [
  4018. "application/json"
  4019. ],
  4020. "tags": [
  4021. "定制【海商报业】"
  4022. ],
  4023. "summary": "查询游客三级市场(商城)商品信息详情",
  4024. "parameters": [
  4025. {
  4026. "type": "integer",
  4027. "description": "商品ID",
  4028. "name": "goodsID",
  4029. "in": "query",
  4030. "required": true
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4057. "produces": [
  4058. "application/json"
  4059. ],
  4060. "tags": [
  4061. "定制【海商报业】"
  4062. ],
  4063. "summary": "查询游客特卖商品列表(三级商城)",
  4064. "parameters": [
  4065. {
  4066. "type": "integer",
  4067. "description": "页码",
  4068. "name": "page",
  4069. "in": "query"
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "每页条数",
  4074. "name": "pagesize",
  4075. "in": "query"
  4076. },
  4077. {
  4078. "type": "string",
  4079. "description": "市场ID列表,格式:1,2,3",
  4080. "name": "marketIDs",
  4081. "in": "query",
  4082. "required": true
  4083. },
  4084. {
  4085. "type": "integer",
  4086. "description": "类别ID",
  4087. "name": "categoryID",
  4088. "in": "query"
  4089. },
  4090. {
  4091. "type": "string",
  4092. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4093. "name": "goodsIDs",
  4094. "in": "query"
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "$ref": "#/definitions/models.HsbyMarketGoods"
  4102. }
  4103. },
  4104. "500": {
  4105. "description": "Internal Server Error",
  4106. "schema": {
  4107. "$ref": "#/definitions/app.Response"
  4108. }
  4109. }
  4110. }
  4111. }
  4112. },
  4113. "/HSBY/QueryMyCollectionOrders": {
  4114. "get": {
  4115. "security": [
  4116. {
  4117. "ApiKeyAuth": []
  4118. }
  4119. ],
  4120. "produces": [
  4121. "application/json"
  4122. ],
  4123. "tags": [
  4124. "定制【海商报业】"
  4125. ],
  4126. "summary": "我的闲置中收款信息查询",
  4127. "parameters": [
  4128. {
  4129. "type": "integer",
  4130. "description": "页码",
  4131. "name": "page",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "integer",
  4136. "description": "每页条数",
  4137. "name": "pagesize",
  4138. "in": "query"
  4139. },
  4140. {
  4141. "type": "string",
  4142. "description": "资金账户,格式:1,2,3",
  4143. "name": "accountIDs",
  4144. "in": "query",
  4145. "required": true
  4146. }
  4147. ],
  4148. "responses": {
  4149. "200": {
  4150. "description": "OK",
  4151. "schema": {
  4152. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/HSBY/QueryMyCouponHolds": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "定制【海商报业】"
  4177. ],
  4178. "summary": "我的优惠卷持仓查询",
  4179. "parameters": [
  4180. {
  4181. "type": "string",
  4182. "description": "资金账户列表,格式:1,2,3",
  4183. "name": "accountIDs",
  4184. "in": "query",
  4185. "required": true
  4186. },
  4187. {
  4188. "type": "string",
  4189. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4190. "name": "holdStatus",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "$ref": "#/definitions/models.MyCouponHold"
  4199. }
  4200. },
  4201. "500": {
  4202. "description": "Internal Server Error",
  4203. "schema": {
  4204. "$ref": "#/definitions/app.Response"
  4205. }
  4206. }
  4207. }
  4208. }
  4209. },
  4210. "/HSBY/QueryMyCoupons": {
  4211. "get": {
  4212. "security": [
  4213. {
  4214. "ApiKeyAuth": []
  4215. }
  4216. ],
  4217. "produces": [
  4218. "application/json"
  4219. ],
  4220. "tags": [
  4221. "定制【海商报业】"
  4222. ],
  4223. "summary": "我的优惠卷查询",
  4224. "parameters": [
  4225. {
  4226. "type": "string",
  4227. "description": "资金账户列表,格式:1,2,3",
  4228. "name": "accountIDs",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "integer",
  4234. "description": "商品ID, 一般与sellUserID配套传入",
  4235. "name": "goodsID",
  4236. "in": "query"
  4237. },
  4238. {
  4239. "type": "integer",
  4240. "description": "卖方UserID",
  4241. "name": "sellUserID",
  4242. "in": "query"
  4243. }
  4244. ],
  4245. "responses": {
  4246. "200": {
  4247. "description": "OK",
  4248. "schema": {
  4249. "$ref": "#/definitions/models.MyCoupon"
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/HSBY/QueryMyPayOrders": {
  4262. "get": {
  4263. "security": [
  4264. {
  4265. "ApiKeyAuth": []
  4266. }
  4267. ],
  4268. "produces": [
  4269. "application/json"
  4270. ],
  4271. "tags": [
  4272. "定制【海商报业】"
  4273. ],
  4274. "summary": "获取我的订单中待付款信息",
  4275. "parameters": [
  4276. {
  4277. "type": "integer",
  4278. "description": "页码",
  4279. "name": "page",
  4280. "in": "query"
  4281. },
  4282. {
  4283. "type": "integer",
  4284. "description": "每页条数",
  4285. "name": "pagesize",
  4286. "in": "query"
  4287. },
  4288. {
  4289. "type": "string",
  4290. "description": "资金账户列表,格式:1,2,3",
  4291. "name": "accountIDs",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "买方委托单号",
  4298. "name": "buyOrderID",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "卖方委托单号",
  4304. "name": "sellOrderID",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4313. }
  4314. },
  4315. "500": {
  4316. "description": "Internal Server Error",
  4317. "schema": {
  4318. "$ref": "#/definitions/app.Response"
  4319. }
  4320. }
  4321. }
  4322. }
  4323. },
  4324. "/HSBY/QueryMyUsedCoupon": {
  4325. "get": {
  4326. "security": [
  4327. {
  4328. "ApiKeyAuth": []
  4329. }
  4330. ],
  4331. "produces": [
  4332. "application/json"
  4333. ],
  4334. "tags": [
  4335. "定制【海商报业】"
  4336. ],
  4337. "summary": "已使用优惠卷查询",
  4338. "parameters": [
  4339. {
  4340. "type": "string",
  4341. "description": "资金账户列表,格式:1,2,3",
  4342. "name": "accountIDs",
  4343. "in": "query",
  4344. "required": true
  4345. }
  4346. ],
  4347. "responses": {
  4348. "200": {
  4349. "description": "OK",
  4350. "schema": {
  4351. "$ref": "#/definitions/models.MyUsedCoupon"
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/HSBY/QueryProvincesAndCities": {
  4364. "get": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4371. "produces": [
  4372. "application/json"
  4373. ],
  4374. "tags": [
  4375. "定制【海商报业】"
  4376. ],
  4377. "summary": "查询省市信息(不包括区)",
  4378. "parameters": [
  4379. {
  4380. "type": "integer",
  4381. "description": "省ID",
  4382. "name": "provinceID",
  4383. "in": "query"
  4384. }
  4385. ],
  4386. "responses": {
  4387. "200": {
  4388. "description": "OK",
  4389. "schema": {
  4390. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4391. }
  4392. },
  4393. "500": {
  4394. "description": "Internal Server Error",
  4395. "schema": {
  4396. "$ref": "#/definitions/app.Response"
  4397. }
  4398. }
  4399. }
  4400. }
  4401. },
  4402. "/HSBY/SetHsbyMyPackagesStatus": {
  4403. "post": {
  4404. "security": [
  4405. {
  4406. "ApiKeyAuth": []
  4407. }
  4408. ],
  4409. "produces": [
  4410. "application/json"
  4411. ],
  4412. "tags": [
  4413. "定制【海商报业】"
  4414. ],
  4415. "summary": "设置我的包裹已收货状态",
  4416. "parameters": [
  4417. {
  4418. "type": "string",
  4419. "description": "提货单号",
  4420. "name": "takeOrderID",
  4421. "in": "query",
  4422. "required": true
  4423. },
  4424. {
  4425. "type": "integer",
  4426. "description": "资金账号",
  4427. "name": "accountID",
  4428. "in": "query",
  4429. "required": true
  4430. }
  4431. ],
  4432. "responses": {
  4433. "200": {
  4434. "description": "OK",
  4435. "schema": {
  4436. "$ref": "#/definitions/app.Response"
  4437. }
  4438. },
  4439. "500": {
  4440. "description": "Internal Server Error",
  4441. "schema": {
  4442. "$ref": "#/definitions/app.Response"
  4443. }
  4444. }
  4445. }
  4446. }
  4447. },
  4448. "/Market/QueryGoodsesByLoginID": {
  4449. "get": {
  4450. "security": [
  4451. {
  4452. "ApiKeyAuth": []
  4453. }
  4454. ],
  4455. "produces": [
  4456. "application/json"
  4457. ],
  4458. "tags": [
  4459. "通用市场"
  4460. ],
  4461. "summary": "获取登录账号有权限的商品信息",
  4462. "parameters": [
  4463. {
  4464. "type": "integer",
  4465. "description": "登录账号",
  4466. "name": "loginID",
  4467. "in": "query",
  4468. "required": true
  4469. },
  4470. {
  4471. "type": "string",
  4472. "description": "市场ID列表,格式:1,2,3",
  4473. "name": "marketIDs",
  4474. "in": "query"
  4475. }
  4476. ],
  4477. "responses": {
  4478. "200": {
  4479. "description": "OK",
  4480. "schema": {
  4481. "$ref": "#/definitions/models.Goods"
  4482. }
  4483. },
  4484. "500": {
  4485. "description": "Internal Server Error",
  4486. "schema": {
  4487. "$ref": "#/definitions/app.Response"
  4488. }
  4489. }
  4490. }
  4491. }
  4492. },
  4493. "/Market/QueryMarketRun": {
  4494. "get": {
  4495. "security": [
  4496. {
  4497. "ApiKeyAuth": []
  4498. }
  4499. ],
  4500. "produces": [
  4501. "application/json"
  4502. ],
  4503. "tags": [
  4504. "通用市场"
  4505. ],
  4506. "summary": "查询市场运行信息",
  4507. "parameters": [
  4508. {
  4509. "type": "integer",
  4510. "description": "市场ID,不传返回所有",
  4511. "name": "marketID",
  4512. "in": "query"
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/models.Marketrun"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/Market/QueryMarketsByLoginID": {
  4532. "get": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "通用市场"
  4543. ],
  4544. "summary": "获取登录账号有权限的市场信息",
  4545. "parameters": [
  4546. {
  4547. "type": "integer",
  4548. "description": "登录账号",
  4549. "name": "loginID",
  4550. "in": "query",
  4551. "required": true
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/models.Market"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Order/QueryHisTradeDetail": {
  4571. "get": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "通用单据"
  4582. ],
  4583. "summary": "历史成交单查询(合约市场)",
  4584. "parameters": [
  4585. {
  4586. "type": "string",
  4587. "description": "资金账户 - 格式:1,2,3",
  4588. "name": "accountID",
  4589. "in": "query",
  4590. "required": true
  4591. },
  4592. {
  4593. "type": "integer",
  4594. "description": "成交单号",
  4595. "name": "tradeID",
  4596. "in": "query"
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "委托单号",
  4601. "name": "orderID",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "string",
  4606. "description": "交易模式 - 格式:1,2,3",
  4607. "name": "tradeMode",
  4608. "in": "query"
  4609. },
  4610. {
  4611. "type": "integer",
  4612. "description": "委托单据类型",
  4613. "name": "buildType",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "string",
  4618. "description": "成交类别 - 格式:1,2,3",
  4619. "name": "tradeType",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "string",
  4624. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4625. "name": "startDate",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "string",
  4630. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4631. "name": "endDate",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4640. }
  4641. },
  4642. "500": {
  4643. "description": "Internal Server Error",
  4644. "schema": {
  4645. "$ref": "#/definitions/app.Response"
  4646. }
  4647. }
  4648. }
  4649. }
  4650. },
  4651. "/Order/QueryHisTradeOrderDetail": {
  4652. "get": {
  4653. "security": [
  4654. {
  4655. "ApiKeyAuth": []
  4656. }
  4657. ],
  4658. "produces": [
  4659. "application/json"
  4660. ],
  4661. "tags": [
  4662. "通用单据"
  4663. ],
  4664. "summary": "历史委托单查询请求(合约市场)",
  4665. "parameters": [
  4666. {
  4667. "type": "string",
  4668. "description": "资金账户 - 格式:1,2,3",
  4669. "name": "accountID",
  4670. "in": "query",
  4671. "required": true
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "交易模式 - 格式:1,2,3",
  4676. "name": "tradeMode",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "委托状态 - 格式:1,2,3",
  4682. "name": "orderStatus",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "委托单号",
  4688. "name": "orderID",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "string",
  4693. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4694. "name": "startDate",
  4695. "in": "query"
  4696. },
  4697. {
  4698. "type": "string",
  4699. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4700. "name": "endDate",
  4701. "in": "query"
  4702. }
  4703. ],
  4704. "responses": {
  4705. "200": {
  4706. "description": "OK",
  4707. "schema": {
  4708. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4709. }
  4710. },
  4711. "500": {
  4712. "description": "Internal Server Error",
  4713. "schema": {
  4714. "$ref": "#/definitions/app.Response"
  4715. }
  4716. }
  4717. }
  4718. }
  4719. },
  4720. "/Order/QueryTradeDetail": {
  4721. "get": {
  4722. "security": [
  4723. {
  4724. "ApiKeyAuth": []
  4725. }
  4726. ],
  4727. "produces": [
  4728. "application/json"
  4729. ],
  4730. "tags": [
  4731. "通用单据"
  4732. ],
  4733. "summary": "成交单查询(合约市场)",
  4734. "parameters": [
  4735. {
  4736. "type": "string",
  4737. "description": "资金账户 - 格式:1,2,3",
  4738. "name": "accountID",
  4739. "in": "query",
  4740. "required": true
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "成交单号",
  4745. "name": "tradeID",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "integer",
  4750. "description": "委托单号",
  4751. "name": "orderID",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "string",
  4756. "description": "交易模式 - 格式:1,2,3",
  4757. "name": "tradeMode",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "integer",
  4762. "description": "委托单据类型",
  4763. "name": "buildType",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "string",
  4768. "description": "成交类别 - 格式:1,2,3",
  4769. "name": "tradeType",
  4770. "in": "query"
  4771. }
  4772. ],
  4773. "responses": {
  4774. "200": {
  4775. "description": "OK",
  4776. "schema": {
  4777. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Order/QueryTradeOrderDetail": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "produces": [
  4797. "application/json"
  4798. ],
  4799. "tags": [
  4800. "通用单据"
  4801. ],
  4802. "summary": "委托单查询请求(合约市场)",
  4803. "parameters": [
  4804. {
  4805. "type": "string",
  4806. "description": "资金账户 - 格式:1,2,3",
  4807. "name": "accountID",
  4808. "in": "query",
  4809. "required": true
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "交易模式 - 格式:1,2,3",
  4814. "name": "tradeMode",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "string",
  4819. "description": "委托状态 - 格式:1,2,3",
  4820. "name": "orderStatus",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "委托单号",
  4826. "name": "orderID",
  4827. "in": "query"
  4828. }
  4829. ],
  4830. "responses": {
  4831. "200": {
  4832. "description": "OK",
  4833. "schema": {
  4834. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4835. }
  4836. },
  4837. "500": {
  4838. "description": "Internal Server Error",
  4839. "schema": {
  4840. "$ref": "#/definitions/app.Response"
  4841. }
  4842. }
  4843. }
  4844. }
  4845. },
  4846. "/Order/QueryTradePosition": {
  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. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/Quote/QueryHistoryDatas": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "行情服务"
  4903. ],
  4904. "summary": "查询行情历史数据",
  4905. "parameters": [
  4906. {
  4907. "type": "integer",
  4908. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4909. "name": "cycleType",
  4910. "in": "query",
  4911. "required": true
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "商品代码",
  4916. "name": "goodsCode",
  4917. "in": "query",
  4918. "required": true
  4919. },
  4920. {
  4921. "type": "string",
  4922. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4923. "name": "startTime",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4929. "name": "endTime",
  4930. "in": "query"
  4931. },
  4932. {
  4933. "type": "integer",
  4934. "description": "条数",
  4935. "name": "count",
  4936. "in": "query"
  4937. },
  4938. {
  4939. "type": "boolean",
  4940. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4941. "name": "isAsc",
  4942. "in": "query"
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/quote.HistoryData"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Quote/QueryQuoteDay": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "行情服务"
  4973. ],
  4974. "summary": "获取商品盘面信息",
  4975. "parameters": [
  4976. {
  4977. "type": "string",
  4978. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  4979. "name": "goodsCodes",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Quote/QueryTSData": {
  5001. "get": {
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "行情服务"
  5007. ],
  5008. "summary": "分时图数据查询",
  5009. "parameters": [
  5010. {
  5011. "type": "string",
  5012. "description": "商品代码",
  5013. "name": "goodsCode",
  5014. "in": "query",
  5015. "required": true
  5016. }
  5017. ],
  5018. "responses": {
  5019. "200": {
  5020. "description": "OK",
  5021. "schema": {
  5022. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5023. }
  5024. },
  5025. "500": {
  5026. "description": "Internal Server Error",
  5027. "schema": {
  5028. "$ref": "#/definitions/app.Response"
  5029. }
  5030. }
  5031. }
  5032. }
  5033. },
  5034. "/SZDZ/QueryConvertConfig": {
  5035. "get": {
  5036. "security": [
  5037. {
  5038. "ApiKeyAuth": []
  5039. }
  5040. ],
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "定制【尚志大宗】"
  5046. ],
  5047. "summary": "查询交易系统转换设置",
  5048. "parameters": [
  5049. {
  5050. "type": "integer",
  5051. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5052. "name": "convertType",
  5053. "in": "query"
  5054. },
  5055. {
  5056. "type": "string",
  5057. "description": "外部商品代码[JD\\PD]",
  5058. "name": "outerGoodsCode",
  5059. "in": "query"
  5060. },
  5061. {
  5062. "type": "string",
  5063. "description": "内部商品ID列表[交易],格式:1,2,3",
  5064. "name": "innerGoodsIDs",
  5065. "in": "query"
  5066. }
  5067. ],
  5068. "responses": {
  5069. "200": {
  5070. "description": "OK",
  5071. "schema": {
  5072. "$ref": "#/definitions/models.Szdz3convertconfig"
  5073. }
  5074. },
  5075. "500": {
  5076. "description": "Internal Server Error",
  5077. "schema": {
  5078. "$ref": "#/definitions/app.Response"
  5079. }
  5080. }
  5081. }
  5082. }
  5083. },
  5084. "/SZDZ/QueryConvertLog": {
  5085. "get": {
  5086. "security": [
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json"
  5093. ],
  5094. "tags": [
  5095. "定制【尚志大宗】"
  5096. ],
  5097. "summary": "交易系统转换流水查询",
  5098. "parameters": [
  5099. {
  5100. "type": "string",
  5101. "description": "资金账户 - 格式:1,2,3",
  5102. "name": "accountID",
  5103. "in": "query",
  5104. "required": true
  5105. },
  5106. {
  5107. "type": "string",
  5108. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5109. "name": "startDate",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5115. "name": "endDate",
  5116. "in": "query"
  5117. }
  5118. ],
  5119. "responses": {
  5120. "200": {
  5121. "description": "OK",
  5122. "schema": {
  5123. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/SZDZ/QueryGoodsPickup": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "定制【尚志大宗】"
  5147. ],
  5148. "summary": "商品提货单查询",
  5149. "parameters": [
  5150. {
  5151. "type": "string",
  5152. "description": "资金账户 - 格式:1,2,3",
  5153. "name": "accountID",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5160. "name": "takeOrderStatus",
  5161. "in": "query"
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5169. }
  5170. },
  5171. "500": {
  5172. "description": "Internal Server Error",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. }
  5177. }
  5178. }
  5179. },
  5180. "/SZDZ/QueryRecieptOrder": {
  5181. "get": {
  5182. "security": [
  5183. {
  5184. "ApiKeyAuth": []
  5185. }
  5186. ],
  5187. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5188. "produces": [
  5189. "application/json"
  5190. ],
  5191. "tags": [
  5192. "定制【尚志大宗】"
  5193. ],
  5194. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5195. "parameters": [
  5196. {
  5197. "type": "integer",
  5198. "description": "页码",
  5199. "name": "page",
  5200. "in": "query"
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "每页条数",
  5205. "name": "pagesize",
  5206. "in": "query"
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "商品ID",
  5211. "name": "goodsID",
  5212. "in": "query",
  5213. "required": true
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "所属账户名称",
  5218. "name": "accountName",
  5219. "in": "query"
  5220. },
  5221. {
  5222. "type": "integer",
  5223. "description": "市场ID",
  5224. "name": "marketID",
  5225. "in": "query"
  5226. },
  5227. {
  5228. "type": "integer",
  5229. "description": "方向 - 0:买 1:卖",
  5230. "name": "buyorsell",
  5231. "in": "query",
  5232. "required": true
  5233. }
  5234. ],
  5235. "responses": {
  5236. "200": {
  5237. "description": "OK",
  5238. "schema": {
  5239. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5240. }
  5241. },
  5242. "500": {
  5243. "description": "Internal Server Error",
  5244. "schema": {
  5245. "$ref": "#/definitions/app.Response"
  5246. }
  5247. }
  5248. }
  5249. }
  5250. },
  5251. "/SZDZ/QuerySZDZTradePosition": {
  5252. "get": {
  5253. "security": [
  5254. {
  5255. "ApiKeyAuth": []
  5256. }
  5257. ],
  5258. "produces": [
  5259. "application/json"
  5260. ],
  5261. "tags": [
  5262. "定制【尚志大宗】"
  5263. ],
  5264. "summary": "持仓汇总查询(尚志大宗)",
  5265. "parameters": [
  5266. {
  5267. "type": "integer",
  5268. "description": "资金账户",
  5269. "name": "accountID",
  5270. "in": "query",
  5271. "required": true
  5272. }
  5273. ],
  5274. "responses": {
  5275. "200": {
  5276. "description": "OK",
  5277. "schema": {
  5278. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5279. }
  5280. },
  5281. "500": {
  5282. "description": "Internal Server Error",
  5283. "schema": {
  5284. "$ref": "#/definitions/app.Response"
  5285. }
  5286. }
  5287. }
  5288. }
  5289. },
  5290. "/SZDZ/SearchWhite": {
  5291. "get": {
  5292. "security": [
  5293. {
  5294. "ApiKeyAuth": []
  5295. }
  5296. ],
  5297. "produces": [
  5298. "application/json"
  5299. ],
  5300. "tags": [
  5301. "定制【尚志大宗】"
  5302. ],
  5303. "summary": "搜索白名单",
  5304. "parameters": [
  5305. {
  5306. "type": "integer",
  5307. "description": "用户ID",
  5308. "name": "userID",
  5309. "in": "query",
  5310. "required": true
  5311. }
  5312. ],
  5313. "responses": {
  5314. "200": {
  5315. "description": "OK",
  5316. "schema": {
  5317. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5318. }
  5319. },
  5320. "500": {
  5321. "description": "Internal Server Error",
  5322. "schema": {
  5323. "$ref": "#/definitions/app.Response"
  5324. }
  5325. }
  5326. }
  5327. }
  5328. },
  5329. "/Search/SearchGoodses": {
  5330. "get": {
  5331. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5332. "produces": [
  5333. "application/json"
  5334. ],
  5335. "tags": [
  5336. "检索服务"
  5337. ],
  5338. "summary": "检索商品信息",
  5339. "parameters": [
  5340. {
  5341. "type": "string",
  5342. "description": "检索内容",
  5343. "name": "content",
  5344. "in": "query",
  5345. "required": true
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "交易模式,格式:1,2,3",
  5350. "name": "tradeModes",
  5351. "in": "query"
  5352. }
  5353. ],
  5354. "responses": {
  5355. "200": {
  5356. "description": "OK",
  5357. "schema": {
  5358. "$ref": "#/definitions/models.SearchGoods"
  5359. }
  5360. },
  5361. "500": {
  5362. "description": "Internal Server Error",
  5363. "schema": {
  5364. "$ref": "#/definitions/app.Response"
  5365. }
  5366. }
  5367. }
  5368. }
  5369. },
  5370. "/TaAccount/GetTaAccounts": {
  5371. "get": {
  5372. "security": [
  5373. {
  5374. "ApiKeyAuth": []
  5375. }
  5376. ],
  5377. "produces": [
  5378. "application/json"
  5379. ],
  5380. "tags": [
  5381. "资金账户"
  5382. ],
  5383. "summary": "获取资金账户信息",
  5384. "parameters": [
  5385. {
  5386. "type": "integer",
  5387. "description": "登录账户",
  5388. "name": "loginID",
  5389. "in": "query",
  5390. "required": true
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5395. "name": "taAccountType",
  5396. "in": "query"
  5397. }
  5398. ],
  5399. "responses": {
  5400. "200": {
  5401. "description": "OK",
  5402. "schema": {
  5403. "$ref": "#/definitions/models.Taaccount"
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/TaAccount/QueryAmountLog": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "资金账户"
  5427. ],
  5428. "summary": "资金流水查询(当前)",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "页码",
  5433. "name": "page",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "integer",
  5438. "description": "每页条数",
  5439. "name": "pagesize",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "string",
  5444. "description": "资金账户 - 格式:1,2,3",
  5445. "name": "accountID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "string",
  5451. "description": "资金操作类型 - 格式:1,2,3",
  5452. "name": "OperateType",
  5453. "in": "query"
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/TaAccount/QueryHisAmountLog": {
  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. "type": "string",
  5514. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5515. "name": "startDate",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5521. "name": "endDate",
  5522. "in": "query"
  5523. }
  5524. ],
  5525. "responses": {
  5526. "200": {
  5527. "description": "OK",
  5528. "schema": {
  5529. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5530. }
  5531. },
  5532. "500": {
  5533. "description": "Internal Server Error",
  5534. "schema": {
  5535. "$ref": "#/definitions/app.Response"
  5536. }
  5537. }
  5538. }
  5539. }
  5540. },
  5541. "/Trade/QueryRecieptOrder": {
  5542. "get": {
  5543. "security": [
  5544. {
  5545. "ApiKeyAuth": []
  5546. }
  5547. ],
  5548. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5549. "produces": [
  5550. "application/json"
  5551. ],
  5552. "tags": [
  5553. "通用交易"
  5554. ],
  5555. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5556. "parameters": [
  5557. {
  5558. "type": "integer",
  5559. "description": "页码",
  5560. "name": "page",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "integer",
  5565. "description": "每页条数",
  5566. "name": "pagesize",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "integer",
  5571. "description": "商品ID",
  5572. "name": "goodsID",
  5573. "in": "query",
  5574. "required": true
  5575. },
  5576. {
  5577. "type": "string",
  5578. "description": "所属账户名称",
  5579. "name": "accountName",
  5580. "in": "query"
  5581. },
  5582. {
  5583. "type": "integer",
  5584. "description": "市场ID",
  5585. "name": "marketID",
  5586. "in": "query"
  5587. },
  5588. {
  5589. "type": "integer",
  5590. "description": "方向 - 0:买 1:卖",
  5591. "name": "buyorsell",
  5592. "in": "query",
  5593. "required": true
  5594. }
  5595. ],
  5596. "responses": {
  5597. "200": {
  5598. "description": "OK",
  5599. "schema": {
  5600. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5601. }
  5602. },
  5603. "500": {
  5604. "description": "Internal Server Error",
  5605. "schema": {
  5606. "$ref": "#/definitions/app.Response"
  5607. }
  5608. }
  5609. }
  5610. }
  5611. },
  5612. "/User/AddMessageBoard": {
  5613. "post": {
  5614. "security": [
  5615. {
  5616. "ApiKeyAuth": []
  5617. }
  5618. ],
  5619. "produces": [
  5620. "application/json"
  5621. ],
  5622. "tags": [
  5623. "用户信息"
  5624. ],
  5625. "summary": "添加用户留言板信息",
  5626. "parameters": [
  5627. {
  5628. "type": "integer",
  5629. "description": "用户ID",
  5630. "name": "userID",
  5631. "in": "query",
  5632. "required": true
  5633. },
  5634. {
  5635. "type": "string",
  5636. "description": "留言信息",
  5637. "name": "message",
  5638. "in": "query",
  5639. "required": true
  5640. }
  5641. ],
  5642. "responses": {
  5643. "200": {
  5644. "description": "OK",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. },
  5649. "500": {
  5650. "description": "Internal Server Error",
  5651. "schema": {
  5652. "$ref": "#/definitions/app.Response"
  5653. }
  5654. }
  5655. }
  5656. }
  5657. },
  5658. "/User/AddUserFavoriteGoods": {
  5659. "post": {
  5660. "security": [
  5661. {
  5662. "ApiKeyAuth": []
  5663. }
  5664. ],
  5665. "produces": [
  5666. "application/json"
  5667. ],
  5668. "tags": [
  5669. "用户信息"
  5670. ],
  5671. "summary": "添加用户商品收藏信息",
  5672. "parameters": [
  5673. {
  5674. "type": "integer",
  5675. "description": "用户ID",
  5676. "name": "userID",
  5677. "in": "query",
  5678. "required": true
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "商品ID",
  5683. "name": "goodsID",
  5684. "in": "query",
  5685. "required": true
  5686. }
  5687. ],
  5688. "responses": {
  5689. "200": {
  5690. "description": "OK",
  5691. "schema": {
  5692. "$ref": "#/definitions/app.Response"
  5693. }
  5694. },
  5695. "500": {
  5696. "description": "Internal Server Error",
  5697. "schema": {
  5698. "$ref": "#/definitions/app.Response"
  5699. }
  5700. }
  5701. }
  5702. }
  5703. },
  5704. "/User/GetLoginID": {
  5705. "get": {
  5706. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "用户信息"
  5712. ],
  5713. "summary": "获取登录ID",
  5714. "parameters": [
  5715. {
  5716. "type": "string",
  5717. "description": "登录代码",
  5718. "name": "username",
  5719. "in": "query",
  5720. "required": true
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/app.Response"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/app.Response"
  5734. }
  5735. }
  5736. }
  5737. }
  5738. },
  5739. "/User/GetUserAccount": {
  5740. "get": {
  5741. "security": [
  5742. {
  5743. "ApiKeyAuth": []
  5744. }
  5745. ],
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "用户信息"
  5751. ],
  5752. "summary": "获取用户账号信息",
  5753. "parameters": [
  5754. {
  5755. "type": "integer",
  5756. "description": "用户ID",
  5757. "name": "userID",
  5758. "in": "query",
  5759. "required": true
  5760. }
  5761. ],
  5762. "responses": {
  5763. "200": {
  5764. "description": "OK",
  5765. "schema": {
  5766. "$ref": "#/definitions/models.Useraccount"
  5767. }
  5768. },
  5769. "500": {
  5770. "description": "Internal Server Error",
  5771. "schema": {
  5772. "$ref": "#/definitions/app.Response"
  5773. }
  5774. }
  5775. }
  5776. }
  5777. },
  5778. "/User/GetUserAuthStatus": {
  5779. "get": {
  5780. "security": [
  5781. {
  5782. "ApiKeyAuth": []
  5783. }
  5784. ],
  5785. "produces": [
  5786. "application/json"
  5787. ],
  5788. "tags": [
  5789. "用户信息"
  5790. ],
  5791. "summary": "获取用户实名认证状态",
  5792. "parameters": [
  5793. {
  5794. "type": "integer",
  5795. "description": "用户ID",
  5796. "name": "userID",
  5797. "in": "query",
  5798. "required": true
  5799. }
  5800. ],
  5801. "responses": {
  5802. "200": {
  5803. "description": "OK",
  5804. "schema": {
  5805. "$ref": "#/definitions/app.Response"
  5806. }
  5807. },
  5808. "500": {
  5809. "description": "Internal Server Error",
  5810. "schema": {
  5811. "$ref": "#/definitions/app.Response"
  5812. }
  5813. }
  5814. }
  5815. }
  5816. },
  5817. "/User/QueryMessageBoard": {
  5818. "get": {
  5819. "security": [
  5820. {
  5821. "ApiKeyAuth": []
  5822. }
  5823. ],
  5824. "produces": [
  5825. "application/json"
  5826. ],
  5827. "tags": [
  5828. "用户信息"
  5829. ],
  5830. "summary": "获取用户留言板信息",
  5831. "parameters": [
  5832. {
  5833. "type": "integer",
  5834. "description": "用户ID",
  5835. "name": "userID",
  5836. "in": "query",
  5837. "required": true
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.Messageboard"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/User/QueryUserFavoriteGoodses": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "用户信息"
  5868. ],
  5869. "summary": "获取用户商品收藏信息",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "用户ID",
  5874. "name": "userID",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "$ref": "#/definitions/models.Userfavoritegoods"
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/User/QueryUserInfo": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "用户信息"
  5907. ],
  5908. "summary": "获取用户信息",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "用户ID",
  5913. "name": "userID",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "$ref": "#/definitions/models.Userinfo"
  5923. }
  5924. },
  5925. "500": {
  5926. "description": "Internal Server Error",
  5927. "schema": {
  5928. "$ref": "#/definitions/app.Response"
  5929. }
  5930. }
  5931. }
  5932. }
  5933. },
  5934. "/User/QueryUserReferNum": {
  5935. "get": {
  5936. "produces": [
  5937. "application/json"
  5938. ],
  5939. "tags": [
  5940. "用户信息"
  5941. ],
  5942. "summary": "获取用户邀请码",
  5943. "parameters": [
  5944. {
  5945. "type": "integer",
  5946. "description": "用户ID",
  5947. "name": "userID",
  5948. "in": "query",
  5949. "required": true
  5950. }
  5951. ],
  5952. "responses": {
  5953. "200": {
  5954. "description": "OK",
  5955. "schema": {
  5956. "$ref": "#/definitions/app.Response"
  5957. }
  5958. },
  5959. "500": {
  5960. "description": "Internal Server Error",
  5961. "schema": {
  5962. "$ref": "#/definitions/app.Response"
  5963. }
  5964. }
  5965. }
  5966. }
  5967. },
  5968. "/User/RemoveUserFavoriteGoods": {
  5969. "post": {
  5970. "security": [
  5971. {
  5972. "ApiKeyAuth": []
  5973. }
  5974. ],
  5975. "produces": [
  5976. "application/json"
  5977. ],
  5978. "tags": [
  5979. "用户信息"
  5980. ],
  5981. "summary": "移除用户商品收藏信息",
  5982. "parameters": [
  5983. {
  5984. "type": "integer",
  5985. "description": "用户ID",
  5986. "name": "userID",
  5987. "in": "query",
  5988. "required": true
  5989. },
  5990. {
  5991. "type": "integer",
  5992. "description": "商品ID",
  5993. "name": "goodsID",
  5994. "in": "query",
  5995. "required": true
  5996. }
  5997. ],
  5998. "responses": {
  5999. "200": {
  6000. "description": "OK",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. },
  6005. "500": {
  6006. "description": "Internal Server Error",
  6007. "schema": {
  6008. "$ref": "#/definitions/app.Response"
  6009. }
  6010. }
  6011. }
  6012. }
  6013. },
  6014. "/User/UpdateUserAccountStatus": {
  6015. "post": {
  6016. "security": [
  6017. {
  6018. "ApiKeyAuth": []
  6019. }
  6020. ],
  6021. "produces": [
  6022. "application/json"
  6023. ],
  6024. "tags": [
  6025. "用户信息"
  6026. ],
  6027. "summary": "更新用户状态",
  6028. "parameters": [
  6029. {
  6030. "type": "integer",
  6031. "description": "用户ID",
  6032. "name": "userID",
  6033. "in": "query",
  6034. "required": true
  6035. },
  6036. {
  6037. "type": "integer",
  6038. "description": "账户状态 - 4:正常 6:注销(停用)",
  6039. "name": "accountStatus",
  6040. "in": "query",
  6041. "required": true
  6042. }
  6043. ],
  6044. "responses": {
  6045. "200": {
  6046. "description": "OK",
  6047. "schema": {
  6048. "$ref": "#/definitions/app.Response"
  6049. }
  6050. },
  6051. "500": {
  6052. "description": "Internal Server Error",
  6053. "schema": {
  6054. "$ref": "#/definitions/app.Response"
  6055. }
  6056. }
  6057. }
  6058. }
  6059. },
  6060. "/WR/GetWRCategoryInfo": {
  6061. "get": {
  6062. "produces": [
  6063. "application/json"
  6064. ],
  6065. "tags": [
  6066. "仓单服务"
  6067. ],
  6068. "summary": "获取现货分类信息",
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/models.WRCategoryTree"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/WRTrade/GetAllDeliveryGoods": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. },
  6091. {
  6092. "ApiKeyAuth": []
  6093. }
  6094. ],
  6095. "produces": [
  6096. "application/json",
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "仓单贸易",
  6101. "仓单贸易"
  6102. ],
  6103. "summary": "获取带仓单分类的种类信息",
  6104. "responses": {
  6105. "200": {
  6106. "description": "OK",
  6107. "schema": {
  6108. "$ref": "#/definitions/app.Response"
  6109. }
  6110. },
  6111. "500": {
  6112. "description": "Internal Server Error",
  6113. "schema": {
  6114. "$ref": "#/definitions/app.Response"
  6115. }
  6116. }
  6117. }
  6118. }
  6119. }
  6120. },
  6121. "definitions": {
  6122. "app.Response": {
  6123. "type": "object",
  6124. "properties": {
  6125. "code": {
  6126. "type": "integer"
  6127. },
  6128. "data": {
  6129. "type": "object"
  6130. },
  6131. "msg": {
  6132. "type": "string"
  6133. },
  6134. "page": {
  6135. "description": "页码",
  6136. "type": "integer"
  6137. },
  6138. "pagesize": {
  6139. "description": "每页条数",
  6140. "type": "integer"
  6141. },
  6142. "total": {
  6143. "description": "总条数",
  6144. "type": "integer"
  6145. }
  6146. }
  6147. },
  6148. "common.QueryNoticeRsp": {
  6149. "type": "object",
  6150. "required": [
  6151. "autoid"
  6152. ],
  6153. "properties": {
  6154. "auditoruserid": {
  6155. "description": "审核人",
  6156. "type": "integer"
  6157. },
  6158. "auditremark": {
  6159. "description": "审核备注",
  6160. "type": "string"
  6161. },
  6162. "audittime": {
  6163. "description": "审核日期",
  6164. "type": "string"
  6165. },
  6166. "autoid": {
  6167. "description": "自增ID",
  6168. "type": "integer"
  6169. },
  6170. "content": {
  6171. "description": "内容",
  6172. "type": "string"
  6173. },
  6174. "createtime": {
  6175. "description": "创建时间",
  6176. "type": "string"
  6177. },
  6178. "creatorid": {
  6179. "description": "建仓人",
  6180. "type": "integer"
  6181. },
  6182. "endtime": {
  6183. "description": "结束时间",
  6184. "type": "string"
  6185. },
  6186. "istop": {
  6187. "description": "是否置顶 - 0:不置顶 1:置顶",
  6188. "type": "integer"
  6189. },
  6190. "msgiconurl": {
  6191. "description": "消息图标Url",
  6192. "type": "string"
  6193. },
  6194. "msgtype": {
  6195. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6196. "type": "integer"
  6197. },
  6198. "publisher": {
  6199. "description": "消息发布者",
  6200. "type": "string"
  6201. },
  6202. "readed": {
  6203. "description": "是否已读",
  6204. "type": "boolean"
  6205. },
  6206. "scheduletime": {
  6207. "description": "计划发送时间",
  6208. "type": "string"
  6209. },
  6210. "sendtype": {
  6211. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6212. "type": "integer"
  6213. },
  6214. "sentstatus": {
  6215. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6216. "type": "integer"
  6217. },
  6218. "title": {
  6219. "description": "标题",
  6220. "type": "string"
  6221. },
  6222. "userid": {
  6223. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6224. "type": "integer"
  6225. }
  6226. }
  6227. },
  6228. "common.QueryProvincesAndCitiesRsp": {
  6229. "type": "object",
  6230. "properties": {
  6231. "cities": {
  6232. "description": "市",
  6233. "type": "array",
  6234. "items": {
  6235. "$ref": "#/definitions/models.Division"
  6236. }
  6237. },
  6238. "province": {
  6239. "description": "省",
  6240. "$ref": "#/definitions/models.Division"
  6241. }
  6242. }
  6243. },
  6244. "common.QueryTableDefineRsp": {
  6245. "type": "object",
  6246. "required": [
  6247. "tablekey"
  6248. ],
  6249. "properties": {
  6250. "columns": {
  6251. "description": "列头信息数组",
  6252. "type": "array",
  6253. "items": {
  6254. "$ref": "#/definitions/models.Tablecolumnconfig"
  6255. }
  6256. },
  6257. "remark": {
  6258. "description": "Remark",
  6259. "type": "string"
  6260. },
  6261. "tabelmenu": {
  6262. "description": "列表菜单",
  6263. "type": "string"
  6264. },
  6265. "tablekey": {
  6266. "description": "列表Key",
  6267. "type": "string"
  6268. },
  6269. "tablename": {
  6270. "description": "列表名称",
  6271. "type": "string"
  6272. },
  6273. "tabletype": {
  6274. "description": "列表类型 - 1:管理端 2:终端",
  6275. "type": "integer"
  6276. }
  6277. }
  6278. },
  6279. "common.QueryTraderMenuRsp": {
  6280. "type": "object",
  6281. "properties": {
  6282. "OperationMenu": {
  6283. "description": "功能菜单",
  6284. "type": "array",
  6285. "items": {
  6286. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6287. }
  6288. },
  6289. "QuoteMenu": {
  6290. "description": "报价牌分类菜单",
  6291. "type": "array",
  6292. "items": {
  6293. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6294. }
  6295. }
  6296. }
  6297. },
  6298. "cptrade.Cptradepositioncancel": {
  6299. "type": "object",
  6300. "required": [
  6301. "cancelid"
  6302. ],
  6303. "properties": {
  6304. "accountid": {
  6305. "description": "申请人账户ID",
  6306. "type": "integer"
  6307. },
  6308. "applystatus": {
  6309. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6310. "type": "integer"
  6311. },
  6312. "applytime": {
  6313. "description": "申请时间",
  6314. "type": "string"
  6315. },
  6316. "cancelid": {
  6317. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6318. "type": "integer"
  6319. },
  6320. "cancelqty": {
  6321. "description": "注销数量",
  6322. "type": "integer"
  6323. },
  6324. "createtime": {
  6325. "description": "创建时间",
  6326. "type": "string"
  6327. },
  6328. "creatorid": {
  6329. "description": "创建人ID",
  6330. "type": "integer"
  6331. },
  6332. "creatorname": {
  6333. "description": "创建人",
  6334. "type": "string"
  6335. },
  6336. "goodscode": {
  6337. "description": "订单商品代码",
  6338. "type": "string"
  6339. },
  6340. "goodsid": {
  6341. "description": "商品ID",
  6342. "type": "integer"
  6343. },
  6344. "goodsname": {
  6345. "description": "订单商品名称",
  6346. "type": "string"
  6347. },
  6348. "goodunit": {
  6349. "description": "报价单位",
  6350. "type": "string"
  6351. },
  6352. "handlestatus": {
  6353. "description": "处理状态",
  6354. "type": "integer"
  6355. },
  6356. "marketid": {
  6357. "description": "市场ID",
  6358. "type": "integer"
  6359. },
  6360. "marketname": {
  6361. "description": "市场名称",
  6362. "type": "string"
  6363. },
  6364. "tradedate": {
  6365. "description": "交易日(yyyyMMdd)",
  6366. "type": "string"
  6367. },
  6368. "userid": {
  6369. "description": "申请人ID",
  6370. "type": "integer"
  6371. }
  6372. }
  6373. },
  6374. "cptrade.Cptradepresaleapply": {
  6375. "type": "object",
  6376. "required": [
  6377. "applyid"
  6378. ],
  6379. "properties": {
  6380. "accountid": {
  6381. "description": "申请人账户ID",
  6382. "type": "integer"
  6383. },
  6384. "applyid": {
  6385. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6386. "type": "integer"
  6387. },
  6388. "applyremark": {
  6389. "description": "申请备注",
  6390. "type": "string"
  6391. },
  6392. "applystatus": {
  6393. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6394. "type": "integer"
  6395. },
  6396. "applytime": {
  6397. "description": "申请时间",
  6398. "type": "string"
  6399. },
  6400. "attachmenturl": {
  6401. "description": "附件地址",
  6402. "type": "string"
  6403. },
  6404. "endtime": {
  6405. "description": "预售结束时间",
  6406. "type": "string"
  6407. },
  6408. "goodscode": {
  6409. "description": "商品代码",
  6410. "type": "string"
  6411. },
  6412. "goodsid": {
  6413. "description": "商品ID",
  6414. "type": "integer"
  6415. },
  6416. "goodsname": {
  6417. "description": "商品名称",
  6418. "type": "string"
  6419. },
  6420. "goodunit": {
  6421. "description": "报价单位",
  6422. "type": "string"
  6423. },
  6424. "handlestatus": {
  6425. "description": "处理状态",
  6426. "type": "integer"
  6427. },
  6428. "marketid": {
  6429. "description": "预售市场ID",
  6430. "type": "integer"
  6431. },
  6432. "marketname": {
  6433. "description": "预售市场名称",
  6434. "type": "string"
  6435. },
  6436. "presaleqty": {
  6437. "description": "预售数量",
  6438. "type": "integer"
  6439. },
  6440. "relatedgoodscode": {
  6441. "description": "关联交易合约代码",
  6442. "type": "string"
  6443. },
  6444. "relatedgoodsid": {
  6445. "description": "关联交易合约ID",
  6446. "type": "integer"
  6447. },
  6448. "relatedgoodsname": {
  6449. "description": "关联交易合约名称",
  6450. "type": "string"
  6451. },
  6452. "starttime": {
  6453. "description": "预售开始时间",
  6454. "type": "string"
  6455. },
  6456. "tradedate": {
  6457. "description": "交易日(yyyyMMdd)",
  6458. "type": "string"
  6459. },
  6460. "trademode": {
  6461. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6462. "type": "integer"
  6463. },
  6464. "userid": {
  6465. "description": "申请人ID",
  6466. "type": "integer"
  6467. }
  6468. }
  6469. },
  6470. "cptrade.Cptradeusergoodsdata": {
  6471. "type": "object",
  6472. "required": [
  6473. "accountid",
  6474. "goodsid"
  6475. ],
  6476. "properties": {
  6477. "EnabledQty": {
  6478. "description": "可用量",
  6479. "type": "integer"
  6480. },
  6481. "GoodsCode": {
  6482. "description": "订单商品代码",
  6483. "type": "string"
  6484. },
  6485. "GoodsName": {
  6486. "description": "订单商品名称",
  6487. "type": "string"
  6488. },
  6489. "WRStandardCode": {
  6490. "description": "仓单标准代码",
  6491. "type": "string"
  6492. },
  6493. "WRStandardName": {
  6494. "description": "仓单标准名称",
  6495. "type": "string"
  6496. },
  6497. "accountid": {
  6498. "description": "账户ID",
  6499. "type": "integer"
  6500. },
  6501. "cancelqty": {
  6502. "description": "注销量",
  6503. "type": "integer"
  6504. },
  6505. "curpresaleqty": {
  6506. "description": "当前预售量",
  6507. "type": "integer"
  6508. },
  6509. "deliveryqty": {
  6510. "description": "交割量",
  6511. "type": "integer"
  6512. },
  6513. "freezeamount": {
  6514. "description": "冻结金额",
  6515. "type": "number"
  6516. },
  6517. "goodsid": {
  6518. "description": "商品ID",
  6519. "type": "integer"
  6520. },
  6521. "goodunit": {
  6522. "description": "报价单位",
  6523. "type": "string"
  6524. },
  6525. "hasspotfreeze": {
  6526. "description": "是否有现货冻结 - 0:否 1:有",
  6527. "type": "integer"
  6528. },
  6529. "inqty": {
  6530. "description": "转入量(总数量)",
  6531. "type": "integer"
  6532. },
  6533. "marketid": {
  6534. "description": "市场ID",
  6535. "type": "integer"
  6536. },
  6537. "presaledamount": {
  6538. "description": "已预售总金额",
  6539. "type": "integer"
  6540. },
  6541. "presaledqty": {
  6542. "description": "已预售量",
  6543. "type": "integer"
  6544. },
  6545. "userid": {
  6546. "description": "用户ID",
  6547. "type": "integer"
  6548. },
  6549. "wrstandardid": {
  6550. "description": "仓单标准ID",
  6551. "type": "integer"
  6552. }
  6553. }
  6554. },
  6555. "cptrade.QueryCPTradeMyBidRsp": {
  6556. "type": "object",
  6557. "required": [
  6558. "accountid",
  6559. "goodsid",
  6560. "marketid",
  6561. "orderid",
  6562. "orderqty",
  6563. "ordertime",
  6564. "tradeprice",
  6565. "tradeqty"
  6566. ],
  6567. "properties": {
  6568. "accountid": {
  6569. "description": "账户ID[报价币种]",
  6570. "type": "integer"
  6571. },
  6572. "goodsid": {
  6573. "description": "商品ID",
  6574. "type": "integer"
  6575. },
  6576. "goodunit": {
  6577. "description": "报价单位",
  6578. "type": "string"
  6579. },
  6580. "marketid": {
  6581. "description": "市场ID",
  6582. "type": "integer"
  6583. },
  6584. "orderid": {
  6585. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6586. "type": "integer"
  6587. },
  6588. "orderprice": {
  6589. "description": "委托价格",
  6590. "type": "number"
  6591. },
  6592. "orderqty": {
  6593. "description": "委托数量",
  6594. "type": "integer"
  6595. },
  6596. "ordertime": {
  6597. "description": "委托时间",
  6598. "type": "string"
  6599. },
  6600. "ordertotalprice": {
  6601. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6602. "type": "number"
  6603. },
  6604. "ordertotalweight": {
  6605. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6606. "type": "integer"
  6607. },
  6608. "totaltotalprice": {
  6609. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6610. "type": "number"
  6611. },
  6612. "tradeprice": {
  6613. "description": "成交价格",
  6614. "type": "number"
  6615. },
  6616. "tradeqty": {
  6617. "description": "成交数量",
  6618. "type": "integer"
  6619. }
  6620. }
  6621. },
  6622. "cptrade.QueryCPTradeOrderDetailRsq": {
  6623. "type": "object",
  6624. "required": [
  6625. "accountid",
  6626. "buildtype",
  6627. "buyorsell",
  6628. "goodsid",
  6629. "marketid",
  6630. "memberuserid",
  6631. "operatetype",
  6632. "orderqty",
  6633. "ordertime",
  6634. "pricemode",
  6635. "strorderid",
  6636. "tradedate",
  6637. "validtype"
  6638. ],
  6639. "properties": {
  6640. "accountid": {
  6641. "description": "账户ID[报价币种]",
  6642. "type": "integer"
  6643. },
  6644. "buildtype": {
  6645. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6646. "type": "integer"
  6647. },
  6648. "buyorsell": {
  6649. "description": "买卖 - 0:买 1:卖",
  6650. "type": "integer"
  6651. },
  6652. "cancelorderid": {
  6653. "description": "撤单单号(撤单时填写)",
  6654. "type": "integer"
  6655. },
  6656. "cancelqty": {
  6657. "description": "撤单数量",
  6658. "type": "integer"
  6659. },
  6660. "clientordertime": {
  6661. "description": "客户端委托时间",
  6662. "type": "string"
  6663. },
  6664. "clientticket": {
  6665. "description": "客户端流水号",
  6666. "type": "string"
  6667. },
  6668. "clienttype": {
  6669. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6670. "type": "integer"
  6671. },
  6672. "closeexchagechargevalue": {
  6673. "description": "平仓交易所手续费设置值",
  6674. "type": "number"
  6675. },
  6676. "closefeealgorithm": {
  6677. "description": "平仓手续费收取方式 1:比率 2:固定",
  6678. "type": "integer"
  6679. },
  6680. "closefreezecharge": {
  6681. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6682. "type": "number"
  6683. },
  6684. "closememberchargevalue": {
  6685. "description": "平仓会员手续费设置值",
  6686. "type": "number"
  6687. },
  6688. "closeqty": {
  6689. "description": "平仓数量(先建后平操作 需要记录)",
  6690. "type": "integer"
  6691. },
  6692. "closetradeqty": {
  6693. "description": "平仓成交数量(先建后平操作,需要记录)",
  6694. "type": "integer"
  6695. },
  6696. "closeunfreezecharge": {
  6697. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6698. "type": "number"
  6699. },
  6700. "delistingtype": {
  6701. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6702. "type": "integer"
  6703. },
  6704. "freezecharge": {
  6705. "description": "冻结手续费",
  6706. "type": "number"
  6707. },
  6708. "freezemargin": {
  6709. "description": "冻结保证金(冻结交易金额)",
  6710. "type": "number"
  6711. },
  6712. "gcaccountid": {
  6713. "description": "账户ID[合约币种]",
  6714. "type": "integer"
  6715. },
  6716. "goodsid": {
  6717. "description": "商品ID",
  6718. "type": "integer"
  6719. },
  6720. "isconfirmexercise": {
  6721. "description": "是否确认行权- 0:否 1:是",
  6722. "type": "integer"
  6723. },
  6724. "ispreexercise": {
  6725. "description": "是否预申报- 0:否 1:是",
  6726. "type": "integer"
  6727. },
  6728. "listingselecttype": {
  6729. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6730. "type": "integer"
  6731. },
  6732. "marginalgorithm": {
  6733. "description": "保证金收取方式 1:比率 2:固定",
  6734. "type": "integer"
  6735. },
  6736. "marginvalue": {
  6737. "description": "即市保证金设置值",
  6738. "type": "number"
  6739. },
  6740. "marketid": {
  6741. "description": "市场ID",
  6742. "type": "integer"
  6743. },
  6744. "marketmaxsub": {
  6745. "description": "市价最大偏移范围",
  6746. "type": "number"
  6747. },
  6748. "memberuserid": {
  6749. "description": "所属会员UserID",
  6750. "type": "integer"
  6751. },
  6752. "openexchagechargevalue": {
  6753. "description": "建仓交易所手续费设置值",
  6754. "type": "number"
  6755. },
  6756. "openfeealgorithm": {
  6757. "description": "建仓手续费收取方式 1:比率 2:固定",
  6758. "type": "integer"
  6759. },
  6760. "openfreezecharge": {
  6761. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6762. "type": "number"
  6763. },
  6764. "openmemberchargevalue": {
  6765. "description": "建仓会员手续费设置值",
  6766. "type": "number"
  6767. },
  6768. "openqty": {
  6769. "description": "开仓数量(先建后平操作,需要记录)",
  6770. "type": "integer"
  6771. },
  6772. "opentradeqty": {
  6773. "description": "开仓成交数量(先建后平操作,需要记录)",
  6774. "type": "integer"
  6775. },
  6776. "openunfreezecharge": {
  6777. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6778. "type": "number"
  6779. },
  6780. "operatetype": {
  6781. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6782. "type": "integer"
  6783. },
  6784. "operatorid": {
  6785. "description": "登录账号(LoginID)",
  6786. "type": "integer"
  6787. },
  6788. "optiontype": {
  6789. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6790. "type": "integer"
  6791. },
  6792. "orderprice": {
  6793. "description": "委托价格",
  6794. "type": "number"
  6795. },
  6796. "orderqty": {
  6797. "description": "委托数量",
  6798. "type": "integer"
  6799. },
  6800. "ordersrc": {
  6801. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6802. "type": "integer"
  6803. },
  6804. "orderstatus": {
  6805. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6806. "type": "integer"
  6807. },
  6808. "ordertime": {
  6809. "description": "委托时间",
  6810. "type": "string"
  6811. },
  6812. "preexerciseprice": {
  6813. "description": "预申报价格",
  6814. "type": "number"
  6815. },
  6816. "premium": {
  6817. "description": "权利金",
  6818. "type": "number"
  6819. },
  6820. "preorderid": {
  6821. "description": "关联预埋单号(止盈止损单时填写)",
  6822. "type": "integer"
  6823. },
  6824. "pricemode": {
  6825. "description": "取价方式 - 1:市价 2: 限价",
  6826. "type": "integer"
  6827. },
  6828. "quoteid": {
  6829. "description": "报价单ID",
  6830. "type": "integer"
  6831. },
  6832. "relatedid": {
  6833. "description": "关联单号(交割单)",
  6834. "type": "integer"
  6835. },
  6836. "retcode": {
  6837. "description": "错误代码",
  6838. "type": "integer"
  6839. },
  6840. "sessionid": {
  6841. "description": "会话ID",
  6842. "type": "integer"
  6843. },
  6844. "strorderid": {
  6845. "description": "委托单号",
  6846. "type": "string"
  6847. },
  6848. "tradedate": {
  6849. "description": "交易日(yyyyMMdd)",
  6850. "type": "string"
  6851. },
  6852. "tradeproperty": {
  6853. "description": "交易属性",
  6854. "type": "integer"
  6855. },
  6856. "tradeqty": {
  6857. "description": "成交数量",
  6858. "type": "integer"
  6859. },
  6860. "unfreezecharge": {
  6861. "description": "解冻手续费",
  6862. "type": "number"
  6863. },
  6864. "unfreezemargin": {
  6865. "description": "解冻保证金",
  6866. "type": "number"
  6867. },
  6868. "updatetime": {
  6869. "description": "更新时间",
  6870. "type": "string"
  6871. },
  6872. "uuid": {
  6873. "description": "发起端唯一id",
  6874. "type": "string"
  6875. },
  6876. "validtime": {
  6877. "description": "有效期限",
  6878. "type": "string"
  6879. },
  6880. "validtype": {
  6881. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6882. "type": "integer"
  6883. },
  6884. "volumetype": {
  6885. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6886. "type": "integer"
  6887. }
  6888. }
  6889. },
  6890. "cptrade.QueryMyCPTradeGoodsRsp": {
  6891. "type": "object",
  6892. "required": [
  6893. "goodscode",
  6894. "goodsid",
  6895. "goodsname",
  6896. "marketid",
  6897. "relatedgoodscode",
  6898. "relatedgoodsname"
  6899. ],
  6900. "properties": {
  6901. "accountid": {
  6902. "description": "卖方账户ID",
  6903. "type": "integer"
  6904. },
  6905. "agreeunit": {
  6906. "description": "合约单位",
  6907. "type": "number"
  6908. },
  6909. "applyid": {
  6910. "description": "关联申请ID",
  6911. "type": "integer"
  6912. },
  6913. "attachmenturl": {
  6914. "description": "附件地址",
  6915. "type": "string"
  6916. },
  6917. "createtime": {
  6918. "description": "创建时间",
  6919. "type": "string"
  6920. },
  6921. "currencyid": {
  6922. "description": "报价货币ID",
  6923. "type": "integer"
  6924. },
  6925. "decimalplace": {
  6926. "description": "报价小数位",
  6927. "type": "integer"
  6928. },
  6929. "endtime": {
  6930. "description": "预售结束时间",
  6931. "type": "string"
  6932. },
  6933. "floorprice": {
  6934. "description": "底价[大宗式竞拍]",
  6935. "type": "number"
  6936. },
  6937. "goodscode": {
  6938. "description": "商品代码(预售)",
  6939. "type": "string"
  6940. },
  6941. "goodsdetail": {
  6942. "description": "详情[大宗]",
  6943. "type": "string"
  6944. },
  6945. "goodsid": {
  6946. "description": "商品ID(自增ID SEQ_GOODS)",
  6947. "type": "integer"
  6948. },
  6949. "goodsname": {
  6950. "description": "商品名称(预售)",
  6951. "type": "string"
  6952. },
  6953. "goodunit": {
  6954. "description": "报价单位",
  6955. "type": "string"
  6956. },
  6957. "goodunitid": {
  6958. "description": "报价单位ID",
  6959. "type": "integer"
  6960. },
  6961. "marketid": {
  6962. "description": "所属市场ID",
  6963. "type": "integer"
  6964. },
  6965. "marketname": {
  6966. "description": "预售市场名称",
  6967. "type": "string"
  6968. },
  6969. "presaledamount": {
  6970. "description": "已预售总金额(预售结束时更新)",
  6971. "type": "number"
  6972. },
  6973. "presaledqty": {
  6974. "description": "已预售量(预售结束时更新)",
  6975. "type": "integer"
  6976. },
  6977. "presalemode": {
  6978. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6979. "type": "integer"
  6980. },
  6981. "presaleqty": {
  6982. "description": "预售数量",
  6983. "type": "integer"
  6984. },
  6985. "refprice": {
  6986. "description": "参考价格[一口价]",
  6987. "type": "number"
  6988. },
  6989. "relatedgoodscode": {
  6990. "description": "商品代码(订单)",
  6991. "type": "string"
  6992. },
  6993. "relatedgoodsid": {
  6994. "description": "关联交易合约ID",
  6995. "type": "integer"
  6996. },
  6997. "relatedgoodsname": {
  6998. "description": "商品名称(订单)",
  6999. "type": "string"
  7000. },
  7001. "relatedmarketid": {
  7002. "description": "关联交易合约市场ID",
  7003. "type": "integer"
  7004. },
  7005. "sellstatus": {
  7006. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7007. "type": "integer"
  7008. },
  7009. "startprice": {
  7010. "description": "起拍价[大宗式竞拍]",
  7011. "type": "number"
  7012. },
  7013. "starttime": {
  7014. "description": "预售开始时间",
  7015. "type": "string"
  7016. },
  7017. "tradedate": {
  7018. "description": "交易日(yyyyMMdd)",
  7019. "type": "string"
  7020. },
  7021. "tradeprice": {
  7022. "description": "成交价[大宗]",
  7023. "type": "number"
  7024. },
  7025. "userid": {
  7026. "description": "卖方用户ID",
  7027. "type": "integer"
  7028. }
  7029. }
  7030. },
  7031. "cptrade.QueryPresaleGoodsExRsp": {
  7032. "type": "object",
  7033. "required": [
  7034. "goodsid"
  7035. ],
  7036. "properties": {
  7037. "attachmenturl": {
  7038. "description": "附件地址",
  7039. "type": "string"
  7040. },
  7041. "createtime": {
  7042. "description": "创建时间",
  7043. "type": "string"
  7044. },
  7045. "endtime": {
  7046. "description": "预售结束时间",
  7047. "type": "string"
  7048. },
  7049. "floorprice": {
  7050. "description": "底价[大宗式竞拍]",
  7051. "type": "number"
  7052. },
  7053. "goodsdetail": {
  7054. "description": "详情[大宗]",
  7055. "type": "string"
  7056. },
  7057. "goodsid": {
  7058. "description": "商品ID(预售)",
  7059. "type": "integer"
  7060. },
  7061. "goodunit": {
  7062. "description": "报价单位",
  7063. "type": "string"
  7064. },
  7065. "marketid": {
  7066. "description": "预售市场ID - 根据预售模式选择市场",
  7067. "type": "integer"
  7068. },
  7069. "presaledamount": {
  7070. "description": "已预售总金额(预售结束时更新)",
  7071. "type": "number"
  7072. },
  7073. "presaledqty": {
  7074. "description": "已预售量(预售结束时更新)",
  7075. "type": "integer"
  7076. },
  7077. "presalemode": {
  7078. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7079. "type": "integer"
  7080. },
  7081. "presaleqty": {
  7082. "description": "预售数量",
  7083. "type": "integer"
  7084. },
  7085. "refprice": {
  7086. "description": "参考价格[一口价]",
  7087. "type": "number"
  7088. },
  7089. "relatedgoodsid": {
  7090. "description": "关联交易合约ID",
  7091. "type": "integer"
  7092. },
  7093. "relatedmarketid": {
  7094. "description": "关联交易合约市场ID",
  7095. "type": "integer"
  7096. },
  7097. "sellstatus": {
  7098. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7099. "type": "integer"
  7100. },
  7101. "startprice": {
  7102. "description": "起拍价[大宗式竞拍]",
  7103. "type": "number"
  7104. },
  7105. "starttime": {
  7106. "description": "预售开始时间",
  7107. "type": "string"
  7108. },
  7109. "tradedate": {
  7110. "description": "交易日(yyyyMMdd)",
  7111. "type": "string"
  7112. },
  7113. "tradeprice": {
  7114. "description": "成交价[大宗]",
  7115. "type": "number"
  7116. }
  7117. }
  7118. },
  7119. "delivery.QueryDeliveryRelationRsp": {
  7120. "type": "object",
  7121. "required": [
  7122. "begindate",
  7123. "enddate",
  7124. "goodsid",
  7125. "mindeliveryqty",
  7126. "xdeliveryratio"
  7127. ],
  7128. "properties": {
  7129. "begindate": {
  7130. "description": "起始日期(yyyyMMdd)",
  7131. "type": "string"
  7132. },
  7133. "buytemplateid": {
  7134. "description": "买履约计划模板ID",
  7135. "type": "integer"
  7136. },
  7137. "deliverygoodscode": {
  7138. "description": "品种代码",
  7139. "type": "string"
  7140. },
  7141. "deliverygoodsid": {
  7142. "description": "交割商品",
  7143. "type": "integer"
  7144. },
  7145. "deliverygoodsname": {
  7146. "description": "品种名称",
  7147. "type": "string"
  7148. },
  7149. "deliverymode": {
  7150. "description": "交割方式 - 1:点选式 2:申报式",
  7151. "type": "integer"
  7152. },
  7153. "deliverypricerule": {
  7154. "description": "交割价规则- 1:行情价 2:建仓价",
  7155. "type": "integer"
  7156. },
  7157. "deliverytype": {
  7158. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7159. "type": "integer"
  7160. },
  7161. "enddate": {
  7162. "description": "结束日期(yyyyMMdd)",
  7163. "type": "string"
  7164. },
  7165. "goodscode": {
  7166. "description": "商品代码",
  7167. "type": "string"
  7168. },
  7169. "goodsid": {
  7170. "description": "交易合约ID",
  7171. "type": "integer"
  7172. },
  7173. "goodsname": {
  7174. "description": "商品名称",
  7175. "type": "string"
  7176. },
  7177. "marketid": {
  7178. "description": "市场ID",
  7179. "type": "integer"
  7180. },
  7181. "mindeliveryqty": {
  7182. "description": "最小交割系数(K)",
  7183. "type": "integer"
  7184. },
  7185. "p2deliveryprice": {
  7186. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7187. "type": "number"
  7188. },
  7189. "p2deliveryratio": {
  7190. "description": "P2合约系数(p)",
  7191. "type": "integer"
  7192. },
  7193. "p2goodsid": {
  7194. "description": "P2合约ID",
  7195. "type": "integer"
  7196. },
  7197. "p2pricemode": {
  7198. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7199. "type": "integer"
  7200. },
  7201. "pdeliveryprice": {
  7202. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7203. "type": "number"
  7204. },
  7205. "pdeliveryratio": {
  7206. "description": "P合约系数(n)",
  7207. "type": "integer"
  7208. },
  7209. "pgoodsid": {
  7210. "description": "P合约ID",
  7211. "type": "integer"
  7212. },
  7213. "ppricemode": {
  7214. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7215. "type": "integer"
  7216. },
  7217. "rratio": {
  7218. "description": "兑换系数(R)",
  7219. "type": "integer"
  7220. },
  7221. "rratio1": {
  7222. "description": "兑换系数(交易合约)(R1)",
  7223. "type": "integer"
  7224. },
  7225. "rratio2": {
  7226. "description": "兑换系数(仓单标准)(R2)",
  7227. "type": "integer"
  7228. },
  7229. "selltemplateid": {
  7230. "description": "卖履约计划模板ID",
  7231. "type": "integer"
  7232. },
  7233. "wrstandardid": {
  7234. "description": "仓单标准ID",
  7235. "type": "integer"
  7236. },
  7237. "xdeliveryratio": {
  7238. "description": "交易合约系数(m)",
  7239. "type": "integer"
  7240. }
  7241. }
  7242. },
  7243. "ermcp.ExposureDetailRsp": {
  7244. "type": "object",
  7245. "properties": {
  7246. "areauserid": {
  7247. "description": "机构ID",
  7248. "type": "integer"
  7249. },
  7250. "changeQty": {
  7251. "description": "套保变动量",
  7252. "type": "number"
  7253. },
  7254. "contracttype": {
  7255. "description": "现货合同类型 - 1:采购 -1:销售",
  7256. "type": "integer"
  7257. },
  7258. "convertfactor": {
  7259. "description": "标仓系数",
  7260. "type": "number"
  7261. },
  7262. "convertratio": {
  7263. "description": "套保系数",
  7264. "type": "number"
  7265. },
  7266. "createtime": {
  7267. "description": "时间",
  7268. "type": "string"
  7269. },
  7270. "enumdicname": {
  7271. "description": "现货商品单位名称",
  7272. "type": "string"
  7273. },
  7274. "logtype": {
  7275. "description": "类型 - 1:套保计划 2:现货合同",
  7276. "type": "integer"
  7277. },
  7278. "middlegoodsId": {
  7279. "description": "套保商品id",
  7280. "type": "integer"
  7281. },
  7282. "middlegoodscode": {
  7283. "description": "套保商品代码",
  7284. "type": "string"
  7285. },
  7286. "middlegoodsname": {
  7287. "description": "套保商品名称",
  7288. "type": "string"
  7289. },
  7290. "qty": {
  7291. "description": "数量",
  7292. "type": "number"
  7293. },
  7294. "relateNo": {
  7295. "description": "现货合同/套保计划编号",
  7296. "type": "string"
  7297. },
  7298. "wrstandardcode": {
  7299. "description": "现货商品代码",
  7300. "type": "string"
  7301. },
  7302. "wrstandardid": {
  7303. "description": "现货商品ID",
  7304. "type": "integer"
  7305. },
  7306. "wrstandardname": {
  7307. "description": "现货商品名称",
  7308. "type": "string"
  7309. }
  7310. }
  7311. },
  7312. "ermcp.ExposureHedgePosDetailRsp": {
  7313. "type": "object",
  7314. "properties": {
  7315. "buyorsell": {
  7316. "description": "买卖方向 0-买 1-卖",
  7317. "type": "integer"
  7318. },
  7319. "channelbuildtype": {
  7320. "description": "开平方向 1-建仓 2-平仓",
  7321. "type": "integer"
  7322. },
  7323. "goodscode": {
  7324. "description": "商品代码",
  7325. "type": "string"
  7326. },
  7327. "goodsname": {
  7328. "description": "商品名称",
  7329. "type": "string"
  7330. },
  7331. "hedgegoodsid": {
  7332. "description": "商品id",
  7333. "type": "integer"
  7334. },
  7335. "tradeqty": {
  7336. "description": "数量(成交数量)",
  7337. "type": "integer"
  7338. },
  7339. "tradetime": {
  7340. "description": "时间(成交时间)",
  7341. "type": "string"
  7342. }
  7343. }
  7344. },
  7345. "ermcp.ExposureHedgePositionRsp": {
  7346. "type": "object",
  7347. "properties": {
  7348. "accountid": {
  7349. "description": "资金账号[外部母账户]",
  7350. "type": "integer"
  7351. },
  7352. "curbuyposition": {
  7353. "description": "期末买头寸",
  7354. "type": "integer"
  7355. },
  7356. "cursellposition": {
  7357. "description": "期末卖头寸",
  7358. "type": "integer"
  7359. },
  7360. "curtdbuyposition": {
  7361. "description": "期末今日买头寸",
  7362. "type": "integer"
  7363. },
  7364. "curtdsellposition": {
  7365. "description": "期末今日卖头寸",
  7366. "type": "integer"
  7367. },
  7368. "curydbuyposition": {
  7369. "description": "期末上日买头寸",
  7370. "type": "integer"
  7371. },
  7372. "curydsellposition": {
  7373. "description": "期末上日卖头寸",
  7374. "type": "integer"
  7375. },
  7376. "decreaseqty": {
  7377. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7378. "type": "integer"
  7379. },
  7380. "fretdbuyposition": {
  7381. "description": "冻结今日买头寸",
  7382. "type": "integer"
  7383. },
  7384. "fretdsellposition": {
  7385. "description": "冻结今日卖头寸",
  7386. "type": "integer"
  7387. },
  7388. "freydbuyposition": {
  7389. "description": "冻结上日买头寸",
  7390. "type": "integer"
  7391. },
  7392. "freydsellposition": {
  7393. "description": "冻结上日卖头寸",
  7394. "type": "integer"
  7395. },
  7396. "goodscode": {
  7397. "description": "商品代码",
  7398. "type": "string"
  7399. },
  7400. "goodsid": {
  7401. "description": "商品id",
  7402. "type": "integer"
  7403. },
  7404. "goodsname": {
  7405. "description": "商品名称",
  7406. "type": "string"
  7407. },
  7408. "hedgeaccountcode": {
  7409. "description": "对冲账号",
  7410. "type": "string"
  7411. },
  7412. "hedgegoodsid": {
  7413. "description": "对冲合约ID",
  7414. "type": "integer"
  7415. },
  7416. "increaseqty": {
  7417. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7418. "type": "integer"
  7419. },
  7420. "marketid": {
  7421. "description": "市场ID",
  7422. "type": "integer"
  7423. },
  7424. "relateduserid": {
  7425. "description": "关联用户id",
  7426. "type": "integer"
  7427. },
  7428. "totalcurqty": {
  7429. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7430. "type": "integer"
  7431. },
  7432. "totalydqty": {
  7433. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7434. "type": "integer"
  7435. },
  7436. "tradedate": {
  7437. "description": "交易日(yyyyMMdd)",
  7438. "type": "string"
  7439. },
  7440. "ydbuyposition": {
  7441. "description": "期初买头寸",
  7442. "type": "integer"
  7443. },
  7444. "ydsellposition": {
  7445. "description": "期初卖头寸",
  7446. "type": "integer"
  7447. }
  7448. }
  7449. },
  7450. "ermcp.ExposureSpotDetailRsp": {
  7451. "type": "object",
  7452. "properties": {
  7453. "contracttype": {
  7454. "description": "合同类型 1-采购 -1-销售",
  7455. "type": "integer"
  7456. },
  7457. "createtime": {
  7458. "description": "创建时间",
  7459. "type": "string"
  7460. },
  7461. "enumdicname": {
  7462. "description": "现货商品单位名称",
  7463. "type": "string"
  7464. },
  7465. "logtype": {
  7466. "description": "记录类型 1-套保 2-现货合同",
  7467. "type": "integer"
  7468. },
  7469. "qty": {
  7470. "description": "数量",
  7471. "type": "number"
  7472. },
  7473. "recordname": {
  7474. "description": "类型名称",
  7475. "type": "string"
  7476. },
  7477. "relatedid": {
  7478. "description": "套保计划ID/现货合同ID",
  7479. "type": "string"
  7480. },
  7481. "relatedno": {
  7482. "description": "编号",
  7483. "type": "string"
  7484. },
  7485. "strtime": {
  7486. "description": "时间",
  7487. "type": "string"
  7488. },
  7489. "wrstandardcode": {
  7490. "description": "现货商品代码",
  7491. "type": "string"
  7492. },
  7493. "wrstandardname": {
  7494. "description": "现货商品名称",
  7495. "type": "string"
  7496. }
  7497. }
  7498. },
  7499. "ermcp.ExposureSpotRsp": {
  7500. "type": "object",
  7501. "properties": {
  7502. "areauserid": {
  7503. "description": "所属机构",
  7504. "type": "integer"
  7505. },
  7506. "decreaseqty": {
  7507. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7508. "type": "number"
  7509. },
  7510. "increaseqty": {
  7511. "description": "增加数量=销售计划数量+采购已定价数量",
  7512. "type": "number"
  7513. },
  7514. "oritoalspotqty": {
  7515. "description": "昨日数量",
  7516. "type": "number"
  7517. },
  7518. "totalspotqty": {
  7519. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7520. "type": "number"
  7521. },
  7522. "updatetime": {
  7523. "description": "更新时间",
  7524. "type": "string"
  7525. },
  7526. "wrstandardcode": {
  7527. "description": "现货品种代码",
  7528. "type": "string"
  7529. },
  7530. "wrstandardid": {
  7531. "description": "现货商品ID",
  7532. "type": "integer"
  7533. },
  7534. "wrstandardname": {
  7535. "description": "现货品种",
  7536. "type": "string"
  7537. }
  7538. }
  7539. },
  7540. "ermcp.HisExposureRsp": {
  7541. "type": "object",
  7542. "properties": {
  7543. "data": {
  7544. "description": "历史敞口",
  7545. "type": "array",
  7546. "items": {
  7547. "$ref": "#/definitions/models.ErmcpHisExposure"
  7548. }
  7549. },
  7550. "enumdicname": {
  7551. "description": "单位名称",
  7552. "type": "string"
  7553. },
  7554. "middlegoodscode": {
  7555. "description": "套保品种代码",
  7556. "type": "string"
  7557. },
  7558. "middlegoodsid": {
  7559. "description": "套保品种ID",
  7560. "type": "integer"
  7561. },
  7562. "middlegoodsname": {
  7563. "description": "套保品种名称",
  7564. "type": "string"
  7565. }
  7566. }
  7567. },
  7568. "ermcp.PendingAuditCntRsp": {
  7569. "type": "object",
  7570. "properties": {
  7571. "businessdjqty": {
  7572. "description": "待审核数量: 点价",
  7573. "type": "integer"
  7574. },
  7575. "businessfpqty": {
  7576. "description": "待审核数量: 发票",
  7577. "type": "integer"
  7578. },
  7579. "businessjsqty": {
  7580. "description": "待审核数量: 结算",
  7581. "type": "integer"
  7582. },
  7583. "businesskxqty": {
  7584. "description": "待审核数量: 款项",
  7585. "type": "integer"
  7586. },
  7587. "hedgeplanqty": {
  7588. "description": "待审核数量: 套保计划",
  7589. "type": "integer"
  7590. },
  7591. "spotcontractqty": {
  7592. "description": "待审核数量: 现货合同",
  7593. "type": "integer"
  7594. },
  7595. "userqty": {
  7596. "description": "待审核数量: 用户",
  7597. "type": "integer"
  7598. }
  7599. }
  7600. },
  7601. "ermcp.QryAvalidGPRsp": {
  7602. "type": "object",
  7603. "properties": {
  7604. "goodsgroupid": {
  7605. "description": "期货品种id",
  7606. "type": "integer"
  7607. },
  7608. "goodsgroupname": {
  7609. "description": "期货品种名称",
  7610. "type": "string"
  7611. },
  7612. "goodunitid": {
  7613. "description": "品种单位id",
  7614. "type": "integer"
  7615. },
  7616. "goodunitname": {
  7617. "description": "品种单位名称",
  7618. "type": "string"
  7619. },
  7620. "outergroupcode": {
  7621. "description": "期货品种代码",
  7622. "type": "string"
  7623. }
  7624. }
  7625. },
  7626. "ermcp.QryBusinessDjRsp": {
  7627. "type": "object",
  7628. "properties": {
  7629. "amount": {
  7630. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7631. "type": "number"
  7632. },
  7633. "applyid": {
  7634. "description": "申请人",
  7635. "type": "string"
  7636. },
  7637. "applyname": {
  7638. "description": "申请人名称",
  7639. "type": "string"
  7640. },
  7641. "applystatus": {
  7642. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7643. "type": "integer"
  7644. },
  7645. "applytime": {
  7646. "description": "申请时间",
  7647. "type": "string"
  7648. },
  7649. "attachurl": {
  7650. "description": "附件",
  7651. "type": "string"
  7652. },
  7653. "auditname": {
  7654. "description": "审核人名称",
  7655. "type": "string"
  7656. },
  7657. "audittime": {
  7658. "description": "审核时间",
  7659. "type": "string"
  7660. },
  7661. "buyusername": {
  7662. "description": "采购方名称",
  7663. "type": "string"
  7664. },
  7665. "contractno": {
  7666. "description": "合同编号",
  7667. "type": "string"
  7668. },
  7669. "contractstatus": {
  7670. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7671. "type": "integer"
  7672. },
  7673. "contracttype": {
  7674. "description": "现货合同类型 - 1:采购 -1:销售",
  7675. "type": "integer"
  7676. },
  7677. "enumdicname": {
  7678. "description": "单位名称",
  7679. "type": "string"
  7680. },
  7681. "goodscode": {
  7682. "description": "点价合约",
  7683. "type": "string"
  7684. },
  7685. "goodsname": {
  7686. "description": "商品名称",
  7687. "type": "string"
  7688. },
  7689. "operateapplyid": {
  7690. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7691. "type": "string"
  7692. },
  7693. "operateapplytype": {
  7694. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7695. "type": "integer"
  7696. },
  7697. "pricedPrice": {
  7698. "description": "点价价格(非必填)",
  7699. "type": "number"
  7700. },
  7701. "pricedQty": {
  7702. "description": "点价数量(非必填)",
  7703. "type": "number"
  7704. },
  7705. "pricemove": {
  7706. "description": "升贴水",
  7707. "type": "number"
  7708. },
  7709. "pricetype": {
  7710. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7711. "type": "integer"
  7712. },
  7713. "relatedid": {
  7714. "description": "现货合同ID",
  7715. "type": "string"
  7716. },
  7717. "sellusername": {
  7718. "description": "销售方名字",
  7719. "type": "string"
  7720. },
  7721. "userid": {
  7722. "description": "用户ID",
  7723. "type": "integer"
  7724. }
  7725. }
  7726. },
  7727. "ermcp.QryBussinessFpRsp": {
  7728. "type": "object",
  7729. "properties": {
  7730. "applyid": {
  7731. "description": "申请人",
  7732. "type": "string"
  7733. },
  7734. "applyname": {
  7735. "description": "申请人名称",
  7736. "type": "string"
  7737. },
  7738. "applystatus": {
  7739. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7740. "type": "integer"
  7741. },
  7742. "applytime": {
  7743. "description": "申请时间",
  7744. "type": "string"
  7745. },
  7746. "attachurl": {
  7747. "description": "附件",
  7748. "type": "string"
  7749. },
  7750. "auditname": {
  7751. "description": "审核人名称",
  7752. "type": "string"
  7753. },
  7754. "audittime": {
  7755. "description": "审核时间",
  7756. "type": "string"
  7757. },
  7758. "buyusername": {
  7759. "description": "采购方名称",
  7760. "type": "string"
  7761. },
  7762. "contractno": {
  7763. "description": "合同编号",
  7764. "type": "string"
  7765. },
  7766. "contractstatus": {
  7767. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7768. "type": "integer"
  7769. },
  7770. "contracttype": {
  7771. "description": "现货合同类型 - 1:采购 -1:销售",
  7772. "type": "integer"
  7773. },
  7774. "enumdicname": {
  7775. "description": "单位名称",
  7776. "type": "string"
  7777. },
  7778. "goodscode": {
  7779. "description": "点价合约",
  7780. "type": "string"
  7781. },
  7782. "goodsname": {
  7783. "description": "商品名称",
  7784. "type": "string"
  7785. },
  7786. "invoiceAmount": {
  7787. "description": "已开收票金额(销售为开票,采购为收票)",
  7788. "type": "number"
  7789. },
  7790. "operateapplyid": {
  7791. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7792. "type": "string"
  7793. },
  7794. "operateapplytype": {
  7795. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7796. "type": "integer"
  7797. },
  7798. "pricemove": {
  7799. "description": "升贴水",
  7800. "type": "number"
  7801. },
  7802. "pricetype": {
  7803. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7804. "type": "integer"
  7805. },
  7806. "relatedid": {
  7807. "description": "现货合同ID",
  7808. "type": "string"
  7809. },
  7810. "sellusername": {
  7811. "description": "销售方名字",
  7812. "type": "string"
  7813. },
  7814. "userid": {
  7815. "description": "用户ID",
  7816. "type": "integer"
  7817. }
  7818. }
  7819. },
  7820. "ermcp.QryBussinessJsExRsp": {
  7821. "type": "object",
  7822. "properties": {
  7823. "applyid": {
  7824. "description": "申请人",
  7825. "type": "string"
  7826. },
  7827. "applyname": {
  7828. "description": "申请人名称",
  7829. "type": "string"
  7830. },
  7831. "applystatus": {
  7832. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7833. "type": "integer"
  7834. },
  7835. "applytime": {
  7836. "description": "申请时间",
  7837. "type": "string"
  7838. },
  7839. "attachurl": {
  7840. "description": "附件",
  7841. "type": "string"
  7842. },
  7843. "auditname": {
  7844. "description": "审核人名称",
  7845. "type": "string"
  7846. },
  7847. "audittime": {
  7848. "description": "审核时间",
  7849. "type": "string"
  7850. },
  7851. "buyusername": {
  7852. "description": "采购方名称",
  7853. "type": "string"
  7854. },
  7855. "contractno": {
  7856. "description": "合同编号",
  7857. "type": "string"
  7858. },
  7859. "contractstatus": {
  7860. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7861. "type": "integer"
  7862. },
  7863. "contracttype": {
  7864. "description": "现货合同类型 - 1:采购 -1:销售",
  7865. "type": "integer"
  7866. },
  7867. "enumdicname": {
  7868. "description": "单位名称",
  7869. "type": "string"
  7870. },
  7871. "goodscode": {
  7872. "description": "点价合约",
  7873. "type": "string"
  7874. },
  7875. "goodsname": {
  7876. "description": "商品名称",
  7877. "type": "string"
  7878. },
  7879. "operateapplyid": {
  7880. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7881. "type": "string"
  7882. },
  7883. "operateapplytype": {
  7884. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7885. "type": "integer"
  7886. },
  7887. "pricemove": {
  7888. "description": "升贴水",
  7889. "type": "number"
  7890. },
  7891. "pricetype": {
  7892. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7893. "type": "integer"
  7894. },
  7895. "reckontype": {
  7896. "description": "结算类型",
  7897. "type": "string"
  7898. },
  7899. "reckonvalue": {
  7900. "description": "值",
  7901. "type": "number"
  7902. },
  7903. "relatedid": {
  7904. "description": "现货合同ID",
  7905. "type": "string"
  7906. },
  7907. "sellusername": {
  7908. "description": "销售方名字",
  7909. "type": "string"
  7910. },
  7911. "userid": {
  7912. "description": "用户ID",
  7913. "type": "integer"
  7914. }
  7915. }
  7916. },
  7917. "ermcp.QryBussinessJsRsp": {
  7918. "type": "object",
  7919. "properties": {
  7920. "addmargin": {
  7921. "description": "追加保证金(非必填)",
  7922. "type": "number"
  7923. },
  7924. "applyid": {
  7925. "description": "申请人",
  7926. "type": "string"
  7927. },
  7928. "applyname": {
  7929. "description": "申请人名称",
  7930. "type": "string"
  7931. },
  7932. "applystatus": {
  7933. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7934. "type": "integer"
  7935. },
  7936. "applytime": {
  7937. "description": "申请时间",
  7938. "type": "string"
  7939. },
  7940. "attachurl": {
  7941. "description": "附件",
  7942. "type": "string"
  7943. },
  7944. "auditname": {
  7945. "description": "审核人名称",
  7946. "type": "string"
  7947. },
  7948. "audittime": {
  7949. "description": "审核时间",
  7950. "type": "string"
  7951. },
  7952. "buyusername": {
  7953. "description": "采购方名称",
  7954. "type": "string"
  7955. },
  7956. "contractno": {
  7957. "description": "合同编号",
  7958. "type": "string"
  7959. },
  7960. "contractstatus": {
  7961. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7962. "type": "integer"
  7963. },
  7964. "contracttype": {
  7965. "description": "现货合同类型 - 1:采购 -1:销售",
  7966. "type": "integer"
  7967. },
  7968. "decmargin": {
  7969. "description": "减少保证金(非必填)",
  7970. "type": "number"
  7971. },
  7972. "enumdicname": {
  7973. "description": "单位名称",
  7974. "type": "string"
  7975. },
  7976. "goodscode": {
  7977. "description": "点价合约",
  7978. "type": "string"
  7979. },
  7980. "goodsname": {
  7981. "description": "商品名称",
  7982. "type": "string"
  7983. },
  7984. "operateapplyid": {
  7985. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7986. "type": "string"
  7987. },
  7988. "operateapplytype": {
  7989. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7990. "type": "integer"
  7991. },
  7992. "pricemove": {
  7993. "description": "升贴水",
  7994. "type": "number"
  7995. },
  7996. "pricetype": {
  7997. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7998. "type": "integer"
  7999. },
  8000. "reckonadjustamount": {
  8001. "description": "结算调整金额(非必填)",
  8002. "type": "number"
  8003. },
  8004. "reckonosamount": {
  8005. "description": "结算溢短金额(非必填)",
  8006. "type": "number"
  8007. },
  8008. "reckonotheramount": {
  8009. "description": "结算其他费用(非必填)",
  8010. "type": "number"
  8011. },
  8012. "reckonrealqty": {
  8013. "description": "结算实际数量(非必填)",
  8014. "type": "number"
  8015. },
  8016. "relatedid": {
  8017. "description": "现货合同ID",
  8018. "type": "string"
  8019. },
  8020. "sellusername": {
  8021. "description": "销售方名字",
  8022. "type": "string"
  8023. },
  8024. "userid": {
  8025. "description": "用户ID",
  8026. "type": "integer"
  8027. }
  8028. }
  8029. },
  8030. "ermcp.QryBussinessKxRsp": {
  8031. "type": "object",
  8032. "properties": {
  8033. "applyid": {
  8034. "description": "申请人",
  8035. "type": "string"
  8036. },
  8037. "applyname": {
  8038. "description": "申请人名称",
  8039. "type": "string"
  8040. },
  8041. "applystatus": {
  8042. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8043. "type": "integer"
  8044. },
  8045. "applytime": {
  8046. "description": "申请时间",
  8047. "type": "string"
  8048. },
  8049. "attachurl": {
  8050. "description": "附件",
  8051. "type": "string"
  8052. },
  8053. "auditname": {
  8054. "description": "审核人名称",
  8055. "type": "string"
  8056. },
  8057. "audittime": {
  8058. "description": "审核时间",
  8059. "type": "string"
  8060. },
  8061. "buyusername": {
  8062. "description": "采购方名称",
  8063. "type": "string"
  8064. },
  8065. "contractno": {
  8066. "description": "合同编号",
  8067. "type": "string"
  8068. },
  8069. "contractstatus": {
  8070. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8071. "type": "integer"
  8072. },
  8073. "contracttype": {
  8074. "description": "现货合同类型 - 1:采购 -1:销售",
  8075. "type": "integer"
  8076. },
  8077. "deductamount": {
  8078. "description": "退款(非必填)",
  8079. "type": "number"
  8080. },
  8081. "enumdicname": {
  8082. "description": "单位名称",
  8083. "type": "string"
  8084. },
  8085. "goodscode": {
  8086. "description": "点价合约",
  8087. "type": "string"
  8088. },
  8089. "goodsname": {
  8090. "description": "商品名称",
  8091. "type": "string"
  8092. },
  8093. "kxtype": {
  8094. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8095. "type": "integer"
  8096. },
  8097. "operateapplyid": {
  8098. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8099. "type": "string"
  8100. },
  8101. "operateapplytype": {
  8102. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8103. "type": "integer"
  8104. },
  8105. "payamount": {
  8106. "description": "收付款(非必填)",
  8107. "type": "number"
  8108. },
  8109. "pricemove": {
  8110. "description": "升贴水",
  8111. "type": "number"
  8112. },
  8113. "pricetype": {
  8114. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8115. "type": "integer"
  8116. },
  8117. "relatedid": {
  8118. "description": "现货合同ID",
  8119. "type": "string"
  8120. },
  8121. "sellusername": {
  8122. "description": "销售方名字",
  8123. "type": "string"
  8124. },
  8125. "userid": {
  8126. "description": "用户ID",
  8127. "type": "integer"
  8128. }
  8129. }
  8130. },
  8131. "ermcp.QryErmcpRsp": {
  8132. "type": "object",
  8133. "properties": {
  8134. "accountname": {
  8135. "description": "账户名称",
  8136. "type": "string"
  8137. },
  8138. "attachment": {
  8139. "description": "附件",
  8140. "type": "string"
  8141. },
  8142. "audittime": {
  8143. "description": "审核时间",
  8144. "type": "string"
  8145. },
  8146. "contracctstatus": {
  8147. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8148. "type": "integer"
  8149. },
  8150. "contractmargin": {
  8151. "description": "合同保证金",
  8152. "type": "number"
  8153. },
  8154. "contractno": {
  8155. "description": "合同编号",
  8156. "type": "string"
  8157. },
  8158. "contracttype": {
  8159. "description": "合同类型 1-采购, -1-销售",
  8160. "type": "integer"
  8161. },
  8162. "convertfactor": {
  8163. "description": "标仓系数",
  8164. "type": "number"
  8165. },
  8166. "createtime": {
  8167. "description": "创建时间",
  8168. "type": "string"
  8169. },
  8170. "daikaiamount": {
  8171. "description": "待开票额",
  8172. "type": "number"
  8173. },
  8174. "deliveryenddate": {
  8175. "description": "交割结束日",
  8176. "type": "string"
  8177. },
  8178. "deliverygoodscode": {
  8179. "description": "现货商品代码",
  8180. "type": "string"
  8181. },
  8182. "deliverygoodsid": {
  8183. "description": "现货商品ID",
  8184. "type": "integer"
  8185. },
  8186. "deliverygoodsname": {
  8187. "description": "现货商品名称",
  8188. "type": "string"
  8189. },
  8190. "deliverystartdate": {
  8191. "description": "交割开始日",
  8192. "type": "string"
  8193. },
  8194. "enddate": {
  8195. "description": "点价结束日",
  8196. "type": "string"
  8197. },
  8198. "enumdicname": {
  8199. "description": "单位名称",
  8200. "type": "string"
  8201. },
  8202. "goodscode": {
  8203. "description": "点价商品代码",
  8204. "type": "string"
  8205. },
  8206. "goodsid": {
  8207. "description": "点价商品ID",
  8208. "type": "integer"
  8209. },
  8210. "goodsname": {
  8211. "description": "点价商品名称",
  8212. "type": "string"
  8213. },
  8214. "invoiceamount": {
  8215. "description": "已开票额",
  8216. "type": "number"
  8217. },
  8218. "loanamount": {
  8219. "description": "贷款总额=已定价额+调整金额",
  8220. "type": "number"
  8221. },
  8222. "margin": {
  8223. "description": "保证金",
  8224. "type": "number"
  8225. },
  8226. "payamount": {
  8227. "description": "已收付额(收款或付款)",
  8228. "type": "number"
  8229. },
  8230. "price": {
  8231. "description": "价格",
  8232. "type": "number"
  8233. },
  8234. "pricedamount": {
  8235. "description": "已定价额",
  8236. "type": "number"
  8237. },
  8238. "pricedavg": {
  8239. "description": "已点均价",
  8240. "type": "number"
  8241. },
  8242. "pricedqty": {
  8243. "description": "已定价量",
  8244. "type": "number"
  8245. },
  8246. "pricemove": {
  8247. "description": "升贴水",
  8248. "type": "number"
  8249. },
  8250. "pricetype": {
  8251. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8252. "type": "integer"
  8253. },
  8254. "producttype": {
  8255. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8256. "type": "integer"
  8257. },
  8258. "qty": {
  8259. "description": "合同量",
  8260. "type": "number"
  8261. },
  8262. "reckonadjustamount": {
  8263. "description": "调整金额",
  8264. "type": "number"
  8265. },
  8266. "reckonedamount": {
  8267. "description": "已收付额(已确定额)",
  8268. "type": "number"
  8269. },
  8270. "reckonotheramount": {
  8271. "description": "其它费用",
  8272. "type": "number"
  8273. },
  8274. "reckonrealqty": {
  8275. "description": "已确定量",
  8276. "type": "number"
  8277. },
  8278. "remark": {
  8279. "description": "备注",
  8280. "type": "string"
  8281. },
  8282. "spotcontractid": {
  8283. "description": "合同ID",
  8284. "type": "string"
  8285. },
  8286. "spotgoodsdesc": {
  8287. "description": "商品型号(商品规格)",
  8288. "type": "string"
  8289. },
  8290. "startdate": {
  8291. "description": "点价开始日",
  8292. "type": "string"
  8293. },
  8294. "totalamount": {
  8295. "description": "合计总额",
  8296. "type": "number"
  8297. },
  8298. "unpayamount": {
  8299. "description": "待支收额(支付或收款)",
  8300. "type": "number"
  8301. },
  8302. "unpricedqty": {
  8303. "description": "未定价量",
  8304. "type": "number"
  8305. },
  8306. "unsureqty": {
  8307. "description": "未确定量",
  8308. "type": "number"
  8309. },
  8310. "userid": {
  8311. "description": "用户ID",
  8312. "type": "integer"
  8313. }
  8314. }
  8315. },
  8316. "ermcp.QryGGCovertCfgRsp": {
  8317. "type": "object",
  8318. "properties": {
  8319. "convertratio": {
  8320. "description": "折算系数",
  8321. "type": "number"
  8322. },
  8323. "destgoodsgroupid": {
  8324. "description": "目标品种ID",
  8325. "type": "integer"
  8326. },
  8327. "dstcode": {
  8328. "description": "目录品种代码",
  8329. "type": "string"
  8330. },
  8331. "dstexchangecode": {
  8332. "description": "目标期货交易所",
  8333. "type": "string"
  8334. },
  8335. "dstname": {
  8336. "description": "目标品种名称",
  8337. "type": "string"
  8338. },
  8339. "dstunitid": {
  8340. "description": "目标品种单位ID",
  8341. "type": "integer"
  8342. },
  8343. "dstunitidname": {
  8344. "description": "目标品种单位名称",
  8345. "type": "string"
  8346. },
  8347. "srccode": {
  8348. "description": "源品种代码",
  8349. "type": "string"
  8350. },
  8351. "srcexchangecode": {
  8352. "description": "源期货交易所",
  8353. "type": "string"
  8354. },
  8355. "srcgoodsgroupid": {
  8356. "description": "源品种ID",
  8357. "type": "integer"
  8358. },
  8359. "srcname": {
  8360. "description": "源品种名称",
  8361. "type": "string"
  8362. },
  8363. "srcunitid": {
  8364. "description": "源品种单位ID",
  8365. "type": "integer"
  8366. },
  8367. "srcunitidname": {
  8368. "description": "源品种单位名称",
  8369. "type": "string"
  8370. }
  8371. }
  8372. },
  8373. "ermcp.QryHedgePlanRsp": {
  8374. "type": "object",
  8375. "properties": {
  8376. "areauserid": {
  8377. "description": "用户ID",
  8378. "type": "integer"
  8379. },
  8380. "contracttype": {
  8381. "description": "计划类型 - 1:采购 -1:销售",
  8382. "type": "integer"
  8383. },
  8384. "convertfactor": {
  8385. "description": "标仓系数",
  8386. "type": "number"
  8387. },
  8388. "createtime": {
  8389. "description": "创建时间",
  8390. "type": "string"
  8391. },
  8392. "deliverygoodsid": {
  8393. "description": "现货品种ID",
  8394. "type": "integer"
  8395. },
  8396. "deliverygoodsname": {
  8397. "description": "现货品种名称",
  8398. "type": "string"
  8399. },
  8400. "hedgeplanid": {
  8401. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8402. "type": "string"
  8403. },
  8404. "hedgeplanno": {
  8405. "description": "套保计划编号(名称)",
  8406. "type": "string"
  8407. },
  8408. "hedgeplanstatus": {
  8409. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8410. "type": "integer"
  8411. },
  8412. "planqty": {
  8413. "description": "计划数量",
  8414. "type": "number"
  8415. },
  8416. "plantime": {
  8417. "description": "计划时间",
  8418. "type": "string"
  8419. },
  8420. "producttype": {
  8421. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8422. "type": "integer"
  8423. },
  8424. "remark": {
  8425. "description": "备注",
  8426. "type": "string"
  8427. },
  8428. "spotgoodsdesc": {
  8429. "description": "商品型号",
  8430. "type": "string"
  8431. },
  8432. "wrstandardid": {
  8433. "description": "现货商品ID",
  8434. "type": "integer"
  8435. },
  8436. "wrstandardname": {
  8437. "description": "现货商品名称",
  8438. "type": "string"
  8439. }
  8440. }
  8441. },
  8442. "ermcp.QryMGChangeLogRsp": {
  8443. "type": "object",
  8444. "properties": {
  8445. "aftervalue": {
  8446. "description": "变更后",
  8447. "type": "number"
  8448. },
  8449. "applyid": {
  8450. "description": "操作人",
  8451. "type": "integer"
  8452. },
  8453. "applyname": {
  8454. "description": "操作人名称",
  8455. "type": "string"
  8456. },
  8457. "applysrc": {
  8458. "description": "操作来源 - 1:管理端 2:终端",
  8459. "type": "integer"
  8460. },
  8461. "beforevalue": {
  8462. "description": "变更前",
  8463. "type": "number"
  8464. },
  8465. "changelogtype": {
  8466. "description": "变更流水类型 - 1:套保比率变更",
  8467. "type": "integer"
  8468. },
  8469. "handlestatus": {
  8470. "description": "处理状态",
  8471. "type": "integer"
  8472. },
  8473. "logdatetime": {
  8474. "description": "流水日期",
  8475. "type": "string"
  8476. },
  8477. "logid": {
  8478. "description": "流水ID",
  8479. "type": "integer"
  8480. },
  8481. "logremark": {
  8482. "description": "流水备注",
  8483. "type": "string"
  8484. },
  8485. "middlegoodsid": {
  8486. "description": "套保品种ID",
  8487. "type": "integer"
  8488. },
  8489. "tradedate": {
  8490. "description": "交易日(yyyyMMdd)",
  8491. "type": "string"
  8492. },
  8493. "updatetime": {
  8494. "description": "更新时间",
  8495. "type": "string"
  8496. }
  8497. }
  8498. },
  8499. "ermcp.QryMiddleGoodsDetailRsp": {
  8500. "type": "object",
  8501. "properties": {
  8502. "cvList": {
  8503. "description": "期货品种折算列表",
  8504. "type": "array",
  8505. "items": {
  8506. "$ref": "#/definitions/models.GoodsGroupConvert"
  8507. }
  8508. },
  8509. "mg": {
  8510. "description": "套保品种基本信息",
  8511. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8512. }
  8513. }
  8514. },
  8515. "ermcp.QryMiddleGoodsRsp": {
  8516. "type": "object",
  8517. "properties": {
  8518. "areauserid": {
  8519. "description": "机构用户ID",
  8520. "type": "integer"
  8521. },
  8522. "enumdicname": {
  8523. "description": "单位名称",
  8524. "type": "string"
  8525. },
  8526. "evaluateratio": {
  8527. "description": "估价系数",
  8528. "type": "number"
  8529. },
  8530. "goodsgroupid": {
  8531. "description": "关联期货品种ID",
  8532. "type": "integer"
  8533. },
  8534. "isvalid": {
  8535. "description": "状态 0-无效(停用) 1-有效(正常)",
  8536. "type": "integer"
  8537. },
  8538. "middlegoodscode": {
  8539. "description": "套保品种代码",
  8540. "type": "string"
  8541. },
  8542. "middlegoodsid": {
  8543. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8544. "type": "integer"
  8545. },
  8546. "middlegoodsname": {
  8547. "description": "套保品种名称",
  8548. "type": "string"
  8549. },
  8550. "modifytime": {
  8551. "description": "修改时间",
  8552. "type": "string"
  8553. },
  8554. "needhedgeratio": {
  8555. "description": "套保比率",
  8556. "type": "number"
  8557. },
  8558. "qtydecimalplace": {
  8559. "description": "数量小数位",
  8560. "type": "integer"
  8561. },
  8562. "relatedgoodsid": {
  8563. "description": "关联交易商品ID",
  8564. "type": "integer"
  8565. },
  8566. "relatedgoodstype": {
  8567. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8568. "type": "integer"
  8569. }
  8570. }
  8571. },
  8572. "ermcp.QryOPLogRsp": {
  8573. "type": "object",
  8574. "properties": {
  8575. "aftervalue": {
  8576. "description": "变更后",
  8577. "type": "number"
  8578. },
  8579. "applyid": {
  8580. "description": "操作人ID",
  8581. "type": "string"
  8582. },
  8583. "applyname": {
  8584. "description": "操作人名称",
  8585. "type": "string"
  8586. },
  8587. "beforevalue": {
  8588. "description": "变更前",
  8589. "type": "number"
  8590. },
  8591. "biztype": {
  8592. "description": "业务类型 - 1:套保计划 2:现货合同",
  8593. "type": "integer"
  8594. },
  8595. "contracttype": {
  8596. "description": "现货合同类型 - 1:采购 -1:销售",
  8597. "type": "integer"
  8598. },
  8599. "logvalue": {
  8600. "description": "数值",
  8601. "type": "number"
  8602. },
  8603. "operatelogtype": {
  8604. "description": "操作流水类型",
  8605. "type": "integer"
  8606. },
  8607. "operatelogtypedesc": {
  8608. "description": "操作流水类型名称",
  8609. "type": "string"
  8610. },
  8611. "relatedid": {
  8612. "description": "现货合同ID\\套保计划",
  8613. "type": "string"
  8614. },
  8615. "updatetime": {
  8616. "description": "更新时间",
  8617. "type": "string"
  8618. }
  8619. }
  8620. },
  8621. "ermcp.QryReportDaySpotDetailRsp": {
  8622. "type": "object",
  8623. "properties": {
  8624. "applyid": {
  8625. "description": "操作人",
  8626. "type": "integer"
  8627. },
  8628. "applyname": {
  8629. "description": "操作人名称",
  8630. "type": "string"
  8631. },
  8632. "biztype": {
  8633. "description": "业务类型 - 1:套保计划 2:现货合同",
  8634. "type": "integer"
  8635. },
  8636. "contracttype": {
  8637. "description": "现货合同类型 - 1:采购 -1:销售",
  8638. "type": "integer"
  8639. },
  8640. "enumdicName": {
  8641. "description": "单位名称",
  8642. "type": "string"
  8643. },
  8644. "logdatetime": {
  8645. "description": "流水日期(时间)",
  8646. "type": "string"
  8647. },
  8648. "logid": {
  8649. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8650. "type": "string"
  8651. },
  8652. "logtypename": {
  8653. "description": "合同类型(名称)",
  8654. "type": "string"
  8655. },
  8656. "logvalue": {
  8657. "description": "数值",
  8658. "type": "string"
  8659. },
  8660. "operatelogtype": {
  8661. "description": "操作流水类型 -",
  8662. "type": "integer"
  8663. },
  8664. "optypename": {
  8665. "description": "流水类型名称",
  8666. "type": "string"
  8667. },
  8668. "relatedid": {
  8669. "description": "现货合同ID\\套保计划",
  8670. "type": "string"
  8671. },
  8672. "relatedno": {
  8673. "description": "合同编号",
  8674. "type": "string"
  8675. },
  8676. "tradedate": {
  8677. "description": "交易日(yyyyMMdd)",
  8678. "type": "string"
  8679. },
  8680. "userid": {
  8681. "description": "机构ID",
  8682. "type": "integer"
  8683. },
  8684. "wrstandardcode": {
  8685. "description": "现货商品代码",
  8686. "type": "string"
  8687. },
  8688. "wrstandardid": {
  8689. "description": "现货商品ID",
  8690. "type": "integer"
  8691. },
  8692. "wrstandardname": {
  8693. "description": "现货商品名称",
  8694. "type": "string"
  8695. }
  8696. }
  8697. },
  8698. "ermcp.QryReportExposureDayRsp": {
  8699. "type": "object",
  8700. "properties": {
  8701. "areauserid": {
  8702. "description": "所属机构",
  8703. "type": "integer"
  8704. },
  8705. "buyfutureqty": {
  8706. "description": "买入期货数量",
  8707. "type": "number"
  8708. },
  8709. "buyplanqty": {
  8710. "description": "采购计划数量",
  8711. "type": "number"
  8712. },
  8713. "buypricedqty": {
  8714. "description": "采购合同已定价数量",
  8715. "type": "number"
  8716. },
  8717. "diffFutuQty": {
  8718. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8719. "type": "number"
  8720. },
  8721. "diffSpotQty": {
  8722. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8723. "type": "number"
  8724. },
  8725. "enumdicname": {
  8726. "description": "单位名称",
  8727. "type": "string"
  8728. },
  8729. "middlegoodscode": {
  8730. "description": "套保品种代码",
  8731. "type": "string"
  8732. },
  8733. "middlegoodshedgeratio": {
  8734. "description": "应套保比例",
  8735. "type": "number"
  8736. },
  8737. "middlegoodsid": {
  8738. "description": "套保品种ID",
  8739. "type": "integer"
  8740. },
  8741. "middlegoodsname": {
  8742. "description": "套保品种名称",
  8743. "type": "string"
  8744. },
  8745. "needhedgeexposoure": {
  8746. "description": "应套保敞口",
  8747. "type": "number"
  8748. },
  8749. "needhedgeratio": {
  8750. "description": "应套保敞口比例",
  8751. "type": "number"
  8752. },
  8753. "oriTotalFutuQty": {
  8754. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8755. "type": "number"
  8756. },
  8757. "oriTotalSpotQty": {
  8758. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8759. "type": "number"
  8760. },
  8761. "oribuyfutureqty": {
  8762. "description": "期初买入期货数量",
  8763. "type": "number"
  8764. },
  8765. "oribuyplanqty": {
  8766. "description": "期初采购计划数量",
  8767. "type": "number"
  8768. },
  8769. "oribuypricedqty": {
  8770. "description": "期初采购合同已定价数量",
  8771. "type": "number"
  8772. },
  8773. "orisellfutureqty": {
  8774. "description": "期初卖出期货数量",
  8775. "type": "number"
  8776. },
  8777. "orisellplanqty": {
  8778. "description": "期初销售计划数量",
  8779. "type": "number"
  8780. },
  8781. "orisellpricedqty": {
  8782. "description": "期初销售合同已定价数量",
  8783. "type": "number"
  8784. },
  8785. "reckondate": {
  8786. "description": "日照时期(yyyyMMdd)",
  8787. "type": "string"
  8788. },
  8789. "sellfutureqty": {
  8790. "description": "卖出期货数量",
  8791. "type": "number"
  8792. },
  8793. "sellplanqty": {
  8794. "description": "销售计划数量",
  8795. "type": "number"
  8796. },
  8797. "sellpricedqty": {
  8798. "description": "销售合同已定价数量",
  8799. "type": "number"
  8800. },
  8801. "totalexposure": {
  8802. "description": "总敞口",
  8803. "type": "number"
  8804. },
  8805. "totalfutureqty": {
  8806. "description": "期货数量",
  8807. "type": "number"
  8808. },
  8809. "totalhedgeratio": {
  8810. "description": "敞口比例",
  8811. "type": "number"
  8812. },
  8813. "totalneedhedgeqty": {
  8814. "description": "期货应套保量",
  8815. "type": "number"
  8816. },
  8817. "totalspotqty": {
  8818. "description": "现货数量",
  8819. "type": "number"
  8820. }
  8821. }
  8822. },
  8823. "ermcp.QryReportFinanceDayRsp": {
  8824. "type": "object",
  8825. "properties": {
  8826. "areauserid": {
  8827. "description": "所属机构",
  8828. "type": "integer"
  8829. },
  8830. "collectinvoiceamount": {
  8831. "description": "今日开票金额",
  8832. "type": "number"
  8833. },
  8834. "collectinvoicecount": {
  8835. "description": "今日开票笔数",
  8836. "type": "integer"
  8837. },
  8838. "collectmoneyamount": {
  8839. "description": "今日收款金额",
  8840. "type": "number"
  8841. },
  8842. "collectmoneycount": {
  8843. "description": "今日收款笔数",
  8844. "type": "integer"
  8845. },
  8846. "payinvoiceamount": {
  8847. "description": "今日收票金额",
  8848. "type": "number"
  8849. },
  8850. "payinvoicecount": {
  8851. "description": "今日收票笔数",
  8852. "type": "integer"
  8853. },
  8854. "paymoneyamount": {
  8855. "description": "今日付款金额",
  8856. "type": "number"
  8857. },
  8858. "paymoneycount": {
  8859. "description": "今日付款笔数",
  8860. "type": "integer"
  8861. },
  8862. "reckondate": {
  8863. "description": "日照时期(yyyyMMdd)",
  8864. "type": "string"
  8865. },
  8866. "updatetime": {
  8867. "description": "更新时间",
  8868. "type": "string"
  8869. }
  8870. }
  8871. },
  8872. "ermcp.QryReportFinanceKxRsp": {
  8873. "type": "object",
  8874. "properties": {
  8875. "applyid": {
  8876. "description": "操作人",
  8877. "type": "integer"
  8878. },
  8879. "applyname": {
  8880. "description": "操作人名称",
  8881. "type": "string"
  8882. },
  8883. "biztype": {
  8884. "description": "业务类型 - 1:套保计划 2:现货合同",
  8885. "type": "integer"
  8886. },
  8887. "contracttype": {
  8888. "description": "现货合同类型 - 1:采购 -1:销售",
  8889. "type": "integer"
  8890. },
  8891. "enumdicName": {
  8892. "description": "单位名称",
  8893. "type": "string"
  8894. },
  8895. "logdatetime": {
  8896. "description": "流水日期(时间)",
  8897. "type": "string"
  8898. },
  8899. "logid": {
  8900. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8901. "type": "string"
  8902. },
  8903. "logtypename": {
  8904. "description": "合同类型(名称)",
  8905. "type": "string"
  8906. },
  8907. "logvalue": {
  8908. "description": "数值",
  8909. "type": "string"
  8910. },
  8911. "operatelogtype": {
  8912. "description": "操作流水类型 -",
  8913. "type": "integer"
  8914. },
  8915. "optypename": {
  8916. "description": "流水类型名称",
  8917. "type": "string"
  8918. },
  8919. "relatedid": {
  8920. "description": "现货合同ID\\套保计划",
  8921. "type": "string"
  8922. },
  8923. "relatedno": {
  8924. "description": "合同编号",
  8925. "type": "string"
  8926. },
  8927. "tradedate": {
  8928. "description": "交易日(yyyyMMdd)",
  8929. "type": "string"
  8930. },
  8931. "userid": {
  8932. "description": "机构ID",
  8933. "type": "integer"
  8934. },
  8935. "wrstandardcode": {
  8936. "description": "现货商品代码",
  8937. "type": "string"
  8938. },
  8939. "wrstandardid": {
  8940. "description": "现货商品ID",
  8941. "type": "integer"
  8942. },
  8943. "wrstandardname": {
  8944. "description": "现货商品名称",
  8945. "type": "string"
  8946. }
  8947. }
  8948. },
  8949. "ermcp.QryReportFinanceMonRsp": {
  8950. "type": "object",
  8951. "properties": {
  8952. "areauserid": {
  8953. "description": "所属机构【原值】",
  8954. "type": "integer"
  8955. },
  8956. "collectinvoiceamount": {
  8957. "description": "今日开票金额【汇总】",
  8958. "type": "number"
  8959. },
  8960. "collectinvoicecount": {
  8961. "description": "今日开票笔数【汇总】",
  8962. "type": "integer"
  8963. },
  8964. "collectmoneyamount": {
  8965. "description": "今日收款金额【汇总】",
  8966. "type": "number"
  8967. },
  8968. "collectmoneycount": {
  8969. "description": "今日收款笔数 【汇总】",
  8970. "type": "integer"
  8971. },
  8972. "cycletime": {
  8973. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8974. "type": "string"
  8975. },
  8976. "cycletype": {
  8977. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8978. "type": "integer"
  8979. },
  8980. "dayFr": {
  8981. "description": "日报表明细",
  8982. "type": "array",
  8983. "items": {
  8984. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8985. }
  8986. },
  8987. "payinvoiceamount": {
  8988. "description": "今日收票金额【汇总】",
  8989. "type": "number"
  8990. },
  8991. "payinvoicecount": {
  8992. "description": "今日收票笔数【汇总】",
  8993. "type": "integer"
  8994. },
  8995. "paymoneyamount": {
  8996. "description": "今日付款金额【汇总】",
  8997. "type": "number"
  8998. },
  8999. "paymoneycount": {
  9000. "description": "今日付款笔数【汇总】",
  9001. "type": "integer"
  9002. },
  9003. "updatetime": {
  9004. "description": "更新时间",
  9005. "type": "string"
  9006. }
  9007. }
  9008. },
  9009. "ermcp.QryReportSpotDayRsp": {
  9010. "type": "object",
  9011. "properties": {
  9012. "areauserid": {
  9013. "description": "所属机构T",
  9014. "type": "integer"
  9015. },
  9016. "enumdicname": {
  9017. "description": "现货商品单位名称",
  9018. "type": "string"
  9019. },
  9020. "reckondate": {
  9021. "description": "日照时期(yyyyMMdd)",
  9022. "type": "string"
  9023. },
  9024. "todaybuyreckonqty": {
  9025. "description": "采购确定量",
  9026. "type": "number"
  9027. },
  9028. "todaysellreckonqty": {
  9029. "description": "销售确定量",
  9030. "type": "number"
  9031. },
  9032. "totalbuypricedqty": {
  9033. "description": "采购定价量 = 期末 - 期初",
  9034. "type": "number"
  9035. },
  9036. "totalsellpricedqty": {
  9037. "description": "销售定价量 = 期末 - 期初",
  9038. "type": "number"
  9039. },
  9040. "wrstandardcode": {
  9041. "description": "现货商品代码",
  9042. "type": "string"
  9043. },
  9044. "wrstandardid": {
  9045. "description": "现货商品ID",
  9046. "type": "integer"
  9047. },
  9048. "wrstandardname": {
  9049. "description": "现货商品名称",
  9050. "type": "string"
  9051. }
  9052. }
  9053. },
  9054. "ermcp.QryReportSpotMonRsp": {
  9055. "type": "object",
  9056. "properties": {
  9057. "areauserid": {
  9058. "description": "所属机构T",
  9059. "type": "integer"
  9060. },
  9061. "cycletime": {
  9062. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9063. "type": "string"
  9064. },
  9065. "cycletype": {
  9066. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9067. "type": "integer"
  9068. },
  9069. "enumdicname": {
  9070. "description": "现货商品单位名称",
  9071. "type": "string"
  9072. },
  9073. "todaybuyreckonqty": {
  9074. "description": "采购确定量",
  9075. "type": "number"
  9076. },
  9077. "todaysellreckonqty": {
  9078. "description": "销售确定量",
  9079. "type": "number"
  9080. },
  9081. "totalbuypricedqty": {
  9082. "description": "采购定价量 = 期末 - 期初",
  9083. "type": "number"
  9084. },
  9085. "totalsellpricedqty": {
  9086. "description": "销售定价量 = 期末 - 期初",
  9087. "type": "number"
  9088. },
  9089. "wrstandardcode": {
  9090. "description": "现货商品代码",
  9091. "type": "string"
  9092. },
  9093. "wrstandardid": {
  9094. "description": "现货商品ID",
  9095. "type": "integer"
  9096. },
  9097. "wrstandardname": {
  9098. "description": "现货商品名称",
  9099. "type": "string"
  9100. }
  9101. }
  9102. },
  9103. "ermcp.QryReportSpotMonthDetailRsp": {
  9104. "type": "object",
  9105. "properties": {
  9106. "areauserid": {
  9107. "description": "所属机构T",
  9108. "type": "integer"
  9109. },
  9110. "enumdicname": {
  9111. "description": "现货商品单位名称",
  9112. "type": "string"
  9113. },
  9114. "reckondate": {
  9115. "description": "日照时期(yyyyMMdd)",
  9116. "type": "string"
  9117. },
  9118. "todaybuyreckonqty": {
  9119. "description": "采购确定量",
  9120. "type": "number"
  9121. },
  9122. "todaysellreckonqty": {
  9123. "description": "销售确定量",
  9124. "type": "number"
  9125. },
  9126. "totalbuypricedqty": {
  9127. "description": "采购定价量 = 期末 - 期初",
  9128. "type": "number"
  9129. },
  9130. "totalsellpricedqty": {
  9131. "description": "销售定价量 = 期末 - 期初",
  9132. "type": "number"
  9133. },
  9134. "wrstandardcode": {
  9135. "description": "现货商品代码",
  9136. "type": "string"
  9137. },
  9138. "wrstandardid": {
  9139. "description": "现货商品ID",
  9140. "type": "integer"
  9141. },
  9142. "wrstandardname": {
  9143. "description": "现货商品名称",
  9144. "type": "string"
  9145. }
  9146. }
  9147. },
  9148. "ermcp.QrySpotContractRsp": {
  9149. "type": "object",
  9150. "properties": {
  9151. "amount": {
  9152. "description": "金额 [1:一口价、3:暂定价]",
  9153. "type": "number"
  9154. },
  9155. "attachment": {
  9156. "description": "附件",
  9157. "type": "string"
  9158. },
  9159. "auditremark": {
  9160. "description": "审核意见",
  9161. "type": "string"
  9162. },
  9163. "audittime": {
  9164. "description": "审核时间",
  9165. "type": "string"
  9166. },
  9167. "brandname": {
  9168. "description": "品牌名称",
  9169. "type": "string"
  9170. },
  9171. "buyuserid": {
  9172. "description": "采购方ID",
  9173. "type": "integer"
  9174. },
  9175. "buyusername": {
  9176. "description": "采购方名称",
  9177. "type": "string"
  9178. },
  9179. "contracctstatus": {
  9180. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9181. "type": "integer"
  9182. },
  9183. "contractmargin": {
  9184. "description": "合同保证金",
  9185. "type": "number"
  9186. },
  9187. "contractno": {
  9188. "description": "现货合同编号",
  9189. "type": "string"
  9190. },
  9191. "contracttype": {
  9192. "description": "现货合同类型 - 1:采购 -1:销售",
  9193. "type": "integer"
  9194. },
  9195. "convertfactor": {
  9196. "description": "标仓系数",
  9197. "type": "number"
  9198. },
  9199. "createtime": {
  9200. "description": "创建时间",
  9201. "type": "string"
  9202. },
  9203. "deliveryenddate": {
  9204. "description": "交收期(结束)",
  9205. "type": "string"
  9206. },
  9207. "deliverygoodscode": {
  9208. "description": "现货品种代码",
  9209. "type": "string"
  9210. },
  9211. "deliverygoodsid": {
  9212. "description": "现货品种ID",
  9213. "type": "integer"
  9214. },
  9215. "deliverygoodsname": {
  9216. "description": "现货品种名称",
  9217. "type": "string"
  9218. },
  9219. "deliverystartdate": {
  9220. "description": "交收期(开始)",
  9221. "type": "string"
  9222. },
  9223. "enddate": {
  9224. "description": "点价结束日期 [2:点价 3:暂定价]",
  9225. "type": "string"
  9226. },
  9227. "enumdicname": {
  9228. "description": "单位名称",
  9229. "type": "string"
  9230. },
  9231. "goodscode": {
  9232. "description": "点价合约代码",
  9233. "type": "string"
  9234. },
  9235. "goodsid": {
  9236. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9237. "type": "integer"
  9238. },
  9239. "goodsname": {
  9240. "description": "点价商品名称",
  9241. "type": "string"
  9242. },
  9243. "margin": {
  9244. "description": "当前保证金",
  9245. "type": "number"
  9246. },
  9247. "modelname": {
  9248. "description": "型号名称",
  9249. "type": "string"
  9250. },
  9251. "price": {
  9252. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9253. "type": "number"
  9254. },
  9255. "pricemove": {
  9256. "description": "升贴水 [2:点价 3:暂定价]",
  9257. "type": "number"
  9258. },
  9259. "pricetype": {
  9260. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9261. "type": "integer"
  9262. },
  9263. "producttype": {
  9264. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9265. "type": "integer"
  9266. },
  9267. "qty": {
  9268. "description": "数量",
  9269. "type": "number"
  9270. },
  9271. "remark": {
  9272. "description": "备注",
  9273. "type": "string"
  9274. },
  9275. "selluserid": {
  9276. "description": "销售方ID",
  9277. "type": "integer"
  9278. },
  9279. "sellusername": {
  9280. "description": "销售方名称",
  9281. "type": "string"
  9282. },
  9283. "spotcontractid": {
  9284. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9285. "type": "string"
  9286. },
  9287. "spotgoodsbrandid": {
  9288. "description": "现货品牌ID",
  9289. "type": "integer"
  9290. },
  9291. "spotgoodsdesc": {
  9292. "description": "商品型号",
  9293. "type": "string"
  9294. },
  9295. "spotgoodsmodelid": {
  9296. "description": "现货型号ID",
  9297. "type": "integer"
  9298. },
  9299. "startdate": {
  9300. "description": "点价开始日期 [2:点价 3:暂定价]",
  9301. "type": "string"
  9302. },
  9303. "userid": {
  9304. "description": "机构ID",
  9305. "type": "integer"
  9306. },
  9307. "wrstandardid": {
  9308. "description": "现货商品ID",
  9309. "type": "integer"
  9310. }
  9311. }
  9312. },
  9313. "ermcp.QryUserInfoRsp": {
  9314. "type": "object",
  9315. "properties": {
  9316. "address": {
  9317. "description": "通讯地址",
  9318. "type": "string"
  9319. },
  9320. "attachment1": {
  9321. "description": "附件1",
  9322. "type": "string"
  9323. },
  9324. "cardfrontphotourl": {
  9325. "description": "证件正面图片地址",
  9326. "type": "string"
  9327. },
  9328. "cardnum": {
  9329. "description": "证件号码",
  9330. "type": "string"
  9331. },
  9332. "cardtype": {
  9333. "description": "证件类型",
  9334. "type": "integer"
  9335. },
  9336. "cardtypename": {
  9337. "description": "证件类型名称",
  9338. "type": "string"
  9339. },
  9340. "cityid": {
  9341. "description": "市",
  9342. "type": "integer"
  9343. },
  9344. "countryid": {
  9345. "description": "国家",
  9346. "type": "integer"
  9347. },
  9348. "createtime": {
  9349. "description": "创建时间",
  9350. "type": "string"
  9351. },
  9352. "customername": {
  9353. "description": "企业名称",
  9354. "type": "string"
  9355. },
  9356. "memberuserid": {
  9357. "description": "所属机构ID",
  9358. "type": "integer"
  9359. },
  9360. "mobile": {
  9361. "description": "手机号码",
  9362. "type": "string"
  9363. },
  9364. "provinceid": {
  9365. "description": "省",
  9366. "type": "integer"
  9367. },
  9368. "remark": {
  9369. "description": "备注",
  9370. "type": "string"
  9371. },
  9372. "status": {
  9373. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9374. "type": "integer"
  9375. },
  9376. "statusdesc": {
  9377. "description": "账户状态中文描述",
  9378. "type": "string"
  9379. },
  9380. "telphone": {
  9381. "description": "联系电话",
  9382. "type": "string"
  9383. },
  9384. "userid": {
  9385. "description": "用户ID",
  9386. "type": "integer"
  9387. },
  9388. "userinfotype": {
  9389. "description": "客户类型",
  9390. "type": "string"
  9391. }
  9392. }
  9393. },
  9394. "ermcp.QryWrStandardDetailRsp": {
  9395. "type": "object",
  9396. "properties": {
  9397. "gbList": {
  9398. "description": "品牌列表",
  9399. "type": "array",
  9400. "items": {
  9401. "$ref": "#/definitions/models.GoodsBrand"
  9402. }
  9403. },
  9404. "gtList": {
  9405. "description": "型号列表",
  9406. "type": "array",
  9407. "items": {
  9408. "$ref": "#/definitions/models.GoodsTypeModel"
  9409. }
  9410. },
  9411. "wrd": {
  9412. "description": "基本信息",
  9413. "$ref": "#/definitions/models.ErmcpWrstandard"
  9414. },
  9415. "wrsList": {
  9416. "description": "套保信息列表",
  9417. "type": "array",
  9418. "items": {
  9419. "$ref": "#/definitions/models.WRSConverTDetail"
  9420. }
  9421. }
  9422. }
  9423. },
  9424. "ermcp.QryWrStandardRsp": {
  9425. "type": "object",
  9426. "properties": {
  9427. "areauserid": {
  9428. "description": "所属机构",
  9429. "type": "integer"
  9430. },
  9431. "createtime": {
  9432. "description": "创建时间",
  9433. "type": "string"
  9434. },
  9435. "creatorid": {
  9436. "description": "创建人",
  9437. "type": "integer"
  9438. },
  9439. "deliverygoodsid": {
  9440. "description": "品种ID",
  9441. "type": "integer"
  9442. },
  9443. "enumdicname": {
  9444. "description": "单位名称",
  9445. "type": "string"
  9446. },
  9447. "isvalid": {
  9448. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9449. "type": "integer"
  9450. },
  9451. "minivalue": {
  9452. "description": "最小变动值",
  9453. "type": "integer"
  9454. },
  9455. "minivaluedp": {
  9456. "description": "最小变动值小数位",
  9457. "type": "integer"
  9458. },
  9459. "realminivalue": {
  9460. "description": "实际最小变动值",
  9461. "type": "integer"
  9462. },
  9463. "realminivaluedp": {
  9464. "description": "实际最小变动值小数位",
  9465. "type": "integer"
  9466. },
  9467. "remark": {
  9468. "description": "备注",
  9469. "type": "string"
  9470. },
  9471. "unitid": {
  9472. "description": "单位ID",
  9473. "type": "integer"
  9474. },
  9475. "updatetime": {
  9476. "description": "更新时间",
  9477. "type": "string"
  9478. },
  9479. "wrstandardcode": {
  9480. "description": "现货商品代码",
  9481. "type": "string"
  9482. },
  9483. "wrstandardid": {
  9484. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9485. "type": "integer"
  9486. },
  9487. "wrstandardname": {
  9488. "description": "现货商品名称",
  9489. "type": "string"
  9490. }
  9491. }
  9492. },
  9493. "ermcp.QueryErmcpTradePositionRsp": {
  9494. "type": "object",
  9495. "properties": {
  9496. "agreeunit": {
  9497. "description": "合约单位",
  9498. "type": "number"
  9499. },
  9500. "buyorsell": {
  9501. "description": "方向 - 0:买 1:卖",
  9502. "type": "integer"
  9503. },
  9504. "curpositionqty": {
  9505. "description": "持仓(总仓数量, 期末头寸)",
  9506. "type": "integer"
  9507. },
  9508. "curtdposition": {
  9509. "description": "今仓数量(期末今日头寸)",
  9510. "type": "integer"
  9511. },
  9512. "curtdpositionenabled": {
  9513. "description": "今仓可用",
  9514. "type": "integer"
  9515. },
  9516. "decimalplace": {
  9517. "description": "报价小数位",
  9518. "type": "integer"
  9519. },
  9520. "enableqty": {
  9521. "description": "可用(总仓可用)",
  9522. "type": "integer"
  9523. },
  9524. "exexchangename": {
  9525. "description": "外部交易所名称",
  9526. "type": "string"
  9527. },
  9528. "goodscode": {
  9529. "description": "商品代码(内部)",
  9530. "type": "string"
  9531. },
  9532. "goodsid": {
  9533. "description": "商品ID(自增ID SEQ_GOODS)",
  9534. "type": "integer"
  9535. },
  9536. "goodsname": {
  9537. "description": "商品名称",
  9538. "type": "string"
  9539. },
  9540. "last": {
  9541. "description": "现价",
  9542. "type": "number"
  9543. },
  9544. "marketid": {
  9545. "description": "所属市场ID",
  9546. "type": "integer"
  9547. },
  9548. "openaverageprice": {
  9549. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9550. "type": "number"
  9551. },
  9552. "opencost": {
  9553. "description": "开仓成本",
  9554. "type": "number"
  9555. },
  9556. "openpl": {
  9557. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9558. "type": "number"
  9559. },
  9560. "outgoodscode": {
  9561. "description": "商品代码(外部)",
  9562. "type": "string"
  9563. },
  9564. "positionaverageprice": {
  9565. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9566. "type": "number"
  9567. },
  9568. "positioncost": {
  9569. "description": "持仓成本",
  9570. "type": "number"
  9571. },
  9572. "positionpl": {
  9573. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9574. "type": "number"
  9575. },
  9576. "positionplrate": {
  9577. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9578. "type": "number"
  9579. },
  9580. "usedmargin": {
  9581. "description": "占用保证金",
  9582. "type": "number"
  9583. }
  9584. }
  9585. },
  9586. "ermcp.RealtimeExposurePositionRsp": {
  9587. "type": "object",
  9588. "properties": {
  9589. "agreeunit": {
  9590. "description": "合约单位",
  9591. "type": "string"
  9592. },
  9593. "areauserid": {
  9594. "description": "所属机构id",
  9595. "type": "integer"
  9596. },
  9597. "convertratio": {
  9598. "description": "期货品种系数(折算系数)",
  9599. "type": "number"
  9600. },
  9601. "curqty": {
  9602. "description": "当前持仓",
  9603. "type": "integer"
  9604. },
  9605. "diffhedgeqty": {
  9606. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9607. "type": "number"
  9608. },
  9609. "diffqty": {
  9610. "description": "持仓变动量=当前持仓-昨日持仓",
  9611. "type": "integer"
  9612. },
  9613. "goodscode": {
  9614. "description": "商品代码",
  9615. "type": "string"
  9616. },
  9617. "goodsid": {
  9618. "description": "商品id",
  9619. "type": "integer"
  9620. },
  9621. "goodsname": {
  9622. "description": "商品名称",
  9623. "type": "string"
  9624. },
  9625. "middlegoodsid": {
  9626. "description": "套保商品id",
  9627. "type": "integer"
  9628. },
  9629. "ydqty": {
  9630. "description": "昨日持仓",
  9631. "type": "integer"
  9632. }
  9633. }
  9634. },
  9635. "ermcp.RealtimeExposureRsp": {
  9636. "type": "object",
  9637. "properties": {
  9638. "areaUserID": {
  9639. "description": "所属机构",
  9640. "type": "integer"
  9641. },
  9642. "buyFutureQty": {
  9643. "description": "买入期货数量",
  9644. "type": "number"
  9645. },
  9646. "buyPlanQty": {
  9647. "description": "采购计划数量",
  9648. "type": "number"
  9649. },
  9650. "buyPricedQty": {
  9651. "description": "采购合同已定价数量",
  9652. "type": "number"
  9653. },
  9654. "diffFutuQty": {
  9655. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9656. "type": "number"
  9657. },
  9658. "diffSpotQty": {
  9659. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9660. "type": "number"
  9661. },
  9662. "enumdicname": {
  9663. "description": "单位名称",
  9664. "type": "string"
  9665. },
  9666. "middleGoodsCode": {
  9667. "description": "套保品种代码",
  9668. "type": "string"
  9669. },
  9670. "middleGoodsHedgeRatio": {
  9671. "description": "应套保比例",
  9672. "type": "number"
  9673. },
  9674. "middleGoodsID": {
  9675. "description": "套保品种",
  9676. "type": "integer"
  9677. },
  9678. "middleGoodsName": {
  9679. "description": "套保品种名称",
  9680. "type": "string"
  9681. },
  9682. "needHedgeExposoure": {
  9683. "description": "应套保敞口",
  9684. "type": "number"
  9685. },
  9686. "needHedgeRatio": {
  9687. "description": "应套保敞口比例",
  9688. "type": "number"
  9689. },
  9690. "oriBuyFutureQty": {
  9691. "description": "期初买入期货数量",
  9692. "type": "number"
  9693. },
  9694. "oriBuyPlanQty": {
  9695. "description": "期初采购计划数量",
  9696. "type": "number"
  9697. },
  9698. "oriBuyPricedQty": {
  9699. "description": "期初采购合同已定价数量",
  9700. "type": "number"
  9701. },
  9702. "oriSellFutureQty": {
  9703. "description": "期初卖出期货数量",
  9704. "type": "number"
  9705. },
  9706. "oriSellPlanQty": {
  9707. "description": "期初销售计划数量",
  9708. "type": "number"
  9709. },
  9710. "oriSellPricedQty": {
  9711. "description": "期初销售合同已定价数量",
  9712. "type": "number"
  9713. },
  9714. "oriTotalFutuQty": {
  9715. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9716. "type": "number"
  9717. },
  9718. "oriTotalSpotQty": {
  9719. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9720. "type": "number"
  9721. },
  9722. "sellFutureQty": {
  9723. "description": "卖出期货数量",
  9724. "type": "number"
  9725. },
  9726. "sellPlanQty": {
  9727. "description": "销售计划数量",
  9728. "type": "number"
  9729. },
  9730. "sellPricedQty": {
  9731. "description": "销售合同已定价数量",
  9732. "type": "number"
  9733. },
  9734. "totalExposure": {
  9735. "description": "总敞口",
  9736. "type": "number"
  9737. },
  9738. "totalFutureQty": {
  9739. "description": "期货数量",
  9740. "type": "number"
  9741. },
  9742. "totalHedgeRatio": {
  9743. "description": "敞口比例",
  9744. "type": "number"
  9745. },
  9746. "totalNeedHedgeQty": {
  9747. "description": "期货应套保量",
  9748. "type": "number"
  9749. },
  9750. "totalSpotQty": {
  9751. "description": "现货数量",
  9752. "type": "number"
  9753. }
  9754. }
  9755. },
  9756. "erms2.QueryArbitrageStrategyRsp": {
  9757. "type": "object",
  9758. "required": [
  9759. "asapplyid"
  9760. ],
  9761. "properties": {
  9762. "applybasis": {
  9763. "description": "申请基差",
  9764. "type": "number"
  9765. },
  9766. "asapplyid": {
  9767. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9768. "type": "string"
  9769. },
  9770. "asname": {
  9771. "description": "策略名称",
  9772. "type": "string"
  9773. },
  9774. "asno": {
  9775. "description": "策略编号",
  9776. "type": "string"
  9777. },
  9778. "basischangepl": {
  9779. "description": "基差变动损益[结算更新]",
  9780. "type": "number"
  9781. },
  9782. "biztype": {
  9783. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9784. "type": "integer"
  9785. },
  9786. "closetradedate": {
  9787. "description": "完结交易日(yyyyMMdd)",
  9788. "type": "string"
  9789. },
  9790. "curbasis": {
  9791. "description": "当前基差[结算更新]",
  9792. "type": "number"
  9793. },
  9794. "deliverygoodsid": {
  9795. "description": "现货品种ID",
  9796. "type": "integer"
  9797. },
  9798. "futureavgprice": {
  9799. "description": "期货建仓均价",
  9800. "type": "number"
  9801. },
  9802. "futurecloseamount": {
  9803. "description": "期货平仓金额",
  9804. "type": "number"
  9805. },
  9806. "futurecloseqty": {
  9807. "description": "期货平仓数量",
  9808. "type": "number"
  9809. },
  9810. "futureopenamount": {
  9811. "description": "期货开仓金额",
  9812. "type": "number"
  9813. },
  9814. "futureopenqty": {
  9815. "description": "期货开仓数量",
  9816. "type": "number"
  9817. },
  9818. "futurepl": {
  9819. "description": "期货总盈亏[结算更新]",
  9820. "type": "number"
  9821. },
  9822. "futureqty": {
  9823. "description": "期货持仓数量",
  9824. "type": "number"
  9825. },
  9826. "futurequote": {
  9827. "description": "期货额度",
  9828. "type": "number"
  9829. },
  9830. "goodsgroupid": {
  9831. "description": "期货品种ID",
  9832. "type": "integer"
  9833. },
  9834. "marketid": {
  9835. "description": "市场ID",
  9836. "type": "integer"
  9837. },
  9838. "netexposure": {
  9839. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9840. "type": "number"
  9841. },
  9842. "netexposurepl": {
  9843. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9844. "type": "number"
  9845. },
  9846. "netexposurerate": {
  9847. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9848. "type": "number"
  9849. },
  9850. "openbasis": {
  9851. "description": "建仓基差",
  9852. "type": "number"
  9853. },
  9854. "pricedspotqty": {
  9855. "description": "已定价现货数量",
  9856. "type": "number"
  9857. },
  9858. "pricedspotqtynotax": {
  9859. "description": "已定价现货不含税数量",
  9860. "type": "number"
  9861. },
  9862. "remark": {
  9863. "description": "备注",
  9864. "type": "string"
  9865. },
  9866. "spotavgprice": {
  9867. "description": "现货均价",
  9868. "type": "number"
  9869. },
  9870. "spotbuyamount": {
  9871. "description": "现货采购金额",
  9872. "type": "number"
  9873. },
  9874. "spotbuyqty": {
  9875. "description": "现货采购数量",
  9876. "type": "number"
  9877. },
  9878. "spotpl": {
  9879. "description": "现货总盈亏[结算更新]",
  9880. "type": "number"
  9881. },
  9882. "spotquota": {
  9883. "description": "现货额度",
  9884. "type": "number"
  9885. },
  9886. "spotsellamount": {
  9887. "description": "现货销售金额",
  9888. "type": "number"
  9889. },
  9890. "spotsellqty": {
  9891. "description": "现货销售数量",
  9892. "type": "number"
  9893. },
  9894. "spotusedquota": {
  9895. "description": "现货占用资金",
  9896. "type": "number"
  9897. },
  9898. "strategystatus": {
  9899. "description": "策略状态 - 0:未结束 1:已结束",
  9900. "type": "integer"
  9901. },
  9902. "totalpl": {
  9903. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9904. "type": "number"
  9905. },
  9906. "tradedate": {
  9907. "description": "交易日(yyyyMMdd)",
  9908. "type": "string"
  9909. },
  9910. "updatetime": {
  9911. "description": "更新时间",
  9912. "type": "string"
  9913. },
  9914. "usedquota": {
  9915. "description": "已占用资金",
  9916. "type": "number"
  9917. },
  9918. "userid": {
  9919. "description": "所属机构",
  9920. "type": "integer"
  9921. }
  9922. }
  9923. },
  9924. "erms2.QueryInnerTradeDetailRsp": {
  9925. "type": "object",
  9926. "required": [
  9927. "asapplyid",
  9928. "buyorsell",
  9929. "goodscode",
  9930. "goodsgroupid",
  9931. "goodsgroupname",
  9932. "goodsname",
  9933. "tradeid"
  9934. ],
  9935. "properties": {
  9936. "accountid": {
  9937. "description": "账号ID",
  9938. "type": "integer"
  9939. },
  9940. "agreeunit": {
  9941. "description": "合约单位",
  9942. "type": "number"
  9943. },
  9944. "asapplyid": {
  9945. "description": "策略申请ID",
  9946. "type": "integer"
  9947. },
  9948. "asname": {
  9949. "description": "策略名称",
  9950. "type": "string"
  9951. },
  9952. "asno": {
  9953. "description": "策略编号",
  9954. "type": "string"
  9955. },
  9956. "buyorsell": {
  9957. "description": "方向 - 0:买 1:卖",
  9958. "type": "integer"
  9959. },
  9960. "channelbuildtype": {
  9961. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9962. "type": "integer"
  9963. },
  9964. "closetype": {
  9965. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9966. "type": "integer"
  9967. },
  9968. "decimalplace": {
  9969. "description": "报价小数位",
  9970. "type": "integer"
  9971. },
  9972. "detailtype": {
  9973. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9974. "type": "integer"
  9975. },
  9976. "exexchangecode": {
  9977. "description": "外部交易所代码",
  9978. "type": "string"
  9979. },
  9980. "exexchangename": {
  9981. "description": "外部交易所名称",
  9982. "type": "string"
  9983. },
  9984. "goodscode": {
  9985. "description": "商品代码(合约)",
  9986. "type": "string"
  9987. },
  9988. "goodsgroupid": {
  9989. "description": "商品组ID(品种ID)",
  9990. "type": "integer"
  9991. },
  9992. "goodsgroupname": {
  9993. "description": "商品组名称(品种)",
  9994. "type": "string"
  9995. },
  9996. "goodsid": {
  9997. "description": "商品ID",
  9998. "type": "integer"
  9999. },
  10000. "goodsname": {
  10001. "description": "商品名称(合约)",
  10002. "type": "string"
  10003. },
  10004. "goodunit": {
  10005. "description": "报价单位",
  10006. "type": "string"
  10007. },
  10008. "marketid": {
  10009. "description": "市场ID",
  10010. "type": "integer"
  10011. },
  10012. "orderid": {
  10013. "description": "委托单号",
  10014. "type": "string"
  10015. },
  10016. "outgoodscode": {
  10017. "description": "商品代码(外部)",
  10018. "type": "string"
  10019. },
  10020. "relatedouttradeid": {
  10021. "description": "关联外部成交单ID",
  10022. "type": "string"
  10023. },
  10024. "remark": {
  10025. "description": "备注",
  10026. "type": "string"
  10027. },
  10028. "spotcontractid": {
  10029. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10030. "type": "integer"
  10031. },
  10032. "spotcontractno": {
  10033. "description": "现货合同编号",
  10034. "type": "string"
  10035. },
  10036. "tradeid": {
  10037. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10038. "type": "string"
  10039. },
  10040. "tradeprice": {
  10041. "description": "成交价格",
  10042. "type": "number"
  10043. },
  10044. "tradeqty": {
  10045. "description": "成交数量",
  10046. "type": "integer"
  10047. },
  10048. "tradetime": {
  10049. "description": "成交时间",
  10050. "type": "string"
  10051. },
  10052. "updatetime": {
  10053. "description": "更新时间",
  10054. "type": "string"
  10055. }
  10056. }
  10057. },
  10058. "erms2.QuerySpotContractRsp": {
  10059. "type": "object",
  10060. "required": [
  10061. "spotcontractid"
  10062. ],
  10063. "properties": {
  10064. "accountid": {
  10065. "description": "资金账户ID",
  10066. "type": "integer"
  10067. },
  10068. "areauserid": {
  10069. "description": "所属机构",
  10070. "type": "integer"
  10071. },
  10072. "closedate": {
  10073. "description": "终止日期",
  10074. "type": "string"
  10075. },
  10076. "closeremark": {
  10077. "description": "结束备注",
  10078. "type": "string"
  10079. },
  10080. "closetradedate": {
  10081. "description": "完结交易日(yyyyMMdd)",
  10082. "type": "string"
  10083. },
  10084. "closetype": {
  10085. "description": "终止类型 - 1:违约 2:提前终止",
  10086. "type": "integer"
  10087. },
  10088. "contractamount": {
  10089. "description": "合同金额",
  10090. "type": "number"
  10091. },
  10092. "contractattachment": {
  10093. "description": "合同附件",
  10094. "type": "string"
  10095. },
  10096. "contractno": {
  10097. "description": "现货合同编号",
  10098. "type": "string"
  10099. },
  10100. "contractqty": {
  10101. "description": "合同数量(数值) (用于计算)",
  10102. "type": "number"
  10103. },
  10104. "contractqtychar": {
  10105. "description": "合同数量\\已订价数量 (用于显示)",
  10106. "type": "string"
  10107. },
  10108. "contractstatus": {
  10109. "description": "合同状态 - 0:未结束 1:已结束",
  10110. "type": "integer"
  10111. },
  10112. "contracttype": {
  10113. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10114. "type": "integer"
  10115. },
  10116. "customeraccountid": {
  10117. "description": "客户资金账户ID",
  10118. "type": "integer"
  10119. },
  10120. "customeruserid": {
  10121. "description": "客户ID",
  10122. "type": "integer"
  10123. },
  10124. "deliverygoodsdesc": {
  10125. "description": "品种说明",
  10126. "type": "string"
  10127. },
  10128. "deliverygoodsid": {
  10129. "description": "现货品种ID",
  10130. "type": "integer"
  10131. },
  10132. "handlestatus": {
  10133. "description": "处理状态",
  10134. "type": "integer"
  10135. },
  10136. "invoiceatt": {
  10137. "description": "发票附件",
  10138. "type": "string"
  10139. },
  10140. "invoicedatetime": {
  10141. "description": "开收票更新时间",
  10142. "type": "string"
  10143. },
  10144. "invoiceopentime": {
  10145. "description": "开票时间",
  10146. "type": "string"
  10147. },
  10148. "invoiceremark": {
  10149. "description": "发票备注",
  10150. "type": "string"
  10151. },
  10152. "invoicestatus": {
  10153. "description": "开收票状态 - 0:未开票 1:已开票",
  10154. "type": "integer"
  10155. },
  10156. "lastdate": {
  10157. "description": "交货时间",
  10158. "type": "string"
  10159. },
  10160. "marketid": {
  10161. "description": "市场ID",
  10162. "type": "integer"
  10163. },
  10164. "paydatetime": {
  10165. "description": "收付款更新时间",
  10166. "type": "string"
  10167. },
  10168. "payremark": {
  10169. "description": "收付款备注",
  10170. "type": "string"
  10171. },
  10172. "paystatus": {
  10173. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10174. "type": "integer"
  10175. },
  10176. "positionqty": {
  10177. "description": "头寸数量 - 合同数量去小数部分",
  10178. "type": "integer"
  10179. },
  10180. "producttype": {
  10181. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10182. "type": "integer"
  10183. },
  10184. "relatedqty": {
  10185. "description": "已关联数量",
  10186. "type": "number"
  10187. },
  10188. "relatedstatus": {
  10189. "description": "关联完结状态 - 0:未结束 1:已结束",
  10190. "type": "integer"
  10191. },
  10192. "remark": {
  10193. "description": "备注",
  10194. "type": "string"
  10195. },
  10196. "signdate": {
  10197. "description": "签订日期",
  10198. "type": "string"
  10199. },
  10200. "spotcontractid": {
  10201. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10202. "type": "string"
  10203. },
  10204. "spotdatetime": {
  10205. "description": "收发货更新时间",
  10206. "type": "string"
  10207. },
  10208. "spotprice": {
  10209. "description": "价格",
  10210. "type": "number"
  10211. },
  10212. "spotremark": {
  10213. "description": "收发货备注",
  10214. "type": "string"
  10215. },
  10216. "spotstatus": {
  10217. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10218. "type": "integer"
  10219. },
  10220. "tradedate": {
  10221. "description": "交易日(yyyyMMdd)",
  10222. "type": "string"
  10223. },
  10224. "userid": {
  10225. "description": "业务员用户ID",
  10226. "type": "integer"
  10227. },
  10228. "warehouseid": {
  10229. "description": "仓库ID",
  10230. "type": "integer"
  10231. },
  10232. "wrfactortypeid": {
  10233. "description": "仓单要素类型ID",
  10234. "type": "integer"
  10235. },
  10236. "wrstandardid": {
  10237. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10238. "type": "integer"
  10239. }
  10240. }
  10241. },
  10242. "erms3.AddErms2ASApplyReq": {
  10243. "type": "object",
  10244. "required": [
  10245. "asapplyid"
  10246. ],
  10247. "properties": {
  10248. "applybasis": {
  10249. "description": "申请基差",
  10250. "type": "number"
  10251. },
  10252. "applystatus": {
  10253. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10254. "type": "integer"
  10255. },
  10256. "asapplyid": {
  10257. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10258. "type": "integer"
  10259. },
  10260. "asname": {
  10261. "description": "策略名称",
  10262. "type": "string"
  10263. },
  10264. "asno": {
  10265. "description": "策略编号",
  10266. "type": "string"
  10267. },
  10268. "auditid": {
  10269. "description": "审核人",
  10270. "type": "integer"
  10271. },
  10272. "auditremark": {
  10273. "description": "审核备注",
  10274. "type": "string"
  10275. },
  10276. "audittime": {
  10277. "description": "审核时间",
  10278. "type": "string"
  10279. },
  10280. "biztype": {
  10281. "description": "业务类型 - 1:正向套利 2:反向套利",
  10282. "type": "integer"
  10283. },
  10284. "createtime": {
  10285. "description": "创建时间",
  10286. "type": "string"
  10287. },
  10288. "creatorid": {
  10289. "description": "创建人",
  10290. "type": "integer"
  10291. },
  10292. "deliverygoodsid": {
  10293. "description": "现货品种ID",
  10294. "type": "integer"
  10295. },
  10296. "futurequote": {
  10297. "description": "期货额度",
  10298. "type": "number"
  10299. },
  10300. "goodsgroupid": {
  10301. "description": "期货品种ID",
  10302. "type": "integer"
  10303. },
  10304. "marketid": {
  10305. "description": "市场ID",
  10306. "type": "integer"
  10307. },
  10308. "remark": {
  10309. "description": "备注",
  10310. "type": "string"
  10311. },
  10312. "spotquota": {
  10313. "description": "现货额度",
  10314. "type": "number"
  10315. },
  10316. "tradedate": {
  10317. "description": "交易日(yyyyMMdd)",
  10318. "type": "string"
  10319. },
  10320. "userid": {
  10321. "description": "所属机构",
  10322. "type": "integer"
  10323. }
  10324. }
  10325. },
  10326. "erms3.AddErms2SpotTradeApplyReq": {
  10327. "type": "object",
  10328. "required": [
  10329. "spottradeid"
  10330. ],
  10331. "properties": {
  10332. "applyjsondetail": {
  10333. "description": "申请明细(JSON)",
  10334. "type": "string"
  10335. },
  10336. "applystatus": {
  10337. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10338. "type": "integer"
  10339. },
  10340. "areauserid": {
  10341. "description": "所属机构",
  10342. "type": "integer"
  10343. },
  10344. "auditid": {
  10345. "description": "审核人",
  10346. "type": "integer"
  10347. },
  10348. "auditremark": {
  10349. "description": "审核备注",
  10350. "type": "string"
  10351. },
  10352. "audittime": {
  10353. "description": "审核时间",
  10354. "type": "string"
  10355. },
  10356. "createtime": {
  10357. "description": "创建时间",
  10358. "type": "string"
  10359. },
  10360. "creatorid": {
  10361. "description": "创建人",
  10362. "type": "integer"
  10363. },
  10364. "deliverygoodsid": {
  10365. "description": "现货品种ID",
  10366. "type": "integer"
  10367. },
  10368. "futureaccountid": {
  10369. "description": "期货资金账户",
  10370. "type": "integer"
  10371. },
  10372. "goodsgroupid": {
  10373. "description": "期货品种",
  10374. "type": "integer"
  10375. },
  10376. "marketid": {
  10377. "description": "市场ID",
  10378. "type": "integer"
  10379. },
  10380. "remark": {
  10381. "description": "备注",
  10382. "type": "string"
  10383. },
  10384. "spotaccountid": {
  10385. "description": "现货资金账户",
  10386. "type": "integer"
  10387. },
  10388. "spottradeid": {
  10389. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10390. "type": "integer"
  10391. },
  10392. "spottradename": {
  10393. "description": "业务名称",
  10394. "type": "string"
  10395. },
  10396. "spottradeno": {
  10397. "description": "业务编号",
  10398. "type": "string"
  10399. },
  10400. "tradedate": {
  10401. "description": "交易日(yyyyMMdd)",
  10402. "type": "string"
  10403. },
  10404. "wrstandardid": {
  10405. "description": "仓单标准ID",
  10406. "type": "integer"
  10407. }
  10408. }
  10409. },
  10410. "erms3.AddSpotContractApplyReq": {
  10411. "type": "object",
  10412. "required": [
  10413. "accountid",
  10414. "areauserid",
  10415. "contractno",
  10416. "contracttype",
  10417. "customeraccountid",
  10418. "customeruserid",
  10419. "details",
  10420. "orimargin",
  10421. "signdate"
  10422. ],
  10423. "properties": {
  10424. "accountid": {
  10425. "description": "资金账户ID",
  10426. "type": "integer"
  10427. },
  10428. "areauserid": {
  10429. "description": "所属机构",
  10430. "type": "integer"
  10431. },
  10432. "contractattachment": {
  10433. "description": "合同附件",
  10434. "type": "string"
  10435. },
  10436. "contractno": {
  10437. "description": "现货合同编号",
  10438. "type": "string"
  10439. },
  10440. "contracttype": {
  10441. "description": "现货合同类型 - 1:采购 -1:销售",
  10442. "type": "integer"
  10443. },
  10444. "creatorid": {
  10445. "description": "申请人",
  10446. "type": "integer"
  10447. },
  10448. "customeraccountid": {
  10449. "description": "客户资金账户ID",
  10450. "type": "integer"
  10451. },
  10452. "customeruserid": {
  10453. "description": "客户ID",
  10454. "type": "integer"
  10455. },
  10456. "details": {
  10457. "description": "明细",
  10458. "type": "array",
  10459. "items": {
  10460. "$ref": "#/definitions/erms3.SoptContractDetail"
  10461. }
  10462. },
  10463. "orimargin": {
  10464. "description": "初始保证金",
  10465. "type": "number"
  10466. },
  10467. "remark": {
  10468. "description": "备注",
  10469. "type": "string"
  10470. },
  10471. "signdate": {
  10472. "description": "签订日期",
  10473. "type": "string"
  10474. }
  10475. }
  10476. },
  10477. "erms3.AddSpotContractApplyRsp": {
  10478. "type": "object",
  10479. "required": [
  10480. "contractno"
  10481. ],
  10482. "properties": {
  10483. "contractno": {
  10484. "description": "现货合同编号",
  10485. "type": "string"
  10486. },
  10487. "spotcontractid": {
  10488. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10489. "type": "integer"
  10490. }
  10491. }
  10492. },
  10493. "erms3.AddUserInfoApplyReq": {
  10494. "type": "object",
  10495. "required": [
  10496. "userid"
  10497. ],
  10498. "properties": {
  10499. "accountid": {
  10500. "description": "交易系统帐号Id (加密存储)",
  10501. "type": "integer"
  10502. },
  10503. "areacode": {
  10504. "description": "机构代码",
  10505. "type": "string"
  10506. },
  10507. "areaid": {
  10508. "description": "机构Id",
  10509. "type": "integer"
  10510. },
  10511. "attachment1": {
  10512. "description": "附件1",
  10513. "type": "string"
  10514. },
  10515. "attachment2": {
  10516. "description": "附件2",
  10517. "type": "string"
  10518. },
  10519. "attachment3": {
  10520. "description": "附件3",
  10521. "type": "string"
  10522. },
  10523. "attachment4": {
  10524. "description": "附件4",
  10525. "type": "string"
  10526. },
  10527. "attachment5": {
  10528. "description": "附件5",
  10529. "type": "string"
  10530. },
  10531. "auditedby": {
  10532. "description": "审核人",
  10533. "type": "string"
  10534. },
  10535. "auditime": {
  10536. "description": "审核时间",
  10537. "type": "string"
  10538. },
  10539. "bankaccount": {
  10540. "description": "银行帐号 (加密存储)",
  10541. "type": "string"
  10542. },
  10543. "bankaccountname": {
  10544. "description": "收款人名称",
  10545. "type": "string"
  10546. },
  10547. "bankcardbackphotourl": {
  10548. "description": "银行卡背面照地址",
  10549. "type": "string"
  10550. },
  10551. "bankcardfrontphotourl": {
  10552. "description": "银行卡正面照地址",
  10553. "type": "string"
  10554. },
  10555. "bankid": {
  10556. "description": "银行编码",
  10557. "type": "string"
  10558. },
  10559. "bankname": {
  10560. "description": "银行名称",
  10561. "type": "string"
  10562. },
  10563. "bankpictureurl": {
  10564. "description": "银行卡正面地址",
  10565. "type": "string"
  10566. },
  10567. "biznature": {
  10568. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10569. "type": "integer"
  10570. },
  10571. "bizscope": {
  10572. "description": "企业经营范围(企业)",
  10573. "type": "string"
  10574. },
  10575. "biztype": {
  10576. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10577. "type": "integer"
  10578. },
  10579. "brokerid": {
  10580. "description": "经纪人ID(加密存储)",
  10581. "type": "string"
  10582. },
  10583. "cardaddress": {
  10584. "description": "证件地址 (加密存储)",
  10585. "type": "string"
  10586. },
  10587. "cardbackphotourl": {
  10588. "description": "背面证件照地址",
  10589. "type": "string"
  10590. },
  10591. "cardfrontphotourl": {
  10592. "description": "正面证件照地址",
  10593. "type": "string"
  10594. },
  10595. "cardnum": {
  10596. "description": "证件号码 (加密存储)",
  10597. "type": "string"
  10598. },
  10599. "cardtype": {
  10600. "description": "证件类型",
  10601. "type": "integer"
  10602. },
  10603. "cityid": {
  10604. "description": "市",
  10605. "type": "integer"
  10606. },
  10607. "company": {
  10608. "description": "公司(个人)",
  10609. "type": "string"
  10610. },
  10611. "contactcardbackphotourl": {
  10612. "description": "联系人证件背面图片地址",
  10613. "type": "string"
  10614. },
  10615. "contactcardfrontphotourl": {
  10616. "description": "联系人证件正面图片地址",
  10617. "type": "string"
  10618. },
  10619. "contactname": {
  10620. "description": "联系人",
  10621. "type": "string"
  10622. },
  10623. "countryid": {
  10624. "description": "国家",
  10625. "type": "integer"
  10626. },
  10627. "createtime": {
  10628. "description": "开户申请时间",
  10629. "type": "string"
  10630. },
  10631. "cusbankid": {
  10632. "description": "签约类型",
  10633. "type": "string"
  10634. },
  10635. "cusbankname": {
  10636. "description": "签约类型名称",
  10637. "type": "string"
  10638. },
  10639. "customername": {
  10640. "description": "客户名称(企业名称)",
  10641. "type": "string"
  10642. },
  10643. "districtid": {
  10644. "description": "地区",
  10645. "type": "integer"
  10646. },
  10647. "email": {
  10648. "description": "Email地址(加密存储)",
  10649. "type": "string"
  10650. },
  10651. "halfbodyphotourl": {
  10652. "description": "半身照地址",
  10653. "type": "string"
  10654. },
  10655. "headurl": {
  10656. "description": "头像地址",
  10657. "type": "string"
  10658. },
  10659. "ipaddress": {
  10660. "description": "IP地址",
  10661. "type": "string"
  10662. },
  10663. "isvalidate": {
  10664. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10665. "type": "string"
  10666. },
  10667. "legalcardbackphotourl": {
  10668. "description": "法人身份证背面照地址",
  10669. "type": "string"
  10670. },
  10671. "legalcardfrontphotourl": {
  10672. "description": "法人身份证正面照地址",
  10673. "type": "string"
  10674. },
  10675. "legalpersonname": {
  10676. "description": "法人姓名(企业)",
  10677. "type": "string"
  10678. },
  10679. "logincode": {
  10680. "description": "登录帐号 (加密存储)",
  10681. "type": "string"
  10682. },
  10683. "memberareaid": {
  10684. "description": "所属会员ID",
  10685. "type": "integer"
  10686. },
  10687. "mobile2": {
  10688. "description": "手机号码[明文-尚志]",
  10689. "type": "string"
  10690. },
  10691. "mobilephone": {
  10692. "description": "手机号码 (加密存储)",
  10693. "type": "string"
  10694. },
  10695. "modifiedby": {
  10696. "description": "修改人帐号",
  10697. "type": "integer"
  10698. },
  10699. "modifiedtime": {
  10700. "description": "修改时间",
  10701. "type": "string"
  10702. },
  10703. "nickname": {
  10704. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10705. "type": "string"
  10706. },
  10707. "openmode": {
  10708. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10709. "type": "integer"
  10710. },
  10711. "otherurl": {
  10712. "description": "其它图片地址[使用分号分隔]",
  10713. "type": "string"
  10714. },
  10715. "postalcode": {
  10716. "description": "邮政编码",
  10717. "type": "string"
  10718. },
  10719. "provinceid": {
  10720. "description": "省",
  10721. "type": "integer"
  10722. },
  10723. "proxystatementurl": {
  10724. "description": "授权委托书",
  10725. "type": "string"
  10726. },
  10727. "qq": {
  10728. "description": "QQ(加密存储",
  10729. "type": "string"
  10730. },
  10731. "referral": {
  10732. "description": "推荐人编码",
  10733. "type": "string"
  10734. },
  10735. "remark": {
  10736. "description": "备注",
  10737. "type": "string"
  10738. },
  10739. "removebeforestatus": {
  10740. "description": "REMOVEBEFORESTATUS",
  10741. "type": "integer"
  10742. },
  10743. "sex": {
  10744. "description": "性别 - 0:女 1:男",
  10745. "type": "integer"
  10746. },
  10747. "signedstatus": {
  10748. "description": "账户一号签签约状态",
  10749. "type": "integer"
  10750. },
  10751. "signpdfurl": {
  10752. "description": "签约pdf文件",
  10753. "type": "string"
  10754. },
  10755. "subbranch": {
  10756. "description": "开户支行",
  10757. "type": "string"
  10758. },
  10759. "telphone": {
  10760. "description": "联系电话(加密存储)",
  10761. "type": "string"
  10762. },
  10763. "userid": {
  10764. "description": "用户ID(自增ID)",
  10765. "type": "integer"
  10766. },
  10767. "userinfotype": {
  10768. "description": "用户信息类型 - 1:个人 2:企业",
  10769. "type": "integer"
  10770. },
  10771. "username": {
  10772. "description": "用户姓名",
  10773. "type": "string"
  10774. },
  10775. "userstate": {
  10776. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10777. "type": "integer"
  10778. },
  10779. "usertype": {
  10780. "description": "用户类型 - 1:投资者 2:机构",
  10781. "type": "integer"
  10782. },
  10783. "videourl": {
  10784. "description": "视频地址",
  10785. "type": "string"
  10786. },
  10787. "wechat": {
  10788. "description": "微信号 (加密存储)",
  10789. "type": "string"
  10790. }
  10791. }
  10792. },
  10793. "erms3.CustomerInfo": {
  10794. "type": "object",
  10795. "required": [
  10796. "userid"
  10797. ],
  10798. "properties": {
  10799. "accountids": {
  10800. "description": "资金账户ID列表",
  10801. "type": "array",
  10802. "items": {
  10803. "type": "integer"
  10804. }
  10805. },
  10806. "customername": {
  10807. "description": "名称(企业名称)",
  10808. "type": "string"
  10809. },
  10810. "mobile": {
  10811. "description": "手机号码",
  10812. "type": "string"
  10813. },
  10814. "userid": {
  10815. "description": "用户ID",
  10816. "type": "integer"
  10817. }
  10818. }
  10819. },
  10820. "erms3.ModifyUserInfoApplyReq": {
  10821. "type": "object",
  10822. "required": [
  10823. "userid"
  10824. ],
  10825. "properties": {
  10826. "accountid": {
  10827. "description": "交易系统帐号Id (加密存储)",
  10828. "type": "integer"
  10829. },
  10830. "areacode": {
  10831. "description": "机构代码",
  10832. "type": "string"
  10833. },
  10834. "areaid": {
  10835. "description": "机构Id",
  10836. "type": "integer"
  10837. },
  10838. "attachment1": {
  10839. "description": "附件1",
  10840. "type": "string"
  10841. },
  10842. "attachment2": {
  10843. "description": "附件2",
  10844. "type": "string"
  10845. },
  10846. "attachment3": {
  10847. "description": "附件3",
  10848. "type": "string"
  10849. },
  10850. "attachment4": {
  10851. "description": "附件4",
  10852. "type": "string"
  10853. },
  10854. "attachment5": {
  10855. "description": "附件5",
  10856. "type": "string"
  10857. },
  10858. "auditedby": {
  10859. "description": "审核人",
  10860. "type": "string"
  10861. },
  10862. "auditime": {
  10863. "description": "审核时间",
  10864. "type": "string"
  10865. },
  10866. "bankaccount": {
  10867. "description": "银行帐号 (加密存储)",
  10868. "type": "string"
  10869. },
  10870. "bankaccountname": {
  10871. "description": "收款人名称",
  10872. "type": "string"
  10873. },
  10874. "bankcardbackphotourl": {
  10875. "description": "银行卡背面照地址",
  10876. "type": "string"
  10877. },
  10878. "bankcardfrontphotourl": {
  10879. "description": "银行卡正面照地址",
  10880. "type": "string"
  10881. },
  10882. "bankid": {
  10883. "description": "银行编码",
  10884. "type": "string"
  10885. },
  10886. "bankname": {
  10887. "description": "银行名称",
  10888. "type": "string"
  10889. },
  10890. "bankpictureurl": {
  10891. "description": "银行卡正面地址",
  10892. "type": "string"
  10893. },
  10894. "biznature": {
  10895. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10896. "type": "integer"
  10897. },
  10898. "bizscope": {
  10899. "description": "企业经营范围(企业)",
  10900. "type": "string"
  10901. },
  10902. "biztype": {
  10903. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10904. "type": "integer"
  10905. },
  10906. "brokerid": {
  10907. "description": "经纪人ID(加密存储)",
  10908. "type": "string"
  10909. },
  10910. "cardaddress": {
  10911. "description": "证件地址 (加密存储)",
  10912. "type": "string"
  10913. },
  10914. "cardbackphotourl": {
  10915. "description": "背面证件照地址",
  10916. "type": "string"
  10917. },
  10918. "cardfrontphotourl": {
  10919. "description": "正面证件照地址",
  10920. "type": "string"
  10921. },
  10922. "cardnum": {
  10923. "description": "证件号码 (加密存储)",
  10924. "type": "string"
  10925. },
  10926. "cardtype": {
  10927. "description": "证件类型",
  10928. "type": "integer"
  10929. },
  10930. "cityid": {
  10931. "description": "市",
  10932. "type": "integer"
  10933. },
  10934. "company": {
  10935. "description": "公司(个人)",
  10936. "type": "string"
  10937. },
  10938. "contactcardbackphotourl": {
  10939. "description": "联系人证件背面图片地址",
  10940. "type": "string"
  10941. },
  10942. "contactcardfrontphotourl": {
  10943. "description": "联系人证件正面图片地址",
  10944. "type": "string"
  10945. },
  10946. "contactname": {
  10947. "description": "联系人",
  10948. "type": "string"
  10949. },
  10950. "countryid": {
  10951. "description": "国家",
  10952. "type": "integer"
  10953. },
  10954. "createtime": {
  10955. "description": "开户申请时间",
  10956. "type": "string"
  10957. },
  10958. "cusbankid": {
  10959. "description": "签约类型",
  10960. "type": "string"
  10961. },
  10962. "cusbankname": {
  10963. "description": "签约类型名称",
  10964. "type": "string"
  10965. },
  10966. "customername": {
  10967. "description": "客户名称(企业名称)",
  10968. "type": "string"
  10969. },
  10970. "districtid": {
  10971. "description": "地区",
  10972. "type": "integer"
  10973. },
  10974. "email": {
  10975. "description": "Email地址(加密存储)",
  10976. "type": "string"
  10977. },
  10978. "halfbodyphotourl": {
  10979. "description": "半身照地址",
  10980. "type": "string"
  10981. },
  10982. "headurl": {
  10983. "description": "头像地址",
  10984. "type": "string"
  10985. },
  10986. "ipaddress": {
  10987. "description": "IP地址",
  10988. "type": "string"
  10989. },
  10990. "isvalidate": {
  10991. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10992. "type": "string"
  10993. },
  10994. "legalcardbackphotourl": {
  10995. "description": "法人身份证背面照地址",
  10996. "type": "string"
  10997. },
  10998. "legalcardfrontphotourl": {
  10999. "description": "法人身份证正面照地址",
  11000. "type": "string"
  11001. },
  11002. "legalpersonname": {
  11003. "description": "法人姓名(企业)",
  11004. "type": "string"
  11005. },
  11006. "logincode": {
  11007. "description": "登录帐号 (加密存储)",
  11008. "type": "string"
  11009. },
  11010. "memberareaid": {
  11011. "description": "所属会员ID",
  11012. "type": "integer"
  11013. },
  11014. "mobile2": {
  11015. "description": "手机号码[明文-尚志]",
  11016. "type": "string"
  11017. },
  11018. "mobilephone": {
  11019. "description": "手机号码 (加密存储)",
  11020. "type": "string"
  11021. },
  11022. "modifiedby": {
  11023. "description": "修改人帐号",
  11024. "type": "integer"
  11025. },
  11026. "modifiedtime": {
  11027. "description": "修改时间",
  11028. "type": "string"
  11029. },
  11030. "nickname": {
  11031. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11032. "type": "string"
  11033. },
  11034. "openmode": {
  11035. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11036. "type": "integer"
  11037. },
  11038. "otherurl": {
  11039. "description": "其它图片地址[使用分号分隔]",
  11040. "type": "string"
  11041. },
  11042. "postalcode": {
  11043. "description": "邮政编码",
  11044. "type": "string"
  11045. },
  11046. "provinceid": {
  11047. "description": "省",
  11048. "type": "integer"
  11049. },
  11050. "proxystatementurl": {
  11051. "description": "授权委托书",
  11052. "type": "string"
  11053. },
  11054. "qq": {
  11055. "description": "QQ(加密存储",
  11056. "type": "string"
  11057. },
  11058. "referral": {
  11059. "description": "推荐人编码",
  11060. "type": "string"
  11061. },
  11062. "remark": {
  11063. "description": "备注",
  11064. "type": "string"
  11065. },
  11066. "removebeforestatus": {
  11067. "description": "REMOVEBEFORESTATUS",
  11068. "type": "integer"
  11069. },
  11070. "sex": {
  11071. "description": "性别 - 0:女 1:男",
  11072. "type": "integer"
  11073. },
  11074. "signedstatus": {
  11075. "description": "账户一号签签约状态",
  11076. "type": "integer"
  11077. },
  11078. "signpdfurl": {
  11079. "description": "签约pdf文件",
  11080. "type": "string"
  11081. },
  11082. "subbranch": {
  11083. "description": "开户支行",
  11084. "type": "string"
  11085. },
  11086. "telphone": {
  11087. "description": "联系电话(加密存储)",
  11088. "type": "string"
  11089. },
  11090. "userid": {
  11091. "description": "用户ID(自增ID)",
  11092. "type": "integer"
  11093. },
  11094. "userinfotype": {
  11095. "description": "用户信息类型 - 1:个人 2:企业",
  11096. "type": "integer"
  11097. },
  11098. "username": {
  11099. "description": "用户姓名",
  11100. "type": "string"
  11101. },
  11102. "userstate": {
  11103. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11104. "type": "integer"
  11105. },
  11106. "usertype": {
  11107. "description": "用户类型 - 1:投资者 2:机构",
  11108. "type": "integer"
  11109. },
  11110. "videourl": {
  11111. "description": "视频地址",
  11112. "type": "string"
  11113. },
  11114. "wechat": {
  11115. "description": "微信号 (加密存储)",
  11116. "type": "string"
  11117. }
  11118. }
  11119. },
  11120. "erms3.QryAuditContractRsp": {
  11121. "type": "object",
  11122. "required": [
  11123. "matchcustomername",
  11124. "spotcontractid"
  11125. ],
  11126. "properties": {
  11127. "accountid": {
  11128. "description": "交易员ID",
  11129. "type": "string"
  11130. },
  11131. "applystatus": {
  11132. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11133. "type": "integer"
  11134. },
  11135. "curdeliveryqty": {
  11136. "description": "未交收量",
  11137. "type": "integer"
  11138. },
  11139. "customername": {
  11140. "description": "采购方ID",
  11141. "type": "string"
  11142. },
  11143. "deliverygoodsid": {
  11144. "description": "品种ID",
  11145. "type": "string"
  11146. },
  11147. "deliveryqty": {
  11148. "description": "交收量",
  11149. "type": "integer"
  11150. },
  11151. "enumdicname": {
  11152. "description": "单位名称",
  11153. "type": "string"
  11154. },
  11155. "matchaccountid": {
  11156. "description": "业务员ID",
  11157. "type": "string"
  11158. },
  11159. "matchcustomername": {
  11160. "description": "销售方ID",
  11161. "type": "string"
  11162. },
  11163. "pricedqty": {
  11164. "description": "定价量",
  11165. "type": "number"
  11166. },
  11167. "signdate": {
  11168. "description": "签订日期",
  11169. "type": "string"
  11170. },
  11171. "spotcontractid": {
  11172. "description": "合同ID",
  11173. "type": "string"
  11174. },
  11175. "totaldqty": {
  11176. "description": "合同量",
  11177. "type": "number"
  11178. },
  11179. "unpricedqty": {
  11180. "description": "未定价量",
  11181. "type": "number"
  11182. },
  11183. "wrstandardname": {
  11184. "description": "商品名称",
  11185. "type": "string"
  11186. }
  11187. }
  11188. },
  11189. "erms3.QryPendingBizRsp": {
  11190. "type": "object",
  11191. "properties": {
  11192. "accountid": {
  11193. "description": "现货账户",
  11194. "type": "string"
  11195. },
  11196. "areaname": {
  11197. "description": "所属部门",
  11198. "type": "string"
  11199. },
  11200. "bizid": {
  11201. "description": "业务ID",
  11202. "type": "string"
  11203. },
  11204. "bizname": {
  11205. "description": "业务名称",
  11206. "type": "string"
  11207. },
  11208. "status": {
  11209. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11210. "type": "integer"
  11211. },
  11212. "type": {
  11213. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11214. "type": "integer"
  11215. }
  11216. }
  11217. },
  11218. "erms3.QueryBusinessInfoRsp": {
  11219. "type": "object",
  11220. "properties": {
  11221. "businessid": {
  11222. "description": "业务ID.",
  11223. "type": "integer"
  11224. },
  11225. "buyamount": {
  11226. "description": "采购额.",
  11227. "type": "number"
  11228. },
  11229. "buyqty": {
  11230. "description": "采购量.",
  11231. "type": "string"
  11232. },
  11233. "futurepl": {
  11234. "description": "期货盈亏.",
  11235. "type": "number"
  11236. },
  11237. "futureqty": {
  11238. "description": "期货敞口.",
  11239. "type": "string"
  11240. },
  11241. "goodsid": {
  11242. "description": "商品名称/商品代码.",
  11243. "type": "string"
  11244. },
  11245. "hedgingqty": {
  11246. "description": "套保量.",
  11247. "type": "string"
  11248. },
  11249. "sellamount": {
  11250. "description": "销售额.",
  11251. "type": "number"
  11252. },
  11253. "sellqty": {
  11254. "description": "销售量.",
  11255. "type": "string"
  11256. },
  11257. "spotmarketvalue": {
  11258. "description": "现货市值.",
  11259. "type": "number"
  11260. },
  11261. "spotpl": {
  11262. "description": "浮动权益.",
  11263. "type": "number"
  11264. },
  11265. "spotqty": {
  11266. "description": "现货量.",
  11267. "type": "string"
  11268. },
  11269. "statu": {
  11270. "description": "状态,0-未结束 1-已结束.",
  11271. "type": "integer"
  11272. },
  11273. "totalpl": {
  11274. "description": "总盈亏.",
  11275. "type": "number"
  11276. },
  11277. "totalqty": {
  11278. "description": "总敞口.",
  11279. "type": "string"
  11280. },
  11281. "type": {
  11282. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11283. "type": "integer"
  11284. }
  11285. }
  11286. },
  11287. "erms3.QuerySpotContractAppleFormRsp": {
  11288. "type": "object",
  11289. "properties": {
  11290. "goodses": {
  11291. "description": "合约列表",
  11292. "type": "array",
  11293. "items": {
  11294. "$ref": "#/definitions/models.GoodsIDAndName"
  11295. }
  11296. },
  11297. "oppositeusers": {
  11298. "description": "对方账号列表",
  11299. "type": "array",
  11300. "items": {
  11301. "$ref": "#/definitions/erms3.CustomerInfo"
  11302. }
  11303. },
  11304. "ouruser": {
  11305. "description": "我方账号",
  11306. "$ref": "#/definitions/erms3.CustomerInfo"
  11307. },
  11308. "warehouseinfos": {
  11309. "description": "仓库信息列表",
  11310. "type": "array",
  11311. "items": {
  11312. "$ref": "#/definitions/models.Warehouseinfo"
  11313. }
  11314. },
  11315. "wrstandards": {
  11316. "description": "仓单标准列表",
  11317. "type": "array",
  11318. "items": {
  11319. "$ref": "#/definitions/models.WRStandardInfo"
  11320. }
  11321. }
  11322. }
  11323. },
  11324. "erms3.QuerySpotContractInfoRsp": {
  11325. "type": "object",
  11326. "properties": {
  11327. "accountid": {
  11328. "description": "表示交易员ID.",
  11329. "type": "integer"
  11330. },
  11331. "curdeliveryqty": {
  11332. "description": "表示未交收量.",
  11333. "type": "number"
  11334. },
  11335. "customername": {
  11336. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11337. "type": "string"
  11338. },
  11339. "deliverygoodsid": {
  11340. "description": "表示品种ID.",
  11341. "type": "string"
  11342. },
  11343. "deliveryqty": {
  11344. "description": "表示交收量.",
  11345. "type": "number"
  11346. },
  11347. "matchaccountid": {
  11348. "description": "表示业务员ID.",
  11349. "type": "integer"
  11350. },
  11351. "matchcustomername": {
  11352. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11353. "type": "string"
  11354. },
  11355. "priceqty": {
  11356. "description": "表示定价量.",
  11357. "type": "number"
  11358. },
  11359. "relatedbizid": {
  11360. "description": "表示业务ID.",
  11361. "type": "string"
  11362. },
  11363. "signdate": {
  11364. "description": "表示签订日期.",
  11365. "type": "string"
  11366. },
  11367. "spotcontractid": {
  11368. "description": "合同ID",
  11369. "type": "string"
  11370. },
  11371. "status": {
  11372. "description": "表示状态,0-履约中 1-已完成.",
  11373. "type": "integer"
  11374. },
  11375. "totalqty": {
  11376. "description": "表示合同量.",
  11377. "type": "number"
  11378. },
  11379. "unpricedqty": {
  11380. "description": "表示未定价量.",
  11381. "type": "number"
  11382. },
  11383. "wrstandardname": {
  11384. "description": "表示商品ID.",
  11385. "type": "string"
  11386. }
  11387. }
  11388. },
  11389. "erms3.QueryUserInfoAppliesRsp": {
  11390. "type": "object",
  11391. "required": [
  11392. "userid"
  11393. ],
  11394. "properties": {
  11395. "biznature": {
  11396. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11397. "type": "integer"
  11398. },
  11399. "contactname": {
  11400. "description": "联系人",
  11401. "type": "string"
  11402. },
  11403. "createtime": {
  11404. "description": "开户申请时间",
  11405. "type": "string"
  11406. },
  11407. "userid": {
  11408. "description": "用户ID(自增ID)",
  11409. "type": "integer"
  11410. },
  11411. "userinfotype": {
  11412. "description": "用户信息类型 - 1:个人 2:企业",
  11413. "type": "integer"
  11414. },
  11415. "username": {
  11416. "description": "用户姓名",
  11417. "type": "string"
  11418. },
  11419. "userstate": {
  11420. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11421. "type": "integer"
  11422. }
  11423. }
  11424. },
  11425. "erms3.QueryUserInfosRsp": {
  11426. "type": "object",
  11427. "required": [
  11428. "userid"
  11429. ],
  11430. "properties": {
  11431. "biznature": {
  11432. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11433. "type": "integer"
  11434. },
  11435. "contactname": {
  11436. "description": "联系人",
  11437. "type": "string"
  11438. },
  11439. "customername": {
  11440. "description": "客户名称(企业名称)",
  11441. "type": "string"
  11442. },
  11443. "userid": {
  11444. "description": "用户ID",
  11445. "type": "integer"
  11446. },
  11447. "userinfotype": {
  11448. "description": "用户信息类型 - 1:个人 2:企业",
  11449. "type": "integer"
  11450. },
  11451. "userstatus": {
  11452. "description": "用户状态 - 1:正常 2:注销",
  11453. "type": "integer"
  11454. }
  11455. }
  11456. },
  11457. "erms3.SoptContractDetail": {
  11458. "type": "object",
  11459. "required": [
  11460. "deliverygoodsid",
  11461. "producttype",
  11462. "unitname",
  11463. "warehouseid",
  11464. "wrstandardid",
  11465. "wrstandardname"
  11466. ],
  11467. "properties": {
  11468. "deliverygoodsdesc": {
  11469. "description": "现货品种说明",
  11470. "type": "string"
  11471. },
  11472. "deliverygoodsid": {
  11473. "description": "现货品种ID",
  11474. "type": "integer"
  11475. },
  11476. "deliverygoodsname": {
  11477. "description": "现货品种名称",
  11478. "type": "string"
  11479. },
  11480. "pointdesc": {
  11481. "description": "点价描述",
  11482. "type": "string"
  11483. },
  11484. "producttype": {
  11485. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11486. "type": "integer"
  11487. },
  11488. "producttypename": {
  11489. "description": "产品类型名称",
  11490. "type": "string"
  11491. },
  11492. "spotPointOrderVoList": {
  11493. "description": "点价列表",
  11494. "type": "array",
  11495. "items": {
  11496. "$ref": "#/definitions/erms3.SpotPointOrder"
  11497. }
  11498. },
  11499. "spotPriceOrderList": {
  11500. "description": "定价列表",
  11501. "type": "array",
  11502. "items": {
  11503. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11504. }
  11505. },
  11506. "unitname": {
  11507. "description": "单位名称",
  11508. "type": "string"
  11509. },
  11510. "warehouseid": {
  11511. "description": "仓库ID",
  11512. "type": "integer"
  11513. },
  11514. "warehousename": {
  11515. "description": "仓库名称",
  11516. "type": "string"
  11517. },
  11518. "wrstandardid": {
  11519. "description": "交易标的ID",
  11520. "type": "integer"
  11521. },
  11522. "wrstandardname": {
  11523. "description": "交易标的名称",
  11524. "type": "string"
  11525. }
  11526. }
  11527. },
  11528. "erms3.SpotPointOrder": {
  11529. "type": "object",
  11530. "required": [
  11531. "basic",
  11532. "goodsid",
  11533. "qty"
  11534. ],
  11535. "properties": {
  11536. "basic": {
  11537. "description": "基差",
  11538. "type": "number"
  11539. },
  11540. "deliveryenddate": {
  11541. "description": "交收结束日期",
  11542. "type": "string"
  11543. },
  11544. "deliverystartdate": {
  11545. "description": "交收开始日期",
  11546. "type": "string"
  11547. },
  11548. "enddate": {
  11549. "description": "点价结束日期",
  11550. "type": "string"
  11551. },
  11552. "goodsid": {
  11553. "description": "商品ID",
  11554. "type": "integer"
  11555. },
  11556. "goodsname": {
  11557. "description": "商品名称",
  11558. "type": "string"
  11559. },
  11560. "qty": {
  11561. "description": "数量",
  11562. "type": "number"
  11563. },
  11564. "startdate": {
  11565. "description": "点价开始日期",
  11566. "type": "string"
  11567. }
  11568. }
  11569. },
  11570. "erms3.SpotPriceOrder": {
  11571. "type": "object",
  11572. "required": [
  11573. "amount",
  11574. "price",
  11575. "qty"
  11576. ],
  11577. "properties": {
  11578. "amount": {
  11579. "description": "金额",
  11580. "type": "number"
  11581. },
  11582. "deliveryenddate": {
  11583. "description": "交收结束日期",
  11584. "type": "string"
  11585. },
  11586. "deliverystartdate": {
  11587. "description": "交收开始日期",
  11588. "type": "string"
  11589. },
  11590. "price": {
  11591. "description": "价格",
  11592. "type": "number"
  11593. },
  11594. "qty": {
  11595. "description": "数量",
  11596. "type": "number"
  11597. }
  11598. }
  11599. },
  11600. "hsby.GetHsbyMyCountRsp": {
  11601. "type": "object",
  11602. "properties": {
  11603. "myCouponCount": {
  11604. "description": "我的优惠卷数量",
  11605. "type": "integer"
  11606. },
  11607. "myOrderDetailListingCount": {
  11608. "description": "我的订单求购中数量",
  11609. "type": "integer"
  11610. },
  11611. "myOrderDetailPreCount": {
  11612. "description": "我的订单抢购中数量",
  11613. "type": "integer"
  11614. },
  11615. "myPackageUnReceiveCount": {
  11616. "description": "我的包裹待收货数量",
  11617. "type": "integer"
  11618. },
  11619. "myPackageUnSendCount": {
  11620. "description": "我的包裹待发货数量",
  11621. "type": "integer"
  11622. },
  11623. "myPayOrderCount": {
  11624. "description": "我的订单待付款数量",
  11625. "type": "integer"
  11626. }
  11627. }
  11628. },
  11629. "hsby.QueryProvincesAndCitiesRsp": {
  11630. "type": "object",
  11631. "properties": {
  11632. "cities": {
  11633. "description": "市",
  11634. "type": "array",
  11635. "items": {
  11636. "$ref": "#/definitions/models.Division"
  11637. }
  11638. },
  11639. "province": {
  11640. "description": "省",
  11641. "$ref": "#/definitions/models.Division"
  11642. }
  11643. }
  11644. },
  11645. "models.Clientfixedadconfig": {
  11646. "type": "object",
  11647. "required": [
  11648. "adsort",
  11649. "adtype"
  11650. ],
  11651. "properties": {
  11652. "adsort": {
  11653. "description": "排序",
  11654. "type": "integer"
  11655. },
  11656. "adtype": {
  11657. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11658. "type": "integer"
  11659. },
  11660. "areauserid": {
  11661. "description": "所属机构ID",
  11662. "type": "integer"
  11663. },
  11664. "createdate": {
  11665. "description": "创建时间",
  11666. "type": "string"
  11667. },
  11668. "creatorid": {
  11669. "description": "创建人",
  11670. "type": "integer"
  11671. },
  11672. "imagepath": {
  11673. "description": "图片",
  11674. "type": "string"
  11675. },
  11676. "isshow": {
  11677. "description": "是否展示 - 0:不展示 1:展示",
  11678. "type": "integer"
  11679. },
  11680. "modifierid": {
  11681. "description": "操作人",
  11682. "type": "integer"
  11683. },
  11684. "recsize": {
  11685. "description": "推荐尺寸",
  11686. "type": "string"
  11687. },
  11688. "title": {
  11689. "description": "标题",
  11690. "type": "string"
  11691. },
  11692. "updatedate": {
  11693. "description": "更新时间",
  11694. "type": "string"
  11695. },
  11696. "urlcontent": {
  11697. "description": "链接(地址或商品ID)",
  11698. "type": "string"
  11699. },
  11700. "urltype": {
  11701. "description": "链接类型 - 1:直接地址 2:商品ID",
  11702. "type": "integer"
  11703. }
  11704. }
  11705. },
  11706. "models.Division": {
  11707. "type": "object",
  11708. "required": [
  11709. "autoid",
  11710. "divisioncode"
  11711. ],
  11712. "properties": {
  11713. "autoid": {
  11714. "description": "自增ID",
  11715. "type": "integer"
  11716. },
  11717. "divisioncode": {
  11718. "description": "行政代码",
  11719. "type": "string"
  11720. },
  11721. "divisionlevel": {
  11722. "description": "行政级别",
  11723. "type": "string"
  11724. },
  11725. "divisionname": {
  11726. "description": "行政名称",
  11727. "type": "string"
  11728. },
  11729. "modifierid": {
  11730. "description": "修改人",
  11731. "type": "integer"
  11732. },
  11733. "modifytime": {
  11734. "description": "修改时间",
  11735. "type": "string"
  11736. },
  11737. "parentcode": {
  11738. "description": "上级行政代码",
  11739. "type": "string"
  11740. },
  11741. "pathname": {
  11742. "description": "路径名称",
  11743. "type": "string"
  11744. },
  11745. "postcode": {
  11746. "description": "邮政编码",
  11747. "type": "string"
  11748. },
  11749. "separablename": {
  11750. "description": "可拆分的全称",
  11751. "type": "string"
  11752. },
  11753. "shortcode": {
  11754. "description": "地区简码",
  11755. "type": "string"
  11756. }
  11757. }
  11758. },
  11759. "models.Enumdicitem": {
  11760. "type": "object",
  11761. "required": [
  11762. "autoid",
  11763. "enumdiccode",
  11764. "enumdicid",
  11765. "enumitemname"
  11766. ],
  11767. "properties": {
  11768. "autoid": {
  11769. "description": "自增ID",
  11770. "type": "integer"
  11771. },
  11772. "bankmappedvalue": {
  11773. "description": "银行服务对应值",
  11774. "type": "string"
  11775. },
  11776. "enumdiccode": {
  11777. "description": "所属枚举代码",
  11778. "type": "string"
  11779. },
  11780. "enumdicid": {
  11781. "description": "所属枚举ID",
  11782. "type": "integer"
  11783. },
  11784. "enumdicname": {
  11785. "description": "枚举项名称",
  11786. "type": "string"
  11787. },
  11788. "enumitemname": {
  11789. "description": "枚举项值",
  11790. "type": "integer"
  11791. },
  11792. "enumitemstatus": {
  11793. "description": "枚举项状态 - 1.启用 2.不启用",
  11794. "type": "integer"
  11795. },
  11796. "enumitemvalue": {
  11797. "description": "通用值 - [币种通用简写]",
  11798. "type": "string"
  11799. },
  11800. "param1": {
  11801. "description": "参数1[币种:币种小数位]",
  11802. "type": "string"
  11803. },
  11804. "param2": {
  11805. "description": "参数1[币种:币种显示单位]",
  11806. "type": "string"
  11807. },
  11808. "remark": {
  11809. "description": "备注",
  11810. "type": "string"
  11811. }
  11812. }
  11813. },
  11814. "models.ErmcpHisExposure": {
  11815. "type": "object",
  11816. "properties": {
  11817. "needhedgeexposoure": {
  11818. "description": "应套保敞口",
  11819. "type": "number"
  11820. },
  11821. "reckondate": {
  11822. "description": "日照时期(yyyyMMdd)",
  11823. "type": "string"
  11824. },
  11825. "totalexposure": {
  11826. "description": "总敞口",
  11827. "type": "number"
  11828. }
  11829. }
  11830. },
  11831. "models.ErmcpMiddleGoodsModel": {
  11832. "type": "object",
  11833. "properties": {
  11834. "areauserid": {
  11835. "description": "机构用户ID",
  11836. "type": "integer"
  11837. },
  11838. "enumdicname": {
  11839. "description": "单位名称",
  11840. "type": "string"
  11841. },
  11842. "evaluateratio": {
  11843. "description": "估价系数",
  11844. "type": "number"
  11845. },
  11846. "goodsgroupid": {
  11847. "description": "关联期货品种ID",
  11848. "type": "integer"
  11849. },
  11850. "isvalid": {
  11851. "description": "状态 0-无效(停用) 1-有效(正常)",
  11852. "type": "integer"
  11853. },
  11854. "middlegoodscode": {
  11855. "description": "套保品种代码",
  11856. "type": "string"
  11857. },
  11858. "middlegoodsid": {
  11859. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11860. "type": "integer"
  11861. },
  11862. "middlegoodsname": {
  11863. "description": "套保品种名称",
  11864. "type": "string"
  11865. },
  11866. "modifytime": {
  11867. "description": "修改时间",
  11868. "type": "string"
  11869. },
  11870. "needhedgeratio": {
  11871. "description": "套保比率",
  11872. "type": "number"
  11873. },
  11874. "qtydecimalplace": {
  11875. "description": "数量小数位",
  11876. "type": "integer"
  11877. },
  11878. "relatedgoodsid": {
  11879. "description": "关联交易商品ID",
  11880. "type": "integer"
  11881. },
  11882. "relatedgoodstype": {
  11883. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11884. "type": "integer"
  11885. }
  11886. }
  11887. },
  11888. "models.ErmcpReportDayFR": {
  11889. "type": "object",
  11890. "properties": {
  11891. "areauserid": {
  11892. "description": "所属机构",
  11893. "type": "integer"
  11894. },
  11895. "collectinvoiceamount": {
  11896. "description": "今日开票金额",
  11897. "type": "number"
  11898. },
  11899. "collectinvoicecount": {
  11900. "description": "今日开票笔数",
  11901. "type": "integer"
  11902. },
  11903. "collectmoneyamount": {
  11904. "description": "今日收款金额",
  11905. "type": "number"
  11906. },
  11907. "collectmoneycount": {
  11908. "description": "今日收款笔数",
  11909. "type": "integer"
  11910. },
  11911. "payinvoiceamount": {
  11912. "description": "今日收票金额",
  11913. "type": "number"
  11914. },
  11915. "payinvoicecount": {
  11916. "description": "今日收票笔数",
  11917. "type": "integer"
  11918. },
  11919. "paymoneyamount": {
  11920. "description": "今日付款金额",
  11921. "type": "number"
  11922. },
  11923. "paymoneycount": {
  11924. "description": "今日付款笔数",
  11925. "type": "integer"
  11926. },
  11927. "reckondate": {
  11928. "description": "日照时期(yyyyMMdd)",
  11929. "type": "string"
  11930. },
  11931. "updatetime": {
  11932. "description": "更新时间",
  11933. "type": "string"
  11934. }
  11935. }
  11936. },
  11937. "models.ErmcpWrstandard": {
  11938. "type": "object",
  11939. "properties": {
  11940. "areauserid": {
  11941. "description": "所属机构",
  11942. "type": "integer"
  11943. },
  11944. "createtime": {
  11945. "description": "创建时间",
  11946. "type": "string"
  11947. },
  11948. "creatorid": {
  11949. "description": "创建人",
  11950. "type": "integer"
  11951. },
  11952. "deliverygoodsid": {
  11953. "description": "品种ID",
  11954. "type": "integer"
  11955. },
  11956. "enumdicname": {
  11957. "description": "单位名称",
  11958. "type": "string"
  11959. },
  11960. "isvalid": {
  11961. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11962. "type": "integer"
  11963. },
  11964. "minivalue": {
  11965. "description": "最小变动值",
  11966. "type": "integer"
  11967. },
  11968. "minivaluedp": {
  11969. "description": "最小变动值小数位",
  11970. "type": "integer"
  11971. },
  11972. "realminivalue": {
  11973. "description": "实际最小变动值",
  11974. "type": "integer"
  11975. },
  11976. "realminivaluedp": {
  11977. "description": "实际最小变动值小数位",
  11978. "type": "integer"
  11979. },
  11980. "remark": {
  11981. "description": "备注",
  11982. "type": "string"
  11983. },
  11984. "unitid": {
  11985. "description": "单位ID",
  11986. "type": "integer"
  11987. },
  11988. "updatetime": {
  11989. "description": "更新时间",
  11990. "type": "string"
  11991. },
  11992. "wrstandardcode": {
  11993. "description": "现货商品代码",
  11994. "type": "string"
  11995. },
  11996. "wrstandardid": {
  11997. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11998. "type": "integer"
  11999. },
  12000. "wrstandardname": {
  12001. "description": "现货商品名称",
  12002. "type": "string"
  12003. }
  12004. }
  12005. },
  12006. "models.Goods": {
  12007. "type": "object",
  12008. "required": [
  12009. "goodscode",
  12010. "goodsid",
  12011. "goodsname",
  12012. "marketid"
  12013. ],
  12014. "properties": {
  12015. "agreeunit": {
  12016. "description": "合约单位",
  12017. "type": "number"
  12018. },
  12019. "auditaccountid": {
  12020. "description": "审核操作员账号",
  12021. "type": "integer"
  12022. },
  12023. "audittime": {
  12024. "description": "审核时间",
  12025. "type": "string"
  12026. },
  12027. "cancelaccountid": {
  12028. "description": "注销操作员账号",
  12029. "type": "integer"
  12030. },
  12031. "canceltime": {
  12032. "description": "注销时间",
  12033. "type": "string"
  12034. },
  12035. "closepricemode": {
  12036. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12037. "type": "integer"
  12038. },
  12039. "closepriceparam": {
  12040. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12041. "type": "number"
  12042. },
  12043. "createtime": {
  12044. "description": "创建时间",
  12045. "type": "string"
  12046. },
  12047. "creatorid": {
  12048. "description": "创建人",
  12049. "type": "integer"
  12050. },
  12051. "currencyid": {
  12052. "description": "报价货币ID",
  12053. "type": "integer"
  12054. },
  12055. "cutmode": {
  12056. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12057. "type": "integer"
  12058. },
  12059. "decimalplace": {
  12060. "description": "报价小数位",
  12061. "type": "integer"
  12062. },
  12063. "delistingdate": {
  12064. "description": "商品退市时间(状态:退市) -- 已作废",
  12065. "type": "string"
  12066. },
  12067. "delistingmode": {
  12068. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12069. "type": "integer"
  12070. },
  12071. "deliveryflag": {
  12072. "description": "交割标志 - 0:不可交割 1:可交割",
  12073. "type": "integer"
  12074. },
  12075. "forceclosemode": {
  12076. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12077. "type": "integer"
  12078. },
  12079. "forceclosevalue": {
  12080. "description": "定期强平参数 [收益权]",
  12081. "type": "integer"
  12082. },
  12083. "goodscode": {
  12084. "description": "商品代码(内部)",
  12085. "type": "string"
  12086. },
  12087. "goodscurrencyid": {
  12088. "description": "合约货币ID",
  12089. "type": "integer"
  12090. },
  12091. "goodsgroupid": {
  12092. "description": "所属商品组ID",
  12093. "type": "integer"
  12094. },
  12095. "goodsid": {
  12096. "description": "商品ID(自增ID SEQ_GOODS)",
  12097. "type": "integer"
  12098. },
  12099. "goodsname": {
  12100. "description": "商品名称",
  12101. "type": "string"
  12102. },
  12103. "goodsquotetype": {
  12104. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12105. "type": "integer"
  12106. },
  12107. "goodsstatus": {
  12108. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12109. "type": "integer"
  12110. },
  12111. "goodstradetype": {
  12112. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12113. "type": "integer"
  12114. },
  12115. "goodunitid": {
  12116. "description": "报价单位ID",
  12117. "type": "integer"
  12118. },
  12119. "hasquoter": {
  12120. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12121. "type": "integer"
  12122. },
  12123. "hqprotecttime": {
  12124. "description": "行情保护时间(秒)",
  12125. "type": "integer"
  12126. },
  12127. "innerdealmode": {
  12128. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12129. "type": "integer"
  12130. },
  12131. "isbuylimited": {
  12132. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12133. "type": "integer"
  12134. },
  12135. "lasttradedate": {
  12136. "description": "最后交易日期(状态:待退市)",
  12137. "type": "string"
  12138. },
  12139. "listingdate": {
  12140. "description": "交易开始日期",
  12141. "type": "string"
  12142. },
  12143. "marketid": {
  12144. "description": "所属市场ID",
  12145. "type": "integer"
  12146. },
  12147. "modifierid": {
  12148. "description": "修改人",
  12149. "type": "integer"
  12150. },
  12151. "modifystatus": {
  12152. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12153. "type": "integer"
  12154. },
  12155. "modifytime": {
  12156. "description": "修改时间",
  12157. "type": "string"
  12158. },
  12159. "outerdealmode": {
  12160. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12161. "type": "integer"
  12162. },
  12163. "outgoodscode": {
  12164. "description": "商品代码(外部)",
  12165. "type": "string"
  12166. },
  12167. "qtydecimalplace": {
  12168. "description": "成交量小数位",
  12169. "type": "integer"
  12170. },
  12171. "quotegear": {
  12172. "description": "行情档位(1-10)",
  12173. "type": "integer"
  12174. },
  12175. "quoteminunit": {
  12176. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12177. "type": "integer"
  12178. },
  12179. "quoteshowtype": {
  12180. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12181. "type": "integer"
  12182. },
  12183. "quoteshowtypeinterval": {
  12184. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12185. "type": "integer"
  12186. },
  12187. "remark": {
  12188. "description": "备注",
  12189. "type": "string"
  12190. }
  12191. }
  12192. },
  12193. "models.GoodsBrand": {
  12194. "type": "object",
  12195. "properties": {
  12196. "brandid": {
  12197. "description": "品牌ID",
  12198. "type": "integer"
  12199. },
  12200. "brandname": {
  12201. "description": "品牌名称",
  12202. "type": "string"
  12203. },
  12204. "isvalid": {
  12205. "description": "是否有效 - 0:无效 1:有效",
  12206. "type": "integer"
  12207. }
  12208. }
  12209. },
  12210. "models.GoodsGroupConvert": {
  12211. "type": "object",
  12212. "properties": {
  12213. "convertratio": {
  12214. "description": "折算系数",
  12215. "type": "number"
  12216. },
  12217. "dstgoodsgroupid": {
  12218. "description": "目标期货品种ID",
  12219. "type": "integer"
  12220. },
  12221. "goodsgroupname": {
  12222. "description": "期货品种名称",
  12223. "type": "string"
  12224. },
  12225. "outergroupcode": {
  12226. "description": "期货品种代码",
  12227. "type": "string"
  12228. },
  12229. "srcgoodsgroupid": {
  12230. "description": "源期货品种ID",
  12231. "type": "integer"
  12232. }
  12233. }
  12234. },
  12235. "models.GoodsIDAndName": {
  12236. "type": "object",
  12237. "required": [
  12238. "goodscode",
  12239. "goodsid",
  12240. "goodsname",
  12241. "marketid"
  12242. ],
  12243. "properties": {
  12244. "goodscode": {
  12245. "description": "商品代码(内部)",
  12246. "type": "string"
  12247. },
  12248. "goodsid": {
  12249. "description": "商品ID(自增ID SEQ_GOODS)",
  12250. "type": "integer"
  12251. },
  12252. "goodsname": {
  12253. "description": "商品名称",
  12254. "type": "string"
  12255. },
  12256. "marketid": {
  12257. "description": "所属市场ID",
  12258. "type": "integer"
  12259. }
  12260. }
  12261. },
  12262. "models.GoodsTypeModel": {
  12263. "type": "object",
  12264. "properties": {
  12265. "modelid": {
  12266. "description": "型号ID",
  12267. "type": "integer"
  12268. },
  12269. "modelname": {
  12270. "description": "型号名称",
  12271. "type": "string"
  12272. },
  12273. "updatetime": {
  12274. "description": "更新时间",
  12275. "type": "string"
  12276. }
  12277. }
  12278. },
  12279. "models.HsbyBuyMyPayOrder": {
  12280. "type": "object",
  12281. "required": [
  12282. "goodscode",
  12283. "goodsname",
  12284. "tradeid",
  12285. "trademode"
  12286. ],
  12287. "properties": {
  12288. "agreeunit": {
  12289. "description": "合约单位",
  12290. "type": "number"
  12291. },
  12292. "buyaccountid": {
  12293. "description": "买方账号ID[报价币种]",
  12294. "type": "integer"
  12295. },
  12296. "buyorderid": {
  12297. "description": "买方委托单号",
  12298. "type": "string"
  12299. },
  12300. "createtime": {
  12301. "description": "创建时间",
  12302. "type": "string"
  12303. },
  12304. "currencysign": {
  12305. "description": "货币符号",
  12306. "type": "string"
  12307. },
  12308. "decimalplace": {
  12309. "description": "报价小数位",
  12310. "type": "integer"
  12311. },
  12312. "goodscode": {
  12313. "description": "商品代码(内部)",
  12314. "type": "string"
  12315. },
  12316. "goodsid": {
  12317. "description": "商品ID",
  12318. "type": "integer"
  12319. },
  12320. "goodsname": {
  12321. "description": "商品名称",
  12322. "type": "string"
  12323. },
  12324. "marketid": {
  12325. "description": "市场ID",
  12326. "type": "integer"
  12327. },
  12328. "offamount": {
  12329. "description": "优惠金额",
  12330. "type": "number"
  12331. },
  12332. "payamount": {
  12333. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12334. "type": "number"
  12335. },
  12336. "payflag": {
  12337. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12338. "type": "integer"
  12339. },
  12340. "paylimitedtime": {
  12341. "description": "支付期限",
  12342. "type": "string"
  12343. },
  12344. "paytime": {
  12345. "description": "付款时间",
  12346. "type": "string"
  12347. },
  12348. "picurls1": {
  12349. "description": "预售商品介绍图片[多张用逗号分隔]",
  12350. "type": "string"
  12351. },
  12352. "picurls2": {
  12353. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12354. "type": "string"
  12355. },
  12356. "sellaccountid": {
  12357. "description": "卖方账号ID[报价币种]",
  12358. "type": "integer"
  12359. },
  12360. "sellorderid": {
  12361. "description": "卖方委托单号",
  12362. "type": "string"
  12363. },
  12364. "tradeamount": {
  12365. "description": "成交金额",
  12366. "type": "number"
  12367. },
  12368. "tradecharge": {
  12369. "description": "成交手续费(买方)",
  12370. "type": "number"
  12371. },
  12372. "tradedate": {
  12373. "description": "交易日(yyyyMMdd)",
  12374. "type": "string"
  12375. },
  12376. "tradeid": {
  12377. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12378. "type": "string"
  12379. },
  12380. "trademode": {
  12381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12382. "type": "integer"
  12383. },
  12384. "tradeprice": {
  12385. "description": "成交价格",
  12386. "type": "number"
  12387. },
  12388. "tradeqty": {
  12389. "description": "成交数量",
  12390. "type": "integer"
  12391. },
  12392. "vendorname1": {
  12393. "description": "预售商品供应商名称",
  12394. "type": "string"
  12395. },
  12396. "vendorname2": {
  12397. "description": "挂牌商品供应商名称",
  12398. "type": "string"
  12399. }
  12400. }
  12401. },
  12402. "models.HsbyBuyMyTradeDetail": {
  12403. "type": "object",
  12404. "required": [
  12405. "accountid",
  12406. "buyorsell",
  12407. "goodscode",
  12408. "goodsid",
  12409. "goodsname",
  12410. "marketid",
  12411. "orderid",
  12412. "qty",
  12413. "time",
  12414. "trademode"
  12415. ],
  12416. "properties": {
  12417. "accountid": {
  12418. "description": "账户ID[报价币种]",
  12419. "type": "integer"
  12420. },
  12421. "agreeunit": {
  12422. "description": "合约单位",
  12423. "type": "number"
  12424. },
  12425. "amount": {
  12426. "description": "金额 = 价格 * 数量 * 合约单位",
  12427. "type": "number"
  12428. },
  12429. "buyorsell": {
  12430. "description": "买卖 - 0:买 1:卖",
  12431. "type": "integer"
  12432. },
  12433. "currencysign": {
  12434. "description": "货币符号",
  12435. "type": "string"
  12436. },
  12437. "decimalplace": {
  12438. "description": "报价小数位",
  12439. "type": "integer"
  12440. },
  12441. "goodscode": {
  12442. "description": "商品代码(内部)",
  12443. "type": "string"
  12444. },
  12445. "goodsid": {
  12446. "description": "商品ID",
  12447. "type": "integer"
  12448. },
  12449. "goodsname": {
  12450. "description": "商品名称",
  12451. "type": "string"
  12452. },
  12453. "marketid": {
  12454. "description": "市场ID",
  12455. "type": "integer"
  12456. },
  12457. "orderid": {
  12458. "description": "单号(成交单号)",
  12459. "type": "string"
  12460. },
  12461. "picurls1": {
  12462. "description": "预售商品介绍图片[多张用逗号分隔]",
  12463. "type": "string"
  12464. },
  12465. "picurls2": {
  12466. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12467. "type": "string"
  12468. },
  12469. "price": {
  12470. "description": "价格",
  12471. "type": "number"
  12472. },
  12473. "qty": {
  12474. "description": "数量",
  12475. "type": "integer"
  12476. },
  12477. "time": {
  12478. "description": "时间",
  12479. "type": "string"
  12480. },
  12481. "trademode": {
  12482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12483. "type": "integer"
  12484. },
  12485. "vendorname1": {
  12486. "description": "预售商品供应商名称",
  12487. "type": "string"
  12488. },
  12489. "vendorname2": {
  12490. "description": "挂牌商品供应商名称",
  12491. "type": "string"
  12492. }
  12493. }
  12494. },
  12495. "models.HsbyGoodsOrderDetail": {
  12496. "type": "object",
  12497. "required": [
  12498. "buyorsell",
  12499. "orderid",
  12500. "ordertime"
  12501. ],
  12502. "properties": {
  12503. "buyorsell": {
  12504. "description": "买卖 - 0:买 1:卖",
  12505. "type": "integer"
  12506. },
  12507. "currencysign": {
  12508. "description": "货币符号",
  12509. "type": "string"
  12510. },
  12511. "customername": {
  12512. "description": "客户名称(企业名称),已脱敏",
  12513. "type": "string"
  12514. },
  12515. "enableqty": {
  12516. "description": "可用数量",
  12517. "type": "integer"
  12518. },
  12519. "goodunit": {
  12520. "description": "报价单位",
  12521. "type": "string"
  12522. },
  12523. "orderid": {
  12524. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12525. "type": "string"
  12526. },
  12527. "orderprice": {
  12528. "description": "委托价格",
  12529. "type": "number"
  12530. },
  12531. "ordertime": {
  12532. "description": "委托时间",
  12533. "type": "string"
  12534. }
  12535. }
  12536. },
  12537. "models.HsbyListingGoodsDetail": {
  12538. "type": "object",
  12539. "required": [
  12540. "goodscode",
  12541. "goodsid",
  12542. "goodsname",
  12543. "marketid",
  12544. "trademode"
  12545. ],
  12546. "properties": {
  12547. "agreeunit": {
  12548. "description": "合约单位",
  12549. "type": "number"
  12550. },
  12551. "buymaxqty": {
  12552. "description": "购买上限 [71] - 0为不限",
  12553. "type": "integer"
  12554. },
  12555. "currency": {
  12556. "description": "货币",
  12557. "type": "string"
  12558. },
  12559. "currencysign": {
  12560. "description": "货币符号",
  12561. "type": "string"
  12562. },
  12563. "decimalplace": {
  12564. "description": "报价小数位",
  12565. "type": "integer"
  12566. },
  12567. "desccityid": {
  12568. "description": "目的地(市)ID",
  12569. "type": "integer"
  12570. },
  12571. "descprovinceid": {
  12572. "description": "目的地(省)ID",
  12573. "type": "integer"
  12574. },
  12575. "goodscode": {
  12576. "description": "商品代码(内部)",
  12577. "type": "string"
  12578. },
  12579. "goodsdesc": {
  12580. "description": "商品详情",
  12581. "type": "string"
  12582. },
  12583. "goodsid": {
  12584. "description": "商品ID(自增ID SEQ_GOODS)",
  12585. "type": "integer"
  12586. },
  12587. "goodsname": {
  12588. "description": "商品名称",
  12589. "type": "string"
  12590. },
  12591. "goodsprice": {
  12592. "description": "商品价格",
  12593. "type": "number"
  12594. },
  12595. "hotindex": {
  12596. "description": "景点热度",
  12597. "type": "integer"
  12598. },
  12599. "last": {
  12600. "description": "现价",
  12601. "type": "number"
  12602. },
  12603. "limitdown": {
  12604. "description": "跌停价",
  12605. "type": "number"
  12606. },
  12607. "limitup": {
  12608. "description": "涨停价",
  12609. "type": "number"
  12610. },
  12611. "lotsize": {
  12612. "description": "手数最小变动单位",
  12613. "type": "integer"
  12614. },
  12615. "marketid": {
  12616. "description": "所属市场ID",
  12617. "type": "integer"
  12618. },
  12619. "picurls": {
  12620. "description": "介绍图片[多张用逗号分隔]",
  12621. "type": "string"
  12622. },
  12623. "quoteminunit": {
  12624. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12625. "type": "integer"
  12626. },
  12627. "stepvalue": {
  12628. "description": "价格最小变动单位",
  12629. "type": "number"
  12630. },
  12631. "trademode": {
  12632. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12633. "type": "integer"
  12634. },
  12635. "vendorattr": {
  12636. "description": "供应商附件(多张,逗号分隔)",
  12637. "type": "string"
  12638. },
  12639. "vendorname": {
  12640. "description": "供应商名称",
  12641. "type": "string"
  12642. },
  12643. "vendorphone": {
  12644. "description": "供应商客服电话",
  12645. "type": "string"
  12646. },
  12647. "videourls": {
  12648. "description": "介绍视频[多张用逗号分隔]",
  12649. "type": "string"
  12650. }
  12651. }
  12652. },
  12653. "models.HsbyMarketGoods": {
  12654. "type": "object",
  12655. "required": [
  12656. "accountid",
  12657. "buyorsell",
  12658. "goodscode",
  12659. "goodsid",
  12660. "goodsname",
  12661. "marketid",
  12662. "orderid",
  12663. "trademode"
  12664. ],
  12665. "properties": {
  12666. "accountid": {
  12667. "description": "账户ID[报价币种]",
  12668. "type": "integer"
  12669. },
  12670. "agreeunit": {
  12671. "description": "合约单位",
  12672. "type": "number"
  12673. },
  12674. "buyorsell": {
  12675. "description": "买卖 - 0:买 1:卖",
  12676. "type": "integer"
  12677. },
  12678. "categoryid": {
  12679. "description": "类别ID(WRCATEGORY)",
  12680. "type": "integer"
  12681. },
  12682. "currency": {
  12683. "description": "货币",
  12684. "type": "string"
  12685. },
  12686. "currencysign": {
  12687. "description": "货币符号",
  12688. "type": "string"
  12689. },
  12690. "customername": {
  12691. "description": "卖家名称",
  12692. "type": "string"
  12693. },
  12694. "decimalplace": {
  12695. "description": "报价小数位",
  12696. "type": "integer"
  12697. },
  12698. "goodscode": {
  12699. "description": "商品代码(内部)",
  12700. "type": "string"
  12701. },
  12702. "goodsid": {
  12703. "description": "商品ID",
  12704. "type": "integer"
  12705. },
  12706. "goodsname": {
  12707. "description": "商品名称",
  12708. "type": "string"
  12709. },
  12710. "goodsprice": {
  12711. "description": "商品价格",
  12712. "type": "number"
  12713. },
  12714. "hascoupon": {
  12715. "description": "是否可用优惠卷",
  12716. "type": "boolean"
  12717. },
  12718. "hotindex": {
  12719. "description": "景点热度",
  12720. "type": "integer"
  12721. },
  12722. "marketid": {
  12723. "description": "市场ID",
  12724. "type": "integer"
  12725. },
  12726. "orderid": {
  12727. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12728. "type": "string"
  12729. },
  12730. "orderprice": {
  12731. "description": "委托价格",
  12732. "type": "number"
  12733. },
  12734. "orderstatus": {
  12735. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12736. "type": "integer"
  12737. },
  12738. "picurls": {
  12739. "description": "介绍图片[多张用逗号分隔]",
  12740. "type": "string"
  12741. },
  12742. "quoteminunit": {
  12743. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12744. "type": "integer"
  12745. },
  12746. "sellUserID": {
  12747. "description": "卖方UserID",
  12748. "type": "integer"
  12749. },
  12750. "trademode": {
  12751. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12752. "type": "integer"
  12753. },
  12754. "videourls": {
  12755. "description": "介绍视频[多张用逗号分隔]",
  12756. "type": "string"
  12757. }
  12758. }
  12759. },
  12760. "models.HsbyMarketGoodsDetail": {
  12761. "type": "object",
  12762. "required": [
  12763. "accountid",
  12764. "buyorsell",
  12765. "goodscode",
  12766. "goodsid",
  12767. "goodsname",
  12768. "marketid",
  12769. "orderid",
  12770. "orderqty",
  12771. "trademode"
  12772. ],
  12773. "properties": {
  12774. "accountid": {
  12775. "description": "账户ID[报价币种]",
  12776. "type": "integer"
  12777. },
  12778. "agreeunit": {
  12779. "description": "合约单位",
  12780. "type": "number"
  12781. },
  12782. "buymaxqty": {
  12783. "description": "购买上限 [71] - 0为不限",
  12784. "type": "integer"
  12785. },
  12786. "buyorsell": {
  12787. "description": "买卖 - 0:买 1:卖",
  12788. "type": "integer"
  12789. },
  12790. "cancelqty": {
  12791. "description": "撤单数量",
  12792. "type": "integer"
  12793. },
  12794. "categoryid": {
  12795. "description": "类别ID(WRCATEGORY)",
  12796. "type": "integer"
  12797. },
  12798. "currency": {
  12799. "description": "货币",
  12800. "type": "string"
  12801. },
  12802. "currencysign": {
  12803. "description": "货币符号",
  12804. "type": "string"
  12805. },
  12806. "customername": {
  12807. "description": "卖家名称",
  12808. "type": "string"
  12809. },
  12810. "decimalplace": {
  12811. "description": "报价小数位",
  12812. "type": "integer"
  12813. },
  12814. "goodscode": {
  12815. "description": "商品代码(内部)",
  12816. "type": "string"
  12817. },
  12818. "goodsdesc": {
  12819. "description": "商品详情",
  12820. "type": "string"
  12821. },
  12822. "goodsid": {
  12823. "description": "商品ID",
  12824. "type": "integer"
  12825. },
  12826. "goodsname": {
  12827. "description": "商品名称",
  12828. "type": "string"
  12829. },
  12830. "goodsprice": {
  12831. "description": "商品价格",
  12832. "type": "number"
  12833. },
  12834. "hotindex": {
  12835. "description": "景点热度",
  12836. "type": "integer"
  12837. },
  12838. "lotsize": {
  12839. "description": "手数最小变动单位",
  12840. "type": "integer"
  12841. },
  12842. "marketid": {
  12843. "description": "市场ID",
  12844. "type": "integer"
  12845. },
  12846. "orderid": {
  12847. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12848. "type": "string"
  12849. },
  12850. "orderprice": {
  12851. "description": "委托价格",
  12852. "type": "number"
  12853. },
  12854. "orderqty": {
  12855. "description": "委托数量",
  12856. "type": "integer"
  12857. },
  12858. "orderstatus": {
  12859. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12860. "type": "integer"
  12861. },
  12862. "picurls": {
  12863. "description": "介绍图片[多张用逗号分隔]",
  12864. "type": "string"
  12865. },
  12866. "quoteminunit": {
  12867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12868. "type": "integer"
  12869. },
  12870. "sellUserID": {
  12871. "description": "卖方UserID",
  12872. "type": "integer"
  12873. },
  12874. "trademode": {
  12875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12876. "type": "integer"
  12877. },
  12878. "tradeqty": {
  12879. "description": "成交数量",
  12880. "type": "integer"
  12881. },
  12882. "vendorattr": {
  12883. "description": "供应商附件(多张,逗号分隔)",
  12884. "type": "string"
  12885. },
  12886. "vendorname": {
  12887. "description": "供应商名称",
  12888. "type": "string"
  12889. },
  12890. "vendorphone": {
  12891. "description": "供应商客服电话",
  12892. "type": "string"
  12893. },
  12894. "videourls": {
  12895. "description": "介绍视频[多张用逗号分隔]",
  12896. "type": "string"
  12897. }
  12898. }
  12899. },
  12900. "models.HsbyMarketInfo": {
  12901. "type": "object",
  12902. "required": [
  12903. "marketid",
  12904. "marketstatus",
  12905. "trademode"
  12906. ],
  12907. "properties": {
  12908. "marketid": {
  12909. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12910. "type": "integer"
  12911. },
  12912. "marketname": {
  12913. "description": "市场名称",
  12914. "type": "string"
  12915. },
  12916. "marketstatus": {
  12917. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12918. "type": "integer"
  12919. },
  12920. "trademode": {
  12921. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12922. "type": "integer"
  12923. }
  12924. }
  12925. },
  12926. "models.HsbyMyGoods": {
  12927. "type": "object",
  12928. "required": [
  12929. "accountid",
  12930. "goodscode",
  12931. "goodsid",
  12932. "goodsname",
  12933. "marketid",
  12934. "trademode"
  12935. ],
  12936. "properties": {
  12937. "accountid": {
  12938. "description": "账号Id",
  12939. "type": "integer"
  12940. },
  12941. "agreeunit": {
  12942. "description": "合约单位",
  12943. "type": "number"
  12944. },
  12945. "buyaverageprice": {
  12946. "description": "持仓均价",
  12947. "type": "number"
  12948. },
  12949. "buycurholderamount": {
  12950. "description": "买当前持仓总金额[商品币种]",
  12951. "type": "number"
  12952. },
  12953. "buycurpositionqty": {
  12954. "description": "买当前持仓总数量",
  12955. "type": "integer"
  12956. },
  12957. "buymaxqty": {
  12958. "description": "购买上限 [71] - 0为不限",
  12959. "type": "integer"
  12960. },
  12961. "currencysign": {
  12962. "description": "货币符号",
  12963. "type": "string"
  12964. },
  12965. "decimalplace": {
  12966. "description": "报价小数位",
  12967. "type": "integer"
  12968. },
  12969. "enableqty": {
  12970. "description": "可用数量",
  12971. "type": "integer"
  12972. },
  12973. "goodscode": {
  12974. "description": "商品代码(内部)",
  12975. "type": "string"
  12976. },
  12977. "goodsid": {
  12978. "description": "商品Id",
  12979. "type": "integer"
  12980. },
  12981. "goodsname": {
  12982. "description": "商品名称",
  12983. "type": "string"
  12984. },
  12985. "goodsprice": {
  12986. "description": "商品价格",
  12987. "type": "number"
  12988. },
  12989. "goodsstatus": {
  12990. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12991. "type": "integer"
  12992. },
  12993. "last": {
  12994. "description": "现价(仅使用于挂牌点选)",
  12995. "type": "number"
  12996. },
  12997. "limitdown": {
  12998. "description": "跌停价(仅使用于挂牌点选)",
  12999. "type": "number"
  13000. },
  13001. "limitup": {
  13002. "description": "涨停价(仅使用于挂牌点选)",
  13003. "type": "number"
  13004. },
  13005. "lotsize": {
  13006. "description": "手数最小变动单位",
  13007. "type": "integer"
  13008. },
  13009. "marketid": {
  13010. "description": "所属市场ID",
  13011. "type": "integer"
  13012. },
  13013. "picurls": {
  13014. "description": "介绍图片[多张用逗号分隔]",
  13015. "type": "string"
  13016. },
  13017. "quoteminunit": {
  13018. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13019. "type": "integer"
  13020. },
  13021. "stepvalue": {
  13022. "description": "价格最小变动单位",
  13023. "type": "number"
  13024. },
  13025. "trademode": {
  13026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13027. "type": "integer"
  13028. }
  13029. }
  13030. },
  13031. "models.HsbyMyPackage": {
  13032. "type": "object",
  13033. "required": [
  13034. "goodscode",
  13035. "goodsname",
  13036. "takeorderid",
  13037. "trademode"
  13038. ],
  13039. "properties": {
  13040. "accountid": {
  13041. "description": "账户ID",
  13042. "type": "integer"
  13043. },
  13044. "address": {
  13045. "description": "提货人详细地址",
  13046. "type": "string"
  13047. },
  13048. "agreeunit": {
  13049. "description": "合约单位",
  13050. "type": "number"
  13051. },
  13052. "amount": {
  13053. "description": "提货金额",
  13054. "type": "number"
  13055. },
  13056. "auditer": {
  13057. "description": "审核人",
  13058. "type": "integer"
  13059. },
  13060. "audittime": {
  13061. "description": "审核时间",
  13062. "type": "string"
  13063. },
  13064. "averageprice": {
  13065. "description": "均价",
  13066. "type": "number"
  13067. },
  13068. "cardnum": {
  13069. "description": "提货人证件号码",
  13070. "type": "string"
  13071. },
  13072. "cardtypeid": {
  13073. "description": "提货人证件类型",
  13074. "type": "integer"
  13075. },
  13076. "checkremark": {
  13077. "description": "审核备注",
  13078. "type": "string"
  13079. },
  13080. "currencysign": {
  13081. "description": "货币符号",
  13082. "type": "string"
  13083. },
  13084. "decimalplace": {
  13085. "description": "报价小数位",
  13086. "type": "integer"
  13087. },
  13088. "goodscode": {
  13089. "description": "商品代码(内部)",
  13090. "type": "string"
  13091. },
  13092. "goodsid": {
  13093. "description": "商品ID",
  13094. "type": "integer"
  13095. },
  13096. "goodsname": {
  13097. "description": "商品名称",
  13098. "type": "string"
  13099. },
  13100. "handlestatus": {
  13101. "description": "处理状态",
  13102. "type": "integer"
  13103. },
  13104. "marketid": {
  13105. "description": "市场ID",
  13106. "type": "integer"
  13107. },
  13108. "phonenum": {
  13109. "description": "提货人联系方式",
  13110. "type": "string"
  13111. },
  13112. "picurls": {
  13113. "description": "介绍图片[多张用逗号分隔]",
  13114. "type": "string"
  13115. },
  13116. "qty": {
  13117. "description": "提货数量",
  13118. "type": "number"
  13119. },
  13120. "recivername": {
  13121. "description": "提货人姓名",
  13122. "type": "string"
  13123. },
  13124. "reqtime": {
  13125. "description": "更新时间",
  13126. "type": "string"
  13127. },
  13128. "takemode": {
  13129. "description": "提货方式 - 2:自提 3:配送",
  13130. "type": "integer"
  13131. },
  13132. "takeorderid": {
  13133. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13134. "type": "string"
  13135. },
  13136. "takeorderstatus": {
  13137. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13138. "type": "integer"
  13139. },
  13140. "takeremark": {
  13141. "description": "提货备注",
  13142. "type": "string"
  13143. },
  13144. "tradedate": {
  13145. "description": "交易日(yyyyMMdd)",
  13146. "type": "string"
  13147. },
  13148. "trademode": {
  13149. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13150. "type": "integer"
  13151. },
  13152. "userid": {
  13153. "description": "用户ID",
  13154. "type": "integer"
  13155. },
  13156. "vendorname": {
  13157. "description": "供应商名称",
  13158. "type": "string"
  13159. }
  13160. }
  13161. },
  13162. "models.HsbyPreGoods": {
  13163. "type": "object",
  13164. "required": [
  13165. "goodscode",
  13166. "goodsid",
  13167. "goodsname",
  13168. "marketid",
  13169. "trademode"
  13170. ],
  13171. "properties": {
  13172. "agreeunit": {
  13173. "description": "合约单位",
  13174. "type": "number"
  13175. },
  13176. "currency": {
  13177. "description": "货币",
  13178. "type": "string"
  13179. },
  13180. "currencysign": {
  13181. "description": "货币符号",
  13182. "type": "string"
  13183. },
  13184. "decimalplace": {
  13185. "description": "报价小数位",
  13186. "type": "integer"
  13187. },
  13188. "desccityid": {
  13189. "description": "目的地(市)",
  13190. "type": "integer"
  13191. },
  13192. "descprovinceid": {
  13193. "description": "目的地(省)",
  13194. "type": "integer"
  13195. },
  13196. "enableqty": {
  13197. "description": "剩余数量",
  13198. "type": "integer"
  13199. },
  13200. "goodscode": {
  13201. "description": "商品代码(内部)",
  13202. "type": "string"
  13203. },
  13204. "goodsid": {
  13205. "description": "商品ID(自增ID SEQ_GOODS)",
  13206. "type": "integer"
  13207. },
  13208. "goodsname": {
  13209. "description": "商品名称",
  13210. "type": "string"
  13211. },
  13212. "goodsstatus": {
  13213. "description": "商品状态- 2:未上市 3:上市",
  13214. "type": "integer"
  13215. },
  13216. "lasttradedate": {
  13217. "description": "最后交易日期(状态:待退市)",
  13218. "type": "string"
  13219. },
  13220. "listingdate": {
  13221. "description": "交易开始日期",
  13222. "type": "string"
  13223. },
  13224. "marketid": {
  13225. "description": "所属市场ID",
  13226. "type": "integer"
  13227. },
  13228. "picurls": {
  13229. "description": "介绍图片[多张用逗号分隔]",
  13230. "type": "string"
  13231. },
  13232. "presaledqty": {
  13233. "description": "已预售量(预售结束时更新)",
  13234. "type": "integer"
  13235. },
  13236. "presaleqty": {
  13237. "description": "预售数量",
  13238. "type": "integer"
  13239. },
  13240. "quoteminunit": {
  13241. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13242. "type": "integer"
  13243. },
  13244. "refprice": {
  13245. "description": "参考价格[一口价]",
  13246. "type": "number"
  13247. },
  13248. "relatedgoodsid": {
  13249. "description": "关联交易合约ID",
  13250. "type": "integer"
  13251. },
  13252. "trademode": {
  13253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13254. "type": "integer"
  13255. },
  13256. "videourls": {
  13257. "description": "介绍视频[多张用逗号分隔]",
  13258. "type": "string"
  13259. }
  13260. }
  13261. },
  13262. "models.HsbyPreGoodsDetail": {
  13263. "type": "object",
  13264. "required": [
  13265. "goodscode",
  13266. "goodsid",
  13267. "goodsname",
  13268. "marketid",
  13269. "trademode"
  13270. ],
  13271. "properties": {
  13272. "agreeunit": {
  13273. "description": "合约单位",
  13274. "type": "number"
  13275. },
  13276. "buymaxqty": {
  13277. "description": "购买上限 [71] - 0为不限",
  13278. "type": "integer"
  13279. },
  13280. "currency": {
  13281. "description": "货币",
  13282. "type": "string"
  13283. },
  13284. "currencysign": {
  13285. "description": "货币符号",
  13286. "type": "string"
  13287. },
  13288. "customername": {
  13289. "description": "发行单位",
  13290. "type": "string"
  13291. },
  13292. "decimalplace": {
  13293. "description": "报价小数位",
  13294. "type": "integer"
  13295. },
  13296. "desccityid": {
  13297. "description": "目的地(市)ID",
  13298. "type": "integer"
  13299. },
  13300. "descprovinceid": {
  13301. "description": "目的地(省)ID",
  13302. "type": "integer"
  13303. },
  13304. "enableqty": {
  13305. "description": "剩余数量",
  13306. "type": "integer"
  13307. },
  13308. "goodscode": {
  13309. "description": "商品代码(内部)",
  13310. "type": "string"
  13311. },
  13312. "goodsdesc": {
  13313. "description": "商品详情",
  13314. "type": "string"
  13315. },
  13316. "goodsid": {
  13317. "description": "商品ID(自增ID SEQ_GOODS)",
  13318. "type": "integer"
  13319. },
  13320. "goodsname": {
  13321. "description": "商品名称",
  13322. "type": "string"
  13323. },
  13324. "goodsstatus": {
  13325. "description": "商品状态- 2:未上市 3:上市",
  13326. "type": "integer"
  13327. },
  13328. "goodunit": {
  13329. "description": "报价单位",
  13330. "type": "string"
  13331. },
  13332. "lasttradedate": {
  13333. "description": "最后交易日期(状态:待退市)",
  13334. "type": "string"
  13335. },
  13336. "listingdate": {
  13337. "description": "交易开始日期",
  13338. "type": "string"
  13339. },
  13340. "lotsize": {
  13341. "description": "手数最小变动单位",
  13342. "type": "integer"
  13343. },
  13344. "marketid": {
  13345. "description": "所属市场ID",
  13346. "type": "integer"
  13347. },
  13348. "picurls": {
  13349. "description": "介绍图片[多张用逗号分隔]",
  13350. "type": "string"
  13351. },
  13352. "presaledqty": {
  13353. "description": "已预售量(预售结束时更新)",
  13354. "type": "integer"
  13355. },
  13356. "presaleqty": {
  13357. "description": "预售数量",
  13358. "type": "integer"
  13359. },
  13360. "quoteminunit": {
  13361. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13362. "type": "integer"
  13363. },
  13364. "refprice": {
  13365. "description": "参考价格[一口价]",
  13366. "type": "number"
  13367. },
  13368. "relatedgoodsid": {
  13369. "description": "关联交易合约ID",
  13370. "type": "integer"
  13371. },
  13372. "stepvalue": {
  13373. "description": "价格最小变动单位",
  13374. "type": "number"
  13375. },
  13376. "trademode": {
  13377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13378. "type": "integer"
  13379. },
  13380. "vendorattr": {
  13381. "description": "供应商附件(多张,逗号分隔)",
  13382. "type": "string"
  13383. },
  13384. "vendorname": {
  13385. "description": "供应商名称",
  13386. "type": "string"
  13387. },
  13388. "vendorphone": {
  13389. "description": "供应商客服电话",
  13390. "type": "string"
  13391. },
  13392. "videourls": {
  13393. "description": "介绍视频[多张用逗号分隔]",
  13394. "type": "string"
  13395. }
  13396. }
  13397. },
  13398. "models.HsbySellCollectionOrder": {
  13399. "type": "object",
  13400. "required": [
  13401. "goodscode",
  13402. "goodsname",
  13403. "tradeid",
  13404. "trademode"
  13405. ],
  13406. "properties": {
  13407. "agreeunit": {
  13408. "description": "合约单位",
  13409. "type": "number"
  13410. },
  13411. "buyaccountid": {
  13412. "description": "买方账号ID[报价币种]",
  13413. "type": "integer"
  13414. },
  13415. "buyorderid": {
  13416. "description": "买方委托单号",
  13417. "type": "string"
  13418. },
  13419. "createtime": {
  13420. "description": "创建时间",
  13421. "type": "string"
  13422. },
  13423. "currencysign": {
  13424. "description": "货币符号",
  13425. "type": "string"
  13426. },
  13427. "decimalplace": {
  13428. "description": "报价小数位",
  13429. "type": "integer"
  13430. },
  13431. "goodscode": {
  13432. "description": "商品代码(内部)",
  13433. "type": "string"
  13434. },
  13435. "goodsid": {
  13436. "description": "商品ID",
  13437. "type": "integer"
  13438. },
  13439. "goodsname": {
  13440. "description": "商品名称",
  13441. "type": "string"
  13442. },
  13443. "marketid": {
  13444. "description": "市场ID",
  13445. "type": "integer"
  13446. },
  13447. "offamount": {
  13448. "description": "优惠金额",
  13449. "type": "number"
  13450. },
  13451. "payamount": {
  13452. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13453. "type": "number"
  13454. },
  13455. "payflag": {
  13456. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13457. "type": "integer"
  13458. },
  13459. "paylimitedtime": {
  13460. "description": "支付期限",
  13461. "type": "string"
  13462. },
  13463. "paytime": {
  13464. "description": "付款时间",
  13465. "type": "string"
  13466. },
  13467. "picurls": {
  13468. "description": "商品介绍图片[多张用逗号分隔]",
  13469. "type": "string"
  13470. },
  13471. "sellaccountid": {
  13472. "description": "卖方账号ID[报价币种]",
  13473. "type": "integer"
  13474. },
  13475. "sellorderid": {
  13476. "description": "卖方委托单号",
  13477. "type": "string"
  13478. },
  13479. "tradeamount": {
  13480. "description": "成交金额",
  13481. "type": "number"
  13482. },
  13483. "tradecharge": {
  13484. "description": "成交手续费(买方)",
  13485. "type": "number"
  13486. },
  13487. "tradedate": {
  13488. "description": "交易日(yyyyMMdd)",
  13489. "type": "string"
  13490. },
  13491. "tradeid": {
  13492. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13493. "type": "string"
  13494. },
  13495. "trademode": {
  13496. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13497. "type": "integer"
  13498. },
  13499. "tradeprice": {
  13500. "description": "成交价格",
  13501. "type": "number"
  13502. },
  13503. "tradeqty": {
  13504. "description": "成交数量",
  13505. "type": "integer"
  13506. }
  13507. }
  13508. },
  13509. "models.HsbySellMyDetail": {
  13510. "type": "object",
  13511. "required": [
  13512. "accountid",
  13513. "buyorsell",
  13514. "goodscode",
  13515. "goodsid",
  13516. "goodsname",
  13517. "marketid",
  13518. "orderid",
  13519. "time",
  13520. "trademode"
  13521. ],
  13522. "properties": {
  13523. "accountid": {
  13524. "description": "账户ID[报价币种]",
  13525. "type": "integer"
  13526. },
  13527. "agreeunit": {
  13528. "description": "合约单位",
  13529. "type": "number"
  13530. },
  13531. "buyorsell": {
  13532. "description": "买卖 - 0:买 1:卖",
  13533. "type": "integer"
  13534. },
  13535. "currencysign": {
  13536. "description": "货币符号",
  13537. "type": "string"
  13538. },
  13539. "decimalplace": {
  13540. "description": "报价小数位",
  13541. "type": "integer"
  13542. },
  13543. "goodscode": {
  13544. "description": "商品代码(内部)",
  13545. "type": "string"
  13546. },
  13547. "goodsid": {
  13548. "description": "商品ID",
  13549. "type": "integer"
  13550. },
  13551. "goodsname": {
  13552. "description": "商品名称",
  13553. "type": "string"
  13554. },
  13555. "marketid": {
  13556. "description": "市场ID",
  13557. "type": "integer"
  13558. },
  13559. "orderid": {
  13560. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13561. "type": "string"
  13562. },
  13563. "ordertype": {
  13564. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13565. "type": "integer"
  13566. },
  13567. "picurls": {
  13568. "description": "介绍图片[多张用逗号分隔]",
  13569. "type": "string"
  13570. },
  13571. "price": {
  13572. "description": "价格",
  13573. "type": "number"
  13574. },
  13575. "qty": {
  13576. "description": "数量",
  13577. "type": "integer"
  13578. },
  13579. "time": {
  13580. "description": "时间",
  13581. "type": "string"
  13582. },
  13583. "trademode": {
  13584. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13585. "type": "integer"
  13586. },
  13587. "vendorname": {
  13588. "description": "供应商名称",
  13589. "type": "string"
  13590. }
  13591. }
  13592. },
  13593. "models.HsbyTopGoods": {
  13594. "type": "object",
  13595. "required": [
  13596. "goodscode",
  13597. "goodsid",
  13598. "goodsname",
  13599. "marketid",
  13600. "trademode"
  13601. ],
  13602. "properties": {
  13603. "agreeunit": {
  13604. "description": "合约单位",
  13605. "type": "number"
  13606. },
  13607. "currency": {
  13608. "description": "货币",
  13609. "type": "string"
  13610. },
  13611. "currencysign": {
  13612. "description": "货币符号",
  13613. "type": "string"
  13614. },
  13615. "decimalplace": {
  13616. "description": "报价小数位",
  13617. "type": "integer"
  13618. },
  13619. "desccityid": {
  13620. "description": "目的地(市)",
  13621. "type": "integer"
  13622. },
  13623. "descprovinceid": {
  13624. "description": "目的地(省)",
  13625. "type": "integer"
  13626. },
  13627. "goodscode": {
  13628. "description": "商品代码(内部)",
  13629. "type": "string"
  13630. },
  13631. "goodsid": {
  13632. "description": "商品ID(自增ID SEQ_GOODS)",
  13633. "type": "integer"
  13634. },
  13635. "goodsname": {
  13636. "description": "商品名称",
  13637. "type": "string"
  13638. },
  13639. "hotindex": {
  13640. "description": "景点热度",
  13641. "type": "integer"
  13642. },
  13643. "last": {
  13644. "description": "现价",
  13645. "type": "number"
  13646. },
  13647. "marketid": {
  13648. "description": "所属市场ID",
  13649. "type": "integer"
  13650. },
  13651. "picurls": {
  13652. "description": "介绍图片[多张用逗号分隔]",
  13653. "type": "string"
  13654. },
  13655. "quoteminunit": {
  13656. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13657. "type": "integer"
  13658. },
  13659. "trademode": {
  13660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13661. "type": "integer"
  13662. },
  13663. "videourls": {
  13664. "description": "介绍视频[多张用逗号分隔]",
  13665. "type": "string"
  13666. }
  13667. }
  13668. },
  13669. "models.HybsMyBuyOrderDetail": {
  13670. "type": "object",
  13671. "required": [
  13672. "accountid",
  13673. "buyorsell",
  13674. "goodscode",
  13675. "goodsid",
  13676. "goodsname",
  13677. "marketid",
  13678. "orderid",
  13679. "orderqty",
  13680. "ordertime",
  13681. "trademode"
  13682. ],
  13683. "properties": {
  13684. "accountid": {
  13685. "description": "账户ID[报价币种]",
  13686. "type": "integer"
  13687. },
  13688. "agreeunit": {
  13689. "description": "合约单位",
  13690. "type": "number"
  13691. },
  13692. "buyorsell": {
  13693. "description": "买卖 - 0:买 1:卖",
  13694. "type": "integer"
  13695. },
  13696. "cancelqty": {
  13697. "description": "撤单数量",
  13698. "type": "integer"
  13699. },
  13700. "currencysign": {
  13701. "description": "货币符号",
  13702. "type": "string"
  13703. },
  13704. "decimalplace": {
  13705. "description": "报价小数位",
  13706. "type": "integer"
  13707. },
  13708. "goodscode": {
  13709. "description": "商品代码(内部)",
  13710. "type": "string"
  13711. },
  13712. "goodsid": {
  13713. "description": "商品ID",
  13714. "type": "integer"
  13715. },
  13716. "goodsname": {
  13717. "description": "商品名称",
  13718. "type": "string"
  13719. },
  13720. "listingselecttype": {
  13721. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13722. "type": "integer"
  13723. },
  13724. "marketid": {
  13725. "description": "市场ID",
  13726. "type": "integer"
  13727. },
  13728. "mybuystatus": {
  13729. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13730. "type": "integer"
  13731. },
  13732. "orderamount": {
  13733. "description": "委托金额",
  13734. "type": "number"
  13735. },
  13736. "orderid": {
  13737. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13738. "type": "string"
  13739. },
  13740. "orderprice": {
  13741. "description": "委托价格",
  13742. "type": "number"
  13743. },
  13744. "orderqty": {
  13745. "description": "委托数量",
  13746. "type": "integer"
  13747. },
  13748. "orderstatus": {
  13749. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13750. "type": "integer"
  13751. },
  13752. "ordertime": {
  13753. "description": "委托时间",
  13754. "type": "string"
  13755. },
  13756. "picurls1": {
  13757. "description": "预售商品介绍图片[多张用逗号分隔]",
  13758. "type": "string"
  13759. },
  13760. "picurls2": {
  13761. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13762. "type": "string"
  13763. },
  13764. "trademode": {
  13765. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13766. "type": "integer"
  13767. },
  13768. "tradeqty": {
  13769. "description": "成交数量",
  13770. "type": "integer"
  13771. },
  13772. "vendorname1": {
  13773. "description": "预售商品供应商名称",
  13774. "type": "string"
  13775. },
  13776. "vendorname2": {
  13777. "description": "挂牌商品供应商名称",
  13778. "type": "string"
  13779. }
  13780. }
  13781. },
  13782. "models.Market": {
  13783. "type": "object",
  13784. "required": [
  13785. "marketid",
  13786. "marketstatus",
  13787. "openmethod",
  13788. "reckonpricealgorithm",
  13789. "trademode",
  13790. "tradeproperty"
  13791. ],
  13792. "properties": {
  13793. "auctionwrtype": {
  13794. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13795. "type": "integer"
  13796. },
  13797. "canacceptquote": {
  13798. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13799. "type": "integer"
  13800. },
  13801. "cangoodsexercise": {
  13802. "description": "[期权]是否可现货行权- 0:否 1:是",
  13803. "type": "integer"
  13804. },
  13805. "cangoodsexercisetype": {
  13806. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13807. "type": "integer"
  13808. },
  13809. "canmanualquotestrike": {
  13810. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13811. "type": "integer"
  13812. },
  13813. "canmutistage": {
  13814. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13815. "type": "integer"
  13816. },
  13817. "canpreexercise": {
  13818. "description": "[期权]是否可预申报- 0:否 1:是",
  13819. "type": "integer"
  13820. },
  13821. "clearinterval": {
  13822. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13823. "type": "integer"
  13824. },
  13825. "contracttmp": {
  13826. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13827. "type": "string"
  13828. },
  13829. "exchareaid": {
  13830. "description": "所属交易所,可以没有",
  13831. "type": "integer"
  13832. },
  13833. "goodstype": {
  13834. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13835. "type": "integer"
  13836. },
  13837. "hasrebate": {
  13838. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13839. "type": "integer"
  13840. },
  13841. "hastradecredit": {
  13842. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13843. "type": "integer"
  13844. },
  13845. "haswr": {
  13846. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13847. "type": "integer"
  13848. },
  13849. "isdeductmargin": {
  13850. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13851. "type": "integer"
  13852. },
  13853. "isrecordsource": {
  13854. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13855. "type": "integer"
  13856. },
  13857. "isreleasemargin": {
  13858. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13859. "type": "integer"
  13860. },
  13861. "marginformula": {
  13862. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13863. "type": "integer"
  13864. },
  13865. "marginformula2": {
  13866. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13867. "type": "integer"
  13868. },
  13869. "marketid": {
  13870. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13871. "type": "integer"
  13872. },
  13873. "marketname": {
  13874. "description": "市场名称",
  13875. "type": "string"
  13876. },
  13877. "marketserviceid": {
  13878. "description": "市场服务ID",
  13879. "type": "integer"
  13880. },
  13881. "marketstatus": {
  13882. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13883. "type": "integer"
  13884. },
  13885. "markettype": {
  13886. "description": "市场类型- 1:非交易服务 2:交易服务",
  13887. "type": "integer"
  13888. },
  13889. "matchermode": {
  13890. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13891. "type": "integer"
  13892. },
  13893. "openmethod": {
  13894. "description": "开盘模式 - 0 自动 1手动",
  13895. "type": "integer"
  13896. },
  13897. "otcuserid": {
  13898. "description": "场外期权做市商[场外期权]",
  13899. "type": "integer"
  13900. },
  13901. "outersynctime": {
  13902. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13903. "type": "string"
  13904. },
  13905. "pendingflag": {
  13906. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13907. "type": "integer"
  13908. },
  13909. "pendingtime": {
  13910. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13911. "type": "string"
  13912. },
  13913. "performancetempid": {
  13914. "description": "履约计划模板ID - 作废",
  13915. "type": "integer"
  13916. },
  13917. "premiumquotemode": {
  13918. "description": "权利金报价方式 - 1:自动 2:手动",
  13919. "type": "integer"
  13920. },
  13921. "rebateratio": {
  13922. "description": "返利比率[竞价式]",
  13923. "type": "number"
  13924. },
  13925. "reckonorder": {
  13926. "description": "结算顺序",
  13927. "type": "integer"
  13928. },
  13929. "reckonpricealgorithm": {
  13930. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13931. "type": "integer"
  13932. },
  13933. "reckonpriceparam": {
  13934. "description": "结算价参数",
  13935. "type": "integer"
  13936. },
  13937. "reckontime": {
  13938. "description": "结算时间[通道交易-对冲](HH:mm)",
  13939. "type": "string"
  13940. },
  13941. "roleprioritytype": {
  13942. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13943. "type": "integer"
  13944. },
  13945. "selllistingauditflag": {
  13946. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13947. "type": "integer"
  13948. },
  13949. "trademarkettype": {
  13950. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13951. "type": "integer"
  13952. },
  13953. "trademode": {
  13954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13955. "type": "integer"
  13956. },
  13957. "tradeproperty": {
  13958. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13959. "type": "integer"
  13960. },
  13961. "tradetype": {
  13962. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13963. "type": "integer"
  13964. }
  13965. }
  13966. },
  13967. "models.Marketrun": {
  13968. "type": "object",
  13969. "required": [
  13970. "marketid",
  13971. "nexttradedate",
  13972. "reckonflag",
  13973. "runstatus",
  13974. "tradedate",
  13975. "tradedate2"
  13976. ],
  13977. "properties": {
  13978. "afternexttradedate": {
  13979. "description": "下下交易日",
  13980. "type": "string"
  13981. },
  13982. "clearquoteflag": {
  13983. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13984. "type": "integer"
  13985. },
  13986. "lastreckondate": {
  13987. "description": "最新交易日(结算成功)",
  13988. "type": "string"
  13989. },
  13990. "machinedate": {
  13991. "description": "机器时间",
  13992. "type": "string"
  13993. },
  13994. "manualflag": {
  13995. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13996. "type": "integer"
  13997. },
  13998. "marketid": {
  13999. "description": "市场ID",
  14000. "type": "integer"
  14001. },
  14002. "nexttradedate": {
  14003. "description": "下一交易日",
  14004. "type": "string"
  14005. },
  14006. "pretradedate": {
  14007. "description": "上一交易日",
  14008. "type": "string"
  14009. },
  14010. "reckonflag": {
  14011. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14012. "type": "integer"
  14013. },
  14014. "runstatus": {
  14015. "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.今日免清算",
  14016. "type": "integer"
  14017. },
  14018. "sectionid": {
  14019. "description": "时间段号[多时段时用]",
  14020. "type": "integer"
  14021. },
  14022. "tradedate": {
  14023. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14024. "type": "string"
  14025. },
  14026. "tradedate2": {
  14027. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14028. "type": "string"
  14029. },
  14030. "updatetime": {
  14031. "description": "更新时间",
  14032. "type": "string"
  14033. }
  14034. }
  14035. },
  14036. "models.Messageboard": {
  14037. "type": "object",
  14038. "required": [
  14039. "messageboardid"
  14040. ],
  14041. "properties": {
  14042. "createtime": {
  14043. "description": "创建时间",
  14044. "type": "string"
  14045. },
  14046. "message": {
  14047. "description": "留言信息",
  14048. "type": "string"
  14049. },
  14050. "messageboardid": {
  14051. "description": "留言簿ID(SEQ_MessageBoard)",
  14052. "type": "integer"
  14053. },
  14054. "userid": {
  14055. "description": "用户ID",
  14056. "type": "integer"
  14057. }
  14058. }
  14059. },
  14060. "models.MyCoupon": {
  14061. "type": "object",
  14062. "required": [
  14063. "accountid",
  14064. "coupontypeid"
  14065. ],
  14066. "properties": {
  14067. "accountid": {
  14068. "description": "资金账户ID",
  14069. "type": "integer"
  14070. },
  14071. "areauserid": {
  14072. "description": "所属机构",
  14073. "type": "integer"
  14074. },
  14075. "conditionvalue": {
  14076. "description": "条件阈值(可为0)",
  14077. "type": "number"
  14078. },
  14079. "couponcategroy": {
  14080. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14081. "type": "integer"
  14082. },
  14083. "couponname": {
  14084. "description": "优惠券名称",
  14085. "type": "string"
  14086. },
  14087. "coupontypeid": {
  14088. "description": "优惠券类型ID",
  14089. "type": "string"
  14090. },
  14091. "couponvalue": {
  14092. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14093. "type": "number"
  14094. },
  14095. "curfreezeqty": {
  14096. "description": "期末冻结数量",
  14097. "type": "integer"
  14098. },
  14099. "curqty": {
  14100. "description": "期末数量",
  14101. "type": "integer"
  14102. },
  14103. "isgeneral": {
  14104. "description": "是否通用券 - 0:否 1:是",
  14105. "type": "integer"
  14106. },
  14107. "isunusable": {
  14108. "description": "是否不可用",
  14109. "type": "boolean"
  14110. },
  14111. "limitedflag": {
  14112. "description": "是否指定商品 - 0:不限 1:限制",
  14113. "type": "integer"
  14114. },
  14115. "limitedgoodsids": {
  14116. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14117. "type": "string"
  14118. },
  14119. "orifreezeqty": {
  14120. "description": "期初冻结数量",
  14121. "type": "integer"
  14122. },
  14123. "oriqty": {
  14124. "description": "期初数量",
  14125. "type": "integer"
  14126. },
  14127. "reasontype": {
  14128. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14129. "type": "integer"
  14130. },
  14131. "todaydecrease": {
  14132. "description": "今日减少",
  14133. "type": "integer"
  14134. },
  14135. "todayincrease": {
  14136. "description": "今日增加",
  14137. "type": "integer"
  14138. },
  14139. "userid": {
  14140. "description": "用户ID",
  14141. "type": "integer"
  14142. },
  14143. "userscope": {
  14144. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14145. "type": "string"
  14146. }
  14147. }
  14148. },
  14149. "models.MyCouponHold": {
  14150. "type": "object",
  14151. "required": [
  14152. "couponholdid"
  14153. ],
  14154. "properties": {
  14155. "accountid": {
  14156. "description": "资金账户ID",
  14157. "type": "integer"
  14158. },
  14159. "conditionvalue": {
  14160. "description": "条件阈值(可为0)",
  14161. "type": "number"
  14162. },
  14163. "couponcategroy": {
  14164. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14165. "type": "integer"
  14166. },
  14167. "couponholdid": {
  14168. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14169. "type": "string"
  14170. },
  14171. "couponname": {
  14172. "description": "优惠券名称",
  14173. "type": "string"
  14174. },
  14175. "coupontypeid": {
  14176. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14177. "type": "string"
  14178. },
  14179. "couponvalue": {
  14180. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14181. "type": "number"
  14182. },
  14183. "createtime": {
  14184. "description": "创建时间",
  14185. "type": "string"
  14186. },
  14187. "enddate": {
  14188. "description": "结束日期",
  14189. "type": "string"
  14190. },
  14191. "giveapplyid": {
  14192. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14193. "type": "integer"
  14194. },
  14195. "holdstatus": {
  14196. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14197. "type": "integer"
  14198. },
  14199. "isgeneral": {
  14200. "description": "是否通用券 - 0:否 1:是",
  14201. "type": "integer"
  14202. },
  14203. "limitedflag": {
  14204. "description": "是否指定商品 - 0:不限 1:限制",
  14205. "type": "integer"
  14206. },
  14207. "limitedgoodsids": {
  14208. "description": "指定商品IDs[逗号分隔]",
  14209. "type": "string"
  14210. },
  14211. "qty": {
  14212. "description": "数量(按1平铺)",
  14213. "type": "integer"
  14214. },
  14215. "startdate": {
  14216. "description": "开始日期",
  14217. "type": "string"
  14218. },
  14219. "userid": {
  14220. "description": "用户ID",
  14221. "type": "integer"
  14222. },
  14223. "userscope": {
  14224. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14225. "type": "string"
  14226. }
  14227. }
  14228. },
  14229. "models.MyUsedCoupon": {
  14230. "type": "object",
  14231. "required": [
  14232. "coupontypeid",
  14233. "orderid"
  14234. ],
  14235. "properties": {
  14236. "accountid": {
  14237. "description": "资金账户ID(买方)",
  14238. "type": "integer"
  14239. },
  14240. "conditionvalue": {
  14241. "description": "条件阈值(可为0)",
  14242. "type": "number"
  14243. },
  14244. "couponcategroy": {
  14245. "description": "种类 - 1:现金券 2:折扣券",
  14246. "type": "integer"
  14247. },
  14248. "couponname": {
  14249. "description": "优惠券名称",
  14250. "type": "string"
  14251. },
  14252. "coupontypeid": {
  14253. "description": "优惠券类型ID(买方)",
  14254. "type": "string"
  14255. },
  14256. "couponvalue": {
  14257. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14258. "type": "number"
  14259. },
  14260. "createtime": {
  14261. "description": "创建时间",
  14262. "type": "string"
  14263. },
  14264. "goodsid": {
  14265. "description": "商品ID",
  14266. "type": "integer"
  14267. },
  14268. "handlestatus": {
  14269. "description": "处理状态",
  14270. "type": "integer"
  14271. },
  14272. "marketid": {
  14273. "description": "市场ID",
  14274. "type": "integer"
  14275. },
  14276. "offamount": {
  14277. "description": "优惠金额",
  14278. "type": "number"
  14279. },
  14280. "orderid": {
  14281. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14282. "type": "string"
  14283. },
  14284. "sellaccountid": {
  14285. "description": "资金账户ID(卖方)",
  14286. "type": "integer"
  14287. },
  14288. "tradeamount": {
  14289. "description": "成交金额",
  14290. "type": "number"
  14291. },
  14292. "tradeid": {
  14293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14294. "type": "string"
  14295. },
  14296. "usedqty": {
  14297. "description": "使用数量",
  14298. "type": "integer"
  14299. }
  14300. }
  14301. },
  14302. "models.OperationPrimaryMenu": {
  14303. "type": "object",
  14304. "properties": {
  14305. "Children": {
  14306. "description": "二级功能菜单",
  14307. "type": "array",
  14308. "items": {
  14309. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14310. }
  14311. },
  14312. "Key": {
  14313. "description": "菜单KEY",
  14314. "type": "string"
  14315. },
  14316. "Label": {
  14317. "description": "菜单标题",
  14318. "type": "string"
  14319. }
  14320. }
  14321. },
  14322. "models.OperationSecondaryMenu": {
  14323. "type": "object",
  14324. "properties": {
  14325. "Key": {
  14326. "description": "菜单KEY",
  14327. "type": "string"
  14328. },
  14329. "Label": {
  14330. "description": "菜单标题",
  14331. "type": "string"
  14332. },
  14333. "TabList": {
  14334. "description": "三级功能菜单",
  14335. "type": "array",
  14336. "items": {
  14337. "$ref": "#/definitions/models.OperationTabMenu"
  14338. }
  14339. }
  14340. }
  14341. },
  14342. "models.OperationTabMenu": {
  14343. "type": "object",
  14344. "properties": {
  14345. "Key": {
  14346. "description": "菜单KEY",
  14347. "type": "string"
  14348. },
  14349. "Label": {
  14350. "description": "菜单标题",
  14351. "type": "string"
  14352. }
  14353. }
  14354. },
  14355. "models.QueryErrorInfosRsp": {
  14356. "type": "object",
  14357. "required": [
  14358. "errorid"
  14359. ],
  14360. "properties": {
  14361. "description": {
  14362. "description": "异常描述",
  14363. "type": "string"
  14364. },
  14365. "errorcode": {
  14366. "description": "异常代码",
  14367. "type": "string"
  14368. },
  14369. "errorid": {
  14370. "description": "异常ID",
  14371. "type": "integer"
  14372. },
  14373. "modulecode": {
  14374. "description": "所属模块",
  14375. "type": "string"
  14376. },
  14377. "operatecode": {
  14378. "description": "所属操作",
  14379. "type": "string"
  14380. },
  14381. "rownumber": {
  14382. "description": "行号",
  14383. "type": "string"
  14384. }
  14385. }
  14386. },
  14387. "models.QueryHedgeInnerOrderDetailRsp": {
  14388. "type": "object",
  14389. "required": [
  14390. "goodscode",
  14391. "goodsname"
  14392. ],
  14393. "properties": {
  14394. "accountcurrencyid": {
  14395. "description": "账户币种ID",
  14396. "type": "integer"
  14397. },
  14398. "accountid": {
  14399. "description": "账户ID",
  14400. "type": "integer"
  14401. },
  14402. "buyorsell": {
  14403. "description": "买卖 - 0:买 1:卖",
  14404. "type": "integer"
  14405. },
  14406. "channelbuildtype": {
  14407. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14408. "type": "integer"
  14409. },
  14410. "channelinnerorderstatus": {
  14411. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14412. "type": "integer"
  14413. },
  14414. "channeloperatetype": {
  14415. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14416. "type": "integer"
  14417. },
  14418. "channelordersrc": {
  14419. "description": "委托来源 - 1:客户端 2:风控服务 3:管理端 4:下单接口平台 5:交易服务 6:跟单服务 7:监控终端",
  14420. "type": "integer"
  14421. },
  14422. "clientordertime": {
  14423. "description": "客户端委托时间",
  14424. "type": "string"
  14425. },
  14426. "clientticket": {
  14427. "description": "客户端流水号",
  14428. "type": "string"
  14429. },
  14430. "clienttype": {
  14431. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江) 10;监控终端",
  14432. "type": "integer"
  14433. },
  14434. "closecancelqty": {
  14435. "description": "撤单数量",
  14436. "type": "integer"
  14437. },
  14438. "closechargevalue": {
  14439. "description": "平仓手续费设置值",
  14440. "type": "number"
  14441. },
  14442. "closefailqty": {
  14443. "description": "失败数量",
  14444. "type": "integer"
  14445. },
  14446. "closefeealgorithm": {
  14447. "description": "平仓手续费收取方式 1:比率 2:固定",
  14448. "type": "integer"
  14449. },
  14450. "closeorderqty": {
  14451. "description": "委托数量",
  14452. "type": "integer"
  14453. },
  14454. "closesuccessqty": {
  14455. "description": "委托成功数量",
  14456. "type": "integer"
  14457. },
  14458. "closetradeqty": {
  14459. "description": "成交数量",
  14460. "type": "integer"
  14461. },
  14462. "closetype": {
  14463. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14464. "type": "integer"
  14465. },
  14466. "curexchangerate": {
  14467. "description": "当前汇率",
  14468. "type": "number"
  14469. },
  14470. "exchangefullname": {
  14471. "description": "外部交易所全称",
  14472. "type": "string"
  14473. },
  14474. "goodscode": {
  14475. "description": "商品代码(内部)",
  14476. "type": "string"
  14477. },
  14478. "goodscurrencyid": {
  14479. "description": "商品币种ID",
  14480. "type": "integer"
  14481. },
  14482. "goodsid": {
  14483. "description": "商品ID",
  14484. "type": "integer"
  14485. },
  14486. "goodsname": {
  14487. "description": "商品名称",
  14488. "type": "string"
  14489. },
  14490. "goodsorderprice": {
  14491. "description": "委托价格(商品)",
  14492. "type": "number"
  14493. },
  14494. "hedgeflag": {
  14495. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利",
  14496. "type": "integer"
  14497. },
  14498. "marginalgorithm": {
  14499. "description": "保证金收取方式 1:比率 2:固定",
  14500. "type": "integer"
  14501. },
  14502. "margincurrencyid": {
  14503. "description": "保证金币种ID 比率时等于账户币种",
  14504. "type": "integer"
  14505. },
  14506. "marginrate": {
  14507. "description": "保证金汇率-比率时等于1",
  14508. "type": "number"
  14509. },
  14510. "marginvalue": {
  14511. "description": "即市保证金设置值",
  14512. "type": "number"
  14513. },
  14514. "marketid": {
  14515. "description": "市场ID",
  14516. "type": "integer"
  14517. },
  14518. "opencancelqty": {
  14519. "description": "撤单数量",
  14520. "type": "integer"
  14521. },
  14522. "openchargevalue": {
  14523. "description": "建仓手续费设置值",
  14524. "type": "number"
  14525. },
  14526. "openfailqty": {
  14527. "description": "失败数量",
  14528. "type": "integer"
  14529. },
  14530. "openfeealgorithm": {
  14531. "description": "建仓手续费收取方式 1:比率 2:固定",
  14532. "type": "integer"
  14533. },
  14534. "openfreezecharge": {
  14535. "description": "建仓冻结手续费(账户)",
  14536. "type": "number"
  14537. },
  14538. "openfreezecharge2": {
  14539. "description": "建仓冻结手续费(商品)",
  14540. "type": "number"
  14541. },
  14542. "openfreezemargin": {
  14543. "description": "冻结保证金(冻结交易金额)",
  14544. "type": "number"
  14545. },
  14546. "openfreezemargin2": {
  14547. "description": "建仓冻结保证金(保证金/商品)",
  14548. "type": "number"
  14549. },
  14550. "openorderqty": {
  14551. "description": "委托数量",
  14552. "type": "integer"
  14553. },
  14554. "opensuccessqty": {
  14555. "description": "建仓委托成功数量",
  14556. "type": "integer"
  14557. },
  14558. "opentradeqty": {
  14559. "description": "成交数量",
  14560. "type": "integer"
  14561. },
  14562. "openunfreezecharge": {
  14563. "description": "建仓解冻手续费(账户)",
  14564. "type": "number"
  14565. },
  14566. "openunfreezecharge2": {
  14567. "description": "建仓解冻手续费(商品)",
  14568. "type": "number"
  14569. },
  14570. "openunfreezemargin": {
  14571. "description": "解冻保证金",
  14572. "type": "number"
  14573. },
  14574. "openunfreezemargin2": {
  14575. "description": "建仓解冻保证金(保证金/商品)",
  14576. "type": "number"
  14577. },
  14578. "operatorid": {
  14579. "description": "登录账号(LoginID)",
  14580. "type": "integer"
  14581. },
  14582. "orderid": {
  14583. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14584. "type": "string"
  14585. },
  14586. "orderprice": {
  14587. "description": "委托价格(账户)",
  14588. "type": "number"
  14589. },
  14590. "ordertime": {
  14591. "description": "委托时间",
  14592. "type": "string"
  14593. },
  14594. "parentaccountid": {
  14595. "description": "所属母账户",
  14596. "type": "integer"
  14597. },
  14598. "pricemode": {
  14599. "description": "取价方式 - 1:市价 2: 限价",
  14600. "type": "integer"
  14601. },
  14602. "retcode": {
  14603. "description": "错误代码",
  14604. "type": "integer"
  14605. },
  14606. "sessionid": {
  14607. "description": "会话ID",
  14608. "type": "integer"
  14609. },
  14610. "tradedate": {
  14611. "description": "交易日(yyyyMMdd)",
  14612. "type": "string"
  14613. },
  14614. "updatetime": {
  14615. "description": "更新时间",
  14616. "type": "string"
  14617. },
  14618. "uuid": {
  14619. "description": "发起端唯一id",
  14620. "type": "string"
  14621. },
  14622. "validtime": {
  14623. "description": "有效期限",
  14624. "type": "string"
  14625. },
  14626. "validtype": {
  14627. "description": "有效类型 - 1当日有效",
  14628. "type": "integer"
  14629. }
  14630. }
  14631. },
  14632. "models.QuotePrimaryMenu": {
  14633. "type": "object",
  14634. "properties": {
  14635. "Index": {
  14636. "description": "序号",
  14637. "type": "integer"
  14638. },
  14639. "Key": {
  14640. "description": "键名",
  14641. "type": "string"
  14642. },
  14643. "Name": {
  14644. "description": "菜单名称",
  14645. "type": "string"
  14646. },
  14647. "SubMenus": {
  14648. "description": "子菜单",
  14649. "type": "array",
  14650. "items": {
  14651. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14652. }
  14653. },
  14654. "SubTitleType": {
  14655. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14656. "type": "integer"
  14657. },
  14658. "TradeModes": {
  14659. "description": "包含市场交易类型",
  14660. "type": "string"
  14661. }
  14662. }
  14663. },
  14664. "models.QuoteSecondaryMenu": {
  14665. "type": "object",
  14666. "properties": {
  14667. "ExExchangeCode": {
  14668. "description": "外部交易所代码",
  14669. "type": "string"
  14670. },
  14671. "ExExchangeID": {
  14672. "description": "外部交易所ID",
  14673. "type": "integer"
  14674. },
  14675. "GoodsGroupIDs": {
  14676. "description": "商品组ID列表",
  14677. "type": "array",
  14678. "items": {
  14679. "type": "integer"
  14680. }
  14681. },
  14682. "Index": {
  14683. "description": "序号",
  14684. "type": "integer"
  14685. },
  14686. "MarketID": {
  14687. "description": "市场ID",
  14688. "type": "integer"
  14689. },
  14690. "MenuTitle": {
  14691. "description": "菜单标题(市场名称或外部交易所名称)",
  14692. "type": "string"
  14693. },
  14694. "TradeMode": {
  14695. "description": "交易模式",
  14696. "type": "integer"
  14697. }
  14698. }
  14699. },
  14700. "models.SearchGoods": {
  14701. "type": "object",
  14702. "required": [
  14703. "goodscode",
  14704. "goodsid",
  14705. "goodsname",
  14706. "marketid",
  14707. "trademode"
  14708. ],
  14709. "properties": {
  14710. "goodscode": {
  14711. "description": "商品代码(内部)",
  14712. "type": "string"
  14713. },
  14714. "goodsid": {
  14715. "description": "商品ID(自增ID SEQ_GOODS)",
  14716. "type": "integer"
  14717. },
  14718. "goodsname": {
  14719. "description": "商品名称",
  14720. "type": "string"
  14721. },
  14722. "marketid": {
  14723. "description": "所属市场ID",
  14724. "type": "integer"
  14725. },
  14726. "marketname": {
  14727. "description": "市场名称",
  14728. "type": "string"
  14729. },
  14730. "trademode": {
  14731. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14732. "type": "integer"
  14733. }
  14734. }
  14735. },
  14736. "models.Szdz2imageconfig": {
  14737. "type": "object",
  14738. "required": [
  14739. "configid"
  14740. ],
  14741. "properties": {
  14742. "configid": {
  14743. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14744. "type": "integer"
  14745. },
  14746. "imagepath": {
  14747. "description": "图片",
  14748. "type": "string"
  14749. },
  14750. "imagetype": {
  14751. "description": "类型 - 1:App首页轮播 2:我的",
  14752. "type": "integer"
  14753. },
  14754. "sort": {
  14755. "description": "排序",
  14756. "type": "integer"
  14757. },
  14758. "title": {
  14759. "description": "标题",
  14760. "type": "string"
  14761. },
  14762. "url": {
  14763. "description": "链接",
  14764. "type": "string"
  14765. }
  14766. }
  14767. },
  14768. "models.Szdz3convertconfig": {
  14769. "type": "object",
  14770. "required": [
  14771. "converttype",
  14772. "innergoodsid",
  14773. "outergoodscode"
  14774. ],
  14775. "properties": {
  14776. "canin": {
  14777. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14778. "type": "integer"
  14779. },
  14780. "canout": {
  14781. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14782. "type": "integer"
  14783. },
  14784. "converttype": {
  14785. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14786. "type": "integer"
  14787. },
  14788. "createtime": {
  14789. "description": "创建时间",
  14790. "type": "string"
  14791. },
  14792. "creatorid": {
  14793. "description": "创建人",
  14794. "type": "integer"
  14795. },
  14796. "daymaxvalue": {
  14797. "description": "当日最大转入限制",
  14798. "type": "number"
  14799. },
  14800. "freezedays": {
  14801. "description": "冻结天数 [5:花生米转交易]",
  14802. "type": "integer"
  14803. },
  14804. "innergoodsid": {
  14805. "description": "内部商品ID[交易]",
  14806. "type": "integer"
  14807. },
  14808. "inratio": {
  14809. "description": "目标值",
  14810. "type": "integer"
  14811. },
  14812. "modifierid": {
  14813. "description": "修改人",
  14814. "type": "integer"
  14815. },
  14816. "modifytime": {
  14817. "description": "修改时间",
  14818. "type": "string"
  14819. },
  14820. "outergoodscode": {
  14821. "description": "外部商品代码[JD\\PD]",
  14822. "type": "string"
  14823. },
  14824. "outratio": {
  14825. "description": "源值",
  14826. "type": "integer"
  14827. },
  14828. "pddecimalplace": {
  14829. "description": "PD小数位",
  14830. "type": "integer"
  14831. },
  14832. "timemaxvalue": {
  14833. "description": "单次最大转入限制",
  14834. "type": "number"
  14835. },
  14836. "timeminvalue": {
  14837. "description": "单次最小转入限制",
  14838. "type": "number"
  14839. }
  14840. }
  14841. },
  14842. "models.Szdz3searchwhitelist": {
  14843. "type": "object",
  14844. "required": [
  14845. "userid"
  14846. ],
  14847. "properties": {
  14848. "createtime": {
  14849. "description": "创建时间",
  14850. "type": "string"
  14851. },
  14852. "creatorid": {
  14853. "description": "创建人",
  14854. "type": "integer"
  14855. },
  14856. "modifierid": {
  14857. "description": "修改人",
  14858. "type": "integer"
  14859. },
  14860. "modifytime": {
  14861. "description": "修改时间",
  14862. "type": "string"
  14863. },
  14864. "userid": {
  14865. "description": "用户ID",
  14866. "type": "integer"
  14867. }
  14868. }
  14869. },
  14870. "models.Taaccount": {
  14871. "type": "object",
  14872. "required": [
  14873. "accountid",
  14874. "userid"
  14875. ],
  14876. "properties": {
  14877. "accountflag": {
  14878. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14879. "type": "integer"
  14880. },
  14881. "accountid": {
  14882. "description": "资金账户ID",
  14883. "type": "integer"
  14884. },
  14885. "accountname": {
  14886. "description": "账户名称",
  14887. "type": "string"
  14888. },
  14889. "balance": {
  14890. "description": "期初余额",
  14891. "type": "number"
  14892. },
  14893. "capitalbalance": {
  14894. "description": "本金余额[外部子账户实际出入金余额]",
  14895. "type": "number"
  14896. },
  14897. "changeflag": {
  14898. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14899. "type": "integer"
  14900. },
  14901. "changetime": {
  14902. "description": "账户状态变更时间",
  14903. "type": "string"
  14904. },
  14905. "closepl": {
  14906. "description": "今日平仓盈亏",
  14907. "type": "number"
  14908. },
  14909. "creditdecrease": {
  14910. "description": "今日授信减少",
  14911. "type": "number"
  14912. },
  14913. "creditincrease": {
  14914. "description": "今日授信增加",
  14915. "type": "number"
  14916. },
  14917. "currencyid": {
  14918. "description": "货币ID",
  14919. "type": "integer"
  14920. },
  14921. "currentbalance": {
  14922. "description": "期末余额",
  14923. "type": "number"
  14924. },
  14925. "freezecharge": {
  14926. "description": "手续费冻结",
  14927. "type": "number"
  14928. },
  14929. "freezemargin": {
  14930. "description": "冻结保证金",
  14931. "type": "number"
  14932. },
  14933. "fromaccountid": {
  14934. "description": "所属上级账户",
  14935. "type": "integer"
  14936. },
  14937. "inamount": {
  14938. "description": "今日入金金额(包括三方入金)",
  14939. "type": "number"
  14940. },
  14941. "ismain": {
  14942. "description": "是否母账号 0:不是母账户 1:是母账户",
  14943. "type": "integer"
  14944. },
  14945. "ismarketaccount": {
  14946. "description": "是否机构接单账号 0:不是 1:是",
  14947. "type": "integer"
  14948. },
  14949. "isreckonaccount": {
  14950. "description": "是否机构分润账号 0:不是 1:是",
  14951. "type": "integer"
  14952. },
  14953. "mortgagecredit": {
  14954. "description": "授信金额",
  14955. "type": "number"
  14956. },
  14957. "orifreezecharge": {
  14958. "description": "期初手续费冻结",
  14959. "type": "number"
  14960. },
  14961. "orifreezemargin": {
  14962. "description": "期初冻结保证金",
  14963. "type": "number"
  14964. },
  14965. "orimortgagecredit": {
  14966. "description": "期初授信金额",
  14967. "type": "number"
  14968. },
  14969. "oriothercredit": {
  14970. "description": "期初其它授信金额",
  14971. "type": "number"
  14972. },
  14973. "oriotherfreezemargin": {
  14974. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14975. "type": "number"
  14976. },
  14977. "orioutamountfreeze": {
  14978. "description": "期初出金冻结",
  14979. "type": "number"
  14980. },
  14981. "oriusedmargin": {
  14982. "description": "期初占用保证金",
  14983. "type": "number"
  14984. },
  14985. "othercredit": {
  14986. "description": "其它授信金额",
  14987. "type": "number"
  14988. },
  14989. "othercreditdecrease": {
  14990. "description": "今日其它授信减少",
  14991. "type": "number"
  14992. },
  14993. "othercreditincrease": {
  14994. "description": "今日其它授信增加",
  14995. "type": "number"
  14996. },
  14997. "otherfreezemargin": {
  14998. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14999. "type": "number"
  15000. },
  15001. "otherincome": {
  15002. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15003. "type": "number"
  15004. },
  15005. "otherpay": {
  15006. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15007. "type": "number"
  15008. },
  15009. "outamount": {
  15010. "description": "今日出金金额(包括三方出金)",
  15011. "type": "number"
  15012. },
  15013. "outamountfreeze": {
  15014. "description": "出金冻结",
  15015. "type": "number"
  15016. },
  15017. "outthreshold": {
  15018. "description": "出金阈值",
  15019. "type": "number"
  15020. },
  15021. "parentaccountid": {
  15022. "description": "所属根账号",
  15023. "type": "integer"
  15024. },
  15025. "paycharge": {
  15026. "description": "今日手续费支出",
  15027. "type": "number"
  15028. },
  15029. "relatedaccountstatus": {
  15030. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15031. "type": "integer"
  15032. },
  15033. "relateduserid": {
  15034. "description": "关联用户",
  15035. "type": "integer"
  15036. },
  15037. "serivcegroup": {
  15038. "description": "服务分组",
  15039. "type": "integer"
  15040. },
  15041. "signstatus": {
  15042. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15043. "type": "integer"
  15044. },
  15045. "sublevelpath": {
  15046. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15047. "type": "string"
  15048. },
  15049. "taaccounttype": {
  15050. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15051. "type": "integer"
  15052. },
  15053. "thirdinamount": {
  15054. "description": "今日三方入金",
  15055. "type": "number"
  15056. },
  15057. "thirdoutamount": {
  15058. "description": "今日三方出金",
  15059. "type": "number"
  15060. },
  15061. "tradestatus": {
  15062. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15063. "type": "integer"
  15064. },
  15065. "tradestatuschangetime": {
  15066. "description": "激活时间",
  15067. "type": "string"
  15068. },
  15069. "transferamount": {
  15070. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15071. "type": "number"
  15072. },
  15073. "usedmargin": {
  15074. "description": "占用保证金",
  15075. "type": "number"
  15076. },
  15077. "userid": {
  15078. "description": "用户ID",
  15079. "type": "integer"
  15080. }
  15081. }
  15082. },
  15083. "models.Tablecolumnconfig": {
  15084. "type": "object",
  15085. "required": [
  15086. "autoid"
  15087. ],
  15088. "properties": {
  15089. "aligntype": {
  15090. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15091. "type": "integer"
  15092. },
  15093. "autoid": {
  15094. "description": "AutoID",
  15095. "type": "integer"
  15096. },
  15097. "columnfield": {
  15098. "description": "列字段",
  15099. "type": "string"
  15100. },
  15101. "columntitle": {
  15102. "description": "列Title",
  15103. "type": "string"
  15104. },
  15105. "columnwidth": {
  15106. "description": "列宽",
  15107. "type": "string"
  15108. },
  15109. "formatterstring": {
  15110. "description": "格式化字符",
  15111. "type": "string"
  15112. },
  15113. "formattertype": {
  15114. "description": "格式化类型",
  15115. "type": "string"
  15116. },
  15117. "groupname": {
  15118. "description": "表头分组名称",
  15119. "type": "string"
  15120. },
  15121. "isshow": {
  15122. "description": "是否显示 - 0:不显示 1:显示",
  15123. "type": "integer"
  15124. },
  15125. "needsummary": {
  15126. "description": "是否需要汇总 - 0:不需要 1:需要",
  15127. "type": "integer"
  15128. },
  15129. "orderindex": {
  15130. "description": "顺序",
  15131. "type": "integer"
  15132. },
  15133. "remark": {
  15134. "description": "备注",
  15135. "type": "string"
  15136. },
  15137. "summarytype": {
  15138. "description": "汇总类型 - 1:加总 2:最后一个",
  15139. "type": "integer"
  15140. },
  15141. "tablekey": {
  15142. "description": "列表Key",
  15143. "type": "string"
  15144. }
  15145. }
  15146. },
  15147. "models.Useraccount": {
  15148. "type": "object",
  15149. "required": [
  15150. "userid"
  15151. ],
  15152. "properties": {
  15153. "accountname": {
  15154. "description": "账户名称(机构名称)",
  15155. "type": "string"
  15156. },
  15157. "accountstatus": {
  15158. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15159. "type": "integer"
  15160. },
  15161. "auditremark": {
  15162. "description": "审核备注",
  15163. "type": "string"
  15164. },
  15165. "audittime": {
  15166. "description": "审核时间",
  15167. "type": "string"
  15168. },
  15169. "audituserid": {
  15170. "description": "审核人",
  15171. "type": "integer"
  15172. },
  15173. "broker": {
  15174. "description": "所属经纪人ID",
  15175. "type": "integer"
  15176. },
  15177. "canceltime": {
  15178. "description": "销户时间",
  15179. "type": "string"
  15180. },
  15181. "canceluserid": {
  15182. "description": "销户人",
  15183. "type": "integer"
  15184. },
  15185. "createtime": {
  15186. "description": "创建时间",
  15187. "type": "string"
  15188. },
  15189. "creatorid": {
  15190. "description": "创建人",
  15191. "type": "integer"
  15192. },
  15193. "hasauth": {
  15194. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15195. "type": "integer"
  15196. },
  15197. "isanonymous": {
  15198. "description": "是否匿名下单 - 0:否 1:是",
  15199. "type": "integer"
  15200. },
  15201. "maxinvestornum": {
  15202. "description": "最大用户数(经纪会员下投资者个数)",
  15203. "type": "integer"
  15204. },
  15205. "memberuserid": {
  15206. "description": "所属会员ID",
  15207. "type": "integer"
  15208. },
  15209. "modifierid": {
  15210. "description": "修改人",
  15211. "type": "integer"
  15212. },
  15213. "modifyremark": {
  15214. "description": "变更备注",
  15215. "type": "string"
  15216. },
  15217. "modifystatus": {
  15218. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15219. "type": "integer"
  15220. },
  15221. "modifytime": {
  15222. "description": "修改时间",
  15223. "type": "string"
  15224. },
  15225. "parentuserid": {
  15226. "description": "所属机构ID",
  15227. "type": "integer"
  15228. },
  15229. "reckonaccountid": {
  15230. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15231. "type": "integer"
  15232. },
  15233. "refercount": {
  15234. "description": "推荐总人数",
  15235. "type": "integer"
  15236. },
  15237. "refereeuserid": {
  15238. "description": "推荐人ID",
  15239. "type": "integer"
  15240. },
  15241. "refernum": {
  15242. "description": "推荐码",
  15243. "type": "string"
  15244. },
  15245. "subarealevelpath": {
  15246. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15247. "type": "string"
  15248. },
  15249. "userid": {
  15250. "description": "用户ID",
  15251. "type": "integer"
  15252. },
  15253. "usertype": {
  15254. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15255. "type": "integer"
  15256. }
  15257. }
  15258. },
  15259. "models.Userfavoritegoods": {
  15260. "type": "object",
  15261. "required": [
  15262. "goodsid"
  15263. ],
  15264. "properties": {
  15265. "goodsid": {
  15266. "description": "商品ID",
  15267. "type": "integer"
  15268. }
  15269. }
  15270. },
  15271. "models.Userinfo": {
  15272. "type": "object",
  15273. "required": [
  15274. "userid"
  15275. ],
  15276. "properties": {
  15277. "address": {
  15278. "description": "地址",
  15279. "type": "string"
  15280. },
  15281. "attachment1": {
  15282. "description": "附件1",
  15283. "type": "string"
  15284. },
  15285. "attachment2": {
  15286. "description": "附件2",
  15287. "type": "string"
  15288. },
  15289. "bankaccount": {
  15290. "description": "银行帐号 (加密存储)",
  15291. "type": "string"
  15292. },
  15293. "bankaccountname": {
  15294. "description": "收款人名称",
  15295. "type": "string"
  15296. },
  15297. "bankcardfrontphotourl": {
  15298. "description": "银行卡正面照地址",
  15299. "type": "string"
  15300. },
  15301. "bankid": {
  15302. "description": "银行编码",
  15303. "type": "string"
  15304. },
  15305. "bankname": {
  15306. "description": "银行名称",
  15307. "type": "string"
  15308. },
  15309. "biznature": {
  15310. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15311. "type": "integer"
  15312. },
  15313. "bizscope": {
  15314. "description": "企业经营范围(企业)",
  15315. "type": "string"
  15316. },
  15317. "cardbackphotourl": {
  15318. "description": "证件背面图片地址",
  15319. "type": "string"
  15320. },
  15321. "cardfrontphotourl": {
  15322. "description": "证件正面图片地址",
  15323. "type": "string"
  15324. },
  15325. "cardnum": {
  15326. "description": "证件号码(加密存储)",
  15327. "type": "string"
  15328. },
  15329. "cardtypeid": {
  15330. "description": "证件类型ID",
  15331. "type": "integer"
  15332. },
  15333. "cityid": {
  15334. "description": "市",
  15335. "type": "integer"
  15336. },
  15337. "company": {
  15338. "description": "公司(个人)",
  15339. "type": "string"
  15340. },
  15341. "contactname": {
  15342. "description": "联系人",
  15343. "type": "string"
  15344. },
  15345. "countryid": {
  15346. "description": "国家",
  15347. "type": "integer"
  15348. },
  15349. "createtime": {
  15350. "description": "创建时间",
  15351. "type": "string"
  15352. },
  15353. "creatorid": {
  15354. "description": "创建人",
  15355. "type": "integer"
  15356. },
  15357. "customername": {
  15358. "description": "客户名称(企业名称)",
  15359. "type": "string"
  15360. },
  15361. "districtid": {
  15362. "description": "地区",
  15363. "type": "integer"
  15364. },
  15365. "email": {
  15366. "description": "邮件(加密存储)",
  15367. "type": "string"
  15368. },
  15369. "fax": {
  15370. "description": "传真(加密存储)",
  15371. "type": "string"
  15372. },
  15373. "halfbodyphotourl": {
  15374. "description": "半身照地址",
  15375. "type": "string"
  15376. },
  15377. "hasencrypt": {
  15378. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15379. "type": "integer"
  15380. },
  15381. "headurl": {
  15382. "description": "头像地址",
  15383. "type": "string"
  15384. },
  15385. "legalcardbackphotourl": {
  15386. "description": "法人身份证背面照地址",
  15387. "type": "string"
  15388. },
  15389. "legalcardfrontphotourl": {
  15390. "description": "法人身份证正面照地址",
  15391. "type": "string"
  15392. },
  15393. "legalpersonname": {
  15394. "description": "法人姓名(企业)",
  15395. "type": "string"
  15396. },
  15397. "mobile": {
  15398. "description": "手机号码(加密存储)",
  15399. "type": "string"
  15400. },
  15401. "mobile2": {
  15402. "description": "手机号码[明文-尚志]",
  15403. "type": "string"
  15404. },
  15405. "modifierid": {
  15406. "description": "修改人",
  15407. "type": "integer"
  15408. },
  15409. "modifiertime": {
  15410. "description": "修改时间",
  15411. "type": "string"
  15412. },
  15413. "needinvoice": {
  15414. "description": "是否需要发票 - 0:不需要 1:需要",
  15415. "type": "integer"
  15416. },
  15417. "nickname": {
  15418. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15419. "type": "string"
  15420. },
  15421. "openmode": {
  15422. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15423. "type": "integer"
  15424. },
  15425. "otherurl": {
  15426. "description": "其它图片地址[使用分号分隔]",
  15427. "type": "string"
  15428. },
  15429. "postalcode": {
  15430. "description": "邮政编码",
  15431. "type": "string"
  15432. },
  15433. "provinceid": {
  15434. "description": "省",
  15435. "type": "integer"
  15436. },
  15437. "qq": {
  15438. "description": "QQ(加密存储",
  15439. "type": "string"
  15440. },
  15441. "remark": {
  15442. "description": "备注",
  15443. "type": "string"
  15444. },
  15445. "sex": {
  15446. "description": "用户性别 0: 女 1: 男",
  15447. "type": "integer"
  15448. },
  15449. "signpdfurl": {
  15450. "description": "签约pdf文件",
  15451. "type": "string"
  15452. },
  15453. "telphone": {
  15454. "description": "联系电话(加密存储)",
  15455. "type": "string"
  15456. },
  15457. "userid": {
  15458. "description": "用户ID",
  15459. "type": "integer"
  15460. },
  15461. "userinfotype": {
  15462. "description": "用户信息类型 - 1:个人 2:企业",
  15463. "type": "integer"
  15464. },
  15465. "userstatus": {
  15466. "description": "用户状态 - 1:正常 2:注销",
  15467. "type": "integer"
  15468. },
  15469. "usertype": {
  15470. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15471. "type": "integer"
  15472. },
  15473. "wechat": {
  15474. "description": "微信(加密存储)",
  15475. "type": "string"
  15476. },
  15477. "wskhinfo": {
  15478. "description": "开户申请信息(JSON)",
  15479. "type": "string"
  15480. }
  15481. }
  15482. },
  15483. "models.WRCategoryTree": {
  15484. "type": "object",
  15485. "required": [
  15486. "categoryid"
  15487. ],
  15488. "properties": {
  15489. "areauserid": {
  15490. "description": "所属机构",
  15491. "type": "integer"
  15492. },
  15493. "categorydesc": {
  15494. "description": "类别描述",
  15495. "type": "string"
  15496. },
  15497. "categoryid": {
  15498. "description": "类别ID(SEQ_WRCATEGORY)",
  15499. "type": "integer"
  15500. },
  15501. "categoryname": {
  15502. "description": "类别名称",
  15503. "type": "string"
  15504. },
  15505. "iconurl": {
  15506. "description": "图标地址",
  15507. "type": "string"
  15508. },
  15509. "orderindex": {
  15510. "description": "顺序",
  15511. "type": "integer"
  15512. },
  15513. "parentcategoryid": {
  15514. "description": "父类别ID",
  15515. "type": "integer"
  15516. },
  15517. "subcategory": {
  15518. "description": "子分类",
  15519. "type": "array",
  15520. "items": {
  15521. "$ref": "#/definitions/models.WRCategoryTree"
  15522. }
  15523. }
  15524. }
  15525. },
  15526. "models.WRSConverTDetail": {
  15527. "type": "object",
  15528. "properties": {
  15529. "convertratio": {
  15530. "description": "套保系数",
  15531. "type": "number"
  15532. },
  15533. "deliverygoodsid": {
  15534. "description": "现货品种ID",
  15535. "type": "integer"
  15536. },
  15537. "middlegoodscode": {
  15538. "description": "套保品种代码",
  15539. "type": "string"
  15540. },
  15541. "middlegoodsid": {
  15542. "description": "套保品种ID",
  15543. "type": "integer"
  15544. },
  15545. "middlegoodsname": {
  15546. "description": "套保品种名称",
  15547. "type": "string"
  15548. },
  15549. "modifytime": {
  15550. "description": "修改时间",
  15551. "type": "string"
  15552. },
  15553. "wrstandardid": {
  15554. "description": "现货商品ID",
  15555. "type": "integer"
  15556. }
  15557. }
  15558. },
  15559. "models.WRStandardInfo": {
  15560. "type": "object",
  15561. "required": [
  15562. "wrstandardid"
  15563. ],
  15564. "properties": {
  15565. "createtime": {
  15566. "description": "创建时间",
  15567. "type": "string"
  15568. },
  15569. "creatorid": {
  15570. "description": "创建人",
  15571. "type": "integer"
  15572. },
  15573. "deliverygoodsid": {
  15574. "description": "品种ID",
  15575. "type": "integer"
  15576. },
  15577. "deliverygoodsname": {
  15578. "description": "交割商品名称",
  15579. "type": "string"
  15580. },
  15581. "factoryitemjson": {
  15582. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15583. "type": "string"
  15584. },
  15585. "isvalid": {
  15586. "description": "是否有效 - 0:无效 1:有效",
  15587. "type": "integer"
  15588. },
  15589. "minivalue": {
  15590. "description": "最小变动值",
  15591. "type": "integer"
  15592. },
  15593. "minivaluedp": {
  15594. "description": "最小变动值小数位",
  15595. "type": "integer"
  15596. },
  15597. "realminivalue": {
  15598. "description": "实际最小变动值",
  15599. "type": "integer"
  15600. },
  15601. "realminivaluedp": {
  15602. "description": "实际最小变动值小数位",
  15603. "type": "integer"
  15604. },
  15605. "unitid": {
  15606. "description": "单位ID",
  15607. "type": "integer"
  15608. },
  15609. "unitname": {
  15610. "description": "单位",
  15611. "type": "string"
  15612. },
  15613. "updatetime": {
  15614. "description": "更新时间",
  15615. "type": "string"
  15616. },
  15617. "updatorid": {
  15618. "description": "更新人",
  15619. "type": "integer"
  15620. },
  15621. "wrsstatus": {
  15622. "description": "状态 - 作废 - 0:未激活 1:正常",
  15623. "type": "integer"
  15624. },
  15625. "wrstandardcode": {
  15626. "description": "仓单标准代码",
  15627. "type": "string"
  15628. },
  15629. "wrstandardid": {
  15630. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15631. "type": "integer"
  15632. },
  15633. "wrstandardname": {
  15634. "description": "仓单标准名称",
  15635. "type": "string"
  15636. }
  15637. }
  15638. },
  15639. "models.Warehouseinfo": {
  15640. "type": "object",
  15641. "required": [
  15642. "autoid",
  15643. "warehousecode"
  15644. ],
  15645. "properties": {
  15646. "address": {
  15647. "description": "详细地址",
  15648. "type": "string"
  15649. },
  15650. "areauserid": {
  15651. "description": "所属机构",
  15652. "type": "integer"
  15653. },
  15654. "autoid": {
  15655. "description": "自增ID",
  15656. "type": "integer"
  15657. },
  15658. "cityid": {
  15659. "description": "市",
  15660. "type": "integer"
  15661. },
  15662. "contactname": {
  15663. "description": "联系人",
  15664. "type": "string"
  15665. },
  15666. "contactnum": {
  15667. "description": "联系电话",
  15668. "type": "string"
  15669. },
  15670. "countryid": {
  15671. "description": "国家",
  15672. "type": "integer"
  15673. },
  15674. "createtime": {
  15675. "description": "创建时间",
  15676. "type": "string"
  15677. },
  15678. "districtid": {
  15679. "description": "区",
  15680. "type": "integer"
  15681. },
  15682. "hasvideo": {
  15683. "description": "是否有视频 - 0:无 1:有",
  15684. "type": "integer"
  15685. },
  15686. "provinceid": {
  15687. "description": "省",
  15688. "type": "integer"
  15689. },
  15690. "remark": {
  15691. "description": "审核备注",
  15692. "type": "string"
  15693. },
  15694. "videourl": {
  15695. "description": "视频地址",
  15696. "type": "string"
  15697. },
  15698. "warehousecode": {
  15699. "description": "仓库代码",
  15700. "type": "string"
  15701. },
  15702. "warehousename": {
  15703. "description": "仓库名称",
  15704. "type": "string"
  15705. },
  15706. "warehousestatus": {
  15707. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15708. "type": "integer"
  15709. },
  15710. "warehousetype": {
  15711. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15712. "type": "integer"
  15713. }
  15714. }
  15715. },
  15716. "order.QueryHisTradeDetailRsp": {
  15717. "type": "object",
  15718. "required": [
  15719. "accountid",
  15720. "buyorsell",
  15721. "goodsid",
  15722. "histradedate",
  15723. "marketid",
  15724. "memberuserid",
  15725. "orderid",
  15726. "tradeamount",
  15727. "tradedate",
  15728. "tradeid",
  15729. "tradeprice",
  15730. "tradeqty",
  15731. "tradetime"
  15732. ],
  15733. "properties": {
  15734. "accountid": {
  15735. "description": "账户ID[报价币种]",
  15736. "type": "integer"
  15737. },
  15738. "buildtype": {
  15739. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15740. "type": "integer"
  15741. },
  15742. "buyorsell": {
  15743. "description": "方向 - 0:买 1:卖",
  15744. "type": "integer"
  15745. },
  15746. "charge": {
  15747. "description": "手续费",
  15748. "type": "number"
  15749. },
  15750. "closecharge": {
  15751. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15752. "type": "number"
  15753. },
  15754. "closeexchagechargevalue": {
  15755. "description": "平仓交易所手续费设置值",
  15756. "type": "number"
  15757. },
  15758. "closefeealgorithm": {
  15759. "description": "平仓手续费收取方式 1:比率 2:固定",
  15760. "type": "integer"
  15761. },
  15762. "closememberchargevalue": {
  15763. "description": "平仓会员手续费设置值",
  15764. "type": "number"
  15765. },
  15766. "closepl": {
  15767. "description": "平仓盈亏",
  15768. "type": "number"
  15769. },
  15770. "closepl2": {
  15771. "description": "平仓盈亏[逐笔]",
  15772. "type": "number"
  15773. },
  15774. "closeqty": {
  15775. "description": "平仓数量(先建后平操作 需要记录)",
  15776. "type": "integer"
  15777. },
  15778. "creditamount": {
  15779. "description": "授信金额",
  15780. "type": "number"
  15781. },
  15782. "gcaccountid": {
  15783. "description": "账户ID[合约币种]",
  15784. "type": "integer"
  15785. },
  15786. "goodscode": {
  15787. "description": "商品代码",
  15788. "type": "string"
  15789. },
  15790. "goodsid": {
  15791. "description": "商品ID",
  15792. "type": "integer"
  15793. },
  15794. "goodsname": {
  15795. "description": "商品名称",
  15796. "type": "string"
  15797. },
  15798. "histradedate": {
  15799. "description": "历史交易日",
  15800. "type": "string"
  15801. },
  15802. "intclosepl": {
  15803. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15804. "type": "integer"
  15805. },
  15806. "isconfirmexercise": {
  15807. "description": "是否确认行权- 0:否 1:是",
  15808. "type": "integer"
  15809. },
  15810. "ismain": {
  15811. "description": "是否主单 - 0:不是 1:是",
  15812. "type": "integer"
  15813. },
  15814. "ispreexercise": {
  15815. "description": "是否预申报- 0:否 1:是",
  15816. "type": "integer"
  15817. },
  15818. "isreckoned": {
  15819. "description": "是否结算 - 0:未结算 1:已结算",
  15820. "type": "integer"
  15821. },
  15822. "isvaliddata": {
  15823. "description": "是否有效 - 0:无效 1:有效",
  15824. "type": "integer"
  15825. },
  15826. "listingselecttype": {
  15827. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15828. "type": "integer"
  15829. },
  15830. "marketid": {
  15831. "description": "市场ID",
  15832. "type": "integer"
  15833. },
  15834. "marketname": {
  15835. "description": "市场名称",
  15836. "type": "string"
  15837. },
  15838. "matchaccountid": {
  15839. "description": "对手账号id",
  15840. "type": "integer"
  15841. },
  15842. "memberuserid": {
  15843. "description": "会员id 个人投资者 需要填写",
  15844. "type": "integer"
  15845. },
  15846. "opencharge": {
  15847. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15848. "type": "number"
  15849. },
  15850. "openexchagechargevalue": {
  15851. "description": "建仓交易所手续费设置值",
  15852. "type": "number"
  15853. },
  15854. "openfeealgorithm": {
  15855. "description": "建仓手续费收取方式 1:比率 2:固定",
  15856. "type": "integer"
  15857. },
  15858. "openmemberchargevalue": {
  15859. "description": "建仓会员手续费设置值",
  15860. "type": "number"
  15861. },
  15862. "openqty": {
  15863. "description": "开仓数量(先建后平操作 需要记录)",
  15864. "type": "integer"
  15865. },
  15866. "optiontype": {
  15867. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15868. "type": "integer"
  15869. },
  15870. "orderid": {
  15871. "description": "委托单号",
  15872. "type": "string"
  15873. },
  15874. "performanceplanid": {
  15875. "description": "履约计划ID[期权]",
  15876. "type": "integer"
  15877. },
  15878. "performancestatus": {
  15879. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15880. "type": "integer"
  15881. },
  15882. "preexerciseprice": {
  15883. "description": "预申报价格",
  15884. "type": "number"
  15885. },
  15886. "premium": {
  15887. "description": "权利金 - [持仓单的权利金]",
  15888. "type": "number"
  15889. },
  15890. "relatedouttradeid": {
  15891. "description": "关联外部成交单ID",
  15892. "type": "integer"
  15893. },
  15894. "status": {
  15895. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15896. "type": "integer"
  15897. },
  15898. "tradeamount": {
  15899. "description": "成交金额[账户币种,用于所有权]",
  15900. "type": "number"
  15901. },
  15902. "tradedate": {
  15903. "description": "交易日(yyyyMMdd)",
  15904. "type": "string"
  15905. },
  15906. "tradeid": {
  15907. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15908. "type": "string"
  15909. },
  15910. "trademode": {
  15911. "description": "交易模式",
  15912. "type": "integer"
  15913. },
  15914. "tradeprice": {
  15915. "description": "成交价格",
  15916. "type": "number"
  15917. },
  15918. "tradeproperty": {
  15919. "description": "交易属性",
  15920. "type": "integer"
  15921. },
  15922. "tradeqty": {
  15923. "description": "成交数量",
  15924. "type": "integer"
  15925. },
  15926. "tradetime": {
  15927. "description": "成交时间",
  15928. "type": "string"
  15929. },
  15930. "tradetype": {
  15931. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15932. "type": "integer"
  15933. }
  15934. }
  15935. },
  15936. "order.QueryHisTradeOrderDetailRsp": {
  15937. "type": "object",
  15938. "required": [
  15939. "accountid",
  15940. "buildtype",
  15941. "buyorsell",
  15942. "goodsid",
  15943. "histradedate",
  15944. "marketid",
  15945. "memberuserid",
  15946. "operatetype",
  15947. "orderid",
  15948. "orderqty",
  15949. "ordertime",
  15950. "pricemode",
  15951. "tradedate",
  15952. "validtype"
  15953. ],
  15954. "properties": {
  15955. "accountid": {
  15956. "description": "账户ID[报价币种]",
  15957. "type": "integer"
  15958. },
  15959. "buildtype": {
  15960. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15961. "type": "integer"
  15962. },
  15963. "buyorsell": {
  15964. "description": "买卖 - 0:买 1:卖",
  15965. "type": "integer"
  15966. },
  15967. "cancelorderid": {
  15968. "description": "撤单单号(撤单时填写)",
  15969. "type": "string"
  15970. },
  15971. "cancelqty": {
  15972. "description": "撤单数量",
  15973. "type": "integer"
  15974. },
  15975. "clientordertime": {
  15976. "description": "客户端委托时间",
  15977. "type": "string"
  15978. },
  15979. "clientticket": {
  15980. "description": "客户端流水号",
  15981. "type": "string"
  15982. },
  15983. "clienttype": {
  15984. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15985. "type": "integer"
  15986. },
  15987. "closeexchagechargevalue": {
  15988. "description": "平仓交易所手续费设置值",
  15989. "type": "number"
  15990. },
  15991. "closefeealgorithm": {
  15992. "description": "平仓手续费收取方式 1:比率 2:固定",
  15993. "type": "integer"
  15994. },
  15995. "closefreezecharge": {
  15996. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15997. "type": "number"
  15998. },
  15999. "closememberchargevalue": {
  16000. "description": "平仓会员手续费设置值",
  16001. "type": "number"
  16002. },
  16003. "closeqty": {
  16004. "description": "平仓数量(先建后平操作 需要记录)",
  16005. "type": "integer"
  16006. },
  16007. "closetradeqty": {
  16008. "description": "平仓成交数量(先建后平操作,需要记录)",
  16009. "type": "integer"
  16010. },
  16011. "closeunfreezecharge": {
  16012. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16013. "type": "number"
  16014. },
  16015. "delistingtype": {
  16016. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16017. "type": "integer"
  16018. },
  16019. "freezecharge": {
  16020. "description": "冻结手续费",
  16021. "type": "number"
  16022. },
  16023. "freezemargin": {
  16024. "description": "冻结保证金(冻结交易金额)",
  16025. "type": "number"
  16026. },
  16027. "gcaccountid": {
  16028. "description": "账户ID[合约币种]",
  16029. "type": "integer"
  16030. },
  16031. "goodscode": {
  16032. "description": "商品代码",
  16033. "type": "string"
  16034. },
  16035. "goodsid": {
  16036. "description": "商品ID",
  16037. "type": "integer"
  16038. },
  16039. "goodsname": {
  16040. "description": "商品名称",
  16041. "type": "string"
  16042. },
  16043. "histradedate": {
  16044. "description": "历史交易日",
  16045. "type": "string"
  16046. },
  16047. "isconfirmexercise": {
  16048. "description": "是否确认行权- 0:否 1:是",
  16049. "type": "integer"
  16050. },
  16051. "ispreexercise": {
  16052. "description": "是否预申报- 0:否 1:是",
  16053. "type": "integer"
  16054. },
  16055. "isvaliddata": {
  16056. "description": "是否有效 - 0:无效 1:有效",
  16057. "type": "integer"
  16058. },
  16059. "listingselecttype": {
  16060. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16061. "type": "integer"
  16062. },
  16063. "marginalgorithm": {
  16064. "description": "保证金收取方式 1:比率 2:固定",
  16065. "type": "integer"
  16066. },
  16067. "marginvalue": {
  16068. "description": "即市保证金设置值",
  16069. "type": "number"
  16070. },
  16071. "marketid": {
  16072. "description": "市场ID",
  16073. "type": "integer"
  16074. },
  16075. "marketmaxsub": {
  16076. "description": "市价最大偏移范围",
  16077. "type": "number"
  16078. },
  16079. "marketname": {
  16080. "description": "市场名称",
  16081. "type": "string"
  16082. },
  16083. "memberuserid": {
  16084. "description": "所属会员UserID",
  16085. "type": "integer"
  16086. },
  16087. "openexchagechargevalue": {
  16088. "description": "建仓交易所手续费设置值",
  16089. "type": "number"
  16090. },
  16091. "openfeealgorithm": {
  16092. "description": "建仓手续费收取方式 1:比率 2:固定",
  16093. "type": "integer"
  16094. },
  16095. "openfreezecharge": {
  16096. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16097. "type": "number"
  16098. },
  16099. "openmemberchargevalue": {
  16100. "description": "建仓会员手续费设置值",
  16101. "type": "number"
  16102. },
  16103. "openqty": {
  16104. "description": "开仓数量(先建后平操作,需要记录)",
  16105. "type": "integer"
  16106. },
  16107. "opentradeqty": {
  16108. "description": "开仓成交数量(先建后平操作,需要记录)",
  16109. "type": "integer"
  16110. },
  16111. "openunfreezecharge": {
  16112. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16113. "type": "number"
  16114. },
  16115. "operatetype": {
  16116. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16117. "type": "integer"
  16118. },
  16119. "operatorid": {
  16120. "description": "登录账号(LoginID)",
  16121. "type": "integer"
  16122. },
  16123. "optiontype": {
  16124. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16125. "type": "integer"
  16126. },
  16127. "orderid": {
  16128. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16129. "type": "string"
  16130. },
  16131. "orderprice": {
  16132. "description": "委托价格",
  16133. "type": "number"
  16134. },
  16135. "orderqty": {
  16136. "description": "委托数量",
  16137. "type": "integer"
  16138. },
  16139. "ordersrc": {
  16140. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16141. "type": "integer"
  16142. },
  16143. "orderstatus": {
  16144. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16145. "type": "integer"
  16146. },
  16147. "ordertime": {
  16148. "description": "委托时间",
  16149. "type": "string"
  16150. },
  16151. "preexerciseprice": {
  16152. "description": "预申报价格",
  16153. "type": "number"
  16154. },
  16155. "premium": {
  16156. "description": "权利金",
  16157. "type": "number"
  16158. },
  16159. "preorderid": {
  16160. "description": "关联预埋单号(止盈止损单时填写)",
  16161. "type": "string"
  16162. },
  16163. "pricemode": {
  16164. "description": "取价方式 - 1:市价 2: 限价",
  16165. "type": "integer"
  16166. },
  16167. "quoteid": {
  16168. "description": "报价单ID",
  16169. "type": "integer"
  16170. },
  16171. "relatedid": {
  16172. "description": "关联单号(交割单)",
  16173. "type": "string"
  16174. },
  16175. "retcode": {
  16176. "description": "错误代码",
  16177. "type": "integer"
  16178. },
  16179. "sessionid": {
  16180. "description": "会话ID",
  16181. "type": "integer"
  16182. },
  16183. "tradedate": {
  16184. "description": "交易日(yyyyMMdd)",
  16185. "type": "string"
  16186. },
  16187. "trademode": {
  16188. "description": "交易模式",
  16189. "type": "integer"
  16190. },
  16191. "tradeproperty": {
  16192. "description": "交易属性",
  16193. "type": "integer"
  16194. },
  16195. "tradeqty": {
  16196. "description": "成交数量",
  16197. "type": "integer"
  16198. },
  16199. "unfreezecharge": {
  16200. "description": "解冻手续费",
  16201. "type": "number"
  16202. },
  16203. "unfreezemargin": {
  16204. "description": "解冻保证金",
  16205. "type": "number"
  16206. },
  16207. "updatetime": {
  16208. "description": "更新时间",
  16209. "type": "string"
  16210. },
  16211. "uuid": {
  16212. "description": "发起端唯一id",
  16213. "type": "string"
  16214. },
  16215. "validtime": {
  16216. "description": "有效期限",
  16217. "type": "string"
  16218. },
  16219. "validtype": {
  16220. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16221. "type": "integer"
  16222. },
  16223. "volumetype": {
  16224. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16225. "type": "integer"
  16226. }
  16227. }
  16228. },
  16229. "order.QueryTradeDetailRsp": {
  16230. "type": "object",
  16231. "required": [
  16232. "accountid",
  16233. "buyorsell",
  16234. "goodsid",
  16235. "marketid",
  16236. "memberuserid",
  16237. "orderid",
  16238. "tradeamount",
  16239. "tradedate",
  16240. "tradeid",
  16241. "tradeprice",
  16242. "tradeqty",
  16243. "tradetime"
  16244. ],
  16245. "properties": {
  16246. "accountid": {
  16247. "description": "账户ID[报价币种]",
  16248. "type": "integer"
  16249. },
  16250. "buildtype": {
  16251. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16252. "type": "integer"
  16253. },
  16254. "buyorsell": {
  16255. "description": "方向 - 0:买 1:卖",
  16256. "type": "integer"
  16257. },
  16258. "charge": {
  16259. "description": "手续费",
  16260. "type": "number"
  16261. },
  16262. "closecharge": {
  16263. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16264. "type": "number"
  16265. },
  16266. "closeexchagechargevalue": {
  16267. "description": "平仓交易所手续费设置值",
  16268. "type": "number"
  16269. },
  16270. "closefeealgorithm": {
  16271. "description": "平仓手续费收取方式 1:比率 2:固定",
  16272. "type": "integer"
  16273. },
  16274. "closememberchargevalue": {
  16275. "description": "平仓会员手续费设置值",
  16276. "type": "number"
  16277. },
  16278. "closepl": {
  16279. "description": "平仓盈亏",
  16280. "type": "number"
  16281. },
  16282. "closepl2": {
  16283. "description": "平仓盈亏[逐笔]",
  16284. "type": "number"
  16285. },
  16286. "closeqty": {
  16287. "description": "平仓数量(先建后平操作 需要记录)",
  16288. "type": "integer"
  16289. },
  16290. "creditamount": {
  16291. "description": "授信金额",
  16292. "type": "number"
  16293. },
  16294. "gcaccountid": {
  16295. "description": "账户ID[合约币种]",
  16296. "type": "integer"
  16297. },
  16298. "goodscode": {
  16299. "description": "商品代码",
  16300. "type": "string"
  16301. },
  16302. "goodsid": {
  16303. "description": "商品ID",
  16304. "type": "integer"
  16305. },
  16306. "goodsname": {
  16307. "description": "商品名称",
  16308. "type": "string"
  16309. },
  16310. "intclosepl": {
  16311. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16312. "type": "integer"
  16313. },
  16314. "isconfirmexercise": {
  16315. "description": "是否确认行权- 0:否 1:是",
  16316. "type": "integer"
  16317. },
  16318. "ismain": {
  16319. "description": "是否主单 - 0:不是 1:是",
  16320. "type": "integer"
  16321. },
  16322. "ispreexercise": {
  16323. "description": "是否预申报- 0:否 1:是",
  16324. "type": "integer"
  16325. },
  16326. "isreckoned": {
  16327. "description": "是否结算 - 0:未结算 1:已结算",
  16328. "type": "integer"
  16329. },
  16330. "listingselecttype": {
  16331. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16332. "type": "integer"
  16333. },
  16334. "marketid": {
  16335. "description": "市场ID",
  16336. "type": "integer"
  16337. },
  16338. "marketname": {
  16339. "description": "市场名称",
  16340. "type": "string"
  16341. },
  16342. "matchaccountid": {
  16343. "description": "对手账号id",
  16344. "type": "integer"
  16345. },
  16346. "memberuserid": {
  16347. "description": "会员id 个人投资者 需要填写",
  16348. "type": "integer"
  16349. },
  16350. "opencharge": {
  16351. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16352. "type": "number"
  16353. },
  16354. "openexchagechargevalue": {
  16355. "description": "建仓交易所手续费设置值",
  16356. "type": "number"
  16357. },
  16358. "openfeealgorithm": {
  16359. "description": "建仓手续费收取方式 1:比率 2:固定",
  16360. "type": "integer"
  16361. },
  16362. "openmemberchargevalue": {
  16363. "description": "建仓会员手续费设置值",
  16364. "type": "number"
  16365. },
  16366. "openqty": {
  16367. "description": "开仓数量(先建后平操作 需要记录)",
  16368. "type": "integer"
  16369. },
  16370. "optiontype": {
  16371. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16372. "type": "integer"
  16373. },
  16374. "orderid": {
  16375. "description": "委托单号",
  16376. "type": "string"
  16377. },
  16378. "performanceplanid": {
  16379. "description": "履约计划ID[期权]",
  16380. "type": "integer"
  16381. },
  16382. "performancestatus": {
  16383. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16384. "type": "integer"
  16385. },
  16386. "preexerciseprice": {
  16387. "description": "预申报价格",
  16388. "type": "number"
  16389. },
  16390. "premium": {
  16391. "description": "权利金 - [持仓单的权利金]",
  16392. "type": "number"
  16393. },
  16394. "relatedouttradeid": {
  16395. "description": "关联外部成交单ID",
  16396. "type": "integer"
  16397. },
  16398. "status": {
  16399. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16400. "type": "integer"
  16401. },
  16402. "tradeamount": {
  16403. "description": "成交金额[账户币种,用于所有权]",
  16404. "type": "number"
  16405. },
  16406. "tradedate": {
  16407. "description": "交易日(yyyyMMdd)",
  16408. "type": "string"
  16409. },
  16410. "tradeid": {
  16411. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16412. "type": "string"
  16413. },
  16414. "trademode": {
  16415. "description": "交易模式",
  16416. "type": "integer"
  16417. },
  16418. "tradeprice": {
  16419. "description": "成交价格",
  16420. "type": "number"
  16421. },
  16422. "tradeproperty": {
  16423. "description": "交易属性",
  16424. "type": "integer"
  16425. },
  16426. "tradeqty": {
  16427. "description": "成交数量",
  16428. "type": "integer"
  16429. },
  16430. "tradetime": {
  16431. "description": "成交时间",
  16432. "type": "string"
  16433. },
  16434. "tradetype": {
  16435. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16436. "type": "integer"
  16437. }
  16438. }
  16439. },
  16440. "order.QueryTradeOrderDetailRsp": {
  16441. "type": "object",
  16442. "required": [
  16443. "accountid",
  16444. "buildtype",
  16445. "buyorsell",
  16446. "goodsid",
  16447. "marketid",
  16448. "operatetype",
  16449. "orderqty",
  16450. "ordertime",
  16451. "pricemode",
  16452. "tradedate",
  16453. "validtype"
  16454. ],
  16455. "properties": {
  16456. "accountid": {
  16457. "description": "账户ID[报价币种]",
  16458. "type": "integer"
  16459. },
  16460. "buildtype": {
  16461. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16462. "type": "integer"
  16463. },
  16464. "buyorsell": {
  16465. "description": "买卖 - 0:买 1:卖",
  16466. "type": "integer"
  16467. },
  16468. "cancelorderid": {
  16469. "description": "撤单单号(撤单时填写)",
  16470. "type": "string"
  16471. },
  16472. "cancelqty": {
  16473. "description": "撤单数量",
  16474. "type": "integer"
  16475. },
  16476. "clienttype": {
  16477. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16478. "type": "integer"
  16479. },
  16480. "closefreezecharge": {
  16481. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16482. "type": "number"
  16483. },
  16484. "closeqty": {
  16485. "description": "平仓数量(先建后平操作 需要记录)",
  16486. "type": "integer"
  16487. },
  16488. "closetradeqty": {
  16489. "description": "平仓成交数量(先建后平操作,需要记录)",
  16490. "type": "integer"
  16491. },
  16492. "closeunfreezecharge": {
  16493. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16494. "type": "number"
  16495. },
  16496. "delistingtype": {
  16497. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16498. "type": "integer"
  16499. },
  16500. "enableqty": {
  16501. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16502. "type": "integer"
  16503. },
  16504. "freezecharge": {
  16505. "description": "冻结手续费",
  16506. "type": "number"
  16507. },
  16508. "freezemargin": {
  16509. "description": "冻结保证金(冻结交易金额)",
  16510. "type": "number"
  16511. },
  16512. "goodscode": {
  16513. "description": "商品代码",
  16514. "type": "string"
  16515. },
  16516. "goodsid": {
  16517. "description": "商品ID",
  16518. "type": "integer"
  16519. },
  16520. "goodsname": {
  16521. "description": "商品名称",
  16522. "type": "string"
  16523. },
  16524. "listingselecttype": {
  16525. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16526. "type": "integer"
  16527. },
  16528. "marketid": {
  16529. "description": "市场ID",
  16530. "type": "integer"
  16531. },
  16532. "marketname": {
  16533. "description": "市场名称",
  16534. "type": "string"
  16535. },
  16536. "openfreezecharge": {
  16537. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16538. "type": "number"
  16539. },
  16540. "openqty": {
  16541. "description": "开仓数量(先建后平操作,需要记录)",
  16542. "type": "integer"
  16543. },
  16544. "opentradeqty": {
  16545. "description": "开仓成交数量(先建后平操作,需要记录)",
  16546. "type": "integer"
  16547. },
  16548. "openunfreezecharge": {
  16549. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16550. "type": "number"
  16551. },
  16552. "operatetype": {
  16553. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16554. "type": "integer"
  16555. },
  16556. "operatorid": {
  16557. "description": "登录账号(LoginID)",
  16558. "type": "integer"
  16559. },
  16560. "orderid": {
  16561. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16562. "type": "string"
  16563. },
  16564. "orderprice": {
  16565. "description": "委托价格",
  16566. "type": "number"
  16567. },
  16568. "orderqty": {
  16569. "description": "委托数量",
  16570. "type": "integer"
  16571. },
  16572. "ordersrc": {
  16573. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16574. "type": "integer"
  16575. },
  16576. "orderstatus": {
  16577. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16578. "type": "integer"
  16579. },
  16580. "ordertime": {
  16581. "description": "委托时间",
  16582. "type": "string"
  16583. },
  16584. "preorderid": {
  16585. "description": "关联预埋单号(止盈止损单时填写)",
  16586. "type": "string"
  16587. },
  16588. "pricemode": {
  16589. "description": "取价方式 - 1:市价 2: 限价",
  16590. "type": "integer"
  16591. },
  16592. "relatedid": {
  16593. "description": "关联单号(交割单)",
  16594. "type": "string"
  16595. },
  16596. "tradedate": {
  16597. "description": "交易日(yyyyMMdd)",
  16598. "type": "string"
  16599. },
  16600. "trademode": {
  16601. "description": "交易模式",
  16602. "type": "integer"
  16603. },
  16604. "tradeqty": {
  16605. "description": "成交数量",
  16606. "type": "integer"
  16607. },
  16608. "unfreezecharge": {
  16609. "description": "解冻手续费",
  16610. "type": "number"
  16611. },
  16612. "unfreezemargin": {
  16613. "description": "解冻保证金",
  16614. "type": "number"
  16615. },
  16616. "validtime": {
  16617. "description": "有效期限",
  16618. "type": "string"
  16619. },
  16620. "validtype": {
  16621. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16622. "type": "integer"
  16623. },
  16624. "volumetype": {
  16625. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16626. "type": "integer"
  16627. }
  16628. }
  16629. },
  16630. "order.QueryTradePositionRsp": {
  16631. "type": "object",
  16632. "required": [
  16633. "goodsid"
  16634. ],
  16635. "properties": {
  16636. "accountid": {
  16637. "description": "资金账户",
  16638. "type": "integer"
  16639. },
  16640. "agreeunit": {
  16641. "description": "合约单位",
  16642. "type": "number"
  16643. },
  16644. "averageprice": {
  16645. "description": "持仓均价",
  16646. "type": "number"
  16647. },
  16648. "buyorsell": {
  16649. "description": "方向 - 0:买 1:卖",
  16650. "type": "integer"
  16651. },
  16652. "closetotalqty": {
  16653. "description": "平仓总数量",
  16654. "type": "integer"
  16655. },
  16656. "curholderamount": {
  16657. "description": "当前持仓总金额[商品币种]",
  16658. "type": "number"
  16659. },
  16660. "curpositionqty": {
  16661. "description": "当前持仓总数量",
  16662. "type": "integer"
  16663. },
  16664. "currencyid": {
  16665. "description": "报价货币ID",
  16666. "type": "integer"
  16667. },
  16668. "curtdposition": {
  16669. "description": "期末今日头寸",
  16670. "type": "integer"
  16671. },
  16672. "decimalplace": {
  16673. "description": "报价小数位",
  16674. "type": "integer"
  16675. },
  16676. "enableqty": {
  16677. "description": "可用量",
  16678. "type": "integer"
  16679. },
  16680. "fretdposition": {
  16681. "description": "冻结今日头寸",
  16682. "type": "integer"
  16683. },
  16684. "frozenqty": {
  16685. "description": "持仓冻结数量",
  16686. "type": "integer"
  16687. },
  16688. "goodscode": {
  16689. "description": "商品代码",
  16690. "type": "string"
  16691. },
  16692. "goodsid": {
  16693. "description": "商品Id",
  16694. "type": "integer"
  16695. },
  16696. "goodsname": {
  16697. "description": "商品名称",
  16698. "type": "string"
  16699. },
  16700. "goodunit": {
  16701. "description": "报价单位",
  16702. "type": "string"
  16703. },
  16704. "goodunitid": {
  16705. "description": "报价单位ID",
  16706. "type": "integer"
  16707. },
  16708. "holderamount": {
  16709. "description": "期初持仓总金额[商品币种]",
  16710. "type": "number"
  16711. },
  16712. "marketid": {
  16713. "description": "所属市场ID",
  16714. "type": "integer"
  16715. },
  16716. "openreqqty": {
  16717. "description": "开仓申请数量(用于比较最大持仓数量)",
  16718. "type": "integer"
  16719. },
  16720. "opentotalqty": {
  16721. "description": "开仓总数量",
  16722. "type": "integer"
  16723. },
  16724. "otherfrozenqty": {
  16725. "description": "持仓其他冻结数量(交割冻结)",
  16726. "type": "integer"
  16727. },
  16728. "positionqty": {
  16729. "description": "期初持仓数量",
  16730. "type": "integer"
  16731. },
  16732. "tnqty": {
  16733. "description": "T+N冻结总量",
  16734. "type": "integer"
  16735. },
  16736. "tnusedqty": {
  16737. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16738. "type": "integer"
  16739. },
  16740. "trademode": {
  16741. "description": "交易模式",
  16742. "type": "integer"
  16743. },
  16744. "usedmargin": {
  16745. "description": "占用保证金[商品币种]",
  16746. "type": "number"
  16747. }
  16748. }
  16749. },
  16750. "quote.HistoryData": {
  16751. "type": "object",
  16752. "properties": {
  16753. "c": {
  16754. "description": "收盘价",
  16755. "type": "number"
  16756. },
  16757. "f": {
  16758. "description": "是否补充数据",
  16759. "type": "boolean"
  16760. },
  16761. "h": {
  16762. "description": "最高价",
  16763. "type": "number"
  16764. },
  16765. "hv": {
  16766. "description": "持仓量",
  16767. "type": "integer"
  16768. },
  16769. "l": {
  16770. "description": "最低价",
  16771. "type": "number"
  16772. },
  16773. "o": {
  16774. "description": "开盘价",
  16775. "type": "number"
  16776. },
  16777. "s": {
  16778. "description": "结算价,日线周期(包括)以上才有",
  16779. "type": "number"
  16780. },
  16781. "ts": {
  16782. "description": "时间",
  16783. "type": "string"
  16784. },
  16785. "tt": {
  16786. "description": "总金额",
  16787. "type": "number"
  16788. },
  16789. "tv": {
  16790. "description": "总量",
  16791. "type": "integer"
  16792. }
  16793. }
  16794. },
  16795. "quote.QueryQuoteDayRsp": {
  16796. "type": "object",
  16797. "properties": {
  16798. "ask": {
  16799. "description": "卖1",
  16800. "type": "number"
  16801. },
  16802. "ask10": {
  16803. "description": "卖10",
  16804. "type": "number"
  16805. },
  16806. "ask2": {
  16807. "description": "卖2",
  16808. "type": "number"
  16809. },
  16810. "ask3": {
  16811. "description": "卖3",
  16812. "type": "number"
  16813. },
  16814. "ask4": {
  16815. "description": "卖4",
  16816. "type": "number"
  16817. },
  16818. "ask5": {
  16819. "description": "卖5",
  16820. "type": "number"
  16821. },
  16822. "ask6": {
  16823. "description": "卖6",
  16824. "type": "number"
  16825. },
  16826. "ask7": {
  16827. "description": "卖7",
  16828. "type": "number"
  16829. },
  16830. "ask8": {
  16831. "description": "卖8",
  16832. "type": "number"
  16833. },
  16834. "ask9": {
  16835. "description": "卖9",
  16836. "type": "number"
  16837. },
  16838. "askorderid": {
  16839. "description": "卖单号1",
  16840. "type": "integer"
  16841. },
  16842. "askorderid2": {
  16843. "description": "卖单号2",
  16844. "type": "integer"
  16845. },
  16846. "askorderid3": {
  16847. "description": "卖单号3",
  16848. "type": "integer"
  16849. },
  16850. "askorderid4": {
  16851. "description": "卖单号4",
  16852. "type": "integer"
  16853. },
  16854. "askorderid5": {
  16855. "description": "卖单号5",
  16856. "type": "integer"
  16857. },
  16858. "askordervolume": {
  16859. "description": "卖单量1",
  16860. "type": "integer"
  16861. },
  16862. "askordervolume10": {
  16863. "description": "卖单量10",
  16864. "type": "integer"
  16865. },
  16866. "askordervolume2": {
  16867. "description": "卖单量2",
  16868. "type": "integer"
  16869. },
  16870. "askordervolume3": {
  16871. "description": "卖单量3",
  16872. "type": "integer"
  16873. },
  16874. "askordervolume4": {
  16875. "description": "卖单量4",
  16876. "type": "integer"
  16877. },
  16878. "askordervolume5": {
  16879. "description": "卖单量5",
  16880. "type": "integer"
  16881. },
  16882. "askordervolume6": {
  16883. "description": "卖单量6",
  16884. "type": "integer"
  16885. },
  16886. "askordervolume7": {
  16887. "description": "卖单量7",
  16888. "type": "integer"
  16889. },
  16890. "askordervolume8": {
  16891. "description": "卖单量8",
  16892. "type": "integer"
  16893. },
  16894. "askordervolume9": {
  16895. "description": "卖单量9",
  16896. "type": "integer"
  16897. },
  16898. "askqueueinfo": {
  16899. "description": "大利市卖港股用",
  16900. "type": "string"
  16901. },
  16902. "askvolume": {
  16903. "description": "卖量1",
  16904. "type": "integer"
  16905. },
  16906. "askvolume10": {
  16907. "description": "卖量10",
  16908. "type": "integer"
  16909. },
  16910. "askvolume2": {
  16911. "description": "卖量2",
  16912. "type": "integer"
  16913. },
  16914. "askvolume3": {
  16915. "description": "卖量3",
  16916. "type": "integer"
  16917. },
  16918. "askvolume4": {
  16919. "description": "卖量4",
  16920. "type": "integer"
  16921. },
  16922. "askvolume5": {
  16923. "description": "卖量5",
  16924. "type": "integer"
  16925. },
  16926. "askvolume6": {
  16927. "description": "卖量6",
  16928. "type": "integer"
  16929. },
  16930. "askvolume7": {
  16931. "description": "卖量7",
  16932. "type": "integer"
  16933. },
  16934. "askvolume8": {
  16935. "description": "卖量8",
  16936. "type": "integer"
  16937. },
  16938. "askvolume9": {
  16939. "description": "卖量9",
  16940. "type": "integer"
  16941. },
  16942. "averageprice": {
  16943. "description": "均价",
  16944. "type": "number"
  16945. },
  16946. "bid": {
  16947. "description": "买1",
  16948. "type": "number"
  16949. },
  16950. "bid10": {
  16951. "description": "买10",
  16952. "type": "number"
  16953. },
  16954. "bid2": {
  16955. "description": "买2",
  16956. "type": "number"
  16957. },
  16958. "bid3": {
  16959. "description": "买3",
  16960. "type": "number"
  16961. },
  16962. "bid4": {
  16963. "description": "买4",
  16964. "type": "number"
  16965. },
  16966. "bid5": {
  16967. "description": "买5",
  16968. "type": "number"
  16969. },
  16970. "bid6": {
  16971. "description": "买6",
  16972. "type": "number"
  16973. },
  16974. "bid7": {
  16975. "description": "买7",
  16976. "type": "number"
  16977. },
  16978. "bid8": {
  16979. "description": "买8",
  16980. "type": "number"
  16981. },
  16982. "bid9": {
  16983. "description": "买9",
  16984. "type": "number"
  16985. },
  16986. "bidorderid": {
  16987. "description": "买单号1",
  16988. "type": "integer"
  16989. },
  16990. "bidorderid2": {
  16991. "description": "买单号2",
  16992. "type": "integer"
  16993. },
  16994. "bidorderid3": {
  16995. "description": "买单号3",
  16996. "type": "integer"
  16997. },
  16998. "bidorderid4": {
  16999. "description": "买单号4",
  17000. "type": "integer"
  17001. },
  17002. "bidorderid5": {
  17003. "description": "买单号5",
  17004. "type": "integer"
  17005. },
  17006. "bidordervolume": {
  17007. "description": "买单量1",
  17008. "type": "integer"
  17009. },
  17010. "bidordervolume10": {
  17011. "description": "买单量10",
  17012. "type": "integer"
  17013. },
  17014. "bidordervolume2": {
  17015. "description": "买单量2",
  17016. "type": "integer"
  17017. },
  17018. "bidordervolume3": {
  17019. "description": "买单量3",
  17020. "type": "integer"
  17021. },
  17022. "bidordervolume4": {
  17023. "description": "买单量4",
  17024. "type": "integer"
  17025. },
  17026. "bidordervolume5": {
  17027. "description": "买单量5",
  17028. "type": "integer"
  17029. },
  17030. "bidordervolume6": {
  17031. "description": "买单量6",
  17032. "type": "integer"
  17033. },
  17034. "bidordervolume7": {
  17035. "description": "买单量7",
  17036. "type": "integer"
  17037. },
  17038. "bidordervolume8": {
  17039. "description": "买单量8",
  17040. "type": "integer"
  17041. },
  17042. "bidordervolume9": {
  17043. "description": "买单量9",
  17044. "type": "integer"
  17045. },
  17046. "bidqueueinfo": {
  17047. "description": "大利市买港股用",
  17048. "type": "string"
  17049. },
  17050. "bidvolume": {
  17051. "description": "买量1",
  17052. "type": "integer"
  17053. },
  17054. "bidvolume10": {
  17055. "description": "买量10",
  17056. "type": "integer"
  17057. },
  17058. "bidvolume2": {
  17059. "description": "买量2",
  17060. "type": "integer"
  17061. },
  17062. "bidvolume3": {
  17063. "description": "买量3",
  17064. "type": "integer"
  17065. },
  17066. "bidvolume4": {
  17067. "description": "买量4",
  17068. "type": "integer"
  17069. },
  17070. "bidvolume5": {
  17071. "description": "买量5",
  17072. "type": "integer"
  17073. },
  17074. "bidvolume6": {
  17075. "description": "买量6",
  17076. "type": "integer"
  17077. },
  17078. "bidvolume7": {
  17079. "description": "买量7",
  17080. "type": "integer"
  17081. },
  17082. "bidvolume8": {
  17083. "description": "买量8",
  17084. "type": "integer"
  17085. },
  17086. "bidvolume9": {
  17087. "description": "买量9",
  17088. "type": "integer"
  17089. },
  17090. "calloptionpremiums": {
  17091. "description": "认购期权1",
  17092. "type": "integer"
  17093. },
  17094. "calloptionpremiums2": {
  17095. "description": "认购期权2",
  17096. "type": "integer"
  17097. },
  17098. "calloptionpremiums3": {
  17099. "description": "认购期权3",
  17100. "type": "integer"
  17101. },
  17102. "calloptionpremiums4": {
  17103. "description": "认购期权4",
  17104. "type": "integer"
  17105. },
  17106. "calloptionpremiums5": {
  17107. "description": "认购期权5",
  17108. "type": "integer"
  17109. },
  17110. "cleartime": {
  17111. "description": "清盘时间",
  17112. "type": "integer"
  17113. },
  17114. "exchangecode": {
  17115. "description": "交易所代码",
  17116. "type": "integer"
  17117. },
  17118. "exchangedate": {
  17119. "description": "交易日",
  17120. "type": "integer"
  17121. },
  17122. "goodscode": {
  17123. "description": "商品代码",
  17124. "type": "string"
  17125. },
  17126. "grepmarketprice": {
  17127. "description": "暗盘价 港股专用",
  17128. "type": "number"
  17129. },
  17130. "highest": {
  17131. "description": "最高价",
  17132. "type": "number"
  17133. },
  17134. "holdincrement": {
  17135. "description": "单笔持仓",
  17136. "type": "integer"
  17137. },
  17138. "holdvolume": {
  17139. "description": "持仓",
  17140. "type": "integer"
  17141. },
  17142. "iep": {
  17143. "description": "平衡价 港股专用",
  17144. "type": "number"
  17145. },
  17146. "iev": {
  17147. "description": "平衡量 港股专用",
  17148. "type": "number"
  17149. },
  17150. "inventory": {
  17151. "description": "库存",
  17152. "type": "integer"
  17153. },
  17154. "iscleared": {
  17155. "description": "是否清盘标志",
  17156. "type": "integer"
  17157. },
  17158. "issettled": {
  17159. "description": "是否结算标志",
  17160. "type": "integer"
  17161. },
  17162. "last": {
  17163. "description": "最新价",
  17164. "type": "number"
  17165. },
  17166. "lastlot": {
  17167. "description": "最新成交手数",
  17168. "type": "integer"
  17169. },
  17170. "lasttime": {
  17171. "description": "行情时间(只有现价变化行情时间才变化)",
  17172. "type": "string"
  17173. },
  17174. "lastturnover": {
  17175. "description": "最新成交金额",
  17176. "type": "number"
  17177. },
  17178. "lastvolume": {
  17179. "description": "最新成交量",
  17180. "type": "integer"
  17181. },
  17182. "limitdown": {
  17183. "description": "跌停价",
  17184. "type": "number"
  17185. },
  17186. "limitup": {
  17187. "description": "涨停价",
  17188. "type": "number"
  17189. },
  17190. "lowest": {
  17191. "description": "最低价",
  17192. "type": "number"
  17193. },
  17194. "nontotalholdervolume": {
  17195. "description": "非交易持仓量",
  17196. "type": "integer"
  17197. },
  17198. "nontotallot": {
  17199. "description": "非交易总手数",
  17200. "type": "integer"
  17201. },
  17202. "nontotalturnover": {
  17203. "description": "非交易总金额",
  17204. "type": "integer"
  17205. },
  17206. "nontotalvolume": {
  17207. "description": "非交易总量",
  17208. "type": "integer"
  17209. },
  17210. "opened": {
  17211. "description": "开盘价",
  17212. "type": "number"
  17213. },
  17214. "opentime": {
  17215. "description": "开盘时间",
  17216. "type": "string"
  17217. },
  17218. "orderid": {
  17219. "description": "序号",
  17220. "type": "integer"
  17221. },
  17222. "preclose": {
  17223. "description": "昨收",
  17224. "type": "number"
  17225. },
  17226. "preholdvolume": {
  17227. "description": "昨持仓",
  17228. "type": "integer"
  17229. },
  17230. "presettle": {
  17231. "description": "昨结价",
  17232. "type": "number"
  17233. },
  17234. "publictradetype": {
  17235. "description": "公共交易标志类型 港股专用",
  17236. "type": "string"
  17237. },
  17238. "putoptionpremiums": {
  17239. "description": "认沽期权1",
  17240. "type": "integer"
  17241. },
  17242. "putoptionpremiums2": {
  17243. "description": "认沽期权2",
  17244. "type": "integer"
  17245. },
  17246. "putoptionpremiums3": {
  17247. "description": "认沽期权3",
  17248. "type": "integer"
  17249. },
  17250. "putoptionpremiums4": {
  17251. "description": "认沽期权4",
  17252. "type": "integer"
  17253. },
  17254. "putoptionpremiums5": {
  17255. "description": "认沽期权5",
  17256. "type": "integer"
  17257. },
  17258. "settle": {
  17259. "description": "结算价",
  17260. "type": "number"
  17261. },
  17262. "strikeprice": {
  17263. "description": "发行价",
  17264. "type": "number"
  17265. },
  17266. "totalaskvolume": {
  17267. "description": "内盘",
  17268. "type": "integer"
  17269. },
  17270. "totalbidvolume": {
  17271. "description": "外盘",
  17272. "type": "integer"
  17273. },
  17274. "totallot": {
  17275. "description": "总手数",
  17276. "type": "integer"
  17277. },
  17278. "totalturnover": {
  17279. "description": "总金额",
  17280. "type": "number"
  17281. },
  17282. "totalvolume": {
  17283. "description": "总量",
  17284. "type": "integer"
  17285. },
  17286. "utclasttime": {
  17287. "description": "utc的行情时间",
  17288. "type": "string"
  17289. }
  17290. }
  17291. },
  17292. "quote.QueryTSDataRsp": {
  17293. "type": "object",
  17294. "properties": {
  17295. "decimalPlace": {
  17296. "description": "小数位",
  17297. "type": "integer"
  17298. },
  17299. "endTime": {
  17300. "description": "结束时间",
  17301. "type": "string"
  17302. },
  17303. "goodsCode": {
  17304. "description": "商品代码",
  17305. "type": "string"
  17306. },
  17307. "historyDatas": {
  17308. "description": "历史数据",
  17309. "type": "array",
  17310. "items": {
  17311. "$ref": "#/definitions/quote.HistoryData"
  17312. }
  17313. },
  17314. "outGoodsCode": {
  17315. "description": "外部商品代码",
  17316. "type": "string"
  17317. },
  17318. "preSettle": {
  17319. "description": "昨结",
  17320. "type": "number"
  17321. },
  17322. "startTime": {
  17323. "description": "开始时间",
  17324. "type": "string"
  17325. },
  17326. "tradeDate": {
  17327. "description": "交易日",
  17328. "type": "string"
  17329. }
  17330. }
  17331. },
  17332. "szdz.QueryConvertLogRsp": {
  17333. "type": "object",
  17334. "required": [
  17335. "logid"
  17336. ],
  17337. "properties": {
  17338. "accountid": {
  17339. "description": "资金账户ID",
  17340. "type": "integer"
  17341. },
  17342. "clientticket": {
  17343. "description": "客户端流水号",
  17344. "type": "string"
  17345. },
  17346. "converttype": {
  17347. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17348. "type": "integer"
  17349. },
  17350. "createtime": {
  17351. "description": "记账时间",
  17352. "type": "string"
  17353. },
  17354. "daymaxvalue": {
  17355. "description": "配置当日最大转入限制",
  17356. "type": "number"
  17357. },
  17358. "daymaxvalue2": {
  17359. "description": "配置当日最大转入限制(转入)",
  17360. "type": "number"
  17361. },
  17362. "goodscode": {
  17363. "description": "商品代码",
  17364. "type": "string"
  17365. },
  17366. "goodsname": {
  17367. "description": "商品名称",
  17368. "type": "string"
  17369. },
  17370. "handlestatus": {
  17371. "description": "处理状态",
  17372. "type": "integer"
  17373. },
  17374. "innergoodsid": {
  17375. "description": "内部商品ID",
  17376. "type": "integer"
  17377. },
  17378. "inratio": {
  17379. "description": "配置转入比值",
  17380. "type": "integer"
  17381. },
  17382. "invalue": {
  17383. "description": "目标值",
  17384. "type": "number"
  17385. },
  17386. "logid": {
  17387. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17388. "type": "integer"
  17389. },
  17390. "mobile": {
  17391. "description": "手机号码(加密存储)",
  17392. "type": "string"
  17393. },
  17394. "outergoodscode": {
  17395. "description": "外部商品代码[JD\\PD]",
  17396. "type": "string"
  17397. },
  17398. "outratio": {
  17399. "description": "配置转出比值",
  17400. "type": "integer"
  17401. },
  17402. "outvalue": {
  17403. "description": "源值",
  17404. "type": "number"
  17405. },
  17406. "pddecimalplace": {
  17407. "description": "PD小数位",
  17408. "type": "integer"
  17409. },
  17410. "qty": {
  17411. "description": "数量",
  17412. "type": "string"
  17413. },
  17414. "remark": {
  17415. "description": "备注",
  17416. "type": "string"
  17417. },
  17418. "sessionid": {
  17419. "description": "会话ID",
  17420. "type": "integer"
  17421. },
  17422. "timemaxvalue": {
  17423. "description": "配置单次最大转入限制",
  17424. "type": "number"
  17425. },
  17426. "timemaxvalue2": {
  17427. "description": "配置单次最大转入限制(转入)",
  17428. "type": "number"
  17429. },
  17430. "timeminvalue": {
  17431. "description": "配置单次最小数量限制",
  17432. "type": "number"
  17433. },
  17434. "timeminvalue2": {
  17435. "description": "配置单次最小数量限制(转入)",
  17436. "type": "number"
  17437. },
  17438. "tradedate": {
  17439. "description": "交易日(yyyyMMdd)",
  17440. "type": "string"
  17441. },
  17442. "userid": {
  17443. "description": "用户ID",
  17444. "type": "integer"
  17445. }
  17446. }
  17447. },
  17448. "szdz.QueryGoodsPickupRsp": {
  17449. "type": "object",
  17450. "required": [
  17451. "takeorderid"
  17452. ],
  17453. "properties": {
  17454. "accountid": {
  17455. "description": "账户ID",
  17456. "type": "integer"
  17457. },
  17458. "address": {
  17459. "description": "提货人详细地址",
  17460. "type": "string"
  17461. },
  17462. "auditer": {
  17463. "description": "审核人",
  17464. "type": "integer"
  17465. },
  17466. "audittime": {
  17467. "description": "审核时间",
  17468. "type": "string"
  17469. },
  17470. "cardnum": {
  17471. "description": "提货人证件号码",
  17472. "type": "string"
  17473. },
  17474. "cardtypeid": {
  17475. "description": "提货人证件类型",
  17476. "type": "integer"
  17477. },
  17478. "checkremark": {
  17479. "description": "审核备注",
  17480. "type": "string"
  17481. },
  17482. "goodscode": {
  17483. "description": "商品代码",
  17484. "type": "string"
  17485. },
  17486. "goodsid": {
  17487. "description": "商品ID",
  17488. "type": "integer"
  17489. },
  17490. "goodsname": {
  17491. "description": "商品名称",
  17492. "type": "string"
  17493. },
  17494. "handlestatus": {
  17495. "description": "处理状态",
  17496. "type": "integer"
  17497. },
  17498. "marketid": {
  17499. "description": "市场ID",
  17500. "type": "integer"
  17501. },
  17502. "phonenum": {
  17503. "description": "提货人联系方式",
  17504. "type": "string"
  17505. },
  17506. "qty": {
  17507. "description": "提货数量",
  17508. "type": "number"
  17509. },
  17510. "recivername": {
  17511. "description": "提货人姓名",
  17512. "type": "string"
  17513. },
  17514. "reqtime": {
  17515. "description": "更新时间",
  17516. "type": "string"
  17517. },
  17518. "takemode": {
  17519. "description": "提货方式 - 2:自提 3:配送",
  17520. "type": "integer"
  17521. },
  17522. "takeorderid": {
  17523. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17524. "type": "string"
  17525. },
  17526. "takeorderstatus": {
  17527. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17528. "type": "integer"
  17529. },
  17530. "takeremark": {
  17531. "description": "提货备注",
  17532. "type": "string"
  17533. },
  17534. "tradedate": {
  17535. "description": "交易日(yyyyMMdd)",
  17536. "type": "string"
  17537. },
  17538. "userid": {
  17539. "description": "用户ID",
  17540. "type": "integer"
  17541. }
  17542. }
  17543. },
  17544. "szdz.QueryRecieptOrderRsp": {
  17545. "type": "object",
  17546. "required": [
  17547. "ordertime"
  17548. ],
  17549. "properties": {
  17550. "accountName": {
  17551. "description": "所属账号名称(已脱敏)",
  17552. "type": "string"
  17553. },
  17554. "accountid": {
  17555. "description": "资金账号",
  17556. "type": "integer"
  17557. },
  17558. "buyorsell": {
  17559. "description": "方向 - 0:买 1:卖",
  17560. "type": "integer"
  17561. },
  17562. "enableqty": {
  17563. "description": "可摘数量",
  17564. "type": "integer"
  17565. },
  17566. "goodscode": {
  17567. "description": "商品代码",
  17568. "type": "string"
  17569. },
  17570. "goodsid": {
  17571. "description": "商品ID",
  17572. "type": "integer"
  17573. },
  17574. "goodsname": {
  17575. "description": "商品名称",
  17576. "type": "string"
  17577. },
  17578. "orderid": {
  17579. "description": "委托单号",
  17580. "type": "string"
  17581. },
  17582. "orderprice": {
  17583. "description": "委托价格",
  17584. "type": "number"
  17585. },
  17586. "ordertime": {
  17587. "description": "委托时间",
  17588. "type": "string"
  17589. },
  17590. "tradedate": {
  17591. "description": "交易日(yyyyMMdd)",
  17592. "type": "string"
  17593. }
  17594. }
  17595. },
  17596. "szdz.QuerySZDZTradePositionRsp": {
  17597. "type": "object",
  17598. "properties": {
  17599. "accountid": {
  17600. "description": "账号Id",
  17601. "type": "integer"
  17602. },
  17603. "agreeunit": {
  17604. "description": "合约单位",
  17605. "type": "number"
  17606. },
  17607. "averageprice": {
  17608. "description": "持仓均价",
  17609. "type": "number"
  17610. },
  17611. "buyorsell": {
  17612. "description": "方向 - 0:买 1:卖",
  17613. "type": "integer"
  17614. },
  17615. "closetotalqty": {
  17616. "description": "平仓总数量",
  17617. "type": "integer"
  17618. },
  17619. "curholderamount": {
  17620. "description": "当前持仓总金额",
  17621. "type": "number"
  17622. },
  17623. "curpositionqty": {
  17624. "description": "当前持仓总数量",
  17625. "type": "integer"
  17626. },
  17627. "currencyid": {
  17628. "description": "报价货币ID",
  17629. "type": "integer"
  17630. },
  17631. "curtdposition": {
  17632. "description": "期末今日头寸",
  17633. "type": "integer"
  17634. },
  17635. "decimalplace": {
  17636. "description": "报价小数位",
  17637. "type": "integer"
  17638. },
  17639. "enableqty": {
  17640. "description": "可用量",
  17641. "type": "integer"
  17642. },
  17643. "fretdposition": {
  17644. "description": "冻结今日头寸",
  17645. "type": "integer"
  17646. },
  17647. "frozenqty": {
  17648. "description": "持仓冻结数量",
  17649. "type": "integer"
  17650. },
  17651. "goodscode": {
  17652. "description": "商品代码(内部)",
  17653. "type": "string"
  17654. },
  17655. "goodsid": {
  17656. "description": "商品Id",
  17657. "type": "integer"
  17658. },
  17659. "goodsname": {
  17660. "description": "商品名称",
  17661. "type": "string"
  17662. },
  17663. "goodunit": {
  17664. "description": "报价单位",
  17665. "type": "string"
  17666. },
  17667. "goodunitid": {
  17668. "description": "报价单位ID",
  17669. "type": "integer"
  17670. },
  17671. "holderamount": {
  17672. "description": "期初持仓总金额",
  17673. "type": "number"
  17674. },
  17675. "marketid": {
  17676. "description": "市场ID",
  17677. "type": "integer"
  17678. },
  17679. "openreqqty": {
  17680. "description": "开仓申请数量",
  17681. "type": "integer"
  17682. },
  17683. "opentotalqty": {
  17684. "description": "开仓总数量",
  17685. "type": "integer"
  17686. },
  17687. "otherfrozenqty": {
  17688. "description": "持仓其他冻结数量(交割冻结)",
  17689. "type": "integer"
  17690. },
  17691. "positionqty": {
  17692. "description": "期初持仓数量",
  17693. "type": "integer"
  17694. },
  17695. "szdz3freezqty": {
  17696. "description": "尚志大宗转换冻结总数量",
  17697. "type": "integer"
  17698. },
  17699. "tnqty": {
  17700. "description": "T+N冻结总量",
  17701. "type": "integer"
  17702. },
  17703. "tnusedqty": {
  17704. "description": "T+N使用量",
  17705. "type": "integer"
  17706. },
  17707. "trademode": {
  17708. "description": "交易模式",
  17709. "type": "integer"
  17710. },
  17711. "usedmargin": {
  17712. "description": "占用保证金",
  17713. "type": "number"
  17714. }
  17715. }
  17716. },
  17717. "taaccount.QueryAmountLogRsp": {
  17718. "type": "object",
  17719. "required": [
  17720. "accountid",
  17721. "amount",
  17722. "amountadjusttype",
  17723. "autoid",
  17724. "balance",
  17725. "createtime",
  17726. "currentbalance",
  17727. "operatetype"
  17728. ],
  17729. "properties": {
  17730. "OPERATETYPENAME": {
  17731. "description": "资金操作类型名称",
  17732. "type": "string"
  17733. },
  17734. "accountid": {
  17735. "description": "资金账户ID",
  17736. "type": "integer"
  17737. },
  17738. "agoodscode": {
  17739. "description": "竞拍商品代码",
  17740. "type": "string"
  17741. },
  17742. "agoodsname": {
  17743. "description": "竞拍商品名称",
  17744. "type": "string"
  17745. },
  17746. "amount": {
  17747. "description": "资金金额",
  17748. "type": "number"
  17749. },
  17750. "amountadjusttype": {
  17751. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17752. "type": "integer"
  17753. },
  17754. "autoid": {
  17755. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17756. "type": "integer"
  17757. },
  17758. "balance": {
  17759. "description": "期初余额",
  17760. "type": "number"
  17761. },
  17762. "businesscode": {
  17763. "description": "业务编号",
  17764. "type": "integer"
  17765. },
  17766. "createtime": {
  17767. "description": "发生时间",
  17768. "type": "string"
  17769. },
  17770. "currencyid": {
  17771. "description": "币种ID",
  17772. "type": "integer"
  17773. },
  17774. "currentbalance": {
  17775. "description": "期末余额(变动后金额)",
  17776. "type": "number"
  17777. },
  17778. "dgoodscode": {
  17779. "description": "交割商品代码",
  17780. "type": "string"
  17781. },
  17782. "dgoodsname": {
  17783. "description": "交割商品名称",
  17784. "type": "string"
  17785. },
  17786. "goodscode": {
  17787. "description": "商品代码",
  17788. "type": "string"
  17789. },
  17790. "goodsid": {
  17791. "description": "商品ID",
  17792. "type": "integer"
  17793. },
  17794. "goodsname": {
  17795. "description": "商品名称",
  17796. "type": "string"
  17797. },
  17798. "marketid": {
  17799. "description": "市场ID",
  17800. "type": "integer"
  17801. },
  17802. "marketname": {
  17803. "description": "市场名称",
  17804. "type": "string"
  17805. },
  17806. "moneyticket": {
  17807. "description": "资金流水号:银行端流水号",
  17808. "type": "integer"
  17809. },
  17810. "operatetype": {
  17811. "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:营销收款",
  17812. "type": "integer"
  17813. },
  17814. "relationorderid": {
  17815. "description": "关联单号",
  17816. "type": "string"
  17817. },
  17818. "remark": {
  17819. "description": "备注",
  17820. "type": "string"
  17821. },
  17822. "trademode": {
  17823. "description": "交易模式",
  17824. "type": "integer"
  17825. }
  17826. }
  17827. },
  17828. "taaccount.QueryHisAmountLogRsp": {
  17829. "type": "object",
  17830. "required": [
  17831. "accountid",
  17832. "amount",
  17833. "amountadjusttype",
  17834. "autoid",
  17835. "balance",
  17836. "createtime",
  17837. "currentbalance",
  17838. "histradedate",
  17839. "operatetype"
  17840. ],
  17841. "properties": {
  17842. "OPERATETYPENAME": {
  17843. "description": "资金操作类型名称",
  17844. "type": "string"
  17845. },
  17846. "accountid": {
  17847. "description": "资金账户ID",
  17848. "type": "integer"
  17849. },
  17850. "agoodscode": {
  17851. "description": "竞拍商品代码",
  17852. "type": "string"
  17853. },
  17854. "agoodsname": {
  17855. "description": "竞拍商品名称",
  17856. "type": "string"
  17857. },
  17858. "amount": {
  17859. "description": "资金金额",
  17860. "type": "number"
  17861. },
  17862. "amountadjusttype": {
  17863. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17864. "type": "integer"
  17865. },
  17866. "autoid": {
  17867. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17868. "type": "integer"
  17869. },
  17870. "balance": {
  17871. "description": "期初余额",
  17872. "type": "number"
  17873. },
  17874. "businesscode": {
  17875. "description": "业务编号",
  17876. "type": "integer"
  17877. },
  17878. "createtime": {
  17879. "description": "发生时间",
  17880. "type": "string"
  17881. },
  17882. "currencyid": {
  17883. "description": "币种ID",
  17884. "type": "integer"
  17885. },
  17886. "currentbalance": {
  17887. "description": "期末余额(变动后金额)",
  17888. "type": "number"
  17889. },
  17890. "dgoodscode": {
  17891. "description": "交割商品代码",
  17892. "type": "string"
  17893. },
  17894. "dgoodsname": {
  17895. "description": "交割商品名称",
  17896. "type": "string"
  17897. },
  17898. "goodscode": {
  17899. "description": "商品代码",
  17900. "type": "string"
  17901. },
  17902. "goodsid": {
  17903. "description": "商品ID",
  17904. "type": "integer"
  17905. },
  17906. "goodsname": {
  17907. "description": "商品名称",
  17908. "type": "string"
  17909. },
  17910. "histradedate": {
  17911. "description": "历史交易日",
  17912. "type": "string"
  17913. },
  17914. "isvaliddata": {
  17915. "description": "是否有效 - 0:无效 1:有效",
  17916. "type": "integer"
  17917. },
  17918. "marketid": {
  17919. "description": "市场ID",
  17920. "type": "integer"
  17921. },
  17922. "marketname": {
  17923. "description": "市场名称",
  17924. "type": "string"
  17925. },
  17926. "moneyticket": {
  17927. "description": "资金流水号:银行端流水号",
  17928. "type": "integer"
  17929. },
  17930. "operatetype": {
  17931. "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:营销收款",
  17932. "type": "integer"
  17933. },
  17934. "relationorderid": {
  17935. "description": "关联单号",
  17936. "type": "string"
  17937. },
  17938. "remark": {
  17939. "description": "备注",
  17940. "type": "string"
  17941. },
  17942. "trademode": {
  17943. "description": "交易模式",
  17944. "type": "integer"
  17945. }
  17946. }
  17947. },
  17948. "trade.QueryRecieptOrderRsp": {
  17949. "type": "object",
  17950. "required": [
  17951. "ordertime"
  17952. ],
  17953. "properties": {
  17954. "accountName": {
  17955. "description": "所属账号名称(已脱敏)",
  17956. "type": "string"
  17957. },
  17958. "accountid": {
  17959. "description": "资金账号",
  17960. "type": "integer"
  17961. },
  17962. "buyorsell": {
  17963. "description": "方向 - 0:买 1:卖",
  17964. "type": "integer"
  17965. },
  17966. "enableqty": {
  17967. "description": "可摘数量",
  17968. "type": "integer"
  17969. },
  17970. "goodscode": {
  17971. "description": "商品代码",
  17972. "type": "string"
  17973. },
  17974. "goodsid": {
  17975. "description": "商品ID",
  17976. "type": "integer"
  17977. },
  17978. "goodsname": {
  17979. "description": "商品名称",
  17980. "type": "string"
  17981. },
  17982. "orderid": {
  17983. "description": "委托单号",
  17984. "type": "string"
  17985. },
  17986. "orderprice": {
  17987. "description": "委托价格",
  17988. "type": "number"
  17989. },
  17990. "ordertime": {
  17991. "description": "委托时间",
  17992. "type": "string"
  17993. },
  17994. "tradedate": {
  17995. "description": "交易日(yyyyMMdd)",
  17996. "type": "string"
  17997. }
  17998. }
  17999. }
  18000. },
  18001. "securityDefinitions": {
  18002. "ApiKeyAuth": {
  18003. "type": "apiKey",
  18004. "name": "Authorization",
  18005. "in": "header"
  18006. }
  18007. }
  18008. }`
  18009. type swaggerInfo struct {
  18010. Version string
  18011. Host string
  18012. BasePath string
  18013. Schemes []string
  18014. Title string
  18015. Description string
  18016. }
  18017. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18018. var SwaggerInfo = swaggerInfo{
  18019. Version: "1.0",
  18020. Host: "",
  18021. BasePath: "/api",
  18022. Schemes: []string{},
  18023. Title: "MTP2.0 查询服务 API",
  18024. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18025. }
  18026. type s struct{}
  18027. func (s *s) ReadDoc() string {
  18028. sInfo := SwaggerInfo
  18029. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18030. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18031. "marshal": func(v interface{}) string {
  18032. a, _ := json.Marshal(v)
  18033. return string(a)
  18034. },
  18035. }).Parse(doc)
  18036. if err != nil {
  18037. return doc
  18038. }
  18039. var tpl bytes.Buffer
  18040. if err := t.Execute(&tpl, sInfo); err != nil {
  18041. return doc
  18042. }
  18043. return tpl.String()
  18044. }
  18045. func init() {
  18046. swag.Register(swag.Name, &s{})
  18047. }