docs.go 650 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082
  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.QueryHedgeOrderDetailRsp"
  1684. }
  1685. },
  1686. "500": {
  1687. "description": "Internal Server Error",
  1688. "schema": {
  1689. "$ref": "#/definitions/app.Response"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "/Ermcp/QueryErmcpTradeDetails": {
  1696. "get": {
  1697. "security": [
  1698. {
  1699. "ApiKeyAuth": []
  1700. }
  1701. ],
  1702. "produces": [
  1703. "application/json"
  1704. ],
  1705. "tags": [
  1706. "企业风险管理(app)"
  1707. ],
  1708. "summary": "获取企业风管期货成交单信息",
  1709. "parameters": [
  1710. {
  1711. "type": "integer",
  1712. "description": "资金账户ID",
  1713. "name": "accountID",
  1714. "in": "query",
  1715. "required": true
  1716. },
  1717. {
  1718. "type": "integer",
  1719. "description": "商品ID",
  1720. "name": "goodsID",
  1721. "in": "query"
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "买卖方向,0:买 1:卖",
  1726. "name": "buyOrSell",
  1727. "in": "query"
  1728. }
  1729. ],
  1730. "responses": {
  1731. "200": {
  1732. "description": "OK",
  1733. "schema": {
  1734. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1735. }
  1736. },
  1737. "500": {
  1738. "description": "Internal Server Error",
  1739. "schema": {
  1740. "$ref": "#/definitions/app.Response"
  1741. }
  1742. }
  1743. }
  1744. }
  1745. },
  1746. "/Ermcp/QueryErmcpTradePosition": {
  1747. "get": {
  1748. "security": [
  1749. {
  1750. "ApiKeyAuth": []
  1751. }
  1752. ],
  1753. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1754. "produces": [
  1755. "application/json"
  1756. ],
  1757. "tags": [
  1758. "企业风险管理(app)"
  1759. ],
  1760. "summary": "获取企业风管期货持仓头寸信息",
  1761. "parameters": [
  1762. {
  1763. "type": "integer",
  1764. "description": "资金账户ID",
  1765. "name": "accountID",
  1766. "in": "query",
  1767. "required": true
  1768. },
  1769. {
  1770. "type": "integer",
  1771. "description": "所属市场ID",
  1772. "name": "marketID",
  1773. "in": "query"
  1774. }
  1775. ],
  1776. "responses": {
  1777. "200": {
  1778. "description": "OK",
  1779. "schema": {
  1780. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1781. }
  1782. },
  1783. "500": {
  1784. "description": "Internal Server Error",
  1785. "schema": {
  1786. "$ref": "#/definitions/app.Response"
  1787. }
  1788. }
  1789. }
  1790. }
  1791. },
  1792. "/Ermcp/QueryExposureDetail": {
  1793. "get": {
  1794. "security": [
  1795. {
  1796. "ApiKeyAuth": []
  1797. }
  1798. ],
  1799. "produces": [
  1800. "application/json"
  1801. ],
  1802. "tags": [
  1803. "企业风险管理(app)"
  1804. ],
  1805. "summary": "查询敞口现货明细",
  1806. "parameters": [
  1807. {
  1808. "type": "integer",
  1809. "description": "所属机构ID",
  1810. "name": "areaUserId",
  1811. "in": "query",
  1812. "required": true
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "套保商品",
  1817. "name": "middleGoodsId",
  1818. "in": "query",
  1819. "required": true
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "type": "array",
  1827. "items": {
  1828. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1829. }
  1830. }
  1831. },
  1832. "500": {
  1833. "description": "Internal Server Error",
  1834. "schema": {
  1835. "$ref": "#/definitions/app.Response"
  1836. }
  1837. }
  1838. }
  1839. }
  1840. },
  1841. "/Ermcp/QueryExposureHedgePosition": {
  1842. "get": {
  1843. "security": [
  1844. {
  1845. "ApiKeyAuth": []
  1846. }
  1847. ],
  1848. "produces": [
  1849. "application/json"
  1850. ],
  1851. "tags": [
  1852. "企业风险管理(app)"
  1853. ],
  1854. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1855. "parameters": [
  1856. {
  1857. "type": "integer",
  1858. "description": "所属机构ID",
  1859. "name": "areaUserId",
  1860. "in": "query",
  1861. "required": true
  1862. }
  1863. ],
  1864. "responses": {
  1865. "200": {
  1866. "description": "OK",
  1867. "schema": {
  1868. "type": "array",
  1869. "items": {
  1870. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1871. }
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryExposureHedgePositionDetail": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "所属机构ID",
  1901. "name": "areaUserId",
  1902. "in": "query",
  1903. "required": true
  1904. },
  1905. {
  1906. "type": "integer",
  1907. "description": "商品id",
  1908. "name": "goodsId",
  1909. "in": "query",
  1910. "required": true
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "type": "array",
  1918. "items": {
  1919. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1920. }
  1921. }
  1922. },
  1923. "500": {
  1924. "description": "Internal Server Error",
  1925. "schema": {
  1926. "$ref": "#/definitions/app.Response"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "/Ermcp/QueryExposureSpot": {
  1933. "get": {
  1934. "security": [
  1935. {
  1936. "ApiKeyAuth": []
  1937. }
  1938. ],
  1939. "produces": [
  1940. "application/json"
  1941. ],
  1942. "tags": [
  1943. "企业风险管理(app)"
  1944. ],
  1945. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1946. "parameters": [
  1947. {
  1948. "type": "integer",
  1949. "description": "所属机构ID",
  1950. "name": "areaUserId",
  1951. "in": "query",
  1952. "required": true
  1953. }
  1954. ],
  1955. "responses": {
  1956. "200": {
  1957. "description": "OK",
  1958. "schema": {
  1959. "type": "array",
  1960. "items": {
  1961. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1962. }
  1963. }
  1964. },
  1965. "500": {
  1966. "description": "Internal Server Error",
  1967. "schema": {
  1968. "$ref": "#/definitions/app.Response"
  1969. }
  1970. }
  1971. }
  1972. }
  1973. },
  1974. "/Ermcp/QueryExposureSpotDetail": {
  1975. "get": {
  1976. "security": [
  1977. {
  1978. "ApiKeyAuth": []
  1979. }
  1980. ],
  1981. "produces": [
  1982. "application/json"
  1983. ],
  1984. "tags": [
  1985. "企业风险管理(app)"
  1986. ],
  1987. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1988. "parameters": [
  1989. {
  1990. "type": "integer",
  1991. "description": "所属机构ID",
  1992. "name": "areaUserId",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "现货品种ID",
  1999. "name": "wrstandardId",
  2000. "in": "query",
  2001. "required": true
  2002. }
  2003. ],
  2004. "responses": {
  2005. "200": {
  2006. "description": "OK",
  2007. "schema": {
  2008. "type": "array",
  2009. "items": {
  2010. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2011. }
  2012. }
  2013. },
  2014. "500": {
  2015. "description": "Internal Server Error",
  2016. "schema": {
  2017. "$ref": "#/definitions/app.Response"
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/Ermcp/QueryGGConvertConfig": {
  2024. "get": {
  2025. "security": [
  2026. {
  2027. "ApiKeyAuth": []
  2028. }
  2029. ],
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "企业风险管理(app)"
  2035. ],
  2036. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2037. "parameters": [
  2038. {
  2039. "type": "integer",
  2040. "description": "品种id(不填则查所有)",
  2041. "name": "goodsgroupid",
  2042. "in": "query"
  2043. }
  2044. ],
  2045. "responses": {
  2046. "200": {
  2047. "description": "OK",
  2048. "schema": {
  2049. "type": "array",
  2050. "items": {
  2051. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2052. }
  2053. }
  2054. },
  2055. "500": {
  2056. "description": "Internal Server Error",
  2057. "schema": {
  2058. "$ref": "#/definitions/app.Response"
  2059. }
  2060. }
  2061. }
  2062. }
  2063. },
  2064. "/Ermcp/QueryHedgePlan": {
  2065. "get": {
  2066. "security": [
  2067. {
  2068. "ApiKeyAuth": []
  2069. }
  2070. ],
  2071. "produces": [
  2072. "application/json"
  2073. ],
  2074. "tags": [
  2075. "企业风险管理(app)"
  2076. ],
  2077. "summary": "查询套保计划",
  2078. "parameters": [
  2079. {
  2080. "type": "integer",
  2081. "description": "用户ID",
  2082. "name": "userId",
  2083. "in": "query",
  2084. "required": true
  2085. },
  2086. {
  2087. "type": "string",
  2088. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2089. "name": "HedgePlanStatus",
  2090. "in": "query",
  2091. "required": true
  2092. }
  2093. ],
  2094. "responses": {
  2095. "200": {
  2096. "description": "OK",
  2097. "schema": {
  2098. "type": "array",
  2099. "items": {
  2100. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2101. }
  2102. }
  2103. },
  2104. "500": {
  2105. "description": "Internal Server Error",
  2106. "schema": {
  2107. "$ref": "#/definitions/app.Response"
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "/Ermcp/QueryHisExposure": {
  2114. "get": {
  2115. "security": [
  2116. {
  2117. "ApiKeyAuth": []
  2118. }
  2119. ],
  2120. "produces": [
  2121. "application/json"
  2122. ],
  2123. "tags": [
  2124. "企业风险管理(app)"
  2125. ],
  2126. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2127. "parameters": [
  2128. {
  2129. "type": "integer",
  2130. "description": "所属机构ID",
  2131. "name": "areaUserId",
  2132. "in": "query",
  2133. "required": true
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": "每个品种记录数",
  2138. "name": "lastNum",
  2139. "in": "query",
  2140. "required": true
  2141. }
  2142. ],
  2143. "responses": {
  2144. "200": {
  2145. "description": "OK",
  2146. "schema": {
  2147. "type": "array",
  2148. "items": {
  2149. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2150. }
  2151. }
  2152. },
  2153. "500": {
  2154. "description": "Internal Server Error",
  2155. "schema": {
  2156. "$ref": "#/definitions/app.Response"
  2157. }
  2158. }
  2159. }
  2160. }
  2161. },
  2162. "/Ermcp/QueryMiddleGoods": {
  2163. "get": {
  2164. "security": [
  2165. {
  2166. "ApiKeyAuth": []
  2167. }
  2168. ],
  2169. "produces": [
  2170. "application/json"
  2171. ],
  2172. "tags": [
  2173. "企业风险管理(app)"
  2174. ],
  2175. "summary": "查询套保品种(菜单:套保品种)",
  2176. "parameters": [
  2177. {
  2178. "type": "integer",
  2179. "description": "所属机构ID",
  2180. "name": "userid",
  2181. "in": "query",
  2182. "required": true
  2183. },
  2184. {
  2185. "type": "integer",
  2186. "description": "状态 0-停用 1-正常",
  2187. "name": "status",
  2188. "in": "query",
  2189. "required": true
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "type": "array",
  2197. "items": {
  2198. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2199. }
  2200. }
  2201. },
  2202. "500": {
  2203. "description": "Internal Server Error",
  2204. "schema": {
  2205. "$ref": "#/definitions/app.Response"
  2206. }
  2207. }
  2208. }
  2209. }
  2210. },
  2211. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2212. "get": {
  2213. "security": [
  2214. {
  2215. "ApiKeyAuth": []
  2216. }
  2217. ],
  2218. "produces": [
  2219. "application/json"
  2220. ],
  2221. "tags": [
  2222. "企业风险管理(app)"
  2223. ],
  2224. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2225. "parameters": [
  2226. {
  2227. "type": "integer",
  2228. "description": "所属机构ID",
  2229. "name": "userid",
  2230. "in": "query",
  2231. "required": true
  2232. },
  2233. {
  2234. "type": "integer",
  2235. "description": "套保品种id",
  2236. "name": "middlegoodsid",
  2237. "in": "query",
  2238. "required": true
  2239. }
  2240. ],
  2241. "responses": {
  2242. "200": {
  2243. "description": "OK",
  2244. "schema": {
  2245. "type": "array",
  2246. "items": {
  2247. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2248. }
  2249. }
  2250. },
  2251. "500": {
  2252. "description": "Internal Server Error",
  2253. "schema": {
  2254. "$ref": "#/definitions/app.Response"
  2255. }
  2256. }
  2257. }
  2258. }
  2259. },
  2260. "/Ermcp/QueryMiddleGoodsDetail": {
  2261. "get": {
  2262. "security": [
  2263. {
  2264. "ApiKeyAuth": []
  2265. }
  2266. ],
  2267. "produces": [
  2268. "application/json"
  2269. ],
  2270. "tags": [
  2271. "企业风险管理(app)"
  2272. ],
  2273. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2274. "parameters": [
  2275. {
  2276. "type": "integer",
  2277. "description": "所属机构ID",
  2278. "name": "userid",
  2279. "in": "query",
  2280. "required": true
  2281. },
  2282. {
  2283. "type": "integer",
  2284. "description": "套保品种id",
  2285. "name": "middlegoodsid",
  2286. "in": "query",
  2287. "required": true
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "type": "array",
  2295. "items": {
  2296. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2297. }
  2298. }
  2299. },
  2300. "500": {
  2301. "description": "Internal Server Error",
  2302. "schema": {
  2303. "$ref": "#/definitions/app.Response"
  2304. }
  2305. }
  2306. }
  2307. }
  2308. },
  2309. "/Ermcp/QueryPendingAuditInfo": {
  2310. "get": {
  2311. "security": [
  2312. {
  2313. "ApiKeyAuth": []
  2314. }
  2315. ],
  2316. "produces": [
  2317. "application/json"
  2318. ],
  2319. "tags": [
  2320. "企业风险管理(app)"
  2321. ],
  2322. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2323. "parameters": [
  2324. {
  2325. "type": "integer",
  2326. "description": "用户ID",
  2327. "name": "UserId",
  2328. "in": "query",
  2329. "required": true
  2330. }
  2331. ],
  2332. "responses": {
  2333. "200": {
  2334. "description": "OK",
  2335. "schema": {
  2336. "type": "array",
  2337. "items": {
  2338. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2339. }
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/Ermcp/QueryRealtimeExposure": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "produces": [
  2359. "application/json"
  2360. ],
  2361. "tags": [
  2362. "企业风险管理(app)"
  2363. ],
  2364. "summary": "查询实时敞口",
  2365. "parameters": [
  2366. {
  2367. "type": "integer",
  2368. "description": "所属机构ID",
  2369. "name": "AreaUserID",
  2370. "in": "query",
  2371. "required": true
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "type": "array",
  2379. "items": {
  2380. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2381. }
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Ermcp/QueryRealtimeExposurePosition": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "企业风险管理(app)"
  2405. ],
  2406. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2407. "parameters": [
  2408. {
  2409. "type": "integer",
  2410. "description": "所属机构ID",
  2411. "name": "areaUserId",
  2412. "in": "query",
  2413. "required": true
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "套保商品ID",
  2418. "name": "middleGoodsId",
  2419. "in": "query",
  2420. "required": true
  2421. }
  2422. ],
  2423. "responses": {
  2424. "200": {
  2425. "description": "OK",
  2426. "schema": {
  2427. "type": "array",
  2428. "items": {
  2429. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2430. }
  2431. }
  2432. },
  2433. "500": {
  2434. "description": "Internal Server Error",
  2435. "schema": {
  2436. "$ref": "#/definitions/app.Response"
  2437. }
  2438. }
  2439. }
  2440. }
  2441. },
  2442. "/Ermcp/QuerySpotContract": {
  2443. "get": {
  2444. "security": [
  2445. {
  2446. "ApiKeyAuth": []
  2447. }
  2448. ],
  2449. "produces": [
  2450. "application/json"
  2451. ],
  2452. "tags": [
  2453. "企业风险管理(app)"
  2454. ],
  2455. "summary": "查询现货合同(对应现货合同菜单)",
  2456. "parameters": [
  2457. {
  2458. "type": "integer",
  2459. "description": "用户ID",
  2460. "name": "userId",
  2461. "in": "query",
  2462. "required": true
  2463. },
  2464. {
  2465. "type": "integer",
  2466. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2467. "name": "QueryType",
  2468. "in": "query",
  2469. "required": true
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryUserInfo": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询客户资料",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "所属机构用户ID",
  2509. "name": "MemberUserID",
  2510. "in": "query",
  2511. "required": true
  2512. },
  2513. {
  2514. "type": "integer",
  2515. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2516. "name": "queryType",
  2517. "in": "query",
  2518. "required": true
  2519. }
  2520. ],
  2521. "responses": {
  2522. "200": {
  2523. "description": "OK",
  2524. "schema": {
  2525. "type": "array",
  2526. "items": {
  2527. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2528. }
  2529. }
  2530. },
  2531. "500": {
  2532. "description": "Internal Server Error",
  2533. "schema": {
  2534. "$ref": "#/definitions/app.Response"
  2535. }
  2536. }
  2537. }
  2538. }
  2539. },
  2540. "/Ermcp/QueryWrStandard": {
  2541. "get": {
  2542. "security": [
  2543. {
  2544. "ApiKeyAuth": []
  2545. }
  2546. ],
  2547. "produces": [
  2548. "application/json"
  2549. ],
  2550. "tags": [
  2551. "企业风险管理(app)"
  2552. ],
  2553. "summary": "查询现货商品",
  2554. "parameters": [
  2555. {
  2556. "type": "integer",
  2557. "description": "所属机构ID",
  2558. "name": "userid",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "integer",
  2564. "description": "状态 0-停用 1-正常",
  2565. "name": "status",
  2566. "in": "query",
  2567. "required": true
  2568. }
  2569. ],
  2570. "responses": {
  2571. "200": {
  2572. "description": "OK",
  2573. "schema": {
  2574. "type": "array",
  2575. "items": {
  2576. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2577. }
  2578. }
  2579. },
  2580. "500": {
  2581. "description": "Internal Server Error",
  2582. "schema": {
  2583. "$ref": "#/definitions/app.Response"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "/Ermcp/QueryWrStandardDetail": {
  2590. "get": {
  2591. "security": [
  2592. {
  2593. "ApiKeyAuth": []
  2594. }
  2595. ],
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "企业风险管理(app)"
  2601. ],
  2602. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2603. "parameters": [
  2604. {
  2605. "type": "integer",
  2606. "description": "所属机构ID",
  2607. "name": "userid",
  2608. "in": "query",
  2609. "required": true
  2610. },
  2611. {
  2612. "type": "integer",
  2613. "description": "现货商品ID",
  2614. "name": "wrstandardid",
  2615. "in": "query",
  2616. "required": true
  2617. }
  2618. ],
  2619. "responses": {
  2620. "200": {
  2621. "description": "OK",
  2622. "schema": {
  2623. "type": "array",
  2624. "items": {
  2625. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2626. }
  2627. }
  2628. },
  2629. "500": {
  2630. "description": "Internal Server Error",
  2631. "schema": {
  2632. "$ref": "#/definitions/app.Response"
  2633. }
  2634. }
  2635. }
  2636. }
  2637. },
  2638. "/Erms2/QueryArbitrageStrategy": {
  2639. "get": {
  2640. "security": [
  2641. {
  2642. "ApiKeyAuth": []
  2643. }
  2644. ],
  2645. "produces": [
  2646. "application/json"
  2647. ],
  2648. "tags": [
  2649. "风险管理"
  2650. ],
  2651. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2652. "parameters": [
  2653. {
  2654. "type": "integer",
  2655. "description": "账户ID",
  2656. "name": "userid",
  2657. "in": "query",
  2658. "required": true
  2659. },
  2660. {
  2661. "type": "string",
  2662. "description": "商品组ID(品种ID)",
  2663. "name": "goodsgroupid",
  2664. "in": "query"
  2665. }
  2666. ],
  2667. "responses": {
  2668. "200": {
  2669. "description": "OK",
  2670. "schema": {
  2671. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2672. }
  2673. },
  2674. "500": {
  2675. "description": "Internal Server Error",
  2676. "schema": {
  2677. "$ref": "#/definitions/app.Response"
  2678. }
  2679. }
  2680. }
  2681. }
  2682. },
  2683. "/Erms2/QueryInnerTradeDetail": {
  2684. "get": {
  2685. "security": [
  2686. {
  2687. "ApiKeyAuth": []
  2688. }
  2689. ],
  2690. "produces": [
  2691. "application/json"
  2692. ],
  2693. "tags": [
  2694. "风险管理"
  2695. ],
  2696. "summary": "查询内部成交单信息",
  2697. "parameters": [
  2698. {
  2699. "type": "integer",
  2700. "description": "资金账户",
  2701. "name": "accountid",
  2702. "in": "query",
  2703. "required": true
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Erms2/QuerySpotContract": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "风险管理"
  2734. ],
  2735. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "策略申请ID",
  2740. "name": "asapplyid",
  2741. "in": "query",
  2742. "required": true
  2743. },
  2744. {
  2745. "type": "integer",
  2746. "description": "现货合同ID",
  2747. "name": "spotcontractid",
  2748. "in": "query"
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2756. }
  2757. },
  2758. "500": {
  2759. "description": "Internal Server Error",
  2760. "schema": {
  2761. "$ref": "#/definitions/app.Response"
  2762. }
  2763. }
  2764. }
  2765. }
  2766. },
  2767. "/Erms3/AddErms2ASApply": {
  2768. "post": {
  2769. "security": [
  2770. {
  2771. "ApiKeyAuth": []
  2772. }
  2773. ],
  2774. "produces": [
  2775. "application/json"
  2776. ],
  2777. "tags": [
  2778. "风险管理v3"
  2779. ],
  2780. "summary": "新增期现套利业务申请",
  2781. "parameters": [
  2782. {
  2783. "description": "申请参数",
  2784. "name": "jsonBody",
  2785. "in": "body",
  2786. "required": true,
  2787. "schema": {
  2788. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2789. }
  2790. }
  2791. ],
  2792. "responses": {
  2793. "200": {
  2794. "description": "OK",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Erms3/AddErms2SpotTradeApply": {
  2809. "post": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "风险管理v3"
  2820. ],
  2821. "summary": "新增现货贸易业务申请",
  2822. "parameters": [
  2823. {
  2824. "description": "申请参数",
  2825. "name": "jsonBody",
  2826. "in": "body",
  2827. "required": true,
  2828. "schema": {
  2829. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2830. }
  2831. }
  2832. ],
  2833. "responses": {
  2834. "200": {
  2835. "description": "OK",
  2836. "schema": {
  2837. "$ref": "#/definitions/app.Response"
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Erms3/AddSpotContractApply": {
  2850. "post": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "风险管理v3"
  2861. ],
  2862. "summary": "新增现货合同申请",
  2863. "parameters": [
  2864. {
  2865. "description": "申请参数",
  2866. "name": "jsonBody",
  2867. "in": "body",
  2868. "required": true,
  2869. "schema": {
  2870. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2871. }
  2872. }
  2873. ],
  2874. "responses": {
  2875. "200": {
  2876. "description": "OK",
  2877. "schema": {
  2878. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2879. }
  2880. },
  2881. "500": {
  2882. "description": "Internal Server Error",
  2883. "schema": {
  2884. "$ref": "#/definitions/app.Response"
  2885. }
  2886. }
  2887. }
  2888. }
  2889. },
  2890. "/Erms3/AddUserInfoApply": {
  2891. "post": {
  2892. "security": [
  2893. {
  2894. "ApiKeyAuth": []
  2895. }
  2896. ],
  2897. "produces": [
  2898. "application/json"
  2899. ],
  2900. "tags": [
  2901. "风险管理v3"
  2902. ],
  2903. "summary": "新增客户申请",
  2904. "parameters": [
  2905. {
  2906. "description": "用户信息",
  2907. "name": "jsonBody",
  2908. "in": "body",
  2909. "required": true,
  2910. "schema": {
  2911. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2912. }
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "$ref": "#/definitions/app.Response"
  2920. }
  2921. },
  2922. "500": {
  2923. "description": "Internal Server Error",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. }
  2928. }
  2929. }
  2930. },
  2931. "/Erms3/ModifyUserInfoApply": {
  2932. "post": {
  2933. "security": [
  2934. {
  2935. "ApiKeyAuth": []
  2936. }
  2937. ],
  2938. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2939. "produces": [
  2940. "application/json"
  2941. ],
  2942. "tags": [
  2943. "风险管理v3"
  2944. ],
  2945. "summary": "修改客户申请",
  2946. "parameters": [
  2947. {
  2948. "description": "用户信息",
  2949. "name": "jsonBody",
  2950. "in": "body",
  2951. "required": true,
  2952. "schema": {
  2953. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2954. }
  2955. }
  2956. ],
  2957. "responses": {
  2958. "200": {
  2959. "description": "OK",
  2960. "schema": {
  2961. "$ref": "#/definitions/app.Response"
  2962. }
  2963. },
  2964. "500": {
  2965. "description": "Internal Server Error",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "/Erms3/QueryBusinessInfo": {
  2974. "get": {
  2975. "security": [
  2976. {
  2977. "ApiKeyAuth": []
  2978. }
  2979. ],
  2980. "produces": [
  2981. "application/json"
  2982. ],
  2983. "tags": [
  2984. "风险管理v3"
  2985. ],
  2986. "summary": "查询业务表单数据",
  2987. "parameters": [
  2988. {
  2989. "type": "string",
  2990. "description": "资金账号ID列表,用逗号分隔",
  2991. "name": "accountids",
  2992. "in": "query",
  2993. "required": true
  2994. },
  2995. {
  2996. "type": "integer",
  2997. "description": "状态,0为未结束 1为已结束",
  2998. "name": "status",
  2999. "in": "query",
  3000. "required": true
  3001. }
  3002. ],
  3003. "responses": {
  3004. "200": {
  3005. "description": "OK",
  3006. "schema": {
  3007. "type": "array",
  3008. "items": {
  3009. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3010. }
  3011. }
  3012. },
  3013. "500": {
  3014. "description": "Internal Server Error",
  3015. "schema": {
  3016. "$ref": "#/definitions/app.Response"
  3017. }
  3018. }
  3019. }
  3020. }
  3021. },
  3022. "/Erms3/QueryPendingAuditContract": {
  3023. "get": {
  3024. "security": [
  3025. {
  3026. "ApiKeyAuth": []
  3027. }
  3028. ],
  3029. "produces": [
  3030. "application/json"
  3031. ],
  3032. "tags": [
  3033. "风险管理v3"
  3034. ],
  3035. "summary": "查询待审核合同",
  3036. "parameters": [
  3037. {
  3038. "type": "string",
  3039. "description": "资金账号ID列表,逗号隔开",
  3040. "name": "accountids",
  3041. "in": "query",
  3042. "required": true
  3043. },
  3044. {
  3045. "type": "integer",
  3046. "description": "合同类型 1-采购 -1-销售",
  3047. "name": "contracttype",
  3048. "in": "query",
  3049. "required": true
  3050. },
  3051. {
  3052. "type": "integer",
  3053. "description": "合同模式 1-普通 2-回购",
  3054. "name": "contractmode",
  3055. "in": "query",
  3056. "required": true
  3057. }
  3058. ],
  3059. "responses": {
  3060. "200": {
  3061. "description": "OK",
  3062. "schema": {
  3063. "type": "array",
  3064. "items": {
  3065. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3066. }
  3067. }
  3068. },
  3069. "500": {
  3070. "description": "Internal Server Error",
  3071. "schema": {
  3072. "$ref": "#/definitions/app.Response"
  3073. }
  3074. }
  3075. }
  3076. }
  3077. },
  3078. "/Erms3/QueryPendingBusiness": {
  3079. "get": {
  3080. "security": [
  3081. {
  3082. "ApiKeyAuth": []
  3083. }
  3084. ],
  3085. "produces": [
  3086. "application/json"
  3087. ],
  3088. "tags": [
  3089. "风险管理v3"
  3090. ],
  3091. "summary": "查询待审核基差贸易业务",
  3092. "parameters": [
  3093. {
  3094. "type": "string",
  3095. "description": "资金账号ID列表,逗号隔开",
  3096. "name": "accountids",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Erms3/QuerySpotContractAppleForm": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "风险管理v3"
  3132. ],
  3133. "summary": "查询合同申请表单数据",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "登录账号",
  3138. "name": "loginID",
  3139. "in": "query",
  3140. "required": true
  3141. }
  3142. ],
  3143. "responses": {
  3144. "200": {
  3145. "description": "OK",
  3146. "schema": {
  3147. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3148. }
  3149. },
  3150. "500": {
  3151. "description": "Internal Server Error",
  3152. "schema": {
  3153. "$ref": "#/definitions/app.Response"
  3154. }
  3155. }
  3156. }
  3157. }
  3158. },
  3159. "/Erms3/QuerySpotContractDetail": {
  3160. "get": {
  3161. "security": [
  3162. {
  3163. "ApiKeyAuth": []
  3164. }
  3165. ],
  3166. "produces": [
  3167. "application/json"
  3168. ],
  3169. "tags": [
  3170. "风险管理v3"
  3171. ],
  3172. "summary": "查询合同详细信息",
  3173. "parameters": [
  3174. {
  3175. "type": "string",
  3176. "description": "资金账号ID列表,用逗号分隔",
  3177. "name": "accountids",
  3178. "in": "query",
  3179. "required": true
  3180. },
  3181. {
  3182. "type": "integer",
  3183. "description": "合同类型,1为采购合同 -1为销售合同",
  3184. "name": "contracttype",
  3185. "in": "query",
  3186. "required": true
  3187. },
  3188. {
  3189. "type": "integer",
  3190. "description": "合同模式,1为普通合同 2为回购销售合同",
  3191. "name": "contractmode",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "状态,0为履约中 1为已完成",
  3198. "name": "status",
  3199. "in": "query",
  3200. "required": true
  3201. }
  3202. ],
  3203. "responses": {
  3204. "200": {
  3205. "description": "OK",
  3206. "schema": {
  3207. "type": "array",
  3208. "items": {
  3209. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3210. }
  3211. }
  3212. },
  3213. "500": {
  3214. "description": "Internal Server Error",
  3215. "schema": {
  3216. "$ref": "#/definitions/app.Response"
  3217. }
  3218. }
  3219. }
  3220. }
  3221. },
  3222. "/Erms3/QueryUserInfoApplies": {
  3223. "get": {
  3224. "security": [
  3225. {
  3226. "ApiKeyAuth": []
  3227. }
  3228. ],
  3229. "produces": [
  3230. "application/json"
  3231. ],
  3232. "tags": [
  3233. "风险管理v3"
  3234. ],
  3235. "summary": "客户申请信息查询",
  3236. "parameters": [
  3237. {
  3238. "type": "integer",
  3239. "description": "页码",
  3240. "name": "page",
  3241. "in": "query"
  3242. },
  3243. {
  3244. "type": "integer",
  3245. "description": "每页条数",
  3246. "name": "pagesize",
  3247. "in": "query"
  3248. },
  3249. {
  3250. "type": "string",
  3251. "description": "客户名称,支持模糊查询",
  3252. "name": "userName",
  3253. "in": "query"
  3254. }
  3255. ],
  3256. "responses": {
  3257. "200": {
  3258. "description": "OK",
  3259. "schema": {
  3260. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3261. }
  3262. },
  3263. "500": {
  3264. "description": "Internal Server Error",
  3265. "schema": {
  3266. "$ref": "#/definitions/app.Response"
  3267. }
  3268. }
  3269. }
  3270. }
  3271. },
  3272. "/Erms3/QueryUserInfos": {
  3273. "get": {
  3274. "security": [
  3275. {
  3276. "ApiKeyAuth": []
  3277. }
  3278. ],
  3279. "produces": [
  3280. "application/json"
  3281. ],
  3282. "tags": [
  3283. "风险管理v3"
  3284. ],
  3285. "summary": "客户信息查询",
  3286. "parameters": [
  3287. {
  3288. "type": "integer",
  3289. "description": "页码",
  3290. "name": "page",
  3291. "in": "query"
  3292. },
  3293. {
  3294. "type": "integer",
  3295. "description": "每页条数",
  3296. "name": "pagesize",
  3297. "in": "query"
  3298. },
  3299. {
  3300. "type": "string",
  3301. "description": "客户名称,支持模糊查询",
  3302. "name": "userName",
  3303. "in": "query"
  3304. }
  3305. ],
  3306. "responses": {
  3307. "200": {
  3308. "description": "OK",
  3309. "schema": {
  3310. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3311. }
  3312. },
  3313. "500": {
  3314. "description": "Internal Server Error",
  3315. "schema": {
  3316. "$ref": "#/definitions/app.Response"
  3317. }
  3318. }
  3319. }
  3320. }
  3321. },
  3322. "/HSBY/GetHsbyMyCount": {
  3323. "get": {
  3324. "security": [
  3325. {
  3326. "ApiKeyAuth": []
  3327. }
  3328. ],
  3329. "description": "说明: 不包括已完成的数量。",
  3330. "produces": [
  3331. "application/json"
  3332. ],
  3333. "tags": [
  3334. "定制【海商报业】"
  3335. ],
  3336. "summary": "获取我的订单与包裹数量",
  3337. "parameters": [
  3338. {
  3339. "type": "string",
  3340. "description": "资金账户列表,格式:1,2,3",
  3341. "name": "accountIDs",
  3342. "in": "query",
  3343. "required": true
  3344. }
  3345. ],
  3346. "responses": {
  3347. "200": {
  3348. "description": "OK",
  3349. "schema": {
  3350. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/HSBY/QueryClientFixedADConfigs": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "produces": [
  3370. "application/json"
  3371. ],
  3372. "tags": [
  3373. "定制【海商报业】"
  3374. ],
  3375. "summary": "获取终端固定广告配置",
  3376. "responses": {
  3377. "200": {
  3378. "description": "OK",
  3379. "schema": {
  3380. "$ref": "#/definitions/models.Clientfixedadconfig"
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "produces": [
  3400. "application/json"
  3401. ],
  3402. "tags": [
  3403. "定制【海商报业】"
  3404. ],
  3405. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3406. "parameters": [
  3407. {
  3408. "type": "integer",
  3409. "description": "页码",
  3410. "name": "page",
  3411. "in": "query"
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "每页条数",
  3416. "name": "pagesize",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "string",
  3421. "description": "资金账户列表,格式:1,2,3",
  3422. "name": "accountIDs",
  3423. "in": "query",
  3424. "required": true
  3425. }
  3426. ],
  3427. "responses": {
  3428. "200": {
  3429. "description": "OK",
  3430. "schema": {
  3431. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3444. "get": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "description": "说明:查询结果已按委托价格和委托时间排序",
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "定制【海商报业】"
  3456. ],
  3457. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "商品ID",
  3462. "name": "goodsID",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "string",
  3468. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3469. "name": "accountIDs",
  3470. "in": "query"
  3471. },
  3472. {
  3473. "type": "integer",
  3474. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3475. "name": "buyOrSell",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "number",
  3480. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3481. "name": "price",
  3482. "in": "query"
  3483. },
  3484. {
  3485. "type": "integer",
  3486. "description": "档位,不传则默认为3档",
  3487. "name": "speed",
  3488. "in": "query"
  3489. }
  3490. ],
  3491. "responses": {
  3492. "200": {
  3493. "description": "OK",
  3494. "schema": {
  3495. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3496. }
  3497. },
  3498. "500": {
  3499. "description": "Internal Server Error",
  3500. "schema": {
  3501. "$ref": "#/definitions/app.Response"
  3502. }
  3503. }
  3504. }
  3505. }
  3506. },
  3507. "/HSBY/QueryHsbyListingGoodsDetail": {
  3508. "get": {
  3509. "security": [
  3510. {
  3511. "ApiKeyAuth": []
  3512. }
  3513. ],
  3514. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3515. "produces": [
  3516. "application/json"
  3517. ],
  3518. "tags": [
  3519. "定制【海商报业】"
  3520. ],
  3521. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3522. "parameters": [
  3523. {
  3524. "type": "integer",
  3525. "description": "商品ID",
  3526. "name": "goodsID",
  3527. "in": "query",
  3528. "required": true
  3529. },
  3530. {
  3531. "type": "integer",
  3532. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3533. "name": "accountID",
  3534. "in": "query"
  3535. }
  3536. ],
  3537. "responses": {
  3538. "200": {
  3539. "description": "OK",
  3540. "schema": {
  3541. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3542. }
  3543. },
  3544. "500": {
  3545. "description": "Internal Server Error",
  3546. "schema": {
  3547. "$ref": "#/definitions/app.Response"
  3548. }
  3549. }
  3550. }
  3551. }
  3552. },
  3553. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3554. "get": {
  3555. "security": [
  3556. {
  3557. "ApiKeyAuth": []
  3558. }
  3559. ],
  3560. "produces": [
  3561. "application/json"
  3562. ],
  3563. "tags": [
  3564. "定制【海商报业】"
  3565. ],
  3566. "summary": "查询三级市场(商城)商品信息详情",
  3567. "parameters": [
  3568. {
  3569. "type": "integer",
  3570. "description": "委托单号",
  3571. "name": "orderID",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3578. "name": "accountID",
  3579. "in": "query"
  3580. }
  3581. ],
  3582. "responses": {
  3583. "200": {
  3584. "description": "OK",
  3585. "schema": {
  3586. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/HSBY/QueryHsbyMarketGoodses": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "定制【海商报业】"
  3610. ],
  3611. "summary": "查询特卖商品列表(三级商城)",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "页码",
  3616. "name": "page",
  3617. "in": "query"
  3618. },
  3619. {
  3620. "type": "integer",
  3621. "description": "每页条数",
  3622. "name": "pagesize",
  3623. "in": "query"
  3624. },
  3625. {
  3626. "type": "string",
  3627. "description": "市场ID列表,格式:1,2,3",
  3628. "name": "marketIDs",
  3629. "in": "query",
  3630. "required": true
  3631. },
  3632. {
  3633. "type": "integer",
  3634. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3635. "name": "accountID",
  3636. "in": "query",
  3637. "required": true
  3638. },
  3639. {
  3640. "type": "integer",
  3641. "description": "类别ID",
  3642. "name": "categoryID",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "string",
  3647. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3648. "name": "goodsIDs",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "integer",
  3653. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3654. "name": "couponTypeID",
  3655. "in": "query"
  3656. }
  3657. ],
  3658. "responses": {
  3659. "200": {
  3660. "description": "OK",
  3661. "schema": {
  3662. "$ref": "#/definitions/models.HsbyMarketGoods"
  3663. }
  3664. },
  3665. "500": {
  3666. "description": "Internal Server Error",
  3667. "schema": {
  3668. "$ref": "#/definitions/app.Response"
  3669. }
  3670. }
  3671. }
  3672. }
  3673. },
  3674. "/HSBY/QueryHsbyMarkets": {
  3675. "get": {
  3676. "security": [
  3677. {
  3678. "ApiKeyAuth": []
  3679. }
  3680. ],
  3681. "produces": [
  3682. "application/json"
  3683. ],
  3684. "tags": [
  3685. "定制【海商报业】"
  3686. ],
  3687. "summary": "查询海商报业相关市场信息",
  3688. "responses": {
  3689. "200": {
  3690. "description": "OK",
  3691. "schema": {
  3692. "$ref": "#/definitions/models.HsbyMarketInfo"
  3693. }
  3694. },
  3695. "500": {
  3696. "description": "Internal Server Error",
  3697. "schema": {
  3698. "$ref": "#/definitions/app.Response"
  3699. }
  3700. }
  3701. }
  3702. }
  3703. },
  3704. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3705. "get": {
  3706. "security": [
  3707. {
  3708. "ApiKeyAuth": []
  3709. }
  3710. ],
  3711. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3712. "produces": [
  3713. "application/json"
  3714. ],
  3715. "tags": [
  3716. "定制【海商报业】"
  3717. ],
  3718. "summary": "查询“我的订单”信息",
  3719. "parameters": [
  3720. {
  3721. "type": "string",
  3722. "description": "资金账户列表,格式:1,2,3",
  3723. "name": "accountIDs",
  3724. "in": "query",
  3725. "required": true
  3726. }
  3727. ],
  3728. "responses": {
  3729. "200": {
  3730. "description": "OK",
  3731. "schema": {
  3732. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3733. }
  3734. },
  3735. "500": {
  3736. "description": "Internal Server Error",
  3737. "schema": {
  3738. "$ref": "#/definitions/app.Response"
  3739. }
  3740. }
  3741. }
  3742. }
  3743. },
  3744. "/HSBY/QueryHsbyMyGoods": {
  3745. "get": {
  3746. "security": [
  3747. {
  3748. "ApiKeyAuth": []
  3749. }
  3750. ],
  3751. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3752. "produces": [
  3753. "application/json"
  3754. ],
  3755. "tags": [
  3756. "定制【海商报业】"
  3757. ],
  3758. "summary": "查询“我的商品”信息",
  3759. "parameters": [
  3760. {
  3761. "type": "string",
  3762. "description": "资金账户列表,格式:1,2,3",
  3763. "name": "accountIDs",
  3764. "in": "query",
  3765. "required": true
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "$ref": "#/definitions/models.HsbyMyGoods"
  3773. }
  3774. },
  3775. "500": {
  3776. "description": "Internal Server Error",
  3777. "schema": {
  3778. "$ref": "#/definitions/app.Response"
  3779. }
  3780. }
  3781. }
  3782. }
  3783. },
  3784. "/HSBY/QueryHsbyMyPackages": {
  3785. "get": {
  3786. "security": [
  3787. {
  3788. "ApiKeyAuth": []
  3789. }
  3790. ],
  3791. "produces": [
  3792. "application/json"
  3793. ],
  3794. "tags": [
  3795. "定制【海商报业】"
  3796. ],
  3797. "summary": "查询我的包裹信息",
  3798. "parameters": [
  3799. {
  3800. "type": "string",
  3801. "description": "资金账户列表,格式:1,2,3",
  3802. "name": "accountIDs",
  3803. "in": "query",
  3804. "required": true
  3805. },
  3806. {
  3807. "type": "integer",
  3808. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3809. "name": "takeOrderStatus",
  3810. "in": "query"
  3811. }
  3812. ],
  3813. "responses": {
  3814. "200": {
  3815. "description": "OK",
  3816. "schema": {
  3817. "$ref": "#/definitions/models.HsbyMyPackage"
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/HSBY/QueryHsbyPreGoodsDetail": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "定制【海商报业】"
  3841. ],
  3842. "summary": "查询一级市场(预售)商品信息详情",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "商品ID",
  3847. "name": "goodsID",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "资金账户,主要用于获取预售商品购买上限",
  3854. "name": "accountID",
  3855. "in": "query"
  3856. }
  3857. ],
  3858. "responses": {
  3859. "200": {
  3860. "description": "OK",
  3861. "schema": {
  3862. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3863. }
  3864. },
  3865. "500": {
  3866. "description": "Internal Server Error",
  3867. "schema": {
  3868. "$ref": "#/definitions/app.Response"
  3869. }
  3870. }
  3871. }
  3872. }
  3873. },
  3874. "/HSBY/QueryHsbyPreGoodses": {
  3875. "get": {
  3876. "security": [
  3877. {
  3878. "ApiKeyAuth": []
  3879. }
  3880. ],
  3881. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3882. "produces": [
  3883. "application/json"
  3884. ],
  3885. "tags": [
  3886. "定制【海商报业】"
  3887. ],
  3888. "summary": "查询新品上市商品列表(一级市场预售)",
  3889. "parameters": [
  3890. {
  3891. "type": "integer",
  3892. "description": "页码",
  3893. "name": "page",
  3894. "in": "query"
  3895. },
  3896. {
  3897. "type": "integer",
  3898. "description": "每页条数",
  3899. "name": "pagesize",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "string",
  3904. "description": "市场ID列表,格式:1,2,3",
  3905. "name": "marketIDs",
  3906. "in": "query",
  3907. "required": true
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "目的地(省)ID",
  3912. "name": "descProvinceID",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "目的地(市)ID",
  3918. "name": "descCityID",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "$ref": "#/definitions/models.HsbyPreGoods"
  3927. }
  3928. },
  3929. "500": {
  3930. "description": "Internal Server Error",
  3931. "schema": {
  3932. "$ref": "#/definitions/app.Response"
  3933. }
  3934. }
  3935. }
  3936. }
  3937. },
  3938. "/HSBY/QueryHsbySellMyDetails": {
  3939. "get": {
  3940. "security": [
  3941. {
  3942. "ApiKeyAuth": []
  3943. }
  3944. ],
  3945. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3946. "produces": [
  3947. "application/json"
  3948. ],
  3949. "tags": [
  3950. "定制【海商报业】"
  3951. ],
  3952. "summary": "查询\"我的闲置\"单据信息",
  3953. "parameters": [
  3954. {
  3955. "type": "integer",
  3956. "description": "页码",
  3957. "name": "page",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "integer",
  3962. "description": "每页条数",
  3963. "name": "pagesize",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "string",
  3968. "description": "资金账户列表,格式:1,2,3",
  3969. "name": "accountIDs",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3976. "name": "orderType",
  3977. "in": "query"
  3978. }
  3979. ],
  3980. "responses": {
  3981. "200": {
  3982. "description": "OK",
  3983. "schema": {
  3984. "$ref": "#/definitions/models.HsbySellMyDetail"
  3985. }
  3986. },
  3987. "500": {
  3988. "description": "Internal Server Error",
  3989. "schema": {
  3990. "$ref": "#/definitions/app.Response"
  3991. }
  3992. }
  3993. }
  3994. }
  3995. },
  3996. "/HSBY/QueryHsbyTopGoodses": {
  3997. "get": {
  3998. "security": [
  3999. {
  4000. "ApiKeyAuth": []
  4001. }
  4002. ],
  4003. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4004. "produces": [
  4005. "application/json"
  4006. ],
  4007. "tags": [
  4008. "定制【海商报业】"
  4009. ],
  4010. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4011. "parameters": [
  4012. {
  4013. "type": "integer",
  4014. "description": "页码",
  4015. "name": "page",
  4016. "in": "query"
  4017. },
  4018. {
  4019. "type": "integer",
  4020. "description": "每页条数",
  4021. "name": "pagesize",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "string",
  4026. "description": "市场ID列表,格式:1,2,3",
  4027. "name": "marketIDs",
  4028. "in": "query",
  4029. "required": true
  4030. },
  4031. {
  4032. "type": "integer",
  4033. "description": "目的地(省)ID",
  4034. "name": "descProvinceID",
  4035. "in": "query"
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "目的地(市)ID",
  4040. "name": "descCityID",
  4041. "in": "query"
  4042. }
  4043. ],
  4044. "responses": {
  4045. "200": {
  4046. "description": "OK",
  4047. "schema": {
  4048. "$ref": "#/definitions/models.HsbyTopGoods"
  4049. }
  4050. },
  4051. "500": {
  4052. "description": "Internal Server Error",
  4053. "schema": {
  4054. "$ref": "#/definitions/app.Response"
  4055. }
  4056. }
  4057. }
  4058. }
  4059. },
  4060. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4061. "get": {
  4062. "security": [
  4063. {
  4064. "ApiKeyAuth": []
  4065. }
  4066. ],
  4067. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "定制【海商报业】"
  4073. ],
  4074. "summary": "查询游客三级市场(商城)商品信息详情",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "商品ID",
  4079. "name": "goodsID",
  4080. "in": "query",
  4081. "required": true
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4089. }
  4090. },
  4091. "500": {
  4092. "description": "Internal Server Error",
  4093. "schema": {
  4094. "$ref": "#/definitions/app.Response"
  4095. }
  4096. }
  4097. }
  4098. }
  4099. },
  4100. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4101. "get": {
  4102. "security": [
  4103. {
  4104. "ApiKeyAuth": []
  4105. }
  4106. ],
  4107. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4108. "produces": [
  4109. "application/json"
  4110. ],
  4111. "tags": [
  4112. "定制【海商报业】"
  4113. ],
  4114. "summary": "查询游客特卖商品列表(三级商城)",
  4115. "parameters": [
  4116. {
  4117. "type": "integer",
  4118. "description": "页码",
  4119. "name": "page",
  4120. "in": "query"
  4121. },
  4122. {
  4123. "type": "integer",
  4124. "description": "每页条数",
  4125. "name": "pagesize",
  4126. "in": "query"
  4127. },
  4128. {
  4129. "type": "string",
  4130. "description": "市场ID列表,格式:1,2,3",
  4131. "name": "marketIDs",
  4132. "in": "query",
  4133. "required": true
  4134. },
  4135. {
  4136. "type": "integer",
  4137. "description": "类别ID",
  4138. "name": "categoryID",
  4139. "in": "query"
  4140. },
  4141. {
  4142. "type": "string",
  4143. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4144. "name": "goodsIDs",
  4145. "in": "query"
  4146. }
  4147. ],
  4148. "responses": {
  4149. "200": {
  4150. "description": "OK",
  4151. "schema": {
  4152. "$ref": "#/definitions/models.HsbyMarketGoods"
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/HSBY/QueryMyCollectionOrders": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "定制【海商报业】"
  4176. ],
  4177. "summary": "我的闲置中收款信息查询",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "页码",
  4182. "name": "page",
  4183. "in": "query"
  4184. },
  4185. {
  4186. "type": "integer",
  4187. "description": "每页条数",
  4188. "name": "pagesize",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "string",
  4193. "description": "资金账户,格式:1,2,3",
  4194. "name": "accountIDs",
  4195. "in": "query",
  4196. "required": true
  4197. }
  4198. ],
  4199. "responses": {
  4200. "200": {
  4201. "description": "OK",
  4202. "schema": {
  4203. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4204. }
  4205. },
  4206. "500": {
  4207. "description": "Internal Server Error",
  4208. "schema": {
  4209. "$ref": "#/definitions/app.Response"
  4210. }
  4211. }
  4212. }
  4213. }
  4214. },
  4215. "/HSBY/QueryMyCouponHolds": {
  4216. "get": {
  4217. "security": [
  4218. {
  4219. "ApiKeyAuth": []
  4220. }
  4221. ],
  4222. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4223. "produces": [
  4224. "application/json"
  4225. ],
  4226. "tags": [
  4227. "定制【海商报业】"
  4228. ],
  4229. "summary": "我的优惠卷持仓查询",
  4230. "parameters": [
  4231. {
  4232. "type": "string",
  4233. "description": "资金账户列表,格式:1,2,3",
  4234. "name": "accountIDs",
  4235. "in": "query",
  4236. "required": true
  4237. },
  4238. {
  4239. "type": "string",
  4240. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4241. "name": "holdStatus",
  4242. "in": "query"
  4243. }
  4244. ],
  4245. "responses": {
  4246. "200": {
  4247. "description": "OK",
  4248. "schema": {
  4249. "$ref": "#/definitions/models.MyCouponHold"
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/HSBY/QueryMyCoupons": {
  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": "string",
  4278. "description": "资金账户列表,格式:1,2,3",
  4279. "name": "accountIDs",
  4280. "in": "query",
  4281. "required": true
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "商品ID, 一般与sellUserID配套传入",
  4286. "name": "goodsID",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "卖方UserID",
  4292. "name": "sellUserID",
  4293. "in": "query"
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "$ref": "#/definitions/models.MyCoupon"
  4301. }
  4302. },
  4303. "500": {
  4304. "description": "Internal Server Error",
  4305. "schema": {
  4306. "$ref": "#/definitions/app.Response"
  4307. }
  4308. }
  4309. }
  4310. }
  4311. },
  4312. "/HSBY/QueryMyPayOrders": {
  4313. "get": {
  4314. "security": [
  4315. {
  4316. "ApiKeyAuth": []
  4317. }
  4318. ],
  4319. "produces": [
  4320. "application/json"
  4321. ],
  4322. "tags": [
  4323. "定制【海商报业】"
  4324. ],
  4325. "summary": "获取我的订单中待付款信息",
  4326. "parameters": [
  4327. {
  4328. "type": "integer",
  4329. "description": "页码",
  4330. "name": "page",
  4331. "in": "query"
  4332. },
  4333. {
  4334. "type": "integer",
  4335. "description": "每页条数",
  4336. "name": "pagesize",
  4337. "in": "query"
  4338. },
  4339. {
  4340. "type": "string",
  4341. "description": "资金账户列表,格式:1,2,3",
  4342. "name": "accountIDs",
  4343. "in": "query",
  4344. "required": true
  4345. },
  4346. {
  4347. "type": "integer",
  4348. "description": "买方委托单号",
  4349. "name": "buyOrderID",
  4350. "in": "query"
  4351. },
  4352. {
  4353. "type": "integer",
  4354. "description": "卖方委托单号",
  4355. "name": "sellOrderID",
  4356. "in": "query"
  4357. }
  4358. ],
  4359. "responses": {
  4360. "200": {
  4361. "description": "OK",
  4362. "schema": {
  4363. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/HSBY/QueryMyUsedCoupon": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "定制【海商报业】"
  4387. ],
  4388. "summary": "已使用优惠卷查询",
  4389. "parameters": [
  4390. {
  4391. "type": "string",
  4392. "description": "资金账户列表,格式:1,2,3",
  4393. "name": "accountIDs",
  4394. "in": "query",
  4395. "required": true
  4396. }
  4397. ],
  4398. "responses": {
  4399. "200": {
  4400. "description": "OK",
  4401. "schema": {
  4402. "$ref": "#/definitions/models.MyUsedCoupon"
  4403. }
  4404. },
  4405. "500": {
  4406. "description": "Internal Server Error",
  4407. "schema": {
  4408. "$ref": "#/definitions/app.Response"
  4409. }
  4410. }
  4411. }
  4412. }
  4413. },
  4414. "/HSBY/QueryProvincesAndCities": {
  4415. "get": {
  4416. "security": [
  4417. {
  4418. "ApiKeyAuth": []
  4419. }
  4420. ],
  4421. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4422. "produces": [
  4423. "application/json"
  4424. ],
  4425. "tags": [
  4426. "定制【海商报业】"
  4427. ],
  4428. "summary": "查询省市信息(不包括区)",
  4429. "parameters": [
  4430. {
  4431. "type": "integer",
  4432. "description": "省ID",
  4433. "name": "provinceID",
  4434. "in": "query"
  4435. }
  4436. ],
  4437. "responses": {
  4438. "200": {
  4439. "description": "OK",
  4440. "schema": {
  4441. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/HSBY/SetHsbyMyPackagesStatus": {
  4454. "post": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "定制【海商报业】"
  4465. ],
  4466. "summary": "设置我的包裹已收货状态",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "提货单号",
  4471. "name": "takeOrderID",
  4472. "in": "query",
  4473. "required": true
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "资金账号",
  4478. "name": "accountID",
  4479. "in": "query",
  4480. "required": true
  4481. }
  4482. ],
  4483. "responses": {
  4484. "200": {
  4485. "description": "OK",
  4486. "schema": {
  4487. "$ref": "#/definitions/app.Response"
  4488. }
  4489. },
  4490. "500": {
  4491. "description": "Internal Server Error",
  4492. "schema": {
  4493. "$ref": "#/definitions/app.Response"
  4494. }
  4495. }
  4496. }
  4497. }
  4498. },
  4499. "/Market/QueryGoodsesByLoginID": {
  4500. "get": {
  4501. "security": [
  4502. {
  4503. "ApiKeyAuth": []
  4504. }
  4505. ],
  4506. "produces": [
  4507. "application/json"
  4508. ],
  4509. "tags": [
  4510. "通用市场"
  4511. ],
  4512. "summary": "获取登录账号有权限的商品信息",
  4513. "parameters": [
  4514. {
  4515. "type": "integer",
  4516. "description": "登录账号",
  4517. "name": "loginID",
  4518. "in": "query",
  4519. "required": true
  4520. },
  4521. {
  4522. "type": "string",
  4523. "description": "市场ID列表,格式:1,2,3",
  4524. "name": "marketIDs",
  4525. "in": "query"
  4526. }
  4527. ],
  4528. "responses": {
  4529. "200": {
  4530. "description": "OK",
  4531. "schema": {
  4532. "$ref": "#/definitions/models.Goods"
  4533. }
  4534. },
  4535. "500": {
  4536. "description": "Internal Server Error",
  4537. "schema": {
  4538. "$ref": "#/definitions/app.Response"
  4539. }
  4540. }
  4541. }
  4542. }
  4543. },
  4544. "/Market/QueryMarketRun": {
  4545. "get": {
  4546. "security": [
  4547. {
  4548. "ApiKeyAuth": []
  4549. }
  4550. ],
  4551. "produces": [
  4552. "application/json"
  4553. ],
  4554. "tags": [
  4555. "通用市场"
  4556. ],
  4557. "summary": "查询市场运行信息",
  4558. "parameters": [
  4559. {
  4560. "type": "integer",
  4561. "description": "市场ID,不传返回所有",
  4562. "name": "marketID",
  4563. "in": "query"
  4564. }
  4565. ],
  4566. "responses": {
  4567. "200": {
  4568. "description": "OK",
  4569. "schema": {
  4570. "$ref": "#/definitions/models.Marketrun"
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Market/QueryMarketsByLoginID": {
  4583. "get": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "produces": [
  4590. "application/json"
  4591. ],
  4592. "tags": [
  4593. "通用市场"
  4594. ],
  4595. "summary": "获取登录账号有权限的市场信息",
  4596. "parameters": [
  4597. {
  4598. "type": "integer",
  4599. "description": "登录账号",
  4600. "name": "loginID",
  4601. "in": "query",
  4602. "required": true
  4603. }
  4604. ],
  4605. "responses": {
  4606. "200": {
  4607. "description": "OK",
  4608. "schema": {
  4609. "$ref": "#/definitions/models.Market"
  4610. }
  4611. },
  4612. "500": {
  4613. "description": "Internal Server Error",
  4614. "schema": {
  4615. "$ref": "#/definitions/app.Response"
  4616. }
  4617. }
  4618. }
  4619. }
  4620. },
  4621. "/Order/QueryHisTradeDetail": {
  4622. "get": {
  4623. "security": [
  4624. {
  4625. "ApiKeyAuth": []
  4626. }
  4627. ],
  4628. "produces": [
  4629. "application/json"
  4630. ],
  4631. "tags": [
  4632. "通用单据"
  4633. ],
  4634. "summary": "历史成交单查询(合约市场)",
  4635. "parameters": [
  4636. {
  4637. "type": "string",
  4638. "description": "资金账户 - 格式:1,2,3",
  4639. "name": "accountID",
  4640. "in": "query",
  4641. "required": true
  4642. },
  4643. {
  4644. "type": "integer",
  4645. "description": "成交单号",
  4646. "name": "tradeID",
  4647. "in": "query"
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "委托单号",
  4652. "name": "orderID",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "string",
  4657. "description": "交易模式 - 格式:1,2,3",
  4658. "name": "tradeMode",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "integer",
  4663. "description": "委托单据类型",
  4664. "name": "buildType",
  4665. "in": "query"
  4666. },
  4667. {
  4668. "type": "string",
  4669. "description": "成交类别 - 格式:1,2,3",
  4670. "name": "tradeType",
  4671. "in": "query"
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4676. "name": "startDate",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4682. "name": "endDate",
  4683. "in": "query"
  4684. }
  4685. ],
  4686. "responses": {
  4687. "200": {
  4688. "description": "OK",
  4689. "schema": {
  4690. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4691. }
  4692. },
  4693. "500": {
  4694. "description": "Internal Server Error",
  4695. "schema": {
  4696. "$ref": "#/definitions/app.Response"
  4697. }
  4698. }
  4699. }
  4700. }
  4701. },
  4702. "/Order/QueryHisTradeOrderDetail": {
  4703. "get": {
  4704. "security": [
  4705. {
  4706. "ApiKeyAuth": []
  4707. }
  4708. ],
  4709. "produces": [
  4710. "application/json"
  4711. ],
  4712. "tags": [
  4713. "通用单据"
  4714. ],
  4715. "summary": "历史委托单查询请求(合约市场)",
  4716. "parameters": [
  4717. {
  4718. "type": "string",
  4719. "description": "资金账户 - 格式:1,2,3",
  4720. "name": "accountID",
  4721. "in": "query",
  4722. "required": true
  4723. },
  4724. {
  4725. "type": "string",
  4726. "description": "交易模式 - 格式:1,2,3",
  4727. "name": "tradeMode",
  4728. "in": "query"
  4729. },
  4730. {
  4731. "type": "string",
  4732. "description": "委托状态 - 格式:1,2,3",
  4733. "name": "orderStatus",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "integer",
  4738. "description": "委托单号",
  4739. "name": "orderID",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "string",
  4744. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4745. "name": "startDate",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "string",
  4750. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4751. "name": "endDate",
  4752. "in": "query"
  4753. }
  4754. ],
  4755. "responses": {
  4756. "200": {
  4757. "description": "OK",
  4758. "schema": {
  4759. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4760. }
  4761. },
  4762. "500": {
  4763. "description": "Internal Server Error",
  4764. "schema": {
  4765. "$ref": "#/definitions/app.Response"
  4766. }
  4767. }
  4768. }
  4769. }
  4770. },
  4771. "/Order/QueryTradeDetail": {
  4772. "get": {
  4773. "security": [
  4774. {
  4775. "ApiKeyAuth": []
  4776. }
  4777. ],
  4778. "produces": [
  4779. "application/json"
  4780. ],
  4781. "tags": [
  4782. "通用单据"
  4783. ],
  4784. "summary": "成交单查询(合约市场)",
  4785. "parameters": [
  4786. {
  4787. "type": "string",
  4788. "description": "资金账户 - 格式:1,2,3",
  4789. "name": "accountID",
  4790. "in": "query",
  4791. "required": true
  4792. },
  4793. {
  4794. "type": "integer",
  4795. "description": "成交单号",
  4796. "name": "tradeID",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "integer",
  4801. "description": "委托单号",
  4802. "name": "orderID",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "string",
  4807. "description": "交易模式 - 格式:1,2,3",
  4808. "name": "tradeMode",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "integer",
  4813. "description": "委托单据类型",
  4814. "name": "buildType",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "string",
  4819. "description": "成交类别 - 格式:1,2,3",
  4820. "name": "tradeType",
  4821. "in": "query"
  4822. }
  4823. ],
  4824. "responses": {
  4825. "200": {
  4826. "description": "OK",
  4827. "schema": {
  4828. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4829. }
  4830. },
  4831. "500": {
  4832. "description": "Internal Server Error",
  4833. "schema": {
  4834. "$ref": "#/definitions/app.Response"
  4835. }
  4836. }
  4837. }
  4838. }
  4839. },
  4840. "/Order/QueryTradeOrderDetail": {
  4841. "get": {
  4842. "security": [
  4843. {
  4844. "ApiKeyAuth": []
  4845. }
  4846. ],
  4847. "produces": [
  4848. "application/json"
  4849. ],
  4850. "tags": [
  4851. "通用单据"
  4852. ],
  4853. "summary": "委托单查询请求(合约市场)",
  4854. "parameters": [
  4855. {
  4856. "type": "string",
  4857. "description": "资金账户 - 格式:1,2,3",
  4858. "name": "accountID",
  4859. "in": "query",
  4860. "required": true
  4861. },
  4862. {
  4863. "type": "string",
  4864. "description": "交易模式 - 格式:1,2,3",
  4865. "name": "tradeMode",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "委托状态 - 格式:1,2,3",
  4871. "name": "orderStatus",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "integer",
  4876. "description": "委托单号",
  4877. "name": "orderID",
  4878. "in": "query"
  4879. }
  4880. ],
  4881. "responses": {
  4882. "200": {
  4883. "description": "OK",
  4884. "schema": {
  4885. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4886. }
  4887. },
  4888. "500": {
  4889. "description": "Internal Server Error",
  4890. "schema": {
  4891. "$ref": "#/definitions/app.Response"
  4892. }
  4893. }
  4894. }
  4895. }
  4896. },
  4897. "/Order/QueryTradePosition": {
  4898. "get": {
  4899. "security": [
  4900. {
  4901. "ApiKeyAuth": []
  4902. }
  4903. ],
  4904. "produces": [
  4905. "application/json"
  4906. ],
  4907. "tags": [
  4908. "通用单据"
  4909. ],
  4910. "summary": "持仓汇总查询(合约市场)",
  4911. "parameters": [
  4912. {
  4913. "type": "string",
  4914. "description": "资金账户 - 格式:1,2,3",
  4915. "name": "accountID",
  4916. "in": "query",
  4917. "required": true
  4918. },
  4919. {
  4920. "type": "string",
  4921. "description": "交易模式 - 格式:1,2,3",
  4922. "name": "tradeMode",
  4923. "in": "query"
  4924. }
  4925. ],
  4926. "responses": {
  4927. "200": {
  4928. "description": "OK",
  4929. "schema": {
  4930. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Quote/QueryHistoryDatas": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "行情服务"
  4954. ],
  4955. "summary": "查询行情历史数据",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4960. "name": "cycleType",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "string",
  4966. "description": "商品代码",
  4967. "name": "goodsCode",
  4968. "in": "query",
  4969. "required": true
  4970. },
  4971. {
  4972. "type": "string",
  4973. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4974. "name": "startTime",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4980. "name": "endTime",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "条数",
  4986. "name": "count",
  4987. "in": "query"
  4988. },
  4989. {
  4990. "type": "boolean",
  4991. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4992. "name": "isAsc",
  4993. "in": "query"
  4994. }
  4995. ],
  4996. "responses": {
  4997. "200": {
  4998. "description": "OK",
  4999. "schema": {
  5000. "$ref": "#/definitions/quote.HistoryData"
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Quote/QueryQuoteDay": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "行情服务"
  5024. ],
  5025. "summary": "获取商品盘面信息",
  5026. "parameters": [
  5027. {
  5028. "type": "string",
  5029. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5030. "name": "goodsCodes",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/Quote/QueryTSData": {
  5052. "get": {
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "行情服务"
  5058. ],
  5059. "summary": "分时图数据查询",
  5060. "parameters": [
  5061. {
  5062. "type": "string",
  5063. "description": "商品代码",
  5064. "name": "goodsCode",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/SZDZ/QueryConvertConfig": {
  5086. "get": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "produces": [
  5093. "application/json"
  5094. ],
  5095. "tags": [
  5096. "定制【尚志大宗】"
  5097. ],
  5098. "summary": "查询交易系统转换设置",
  5099. "parameters": [
  5100. {
  5101. "type": "integer",
  5102. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5103. "name": "convertType",
  5104. "in": "query"
  5105. },
  5106. {
  5107. "type": "string",
  5108. "description": "外部商品代码[JD\\PD]",
  5109. "name": "outerGoodsCode",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "内部商品ID列表[交易],格式:1,2,3",
  5115. "name": "innerGoodsIDs",
  5116. "in": "query"
  5117. }
  5118. ],
  5119. "responses": {
  5120. "200": {
  5121. "description": "OK",
  5122. "schema": {
  5123. "$ref": "#/definitions/models.Szdz3convertconfig"
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/SZDZ/QueryConvertLog": {
  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": "string",
  5159. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5160. "name": "startDate",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "string",
  5165. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5166. "name": "endDate",
  5167. "in": "query"
  5168. }
  5169. ],
  5170. "responses": {
  5171. "200": {
  5172. "description": "OK",
  5173. "schema": {
  5174. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5175. }
  5176. },
  5177. "500": {
  5178. "description": "Internal Server Error",
  5179. "schema": {
  5180. "$ref": "#/definitions/app.Response"
  5181. }
  5182. }
  5183. }
  5184. }
  5185. },
  5186. "/SZDZ/QueryGoodsPickup": {
  5187. "get": {
  5188. "security": [
  5189. {
  5190. "ApiKeyAuth": []
  5191. }
  5192. ],
  5193. "produces": [
  5194. "application/json"
  5195. ],
  5196. "tags": [
  5197. "定制【尚志大宗】"
  5198. ],
  5199. "summary": "商品提货单查询",
  5200. "parameters": [
  5201. {
  5202. "type": "string",
  5203. "description": "资金账户 - 格式:1,2,3",
  5204. "name": "accountID",
  5205. "in": "query",
  5206. "required": true
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5211. "name": "takeOrderStatus",
  5212. "in": "query"
  5213. }
  5214. ],
  5215. "responses": {
  5216. "200": {
  5217. "description": "OK",
  5218. "schema": {
  5219. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5220. }
  5221. },
  5222. "500": {
  5223. "description": "Internal Server Error",
  5224. "schema": {
  5225. "$ref": "#/definitions/app.Response"
  5226. }
  5227. }
  5228. }
  5229. }
  5230. },
  5231. "/SZDZ/QueryRecieptOrder": {
  5232. "get": {
  5233. "security": [
  5234. {
  5235. "ApiKeyAuth": []
  5236. }
  5237. ],
  5238. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "定制【尚志大宗】"
  5244. ],
  5245. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5246. "parameters": [
  5247. {
  5248. "type": "integer",
  5249. "description": "页码",
  5250. "name": "page",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "每页条数",
  5256. "name": "pagesize",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "商品ID",
  5262. "name": "goodsID",
  5263. "in": "query",
  5264. "required": true
  5265. },
  5266. {
  5267. "type": "string",
  5268. "description": "所属账户名称",
  5269. "name": "accountName",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "市场ID",
  5275. "name": "marketID",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "方向 - 0:买 1:卖",
  5281. "name": "buyorsell",
  5282. "in": "query",
  5283. "required": true
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/SZDZ/QuerySZDZTradePosition": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "produces": [
  5310. "application/json"
  5311. ],
  5312. "tags": [
  5313. "定制【尚志大宗】"
  5314. ],
  5315. "summary": "持仓汇总查询(尚志大宗)",
  5316. "parameters": [
  5317. {
  5318. "type": "integer",
  5319. "description": "资金账户",
  5320. "name": "accountID",
  5321. "in": "query",
  5322. "required": true
  5323. }
  5324. ],
  5325. "responses": {
  5326. "200": {
  5327. "description": "OK",
  5328. "schema": {
  5329. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5330. }
  5331. },
  5332. "500": {
  5333. "description": "Internal Server Error",
  5334. "schema": {
  5335. "$ref": "#/definitions/app.Response"
  5336. }
  5337. }
  5338. }
  5339. }
  5340. },
  5341. "/SZDZ/SearchWhite": {
  5342. "get": {
  5343. "security": [
  5344. {
  5345. "ApiKeyAuth": []
  5346. }
  5347. ],
  5348. "produces": [
  5349. "application/json"
  5350. ],
  5351. "tags": [
  5352. "定制【尚志大宗】"
  5353. ],
  5354. "summary": "搜索白名单",
  5355. "parameters": [
  5356. {
  5357. "type": "integer",
  5358. "description": "用户ID",
  5359. "name": "userID",
  5360. "in": "query",
  5361. "required": true
  5362. }
  5363. ],
  5364. "responses": {
  5365. "200": {
  5366. "description": "OK",
  5367. "schema": {
  5368. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5369. }
  5370. },
  5371. "500": {
  5372. "description": "Internal Server Error",
  5373. "schema": {
  5374. "$ref": "#/definitions/app.Response"
  5375. }
  5376. }
  5377. }
  5378. }
  5379. },
  5380. "/Search/SearchGoodses": {
  5381. "get": {
  5382. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "检索服务"
  5388. ],
  5389. "summary": "检索商品信息",
  5390. "parameters": [
  5391. {
  5392. "type": "string",
  5393. "description": "检索内容",
  5394. "name": "content",
  5395. "in": "query",
  5396. "required": true
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "交易模式,格式:1,2,3",
  5401. "name": "tradeModes",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/models.SearchGoods"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/TaAccount/GetTaAccounts": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "produces": [
  5429. "application/json"
  5430. ],
  5431. "tags": [
  5432. "资金账户"
  5433. ],
  5434. "summary": "获取资金账户信息",
  5435. "parameters": [
  5436. {
  5437. "type": "integer",
  5438. "description": "登录账户",
  5439. "name": "loginID",
  5440. "in": "query",
  5441. "required": true
  5442. },
  5443. {
  5444. "type": "integer",
  5445. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5446. "name": "taAccountType",
  5447. "in": "query"
  5448. }
  5449. ],
  5450. "responses": {
  5451. "200": {
  5452. "description": "OK",
  5453. "schema": {
  5454. "$ref": "#/definitions/models.Taaccount"
  5455. }
  5456. },
  5457. "500": {
  5458. "description": "Internal Server Error",
  5459. "schema": {
  5460. "$ref": "#/definitions/app.Response"
  5461. }
  5462. }
  5463. }
  5464. }
  5465. },
  5466. "/TaAccount/QueryAmountLog": {
  5467. "get": {
  5468. "security": [
  5469. {
  5470. "ApiKeyAuth": []
  5471. }
  5472. ],
  5473. "produces": [
  5474. "application/json"
  5475. ],
  5476. "tags": [
  5477. "资金账户"
  5478. ],
  5479. "summary": "资金流水查询(当前)",
  5480. "parameters": [
  5481. {
  5482. "type": "integer",
  5483. "description": "页码",
  5484. "name": "page",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "每页条数",
  5490. "name": "pagesize",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "string",
  5495. "description": "资金账户 - 格式:1,2,3",
  5496. "name": "accountID",
  5497. "in": "query",
  5498. "required": true
  5499. },
  5500. {
  5501. "type": "string",
  5502. "description": "资金操作类型 - 格式:1,2,3",
  5503. "name": "OperateType",
  5504. "in": "query"
  5505. }
  5506. ],
  5507. "responses": {
  5508. "200": {
  5509. "description": "OK",
  5510. "schema": {
  5511. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5512. }
  5513. },
  5514. "500": {
  5515. "description": "Internal Server Error",
  5516. "schema": {
  5517. "$ref": "#/definitions/app.Response"
  5518. }
  5519. }
  5520. }
  5521. }
  5522. },
  5523. "/TaAccount/QueryHisAmountLog": {
  5524. "get": {
  5525. "security": [
  5526. {
  5527. "ApiKeyAuth": []
  5528. }
  5529. ],
  5530. "produces": [
  5531. "application/json"
  5532. ],
  5533. "tags": [
  5534. "资金账户"
  5535. ],
  5536. "summary": "资金流水查询(历史)",
  5537. "parameters": [
  5538. {
  5539. "type": "integer",
  5540. "description": "页码",
  5541. "name": "page",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "integer",
  5546. "description": "每页条数",
  5547. "name": "pagesize",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "资金账户 - 格式:1,2,3",
  5553. "name": "accountID",
  5554. "in": "query",
  5555. "required": true
  5556. },
  5557. {
  5558. "type": "string",
  5559. "description": "资金操作类型 - 格式:1,2,3",
  5560. "name": "OperateType",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "string",
  5565. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5566. "name": "startDate",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5572. "name": "endDate",
  5573. "in": "query"
  5574. }
  5575. ],
  5576. "responses": {
  5577. "200": {
  5578. "description": "OK",
  5579. "schema": {
  5580. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5581. }
  5582. },
  5583. "500": {
  5584. "description": "Internal Server Error",
  5585. "schema": {
  5586. "$ref": "#/definitions/app.Response"
  5587. }
  5588. }
  5589. }
  5590. }
  5591. },
  5592. "/Trade/QueryRecieptOrder": {
  5593. "get": {
  5594. "security": [
  5595. {
  5596. "ApiKeyAuth": []
  5597. }
  5598. ],
  5599. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5600. "produces": [
  5601. "application/json"
  5602. ],
  5603. "tags": [
  5604. "通用交易"
  5605. ],
  5606. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5607. "parameters": [
  5608. {
  5609. "type": "integer",
  5610. "description": "页码",
  5611. "name": "page",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "integer",
  5616. "description": "每页条数",
  5617. "name": "pagesize",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "商品ID",
  5623. "name": "goodsID",
  5624. "in": "query",
  5625. "required": true
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "所属账户名称",
  5630. "name": "accountName",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "市场ID",
  5636. "name": "marketID",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "方向 - 0:买 1:卖",
  5642. "name": "buyorsell",
  5643. "in": "query",
  5644. "required": true
  5645. }
  5646. ],
  5647. "responses": {
  5648. "200": {
  5649. "description": "OK",
  5650. "schema": {
  5651. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5652. }
  5653. },
  5654. "500": {
  5655. "description": "Internal Server Error",
  5656. "schema": {
  5657. "$ref": "#/definitions/app.Response"
  5658. }
  5659. }
  5660. }
  5661. }
  5662. },
  5663. "/User/AddMessageBoard": {
  5664. "post": {
  5665. "security": [
  5666. {
  5667. "ApiKeyAuth": []
  5668. }
  5669. ],
  5670. "produces": [
  5671. "application/json"
  5672. ],
  5673. "tags": [
  5674. "用户信息"
  5675. ],
  5676. "summary": "添加用户留言板信息",
  5677. "parameters": [
  5678. {
  5679. "type": "integer",
  5680. "description": "用户ID",
  5681. "name": "userID",
  5682. "in": "query",
  5683. "required": true
  5684. },
  5685. {
  5686. "type": "string",
  5687. "description": "留言信息",
  5688. "name": "message",
  5689. "in": "query",
  5690. "required": true
  5691. },
  5692. {
  5693. "type": "string",
  5694. "description": "联系电话",
  5695. "name": "contactNum",
  5696. "in": "query",
  5697. "required": true
  5698. }
  5699. ],
  5700. "responses": {
  5701. "200": {
  5702. "description": "OK",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. },
  5707. "500": {
  5708. "description": "Internal Server Error",
  5709. "schema": {
  5710. "$ref": "#/definitions/app.Response"
  5711. }
  5712. }
  5713. }
  5714. }
  5715. },
  5716. "/User/AddUserFavoriteGoods": {
  5717. "post": {
  5718. "security": [
  5719. {
  5720. "ApiKeyAuth": []
  5721. }
  5722. ],
  5723. "produces": [
  5724. "application/json"
  5725. ],
  5726. "tags": [
  5727. "用户信息"
  5728. ],
  5729. "summary": "添加用户商品收藏信息",
  5730. "parameters": [
  5731. {
  5732. "type": "integer",
  5733. "description": "用户ID",
  5734. "name": "userID",
  5735. "in": "query",
  5736. "required": true
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "商品ID",
  5741. "name": "goodsID",
  5742. "in": "query",
  5743. "required": true
  5744. }
  5745. ],
  5746. "responses": {
  5747. "200": {
  5748. "description": "OK",
  5749. "schema": {
  5750. "$ref": "#/definitions/app.Response"
  5751. }
  5752. },
  5753. "500": {
  5754. "description": "Internal Server Error",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. }
  5759. }
  5760. }
  5761. },
  5762. "/User/GetLoginID": {
  5763. "get": {
  5764. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "用户信息"
  5770. ],
  5771. "summary": "获取登录ID",
  5772. "parameters": [
  5773. {
  5774. "type": "string",
  5775. "description": "登录代码",
  5776. "name": "username",
  5777. "in": "query",
  5778. "required": true
  5779. }
  5780. ],
  5781. "responses": {
  5782. "200": {
  5783. "description": "OK",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. },
  5788. "500": {
  5789. "description": "Internal Server Error",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. }
  5794. }
  5795. }
  5796. },
  5797. "/User/GetUserAccount": {
  5798. "get": {
  5799. "security": [
  5800. {
  5801. "ApiKeyAuth": []
  5802. }
  5803. ],
  5804. "produces": [
  5805. "application/json"
  5806. ],
  5807. "tags": [
  5808. "用户信息"
  5809. ],
  5810. "summary": "获取用户账号信息",
  5811. "parameters": [
  5812. {
  5813. "type": "integer",
  5814. "description": "用户ID",
  5815. "name": "userID",
  5816. "in": "query",
  5817. "required": true
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/models.Useraccount"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/User/GetUserAuthStatus": {
  5837. "get": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "用户信息"
  5848. ],
  5849. "summary": "获取用户实名认证状态",
  5850. "parameters": [
  5851. {
  5852. "type": "integer",
  5853. "description": "用户ID",
  5854. "name": "userID",
  5855. "in": "query",
  5856. "required": true
  5857. }
  5858. ],
  5859. "responses": {
  5860. "200": {
  5861. "description": "OK",
  5862. "schema": {
  5863. "$ref": "#/definitions/app.Response"
  5864. }
  5865. },
  5866. "500": {
  5867. "description": "Internal Server Error",
  5868. "schema": {
  5869. "$ref": "#/definitions/app.Response"
  5870. }
  5871. }
  5872. }
  5873. }
  5874. },
  5875. "/User/QueryMessageBoard": {
  5876. "get": {
  5877. "security": [
  5878. {
  5879. "ApiKeyAuth": []
  5880. }
  5881. ],
  5882. "produces": [
  5883. "application/json"
  5884. ],
  5885. "tags": [
  5886. "用户信息"
  5887. ],
  5888. "summary": "获取用户留言板信息",
  5889. "parameters": [
  5890. {
  5891. "type": "integer",
  5892. "description": "用户ID",
  5893. "name": "userID",
  5894. "in": "query",
  5895. "required": true
  5896. }
  5897. ],
  5898. "responses": {
  5899. "200": {
  5900. "description": "OK",
  5901. "schema": {
  5902. "$ref": "#/definitions/models.Messageboard"
  5903. }
  5904. },
  5905. "500": {
  5906. "description": "Internal Server Error",
  5907. "schema": {
  5908. "$ref": "#/definitions/app.Response"
  5909. }
  5910. }
  5911. }
  5912. }
  5913. },
  5914. "/User/QueryUserFavoriteGoodses": {
  5915. "get": {
  5916. "security": [
  5917. {
  5918. "ApiKeyAuth": []
  5919. }
  5920. ],
  5921. "produces": [
  5922. "application/json"
  5923. ],
  5924. "tags": [
  5925. "用户信息"
  5926. ],
  5927. "summary": "获取用户商品收藏信息",
  5928. "parameters": [
  5929. {
  5930. "type": "integer",
  5931. "description": "用户ID",
  5932. "name": "userID",
  5933. "in": "query",
  5934. "required": true
  5935. }
  5936. ],
  5937. "responses": {
  5938. "200": {
  5939. "description": "OK",
  5940. "schema": {
  5941. "$ref": "#/definitions/models.Userfavoritegoods"
  5942. }
  5943. },
  5944. "500": {
  5945. "description": "Internal Server Error",
  5946. "schema": {
  5947. "$ref": "#/definitions/app.Response"
  5948. }
  5949. }
  5950. }
  5951. }
  5952. },
  5953. "/User/QueryUserInfo": {
  5954. "get": {
  5955. "security": [
  5956. {
  5957. "ApiKeyAuth": []
  5958. }
  5959. ],
  5960. "produces": [
  5961. "application/json"
  5962. ],
  5963. "tags": [
  5964. "用户信息"
  5965. ],
  5966. "summary": "获取用户信息",
  5967. "parameters": [
  5968. {
  5969. "type": "integer",
  5970. "description": "用户ID",
  5971. "name": "userID",
  5972. "in": "query",
  5973. "required": true
  5974. }
  5975. ],
  5976. "responses": {
  5977. "200": {
  5978. "description": "OK",
  5979. "schema": {
  5980. "$ref": "#/definitions/models.Userinfo"
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/User/QueryUserReferNum": {
  5993. "get": {
  5994. "produces": [
  5995. "application/json"
  5996. ],
  5997. "tags": [
  5998. "用户信息"
  5999. ],
  6000. "summary": "获取用户邀请码",
  6001. "parameters": [
  6002. {
  6003. "type": "integer",
  6004. "description": "用户ID",
  6005. "name": "userID",
  6006. "in": "query",
  6007. "required": true
  6008. }
  6009. ],
  6010. "responses": {
  6011. "200": {
  6012. "description": "OK",
  6013. "schema": {
  6014. "$ref": "#/definitions/app.Response"
  6015. }
  6016. },
  6017. "500": {
  6018. "description": "Internal Server Error",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. }
  6023. }
  6024. }
  6025. },
  6026. "/User/RemoveUserFavoriteGoods": {
  6027. "post": {
  6028. "security": [
  6029. {
  6030. "ApiKeyAuth": []
  6031. }
  6032. ],
  6033. "produces": [
  6034. "application/json"
  6035. ],
  6036. "tags": [
  6037. "用户信息"
  6038. ],
  6039. "summary": "移除用户商品收藏信息",
  6040. "parameters": [
  6041. {
  6042. "type": "integer",
  6043. "description": "用户ID",
  6044. "name": "userID",
  6045. "in": "query",
  6046. "required": true
  6047. },
  6048. {
  6049. "type": "integer",
  6050. "description": "商品ID",
  6051. "name": "goodsID",
  6052. "in": "query",
  6053. "required": true
  6054. }
  6055. ],
  6056. "responses": {
  6057. "200": {
  6058. "description": "OK",
  6059. "schema": {
  6060. "$ref": "#/definitions/app.Response"
  6061. }
  6062. },
  6063. "500": {
  6064. "description": "Internal Server Error",
  6065. "schema": {
  6066. "$ref": "#/definitions/app.Response"
  6067. }
  6068. }
  6069. }
  6070. }
  6071. },
  6072. "/User/UpdateUserAccountStatus": {
  6073. "post": {
  6074. "security": [
  6075. {
  6076. "ApiKeyAuth": []
  6077. }
  6078. ],
  6079. "produces": [
  6080. "application/json"
  6081. ],
  6082. "tags": [
  6083. "用户信息"
  6084. ],
  6085. "summary": "更新用户状态",
  6086. "parameters": [
  6087. {
  6088. "type": "integer",
  6089. "description": "用户ID",
  6090. "name": "userID",
  6091. "in": "query",
  6092. "required": true
  6093. },
  6094. {
  6095. "type": "integer",
  6096. "description": "账户状态 - 4:正常 6:注销(停用)",
  6097. "name": "accountStatus",
  6098. "in": "query",
  6099. "required": true
  6100. }
  6101. ],
  6102. "responses": {
  6103. "200": {
  6104. "description": "OK",
  6105. "schema": {
  6106. "$ref": "#/definitions/app.Response"
  6107. }
  6108. },
  6109. "500": {
  6110. "description": "Internal Server Error",
  6111. "schema": {
  6112. "$ref": "#/definitions/app.Response"
  6113. }
  6114. }
  6115. }
  6116. }
  6117. },
  6118. "/WR/GetWRCategoryInfo": {
  6119. "get": {
  6120. "produces": [
  6121. "application/json"
  6122. ],
  6123. "tags": [
  6124. "仓单服务"
  6125. ],
  6126. "summary": "获取现货分类信息",
  6127. "responses": {
  6128. "200": {
  6129. "description": "OK",
  6130. "schema": {
  6131. "$ref": "#/definitions/models.WRCategoryTree"
  6132. }
  6133. },
  6134. "500": {
  6135. "description": "Internal Server Error",
  6136. "schema": {
  6137. "$ref": "#/definitions/app.Response"
  6138. }
  6139. }
  6140. }
  6141. }
  6142. },
  6143. "/WRTrade/GetAllDeliveryGoods": {
  6144. "get": {
  6145. "security": [
  6146. {
  6147. "ApiKeyAuth": []
  6148. },
  6149. {
  6150. "ApiKeyAuth": []
  6151. }
  6152. ],
  6153. "produces": [
  6154. "application/json",
  6155. "application/json"
  6156. ],
  6157. "tags": [
  6158. "仓单贸易",
  6159. "仓单贸易"
  6160. ],
  6161. "summary": "获取带仓单分类的种类信息",
  6162. "responses": {
  6163. "200": {
  6164. "description": "OK",
  6165. "schema": {
  6166. "$ref": "#/definitions/app.Response"
  6167. }
  6168. },
  6169. "500": {
  6170. "description": "Internal Server Error",
  6171. "schema": {
  6172. "$ref": "#/definitions/app.Response"
  6173. }
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "definitions": {
  6180. "app.Response": {
  6181. "type": "object",
  6182. "properties": {
  6183. "code": {
  6184. "type": "integer"
  6185. },
  6186. "data": {
  6187. "type": "object"
  6188. },
  6189. "msg": {
  6190. "type": "string"
  6191. },
  6192. "page": {
  6193. "description": "页码",
  6194. "type": "integer"
  6195. },
  6196. "pagesize": {
  6197. "description": "每页条数",
  6198. "type": "integer"
  6199. },
  6200. "total": {
  6201. "description": "总条数",
  6202. "type": "integer"
  6203. }
  6204. }
  6205. },
  6206. "common.QueryNoticeRsp": {
  6207. "type": "object",
  6208. "required": [
  6209. "autoid"
  6210. ],
  6211. "properties": {
  6212. "auditoruserid": {
  6213. "description": "审核人",
  6214. "type": "integer"
  6215. },
  6216. "auditremark": {
  6217. "description": "审核备注",
  6218. "type": "string"
  6219. },
  6220. "audittime": {
  6221. "description": "审核日期",
  6222. "type": "string"
  6223. },
  6224. "autoid": {
  6225. "description": "自增ID",
  6226. "type": "integer"
  6227. },
  6228. "content": {
  6229. "description": "内容",
  6230. "type": "string"
  6231. },
  6232. "createtime": {
  6233. "description": "创建时间",
  6234. "type": "string"
  6235. },
  6236. "creatorid": {
  6237. "description": "建仓人",
  6238. "type": "integer"
  6239. },
  6240. "endtime": {
  6241. "description": "结束时间",
  6242. "type": "string"
  6243. },
  6244. "istop": {
  6245. "description": "是否置顶 - 0:不置顶 1:置顶",
  6246. "type": "integer"
  6247. },
  6248. "msgiconurl": {
  6249. "description": "消息图标Url",
  6250. "type": "string"
  6251. },
  6252. "msgtype": {
  6253. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6254. "type": "integer"
  6255. },
  6256. "publisher": {
  6257. "description": "消息发布者",
  6258. "type": "string"
  6259. },
  6260. "readed": {
  6261. "description": "是否已读",
  6262. "type": "boolean"
  6263. },
  6264. "scheduletime": {
  6265. "description": "计划发送时间",
  6266. "type": "string"
  6267. },
  6268. "sendtype": {
  6269. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6270. "type": "integer"
  6271. },
  6272. "sentstatus": {
  6273. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6274. "type": "integer"
  6275. },
  6276. "title": {
  6277. "description": "标题",
  6278. "type": "string"
  6279. },
  6280. "userid": {
  6281. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6282. "type": "integer"
  6283. }
  6284. }
  6285. },
  6286. "common.QueryProvincesAndCitiesRsp": {
  6287. "type": "object",
  6288. "properties": {
  6289. "cities": {
  6290. "description": "市",
  6291. "type": "array",
  6292. "items": {
  6293. "$ref": "#/definitions/models.Division"
  6294. }
  6295. },
  6296. "province": {
  6297. "description": "省",
  6298. "$ref": "#/definitions/models.Division"
  6299. }
  6300. }
  6301. },
  6302. "common.QueryTableDefineRsp": {
  6303. "type": "object",
  6304. "required": [
  6305. "tablekey"
  6306. ],
  6307. "properties": {
  6308. "columns": {
  6309. "description": "列头信息数组",
  6310. "type": "array",
  6311. "items": {
  6312. "$ref": "#/definitions/models.Tablecolumnconfig"
  6313. }
  6314. },
  6315. "remark": {
  6316. "description": "Remark",
  6317. "type": "string"
  6318. },
  6319. "tabelmenu": {
  6320. "description": "列表菜单",
  6321. "type": "string"
  6322. },
  6323. "tablekey": {
  6324. "description": "列表Key",
  6325. "type": "string"
  6326. },
  6327. "tablename": {
  6328. "description": "列表名称",
  6329. "type": "string"
  6330. },
  6331. "tabletype": {
  6332. "description": "列表类型 - 1:管理端 2:终端",
  6333. "type": "integer"
  6334. }
  6335. }
  6336. },
  6337. "common.QueryTraderMenuRsp": {
  6338. "type": "object",
  6339. "properties": {
  6340. "OperationMenu": {
  6341. "description": "功能菜单",
  6342. "type": "array",
  6343. "items": {
  6344. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6345. }
  6346. },
  6347. "QuoteMenu": {
  6348. "description": "报价牌分类菜单",
  6349. "type": "array",
  6350. "items": {
  6351. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6352. }
  6353. }
  6354. }
  6355. },
  6356. "cptrade.Cptradepositioncancel": {
  6357. "type": "object",
  6358. "required": [
  6359. "cancelid"
  6360. ],
  6361. "properties": {
  6362. "accountid": {
  6363. "description": "申请人账户ID",
  6364. "type": "integer"
  6365. },
  6366. "applystatus": {
  6367. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6368. "type": "integer"
  6369. },
  6370. "applytime": {
  6371. "description": "申请时间",
  6372. "type": "string"
  6373. },
  6374. "cancelid": {
  6375. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6376. "type": "integer"
  6377. },
  6378. "cancelqty": {
  6379. "description": "注销数量",
  6380. "type": "integer"
  6381. },
  6382. "createtime": {
  6383. "description": "创建时间",
  6384. "type": "string"
  6385. },
  6386. "creatorid": {
  6387. "description": "创建人ID",
  6388. "type": "integer"
  6389. },
  6390. "creatorname": {
  6391. "description": "创建人",
  6392. "type": "string"
  6393. },
  6394. "goodscode": {
  6395. "description": "订单商品代码",
  6396. "type": "string"
  6397. },
  6398. "goodsid": {
  6399. "description": "商品ID",
  6400. "type": "integer"
  6401. },
  6402. "goodsname": {
  6403. "description": "订单商品名称",
  6404. "type": "string"
  6405. },
  6406. "goodunit": {
  6407. "description": "报价单位",
  6408. "type": "string"
  6409. },
  6410. "handlestatus": {
  6411. "description": "处理状态",
  6412. "type": "integer"
  6413. },
  6414. "marketid": {
  6415. "description": "市场ID",
  6416. "type": "integer"
  6417. },
  6418. "marketname": {
  6419. "description": "市场名称",
  6420. "type": "string"
  6421. },
  6422. "tradedate": {
  6423. "description": "交易日(yyyyMMdd)",
  6424. "type": "string"
  6425. },
  6426. "userid": {
  6427. "description": "申请人ID",
  6428. "type": "integer"
  6429. }
  6430. }
  6431. },
  6432. "cptrade.Cptradepresaleapply": {
  6433. "type": "object",
  6434. "required": [
  6435. "applyid"
  6436. ],
  6437. "properties": {
  6438. "accountid": {
  6439. "description": "申请人账户ID",
  6440. "type": "integer"
  6441. },
  6442. "applyid": {
  6443. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6444. "type": "integer"
  6445. },
  6446. "applyremark": {
  6447. "description": "申请备注",
  6448. "type": "string"
  6449. },
  6450. "applystatus": {
  6451. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6452. "type": "integer"
  6453. },
  6454. "applytime": {
  6455. "description": "申请时间",
  6456. "type": "string"
  6457. },
  6458. "attachmenturl": {
  6459. "description": "附件地址",
  6460. "type": "string"
  6461. },
  6462. "endtime": {
  6463. "description": "预售结束时间",
  6464. "type": "string"
  6465. },
  6466. "goodscode": {
  6467. "description": "商品代码",
  6468. "type": "string"
  6469. },
  6470. "goodsid": {
  6471. "description": "商品ID",
  6472. "type": "integer"
  6473. },
  6474. "goodsname": {
  6475. "description": "商品名称",
  6476. "type": "string"
  6477. },
  6478. "goodunit": {
  6479. "description": "报价单位",
  6480. "type": "string"
  6481. },
  6482. "handlestatus": {
  6483. "description": "处理状态",
  6484. "type": "integer"
  6485. },
  6486. "marketid": {
  6487. "description": "预售市场ID",
  6488. "type": "integer"
  6489. },
  6490. "marketname": {
  6491. "description": "预售市场名称",
  6492. "type": "string"
  6493. },
  6494. "presaleqty": {
  6495. "description": "预售数量",
  6496. "type": "integer"
  6497. },
  6498. "relatedgoodscode": {
  6499. "description": "关联交易合约代码",
  6500. "type": "string"
  6501. },
  6502. "relatedgoodsid": {
  6503. "description": "关联交易合约ID",
  6504. "type": "integer"
  6505. },
  6506. "relatedgoodsname": {
  6507. "description": "关联交易合约名称",
  6508. "type": "string"
  6509. },
  6510. "starttime": {
  6511. "description": "预售开始时间",
  6512. "type": "string"
  6513. },
  6514. "tradedate": {
  6515. "description": "交易日(yyyyMMdd)",
  6516. "type": "string"
  6517. },
  6518. "trademode": {
  6519. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6520. "type": "integer"
  6521. },
  6522. "userid": {
  6523. "description": "申请人ID",
  6524. "type": "integer"
  6525. }
  6526. }
  6527. },
  6528. "cptrade.Cptradeusergoodsdata": {
  6529. "type": "object",
  6530. "required": [
  6531. "accountid",
  6532. "goodsid"
  6533. ],
  6534. "properties": {
  6535. "EnabledQty": {
  6536. "description": "可用量",
  6537. "type": "integer"
  6538. },
  6539. "GoodsCode": {
  6540. "description": "订单商品代码",
  6541. "type": "string"
  6542. },
  6543. "GoodsName": {
  6544. "description": "订单商品名称",
  6545. "type": "string"
  6546. },
  6547. "WRStandardCode": {
  6548. "description": "仓单标准代码",
  6549. "type": "string"
  6550. },
  6551. "WRStandardName": {
  6552. "description": "仓单标准名称",
  6553. "type": "string"
  6554. },
  6555. "accountid": {
  6556. "description": "账户ID",
  6557. "type": "integer"
  6558. },
  6559. "cancelqty": {
  6560. "description": "注销量",
  6561. "type": "integer"
  6562. },
  6563. "curpresaleqty": {
  6564. "description": "当前预售量",
  6565. "type": "integer"
  6566. },
  6567. "deliveryqty": {
  6568. "description": "交割量",
  6569. "type": "integer"
  6570. },
  6571. "freezeamount": {
  6572. "description": "冻结金额",
  6573. "type": "number"
  6574. },
  6575. "goodsid": {
  6576. "description": "商品ID",
  6577. "type": "integer"
  6578. },
  6579. "goodunit": {
  6580. "description": "报价单位",
  6581. "type": "string"
  6582. },
  6583. "hasspotfreeze": {
  6584. "description": "是否有现货冻结 - 0:否 1:有",
  6585. "type": "integer"
  6586. },
  6587. "inqty": {
  6588. "description": "转入量(总数量)",
  6589. "type": "integer"
  6590. },
  6591. "marketid": {
  6592. "description": "市场ID",
  6593. "type": "integer"
  6594. },
  6595. "presaledamount": {
  6596. "description": "已预售总金额",
  6597. "type": "integer"
  6598. },
  6599. "presaledqty": {
  6600. "description": "已预售量",
  6601. "type": "integer"
  6602. },
  6603. "userid": {
  6604. "description": "用户ID",
  6605. "type": "integer"
  6606. },
  6607. "wrstandardid": {
  6608. "description": "仓单标准ID",
  6609. "type": "integer"
  6610. }
  6611. }
  6612. },
  6613. "cptrade.QueryCPTradeMyBidRsp": {
  6614. "type": "object",
  6615. "required": [
  6616. "accountid",
  6617. "goodsid",
  6618. "marketid",
  6619. "orderid",
  6620. "orderqty",
  6621. "ordertime",
  6622. "tradeprice",
  6623. "tradeqty"
  6624. ],
  6625. "properties": {
  6626. "accountid": {
  6627. "description": "账户ID[报价币种]",
  6628. "type": "integer"
  6629. },
  6630. "goodsid": {
  6631. "description": "商品ID",
  6632. "type": "integer"
  6633. },
  6634. "goodunit": {
  6635. "description": "报价单位",
  6636. "type": "string"
  6637. },
  6638. "marketid": {
  6639. "description": "市场ID",
  6640. "type": "integer"
  6641. },
  6642. "orderid": {
  6643. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6644. "type": "integer"
  6645. },
  6646. "orderprice": {
  6647. "description": "委托价格",
  6648. "type": "number"
  6649. },
  6650. "orderqty": {
  6651. "description": "委托数量",
  6652. "type": "integer"
  6653. },
  6654. "ordertime": {
  6655. "description": "委托时间",
  6656. "type": "string"
  6657. },
  6658. "ordertotalprice": {
  6659. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6660. "type": "number"
  6661. },
  6662. "ordertotalweight": {
  6663. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6664. "type": "integer"
  6665. },
  6666. "totaltotalprice": {
  6667. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6668. "type": "number"
  6669. },
  6670. "tradeprice": {
  6671. "description": "成交价格",
  6672. "type": "number"
  6673. },
  6674. "tradeqty": {
  6675. "description": "成交数量",
  6676. "type": "integer"
  6677. }
  6678. }
  6679. },
  6680. "cptrade.QueryCPTradeOrderDetailRsq": {
  6681. "type": "object",
  6682. "required": [
  6683. "accountid",
  6684. "buildtype",
  6685. "buyorsell",
  6686. "goodsid",
  6687. "marketid",
  6688. "memberuserid",
  6689. "operatetype",
  6690. "orderqty",
  6691. "ordertime",
  6692. "pricemode",
  6693. "strorderid",
  6694. "tradedate",
  6695. "validtype"
  6696. ],
  6697. "properties": {
  6698. "accountid": {
  6699. "description": "账户ID[报价币种]",
  6700. "type": "integer"
  6701. },
  6702. "buildtype": {
  6703. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6704. "type": "integer"
  6705. },
  6706. "buyorsell": {
  6707. "description": "买卖 - 0:买 1:卖",
  6708. "type": "integer"
  6709. },
  6710. "cancelorderid": {
  6711. "description": "撤单单号(撤单时填写)",
  6712. "type": "integer"
  6713. },
  6714. "cancelqty": {
  6715. "description": "撤单数量",
  6716. "type": "integer"
  6717. },
  6718. "clientordertime": {
  6719. "description": "客户端委托时间",
  6720. "type": "string"
  6721. },
  6722. "clientticket": {
  6723. "description": "客户端流水号",
  6724. "type": "string"
  6725. },
  6726. "clienttype": {
  6727. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6728. "type": "integer"
  6729. },
  6730. "closeexchagechargevalue": {
  6731. "description": "平仓交易所手续费设置值",
  6732. "type": "number"
  6733. },
  6734. "closefeealgorithm": {
  6735. "description": "平仓手续费收取方式 1:比率 2:固定",
  6736. "type": "integer"
  6737. },
  6738. "closefreezecharge": {
  6739. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6740. "type": "number"
  6741. },
  6742. "closememberchargevalue": {
  6743. "description": "平仓会员手续费设置值",
  6744. "type": "number"
  6745. },
  6746. "closeqty": {
  6747. "description": "平仓数量(先建后平操作 需要记录)",
  6748. "type": "integer"
  6749. },
  6750. "closetradeqty": {
  6751. "description": "平仓成交数量(先建后平操作,需要记录)",
  6752. "type": "integer"
  6753. },
  6754. "closeunfreezecharge": {
  6755. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6756. "type": "number"
  6757. },
  6758. "delistingtype": {
  6759. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6760. "type": "integer"
  6761. },
  6762. "freezecharge": {
  6763. "description": "冻结手续费",
  6764. "type": "number"
  6765. },
  6766. "freezemargin": {
  6767. "description": "冻结保证金(冻结交易金额)",
  6768. "type": "number"
  6769. },
  6770. "gcaccountid": {
  6771. "description": "账户ID[合约币种]",
  6772. "type": "integer"
  6773. },
  6774. "goodsid": {
  6775. "description": "商品ID",
  6776. "type": "integer"
  6777. },
  6778. "isconfirmexercise": {
  6779. "description": "是否确认行权- 0:否 1:是",
  6780. "type": "integer"
  6781. },
  6782. "ispreexercise": {
  6783. "description": "是否预申报- 0:否 1:是",
  6784. "type": "integer"
  6785. },
  6786. "listingselecttype": {
  6787. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6788. "type": "integer"
  6789. },
  6790. "marginalgorithm": {
  6791. "description": "保证金收取方式 1:比率 2:固定",
  6792. "type": "integer"
  6793. },
  6794. "marginvalue": {
  6795. "description": "即市保证金设置值",
  6796. "type": "number"
  6797. },
  6798. "marketid": {
  6799. "description": "市场ID",
  6800. "type": "integer"
  6801. },
  6802. "marketmaxsub": {
  6803. "description": "市价最大偏移范围",
  6804. "type": "number"
  6805. },
  6806. "memberuserid": {
  6807. "description": "所属会员UserID",
  6808. "type": "integer"
  6809. },
  6810. "openexchagechargevalue": {
  6811. "description": "建仓交易所手续费设置值",
  6812. "type": "number"
  6813. },
  6814. "openfeealgorithm": {
  6815. "description": "建仓手续费收取方式 1:比率 2:固定",
  6816. "type": "integer"
  6817. },
  6818. "openfreezecharge": {
  6819. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6820. "type": "number"
  6821. },
  6822. "openmemberchargevalue": {
  6823. "description": "建仓会员手续费设置值",
  6824. "type": "number"
  6825. },
  6826. "openqty": {
  6827. "description": "开仓数量(先建后平操作,需要记录)",
  6828. "type": "integer"
  6829. },
  6830. "opentradeqty": {
  6831. "description": "开仓成交数量(先建后平操作,需要记录)",
  6832. "type": "integer"
  6833. },
  6834. "openunfreezecharge": {
  6835. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6836. "type": "number"
  6837. },
  6838. "operatetype": {
  6839. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6840. "type": "integer"
  6841. },
  6842. "operatorid": {
  6843. "description": "登录账号(LoginID)",
  6844. "type": "integer"
  6845. },
  6846. "optiontype": {
  6847. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6848. "type": "integer"
  6849. },
  6850. "orderprice": {
  6851. "description": "委托价格",
  6852. "type": "number"
  6853. },
  6854. "orderqty": {
  6855. "description": "委托数量",
  6856. "type": "integer"
  6857. },
  6858. "ordersrc": {
  6859. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6860. "type": "integer"
  6861. },
  6862. "orderstatus": {
  6863. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6864. "type": "integer"
  6865. },
  6866. "ordertime": {
  6867. "description": "委托时间",
  6868. "type": "string"
  6869. },
  6870. "preexerciseprice": {
  6871. "description": "预申报价格",
  6872. "type": "number"
  6873. },
  6874. "premium": {
  6875. "description": "权利金",
  6876. "type": "number"
  6877. },
  6878. "preorderid": {
  6879. "description": "关联预埋单号(止盈止损单时填写)",
  6880. "type": "integer"
  6881. },
  6882. "pricemode": {
  6883. "description": "取价方式 - 1:市价 2: 限价",
  6884. "type": "integer"
  6885. },
  6886. "quoteid": {
  6887. "description": "报价单ID",
  6888. "type": "integer"
  6889. },
  6890. "relatedid": {
  6891. "description": "关联单号(交割单)",
  6892. "type": "integer"
  6893. },
  6894. "retcode": {
  6895. "description": "错误代码",
  6896. "type": "integer"
  6897. },
  6898. "sessionid": {
  6899. "description": "会话ID",
  6900. "type": "integer"
  6901. },
  6902. "strorderid": {
  6903. "description": "委托单号",
  6904. "type": "string"
  6905. },
  6906. "tradedate": {
  6907. "description": "交易日(yyyyMMdd)",
  6908. "type": "string"
  6909. },
  6910. "tradeproperty": {
  6911. "description": "交易属性",
  6912. "type": "integer"
  6913. },
  6914. "tradeqty": {
  6915. "description": "成交数量",
  6916. "type": "integer"
  6917. },
  6918. "unfreezecharge": {
  6919. "description": "解冻手续费",
  6920. "type": "number"
  6921. },
  6922. "unfreezemargin": {
  6923. "description": "解冻保证金",
  6924. "type": "number"
  6925. },
  6926. "updatetime": {
  6927. "description": "更新时间",
  6928. "type": "string"
  6929. },
  6930. "uuid": {
  6931. "description": "发起端唯一id",
  6932. "type": "string"
  6933. },
  6934. "validtime": {
  6935. "description": "有效期限",
  6936. "type": "string"
  6937. },
  6938. "validtype": {
  6939. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6940. "type": "integer"
  6941. },
  6942. "volumetype": {
  6943. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6944. "type": "integer"
  6945. }
  6946. }
  6947. },
  6948. "cptrade.QueryMyCPTradeGoodsRsp": {
  6949. "type": "object",
  6950. "required": [
  6951. "goodscode",
  6952. "goodsid",
  6953. "goodsname",
  6954. "marketid",
  6955. "relatedgoodscode",
  6956. "relatedgoodsname"
  6957. ],
  6958. "properties": {
  6959. "accountid": {
  6960. "description": "卖方账户ID",
  6961. "type": "integer"
  6962. },
  6963. "agreeunit": {
  6964. "description": "合约单位",
  6965. "type": "number"
  6966. },
  6967. "applyid": {
  6968. "description": "关联申请ID",
  6969. "type": "integer"
  6970. },
  6971. "attachmenturl": {
  6972. "description": "附件地址",
  6973. "type": "string"
  6974. },
  6975. "createtime": {
  6976. "description": "创建时间",
  6977. "type": "string"
  6978. },
  6979. "currencyid": {
  6980. "description": "报价货币ID",
  6981. "type": "integer"
  6982. },
  6983. "decimalplace": {
  6984. "description": "报价小数位",
  6985. "type": "integer"
  6986. },
  6987. "endtime": {
  6988. "description": "预售结束时间",
  6989. "type": "string"
  6990. },
  6991. "floorprice": {
  6992. "description": "底价[大宗式竞拍]",
  6993. "type": "number"
  6994. },
  6995. "goodscode": {
  6996. "description": "商品代码(预售)",
  6997. "type": "string"
  6998. },
  6999. "goodsdetail": {
  7000. "description": "详情[大宗]",
  7001. "type": "string"
  7002. },
  7003. "goodsid": {
  7004. "description": "商品ID(自增ID SEQ_GOODS)",
  7005. "type": "integer"
  7006. },
  7007. "goodsname": {
  7008. "description": "商品名称(预售)",
  7009. "type": "string"
  7010. },
  7011. "goodunit": {
  7012. "description": "报价单位",
  7013. "type": "string"
  7014. },
  7015. "goodunitid": {
  7016. "description": "报价单位ID",
  7017. "type": "integer"
  7018. },
  7019. "marketid": {
  7020. "description": "所属市场ID",
  7021. "type": "integer"
  7022. },
  7023. "marketname": {
  7024. "description": "预售市场名称",
  7025. "type": "string"
  7026. },
  7027. "presaledamount": {
  7028. "description": "已预售总金额(预售结束时更新)",
  7029. "type": "number"
  7030. },
  7031. "presaledqty": {
  7032. "description": "已预售量(预售结束时更新)",
  7033. "type": "integer"
  7034. },
  7035. "presalemode": {
  7036. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7037. "type": "integer"
  7038. },
  7039. "presaleqty": {
  7040. "description": "预售数量",
  7041. "type": "integer"
  7042. },
  7043. "refprice": {
  7044. "description": "参考价格[一口价]",
  7045. "type": "number"
  7046. },
  7047. "relatedgoodscode": {
  7048. "description": "商品代码(订单)",
  7049. "type": "string"
  7050. },
  7051. "relatedgoodsid": {
  7052. "description": "关联交易合约ID",
  7053. "type": "integer"
  7054. },
  7055. "relatedgoodsname": {
  7056. "description": "商品名称(订单)",
  7057. "type": "string"
  7058. },
  7059. "relatedmarketid": {
  7060. "description": "关联交易合约市场ID",
  7061. "type": "integer"
  7062. },
  7063. "sellstatus": {
  7064. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7065. "type": "integer"
  7066. },
  7067. "startprice": {
  7068. "description": "起拍价[大宗式竞拍]",
  7069. "type": "number"
  7070. },
  7071. "starttime": {
  7072. "description": "预售开始时间",
  7073. "type": "string"
  7074. },
  7075. "tradedate": {
  7076. "description": "交易日(yyyyMMdd)",
  7077. "type": "string"
  7078. },
  7079. "tradeprice": {
  7080. "description": "成交价[大宗]",
  7081. "type": "number"
  7082. },
  7083. "userid": {
  7084. "description": "卖方用户ID",
  7085. "type": "integer"
  7086. }
  7087. }
  7088. },
  7089. "cptrade.QueryPresaleGoodsExRsp": {
  7090. "type": "object",
  7091. "required": [
  7092. "goodsid"
  7093. ],
  7094. "properties": {
  7095. "attachmenturl": {
  7096. "description": "附件地址",
  7097. "type": "string"
  7098. },
  7099. "createtime": {
  7100. "description": "创建时间",
  7101. "type": "string"
  7102. },
  7103. "endtime": {
  7104. "description": "预售结束时间",
  7105. "type": "string"
  7106. },
  7107. "floorprice": {
  7108. "description": "底价[大宗式竞拍]",
  7109. "type": "number"
  7110. },
  7111. "goodsdetail": {
  7112. "description": "详情[大宗]",
  7113. "type": "string"
  7114. },
  7115. "goodsid": {
  7116. "description": "商品ID(预售)",
  7117. "type": "integer"
  7118. },
  7119. "goodunit": {
  7120. "description": "报价单位",
  7121. "type": "string"
  7122. },
  7123. "marketid": {
  7124. "description": "预售市场ID - 根据预售模式选择市场",
  7125. "type": "integer"
  7126. },
  7127. "presaledamount": {
  7128. "description": "已预售总金额(预售结束时更新)",
  7129. "type": "number"
  7130. },
  7131. "presaledqty": {
  7132. "description": "已预售量(预售结束时更新)",
  7133. "type": "integer"
  7134. },
  7135. "presalemode": {
  7136. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7137. "type": "integer"
  7138. },
  7139. "presaleqty": {
  7140. "description": "预售数量",
  7141. "type": "integer"
  7142. },
  7143. "refprice": {
  7144. "description": "参考价格[一口价]",
  7145. "type": "number"
  7146. },
  7147. "relatedgoodsid": {
  7148. "description": "关联交易合约ID",
  7149. "type": "integer"
  7150. },
  7151. "relatedmarketid": {
  7152. "description": "关联交易合约市场ID",
  7153. "type": "integer"
  7154. },
  7155. "sellstatus": {
  7156. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7157. "type": "integer"
  7158. },
  7159. "startprice": {
  7160. "description": "起拍价[大宗式竞拍]",
  7161. "type": "number"
  7162. },
  7163. "starttime": {
  7164. "description": "预售开始时间",
  7165. "type": "string"
  7166. },
  7167. "tradedate": {
  7168. "description": "交易日(yyyyMMdd)",
  7169. "type": "string"
  7170. },
  7171. "tradeprice": {
  7172. "description": "成交价[大宗]",
  7173. "type": "number"
  7174. }
  7175. }
  7176. },
  7177. "delivery.QueryDeliveryRelationRsp": {
  7178. "type": "object",
  7179. "required": [
  7180. "begindate",
  7181. "enddate",
  7182. "goodsid",
  7183. "mindeliveryqty",
  7184. "xdeliveryratio"
  7185. ],
  7186. "properties": {
  7187. "begindate": {
  7188. "description": "起始日期(yyyyMMdd)",
  7189. "type": "string"
  7190. },
  7191. "buytemplateid": {
  7192. "description": "买履约计划模板ID",
  7193. "type": "integer"
  7194. },
  7195. "deliverygoodscode": {
  7196. "description": "品种代码",
  7197. "type": "string"
  7198. },
  7199. "deliverygoodsid": {
  7200. "description": "交割商品",
  7201. "type": "integer"
  7202. },
  7203. "deliverygoodsname": {
  7204. "description": "品种名称",
  7205. "type": "string"
  7206. },
  7207. "deliverymode": {
  7208. "description": "交割方式 - 1:点选式 2:申报式",
  7209. "type": "integer"
  7210. },
  7211. "deliverypricerule": {
  7212. "description": "交割价规则- 1:行情价 2:建仓价",
  7213. "type": "integer"
  7214. },
  7215. "deliverytype": {
  7216. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7217. "type": "integer"
  7218. },
  7219. "enddate": {
  7220. "description": "结束日期(yyyyMMdd)",
  7221. "type": "string"
  7222. },
  7223. "goodscode": {
  7224. "description": "商品代码",
  7225. "type": "string"
  7226. },
  7227. "goodsid": {
  7228. "description": "交易合约ID",
  7229. "type": "integer"
  7230. },
  7231. "goodsname": {
  7232. "description": "商品名称",
  7233. "type": "string"
  7234. },
  7235. "marketid": {
  7236. "description": "市场ID",
  7237. "type": "integer"
  7238. },
  7239. "mindeliveryqty": {
  7240. "description": "最小交割系数(K)",
  7241. "type": "integer"
  7242. },
  7243. "p2deliveryprice": {
  7244. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7245. "type": "number"
  7246. },
  7247. "p2deliveryratio": {
  7248. "description": "P2合约系数(p)",
  7249. "type": "integer"
  7250. },
  7251. "p2goodsid": {
  7252. "description": "P2合约ID",
  7253. "type": "integer"
  7254. },
  7255. "p2pricemode": {
  7256. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7257. "type": "integer"
  7258. },
  7259. "pdeliveryprice": {
  7260. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7261. "type": "number"
  7262. },
  7263. "pdeliveryratio": {
  7264. "description": "P合约系数(n)",
  7265. "type": "integer"
  7266. },
  7267. "pgoodsid": {
  7268. "description": "P合约ID",
  7269. "type": "integer"
  7270. },
  7271. "ppricemode": {
  7272. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7273. "type": "integer"
  7274. },
  7275. "rratio": {
  7276. "description": "兑换系数(R)",
  7277. "type": "integer"
  7278. },
  7279. "rratio1": {
  7280. "description": "兑换系数(交易合约)(R1)",
  7281. "type": "integer"
  7282. },
  7283. "rratio2": {
  7284. "description": "兑换系数(仓单标准)(R2)",
  7285. "type": "integer"
  7286. },
  7287. "selltemplateid": {
  7288. "description": "卖履约计划模板ID",
  7289. "type": "integer"
  7290. },
  7291. "wrstandardid": {
  7292. "description": "仓单标准ID",
  7293. "type": "integer"
  7294. },
  7295. "xdeliveryratio": {
  7296. "description": "交易合约系数(m)",
  7297. "type": "integer"
  7298. }
  7299. }
  7300. },
  7301. "ermcp.ExposureDetailRsp": {
  7302. "type": "object",
  7303. "properties": {
  7304. "areauserid": {
  7305. "description": "机构ID",
  7306. "type": "integer"
  7307. },
  7308. "changeQty": {
  7309. "description": "套保变动量",
  7310. "type": "number"
  7311. },
  7312. "contracttype": {
  7313. "description": "现货合同类型 - 1:采购 -1:销售",
  7314. "type": "integer"
  7315. },
  7316. "convertfactor": {
  7317. "description": "标仓系数",
  7318. "type": "number"
  7319. },
  7320. "convertratio": {
  7321. "description": "套保系数",
  7322. "type": "number"
  7323. },
  7324. "createtime": {
  7325. "description": "时间",
  7326. "type": "string"
  7327. },
  7328. "enumdicname": {
  7329. "description": "现货商品单位名称",
  7330. "type": "string"
  7331. },
  7332. "logtype": {
  7333. "description": "类型 - 1:套保计划 2:现货合同",
  7334. "type": "integer"
  7335. },
  7336. "middlegoodsId": {
  7337. "description": "套保商品id",
  7338. "type": "integer"
  7339. },
  7340. "middlegoodscode": {
  7341. "description": "套保商品代码",
  7342. "type": "string"
  7343. },
  7344. "middlegoodsname": {
  7345. "description": "套保商品名称",
  7346. "type": "string"
  7347. },
  7348. "qty": {
  7349. "description": "数量",
  7350. "type": "number"
  7351. },
  7352. "relateNo": {
  7353. "description": "现货合同/套保计划编号",
  7354. "type": "string"
  7355. },
  7356. "wrstandardcode": {
  7357. "description": "现货商品代码",
  7358. "type": "string"
  7359. },
  7360. "wrstandardid": {
  7361. "description": "现货商品ID",
  7362. "type": "integer"
  7363. },
  7364. "wrstandardname": {
  7365. "description": "现货商品名称",
  7366. "type": "string"
  7367. }
  7368. }
  7369. },
  7370. "ermcp.ExposureHedgePosDetailRsp": {
  7371. "type": "object",
  7372. "properties": {
  7373. "buyorsell": {
  7374. "description": "买卖方向 0-买 1-卖",
  7375. "type": "integer"
  7376. },
  7377. "channelbuildtype": {
  7378. "description": "开平方向 1-建仓 2-平仓",
  7379. "type": "integer"
  7380. },
  7381. "goodscode": {
  7382. "description": "商品代码",
  7383. "type": "string"
  7384. },
  7385. "goodsname": {
  7386. "description": "商品名称",
  7387. "type": "string"
  7388. },
  7389. "hedgegoodsid": {
  7390. "description": "商品id",
  7391. "type": "integer"
  7392. },
  7393. "tradeqty": {
  7394. "description": "数量(成交数量)",
  7395. "type": "integer"
  7396. },
  7397. "tradetime": {
  7398. "description": "时间(成交时间)",
  7399. "type": "string"
  7400. }
  7401. }
  7402. },
  7403. "ermcp.ExposureHedgePositionRsp": {
  7404. "type": "object",
  7405. "properties": {
  7406. "accountid": {
  7407. "description": "资金账号[外部母账户]",
  7408. "type": "integer"
  7409. },
  7410. "curbuyposition": {
  7411. "description": "期末买头寸",
  7412. "type": "integer"
  7413. },
  7414. "cursellposition": {
  7415. "description": "期末卖头寸",
  7416. "type": "integer"
  7417. },
  7418. "curtdbuyposition": {
  7419. "description": "期末今日买头寸",
  7420. "type": "integer"
  7421. },
  7422. "curtdsellposition": {
  7423. "description": "期末今日卖头寸",
  7424. "type": "integer"
  7425. },
  7426. "curydbuyposition": {
  7427. "description": "期末上日买头寸",
  7428. "type": "integer"
  7429. },
  7430. "curydsellposition": {
  7431. "description": "期末上日卖头寸",
  7432. "type": "integer"
  7433. },
  7434. "decreaseqty": {
  7435. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7436. "type": "integer"
  7437. },
  7438. "fretdbuyposition": {
  7439. "description": "冻结今日买头寸",
  7440. "type": "integer"
  7441. },
  7442. "fretdsellposition": {
  7443. "description": "冻结今日卖头寸",
  7444. "type": "integer"
  7445. },
  7446. "freydbuyposition": {
  7447. "description": "冻结上日买头寸",
  7448. "type": "integer"
  7449. },
  7450. "freydsellposition": {
  7451. "description": "冻结上日卖头寸",
  7452. "type": "integer"
  7453. },
  7454. "goodscode": {
  7455. "description": "商品代码",
  7456. "type": "string"
  7457. },
  7458. "goodsid": {
  7459. "description": "商品id",
  7460. "type": "integer"
  7461. },
  7462. "goodsname": {
  7463. "description": "商品名称",
  7464. "type": "string"
  7465. },
  7466. "hedgeaccountcode": {
  7467. "description": "对冲账号",
  7468. "type": "string"
  7469. },
  7470. "hedgegoodsid": {
  7471. "description": "对冲合约ID",
  7472. "type": "integer"
  7473. },
  7474. "increaseqty": {
  7475. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7476. "type": "integer"
  7477. },
  7478. "marketid": {
  7479. "description": "市场ID",
  7480. "type": "integer"
  7481. },
  7482. "relateduserid": {
  7483. "description": "关联用户id",
  7484. "type": "integer"
  7485. },
  7486. "totalcurqty": {
  7487. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7488. "type": "integer"
  7489. },
  7490. "totalydqty": {
  7491. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7492. "type": "integer"
  7493. },
  7494. "tradedate": {
  7495. "description": "交易日(yyyyMMdd)",
  7496. "type": "string"
  7497. },
  7498. "ydbuyposition": {
  7499. "description": "期初买头寸",
  7500. "type": "integer"
  7501. },
  7502. "ydsellposition": {
  7503. "description": "期初卖头寸",
  7504. "type": "integer"
  7505. }
  7506. }
  7507. },
  7508. "ermcp.ExposureSpotDetailRsp": {
  7509. "type": "object",
  7510. "properties": {
  7511. "contracttype": {
  7512. "description": "合同类型 1-采购 -1-销售",
  7513. "type": "integer"
  7514. },
  7515. "createtime": {
  7516. "description": "创建时间",
  7517. "type": "string"
  7518. },
  7519. "enumdicname": {
  7520. "description": "现货商品单位名称",
  7521. "type": "string"
  7522. },
  7523. "logtype": {
  7524. "description": "记录类型 1-套保 2-现货合同",
  7525. "type": "integer"
  7526. },
  7527. "qty": {
  7528. "description": "数量",
  7529. "type": "number"
  7530. },
  7531. "recordname": {
  7532. "description": "类型名称",
  7533. "type": "string"
  7534. },
  7535. "relatedid": {
  7536. "description": "套保计划ID/现货合同ID",
  7537. "type": "string"
  7538. },
  7539. "relatedno": {
  7540. "description": "编号",
  7541. "type": "string"
  7542. },
  7543. "strtime": {
  7544. "description": "时间",
  7545. "type": "string"
  7546. },
  7547. "wrstandardcode": {
  7548. "description": "现货商品代码",
  7549. "type": "string"
  7550. },
  7551. "wrstandardname": {
  7552. "description": "现货商品名称",
  7553. "type": "string"
  7554. }
  7555. }
  7556. },
  7557. "ermcp.ExposureSpotRsp": {
  7558. "type": "object",
  7559. "properties": {
  7560. "areauserid": {
  7561. "description": "所属机构",
  7562. "type": "integer"
  7563. },
  7564. "decreaseqty": {
  7565. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7566. "type": "number"
  7567. },
  7568. "increaseqty": {
  7569. "description": "增加数量=销售计划数量+采购已定价数量",
  7570. "type": "number"
  7571. },
  7572. "oritoalspotqty": {
  7573. "description": "昨日数量",
  7574. "type": "number"
  7575. },
  7576. "totalspotqty": {
  7577. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7578. "type": "number"
  7579. },
  7580. "updatetime": {
  7581. "description": "更新时间",
  7582. "type": "string"
  7583. },
  7584. "wrstandardcode": {
  7585. "description": "现货品种代码",
  7586. "type": "string"
  7587. },
  7588. "wrstandardid": {
  7589. "description": "现货商品ID",
  7590. "type": "integer"
  7591. },
  7592. "wrstandardname": {
  7593. "description": "现货品种",
  7594. "type": "string"
  7595. }
  7596. }
  7597. },
  7598. "ermcp.HisExposureRsp": {
  7599. "type": "object",
  7600. "properties": {
  7601. "data": {
  7602. "description": "历史敞口",
  7603. "type": "array",
  7604. "items": {
  7605. "$ref": "#/definitions/models.ErmcpHisExposure"
  7606. }
  7607. },
  7608. "enumdicname": {
  7609. "description": "单位名称",
  7610. "type": "string"
  7611. },
  7612. "middlegoodscode": {
  7613. "description": "套保品种代码",
  7614. "type": "string"
  7615. },
  7616. "middlegoodsid": {
  7617. "description": "套保品种ID",
  7618. "type": "integer"
  7619. },
  7620. "middlegoodsname": {
  7621. "description": "套保品种名称",
  7622. "type": "string"
  7623. }
  7624. }
  7625. },
  7626. "ermcp.PendingAuditCntRsp": {
  7627. "type": "object",
  7628. "properties": {
  7629. "businessdjqty": {
  7630. "description": "待审核数量: 点价",
  7631. "type": "integer"
  7632. },
  7633. "businessfpqty": {
  7634. "description": "待审核数量: 发票",
  7635. "type": "integer"
  7636. },
  7637. "businessjsqty": {
  7638. "description": "待审核数量: 结算",
  7639. "type": "integer"
  7640. },
  7641. "businesskxqty": {
  7642. "description": "待审核数量: 款项",
  7643. "type": "integer"
  7644. },
  7645. "hedgeplanqty": {
  7646. "description": "待审核数量: 套保计划",
  7647. "type": "integer"
  7648. },
  7649. "spotcontractqty": {
  7650. "description": "待审核数量: 现货合同",
  7651. "type": "integer"
  7652. },
  7653. "userqty": {
  7654. "description": "待审核数量: 用户",
  7655. "type": "integer"
  7656. }
  7657. }
  7658. },
  7659. "ermcp.QryAvalidGPRsp": {
  7660. "type": "object",
  7661. "properties": {
  7662. "goodsgroupid": {
  7663. "description": "期货品种id",
  7664. "type": "integer"
  7665. },
  7666. "goodsgroupname": {
  7667. "description": "期货品种名称",
  7668. "type": "string"
  7669. },
  7670. "goodunitid": {
  7671. "description": "品种单位id",
  7672. "type": "integer"
  7673. },
  7674. "goodunitname": {
  7675. "description": "品种单位名称",
  7676. "type": "string"
  7677. },
  7678. "outergroupcode": {
  7679. "description": "期货品种代码",
  7680. "type": "string"
  7681. }
  7682. }
  7683. },
  7684. "ermcp.QryBusinessDjRsp": {
  7685. "type": "object",
  7686. "properties": {
  7687. "amount": {
  7688. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7689. "type": "number"
  7690. },
  7691. "applyid": {
  7692. "description": "申请人",
  7693. "type": "string"
  7694. },
  7695. "applyname": {
  7696. "description": "申请人名称",
  7697. "type": "string"
  7698. },
  7699. "applystatus": {
  7700. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7701. "type": "integer"
  7702. },
  7703. "applytime": {
  7704. "description": "申请时间",
  7705. "type": "string"
  7706. },
  7707. "attachurl": {
  7708. "description": "附件",
  7709. "type": "string"
  7710. },
  7711. "auditname": {
  7712. "description": "审核人名称",
  7713. "type": "string"
  7714. },
  7715. "audittime": {
  7716. "description": "审核时间",
  7717. "type": "string"
  7718. },
  7719. "buyusername": {
  7720. "description": "采购方名称",
  7721. "type": "string"
  7722. },
  7723. "contractno": {
  7724. "description": "合同编号",
  7725. "type": "string"
  7726. },
  7727. "contractstatus": {
  7728. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7729. "type": "integer"
  7730. },
  7731. "contracttype": {
  7732. "description": "现货合同类型 - 1:采购 -1:销售",
  7733. "type": "integer"
  7734. },
  7735. "enumdicname": {
  7736. "description": "单位名称",
  7737. "type": "string"
  7738. },
  7739. "goodscode": {
  7740. "description": "点价合约",
  7741. "type": "string"
  7742. },
  7743. "goodsname": {
  7744. "description": "商品名称",
  7745. "type": "string"
  7746. },
  7747. "operateapplyid": {
  7748. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7749. "type": "string"
  7750. },
  7751. "operateapplytype": {
  7752. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7753. "type": "integer"
  7754. },
  7755. "pricedPrice": {
  7756. "description": "点价价格(非必填)",
  7757. "type": "number"
  7758. },
  7759. "pricedQty": {
  7760. "description": "点价数量(非必填)",
  7761. "type": "number"
  7762. },
  7763. "pricemove": {
  7764. "description": "升贴水",
  7765. "type": "number"
  7766. },
  7767. "pricetype": {
  7768. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7769. "type": "integer"
  7770. },
  7771. "relatedid": {
  7772. "description": "现货合同ID",
  7773. "type": "string"
  7774. },
  7775. "sellusername": {
  7776. "description": "销售方名字",
  7777. "type": "string"
  7778. },
  7779. "userid": {
  7780. "description": "用户ID",
  7781. "type": "integer"
  7782. }
  7783. }
  7784. },
  7785. "ermcp.QryBussinessFpRsp": {
  7786. "type": "object",
  7787. "properties": {
  7788. "applyid": {
  7789. "description": "申请人",
  7790. "type": "string"
  7791. },
  7792. "applyname": {
  7793. "description": "申请人名称",
  7794. "type": "string"
  7795. },
  7796. "applystatus": {
  7797. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7798. "type": "integer"
  7799. },
  7800. "applytime": {
  7801. "description": "申请时间",
  7802. "type": "string"
  7803. },
  7804. "attachurl": {
  7805. "description": "附件",
  7806. "type": "string"
  7807. },
  7808. "auditname": {
  7809. "description": "审核人名称",
  7810. "type": "string"
  7811. },
  7812. "audittime": {
  7813. "description": "审核时间",
  7814. "type": "string"
  7815. },
  7816. "buyusername": {
  7817. "description": "采购方名称",
  7818. "type": "string"
  7819. },
  7820. "contractno": {
  7821. "description": "合同编号",
  7822. "type": "string"
  7823. },
  7824. "contractstatus": {
  7825. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7826. "type": "integer"
  7827. },
  7828. "contracttype": {
  7829. "description": "现货合同类型 - 1:采购 -1:销售",
  7830. "type": "integer"
  7831. },
  7832. "enumdicname": {
  7833. "description": "单位名称",
  7834. "type": "string"
  7835. },
  7836. "goodscode": {
  7837. "description": "点价合约",
  7838. "type": "string"
  7839. },
  7840. "goodsname": {
  7841. "description": "商品名称",
  7842. "type": "string"
  7843. },
  7844. "invoiceAmount": {
  7845. "description": "已开收票金额(销售为开票,采购为收票)",
  7846. "type": "number"
  7847. },
  7848. "operateapplyid": {
  7849. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7850. "type": "string"
  7851. },
  7852. "operateapplytype": {
  7853. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7854. "type": "integer"
  7855. },
  7856. "pricemove": {
  7857. "description": "升贴水",
  7858. "type": "number"
  7859. },
  7860. "pricetype": {
  7861. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7862. "type": "integer"
  7863. },
  7864. "relatedid": {
  7865. "description": "现货合同ID",
  7866. "type": "string"
  7867. },
  7868. "sellusername": {
  7869. "description": "销售方名字",
  7870. "type": "string"
  7871. },
  7872. "userid": {
  7873. "description": "用户ID",
  7874. "type": "integer"
  7875. }
  7876. }
  7877. },
  7878. "ermcp.QryBussinessJsExRsp": {
  7879. "type": "object",
  7880. "properties": {
  7881. "applyid": {
  7882. "description": "申请人",
  7883. "type": "string"
  7884. },
  7885. "applyname": {
  7886. "description": "申请人名称",
  7887. "type": "string"
  7888. },
  7889. "applystatus": {
  7890. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7891. "type": "integer"
  7892. },
  7893. "applytime": {
  7894. "description": "申请时间",
  7895. "type": "string"
  7896. },
  7897. "attachurl": {
  7898. "description": "附件",
  7899. "type": "string"
  7900. },
  7901. "auditname": {
  7902. "description": "审核人名称",
  7903. "type": "string"
  7904. },
  7905. "audittime": {
  7906. "description": "审核时间",
  7907. "type": "string"
  7908. },
  7909. "buyusername": {
  7910. "description": "采购方名称",
  7911. "type": "string"
  7912. },
  7913. "contractno": {
  7914. "description": "合同编号",
  7915. "type": "string"
  7916. },
  7917. "contractstatus": {
  7918. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7919. "type": "integer"
  7920. },
  7921. "contracttype": {
  7922. "description": "现货合同类型 - 1:采购 -1:销售",
  7923. "type": "integer"
  7924. },
  7925. "enumdicname": {
  7926. "description": "单位名称",
  7927. "type": "string"
  7928. },
  7929. "goodscode": {
  7930. "description": "点价合约",
  7931. "type": "string"
  7932. },
  7933. "goodsname": {
  7934. "description": "商品名称",
  7935. "type": "string"
  7936. },
  7937. "operateapplyid": {
  7938. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7939. "type": "string"
  7940. },
  7941. "operateapplytype": {
  7942. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7943. "type": "integer"
  7944. },
  7945. "pricemove": {
  7946. "description": "升贴水",
  7947. "type": "number"
  7948. },
  7949. "pricetype": {
  7950. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7951. "type": "integer"
  7952. },
  7953. "reckontype": {
  7954. "description": "结算类型",
  7955. "type": "string"
  7956. },
  7957. "reckonvalue": {
  7958. "description": "值",
  7959. "type": "number"
  7960. },
  7961. "relatedid": {
  7962. "description": "现货合同ID",
  7963. "type": "string"
  7964. },
  7965. "sellusername": {
  7966. "description": "销售方名字",
  7967. "type": "string"
  7968. },
  7969. "userid": {
  7970. "description": "用户ID",
  7971. "type": "integer"
  7972. }
  7973. }
  7974. },
  7975. "ermcp.QryBussinessJsRsp": {
  7976. "type": "object",
  7977. "properties": {
  7978. "addmargin": {
  7979. "description": "追加保证金(非必填)",
  7980. "type": "number"
  7981. },
  7982. "applyid": {
  7983. "description": "申请人",
  7984. "type": "string"
  7985. },
  7986. "applyname": {
  7987. "description": "申请人名称",
  7988. "type": "string"
  7989. },
  7990. "applystatus": {
  7991. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7992. "type": "integer"
  7993. },
  7994. "applytime": {
  7995. "description": "申请时间",
  7996. "type": "string"
  7997. },
  7998. "attachurl": {
  7999. "description": "附件",
  8000. "type": "string"
  8001. },
  8002. "auditname": {
  8003. "description": "审核人名称",
  8004. "type": "string"
  8005. },
  8006. "audittime": {
  8007. "description": "审核时间",
  8008. "type": "string"
  8009. },
  8010. "buyusername": {
  8011. "description": "采购方名称",
  8012. "type": "string"
  8013. },
  8014. "contractno": {
  8015. "description": "合同编号",
  8016. "type": "string"
  8017. },
  8018. "contractstatus": {
  8019. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8020. "type": "integer"
  8021. },
  8022. "contracttype": {
  8023. "description": "现货合同类型 - 1:采购 -1:销售",
  8024. "type": "integer"
  8025. },
  8026. "decmargin": {
  8027. "description": "减少保证金(非必填)",
  8028. "type": "number"
  8029. },
  8030. "enumdicname": {
  8031. "description": "单位名称",
  8032. "type": "string"
  8033. },
  8034. "goodscode": {
  8035. "description": "点价合约",
  8036. "type": "string"
  8037. },
  8038. "goodsname": {
  8039. "description": "商品名称",
  8040. "type": "string"
  8041. },
  8042. "operateapplyid": {
  8043. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8044. "type": "string"
  8045. },
  8046. "operateapplytype": {
  8047. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8048. "type": "integer"
  8049. },
  8050. "pricemove": {
  8051. "description": "升贴水",
  8052. "type": "number"
  8053. },
  8054. "pricetype": {
  8055. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8056. "type": "integer"
  8057. },
  8058. "reckonadjustamount": {
  8059. "description": "结算调整金额(非必填)",
  8060. "type": "number"
  8061. },
  8062. "reckonosamount": {
  8063. "description": "结算溢短金额(非必填)",
  8064. "type": "number"
  8065. },
  8066. "reckonotheramount": {
  8067. "description": "结算其他费用(非必填)",
  8068. "type": "number"
  8069. },
  8070. "reckonrealqty": {
  8071. "description": "结算实际数量(非必填)",
  8072. "type": "number"
  8073. },
  8074. "relatedid": {
  8075. "description": "现货合同ID",
  8076. "type": "string"
  8077. },
  8078. "sellusername": {
  8079. "description": "销售方名字",
  8080. "type": "string"
  8081. },
  8082. "userid": {
  8083. "description": "用户ID",
  8084. "type": "integer"
  8085. }
  8086. }
  8087. },
  8088. "ermcp.QryBussinessKxRsp": {
  8089. "type": "object",
  8090. "properties": {
  8091. "applyid": {
  8092. "description": "申请人",
  8093. "type": "string"
  8094. },
  8095. "applyname": {
  8096. "description": "申请人名称",
  8097. "type": "string"
  8098. },
  8099. "applystatus": {
  8100. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8101. "type": "integer"
  8102. },
  8103. "applytime": {
  8104. "description": "申请时间",
  8105. "type": "string"
  8106. },
  8107. "attachurl": {
  8108. "description": "附件",
  8109. "type": "string"
  8110. },
  8111. "auditname": {
  8112. "description": "审核人名称",
  8113. "type": "string"
  8114. },
  8115. "audittime": {
  8116. "description": "审核时间",
  8117. "type": "string"
  8118. },
  8119. "buyusername": {
  8120. "description": "采购方名称",
  8121. "type": "string"
  8122. },
  8123. "contractno": {
  8124. "description": "合同编号",
  8125. "type": "string"
  8126. },
  8127. "contractstatus": {
  8128. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8129. "type": "integer"
  8130. },
  8131. "contracttype": {
  8132. "description": "现货合同类型 - 1:采购 -1:销售",
  8133. "type": "integer"
  8134. },
  8135. "deductamount": {
  8136. "description": "退款(非必填)",
  8137. "type": "number"
  8138. },
  8139. "enumdicname": {
  8140. "description": "单位名称",
  8141. "type": "string"
  8142. },
  8143. "goodscode": {
  8144. "description": "点价合约",
  8145. "type": "string"
  8146. },
  8147. "goodsname": {
  8148. "description": "商品名称",
  8149. "type": "string"
  8150. },
  8151. "kxtype": {
  8152. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8153. "type": "integer"
  8154. },
  8155. "operateapplyid": {
  8156. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8157. "type": "string"
  8158. },
  8159. "operateapplytype": {
  8160. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8161. "type": "integer"
  8162. },
  8163. "payamount": {
  8164. "description": "收付款(非必填)",
  8165. "type": "number"
  8166. },
  8167. "pricemove": {
  8168. "description": "升贴水",
  8169. "type": "number"
  8170. },
  8171. "pricetype": {
  8172. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8173. "type": "integer"
  8174. },
  8175. "relatedid": {
  8176. "description": "现货合同ID",
  8177. "type": "string"
  8178. },
  8179. "sellusername": {
  8180. "description": "销售方名字",
  8181. "type": "string"
  8182. },
  8183. "userid": {
  8184. "description": "用户ID",
  8185. "type": "integer"
  8186. }
  8187. }
  8188. },
  8189. "ermcp.QryErmcpRsp": {
  8190. "type": "object",
  8191. "properties": {
  8192. "accountname": {
  8193. "description": "账户名称",
  8194. "type": "string"
  8195. },
  8196. "attachment": {
  8197. "description": "附件",
  8198. "type": "string"
  8199. },
  8200. "audittime": {
  8201. "description": "审核时间",
  8202. "type": "string"
  8203. },
  8204. "contracctstatus": {
  8205. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8206. "type": "integer"
  8207. },
  8208. "contractmargin": {
  8209. "description": "合同保证金",
  8210. "type": "number"
  8211. },
  8212. "contractno": {
  8213. "description": "合同编号",
  8214. "type": "string"
  8215. },
  8216. "contracttype": {
  8217. "description": "合同类型 1-采购, -1-销售",
  8218. "type": "integer"
  8219. },
  8220. "convertfactor": {
  8221. "description": "标仓系数",
  8222. "type": "number"
  8223. },
  8224. "createtime": {
  8225. "description": "创建时间",
  8226. "type": "string"
  8227. },
  8228. "daikaiamount": {
  8229. "description": "待开票额",
  8230. "type": "number"
  8231. },
  8232. "deliveryenddate": {
  8233. "description": "交割结束日",
  8234. "type": "string"
  8235. },
  8236. "deliverygoodscode": {
  8237. "description": "现货商品代码",
  8238. "type": "string"
  8239. },
  8240. "deliverygoodsid": {
  8241. "description": "现货商品ID",
  8242. "type": "integer"
  8243. },
  8244. "deliverygoodsname": {
  8245. "description": "现货商品名称",
  8246. "type": "string"
  8247. },
  8248. "deliverystartdate": {
  8249. "description": "交割开始日",
  8250. "type": "string"
  8251. },
  8252. "enddate": {
  8253. "description": "点价结束日",
  8254. "type": "string"
  8255. },
  8256. "enumdicname": {
  8257. "description": "单位名称",
  8258. "type": "string"
  8259. },
  8260. "goodscode": {
  8261. "description": "点价商品代码",
  8262. "type": "string"
  8263. },
  8264. "goodsid": {
  8265. "description": "点价商品ID",
  8266. "type": "integer"
  8267. },
  8268. "goodsname": {
  8269. "description": "点价商品名称",
  8270. "type": "string"
  8271. },
  8272. "invoiceamount": {
  8273. "description": "已开票额",
  8274. "type": "number"
  8275. },
  8276. "loanamount": {
  8277. "description": "贷款总额=已定价额+调整金额",
  8278. "type": "number"
  8279. },
  8280. "margin": {
  8281. "description": "保证金",
  8282. "type": "number"
  8283. },
  8284. "payamount": {
  8285. "description": "已收付额(收款或付款)",
  8286. "type": "number"
  8287. },
  8288. "price": {
  8289. "description": "价格",
  8290. "type": "number"
  8291. },
  8292. "pricedamount": {
  8293. "description": "已定价额",
  8294. "type": "number"
  8295. },
  8296. "pricedavg": {
  8297. "description": "已点均价",
  8298. "type": "number"
  8299. },
  8300. "pricedqty": {
  8301. "description": "已定价量",
  8302. "type": "number"
  8303. },
  8304. "pricemove": {
  8305. "description": "升贴水",
  8306. "type": "number"
  8307. },
  8308. "pricetype": {
  8309. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8310. "type": "integer"
  8311. },
  8312. "producttype": {
  8313. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8314. "type": "integer"
  8315. },
  8316. "qty": {
  8317. "description": "合同量",
  8318. "type": "number"
  8319. },
  8320. "reckonadjustamount": {
  8321. "description": "调整金额",
  8322. "type": "number"
  8323. },
  8324. "reckonedamount": {
  8325. "description": "已收付额(已确定额)",
  8326. "type": "number"
  8327. },
  8328. "reckonotheramount": {
  8329. "description": "其它费用",
  8330. "type": "number"
  8331. },
  8332. "reckonrealqty": {
  8333. "description": "已确定量",
  8334. "type": "number"
  8335. },
  8336. "remark": {
  8337. "description": "备注",
  8338. "type": "string"
  8339. },
  8340. "spotcontractid": {
  8341. "description": "合同ID",
  8342. "type": "string"
  8343. },
  8344. "spotgoodsdesc": {
  8345. "description": "商品型号(商品规格)",
  8346. "type": "string"
  8347. },
  8348. "startdate": {
  8349. "description": "点价开始日",
  8350. "type": "string"
  8351. },
  8352. "totalamount": {
  8353. "description": "合计总额",
  8354. "type": "number"
  8355. },
  8356. "unpayamount": {
  8357. "description": "待支收额(支付或收款)",
  8358. "type": "number"
  8359. },
  8360. "unpricedqty": {
  8361. "description": "未定价量",
  8362. "type": "number"
  8363. },
  8364. "unsureqty": {
  8365. "description": "未确定量",
  8366. "type": "number"
  8367. },
  8368. "userid": {
  8369. "description": "用户ID",
  8370. "type": "integer"
  8371. }
  8372. }
  8373. },
  8374. "ermcp.QryGGCovertCfgRsp": {
  8375. "type": "object",
  8376. "properties": {
  8377. "convertratio": {
  8378. "description": "折算系数",
  8379. "type": "number"
  8380. },
  8381. "destgoodsgroupid": {
  8382. "description": "目标品种ID",
  8383. "type": "integer"
  8384. },
  8385. "dstcode": {
  8386. "description": "目录品种代码",
  8387. "type": "string"
  8388. },
  8389. "dstexchangecode": {
  8390. "description": "目标期货交易所",
  8391. "type": "string"
  8392. },
  8393. "dstname": {
  8394. "description": "目标品种名称",
  8395. "type": "string"
  8396. },
  8397. "dstunitid": {
  8398. "description": "目标品种单位ID",
  8399. "type": "integer"
  8400. },
  8401. "dstunitidname": {
  8402. "description": "目标品种单位名称",
  8403. "type": "string"
  8404. },
  8405. "srccode": {
  8406. "description": "源品种代码",
  8407. "type": "string"
  8408. },
  8409. "srcexchangecode": {
  8410. "description": "源期货交易所",
  8411. "type": "string"
  8412. },
  8413. "srcgoodsgroupid": {
  8414. "description": "源品种ID",
  8415. "type": "integer"
  8416. },
  8417. "srcname": {
  8418. "description": "源品种名称",
  8419. "type": "string"
  8420. },
  8421. "srcunitid": {
  8422. "description": "源品种单位ID",
  8423. "type": "integer"
  8424. },
  8425. "srcunitidname": {
  8426. "description": "源品种单位名称",
  8427. "type": "string"
  8428. }
  8429. }
  8430. },
  8431. "ermcp.QryHedgePlanRsp": {
  8432. "type": "object",
  8433. "properties": {
  8434. "areauserid": {
  8435. "description": "用户ID",
  8436. "type": "integer"
  8437. },
  8438. "contracttype": {
  8439. "description": "计划类型 - 1:采购 -1:销售",
  8440. "type": "integer"
  8441. },
  8442. "convertfactor": {
  8443. "description": "标仓系数",
  8444. "type": "number"
  8445. },
  8446. "createtime": {
  8447. "description": "创建时间",
  8448. "type": "string"
  8449. },
  8450. "deliverygoodsid": {
  8451. "description": "现货品种ID",
  8452. "type": "integer"
  8453. },
  8454. "deliverygoodsname": {
  8455. "description": "现货品种名称",
  8456. "type": "string"
  8457. },
  8458. "hedgeplanid": {
  8459. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8460. "type": "string"
  8461. },
  8462. "hedgeplanno": {
  8463. "description": "套保计划编号(名称)",
  8464. "type": "string"
  8465. },
  8466. "hedgeplanstatus": {
  8467. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8468. "type": "integer"
  8469. },
  8470. "planqty": {
  8471. "description": "计划数量",
  8472. "type": "number"
  8473. },
  8474. "plantime": {
  8475. "description": "计划时间",
  8476. "type": "string"
  8477. },
  8478. "producttype": {
  8479. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8480. "type": "integer"
  8481. },
  8482. "remark": {
  8483. "description": "备注",
  8484. "type": "string"
  8485. },
  8486. "spotgoodsdesc": {
  8487. "description": "商品型号",
  8488. "type": "string"
  8489. },
  8490. "wrstandardid": {
  8491. "description": "现货商品ID",
  8492. "type": "integer"
  8493. },
  8494. "wrstandardname": {
  8495. "description": "现货商品名称",
  8496. "type": "string"
  8497. }
  8498. }
  8499. },
  8500. "ermcp.QryMGChangeLogRsp": {
  8501. "type": "object",
  8502. "properties": {
  8503. "aftervalue": {
  8504. "description": "变更后",
  8505. "type": "number"
  8506. },
  8507. "applyid": {
  8508. "description": "操作人",
  8509. "type": "integer"
  8510. },
  8511. "applyname": {
  8512. "description": "操作人名称",
  8513. "type": "string"
  8514. },
  8515. "applysrc": {
  8516. "description": "操作来源 - 1:管理端 2:终端",
  8517. "type": "integer"
  8518. },
  8519. "beforevalue": {
  8520. "description": "变更前",
  8521. "type": "number"
  8522. },
  8523. "changelogtype": {
  8524. "description": "变更流水类型 - 1:套保比率变更",
  8525. "type": "integer"
  8526. },
  8527. "handlestatus": {
  8528. "description": "处理状态",
  8529. "type": "integer"
  8530. },
  8531. "logdatetime": {
  8532. "description": "流水日期",
  8533. "type": "string"
  8534. },
  8535. "logid": {
  8536. "description": "流水ID",
  8537. "type": "integer"
  8538. },
  8539. "logremark": {
  8540. "description": "流水备注",
  8541. "type": "string"
  8542. },
  8543. "middlegoodsid": {
  8544. "description": "套保品种ID",
  8545. "type": "integer"
  8546. },
  8547. "tradedate": {
  8548. "description": "交易日(yyyyMMdd)",
  8549. "type": "string"
  8550. },
  8551. "updatetime": {
  8552. "description": "更新时间",
  8553. "type": "string"
  8554. }
  8555. }
  8556. },
  8557. "ermcp.QryMiddleGoodsDetailRsp": {
  8558. "type": "object",
  8559. "properties": {
  8560. "cvList": {
  8561. "description": "期货品种折算列表",
  8562. "type": "array",
  8563. "items": {
  8564. "$ref": "#/definitions/models.GoodsGroupConvert"
  8565. }
  8566. },
  8567. "mg": {
  8568. "description": "套保品种基本信息",
  8569. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8570. }
  8571. }
  8572. },
  8573. "ermcp.QryMiddleGoodsRsp": {
  8574. "type": "object",
  8575. "properties": {
  8576. "areauserid": {
  8577. "description": "机构用户ID",
  8578. "type": "integer"
  8579. },
  8580. "enumdicname": {
  8581. "description": "单位名称",
  8582. "type": "string"
  8583. },
  8584. "evaluateratio": {
  8585. "description": "估价系数",
  8586. "type": "number"
  8587. },
  8588. "goodsgroupid": {
  8589. "description": "关联期货品种ID",
  8590. "type": "integer"
  8591. },
  8592. "isvalid": {
  8593. "description": "状态 0-无效(停用) 1-有效(正常)",
  8594. "type": "integer"
  8595. },
  8596. "middlegoodscode": {
  8597. "description": "套保品种代码",
  8598. "type": "string"
  8599. },
  8600. "middlegoodsid": {
  8601. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8602. "type": "integer"
  8603. },
  8604. "middlegoodsname": {
  8605. "description": "套保品种名称",
  8606. "type": "string"
  8607. },
  8608. "modifytime": {
  8609. "description": "修改时间",
  8610. "type": "string"
  8611. },
  8612. "needhedgeratio": {
  8613. "description": "套保比率",
  8614. "type": "number"
  8615. },
  8616. "qtydecimalplace": {
  8617. "description": "数量小数位",
  8618. "type": "integer"
  8619. },
  8620. "relatedgoodsid": {
  8621. "description": "关联交易商品ID",
  8622. "type": "integer"
  8623. },
  8624. "relatedgoodstype": {
  8625. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8626. "type": "integer"
  8627. }
  8628. }
  8629. },
  8630. "ermcp.QryOPLogRsp": {
  8631. "type": "object",
  8632. "properties": {
  8633. "aftervalue": {
  8634. "description": "变更后",
  8635. "type": "number"
  8636. },
  8637. "applyid": {
  8638. "description": "操作人ID",
  8639. "type": "string"
  8640. },
  8641. "applyname": {
  8642. "description": "操作人名称",
  8643. "type": "string"
  8644. },
  8645. "beforevalue": {
  8646. "description": "变更前",
  8647. "type": "number"
  8648. },
  8649. "biztype": {
  8650. "description": "业务类型 - 1:套保计划 2:现货合同",
  8651. "type": "integer"
  8652. },
  8653. "contracttype": {
  8654. "description": "现货合同类型 - 1:采购 -1:销售",
  8655. "type": "integer"
  8656. },
  8657. "logvalue": {
  8658. "description": "数值",
  8659. "type": "number"
  8660. },
  8661. "operatelogtype": {
  8662. "description": "操作流水类型",
  8663. "type": "integer"
  8664. },
  8665. "operatelogtypedesc": {
  8666. "description": "操作流水类型名称",
  8667. "type": "string"
  8668. },
  8669. "relatedid": {
  8670. "description": "现货合同ID\\套保计划",
  8671. "type": "string"
  8672. },
  8673. "updatetime": {
  8674. "description": "更新时间",
  8675. "type": "string"
  8676. }
  8677. }
  8678. },
  8679. "ermcp.QryReportDaySpotDetailRsp": {
  8680. "type": "object",
  8681. "properties": {
  8682. "applyid": {
  8683. "description": "操作人",
  8684. "type": "integer"
  8685. },
  8686. "applyname": {
  8687. "description": "操作人名称",
  8688. "type": "string"
  8689. },
  8690. "biztype": {
  8691. "description": "业务类型 - 1:套保计划 2:现货合同",
  8692. "type": "integer"
  8693. },
  8694. "contracttype": {
  8695. "description": "现货合同类型 - 1:采购 -1:销售",
  8696. "type": "integer"
  8697. },
  8698. "enumdicName": {
  8699. "description": "单位名称",
  8700. "type": "string"
  8701. },
  8702. "logdatetime": {
  8703. "description": "流水日期(时间)",
  8704. "type": "string"
  8705. },
  8706. "logid": {
  8707. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8708. "type": "string"
  8709. },
  8710. "logtypename": {
  8711. "description": "合同类型(名称)",
  8712. "type": "string"
  8713. },
  8714. "logvalue": {
  8715. "description": "数值",
  8716. "type": "string"
  8717. },
  8718. "operatelogtype": {
  8719. "description": "操作流水类型 -",
  8720. "type": "integer"
  8721. },
  8722. "optypename": {
  8723. "description": "流水类型名称",
  8724. "type": "string"
  8725. },
  8726. "relatedid": {
  8727. "description": "现货合同ID\\套保计划",
  8728. "type": "string"
  8729. },
  8730. "relatedno": {
  8731. "description": "合同编号",
  8732. "type": "string"
  8733. },
  8734. "tradedate": {
  8735. "description": "交易日(yyyyMMdd)",
  8736. "type": "string"
  8737. },
  8738. "userid": {
  8739. "description": "机构ID",
  8740. "type": "integer"
  8741. },
  8742. "wrstandardcode": {
  8743. "description": "现货商品代码",
  8744. "type": "string"
  8745. },
  8746. "wrstandardid": {
  8747. "description": "现货商品ID",
  8748. "type": "integer"
  8749. },
  8750. "wrstandardname": {
  8751. "description": "现货商品名称",
  8752. "type": "string"
  8753. }
  8754. }
  8755. },
  8756. "ermcp.QryReportExposureDayRsp": {
  8757. "type": "object",
  8758. "properties": {
  8759. "areauserid": {
  8760. "description": "所属机构",
  8761. "type": "integer"
  8762. },
  8763. "buyfutureqty": {
  8764. "description": "买入期货数量",
  8765. "type": "number"
  8766. },
  8767. "buyplanqty": {
  8768. "description": "采购计划数量",
  8769. "type": "number"
  8770. },
  8771. "buypricedqty": {
  8772. "description": "采购合同已定价数量",
  8773. "type": "number"
  8774. },
  8775. "diffFutuQty": {
  8776. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8777. "type": "number"
  8778. },
  8779. "diffSpotQty": {
  8780. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8781. "type": "number"
  8782. },
  8783. "enumdicname": {
  8784. "description": "单位名称",
  8785. "type": "string"
  8786. },
  8787. "middlegoodscode": {
  8788. "description": "套保品种代码",
  8789. "type": "string"
  8790. },
  8791. "middlegoodshedgeratio": {
  8792. "description": "应套保比例",
  8793. "type": "number"
  8794. },
  8795. "middlegoodsid": {
  8796. "description": "套保品种ID",
  8797. "type": "integer"
  8798. },
  8799. "middlegoodsname": {
  8800. "description": "套保品种名称",
  8801. "type": "string"
  8802. },
  8803. "needhedgeexposoure": {
  8804. "description": "应套保敞口",
  8805. "type": "number"
  8806. },
  8807. "needhedgeratio": {
  8808. "description": "应套保敞口比例",
  8809. "type": "number"
  8810. },
  8811. "oriTotalFutuQty": {
  8812. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8813. "type": "number"
  8814. },
  8815. "oriTotalSpotQty": {
  8816. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8817. "type": "number"
  8818. },
  8819. "oribuyfutureqty": {
  8820. "description": "期初买入期货数量",
  8821. "type": "number"
  8822. },
  8823. "oribuyplanqty": {
  8824. "description": "期初采购计划数量",
  8825. "type": "number"
  8826. },
  8827. "oribuypricedqty": {
  8828. "description": "期初采购合同已定价数量",
  8829. "type": "number"
  8830. },
  8831. "orisellfutureqty": {
  8832. "description": "期初卖出期货数量",
  8833. "type": "number"
  8834. },
  8835. "orisellplanqty": {
  8836. "description": "期初销售计划数量",
  8837. "type": "number"
  8838. },
  8839. "orisellpricedqty": {
  8840. "description": "期初销售合同已定价数量",
  8841. "type": "number"
  8842. },
  8843. "reckondate": {
  8844. "description": "日照时期(yyyyMMdd)",
  8845. "type": "string"
  8846. },
  8847. "sellfutureqty": {
  8848. "description": "卖出期货数量",
  8849. "type": "number"
  8850. },
  8851. "sellplanqty": {
  8852. "description": "销售计划数量",
  8853. "type": "number"
  8854. },
  8855. "sellpricedqty": {
  8856. "description": "销售合同已定价数量",
  8857. "type": "number"
  8858. },
  8859. "totalexposure": {
  8860. "description": "总敞口",
  8861. "type": "number"
  8862. },
  8863. "totalfutureqty": {
  8864. "description": "期货数量",
  8865. "type": "number"
  8866. },
  8867. "totalhedgeratio": {
  8868. "description": "敞口比例",
  8869. "type": "number"
  8870. },
  8871. "totalneedhedgeqty": {
  8872. "description": "期货应套保量",
  8873. "type": "number"
  8874. },
  8875. "totalspotqty": {
  8876. "description": "现货数量",
  8877. "type": "number"
  8878. }
  8879. }
  8880. },
  8881. "ermcp.QryReportFinanceDayRsp": {
  8882. "type": "object",
  8883. "properties": {
  8884. "areauserid": {
  8885. "description": "所属机构",
  8886. "type": "integer"
  8887. },
  8888. "collectinvoiceamount": {
  8889. "description": "今日开票金额",
  8890. "type": "number"
  8891. },
  8892. "collectinvoicecount": {
  8893. "description": "今日开票笔数",
  8894. "type": "integer"
  8895. },
  8896. "collectmoneyamount": {
  8897. "description": "今日收款金额",
  8898. "type": "number"
  8899. },
  8900. "collectmoneycount": {
  8901. "description": "今日收款笔数",
  8902. "type": "integer"
  8903. },
  8904. "payinvoiceamount": {
  8905. "description": "今日收票金额",
  8906. "type": "number"
  8907. },
  8908. "payinvoicecount": {
  8909. "description": "今日收票笔数",
  8910. "type": "integer"
  8911. },
  8912. "paymoneyamount": {
  8913. "description": "今日付款金额",
  8914. "type": "number"
  8915. },
  8916. "paymoneycount": {
  8917. "description": "今日付款笔数",
  8918. "type": "integer"
  8919. },
  8920. "reckondate": {
  8921. "description": "日照时期(yyyyMMdd)",
  8922. "type": "string"
  8923. },
  8924. "updatetime": {
  8925. "description": "更新时间",
  8926. "type": "string"
  8927. }
  8928. }
  8929. },
  8930. "ermcp.QryReportFinanceKxRsp": {
  8931. "type": "object",
  8932. "properties": {
  8933. "applyid": {
  8934. "description": "操作人",
  8935. "type": "integer"
  8936. },
  8937. "applyname": {
  8938. "description": "操作人名称",
  8939. "type": "string"
  8940. },
  8941. "biztype": {
  8942. "description": "业务类型 - 1:套保计划 2:现货合同",
  8943. "type": "integer"
  8944. },
  8945. "contracttype": {
  8946. "description": "现货合同类型 - 1:采购 -1:销售",
  8947. "type": "integer"
  8948. },
  8949. "enumdicName": {
  8950. "description": "单位名称",
  8951. "type": "string"
  8952. },
  8953. "logdatetime": {
  8954. "description": "流水日期(时间)",
  8955. "type": "string"
  8956. },
  8957. "logid": {
  8958. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8959. "type": "string"
  8960. },
  8961. "logtypename": {
  8962. "description": "合同类型(名称)",
  8963. "type": "string"
  8964. },
  8965. "logvalue": {
  8966. "description": "数值",
  8967. "type": "string"
  8968. },
  8969. "operatelogtype": {
  8970. "description": "操作流水类型 -",
  8971. "type": "integer"
  8972. },
  8973. "optypename": {
  8974. "description": "流水类型名称",
  8975. "type": "string"
  8976. },
  8977. "relatedid": {
  8978. "description": "现货合同ID\\套保计划",
  8979. "type": "string"
  8980. },
  8981. "relatedno": {
  8982. "description": "合同编号",
  8983. "type": "string"
  8984. },
  8985. "tradedate": {
  8986. "description": "交易日(yyyyMMdd)",
  8987. "type": "string"
  8988. },
  8989. "userid": {
  8990. "description": "机构ID",
  8991. "type": "integer"
  8992. },
  8993. "wrstandardcode": {
  8994. "description": "现货商品代码",
  8995. "type": "string"
  8996. },
  8997. "wrstandardid": {
  8998. "description": "现货商品ID",
  8999. "type": "integer"
  9000. },
  9001. "wrstandardname": {
  9002. "description": "现货商品名称",
  9003. "type": "string"
  9004. }
  9005. }
  9006. },
  9007. "ermcp.QryReportFinanceMonRsp": {
  9008. "type": "object",
  9009. "properties": {
  9010. "areauserid": {
  9011. "description": "所属机构【原值】",
  9012. "type": "integer"
  9013. },
  9014. "collectinvoiceamount": {
  9015. "description": "今日开票金额【汇总】",
  9016. "type": "number"
  9017. },
  9018. "collectinvoicecount": {
  9019. "description": "今日开票笔数【汇总】",
  9020. "type": "integer"
  9021. },
  9022. "collectmoneyamount": {
  9023. "description": "今日收款金额【汇总】",
  9024. "type": "number"
  9025. },
  9026. "collectmoneycount": {
  9027. "description": "今日收款笔数 【汇总】",
  9028. "type": "integer"
  9029. },
  9030. "cycletime": {
  9031. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9032. "type": "string"
  9033. },
  9034. "cycletype": {
  9035. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9036. "type": "integer"
  9037. },
  9038. "dayFr": {
  9039. "description": "日报表明细",
  9040. "type": "array",
  9041. "items": {
  9042. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9043. }
  9044. },
  9045. "payinvoiceamount": {
  9046. "description": "今日收票金额【汇总】",
  9047. "type": "number"
  9048. },
  9049. "payinvoicecount": {
  9050. "description": "今日收票笔数【汇总】",
  9051. "type": "integer"
  9052. },
  9053. "paymoneyamount": {
  9054. "description": "今日付款金额【汇总】",
  9055. "type": "number"
  9056. },
  9057. "paymoneycount": {
  9058. "description": "今日付款笔数【汇总】",
  9059. "type": "integer"
  9060. },
  9061. "updatetime": {
  9062. "description": "更新时间",
  9063. "type": "string"
  9064. }
  9065. }
  9066. },
  9067. "ermcp.QryReportSpotDayRsp": {
  9068. "type": "object",
  9069. "properties": {
  9070. "areauserid": {
  9071. "description": "所属机构T",
  9072. "type": "integer"
  9073. },
  9074. "enumdicname": {
  9075. "description": "现货商品单位名称",
  9076. "type": "string"
  9077. },
  9078. "reckondate": {
  9079. "description": "日照时期(yyyyMMdd)",
  9080. "type": "string"
  9081. },
  9082. "todaybuyreckonqty": {
  9083. "description": "采购确定量",
  9084. "type": "number"
  9085. },
  9086. "todaysellreckonqty": {
  9087. "description": "销售确定量",
  9088. "type": "number"
  9089. },
  9090. "totalbuypricedqty": {
  9091. "description": "采购定价量 = 期末 - 期初",
  9092. "type": "number"
  9093. },
  9094. "totalsellpricedqty": {
  9095. "description": "销售定价量 = 期末 - 期初",
  9096. "type": "number"
  9097. },
  9098. "wrstandardcode": {
  9099. "description": "现货商品代码",
  9100. "type": "string"
  9101. },
  9102. "wrstandardid": {
  9103. "description": "现货商品ID",
  9104. "type": "integer"
  9105. },
  9106. "wrstandardname": {
  9107. "description": "现货商品名称",
  9108. "type": "string"
  9109. }
  9110. }
  9111. },
  9112. "ermcp.QryReportSpotMonRsp": {
  9113. "type": "object",
  9114. "properties": {
  9115. "areauserid": {
  9116. "description": "所属机构T",
  9117. "type": "integer"
  9118. },
  9119. "cycletime": {
  9120. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9121. "type": "string"
  9122. },
  9123. "cycletype": {
  9124. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9125. "type": "integer"
  9126. },
  9127. "enumdicname": {
  9128. "description": "现货商品单位名称",
  9129. "type": "string"
  9130. },
  9131. "todaybuyreckonqty": {
  9132. "description": "采购确定量",
  9133. "type": "number"
  9134. },
  9135. "todaysellreckonqty": {
  9136. "description": "销售确定量",
  9137. "type": "number"
  9138. },
  9139. "totalbuypricedqty": {
  9140. "description": "采购定价量 = 期末 - 期初",
  9141. "type": "number"
  9142. },
  9143. "totalsellpricedqty": {
  9144. "description": "销售定价量 = 期末 - 期初",
  9145. "type": "number"
  9146. },
  9147. "wrstandardcode": {
  9148. "description": "现货商品代码",
  9149. "type": "string"
  9150. },
  9151. "wrstandardid": {
  9152. "description": "现货商品ID",
  9153. "type": "integer"
  9154. },
  9155. "wrstandardname": {
  9156. "description": "现货商品名称",
  9157. "type": "string"
  9158. }
  9159. }
  9160. },
  9161. "ermcp.QryReportSpotMonthDetailRsp": {
  9162. "type": "object",
  9163. "properties": {
  9164. "areauserid": {
  9165. "description": "所属机构T",
  9166. "type": "integer"
  9167. },
  9168. "enumdicname": {
  9169. "description": "现货商品单位名称",
  9170. "type": "string"
  9171. },
  9172. "reckondate": {
  9173. "description": "日照时期(yyyyMMdd)",
  9174. "type": "string"
  9175. },
  9176. "todaybuyreckonqty": {
  9177. "description": "采购确定量",
  9178. "type": "number"
  9179. },
  9180. "todaysellreckonqty": {
  9181. "description": "销售确定量",
  9182. "type": "number"
  9183. },
  9184. "totalbuypricedqty": {
  9185. "description": "采购定价量 = 期末 - 期初",
  9186. "type": "number"
  9187. },
  9188. "totalsellpricedqty": {
  9189. "description": "销售定价量 = 期末 - 期初",
  9190. "type": "number"
  9191. },
  9192. "wrstandardcode": {
  9193. "description": "现货商品代码",
  9194. "type": "string"
  9195. },
  9196. "wrstandardid": {
  9197. "description": "现货商品ID",
  9198. "type": "integer"
  9199. },
  9200. "wrstandardname": {
  9201. "description": "现货商品名称",
  9202. "type": "string"
  9203. }
  9204. }
  9205. },
  9206. "ermcp.QrySpotContractRsp": {
  9207. "type": "object",
  9208. "properties": {
  9209. "amount": {
  9210. "description": "金额 [1:一口价、3:暂定价]",
  9211. "type": "number"
  9212. },
  9213. "attachment": {
  9214. "description": "附件",
  9215. "type": "string"
  9216. },
  9217. "auditremark": {
  9218. "description": "审核意见",
  9219. "type": "string"
  9220. },
  9221. "audittime": {
  9222. "description": "审核时间",
  9223. "type": "string"
  9224. },
  9225. "brandname": {
  9226. "description": "品牌名称",
  9227. "type": "string"
  9228. },
  9229. "buyuserid": {
  9230. "description": "采购方ID",
  9231. "type": "integer"
  9232. },
  9233. "buyusername": {
  9234. "description": "采购方名称",
  9235. "type": "string"
  9236. },
  9237. "contracctstatus": {
  9238. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9239. "type": "integer"
  9240. },
  9241. "contractmargin": {
  9242. "description": "合同保证金",
  9243. "type": "number"
  9244. },
  9245. "contractno": {
  9246. "description": "现货合同编号",
  9247. "type": "string"
  9248. },
  9249. "contracttype": {
  9250. "description": "现货合同类型 - 1:采购 -1:销售",
  9251. "type": "integer"
  9252. },
  9253. "convertfactor": {
  9254. "description": "标仓系数",
  9255. "type": "number"
  9256. },
  9257. "createtime": {
  9258. "description": "创建时间",
  9259. "type": "string"
  9260. },
  9261. "deliveryenddate": {
  9262. "description": "交收期(结束)",
  9263. "type": "string"
  9264. },
  9265. "deliverygoodscode": {
  9266. "description": "现货品种代码",
  9267. "type": "string"
  9268. },
  9269. "deliverygoodsid": {
  9270. "description": "现货品种ID",
  9271. "type": "integer"
  9272. },
  9273. "deliverygoodsname": {
  9274. "description": "现货品种名称",
  9275. "type": "string"
  9276. },
  9277. "deliverystartdate": {
  9278. "description": "交收期(开始)",
  9279. "type": "string"
  9280. },
  9281. "enddate": {
  9282. "description": "点价结束日期 [2:点价 3:暂定价]",
  9283. "type": "string"
  9284. },
  9285. "enumdicname": {
  9286. "description": "单位名称",
  9287. "type": "string"
  9288. },
  9289. "goodscode": {
  9290. "description": "点价合约代码",
  9291. "type": "string"
  9292. },
  9293. "goodsid": {
  9294. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9295. "type": "integer"
  9296. },
  9297. "goodsname": {
  9298. "description": "点价商品名称",
  9299. "type": "string"
  9300. },
  9301. "margin": {
  9302. "description": "当前保证金",
  9303. "type": "number"
  9304. },
  9305. "modelname": {
  9306. "description": "型号名称",
  9307. "type": "string"
  9308. },
  9309. "price": {
  9310. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9311. "type": "number"
  9312. },
  9313. "pricemove": {
  9314. "description": "升贴水 [2:点价 3:暂定价]",
  9315. "type": "number"
  9316. },
  9317. "pricetype": {
  9318. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9319. "type": "integer"
  9320. },
  9321. "producttype": {
  9322. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9323. "type": "integer"
  9324. },
  9325. "qty": {
  9326. "description": "数量",
  9327. "type": "number"
  9328. },
  9329. "remark": {
  9330. "description": "备注",
  9331. "type": "string"
  9332. },
  9333. "selluserid": {
  9334. "description": "销售方ID",
  9335. "type": "integer"
  9336. },
  9337. "sellusername": {
  9338. "description": "销售方名称",
  9339. "type": "string"
  9340. },
  9341. "spotcontractid": {
  9342. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9343. "type": "string"
  9344. },
  9345. "spotgoodsbrandid": {
  9346. "description": "现货品牌ID",
  9347. "type": "integer"
  9348. },
  9349. "spotgoodsdesc": {
  9350. "description": "商品型号",
  9351. "type": "string"
  9352. },
  9353. "spotgoodsmodelid": {
  9354. "description": "现货型号ID",
  9355. "type": "integer"
  9356. },
  9357. "startdate": {
  9358. "description": "点价开始日期 [2:点价 3:暂定价]",
  9359. "type": "string"
  9360. },
  9361. "userid": {
  9362. "description": "机构ID",
  9363. "type": "integer"
  9364. },
  9365. "wrstandardid": {
  9366. "description": "现货商品ID",
  9367. "type": "integer"
  9368. }
  9369. }
  9370. },
  9371. "ermcp.QryUserInfoRsp": {
  9372. "type": "object",
  9373. "properties": {
  9374. "address": {
  9375. "description": "通讯地址",
  9376. "type": "string"
  9377. },
  9378. "attachment1": {
  9379. "description": "附件1",
  9380. "type": "string"
  9381. },
  9382. "cardfrontphotourl": {
  9383. "description": "证件正面图片地址",
  9384. "type": "string"
  9385. },
  9386. "cardnum": {
  9387. "description": "证件号码",
  9388. "type": "string"
  9389. },
  9390. "cardtype": {
  9391. "description": "证件类型",
  9392. "type": "integer"
  9393. },
  9394. "cardtypename": {
  9395. "description": "证件类型名称",
  9396. "type": "string"
  9397. },
  9398. "cityid": {
  9399. "description": "市",
  9400. "type": "integer"
  9401. },
  9402. "countryid": {
  9403. "description": "国家",
  9404. "type": "integer"
  9405. },
  9406. "createtime": {
  9407. "description": "创建时间",
  9408. "type": "string"
  9409. },
  9410. "customername": {
  9411. "description": "企业名称",
  9412. "type": "string"
  9413. },
  9414. "memberuserid": {
  9415. "description": "所属机构ID",
  9416. "type": "integer"
  9417. },
  9418. "mobile": {
  9419. "description": "手机号码",
  9420. "type": "string"
  9421. },
  9422. "provinceid": {
  9423. "description": "省",
  9424. "type": "integer"
  9425. },
  9426. "remark": {
  9427. "description": "备注",
  9428. "type": "string"
  9429. },
  9430. "status": {
  9431. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9432. "type": "integer"
  9433. },
  9434. "statusdesc": {
  9435. "description": "账户状态中文描述",
  9436. "type": "string"
  9437. },
  9438. "telphone": {
  9439. "description": "联系电话",
  9440. "type": "string"
  9441. },
  9442. "userid": {
  9443. "description": "用户ID",
  9444. "type": "integer"
  9445. },
  9446. "userinfotype": {
  9447. "description": "客户类型",
  9448. "type": "string"
  9449. }
  9450. }
  9451. },
  9452. "ermcp.QryWrStandardDetailRsp": {
  9453. "type": "object",
  9454. "properties": {
  9455. "gbList": {
  9456. "description": "品牌列表",
  9457. "type": "array",
  9458. "items": {
  9459. "$ref": "#/definitions/models.GoodsBrand"
  9460. }
  9461. },
  9462. "gtList": {
  9463. "description": "型号列表",
  9464. "type": "array",
  9465. "items": {
  9466. "$ref": "#/definitions/models.GoodsTypeModel"
  9467. }
  9468. },
  9469. "wrd": {
  9470. "description": "基本信息",
  9471. "$ref": "#/definitions/models.ErmcpWrstandard"
  9472. },
  9473. "wrsList": {
  9474. "description": "套保信息列表",
  9475. "type": "array",
  9476. "items": {
  9477. "$ref": "#/definitions/models.WRSConverTDetail"
  9478. }
  9479. }
  9480. }
  9481. },
  9482. "ermcp.QryWrStandardRsp": {
  9483. "type": "object",
  9484. "properties": {
  9485. "areauserid": {
  9486. "description": "所属机构",
  9487. "type": "integer"
  9488. },
  9489. "createtime": {
  9490. "description": "创建时间",
  9491. "type": "string"
  9492. },
  9493. "creatorid": {
  9494. "description": "创建人",
  9495. "type": "integer"
  9496. },
  9497. "deliverygoodsid": {
  9498. "description": "品种ID",
  9499. "type": "integer"
  9500. },
  9501. "enumdicname": {
  9502. "description": "单位名称",
  9503. "type": "string"
  9504. },
  9505. "isvalid": {
  9506. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9507. "type": "integer"
  9508. },
  9509. "minivalue": {
  9510. "description": "最小变动值",
  9511. "type": "integer"
  9512. },
  9513. "minivaluedp": {
  9514. "description": "最小变动值小数位",
  9515. "type": "integer"
  9516. },
  9517. "realminivalue": {
  9518. "description": "实际最小变动值",
  9519. "type": "integer"
  9520. },
  9521. "realminivaluedp": {
  9522. "description": "实际最小变动值小数位",
  9523. "type": "integer"
  9524. },
  9525. "remark": {
  9526. "description": "备注",
  9527. "type": "string"
  9528. },
  9529. "unitid": {
  9530. "description": "单位ID",
  9531. "type": "integer"
  9532. },
  9533. "updatetime": {
  9534. "description": "更新时间",
  9535. "type": "string"
  9536. },
  9537. "wrstandardcode": {
  9538. "description": "现货商品代码",
  9539. "type": "string"
  9540. },
  9541. "wrstandardid": {
  9542. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9543. "type": "integer"
  9544. },
  9545. "wrstandardname": {
  9546. "description": "现货商品名称",
  9547. "type": "string"
  9548. }
  9549. }
  9550. },
  9551. "ermcp.QueryErmcpTradePositionRsp": {
  9552. "type": "object",
  9553. "properties": {
  9554. "agreeunit": {
  9555. "description": "合约单位",
  9556. "type": "number"
  9557. },
  9558. "buyorsell": {
  9559. "description": "方向 - 0:买 1:卖",
  9560. "type": "integer"
  9561. },
  9562. "curpositionqty": {
  9563. "description": "持仓(总仓数量, 期末头寸)",
  9564. "type": "integer"
  9565. },
  9566. "curtdposition": {
  9567. "description": "今仓数量(期末今日头寸)",
  9568. "type": "integer"
  9569. },
  9570. "curtdpositionenabled": {
  9571. "description": "今仓可用",
  9572. "type": "integer"
  9573. },
  9574. "decimalplace": {
  9575. "description": "报价小数位",
  9576. "type": "integer"
  9577. },
  9578. "enableqty": {
  9579. "description": "可用(总仓可用)",
  9580. "type": "integer"
  9581. },
  9582. "exexchangename": {
  9583. "description": "外部交易所名称",
  9584. "type": "string"
  9585. },
  9586. "goodscode": {
  9587. "description": "商品代码(内部)",
  9588. "type": "string"
  9589. },
  9590. "goodsid": {
  9591. "description": "商品ID(自增ID SEQ_GOODS)",
  9592. "type": "integer"
  9593. },
  9594. "goodsname": {
  9595. "description": "商品名称",
  9596. "type": "string"
  9597. },
  9598. "last": {
  9599. "description": "现价",
  9600. "type": "number"
  9601. },
  9602. "marketid": {
  9603. "description": "所属市场ID",
  9604. "type": "integer"
  9605. },
  9606. "openaverageprice": {
  9607. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9608. "type": "number"
  9609. },
  9610. "opencost": {
  9611. "description": "开仓成本",
  9612. "type": "number"
  9613. },
  9614. "openpl": {
  9615. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9616. "type": "number"
  9617. },
  9618. "outgoodscode": {
  9619. "description": "商品代码(外部)",
  9620. "type": "string"
  9621. },
  9622. "positionaverageprice": {
  9623. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9624. "type": "number"
  9625. },
  9626. "positioncost": {
  9627. "description": "持仓成本",
  9628. "type": "number"
  9629. },
  9630. "positionpl": {
  9631. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9632. "type": "number"
  9633. },
  9634. "positionplrate": {
  9635. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9636. "type": "number"
  9637. },
  9638. "usedmargin": {
  9639. "description": "占用保证金",
  9640. "type": "number"
  9641. }
  9642. }
  9643. },
  9644. "ermcp.RealtimeExposurePositionRsp": {
  9645. "type": "object",
  9646. "properties": {
  9647. "agreeunit": {
  9648. "description": "合约单位",
  9649. "type": "string"
  9650. },
  9651. "areauserid": {
  9652. "description": "所属机构id",
  9653. "type": "integer"
  9654. },
  9655. "convertratio": {
  9656. "description": "期货品种系数(折算系数)",
  9657. "type": "number"
  9658. },
  9659. "curqty": {
  9660. "description": "当前持仓",
  9661. "type": "integer"
  9662. },
  9663. "diffhedgeqty": {
  9664. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9665. "type": "number"
  9666. },
  9667. "diffqty": {
  9668. "description": "持仓变动量=当前持仓-昨日持仓",
  9669. "type": "integer"
  9670. },
  9671. "goodscode": {
  9672. "description": "商品代码",
  9673. "type": "string"
  9674. },
  9675. "goodsid": {
  9676. "description": "商品id",
  9677. "type": "integer"
  9678. },
  9679. "goodsname": {
  9680. "description": "商品名称",
  9681. "type": "string"
  9682. },
  9683. "middlegoodsid": {
  9684. "description": "套保商品id",
  9685. "type": "integer"
  9686. },
  9687. "ydqty": {
  9688. "description": "昨日持仓",
  9689. "type": "integer"
  9690. }
  9691. }
  9692. },
  9693. "ermcp.RealtimeExposureRsp": {
  9694. "type": "object",
  9695. "properties": {
  9696. "areaUserID": {
  9697. "description": "所属机构",
  9698. "type": "integer"
  9699. },
  9700. "buyFutureQty": {
  9701. "description": "买入期货数量",
  9702. "type": "number"
  9703. },
  9704. "buyPlanQty": {
  9705. "description": "采购计划数量",
  9706. "type": "number"
  9707. },
  9708. "buyPricedQty": {
  9709. "description": "采购合同已定价数量",
  9710. "type": "number"
  9711. },
  9712. "diffFutuQty": {
  9713. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9714. "type": "number"
  9715. },
  9716. "diffSpotQty": {
  9717. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9718. "type": "number"
  9719. },
  9720. "enumdicname": {
  9721. "description": "单位名称",
  9722. "type": "string"
  9723. },
  9724. "middleGoodsCode": {
  9725. "description": "套保品种代码",
  9726. "type": "string"
  9727. },
  9728. "middleGoodsHedgeRatio": {
  9729. "description": "应套保比例",
  9730. "type": "number"
  9731. },
  9732. "middleGoodsID": {
  9733. "description": "套保品种",
  9734. "type": "integer"
  9735. },
  9736. "middleGoodsName": {
  9737. "description": "套保品种名称",
  9738. "type": "string"
  9739. },
  9740. "needHedgeExposoure": {
  9741. "description": "应套保敞口",
  9742. "type": "number"
  9743. },
  9744. "needHedgeRatio": {
  9745. "description": "应套保敞口比例",
  9746. "type": "number"
  9747. },
  9748. "oriBuyFutureQty": {
  9749. "description": "期初买入期货数量",
  9750. "type": "number"
  9751. },
  9752. "oriBuyPlanQty": {
  9753. "description": "期初采购计划数量",
  9754. "type": "number"
  9755. },
  9756. "oriBuyPricedQty": {
  9757. "description": "期初采购合同已定价数量",
  9758. "type": "number"
  9759. },
  9760. "oriSellFutureQty": {
  9761. "description": "期初卖出期货数量",
  9762. "type": "number"
  9763. },
  9764. "oriSellPlanQty": {
  9765. "description": "期初销售计划数量",
  9766. "type": "number"
  9767. },
  9768. "oriSellPricedQty": {
  9769. "description": "期初销售合同已定价数量",
  9770. "type": "number"
  9771. },
  9772. "oriTotalFutuQty": {
  9773. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9774. "type": "number"
  9775. },
  9776. "oriTotalSpotQty": {
  9777. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9778. "type": "number"
  9779. },
  9780. "sellFutureQty": {
  9781. "description": "卖出期货数量",
  9782. "type": "number"
  9783. },
  9784. "sellPlanQty": {
  9785. "description": "销售计划数量",
  9786. "type": "number"
  9787. },
  9788. "sellPricedQty": {
  9789. "description": "销售合同已定价数量",
  9790. "type": "number"
  9791. },
  9792. "totalExposure": {
  9793. "description": "总敞口",
  9794. "type": "number"
  9795. },
  9796. "totalFutureQty": {
  9797. "description": "期货数量",
  9798. "type": "number"
  9799. },
  9800. "totalHedgeRatio": {
  9801. "description": "敞口比例",
  9802. "type": "number"
  9803. },
  9804. "totalNeedHedgeQty": {
  9805. "description": "期货应套保量",
  9806. "type": "number"
  9807. },
  9808. "totalSpotQty": {
  9809. "description": "现货数量",
  9810. "type": "number"
  9811. }
  9812. }
  9813. },
  9814. "erms2.QueryArbitrageStrategyRsp": {
  9815. "type": "object",
  9816. "required": [
  9817. "asapplyid"
  9818. ],
  9819. "properties": {
  9820. "applybasis": {
  9821. "description": "申请基差",
  9822. "type": "number"
  9823. },
  9824. "asapplyid": {
  9825. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9826. "type": "string"
  9827. },
  9828. "asname": {
  9829. "description": "策略名称",
  9830. "type": "string"
  9831. },
  9832. "asno": {
  9833. "description": "策略编号",
  9834. "type": "string"
  9835. },
  9836. "basischangepl": {
  9837. "description": "基差变动损益[结算更新]",
  9838. "type": "number"
  9839. },
  9840. "biztype": {
  9841. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9842. "type": "integer"
  9843. },
  9844. "closetradedate": {
  9845. "description": "完结交易日(yyyyMMdd)",
  9846. "type": "string"
  9847. },
  9848. "curbasis": {
  9849. "description": "当前基差[结算更新]",
  9850. "type": "number"
  9851. },
  9852. "deliverygoodsid": {
  9853. "description": "现货品种ID",
  9854. "type": "integer"
  9855. },
  9856. "futureavgprice": {
  9857. "description": "期货建仓均价",
  9858. "type": "number"
  9859. },
  9860. "futurecloseamount": {
  9861. "description": "期货平仓金额",
  9862. "type": "number"
  9863. },
  9864. "futurecloseqty": {
  9865. "description": "期货平仓数量",
  9866. "type": "number"
  9867. },
  9868. "futureopenamount": {
  9869. "description": "期货开仓金额",
  9870. "type": "number"
  9871. },
  9872. "futureopenqty": {
  9873. "description": "期货开仓数量",
  9874. "type": "number"
  9875. },
  9876. "futurepl": {
  9877. "description": "期货总盈亏[结算更新]",
  9878. "type": "number"
  9879. },
  9880. "futureqty": {
  9881. "description": "期货持仓数量",
  9882. "type": "number"
  9883. },
  9884. "futurequote": {
  9885. "description": "期货额度",
  9886. "type": "number"
  9887. },
  9888. "goodsgroupid": {
  9889. "description": "期货品种ID",
  9890. "type": "integer"
  9891. },
  9892. "marketid": {
  9893. "description": "市场ID",
  9894. "type": "integer"
  9895. },
  9896. "netexposure": {
  9897. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9898. "type": "number"
  9899. },
  9900. "netexposurepl": {
  9901. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9902. "type": "number"
  9903. },
  9904. "netexposurerate": {
  9905. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9906. "type": "number"
  9907. },
  9908. "openbasis": {
  9909. "description": "建仓基差",
  9910. "type": "number"
  9911. },
  9912. "pricedspotqty": {
  9913. "description": "已定价现货数量",
  9914. "type": "number"
  9915. },
  9916. "pricedspotqtynotax": {
  9917. "description": "已定价现货不含税数量",
  9918. "type": "number"
  9919. },
  9920. "remark": {
  9921. "description": "备注",
  9922. "type": "string"
  9923. },
  9924. "spotavgprice": {
  9925. "description": "现货均价",
  9926. "type": "number"
  9927. },
  9928. "spotbuyamount": {
  9929. "description": "现货采购金额",
  9930. "type": "number"
  9931. },
  9932. "spotbuyqty": {
  9933. "description": "现货采购数量",
  9934. "type": "number"
  9935. },
  9936. "spotpl": {
  9937. "description": "现货总盈亏[结算更新]",
  9938. "type": "number"
  9939. },
  9940. "spotquota": {
  9941. "description": "现货额度",
  9942. "type": "number"
  9943. },
  9944. "spotsellamount": {
  9945. "description": "现货销售金额",
  9946. "type": "number"
  9947. },
  9948. "spotsellqty": {
  9949. "description": "现货销售数量",
  9950. "type": "number"
  9951. },
  9952. "spotusedquota": {
  9953. "description": "现货占用资金",
  9954. "type": "number"
  9955. },
  9956. "strategystatus": {
  9957. "description": "策略状态 - 0:未结束 1:已结束",
  9958. "type": "integer"
  9959. },
  9960. "totalpl": {
  9961. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9962. "type": "number"
  9963. },
  9964. "tradedate": {
  9965. "description": "交易日(yyyyMMdd)",
  9966. "type": "string"
  9967. },
  9968. "updatetime": {
  9969. "description": "更新时间",
  9970. "type": "string"
  9971. },
  9972. "usedquota": {
  9973. "description": "已占用资金",
  9974. "type": "number"
  9975. },
  9976. "userid": {
  9977. "description": "所属机构",
  9978. "type": "integer"
  9979. }
  9980. }
  9981. },
  9982. "erms2.QueryInnerTradeDetailRsp": {
  9983. "type": "object",
  9984. "required": [
  9985. "asapplyid",
  9986. "buyorsell",
  9987. "goodscode",
  9988. "goodsgroupid",
  9989. "goodsgroupname",
  9990. "goodsname",
  9991. "tradeid"
  9992. ],
  9993. "properties": {
  9994. "accountid": {
  9995. "description": "账号ID",
  9996. "type": "integer"
  9997. },
  9998. "agreeunit": {
  9999. "description": "合约单位",
  10000. "type": "number"
  10001. },
  10002. "asapplyid": {
  10003. "description": "策略申请ID",
  10004. "type": "integer"
  10005. },
  10006. "asname": {
  10007. "description": "策略名称",
  10008. "type": "string"
  10009. },
  10010. "asno": {
  10011. "description": "策略编号",
  10012. "type": "string"
  10013. },
  10014. "buyorsell": {
  10015. "description": "方向 - 0:买 1:卖",
  10016. "type": "integer"
  10017. },
  10018. "channelbuildtype": {
  10019. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10020. "type": "integer"
  10021. },
  10022. "closetype": {
  10023. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10024. "type": "integer"
  10025. },
  10026. "decimalplace": {
  10027. "description": "报价小数位",
  10028. "type": "integer"
  10029. },
  10030. "detailtype": {
  10031. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10032. "type": "integer"
  10033. },
  10034. "exexchangecode": {
  10035. "description": "外部交易所代码",
  10036. "type": "string"
  10037. },
  10038. "exexchangename": {
  10039. "description": "外部交易所名称",
  10040. "type": "string"
  10041. },
  10042. "goodscode": {
  10043. "description": "商品代码(合约)",
  10044. "type": "string"
  10045. },
  10046. "goodsgroupid": {
  10047. "description": "商品组ID(品种ID)",
  10048. "type": "integer"
  10049. },
  10050. "goodsgroupname": {
  10051. "description": "商品组名称(品种)",
  10052. "type": "string"
  10053. },
  10054. "goodsid": {
  10055. "description": "商品ID",
  10056. "type": "integer"
  10057. },
  10058. "goodsname": {
  10059. "description": "商品名称(合约)",
  10060. "type": "string"
  10061. },
  10062. "goodunit": {
  10063. "description": "报价单位",
  10064. "type": "string"
  10065. },
  10066. "marketid": {
  10067. "description": "市场ID",
  10068. "type": "integer"
  10069. },
  10070. "orderid": {
  10071. "description": "委托单号",
  10072. "type": "string"
  10073. },
  10074. "outgoodscode": {
  10075. "description": "商品代码(外部)",
  10076. "type": "string"
  10077. },
  10078. "relatedouttradeid": {
  10079. "description": "关联外部成交单ID",
  10080. "type": "string"
  10081. },
  10082. "remark": {
  10083. "description": "备注",
  10084. "type": "string"
  10085. },
  10086. "spotcontractid": {
  10087. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10088. "type": "integer"
  10089. },
  10090. "spotcontractno": {
  10091. "description": "现货合同编号",
  10092. "type": "string"
  10093. },
  10094. "tradeid": {
  10095. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10096. "type": "string"
  10097. },
  10098. "tradeprice": {
  10099. "description": "成交价格",
  10100. "type": "number"
  10101. },
  10102. "tradeqty": {
  10103. "description": "成交数量",
  10104. "type": "integer"
  10105. },
  10106. "tradetime": {
  10107. "description": "成交时间",
  10108. "type": "string"
  10109. },
  10110. "updatetime": {
  10111. "description": "更新时间",
  10112. "type": "string"
  10113. }
  10114. }
  10115. },
  10116. "erms2.QuerySpotContractRsp": {
  10117. "type": "object",
  10118. "required": [
  10119. "spotcontractid"
  10120. ],
  10121. "properties": {
  10122. "accountid": {
  10123. "description": "资金账户ID",
  10124. "type": "integer"
  10125. },
  10126. "areauserid": {
  10127. "description": "所属机构",
  10128. "type": "integer"
  10129. },
  10130. "closedate": {
  10131. "description": "终止日期",
  10132. "type": "string"
  10133. },
  10134. "closeremark": {
  10135. "description": "结束备注",
  10136. "type": "string"
  10137. },
  10138. "closetradedate": {
  10139. "description": "完结交易日(yyyyMMdd)",
  10140. "type": "string"
  10141. },
  10142. "closetype": {
  10143. "description": "终止类型 - 1:违约 2:提前终止",
  10144. "type": "integer"
  10145. },
  10146. "contractamount": {
  10147. "description": "合同金额",
  10148. "type": "number"
  10149. },
  10150. "contractattachment": {
  10151. "description": "合同附件",
  10152. "type": "string"
  10153. },
  10154. "contractno": {
  10155. "description": "现货合同编号",
  10156. "type": "string"
  10157. },
  10158. "contractqty": {
  10159. "description": "合同数量(数值) (用于计算)",
  10160. "type": "number"
  10161. },
  10162. "contractqtychar": {
  10163. "description": "合同数量\\已订价数量 (用于显示)",
  10164. "type": "string"
  10165. },
  10166. "contractstatus": {
  10167. "description": "合同状态 - 0:未结束 1:已结束",
  10168. "type": "integer"
  10169. },
  10170. "contracttype": {
  10171. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10172. "type": "integer"
  10173. },
  10174. "customeraccountid": {
  10175. "description": "客户资金账户ID",
  10176. "type": "integer"
  10177. },
  10178. "customeruserid": {
  10179. "description": "客户ID",
  10180. "type": "integer"
  10181. },
  10182. "deliverygoodsdesc": {
  10183. "description": "品种说明",
  10184. "type": "string"
  10185. },
  10186. "deliverygoodsid": {
  10187. "description": "现货品种ID",
  10188. "type": "integer"
  10189. },
  10190. "handlestatus": {
  10191. "description": "处理状态",
  10192. "type": "integer"
  10193. },
  10194. "invoiceatt": {
  10195. "description": "发票附件",
  10196. "type": "string"
  10197. },
  10198. "invoicedatetime": {
  10199. "description": "开收票更新时间",
  10200. "type": "string"
  10201. },
  10202. "invoiceopentime": {
  10203. "description": "开票时间",
  10204. "type": "string"
  10205. },
  10206. "invoiceremark": {
  10207. "description": "发票备注",
  10208. "type": "string"
  10209. },
  10210. "invoicestatus": {
  10211. "description": "开收票状态 - 0:未开票 1:已开票",
  10212. "type": "integer"
  10213. },
  10214. "lastdate": {
  10215. "description": "交货时间",
  10216. "type": "string"
  10217. },
  10218. "marketid": {
  10219. "description": "市场ID",
  10220. "type": "integer"
  10221. },
  10222. "paydatetime": {
  10223. "description": "收付款更新时间",
  10224. "type": "string"
  10225. },
  10226. "payremark": {
  10227. "description": "收付款备注",
  10228. "type": "string"
  10229. },
  10230. "paystatus": {
  10231. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10232. "type": "integer"
  10233. },
  10234. "positionqty": {
  10235. "description": "头寸数量 - 合同数量去小数部分",
  10236. "type": "integer"
  10237. },
  10238. "producttype": {
  10239. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10240. "type": "integer"
  10241. },
  10242. "relatedqty": {
  10243. "description": "已关联数量",
  10244. "type": "number"
  10245. },
  10246. "relatedstatus": {
  10247. "description": "关联完结状态 - 0:未结束 1:已结束",
  10248. "type": "integer"
  10249. },
  10250. "remark": {
  10251. "description": "备注",
  10252. "type": "string"
  10253. },
  10254. "signdate": {
  10255. "description": "签订日期",
  10256. "type": "string"
  10257. },
  10258. "spotcontractid": {
  10259. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10260. "type": "string"
  10261. },
  10262. "spotdatetime": {
  10263. "description": "收发货更新时间",
  10264. "type": "string"
  10265. },
  10266. "spotprice": {
  10267. "description": "价格",
  10268. "type": "number"
  10269. },
  10270. "spotremark": {
  10271. "description": "收发货备注",
  10272. "type": "string"
  10273. },
  10274. "spotstatus": {
  10275. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10276. "type": "integer"
  10277. },
  10278. "tradedate": {
  10279. "description": "交易日(yyyyMMdd)",
  10280. "type": "string"
  10281. },
  10282. "userid": {
  10283. "description": "业务员用户ID",
  10284. "type": "integer"
  10285. },
  10286. "warehouseid": {
  10287. "description": "仓库ID",
  10288. "type": "integer"
  10289. },
  10290. "wrfactortypeid": {
  10291. "description": "仓单要素类型ID",
  10292. "type": "integer"
  10293. },
  10294. "wrstandardid": {
  10295. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10296. "type": "integer"
  10297. }
  10298. }
  10299. },
  10300. "erms3.AddErms2ASApplyReq": {
  10301. "type": "object",
  10302. "required": [
  10303. "asapplyid"
  10304. ],
  10305. "properties": {
  10306. "applybasis": {
  10307. "description": "申请基差",
  10308. "type": "number"
  10309. },
  10310. "applystatus": {
  10311. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10312. "type": "integer"
  10313. },
  10314. "asapplyid": {
  10315. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10316. "type": "integer"
  10317. },
  10318. "asname": {
  10319. "description": "策略名称",
  10320. "type": "string"
  10321. },
  10322. "asno": {
  10323. "description": "策略编号",
  10324. "type": "string"
  10325. },
  10326. "auditid": {
  10327. "description": "审核人",
  10328. "type": "integer"
  10329. },
  10330. "auditremark": {
  10331. "description": "审核备注",
  10332. "type": "string"
  10333. },
  10334. "audittime": {
  10335. "description": "审核时间",
  10336. "type": "string"
  10337. },
  10338. "biztype": {
  10339. "description": "业务类型 - 1:正向套利 2:反向套利",
  10340. "type": "integer"
  10341. },
  10342. "createtime": {
  10343. "description": "创建时间",
  10344. "type": "string"
  10345. },
  10346. "creatorid": {
  10347. "description": "创建人",
  10348. "type": "integer"
  10349. },
  10350. "deliverygoodsid": {
  10351. "description": "现货品种ID",
  10352. "type": "integer"
  10353. },
  10354. "futurequote": {
  10355. "description": "期货额度",
  10356. "type": "number"
  10357. },
  10358. "goodsgroupid": {
  10359. "description": "期货品种ID",
  10360. "type": "integer"
  10361. },
  10362. "marketid": {
  10363. "description": "市场ID",
  10364. "type": "integer"
  10365. },
  10366. "remark": {
  10367. "description": "备注",
  10368. "type": "string"
  10369. },
  10370. "spotquota": {
  10371. "description": "现货额度",
  10372. "type": "number"
  10373. },
  10374. "tradedate": {
  10375. "description": "交易日(yyyyMMdd)",
  10376. "type": "string"
  10377. },
  10378. "userid": {
  10379. "description": "所属机构",
  10380. "type": "integer"
  10381. }
  10382. }
  10383. },
  10384. "erms3.AddErms2SpotTradeApplyReq": {
  10385. "type": "object",
  10386. "required": [
  10387. "spottradeid"
  10388. ],
  10389. "properties": {
  10390. "applyjsondetail": {
  10391. "description": "申请明细(JSON)",
  10392. "type": "string"
  10393. },
  10394. "applystatus": {
  10395. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10396. "type": "integer"
  10397. },
  10398. "areauserid": {
  10399. "description": "所属机构",
  10400. "type": "integer"
  10401. },
  10402. "auditid": {
  10403. "description": "审核人",
  10404. "type": "integer"
  10405. },
  10406. "auditremark": {
  10407. "description": "审核备注",
  10408. "type": "string"
  10409. },
  10410. "audittime": {
  10411. "description": "审核时间",
  10412. "type": "string"
  10413. },
  10414. "createtime": {
  10415. "description": "创建时间",
  10416. "type": "string"
  10417. },
  10418. "creatorid": {
  10419. "description": "创建人",
  10420. "type": "integer"
  10421. },
  10422. "deliverygoodsid": {
  10423. "description": "现货品种ID",
  10424. "type": "integer"
  10425. },
  10426. "futureaccountid": {
  10427. "description": "期货资金账户",
  10428. "type": "integer"
  10429. },
  10430. "goodsgroupid": {
  10431. "description": "期货品种",
  10432. "type": "integer"
  10433. },
  10434. "marketid": {
  10435. "description": "市场ID",
  10436. "type": "integer"
  10437. },
  10438. "remark": {
  10439. "description": "备注",
  10440. "type": "string"
  10441. },
  10442. "spotaccountid": {
  10443. "description": "现货资金账户",
  10444. "type": "integer"
  10445. },
  10446. "spottradeid": {
  10447. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10448. "type": "integer"
  10449. },
  10450. "spottradename": {
  10451. "description": "业务名称",
  10452. "type": "string"
  10453. },
  10454. "spottradeno": {
  10455. "description": "业务编号",
  10456. "type": "string"
  10457. },
  10458. "tradedate": {
  10459. "description": "交易日(yyyyMMdd)",
  10460. "type": "string"
  10461. },
  10462. "wrstandardid": {
  10463. "description": "仓单标准ID",
  10464. "type": "integer"
  10465. }
  10466. }
  10467. },
  10468. "erms3.AddSpotContractApplyReq": {
  10469. "type": "object",
  10470. "required": [
  10471. "accountid",
  10472. "areauserid",
  10473. "contractno",
  10474. "contracttype",
  10475. "customeraccountid",
  10476. "customeruserid",
  10477. "details",
  10478. "orimargin",
  10479. "signdate"
  10480. ],
  10481. "properties": {
  10482. "accountid": {
  10483. "description": "资金账户ID",
  10484. "type": "integer"
  10485. },
  10486. "areauserid": {
  10487. "description": "所属机构",
  10488. "type": "integer"
  10489. },
  10490. "contractattachment": {
  10491. "description": "合同附件",
  10492. "type": "string"
  10493. },
  10494. "contractno": {
  10495. "description": "现货合同编号",
  10496. "type": "string"
  10497. },
  10498. "contracttype": {
  10499. "description": "现货合同类型 - 1:采购 -1:销售",
  10500. "type": "integer"
  10501. },
  10502. "creatorid": {
  10503. "description": "申请人",
  10504. "type": "integer"
  10505. },
  10506. "customeraccountid": {
  10507. "description": "客户资金账户ID",
  10508. "type": "integer"
  10509. },
  10510. "customeruserid": {
  10511. "description": "客户ID",
  10512. "type": "integer"
  10513. },
  10514. "details": {
  10515. "description": "明细",
  10516. "type": "array",
  10517. "items": {
  10518. "$ref": "#/definitions/erms3.SoptContractDetail"
  10519. }
  10520. },
  10521. "orimargin": {
  10522. "description": "初始保证金",
  10523. "type": "number"
  10524. },
  10525. "remark": {
  10526. "description": "备注",
  10527. "type": "string"
  10528. },
  10529. "signdate": {
  10530. "description": "签订日期",
  10531. "type": "string"
  10532. }
  10533. }
  10534. },
  10535. "erms3.AddSpotContractApplyRsp": {
  10536. "type": "object",
  10537. "required": [
  10538. "contractno"
  10539. ],
  10540. "properties": {
  10541. "contractno": {
  10542. "description": "现货合同编号",
  10543. "type": "string"
  10544. },
  10545. "spotcontractid": {
  10546. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10547. "type": "integer"
  10548. }
  10549. }
  10550. },
  10551. "erms3.AddUserInfoApplyReq": {
  10552. "type": "object",
  10553. "required": [
  10554. "userid"
  10555. ],
  10556. "properties": {
  10557. "accountid": {
  10558. "description": "交易系统帐号Id (加密存储)",
  10559. "type": "integer"
  10560. },
  10561. "areacode": {
  10562. "description": "机构代码",
  10563. "type": "string"
  10564. },
  10565. "areaid": {
  10566. "description": "机构Id",
  10567. "type": "integer"
  10568. },
  10569. "attachment1": {
  10570. "description": "附件1",
  10571. "type": "string"
  10572. },
  10573. "attachment2": {
  10574. "description": "附件2",
  10575. "type": "string"
  10576. },
  10577. "attachment3": {
  10578. "description": "附件3",
  10579. "type": "string"
  10580. },
  10581. "attachment4": {
  10582. "description": "附件4",
  10583. "type": "string"
  10584. },
  10585. "attachment5": {
  10586. "description": "附件5",
  10587. "type": "string"
  10588. },
  10589. "auditedby": {
  10590. "description": "审核人",
  10591. "type": "string"
  10592. },
  10593. "auditime": {
  10594. "description": "审核时间",
  10595. "type": "string"
  10596. },
  10597. "bankaccount": {
  10598. "description": "银行帐号 (加密存储)",
  10599. "type": "string"
  10600. },
  10601. "bankaccountname": {
  10602. "description": "收款人名称",
  10603. "type": "string"
  10604. },
  10605. "bankcardbackphotourl": {
  10606. "description": "银行卡背面照地址",
  10607. "type": "string"
  10608. },
  10609. "bankcardfrontphotourl": {
  10610. "description": "银行卡正面照地址",
  10611. "type": "string"
  10612. },
  10613. "bankid": {
  10614. "description": "银行编码",
  10615. "type": "string"
  10616. },
  10617. "bankname": {
  10618. "description": "银行名称",
  10619. "type": "string"
  10620. },
  10621. "bankpictureurl": {
  10622. "description": "银行卡正面地址",
  10623. "type": "string"
  10624. },
  10625. "biznature": {
  10626. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10627. "type": "integer"
  10628. },
  10629. "bizscope": {
  10630. "description": "企业经营范围(企业)",
  10631. "type": "string"
  10632. },
  10633. "biztype": {
  10634. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10635. "type": "integer"
  10636. },
  10637. "brokerid": {
  10638. "description": "经纪人ID(加密存储)",
  10639. "type": "string"
  10640. },
  10641. "cardaddress": {
  10642. "description": "证件地址 (加密存储)",
  10643. "type": "string"
  10644. },
  10645. "cardbackphotourl": {
  10646. "description": "背面证件照地址",
  10647. "type": "string"
  10648. },
  10649. "cardfrontphotourl": {
  10650. "description": "正面证件照地址",
  10651. "type": "string"
  10652. },
  10653. "cardnum": {
  10654. "description": "证件号码 (加密存储)",
  10655. "type": "string"
  10656. },
  10657. "cardtype": {
  10658. "description": "证件类型",
  10659. "type": "integer"
  10660. },
  10661. "cityid": {
  10662. "description": "市",
  10663. "type": "integer"
  10664. },
  10665. "company": {
  10666. "description": "公司(个人)",
  10667. "type": "string"
  10668. },
  10669. "contactcardbackphotourl": {
  10670. "description": "联系人证件背面图片地址",
  10671. "type": "string"
  10672. },
  10673. "contactcardfrontphotourl": {
  10674. "description": "联系人证件正面图片地址",
  10675. "type": "string"
  10676. },
  10677. "contactname": {
  10678. "description": "联系人",
  10679. "type": "string"
  10680. },
  10681. "countryid": {
  10682. "description": "国家",
  10683. "type": "integer"
  10684. },
  10685. "createtime": {
  10686. "description": "开户申请时间",
  10687. "type": "string"
  10688. },
  10689. "cusbankid": {
  10690. "description": "签约类型",
  10691. "type": "string"
  10692. },
  10693. "cusbankname": {
  10694. "description": "签约类型名称",
  10695. "type": "string"
  10696. },
  10697. "customername": {
  10698. "description": "客户名称(企业名称)",
  10699. "type": "string"
  10700. },
  10701. "districtid": {
  10702. "description": "地区",
  10703. "type": "integer"
  10704. },
  10705. "email": {
  10706. "description": "Email地址(加密存储)",
  10707. "type": "string"
  10708. },
  10709. "halfbodyphotourl": {
  10710. "description": "半身照地址",
  10711. "type": "string"
  10712. },
  10713. "headurl": {
  10714. "description": "头像地址",
  10715. "type": "string"
  10716. },
  10717. "ipaddress": {
  10718. "description": "IP地址",
  10719. "type": "string"
  10720. },
  10721. "isvalidate": {
  10722. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10723. "type": "string"
  10724. },
  10725. "legalcardbackphotourl": {
  10726. "description": "法人身份证背面照地址",
  10727. "type": "string"
  10728. },
  10729. "legalcardfrontphotourl": {
  10730. "description": "法人身份证正面照地址",
  10731. "type": "string"
  10732. },
  10733. "legalpersonname": {
  10734. "description": "法人姓名(企业)",
  10735. "type": "string"
  10736. },
  10737. "logincode": {
  10738. "description": "登录帐号 (加密存储)",
  10739. "type": "string"
  10740. },
  10741. "memberareaid": {
  10742. "description": "所属会员ID",
  10743. "type": "integer"
  10744. },
  10745. "mobile2": {
  10746. "description": "手机号码[明文-尚志]",
  10747. "type": "string"
  10748. },
  10749. "mobilephone": {
  10750. "description": "手机号码 (加密存储)",
  10751. "type": "string"
  10752. },
  10753. "modifiedby": {
  10754. "description": "修改人帐号",
  10755. "type": "integer"
  10756. },
  10757. "modifiedtime": {
  10758. "description": "修改时间",
  10759. "type": "string"
  10760. },
  10761. "nickname": {
  10762. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10763. "type": "string"
  10764. },
  10765. "openmode": {
  10766. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10767. "type": "integer"
  10768. },
  10769. "otherurl": {
  10770. "description": "其它图片地址[使用分号分隔]",
  10771. "type": "string"
  10772. },
  10773. "postalcode": {
  10774. "description": "邮政编码",
  10775. "type": "string"
  10776. },
  10777. "provinceid": {
  10778. "description": "省",
  10779. "type": "integer"
  10780. },
  10781. "proxystatementurl": {
  10782. "description": "授权委托书",
  10783. "type": "string"
  10784. },
  10785. "qq": {
  10786. "description": "QQ(加密存储",
  10787. "type": "string"
  10788. },
  10789. "referral": {
  10790. "description": "推荐人编码",
  10791. "type": "string"
  10792. },
  10793. "remark": {
  10794. "description": "备注",
  10795. "type": "string"
  10796. },
  10797. "removebeforestatus": {
  10798. "description": "REMOVEBEFORESTATUS",
  10799. "type": "integer"
  10800. },
  10801. "sex": {
  10802. "description": "性别 - 0:女 1:男",
  10803. "type": "integer"
  10804. },
  10805. "signedstatus": {
  10806. "description": "账户一号签签约状态",
  10807. "type": "integer"
  10808. },
  10809. "signpdfurl": {
  10810. "description": "签约pdf文件",
  10811. "type": "string"
  10812. },
  10813. "subbranch": {
  10814. "description": "开户支行",
  10815. "type": "string"
  10816. },
  10817. "telphone": {
  10818. "description": "联系电话(加密存储)",
  10819. "type": "string"
  10820. },
  10821. "userid": {
  10822. "description": "用户ID(自增ID)",
  10823. "type": "integer"
  10824. },
  10825. "userinfotype": {
  10826. "description": "用户信息类型 - 1:个人 2:企业",
  10827. "type": "integer"
  10828. },
  10829. "username": {
  10830. "description": "用户姓名",
  10831. "type": "string"
  10832. },
  10833. "userstate": {
  10834. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10835. "type": "integer"
  10836. },
  10837. "usertype": {
  10838. "description": "用户类型 - 1:投资者 2:机构",
  10839. "type": "integer"
  10840. },
  10841. "videourl": {
  10842. "description": "视频地址",
  10843. "type": "string"
  10844. },
  10845. "wechat": {
  10846. "description": "微信号 (加密存储)",
  10847. "type": "string"
  10848. }
  10849. }
  10850. },
  10851. "erms3.CustomerInfo": {
  10852. "type": "object",
  10853. "required": [
  10854. "userid"
  10855. ],
  10856. "properties": {
  10857. "accountids": {
  10858. "description": "资金账户ID列表",
  10859. "type": "array",
  10860. "items": {
  10861. "type": "integer"
  10862. }
  10863. },
  10864. "customername": {
  10865. "description": "名称(企业名称)",
  10866. "type": "string"
  10867. },
  10868. "mobile": {
  10869. "description": "手机号码",
  10870. "type": "string"
  10871. },
  10872. "userid": {
  10873. "description": "用户ID",
  10874. "type": "integer"
  10875. }
  10876. }
  10877. },
  10878. "erms3.ModifyUserInfoApplyReq": {
  10879. "type": "object",
  10880. "required": [
  10881. "userid"
  10882. ],
  10883. "properties": {
  10884. "accountid": {
  10885. "description": "交易系统帐号Id (加密存储)",
  10886. "type": "integer"
  10887. },
  10888. "areacode": {
  10889. "description": "机构代码",
  10890. "type": "string"
  10891. },
  10892. "areaid": {
  10893. "description": "机构Id",
  10894. "type": "integer"
  10895. },
  10896. "attachment1": {
  10897. "description": "附件1",
  10898. "type": "string"
  10899. },
  10900. "attachment2": {
  10901. "description": "附件2",
  10902. "type": "string"
  10903. },
  10904. "attachment3": {
  10905. "description": "附件3",
  10906. "type": "string"
  10907. },
  10908. "attachment4": {
  10909. "description": "附件4",
  10910. "type": "string"
  10911. },
  10912. "attachment5": {
  10913. "description": "附件5",
  10914. "type": "string"
  10915. },
  10916. "auditedby": {
  10917. "description": "审核人",
  10918. "type": "string"
  10919. },
  10920. "auditime": {
  10921. "description": "审核时间",
  10922. "type": "string"
  10923. },
  10924. "bankaccount": {
  10925. "description": "银行帐号 (加密存储)",
  10926. "type": "string"
  10927. },
  10928. "bankaccountname": {
  10929. "description": "收款人名称",
  10930. "type": "string"
  10931. },
  10932. "bankcardbackphotourl": {
  10933. "description": "银行卡背面照地址",
  10934. "type": "string"
  10935. },
  10936. "bankcardfrontphotourl": {
  10937. "description": "银行卡正面照地址",
  10938. "type": "string"
  10939. },
  10940. "bankid": {
  10941. "description": "银行编码",
  10942. "type": "string"
  10943. },
  10944. "bankname": {
  10945. "description": "银行名称",
  10946. "type": "string"
  10947. },
  10948. "bankpictureurl": {
  10949. "description": "银行卡正面地址",
  10950. "type": "string"
  10951. },
  10952. "biznature": {
  10953. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10954. "type": "integer"
  10955. },
  10956. "bizscope": {
  10957. "description": "企业经营范围(企业)",
  10958. "type": "string"
  10959. },
  10960. "biztype": {
  10961. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10962. "type": "integer"
  10963. },
  10964. "brokerid": {
  10965. "description": "经纪人ID(加密存储)",
  10966. "type": "string"
  10967. },
  10968. "cardaddress": {
  10969. "description": "证件地址 (加密存储)",
  10970. "type": "string"
  10971. },
  10972. "cardbackphotourl": {
  10973. "description": "背面证件照地址",
  10974. "type": "string"
  10975. },
  10976. "cardfrontphotourl": {
  10977. "description": "正面证件照地址",
  10978. "type": "string"
  10979. },
  10980. "cardnum": {
  10981. "description": "证件号码 (加密存储)",
  10982. "type": "string"
  10983. },
  10984. "cardtype": {
  10985. "description": "证件类型",
  10986. "type": "integer"
  10987. },
  10988. "cityid": {
  10989. "description": "市",
  10990. "type": "integer"
  10991. },
  10992. "company": {
  10993. "description": "公司(个人)",
  10994. "type": "string"
  10995. },
  10996. "contactcardbackphotourl": {
  10997. "description": "联系人证件背面图片地址",
  10998. "type": "string"
  10999. },
  11000. "contactcardfrontphotourl": {
  11001. "description": "联系人证件正面图片地址",
  11002. "type": "string"
  11003. },
  11004. "contactname": {
  11005. "description": "联系人",
  11006. "type": "string"
  11007. },
  11008. "countryid": {
  11009. "description": "国家",
  11010. "type": "integer"
  11011. },
  11012. "createtime": {
  11013. "description": "开户申请时间",
  11014. "type": "string"
  11015. },
  11016. "cusbankid": {
  11017. "description": "签约类型",
  11018. "type": "string"
  11019. },
  11020. "cusbankname": {
  11021. "description": "签约类型名称",
  11022. "type": "string"
  11023. },
  11024. "customername": {
  11025. "description": "客户名称(企业名称)",
  11026. "type": "string"
  11027. },
  11028. "districtid": {
  11029. "description": "地区",
  11030. "type": "integer"
  11031. },
  11032. "email": {
  11033. "description": "Email地址(加密存储)",
  11034. "type": "string"
  11035. },
  11036. "halfbodyphotourl": {
  11037. "description": "半身照地址",
  11038. "type": "string"
  11039. },
  11040. "headurl": {
  11041. "description": "头像地址",
  11042. "type": "string"
  11043. },
  11044. "ipaddress": {
  11045. "description": "IP地址",
  11046. "type": "string"
  11047. },
  11048. "isvalidate": {
  11049. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11050. "type": "string"
  11051. },
  11052. "legalcardbackphotourl": {
  11053. "description": "法人身份证背面照地址",
  11054. "type": "string"
  11055. },
  11056. "legalcardfrontphotourl": {
  11057. "description": "法人身份证正面照地址",
  11058. "type": "string"
  11059. },
  11060. "legalpersonname": {
  11061. "description": "法人姓名(企业)",
  11062. "type": "string"
  11063. },
  11064. "logincode": {
  11065. "description": "登录帐号 (加密存储)",
  11066. "type": "string"
  11067. },
  11068. "memberareaid": {
  11069. "description": "所属会员ID",
  11070. "type": "integer"
  11071. },
  11072. "mobile2": {
  11073. "description": "手机号码[明文-尚志]",
  11074. "type": "string"
  11075. },
  11076. "mobilephone": {
  11077. "description": "手机号码 (加密存储)",
  11078. "type": "string"
  11079. },
  11080. "modifiedby": {
  11081. "description": "修改人帐号",
  11082. "type": "integer"
  11083. },
  11084. "modifiedtime": {
  11085. "description": "修改时间",
  11086. "type": "string"
  11087. },
  11088. "nickname": {
  11089. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11090. "type": "string"
  11091. },
  11092. "openmode": {
  11093. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11094. "type": "integer"
  11095. },
  11096. "otherurl": {
  11097. "description": "其它图片地址[使用分号分隔]",
  11098. "type": "string"
  11099. },
  11100. "postalcode": {
  11101. "description": "邮政编码",
  11102. "type": "string"
  11103. },
  11104. "provinceid": {
  11105. "description": "省",
  11106. "type": "integer"
  11107. },
  11108. "proxystatementurl": {
  11109. "description": "授权委托书",
  11110. "type": "string"
  11111. },
  11112. "qq": {
  11113. "description": "QQ(加密存储",
  11114. "type": "string"
  11115. },
  11116. "referral": {
  11117. "description": "推荐人编码",
  11118. "type": "string"
  11119. },
  11120. "remark": {
  11121. "description": "备注",
  11122. "type": "string"
  11123. },
  11124. "removebeforestatus": {
  11125. "description": "REMOVEBEFORESTATUS",
  11126. "type": "integer"
  11127. },
  11128. "sex": {
  11129. "description": "性别 - 0:女 1:男",
  11130. "type": "integer"
  11131. },
  11132. "signedstatus": {
  11133. "description": "账户一号签签约状态",
  11134. "type": "integer"
  11135. },
  11136. "signpdfurl": {
  11137. "description": "签约pdf文件",
  11138. "type": "string"
  11139. },
  11140. "subbranch": {
  11141. "description": "开户支行",
  11142. "type": "string"
  11143. },
  11144. "telphone": {
  11145. "description": "联系电话(加密存储)",
  11146. "type": "string"
  11147. },
  11148. "userid": {
  11149. "description": "用户ID(自增ID)",
  11150. "type": "integer"
  11151. },
  11152. "userinfotype": {
  11153. "description": "用户信息类型 - 1:个人 2:企业",
  11154. "type": "integer"
  11155. },
  11156. "username": {
  11157. "description": "用户姓名",
  11158. "type": "string"
  11159. },
  11160. "userstate": {
  11161. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11162. "type": "integer"
  11163. },
  11164. "usertype": {
  11165. "description": "用户类型 - 1:投资者 2:机构",
  11166. "type": "integer"
  11167. },
  11168. "videourl": {
  11169. "description": "视频地址",
  11170. "type": "string"
  11171. },
  11172. "wechat": {
  11173. "description": "微信号 (加密存储)",
  11174. "type": "string"
  11175. }
  11176. }
  11177. },
  11178. "erms3.QryAuditContractRsp": {
  11179. "type": "object",
  11180. "required": [
  11181. "matchcustomername",
  11182. "spotcontractid"
  11183. ],
  11184. "properties": {
  11185. "accountid": {
  11186. "description": "交易员ID",
  11187. "type": "string"
  11188. },
  11189. "applystatus": {
  11190. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11191. "type": "integer"
  11192. },
  11193. "curdeliveryqty": {
  11194. "description": "未交收量",
  11195. "type": "integer"
  11196. },
  11197. "customername": {
  11198. "description": "采购方ID",
  11199. "type": "string"
  11200. },
  11201. "deliverygoodsid": {
  11202. "description": "品种ID",
  11203. "type": "string"
  11204. },
  11205. "deliveryqty": {
  11206. "description": "交收量",
  11207. "type": "integer"
  11208. },
  11209. "enumdicname": {
  11210. "description": "单位名称",
  11211. "type": "string"
  11212. },
  11213. "matchaccountid": {
  11214. "description": "业务员ID",
  11215. "type": "string"
  11216. },
  11217. "matchcustomername": {
  11218. "description": "销售方ID",
  11219. "type": "string"
  11220. },
  11221. "pricedqty": {
  11222. "description": "定价量",
  11223. "type": "number"
  11224. },
  11225. "signdate": {
  11226. "description": "签订日期",
  11227. "type": "string"
  11228. },
  11229. "spotcontractid": {
  11230. "description": "合同ID",
  11231. "type": "string"
  11232. },
  11233. "totaldqty": {
  11234. "description": "合同量",
  11235. "type": "number"
  11236. },
  11237. "unpricedqty": {
  11238. "description": "未定价量",
  11239. "type": "number"
  11240. },
  11241. "wrstandardname": {
  11242. "description": "商品名称",
  11243. "type": "string"
  11244. }
  11245. }
  11246. },
  11247. "erms3.QryPendingBizRsp": {
  11248. "type": "object",
  11249. "properties": {
  11250. "accountid": {
  11251. "description": "现货账户",
  11252. "type": "string"
  11253. },
  11254. "areaname": {
  11255. "description": "所属部门",
  11256. "type": "string"
  11257. },
  11258. "bizid": {
  11259. "description": "业务ID",
  11260. "type": "string"
  11261. },
  11262. "bizname": {
  11263. "description": "业务名称",
  11264. "type": "string"
  11265. },
  11266. "status": {
  11267. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11268. "type": "integer"
  11269. },
  11270. "type": {
  11271. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11272. "type": "integer"
  11273. }
  11274. }
  11275. },
  11276. "erms3.QueryBusinessInfoRsp": {
  11277. "type": "object",
  11278. "properties": {
  11279. "businessid": {
  11280. "description": "业务ID.",
  11281. "type": "integer"
  11282. },
  11283. "buyamount": {
  11284. "description": "采购额.",
  11285. "type": "number"
  11286. },
  11287. "buyqty": {
  11288. "description": "采购量.",
  11289. "type": "string"
  11290. },
  11291. "futurepl": {
  11292. "description": "期货盈亏.",
  11293. "type": "number"
  11294. },
  11295. "futureqty": {
  11296. "description": "期货敞口.",
  11297. "type": "string"
  11298. },
  11299. "goodsid": {
  11300. "description": "商品名称/商品代码.",
  11301. "type": "string"
  11302. },
  11303. "hedgingqty": {
  11304. "description": "套保量.",
  11305. "type": "string"
  11306. },
  11307. "sellamount": {
  11308. "description": "销售额.",
  11309. "type": "number"
  11310. },
  11311. "sellqty": {
  11312. "description": "销售量.",
  11313. "type": "string"
  11314. },
  11315. "spotmarketvalue": {
  11316. "description": "现货市值.",
  11317. "type": "number"
  11318. },
  11319. "spotpl": {
  11320. "description": "浮动权益.",
  11321. "type": "number"
  11322. },
  11323. "spotqty": {
  11324. "description": "现货量.",
  11325. "type": "string"
  11326. },
  11327. "statu": {
  11328. "description": "状态,0-未结束 1-已结束.",
  11329. "type": "integer"
  11330. },
  11331. "totalpl": {
  11332. "description": "总盈亏.",
  11333. "type": "number"
  11334. },
  11335. "totalqty": {
  11336. "description": "总敞口.",
  11337. "type": "string"
  11338. },
  11339. "type": {
  11340. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11341. "type": "integer"
  11342. }
  11343. }
  11344. },
  11345. "erms3.QuerySpotContractAppleFormRsp": {
  11346. "type": "object",
  11347. "properties": {
  11348. "goodses": {
  11349. "description": "合约列表",
  11350. "type": "array",
  11351. "items": {
  11352. "$ref": "#/definitions/models.GoodsIDAndName"
  11353. }
  11354. },
  11355. "oppositeusers": {
  11356. "description": "对方账号列表",
  11357. "type": "array",
  11358. "items": {
  11359. "$ref": "#/definitions/erms3.CustomerInfo"
  11360. }
  11361. },
  11362. "ouruser": {
  11363. "description": "我方账号",
  11364. "$ref": "#/definitions/erms3.CustomerInfo"
  11365. },
  11366. "warehouseinfos": {
  11367. "description": "仓库信息列表",
  11368. "type": "array",
  11369. "items": {
  11370. "$ref": "#/definitions/models.Warehouseinfo"
  11371. }
  11372. },
  11373. "wrstandards": {
  11374. "description": "仓单标准列表",
  11375. "type": "array",
  11376. "items": {
  11377. "$ref": "#/definitions/models.WRStandardInfo"
  11378. }
  11379. }
  11380. }
  11381. },
  11382. "erms3.QuerySpotContractInfoRsp": {
  11383. "type": "object",
  11384. "properties": {
  11385. "accountid": {
  11386. "description": "表示交易员ID.",
  11387. "type": "integer"
  11388. },
  11389. "curdeliveryqty": {
  11390. "description": "表示未交收量.",
  11391. "type": "number"
  11392. },
  11393. "customername": {
  11394. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11395. "type": "string"
  11396. },
  11397. "deliverygoodsid": {
  11398. "description": "表示品种ID.",
  11399. "type": "string"
  11400. },
  11401. "deliveryqty": {
  11402. "description": "表示交收量.",
  11403. "type": "number"
  11404. },
  11405. "matchaccountid": {
  11406. "description": "表示业务员ID.",
  11407. "type": "integer"
  11408. },
  11409. "matchcustomername": {
  11410. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11411. "type": "string"
  11412. },
  11413. "priceqty": {
  11414. "description": "表示定价量.",
  11415. "type": "number"
  11416. },
  11417. "relatedbizid": {
  11418. "description": "表示业务ID.",
  11419. "type": "string"
  11420. },
  11421. "signdate": {
  11422. "description": "表示签订日期.",
  11423. "type": "string"
  11424. },
  11425. "spotcontractid": {
  11426. "description": "合同ID",
  11427. "type": "string"
  11428. },
  11429. "status": {
  11430. "description": "表示状态,0-履约中 1-已完成.",
  11431. "type": "integer"
  11432. },
  11433. "totalqty": {
  11434. "description": "表示合同量.",
  11435. "type": "number"
  11436. },
  11437. "unpricedqty": {
  11438. "description": "表示未定价量.",
  11439. "type": "number"
  11440. },
  11441. "wrstandardname": {
  11442. "description": "表示商品ID.",
  11443. "type": "string"
  11444. }
  11445. }
  11446. },
  11447. "erms3.QueryUserInfoAppliesRsp": {
  11448. "type": "object",
  11449. "required": [
  11450. "userid"
  11451. ],
  11452. "properties": {
  11453. "biznature": {
  11454. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11455. "type": "integer"
  11456. },
  11457. "contactname": {
  11458. "description": "联系人",
  11459. "type": "string"
  11460. },
  11461. "createtime": {
  11462. "description": "开户申请时间",
  11463. "type": "string"
  11464. },
  11465. "userid": {
  11466. "description": "用户ID(自增ID)",
  11467. "type": "integer"
  11468. },
  11469. "userinfotype": {
  11470. "description": "用户信息类型 - 1:个人 2:企业",
  11471. "type": "integer"
  11472. },
  11473. "username": {
  11474. "description": "用户姓名",
  11475. "type": "string"
  11476. },
  11477. "userstate": {
  11478. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11479. "type": "integer"
  11480. }
  11481. }
  11482. },
  11483. "erms3.QueryUserInfosRsp": {
  11484. "type": "object",
  11485. "required": [
  11486. "userid"
  11487. ],
  11488. "properties": {
  11489. "biznature": {
  11490. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11491. "type": "integer"
  11492. },
  11493. "contactname": {
  11494. "description": "联系人",
  11495. "type": "string"
  11496. },
  11497. "customername": {
  11498. "description": "客户名称(企业名称)",
  11499. "type": "string"
  11500. },
  11501. "userid": {
  11502. "description": "用户ID",
  11503. "type": "integer"
  11504. },
  11505. "userinfotype": {
  11506. "description": "用户信息类型 - 1:个人 2:企业",
  11507. "type": "integer"
  11508. },
  11509. "userstatus": {
  11510. "description": "用户状态 - 1:正常 2:注销",
  11511. "type": "integer"
  11512. }
  11513. }
  11514. },
  11515. "erms3.SoptContractDetail": {
  11516. "type": "object",
  11517. "required": [
  11518. "deliverygoodsid",
  11519. "producttype",
  11520. "unitname",
  11521. "warehouseid",
  11522. "wrstandardid",
  11523. "wrstandardname"
  11524. ],
  11525. "properties": {
  11526. "deliverygoodsdesc": {
  11527. "description": "现货品种说明",
  11528. "type": "string"
  11529. },
  11530. "deliverygoodsid": {
  11531. "description": "现货品种ID",
  11532. "type": "integer"
  11533. },
  11534. "deliverygoodsname": {
  11535. "description": "现货品种名称",
  11536. "type": "string"
  11537. },
  11538. "pointdesc": {
  11539. "description": "点价描述",
  11540. "type": "string"
  11541. },
  11542. "producttype": {
  11543. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11544. "type": "integer"
  11545. },
  11546. "producttypename": {
  11547. "description": "产品类型名称",
  11548. "type": "string"
  11549. },
  11550. "spotPointOrderVoList": {
  11551. "description": "点价列表",
  11552. "type": "array",
  11553. "items": {
  11554. "$ref": "#/definitions/erms3.SpotPointOrder"
  11555. }
  11556. },
  11557. "spotPriceOrderList": {
  11558. "description": "定价列表",
  11559. "type": "array",
  11560. "items": {
  11561. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11562. }
  11563. },
  11564. "unitname": {
  11565. "description": "单位名称",
  11566. "type": "string"
  11567. },
  11568. "warehouseid": {
  11569. "description": "仓库ID",
  11570. "type": "integer"
  11571. },
  11572. "warehousename": {
  11573. "description": "仓库名称",
  11574. "type": "string"
  11575. },
  11576. "wrstandardid": {
  11577. "description": "交易标的ID",
  11578. "type": "integer"
  11579. },
  11580. "wrstandardname": {
  11581. "description": "交易标的名称",
  11582. "type": "string"
  11583. }
  11584. }
  11585. },
  11586. "erms3.SpotPointOrder": {
  11587. "type": "object",
  11588. "required": [
  11589. "basic",
  11590. "goodsid",
  11591. "qty"
  11592. ],
  11593. "properties": {
  11594. "basic": {
  11595. "description": "基差",
  11596. "type": "number"
  11597. },
  11598. "deliveryenddate": {
  11599. "description": "交收结束日期",
  11600. "type": "string"
  11601. },
  11602. "deliverystartdate": {
  11603. "description": "交收开始日期",
  11604. "type": "string"
  11605. },
  11606. "enddate": {
  11607. "description": "点价结束日期",
  11608. "type": "string"
  11609. },
  11610. "goodsid": {
  11611. "description": "商品ID",
  11612. "type": "integer"
  11613. },
  11614. "goodsname": {
  11615. "description": "商品名称",
  11616. "type": "string"
  11617. },
  11618. "qty": {
  11619. "description": "数量",
  11620. "type": "number"
  11621. },
  11622. "startdate": {
  11623. "description": "点价开始日期",
  11624. "type": "string"
  11625. }
  11626. }
  11627. },
  11628. "erms3.SpotPriceOrder": {
  11629. "type": "object",
  11630. "required": [
  11631. "amount",
  11632. "price",
  11633. "qty"
  11634. ],
  11635. "properties": {
  11636. "amount": {
  11637. "description": "金额",
  11638. "type": "number"
  11639. },
  11640. "deliveryenddate": {
  11641. "description": "交收结束日期",
  11642. "type": "string"
  11643. },
  11644. "deliverystartdate": {
  11645. "description": "交收开始日期",
  11646. "type": "string"
  11647. },
  11648. "price": {
  11649. "description": "价格",
  11650. "type": "number"
  11651. },
  11652. "qty": {
  11653. "description": "数量",
  11654. "type": "number"
  11655. }
  11656. }
  11657. },
  11658. "hsby.GetHsbyMyCountRsp": {
  11659. "type": "object",
  11660. "properties": {
  11661. "myCouponCount": {
  11662. "description": "我的优惠卷数量",
  11663. "type": "integer"
  11664. },
  11665. "myOrderDetailListingCount": {
  11666. "description": "我的订单求购中数量",
  11667. "type": "integer"
  11668. },
  11669. "myOrderDetailPreCount": {
  11670. "description": "我的订单抢购中数量",
  11671. "type": "integer"
  11672. },
  11673. "myPackageUnReceiveCount": {
  11674. "description": "我的包裹待收货数量",
  11675. "type": "integer"
  11676. },
  11677. "myPackageUnSendCount": {
  11678. "description": "我的包裹待发货数量",
  11679. "type": "integer"
  11680. },
  11681. "myPayOrderCount": {
  11682. "description": "我的订单待付款数量",
  11683. "type": "integer"
  11684. }
  11685. }
  11686. },
  11687. "hsby.QueryProvincesAndCitiesRsp": {
  11688. "type": "object",
  11689. "properties": {
  11690. "cities": {
  11691. "description": "市",
  11692. "type": "array",
  11693. "items": {
  11694. "$ref": "#/definitions/models.Division"
  11695. }
  11696. },
  11697. "province": {
  11698. "description": "省",
  11699. "$ref": "#/definitions/models.Division"
  11700. }
  11701. }
  11702. },
  11703. "models.Clientfixedadconfig": {
  11704. "type": "object",
  11705. "required": [
  11706. "adsort",
  11707. "adtype"
  11708. ],
  11709. "properties": {
  11710. "adsort": {
  11711. "description": "排序",
  11712. "type": "integer"
  11713. },
  11714. "adtype": {
  11715. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11716. "type": "integer"
  11717. },
  11718. "areauserid": {
  11719. "description": "所属机构ID",
  11720. "type": "integer"
  11721. },
  11722. "createdate": {
  11723. "description": "创建时间",
  11724. "type": "string"
  11725. },
  11726. "creatorid": {
  11727. "description": "创建人",
  11728. "type": "integer"
  11729. },
  11730. "imagepath": {
  11731. "description": "图片",
  11732. "type": "string"
  11733. },
  11734. "isshow": {
  11735. "description": "是否展示 - 0:不展示 1:展示",
  11736. "type": "integer"
  11737. },
  11738. "modifierid": {
  11739. "description": "操作人",
  11740. "type": "integer"
  11741. },
  11742. "recsize": {
  11743. "description": "推荐尺寸",
  11744. "type": "string"
  11745. },
  11746. "title": {
  11747. "description": "标题",
  11748. "type": "string"
  11749. },
  11750. "updatedate": {
  11751. "description": "更新时间",
  11752. "type": "string"
  11753. },
  11754. "urlcontent": {
  11755. "description": "链接(地址或商品ID)",
  11756. "type": "string"
  11757. },
  11758. "urltype": {
  11759. "description": "链接类型 - 1:直接地址 2:商品ID",
  11760. "type": "integer"
  11761. }
  11762. }
  11763. },
  11764. "models.Division": {
  11765. "type": "object",
  11766. "required": [
  11767. "autoid",
  11768. "divisioncode"
  11769. ],
  11770. "properties": {
  11771. "autoid": {
  11772. "description": "自增ID",
  11773. "type": "integer"
  11774. },
  11775. "divisioncode": {
  11776. "description": "行政代码",
  11777. "type": "string"
  11778. },
  11779. "divisionlevel": {
  11780. "description": "行政级别",
  11781. "type": "string"
  11782. },
  11783. "divisionname": {
  11784. "description": "行政名称",
  11785. "type": "string"
  11786. },
  11787. "modifierid": {
  11788. "description": "修改人",
  11789. "type": "integer"
  11790. },
  11791. "modifytime": {
  11792. "description": "修改时间",
  11793. "type": "string"
  11794. },
  11795. "parentcode": {
  11796. "description": "上级行政代码",
  11797. "type": "string"
  11798. },
  11799. "pathname": {
  11800. "description": "路径名称",
  11801. "type": "string"
  11802. },
  11803. "postcode": {
  11804. "description": "邮政编码",
  11805. "type": "string"
  11806. },
  11807. "separablename": {
  11808. "description": "可拆分的全称",
  11809. "type": "string"
  11810. },
  11811. "shortcode": {
  11812. "description": "地区简码",
  11813. "type": "string"
  11814. }
  11815. }
  11816. },
  11817. "models.Enumdicitem": {
  11818. "type": "object",
  11819. "required": [
  11820. "autoid",
  11821. "enumdiccode",
  11822. "enumdicid",
  11823. "enumitemname"
  11824. ],
  11825. "properties": {
  11826. "autoid": {
  11827. "description": "自增ID",
  11828. "type": "integer"
  11829. },
  11830. "bankmappedvalue": {
  11831. "description": "银行服务对应值",
  11832. "type": "string"
  11833. },
  11834. "enumdiccode": {
  11835. "description": "所属枚举代码",
  11836. "type": "string"
  11837. },
  11838. "enumdicid": {
  11839. "description": "所属枚举ID",
  11840. "type": "integer"
  11841. },
  11842. "enumdicname": {
  11843. "description": "枚举项名称",
  11844. "type": "string"
  11845. },
  11846. "enumitemname": {
  11847. "description": "枚举项值",
  11848. "type": "integer"
  11849. },
  11850. "enumitemstatus": {
  11851. "description": "枚举项状态 - 1.启用 2.不启用",
  11852. "type": "integer"
  11853. },
  11854. "enumitemvalue": {
  11855. "description": "通用值 - [币种通用简写]",
  11856. "type": "string"
  11857. },
  11858. "param1": {
  11859. "description": "参数1[币种:币种小数位]",
  11860. "type": "string"
  11861. },
  11862. "param2": {
  11863. "description": "参数1[币种:币种显示单位]",
  11864. "type": "string"
  11865. },
  11866. "remark": {
  11867. "description": "备注",
  11868. "type": "string"
  11869. }
  11870. }
  11871. },
  11872. "models.ErmcpHisExposure": {
  11873. "type": "object",
  11874. "properties": {
  11875. "needhedgeexposoure": {
  11876. "description": "应套保敞口",
  11877. "type": "number"
  11878. },
  11879. "reckondate": {
  11880. "description": "日照时期(yyyyMMdd)",
  11881. "type": "string"
  11882. },
  11883. "totalexposure": {
  11884. "description": "总敞口",
  11885. "type": "number"
  11886. }
  11887. }
  11888. },
  11889. "models.ErmcpMiddleGoodsModel": {
  11890. "type": "object",
  11891. "properties": {
  11892. "areauserid": {
  11893. "description": "机构用户ID",
  11894. "type": "integer"
  11895. },
  11896. "enumdicname": {
  11897. "description": "单位名称",
  11898. "type": "string"
  11899. },
  11900. "evaluateratio": {
  11901. "description": "估价系数",
  11902. "type": "number"
  11903. },
  11904. "goodsgroupid": {
  11905. "description": "关联期货品种ID",
  11906. "type": "integer"
  11907. },
  11908. "isvalid": {
  11909. "description": "状态 0-无效(停用) 1-有效(正常)",
  11910. "type": "integer"
  11911. },
  11912. "middlegoodscode": {
  11913. "description": "套保品种代码",
  11914. "type": "string"
  11915. },
  11916. "middlegoodsid": {
  11917. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11918. "type": "integer"
  11919. },
  11920. "middlegoodsname": {
  11921. "description": "套保品种名称",
  11922. "type": "string"
  11923. },
  11924. "modifytime": {
  11925. "description": "修改时间",
  11926. "type": "string"
  11927. },
  11928. "needhedgeratio": {
  11929. "description": "套保比率",
  11930. "type": "number"
  11931. },
  11932. "qtydecimalplace": {
  11933. "description": "数量小数位",
  11934. "type": "integer"
  11935. },
  11936. "relatedgoodsid": {
  11937. "description": "关联交易商品ID",
  11938. "type": "integer"
  11939. },
  11940. "relatedgoodstype": {
  11941. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11942. "type": "integer"
  11943. }
  11944. }
  11945. },
  11946. "models.ErmcpReportDayFR": {
  11947. "type": "object",
  11948. "properties": {
  11949. "areauserid": {
  11950. "description": "所属机构",
  11951. "type": "integer"
  11952. },
  11953. "collectinvoiceamount": {
  11954. "description": "今日开票金额",
  11955. "type": "number"
  11956. },
  11957. "collectinvoicecount": {
  11958. "description": "今日开票笔数",
  11959. "type": "integer"
  11960. },
  11961. "collectmoneyamount": {
  11962. "description": "今日收款金额",
  11963. "type": "number"
  11964. },
  11965. "collectmoneycount": {
  11966. "description": "今日收款笔数",
  11967. "type": "integer"
  11968. },
  11969. "payinvoiceamount": {
  11970. "description": "今日收票金额",
  11971. "type": "number"
  11972. },
  11973. "payinvoicecount": {
  11974. "description": "今日收票笔数",
  11975. "type": "integer"
  11976. },
  11977. "paymoneyamount": {
  11978. "description": "今日付款金额",
  11979. "type": "number"
  11980. },
  11981. "paymoneycount": {
  11982. "description": "今日付款笔数",
  11983. "type": "integer"
  11984. },
  11985. "reckondate": {
  11986. "description": "日照时期(yyyyMMdd)",
  11987. "type": "string"
  11988. },
  11989. "updatetime": {
  11990. "description": "更新时间",
  11991. "type": "string"
  11992. }
  11993. }
  11994. },
  11995. "models.ErmcpWrstandard": {
  11996. "type": "object",
  11997. "properties": {
  11998. "areauserid": {
  11999. "description": "所属机构",
  12000. "type": "integer"
  12001. },
  12002. "createtime": {
  12003. "description": "创建时间",
  12004. "type": "string"
  12005. },
  12006. "creatorid": {
  12007. "description": "创建人",
  12008. "type": "integer"
  12009. },
  12010. "deliverygoodsid": {
  12011. "description": "品种ID",
  12012. "type": "integer"
  12013. },
  12014. "enumdicname": {
  12015. "description": "单位名称",
  12016. "type": "string"
  12017. },
  12018. "isvalid": {
  12019. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12020. "type": "integer"
  12021. },
  12022. "minivalue": {
  12023. "description": "最小变动值",
  12024. "type": "integer"
  12025. },
  12026. "minivaluedp": {
  12027. "description": "最小变动值小数位",
  12028. "type": "integer"
  12029. },
  12030. "realminivalue": {
  12031. "description": "实际最小变动值",
  12032. "type": "integer"
  12033. },
  12034. "realminivaluedp": {
  12035. "description": "实际最小变动值小数位",
  12036. "type": "integer"
  12037. },
  12038. "remark": {
  12039. "description": "备注",
  12040. "type": "string"
  12041. },
  12042. "unitid": {
  12043. "description": "单位ID",
  12044. "type": "integer"
  12045. },
  12046. "updatetime": {
  12047. "description": "更新时间",
  12048. "type": "string"
  12049. },
  12050. "wrstandardcode": {
  12051. "description": "现货商品代码",
  12052. "type": "string"
  12053. },
  12054. "wrstandardid": {
  12055. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12056. "type": "integer"
  12057. },
  12058. "wrstandardname": {
  12059. "description": "现货商品名称",
  12060. "type": "string"
  12061. }
  12062. }
  12063. },
  12064. "models.Goods": {
  12065. "type": "object",
  12066. "required": [
  12067. "goodscode",
  12068. "goodsid",
  12069. "goodsname",
  12070. "marketid"
  12071. ],
  12072. "properties": {
  12073. "agreeunit": {
  12074. "description": "合约单位",
  12075. "type": "number"
  12076. },
  12077. "auditaccountid": {
  12078. "description": "审核操作员账号",
  12079. "type": "integer"
  12080. },
  12081. "audittime": {
  12082. "description": "审核时间",
  12083. "type": "string"
  12084. },
  12085. "cancelaccountid": {
  12086. "description": "注销操作员账号",
  12087. "type": "integer"
  12088. },
  12089. "canceltime": {
  12090. "description": "注销时间",
  12091. "type": "string"
  12092. },
  12093. "closepricemode": {
  12094. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12095. "type": "integer"
  12096. },
  12097. "closepriceparam": {
  12098. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12099. "type": "number"
  12100. },
  12101. "createtime": {
  12102. "description": "创建时间",
  12103. "type": "string"
  12104. },
  12105. "creatorid": {
  12106. "description": "创建人",
  12107. "type": "integer"
  12108. },
  12109. "currencyid": {
  12110. "description": "报价货币ID",
  12111. "type": "integer"
  12112. },
  12113. "cutmode": {
  12114. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12115. "type": "integer"
  12116. },
  12117. "decimalplace": {
  12118. "description": "报价小数位",
  12119. "type": "integer"
  12120. },
  12121. "delistingdate": {
  12122. "description": "商品退市时间(状态:退市) -- 已作废",
  12123. "type": "string"
  12124. },
  12125. "delistingmode": {
  12126. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12127. "type": "integer"
  12128. },
  12129. "deliveryflag": {
  12130. "description": "交割标志 - 0:不可交割 1:可交割",
  12131. "type": "integer"
  12132. },
  12133. "forceclosemode": {
  12134. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12135. "type": "integer"
  12136. },
  12137. "forceclosevalue": {
  12138. "description": "定期强平参数 [收益权]",
  12139. "type": "integer"
  12140. },
  12141. "goodscode": {
  12142. "description": "商品代码(内部)",
  12143. "type": "string"
  12144. },
  12145. "goodscurrencyid": {
  12146. "description": "合约货币ID",
  12147. "type": "integer"
  12148. },
  12149. "goodsgroupid": {
  12150. "description": "所属商品组ID",
  12151. "type": "integer"
  12152. },
  12153. "goodsid": {
  12154. "description": "商品ID(自增ID SEQ_GOODS)",
  12155. "type": "integer"
  12156. },
  12157. "goodsname": {
  12158. "description": "商品名称",
  12159. "type": "string"
  12160. },
  12161. "goodsquotetype": {
  12162. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12163. "type": "integer"
  12164. },
  12165. "goodsstatus": {
  12166. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12167. "type": "integer"
  12168. },
  12169. "goodstradetype": {
  12170. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12171. "type": "integer"
  12172. },
  12173. "goodunitid": {
  12174. "description": "报价单位ID",
  12175. "type": "integer"
  12176. },
  12177. "hasquoter": {
  12178. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12179. "type": "integer"
  12180. },
  12181. "hqprotecttime": {
  12182. "description": "行情保护时间(秒)",
  12183. "type": "integer"
  12184. },
  12185. "innerdealmode": {
  12186. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12187. "type": "integer"
  12188. },
  12189. "isbuylimited": {
  12190. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12191. "type": "integer"
  12192. },
  12193. "lasttradedate": {
  12194. "description": "最后交易日期(状态:待退市)",
  12195. "type": "string"
  12196. },
  12197. "listingdate": {
  12198. "description": "交易开始日期",
  12199. "type": "string"
  12200. },
  12201. "marketid": {
  12202. "description": "所属市场ID",
  12203. "type": "integer"
  12204. },
  12205. "modifierid": {
  12206. "description": "修改人",
  12207. "type": "integer"
  12208. },
  12209. "modifystatus": {
  12210. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12211. "type": "integer"
  12212. },
  12213. "modifytime": {
  12214. "description": "修改时间",
  12215. "type": "string"
  12216. },
  12217. "outerdealmode": {
  12218. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12219. "type": "integer"
  12220. },
  12221. "outgoodscode": {
  12222. "description": "商品代码(外部)",
  12223. "type": "string"
  12224. },
  12225. "qtydecimalplace": {
  12226. "description": "成交量小数位",
  12227. "type": "integer"
  12228. },
  12229. "quotegear": {
  12230. "description": "行情档位(1-10)",
  12231. "type": "integer"
  12232. },
  12233. "quoteminunit": {
  12234. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12235. "type": "integer"
  12236. },
  12237. "quoteshowtype": {
  12238. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12239. "type": "integer"
  12240. },
  12241. "quoteshowtypeinterval": {
  12242. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12243. "type": "integer"
  12244. },
  12245. "remark": {
  12246. "description": "备注",
  12247. "type": "string"
  12248. }
  12249. }
  12250. },
  12251. "models.GoodsBrand": {
  12252. "type": "object",
  12253. "properties": {
  12254. "brandid": {
  12255. "description": "品牌ID",
  12256. "type": "integer"
  12257. },
  12258. "brandname": {
  12259. "description": "品牌名称",
  12260. "type": "string"
  12261. },
  12262. "isvalid": {
  12263. "description": "是否有效 - 0:无效 1:有效",
  12264. "type": "integer"
  12265. }
  12266. }
  12267. },
  12268. "models.GoodsGroupConvert": {
  12269. "type": "object",
  12270. "properties": {
  12271. "convertratio": {
  12272. "description": "折算系数",
  12273. "type": "number"
  12274. },
  12275. "dstgoodsgroupid": {
  12276. "description": "目标期货品种ID",
  12277. "type": "integer"
  12278. },
  12279. "goodsgroupname": {
  12280. "description": "期货品种名称",
  12281. "type": "string"
  12282. },
  12283. "outergroupcode": {
  12284. "description": "期货品种代码",
  12285. "type": "string"
  12286. },
  12287. "srcgoodsgroupid": {
  12288. "description": "源期货品种ID",
  12289. "type": "integer"
  12290. }
  12291. }
  12292. },
  12293. "models.GoodsIDAndName": {
  12294. "type": "object",
  12295. "required": [
  12296. "goodscode",
  12297. "goodsid",
  12298. "goodsname",
  12299. "marketid"
  12300. ],
  12301. "properties": {
  12302. "goodscode": {
  12303. "description": "商品代码(内部)",
  12304. "type": "string"
  12305. },
  12306. "goodsid": {
  12307. "description": "商品ID(自增ID SEQ_GOODS)",
  12308. "type": "integer"
  12309. },
  12310. "goodsname": {
  12311. "description": "商品名称",
  12312. "type": "string"
  12313. },
  12314. "marketid": {
  12315. "description": "所属市场ID",
  12316. "type": "integer"
  12317. }
  12318. }
  12319. },
  12320. "models.GoodsTypeModel": {
  12321. "type": "object",
  12322. "properties": {
  12323. "modelid": {
  12324. "description": "型号ID",
  12325. "type": "integer"
  12326. },
  12327. "modelname": {
  12328. "description": "型号名称",
  12329. "type": "string"
  12330. },
  12331. "updatetime": {
  12332. "description": "更新时间",
  12333. "type": "string"
  12334. }
  12335. }
  12336. },
  12337. "models.HsbyBuyMyPayOrder": {
  12338. "type": "object",
  12339. "required": [
  12340. "goodscode",
  12341. "goodsname",
  12342. "tradeid",
  12343. "trademode"
  12344. ],
  12345. "properties": {
  12346. "agreeunit": {
  12347. "description": "合约单位",
  12348. "type": "number"
  12349. },
  12350. "buyaccountid": {
  12351. "description": "买方账号ID[报价币种]",
  12352. "type": "integer"
  12353. },
  12354. "buyorderid": {
  12355. "description": "买方委托单号",
  12356. "type": "string"
  12357. },
  12358. "createtime": {
  12359. "description": "创建时间",
  12360. "type": "string"
  12361. },
  12362. "currencysign": {
  12363. "description": "货币符号",
  12364. "type": "string"
  12365. },
  12366. "decimalplace": {
  12367. "description": "报价小数位",
  12368. "type": "integer"
  12369. },
  12370. "goodscode": {
  12371. "description": "商品代码(内部)",
  12372. "type": "string"
  12373. },
  12374. "goodsid": {
  12375. "description": "商品ID",
  12376. "type": "integer"
  12377. },
  12378. "goodsname": {
  12379. "description": "商品名称",
  12380. "type": "string"
  12381. },
  12382. "marketid": {
  12383. "description": "市场ID",
  12384. "type": "integer"
  12385. },
  12386. "offamount": {
  12387. "description": "优惠金额",
  12388. "type": "number"
  12389. },
  12390. "payamount": {
  12391. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12392. "type": "number"
  12393. },
  12394. "payflag": {
  12395. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12396. "type": "integer"
  12397. },
  12398. "paylimitedtime": {
  12399. "description": "支付期限",
  12400. "type": "string"
  12401. },
  12402. "paytime": {
  12403. "description": "付款时间",
  12404. "type": "string"
  12405. },
  12406. "picurls1": {
  12407. "description": "预售商品介绍图片[多张用逗号分隔]",
  12408. "type": "string"
  12409. },
  12410. "picurls2": {
  12411. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12412. "type": "string"
  12413. },
  12414. "sellaccountid": {
  12415. "description": "卖方账号ID[报价币种]",
  12416. "type": "integer"
  12417. },
  12418. "sellorderid": {
  12419. "description": "卖方委托单号",
  12420. "type": "string"
  12421. },
  12422. "tradeamount": {
  12423. "description": "成交金额",
  12424. "type": "number"
  12425. },
  12426. "tradecharge": {
  12427. "description": "成交手续费(买方)",
  12428. "type": "number"
  12429. },
  12430. "tradedate": {
  12431. "description": "交易日(yyyyMMdd)",
  12432. "type": "string"
  12433. },
  12434. "tradeid": {
  12435. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12436. "type": "string"
  12437. },
  12438. "trademode": {
  12439. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12440. "type": "integer"
  12441. },
  12442. "tradeprice": {
  12443. "description": "成交价格",
  12444. "type": "number"
  12445. },
  12446. "tradeqty": {
  12447. "description": "成交数量",
  12448. "type": "integer"
  12449. },
  12450. "vendorname1": {
  12451. "description": "预售商品供应商名称",
  12452. "type": "string"
  12453. },
  12454. "vendorname2": {
  12455. "description": "挂牌商品供应商名称",
  12456. "type": "string"
  12457. }
  12458. }
  12459. },
  12460. "models.HsbyBuyMyTradeDetail": {
  12461. "type": "object",
  12462. "required": [
  12463. "accountid",
  12464. "buyorsell",
  12465. "goodscode",
  12466. "goodsid",
  12467. "goodsname",
  12468. "marketid",
  12469. "orderid",
  12470. "qty",
  12471. "time",
  12472. "trademode"
  12473. ],
  12474. "properties": {
  12475. "accountid": {
  12476. "description": "账户ID[报价币种]",
  12477. "type": "integer"
  12478. },
  12479. "agreeunit": {
  12480. "description": "合约单位",
  12481. "type": "number"
  12482. },
  12483. "amount": {
  12484. "description": "金额 = 价格 * 数量 * 合约单位",
  12485. "type": "number"
  12486. },
  12487. "buyorsell": {
  12488. "description": "买卖 - 0:买 1:卖",
  12489. "type": "integer"
  12490. },
  12491. "currencysign": {
  12492. "description": "货币符号",
  12493. "type": "string"
  12494. },
  12495. "decimalplace": {
  12496. "description": "报价小数位",
  12497. "type": "integer"
  12498. },
  12499. "goodscode": {
  12500. "description": "商品代码(内部)",
  12501. "type": "string"
  12502. },
  12503. "goodsid": {
  12504. "description": "商品ID",
  12505. "type": "integer"
  12506. },
  12507. "goodsname": {
  12508. "description": "商品名称",
  12509. "type": "string"
  12510. },
  12511. "marketid": {
  12512. "description": "市场ID",
  12513. "type": "integer"
  12514. },
  12515. "orderid": {
  12516. "description": "单号(成交单号)",
  12517. "type": "string"
  12518. },
  12519. "picurls1": {
  12520. "description": "预售商品介绍图片[多张用逗号分隔]",
  12521. "type": "string"
  12522. },
  12523. "picurls2": {
  12524. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12525. "type": "string"
  12526. },
  12527. "price": {
  12528. "description": "价格",
  12529. "type": "number"
  12530. },
  12531. "qty": {
  12532. "description": "数量",
  12533. "type": "integer"
  12534. },
  12535. "time": {
  12536. "description": "时间",
  12537. "type": "string"
  12538. },
  12539. "trademode": {
  12540. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12541. "type": "integer"
  12542. },
  12543. "vendorname1": {
  12544. "description": "预售商品供应商名称",
  12545. "type": "string"
  12546. },
  12547. "vendorname2": {
  12548. "description": "挂牌商品供应商名称",
  12549. "type": "string"
  12550. }
  12551. }
  12552. },
  12553. "models.HsbyGoodsOrderDetail": {
  12554. "type": "object",
  12555. "required": [
  12556. "buyorsell",
  12557. "orderid",
  12558. "ordertime"
  12559. ],
  12560. "properties": {
  12561. "buyorsell": {
  12562. "description": "买卖 - 0:买 1:卖",
  12563. "type": "integer"
  12564. },
  12565. "currencysign": {
  12566. "description": "货币符号",
  12567. "type": "string"
  12568. },
  12569. "customername": {
  12570. "description": "客户名称(企业名称),已脱敏",
  12571. "type": "string"
  12572. },
  12573. "enableqty": {
  12574. "description": "可用数量",
  12575. "type": "integer"
  12576. },
  12577. "goodunit": {
  12578. "description": "报价单位",
  12579. "type": "string"
  12580. },
  12581. "orderid": {
  12582. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12583. "type": "string"
  12584. },
  12585. "orderprice": {
  12586. "description": "委托价格",
  12587. "type": "number"
  12588. },
  12589. "ordertime": {
  12590. "description": "委托时间",
  12591. "type": "string"
  12592. }
  12593. }
  12594. },
  12595. "models.HsbyListingGoodsDetail": {
  12596. "type": "object",
  12597. "required": [
  12598. "goodscode",
  12599. "goodsid",
  12600. "goodsname",
  12601. "marketid",
  12602. "trademode"
  12603. ],
  12604. "properties": {
  12605. "agreeunit": {
  12606. "description": "合约单位",
  12607. "type": "number"
  12608. },
  12609. "buymaxqty": {
  12610. "description": "购买上限 [71] - 0为不限",
  12611. "type": "integer"
  12612. },
  12613. "currency": {
  12614. "description": "货币",
  12615. "type": "string"
  12616. },
  12617. "currencysign": {
  12618. "description": "货币符号",
  12619. "type": "string"
  12620. },
  12621. "decimalplace": {
  12622. "description": "报价小数位",
  12623. "type": "integer"
  12624. },
  12625. "desccityid": {
  12626. "description": "目的地(市)ID",
  12627. "type": "integer"
  12628. },
  12629. "descprovinceid": {
  12630. "description": "目的地(省)ID",
  12631. "type": "integer"
  12632. },
  12633. "goodscode": {
  12634. "description": "商品代码(内部)",
  12635. "type": "string"
  12636. },
  12637. "goodsdesc": {
  12638. "description": "商品详情",
  12639. "type": "string"
  12640. },
  12641. "goodsid": {
  12642. "description": "商品ID(自增ID SEQ_GOODS)",
  12643. "type": "integer"
  12644. },
  12645. "goodsname": {
  12646. "description": "商品名称",
  12647. "type": "string"
  12648. },
  12649. "goodsprice": {
  12650. "description": "商品价格",
  12651. "type": "number"
  12652. },
  12653. "hotindex": {
  12654. "description": "景点热度",
  12655. "type": "integer"
  12656. },
  12657. "last": {
  12658. "description": "现价",
  12659. "type": "number"
  12660. },
  12661. "limitdown": {
  12662. "description": "跌停价",
  12663. "type": "number"
  12664. },
  12665. "limitup": {
  12666. "description": "涨停价",
  12667. "type": "number"
  12668. },
  12669. "lotsize": {
  12670. "description": "手数最小变动单位",
  12671. "type": "integer"
  12672. },
  12673. "marketid": {
  12674. "description": "所属市场ID",
  12675. "type": "integer"
  12676. },
  12677. "picurls": {
  12678. "description": "介绍图片[多张用逗号分隔]",
  12679. "type": "string"
  12680. },
  12681. "quoteminunit": {
  12682. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12683. "type": "integer"
  12684. },
  12685. "stepvalue": {
  12686. "description": "价格最小变动单位",
  12687. "type": "number"
  12688. },
  12689. "trademode": {
  12690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12691. "type": "integer"
  12692. },
  12693. "vendorattr": {
  12694. "description": "供应商附件(多张,逗号分隔)",
  12695. "type": "string"
  12696. },
  12697. "vendorname": {
  12698. "description": "供应商名称",
  12699. "type": "string"
  12700. },
  12701. "vendorphone": {
  12702. "description": "供应商客服电话",
  12703. "type": "string"
  12704. },
  12705. "videourls": {
  12706. "description": "介绍视频[多张用逗号分隔]",
  12707. "type": "string"
  12708. }
  12709. }
  12710. },
  12711. "models.HsbyMarketGoods": {
  12712. "type": "object",
  12713. "required": [
  12714. "accountid",
  12715. "buyorsell",
  12716. "goodscode",
  12717. "goodsid",
  12718. "goodsname",
  12719. "marketid",
  12720. "orderid",
  12721. "trademode"
  12722. ],
  12723. "properties": {
  12724. "accountid": {
  12725. "description": "账户ID[报价币种]",
  12726. "type": "integer"
  12727. },
  12728. "agreeunit": {
  12729. "description": "合约单位",
  12730. "type": "number"
  12731. },
  12732. "buyorsell": {
  12733. "description": "买卖 - 0:买 1:卖",
  12734. "type": "integer"
  12735. },
  12736. "categoryid": {
  12737. "description": "类别ID(WRCATEGORY)",
  12738. "type": "integer"
  12739. },
  12740. "currency": {
  12741. "description": "货币",
  12742. "type": "string"
  12743. },
  12744. "currencysign": {
  12745. "description": "货币符号",
  12746. "type": "string"
  12747. },
  12748. "customername": {
  12749. "description": "卖家名称",
  12750. "type": "string"
  12751. },
  12752. "decimalplace": {
  12753. "description": "报价小数位",
  12754. "type": "integer"
  12755. },
  12756. "goodscode": {
  12757. "description": "商品代码(内部)",
  12758. "type": "string"
  12759. },
  12760. "goodsid": {
  12761. "description": "商品ID",
  12762. "type": "integer"
  12763. },
  12764. "goodsname": {
  12765. "description": "商品名称",
  12766. "type": "string"
  12767. },
  12768. "goodsprice": {
  12769. "description": "商品价格",
  12770. "type": "number"
  12771. },
  12772. "hascoupon": {
  12773. "description": "是否可用优惠卷",
  12774. "type": "boolean"
  12775. },
  12776. "hotindex": {
  12777. "description": "景点热度",
  12778. "type": "integer"
  12779. },
  12780. "marketid": {
  12781. "description": "市场ID",
  12782. "type": "integer"
  12783. },
  12784. "orderid": {
  12785. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12786. "type": "string"
  12787. },
  12788. "orderprice": {
  12789. "description": "委托价格",
  12790. "type": "number"
  12791. },
  12792. "orderstatus": {
  12793. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12794. "type": "integer"
  12795. },
  12796. "picurls": {
  12797. "description": "介绍图片[多张用逗号分隔]",
  12798. "type": "string"
  12799. },
  12800. "quoteminunit": {
  12801. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12802. "type": "integer"
  12803. },
  12804. "sellUserID": {
  12805. "description": "卖方UserID",
  12806. "type": "integer"
  12807. },
  12808. "trademode": {
  12809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12810. "type": "integer"
  12811. },
  12812. "videourls": {
  12813. "description": "介绍视频[多张用逗号分隔]",
  12814. "type": "string"
  12815. }
  12816. }
  12817. },
  12818. "models.HsbyMarketGoodsDetail": {
  12819. "type": "object",
  12820. "required": [
  12821. "accountid",
  12822. "buyorsell",
  12823. "goodscode",
  12824. "goodsid",
  12825. "goodsname",
  12826. "marketid",
  12827. "orderid",
  12828. "orderqty",
  12829. "trademode"
  12830. ],
  12831. "properties": {
  12832. "accountid": {
  12833. "description": "账户ID[报价币种]",
  12834. "type": "integer"
  12835. },
  12836. "agreeunit": {
  12837. "description": "合约单位",
  12838. "type": "number"
  12839. },
  12840. "buymaxqty": {
  12841. "description": "购买上限 [71] - 0为不限",
  12842. "type": "integer"
  12843. },
  12844. "buyorsell": {
  12845. "description": "买卖 - 0:买 1:卖",
  12846. "type": "integer"
  12847. },
  12848. "cancelqty": {
  12849. "description": "撤单数量",
  12850. "type": "integer"
  12851. },
  12852. "categoryid": {
  12853. "description": "类别ID(WRCATEGORY)",
  12854. "type": "integer"
  12855. },
  12856. "currency": {
  12857. "description": "货币",
  12858. "type": "string"
  12859. },
  12860. "currencysign": {
  12861. "description": "货币符号",
  12862. "type": "string"
  12863. },
  12864. "customername": {
  12865. "description": "卖家名称",
  12866. "type": "string"
  12867. },
  12868. "decimalplace": {
  12869. "description": "报价小数位",
  12870. "type": "integer"
  12871. },
  12872. "goodscode": {
  12873. "description": "商品代码(内部)",
  12874. "type": "string"
  12875. },
  12876. "goodsdesc": {
  12877. "description": "商品详情",
  12878. "type": "string"
  12879. },
  12880. "goodsid": {
  12881. "description": "商品ID",
  12882. "type": "integer"
  12883. },
  12884. "goodsname": {
  12885. "description": "商品名称",
  12886. "type": "string"
  12887. },
  12888. "goodsprice": {
  12889. "description": "商品价格",
  12890. "type": "number"
  12891. },
  12892. "hotindex": {
  12893. "description": "景点热度",
  12894. "type": "integer"
  12895. },
  12896. "lotsize": {
  12897. "description": "手数最小变动单位",
  12898. "type": "integer"
  12899. },
  12900. "marketid": {
  12901. "description": "市场ID",
  12902. "type": "integer"
  12903. },
  12904. "orderid": {
  12905. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12906. "type": "string"
  12907. },
  12908. "orderprice": {
  12909. "description": "委托价格",
  12910. "type": "number"
  12911. },
  12912. "orderqty": {
  12913. "description": "委托数量",
  12914. "type": "integer"
  12915. },
  12916. "orderstatus": {
  12917. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12918. "type": "integer"
  12919. },
  12920. "picurls": {
  12921. "description": "介绍图片[多张用逗号分隔]",
  12922. "type": "string"
  12923. },
  12924. "quoteminunit": {
  12925. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12926. "type": "integer"
  12927. },
  12928. "sellUserID": {
  12929. "description": "卖方UserID",
  12930. "type": "integer"
  12931. },
  12932. "trademode": {
  12933. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12934. "type": "integer"
  12935. },
  12936. "tradeqty": {
  12937. "description": "成交数量",
  12938. "type": "integer"
  12939. },
  12940. "vendorattr": {
  12941. "description": "供应商附件(多张,逗号分隔)",
  12942. "type": "string"
  12943. },
  12944. "vendorname": {
  12945. "description": "供应商名称",
  12946. "type": "string"
  12947. },
  12948. "vendorphone": {
  12949. "description": "供应商客服电话",
  12950. "type": "string"
  12951. },
  12952. "videourls": {
  12953. "description": "介绍视频[多张用逗号分隔]",
  12954. "type": "string"
  12955. }
  12956. }
  12957. },
  12958. "models.HsbyMarketInfo": {
  12959. "type": "object",
  12960. "required": [
  12961. "marketid",
  12962. "marketstatus",
  12963. "trademode"
  12964. ],
  12965. "properties": {
  12966. "marketid": {
  12967. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12968. "type": "integer"
  12969. },
  12970. "marketname": {
  12971. "description": "市场名称",
  12972. "type": "string"
  12973. },
  12974. "marketstatus": {
  12975. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12976. "type": "integer"
  12977. },
  12978. "trademode": {
  12979. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12980. "type": "integer"
  12981. }
  12982. }
  12983. },
  12984. "models.HsbyMyGoods": {
  12985. "type": "object",
  12986. "required": [
  12987. "accountid",
  12988. "goodscode",
  12989. "goodsid",
  12990. "goodsname",
  12991. "marketid",
  12992. "trademode"
  12993. ],
  12994. "properties": {
  12995. "accountid": {
  12996. "description": "账号Id",
  12997. "type": "integer"
  12998. },
  12999. "agreeunit": {
  13000. "description": "合约单位",
  13001. "type": "number"
  13002. },
  13003. "buyaverageprice": {
  13004. "description": "持仓均价",
  13005. "type": "number"
  13006. },
  13007. "buycurholderamount": {
  13008. "description": "买当前持仓总金额[商品币种]",
  13009. "type": "number"
  13010. },
  13011. "buycurpositionqty": {
  13012. "description": "买当前持仓总数量",
  13013. "type": "integer"
  13014. },
  13015. "buymaxqty": {
  13016. "description": "购买上限 [71] - 0为不限",
  13017. "type": "integer"
  13018. },
  13019. "currencysign": {
  13020. "description": "货币符号",
  13021. "type": "string"
  13022. },
  13023. "decimalplace": {
  13024. "description": "报价小数位",
  13025. "type": "integer"
  13026. },
  13027. "enableqty": {
  13028. "description": "可用数量",
  13029. "type": "integer"
  13030. },
  13031. "goodscode": {
  13032. "description": "商品代码(内部)",
  13033. "type": "string"
  13034. },
  13035. "goodsid": {
  13036. "description": "商品Id",
  13037. "type": "integer"
  13038. },
  13039. "goodsname": {
  13040. "description": "商品名称",
  13041. "type": "string"
  13042. },
  13043. "goodsprice": {
  13044. "description": "商品价格",
  13045. "type": "number"
  13046. },
  13047. "goodsstatus": {
  13048. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13049. "type": "integer"
  13050. },
  13051. "last": {
  13052. "description": "现价(仅使用于挂牌点选)",
  13053. "type": "number"
  13054. },
  13055. "limitdown": {
  13056. "description": "跌停价(仅使用于挂牌点选)",
  13057. "type": "number"
  13058. },
  13059. "limitup": {
  13060. "description": "涨停价(仅使用于挂牌点选)",
  13061. "type": "number"
  13062. },
  13063. "lotsize": {
  13064. "description": "手数最小变动单位",
  13065. "type": "integer"
  13066. },
  13067. "marketid": {
  13068. "description": "所属市场ID",
  13069. "type": "integer"
  13070. },
  13071. "picurls": {
  13072. "description": "介绍图片[多张用逗号分隔]",
  13073. "type": "string"
  13074. },
  13075. "quoteminunit": {
  13076. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13077. "type": "integer"
  13078. },
  13079. "stepvalue": {
  13080. "description": "价格最小变动单位",
  13081. "type": "number"
  13082. },
  13083. "trademode": {
  13084. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13085. "type": "integer"
  13086. }
  13087. }
  13088. },
  13089. "models.HsbyMyPackage": {
  13090. "type": "object",
  13091. "required": [
  13092. "goodscode",
  13093. "goodsname",
  13094. "takeorderid",
  13095. "trademode"
  13096. ],
  13097. "properties": {
  13098. "accountid": {
  13099. "description": "账户ID",
  13100. "type": "integer"
  13101. },
  13102. "address": {
  13103. "description": "提货人详细地址",
  13104. "type": "string"
  13105. },
  13106. "agreeunit": {
  13107. "description": "合约单位",
  13108. "type": "number"
  13109. },
  13110. "amount": {
  13111. "description": "提货金额",
  13112. "type": "number"
  13113. },
  13114. "auditer": {
  13115. "description": "审核人",
  13116. "type": "integer"
  13117. },
  13118. "audittime": {
  13119. "description": "审核时间",
  13120. "type": "string"
  13121. },
  13122. "averageprice": {
  13123. "description": "均价",
  13124. "type": "number"
  13125. },
  13126. "cardnum": {
  13127. "description": "提货人证件号码",
  13128. "type": "string"
  13129. },
  13130. "cardtypeid": {
  13131. "description": "提货人证件类型",
  13132. "type": "integer"
  13133. },
  13134. "checkremark": {
  13135. "description": "审核备注",
  13136. "type": "string"
  13137. },
  13138. "currencysign": {
  13139. "description": "货币符号",
  13140. "type": "string"
  13141. },
  13142. "decimalplace": {
  13143. "description": "报价小数位",
  13144. "type": "integer"
  13145. },
  13146. "goodscode": {
  13147. "description": "商品代码(内部)",
  13148. "type": "string"
  13149. },
  13150. "goodsid": {
  13151. "description": "商品ID",
  13152. "type": "integer"
  13153. },
  13154. "goodsname": {
  13155. "description": "商品名称",
  13156. "type": "string"
  13157. },
  13158. "handlestatus": {
  13159. "description": "处理状态",
  13160. "type": "integer"
  13161. },
  13162. "marketid": {
  13163. "description": "市场ID",
  13164. "type": "integer"
  13165. },
  13166. "phonenum": {
  13167. "description": "提货人联系方式",
  13168. "type": "string"
  13169. },
  13170. "picurls": {
  13171. "description": "介绍图片[多张用逗号分隔]",
  13172. "type": "string"
  13173. },
  13174. "qty": {
  13175. "description": "提货数量",
  13176. "type": "number"
  13177. },
  13178. "recivername": {
  13179. "description": "提货人姓名",
  13180. "type": "string"
  13181. },
  13182. "reqtime": {
  13183. "description": "更新时间",
  13184. "type": "string"
  13185. },
  13186. "takemode": {
  13187. "description": "提货方式 - 2:自提 3:配送",
  13188. "type": "integer"
  13189. },
  13190. "takeorderid": {
  13191. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13192. "type": "string"
  13193. },
  13194. "takeorderstatus": {
  13195. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13196. "type": "integer"
  13197. },
  13198. "takeremark": {
  13199. "description": "提货备注",
  13200. "type": "string"
  13201. },
  13202. "tradedate": {
  13203. "description": "交易日(yyyyMMdd)",
  13204. "type": "string"
  13205. },
  13206. "trademode": {
  13207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13208. "type": "integer"
  13209. },
  13210. "userid": {
  13211. "description": "用户ID",
  13212. "type": "integer"
  13213. },
  13214. "vendorname": {
  13215. "description": "供应商名称",
  13216. "type": "string"
  13217. }
  13218. }
  13219. },
  13220. "models.HsbyPreGoods": {
  13221. "type": "object",
  13222. "required": [
  13223. "goodscode",
  13224. "goodsid",
  13225. "goodsname",
  13226. "marketid",
  13227. "trademode"
  13228. ],
  13229. "properties": {
  13230. "agreeunit": {
  13231. "description": "合约单位",
  13232. "type": "number"
  13233. },
  13234. "currency": {
  13235. "description": "货币",
  13236. "type": "string"
  13237. },
  13238. "currencysign": {
  13239. "description": "货币符号",
  13240. "type": "string"
  13241. },
  13242. "decimalplace": {
  13243. "description": "报价小数位",
  13244. "type": "integer"
  13245. },
  13246. "desccityid": {
  13247. "description": "目的地(市)",
  13248. "type": "integer"
  13249. },
  13250. "descprovinceid": {
  13251. "description": "目的地(省)",
  13252. "type": "integer"
  13253. },
  13254. "enableqty": {
  13255. "description": "剩余数量",
  13256. "type": "integer"
  13257. },
  13258. "goodscode": {
  13259. "description": "商品代码(内部)",
  13260. "type": "string"
  13261. },
  13262. "goodsid": {
  13263. "description": "商品ID(自增ID SEQ_GOODS)",
  13264. "type": "integer"
  13265. },
  13266. "goodsname": {
  13267. "description": "商品名称",
  13268. "type": "string"
  13269. },
  13270. "goodsstatus": {
  13271. "description": "商品状态- 2:未上市 3:上市",
  13272. "type": "integer"
  13273. },
  13274. "lasttradedate": {
  13275. "description": "最后交易日期(状态:待退市)",
  13276. "type": "string"
  13277. },
  13278. "listingdate": {
  13279. "description": "交易开始日期",
  13280. "type": "string"
  13281. },
  13282. "marketid": {
  13283. "description": "所属市场ID",
  13284. "type": "integer"
  13285. },
  13286. "picurls": {
  13287. "description": "介绍图片[多张用逗号分隔]",
  13288. "type": "string"
  13289. },
  13290. "presaledqty": {
  13291. "description": "已预售量(预售结束时更新)",
  13292. "type": "integer"
  13293. },
  13294. "presaleqty": {
  13295. "description": "预售数量",
  13296. "type": "integer"
  13297. },
  13298. "quoteminunit": {
  13299. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13300. "type": "integer"
  13301. },
  13302. "refprice": {
  13303. "description": "参考价格[一口价]",
  13304. "type": "number"
  13305. },
  13306. "relatedgoodsid": {
  13307. "description": "关联交易合约ID",
  13308. "type": "integer"
  13309. },
  13310. "trademode": {
  13311. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13312. "type": "integer"
  13313. },
  13314. "videourls": {
  13315. "description": "介绍视频[多张用逗号分隔]",
  13316. "type": "string"
  13317. }
  13318. }
  13319. },
  13320. "models.HsbyPreGoodsDetail": {
  13321. "type": "object",
  13322. "required": [
  13323. "goodscode",
  13324. "goodsid",
  13325. "goodsname",
  13326. "marketid",
  13327. "trademode"
  13328. ],
  13329. "properties": {
  13330. "agreeunit": {
  13331. "description": "合约单位",
  13332. "type": "number"
  13333. },
  13334. "buymaxqty": {
  13335. "description": "购买上限 [71] - 0为不限",
  13336. "type": "integer"
  13337. },
  13338. "currency": {
  13339. "description": "货币",
  13340. "type": "string"
  13341. },
  13342. "currencysign": {
  13343. "description": "货币符号",
  13344. "type": "string"
  13345. },
  13346. "customername": {
  13347. "description": "发行单位",
  13348. "type": "string"
  13349. },
  13350. "decimalplace": {
  13351. "description": "报价小数位",
  13352. "type": "integer"
  13353. },
  13354. "desccityid": {
  13355. "description": "目的地(市)ID",
  13356. "type": "integer"
  13357. },
  13358. "descprovinceid": {
  13359. "description": "目的地(省)ID",
  13360. "type": "integer"
  13361. },
  13362. "enableqty": {
  13363. "description": "剩余数量",
  13364. "type": "integer"
  13365. },
  13366. "goodscode": {
  13367. "description": "商品代码(内部)",
  13368. "type": "string"
  13369. },
  13370. "goodsdesc": {
  13371. "description": "商品详情",
  13372. "type": "string"
  13373. },
  13374. "goodsid": {
  13375. "description": "商品ID(自增ID SEQ_GOODS)",
  13376. "type": "integer"
  13377. },
  13378. "goodsname": {
  13379. "description": "商品名称",
  13380. "type": "string"
  13381. },
  13382. "goodsstatus": {
  13383. "description": "商品状态- 2:未上市 3:上市",
  13384. "type": "integer"
  13385. },
  13386. "goodunit": {
  13387. "description": "报价单位",
  13388. "type": "string"
  13389. },
  13390. "lasttradedate": {
  13391. "description": "最后交易日期(状态:待退市)",
  13392. "type": "string"
  13393. },
  13394. "listingdate": {
  13395. "description": "交易开始日期",
  13396. "type": "string"
  13397. },
  13398. "lotsize": {
  13399. "description": "手数最小变动单位",
  13400. "type": "integer"
  13401. },
  13402. "marketid": {
  13403. "description": "所属市场ID",
  13404. "type": "integer"
  13405. },
  13406. "picurls": {
  13407. "description": "介绍图片[多张用逗号分隔]",
  13408. "type": "string"
  13409. },
  13410. "presaledqty": {
  13411. "description": "已预售量(预售结束时更新)",
  13412. "type": "integer"
  13413. },
  13414. "presaleqty": {
  13415. "description": "预售数量",
  13416. "type": "integer"
  13417. },
  13418. "quoteminunit": {
  13419. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13420. "type": "integer"
  13421. },
  13422. "refprice": {
  13423. "description": "参考价格[一口价]",
  13424. "type": "number"
  13425. },
  13426. "relatedgoodsid": {
  13427. "description": "关联交易合约ID",
  13428. "type": "integer"
  13429. },
  13430. "stepvalue": {
  13431. "description": "价格最小变动单位",
  13432. "type": "number"
  13433. },
  13434. "trademode": {
  13435. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13436. "type": "integer"
  13437. },
  13438. "vendorattr": {
  13439. "description": "供应商附件(多张,逗号分隔)",
  13440. "type": "string"
  13441. },
  13442. "vendorname": {
  13443. "description": "供应商名称",
  13444. "type": "string"
  13445. },
  13446. "vendorphone": {
  13447. "description": "供应商客服电话",
  13448. "type": "string"
  13449. },
  13450. "videourls": {
  13451. "description": "介绍视频[多张用逗号分隔]",
  13452. "type": "string"
  13453. }
  13454. }
  13455. },
  13456. "models.HsbySellCollectionOrder": {
  13457. "type": "object",
  13458. "required": [
  13459. "goodscode",
  13460. "goodsname",
  13461. "tradeid",
  13462. "trademode"
  13463. ],
  13464. "properties": {
  13465. "agreeunit": {
  13466. "description": "合约单位",
  13467. "type": "number"
  13468. },
  13469. "buyaccountid": {
  13470. "description": "买方账号ID[报价币种]",
  13471. "type": "integer"
  13472. },
  13473. "buyorderid": {
  13474. "description": "买方委托单号",
  13475. "type": "string"
  13476. },
  13477. "createtime": {
  13478. "description": "创建时间",
  13479. "type": "string"
  13480. },
  13481. "currencysign": {
  13482. "description": "货币符号",
  13483. "type": "string"
  13484. },
  13485. "decimalplace": {
  13486. "description": "报价小数位",
  13487. "type": "integer"
  13488. },
  13489. "goodscode": {
  13490. "description": "商品代码(内部)",
  13491. "type": "string"
  13492. },
  13493. "goodsid": {
  13494. "description": "商品ID",
  13495. "type": "integer"
  13496. },
  13497. "goodsname": {
  13498. "description": "商品名称",
  13499. "type": "string"
  13500. },
  13501. "marketid": {
  13502. "description": "市场ID",
  13503. "type": "integer"
  13504. },
  13505. "offamount": {
  13506. "description": "优惠金额",
  13507. "type": "number"
  13508. },
  13509. "payamount": {
  13510. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13511. "type": "number"
  13512. },
  13513. "payflag": {
  13514. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13515. "type": "integer"
  13516. },
  13517. "paylimitedtime": {
  13518. "description": "支付期限",
  13519. "type": "string"
  13520. },
  13521. "paytime": {
  13522. "description": "付款时间",
  13523. "type": "string"
  13524. },
  13525. "picurls": {
  13526. "description": "商品介绍图片[多张用逗号分隔]",
  13527. "type": "string"
  13528. },
  13529. "sellaccountid": {
  13530. "description": "卖方账号ID[报价币种]",
  13531. "type": "integer"
  13532. },
  13533. "sellorderid": {
  13534. "description": "卖方委托单号",
  13535. "type": "string"
  13536. },
  13537. "tradeamount": {
  13538. "description": "成交金额",
  13539. "type": "number"
  13540. },
  13541. "tradecharge": {
  13542. "description": "成交手续费(买方)",
  13543. "type": "number"
  13544. },
  13545. "tradedate": {
  13546. "description": "交易日(yyyyMMdd)",
  13547. "type": "string"
  13548. },
  13549. "tradeid": {
  13550. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13551. "type": "string"
  13552. },
  13553. "trademode": {
  13554. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13555. "type": "integer"
  13556. },
  13557. "tradeprice": {
  13558. "description": "成交价格",
  13559. "type": "number"
  13560. },
  13561. "tradeqty": {
  13562. "description": "成交数量",
  13563. "type": "integer"
  13564. }
  13565. }
  13566. },
  13567. "models.HsbySellMyDetail": {
  13568. "type": "object",
  13569. "required": [
  13570. "accountid",
  13571. "buyorsell",
  13572. "goodscode",
  13573. "goodsid",
  13574. "goodsname",
  13575. "marketid",
  13576. "orderid",
  13577. "time",
  13578. "trademode"
  13579. ],
  13580. "properties": {
  13581. "accountid": {
  13582. "description": "账户ID[报价币种]",
  13583. "type": "integer"
  13584. },
  13585. "agreeunit": {
  13586. "description": "合约单位",
  13587. "type": "number"
  13588. },
  13589. "buyorsell": {
  13590. "description": "买卖 - 0:买 1:卖",
  13591. "type": "integer"
  13592. },
  13593. "currencysign": {
  13594. "description": "货币符号",
  13595. "type": "string"
  13596. },
  13597. "decimalplace": {
  13598. "description": "报价小数位",
  13599. "type": "integer"
  13600. },
  13601. "goodscode": {
  13602. "description": "商品代码(内部)",
  13603. "type": "string"
  13604. },
  13605. "goodsid": {
  13606. "description": "商品ID",
  13607. "type": "integer"
  13608. },
  13609. "goodsname": {
  13610. "description": "商品名称",
  13611. "type": "string"
  13612. },
  13613. "marketid": {
  13614. "description": "市场ID",
  13615. "type": "integer"
  13616. },
  13617. "orderid": {
  13618. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13619. "type": "string"
  13620. },
  13621. "ordertype": {
  13622. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13623. "type": "integer"
  13624. },
  13625. "picurls": {
  13626. "description": "介绍图片[多张用逗号分隔]",
  13627. "type": "string"
  13628. },
  13629. "price": {
  13630. "description": "价格",
  13631. "type": "number"
  13632. },
  13633. "qty": {
  13634. "description": "数量",
  13635. "type": "integer"
  13636. },
  13637. "time": {
  13638. "description": "时间",
  13639. "type": "string"
  13640. },
  13641. "trademode": {
  13642. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13643. "type": "integer"
  13644. },
  13645. "vendorname": {
  13646. "description": "供应商名称",
  13647. "type": "string"
  13648. }
  13649. }
  13650. },
  13651. "models.HsbyTopGoods": {
  13652. "type": "object",
  13653. "required": [
  13654. "goodscode",
  13655. "goodsid",
  13656. "goodsname",
  13657. "marketid",
  13658. "trademode"
  13659. ],
  13660. "properties": {
  13661. "agreeunit": {
  13662. "description": "合约单位",
  13663. "type": "number"
  13664. },
  13665. "currency": {
  13666. "description": "货币",
  13667. "type": "string"
  13668. },
  13669. "currencysign": {
  13670. "description": "货币符号",
  13671. "type": "string"
  13672. },
  13673. "decimalplace": {
  13674. "description": "报价小数位",
  13675. "type": "integer"
  13676. },
  13677. "desccityid": {
  13678. "description": "目的地(市)",
  13679. "type": "integer"
  13680. },
  13681. "descprovinceid": {
  13682. "description": "目的地(省)",
  13683. "type": "integer"
  13684. },
  13685. "goodscode": {
  13686. "description": "商品代码(内部)",
  13687. "type": "string"
  13688. },
  13689. "goodsid": {
  13690. "description": "商品ID(自增ID SEQ_GOODS)",
  13691. "type": "integer"
  13692. },
  13693. "goodsname": {
  13694. "description": "商品名称",
  13695. "type": "string"
  13696. },
  13697. "hotindex": {
  13698. "description": "景点热度",
  13699. "type": "integer"
  13700. },
  13701. "last": {
  13702. "description": "现价",
  13703. "type": "number"
  13704. },
  13705. "marketid": {
  13706. "description": "所属市场ID",
  13707. "type": "integer"
  13708. },
  13709. "picurls": {
  13710. "description": "介绍图片[多张用逗号分隔]",
  13711. "type": "string"
  13712. },
  13713. "quoteminunit": {
  13714. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13715. "type": "integer"
  13716. },
  13717. "trademode": {
  13718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13719. "type": "integer"
  13720. },
  13721. "videourls": {
  13722. "description": "介绍视频[多张用逗号分隔]",
  13723. "type": "string"
  13724. }
  13725. }
  13726. },
  13727. "models.HybsMyBuyOrderDetail": {
  13728. "type": "object",
  13729. "required": [
  13730. "accountid",
  13731. "buyorsell",
  13732. "goodscode",
  13733. "goodsid",
  13734. "goodsname",
  13735. "marketid",
  13736. "orderid",
  13737. "orderqty",
  13738. "ordertime",
  13739. "trademode"
  13740. ],
  13741. "properties": {
  13742. "accountid": {
  13743. "description": "账户ID[报价币种]",
  13744. "type": "integer"
  13745. },
  13746. "agreeunit": {
  13747. "description": "合约单位",
  13748. "type": "number"
  13749. },
  13750. "buyorsell": {
  13751. "description": "买卖 - 0:买 1:卖",
  13752. "type": "integer"
  13753. },
  13754. "cancelqty": {
  13755. "description": "撤单数量",
  13756. "type": "integer"
  13757. },
  13758. "currencysign": {
  13759. "description": "货币符号",
  13760. "type": "string"
  13761. },
  13762. "decimalplace": {
  13763. "description": "报价小数位",
  13764. "type": "integer"
  13765. },
  13766. "goodscode": {
  13767. "description": "商品代码(内部)",
  13768. "type": "string"
  13769. },
  13770. "goodsid": {
  13771. "description": "商品ID",
  13772. "type": "integer"
  13773. },
  13774. "goodsname": {
  13775. "description": "商品名称",
  13776. "type": "string"
  13777. },
  13778. "listingselecttype": {
  13779. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13780. "type": "integer"
  13781. },
  13782. "marketid": {
  13783. "description": "市场ID",
  13784. "type": "integer"
  13785. },
  13786. "mybuystatus": {
  13787. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13788. "type": "integer"
  13789. },
  13790. "orderamount": {
  13791. "description": "委托金额",
  13792. "type": "number"
  13793. },
  13794. "orderid": {
  13795. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13796. "type": "string"
  13797. },
  13798. "orderprice": {
  13799. "description": "委托价格",
  13800. "type": "number"
  13801. },
  13802. "orderqty": {
  13803. "description": "委托数量",
  13804. "type": "integer"
  13805. },
  13806. "orderstatus": {
  13807. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13808. "type": "integer"
  13809. },
  13810. "ordertime": {
  13811. "description": "委托时间",
  13812. "type": "string"
  13813. },
  13814. "picurls1": {
  13815. "description": "预售商品介绍图片[多张用逗号分隔]",
  13816. "type": "string"
  13817. },
  13818. "picurls2": {
  13819. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13820. "type": "string"
  13821. },
  13822. "trademode": {
  13823. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13824. "type": "integer"
  13825. },
  13826. "tradeqty": {
  13827. "description": "成交数量",
  13828. "type": "integer"
  13829. },
  13830. "vendorname1": {
  13831. "description": "预售商品供应商名称",
  13832. "type": "string"
  13833. },
  13834. "vendorname2": {
  13835. "description": "挂牌商品供应商名称",
  13836. "type": "string"
  13837. }
  13838. }
  13839. },
  13840. "models.Market": {
  13841. "type": "object",
  13842. "required": [
  13843. "marketid",
  13844. "marketstatus",
  13845. "openmethod",
  13846. "reckonpricealgorithm",
  13847. "trademode",
  13848. "tradeproperty"
  13849. ],
  13850. "properties": {
  13851. "auctionwrtype": {
  13852. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13853. "type": "integer"
  13854. },
  13855. "canacceptquote": {
  13856. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13857. "type": "integer"
  13858. },
  13859. "cangoodsexercise": {
  13860. "description": "[期权]是否可现货行权- 0:否 1:是",
  13861. "type": "integer"
  13862. },
  13863. "cangoodsexercisetype": {
  13864. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13865. "type": "integer"
  13866. },
  13867. "canmanualquotestrike": {
  13868. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13869. "type": "integer"
  13870. },
  13871. "canmutistage": {
  13872. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13873. "type": "integer"
  13874. },
  13875. "canpreexercise": {
  13876. "description": "[期权]是否可预申报- 0:否 1:是",
  13877. "type": "integer"
  13878. },
  13879. "clearinterval": {
  13880. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13881. "type": "integer"
  13882. },
  13883. "contracttmp": {
  13884. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13885. "type": "string"
  13886. },
  13887. "exchareaid": {
  13888. "description": "所属交易所,可以没有",
  13889. "type": "integer"
  13890. },
  13891. "goodstype": {
  13892. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13893. "type": "integer"
  13894. },
  13895. "hasrebate": {
  13896. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13897. "type": "integer"
  13898. },
  13899. "hastradecredit": {
  13900. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13901. "type": "integer"
  13902. },
  13903. "haswr": {
  13904. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13905. "type": "integer"
  13906. },
  13907. "isdeductmargin": {
  13908. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13909. "type": "integer"
  13910. },
  13911. "isrecordsource": {
  13912. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13913. "type": "integer"
  13914. },
  13915. "isreleasemargin": {
  13916. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13917. "type": "integer"
  13918. },
  13919. "marginformula": {
  13920. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13921. "type": "integer"
  13922. },
  13923. "marginformula2": {
  13924. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13925. "type": "integer"
  13926. },
  13927. "marketid": {
  13928. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13929. "type": "integer"
  13930. },
  13931. "marketname": {
  13932. "description": "市场名称",
  13933. "type": "string"
  13934. },
  13935. "marketserviceid": {
  13936. "description": "市场服务ID",
  13937. "type": "integer"
  13938. },
  13939. "marketstatus": {
  13940. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13941. "type": "integer"
  13942. },
  13943. "markettype": {
  13944. "description": "市场类型- 1:非交易服务 2:交易服务",
  13945. "type": "integer"
  13946. },
  13947. "matchermode": {
  13948. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13949. "type": "integer"
  13950. },
  13951. "openmethod": {
  13952. "description": "开盘模式 - 0 自动 1手动",
  13953. "type": "integer"
  13954. },
  13955. "otcuserid": {
  13956. "description": "场外期权做市商[场外期权]",
  13957. "type": "integer"
  13958. },
  13959. "outersynctime": {
  13960. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13961. "type": "string"
  13962. },
  13963. "pendingflag": {
  13964. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13965. "type": "integer"
  13966. },
  13967. "pendingtime": {
  13968. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13969. "type": "string"
  13970. },
  13971. "performancetempid": {
  13972. "description": "履约计划模板ID - 作废",
  13973. "type": "integer"
  13974. },
  13975. "premiumquotemode": {
  13976. "description": "权利金报价方式 - 1:自动 2:手动",
  13977. "type": "integer"
  13978. },
  13979. "rebateratio": {
  13980. "description": "返利比率[竞价式]",
  13981. "type": "number"
  13982. },
  13983. "reckonorder": {
  13984. "description": "结算顺序",
  13985. "type": "integer"
  13986. },
  13987. "reckonpricealgorithm": {
  13988. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13989. "type": "integer"
  13990. },
  13991. "reckonpriceparam": {
  13992. "description": "结算价参数",
  13993. "type": "integer"
  13994. },
  13995. "reckontime": {
  13996. "description": "结算时间[通道交易-对冲](HH:mm)",
  13997. "type": "string"
  13998. },
  13999. "roleprioritytype": {
  14000. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14001. "type": "integer"
  14002. },
  14003. "selllistingauditflag": {
  14004. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14005. "type": "integer"
  14006. },
  14007. "trademarkettype": {
  14008. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14009. "type": "integer"
  14010. },
  14011. "trademode": {
  14012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14013. "type": "integer"
  14014. },
  14015. "tradeproperty": {
  14016. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14017. "type": "integer"
  14018. },
  14019. "tradetype": {
  14020. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14021. "type": "integer"
  14022. }
  14023. }
  14024. },
  14025. "models.Marketrun": {
  14026. "type": "object",
  14027. "required": [
  14028. "marketid",
  14029. "nexttradedate",
  14030. "reckonflag",
  14031. "runstatus",
  14032. "tradedate",
  14033. "tradedate2"
  14034. ],
  14035. "properties": {
  14036. "afternexttradedate": {
  14037. "description": "下下交易日",
  14038. "type": "string"
  14039. },
  14040. "clearquoteflag": {
  14041. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14042. "type": "integer"
  14043. },
  14044. "lastreckondate": {
  14045. "description": "最新交易日(结算成功)",
  14046. "type": "string"
  14047. },
  14048. "machinedate": {
  14049. "description": "机器时间",
  14050. "type": "string"
  14051. },
  14052. "manualflag": {
  14053. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14054. "type": "integer"
  14055. },
  14056. "marketid": {
  14057. "description": "市场ID",
  14058. "type": "integer"
  14059. },
  14060. "nexttradedate": {
  14061. "description": "下一交易日",
  14062. "type": "string"
  14063. },
  14064. "pretradedate": {
  14065. "description": "上一交易日",
  14066. "type": "string"
  14067. },
  14068. "reckonflag": {
  14069. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14070. "type": "integer"
  14071. },
  14072. "runstatus": {
  14073. "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.今日免清算",
  14074. "type": "integer"
  14075. },
  14076. "sectionid": {
  14077. "description": "时间段号[多时段时用]",
  14078. "type": "integer"
  14079. },
  14080. "tradedate": {
  14081. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14082. "type": "string"
  14083. },
  14084. "tradedate2": {
  14085. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14086. "type": "string"
  14087. },
  14088. "updatetime": {
  14089. "description": "更新时间",
  14090. "type": "string"
  14091. }
  14092. }
  14093. },
  14094. "models.Messageboard": {
  14095. "type": "object",
  14096. "required": [
  14097. "messageboardid"
  14098. ],
  14099. "properties": {
  14100. "contactnum": {
  14101. "description": "联系电话",
  14102. "type": "string"
  14103. },
  14104. "createtime": {
  14105. "description": "创建时间",
  14106. "type": "string"
  14107. },
  14108. "message": {
  14109. "description": "留言信息",
  14110. "type": "string"
  14111. },
  14112. "messageboardid": {
  14113. "description": "留言簿ID(SEQ_MessageBoard)",
  14114. "type": "integer"
  14115. },
  14116. "userid": {
  14117. "description": "用户ID",
  14118. "type": "integer"
  14119. }
  14120. }
  14121. },
  14122. "models.MyCoupon": {
  14123. "type": "object",
  14124. "required": [
  14125. "accountid",
  14126. "coupontypeid"
  14127. ],
  14128. "properties": {
  14129. "accountid": {
  14130. "description": "资金账户ID",
  14131. "type": "integer"
  14132. },
  14133. "areauserid": {
  14134. "description": "所属机构",
  14135. "type": "integer"
  14136. },
  14137. "conditionvalue": {
  14138. "description": "条件阈值(可为0)",
  14139. "type": "number"
  14140. },
  14141. "couponcategroy": {
  14142. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14143. "type": "integer"
  14144. },
  14145. "couponname": {
  14146. "description": "优惠券名称",
  14147. "type": "string"
  14148. },
  14149. "coupontypeid": {
  14150. "description": "优惠券类型ID",
  14151. "type": "string"
  14152. },
  14153. "couponvalue": {
  14154. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14155. "type": "number"
  14156. },
  14157. "curfreezeqty": {
  14158. "description": "期末冻结数量",
  14159. "type": "integer"
  14160. },
  14161. "curqty": {
  14162. "description": "期末数量",
  14163. "type": "integer"
  14164. },
  14165. "isgeneral": {
  14166. "description": "是否通用券 - 0:否 1:是",
  14167. "type": "integer"
  14168. },
  14169. "isunusable": {
  14170. "description": "是否不可用",
  14171. "type": "boolean"
  14172. },
  14173. "limitedflag": {
  14174. "description": "是否指定商品 - 0:不限 1:限制",
  14175. "type": "integer"
  14176. },
  14177. "limitedgoodsids": {
  14178. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14179. "type": "string"
  14180. },
  14181. "orifreezeqty": {
  14182. "description": "期初冻结数量",
  14183. "type": "integer"
  14184. },
  14185. "oriqty": {
  14186. "description": "期初数量",
  14187. "type": "integer"
  14188. },
  14189. "reasontype": {
  14190. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14191. "type": "integer"
  14192. },
  14193. "todaydecrease": {
  14194. "description": "今日减少",
  14195. "type": "integer"
  14196. },
  14197. "todayincrease": {
  14198. "description": "今日增加",
  14199. "type": "integer"
  14200. },
  14201. "userid": {
  14202. "description": "用户ID",
  14203. "type": "integer"
  14204. },
  14205. "userscope": {
  14206. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14207. "type": "string"
  14208. }
  14209. }
  14210. },
  14211. "models.MyCouponHold": {
  14212. "type": "object",
  14213. "required": [
  14214. "couponholdid"
  14215. ],
  14216. "properties": {
  14217. "accountid": {
  14218. "description": "资金账户ID",
  14219. "type": "integer"
  14220. },
  14221. "conditionvalue": {
  14222. "description": "条件阈值(可为0)",
  14223. "type": "number"
  14224. },
  14225. "couponcategroy": {
  14226. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14227. "type": "integer"
  14228. },
  14229. "couponholdid": {
  14230. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14231. "type": "string"
  14232. },
  14233. "couponname": {
  14234. "description": "优惠券名称",
  14235. "type": "string"
  14236. },
  14237. "coupontypeid": {
  14238. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14239. "type": "string"
  14240. },
  14241. "couponvalue": {
  14242. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14243. "type": "number"
  14244. },
  14245. "createtime": {
  14246. "description": "创建时间",
  14247. "type": "string"
  14248. },
  14249. "enddate": {
  14250. "description": "结束日期",
  14251. "type": "string"
  14252. },
  14253. "giveapplyid": {
  14254. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14255. "type": "integer"
  14256. },
  14257. "holdstatus": {
  14258. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14259. "type": "integer"
  14260. },
  14261. "isgeneral": {
  14262. "description": "是否通用券 - 0:否 1:是",
  14263. "type": "integer"
  14264. },
  14265. "limitedflag": {
  14266. "description": "是否指定商品 - 0:不限 1:限制",
  14267. "type": "integer"
  14268. },
  14269. "limitedgoodsids": {
  14270. "description": "指定商品IDs[逗号分隔]",
  14271. "type": "string"
  14272. },
  14273. "qty": {
  14274. "description": "数量(按1平铺)",
  14275. "type": "integer"
  14276. },
  14277. "startdate": {
  14278. "description": "开始日期",
  14279. "type": "string"
  14280. },
  14281. "userid": {
  14282. "description": "用户ID",
  14283. "type": "integer"
  14284. },
  14285. "userscope": {
  14286. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14287. "type": "string"
  14288. }
  14289. }
  14290. },
  14291. "models.MyUsedCoupon": {
  14292. "type": "object",
  14293. "required": [
  14294. "coupontypeid",
  14295. "orderid"
  14296. ],
  14297. "properties": {
  14298. "accountid": {
  14299. "description": "资金账户ID(买方)",
  14300. "type": "integer"
  14301. },
  14302. "conditionvalue": {
  14303. "description": "条件阈值(可为0)",
  14304. "type": "number"
  14305. },
  14306. "couponcategroy": {
  14307. "description": "种类 - 1:现金券 2:折扣券",
  14308. "type": "integer"
  14309. },
  14310. "couponname": {
  14311. "description": "优惠券名称",
  14312. "type": "string"
  14313. },
  14314. "coupontypeid": {
  14315. "description": "优惠券类型ID(买方)",
  14316. "type": "string"
  14317. },
  14318. "couponvalue": {
  14319. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14320. "type": "number"
  14321. },
  14322. "createtime": {
  14323. "description": "创建时间",
  14324. "type": "string"
  14325. },
  14326. "goodsid": {
  14327. "description": "商品ID",
  14328. "type": "integer"
  14329. },
  14330. "handlestatus": {
  14331. "description": "处理状态",
  14332. "type": "integer"
  14333. },
  14334. "marketid": {
  14335. "description": "市场ID",
  14336. "type": "integer"
  14337. },
  14338. "offamount": {
  14339. "description": "优惠金额",
  14340. "type": "number"
  14341. },
  14342. "orderid": {
  14343. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14344. "type": "string"
  14345. },
  14346. "sellaccountid": {
  14347. "description": "资金账户ID(卖方)",
  14348. "type": "integer"
  14349. },
  14350. "tradeamount": {
  14351. "description": "成交金额",
  14352. "type": "number"
  14353. },
  14354. "tradeid": {
  14355. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14356. "type": "string"
  14357. },
  14358. "usedqty": {
  14359. "description": "使用数量",
  14360. "type": "integer"
  14361. }
  14362. }
  14363. },
  14364. "models.OperationPrimaryMenu": {
  14365. "type": "object",
  14366. "properties": {
  14367. "Children": {
  14368. "description": "二级功能菜单",
  14369. "type": "array",
  14370. "items": {
  14371. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14372. }
  14373. },
  14374. "Key": {
  14375. "description": "菜单KEY",
  14376. "type": "string"
  14377. },
  14378. "Label": {
  14379. "description": "菜单标题",
  14380. "type": "string"
  14381. }
  14382. }
  14383. },
  14384. "models.OperationSecondaryMenu": {
  14385. "type": "object",
  14386. "properties": {
  14387. "Key": {
  14388. "description": "菜单KEY",
  14389. "type": "string"
  14390. },
  14391. "Label": {
  14392. "description": "菜单标题",
  14393. "type": "string"
  14394. },
  14395. "TabList": {
  14396. "description": "三级功能菜单",
  14397. "type": "array",
  14398. "items": {
  14399. "$ref": "#/definitions/models.OperationTabMenu"
  14400. }
  14401. }
  14402. }
  14403. },
  14404. "models.OperationTabMenu": {
  14405. "type": "object",
  14406. "properties": {
  14407. "Key": {
  14408. "description": "菜单KEY",
  14409. "type": "string"
  14410. },
  14411. "Label": {
  14412. "description": "菜单标题",
  14413. "type": "string"
  14414. }
  14415. }
  14416. },
  14417. "models.QueryErrorInfosRsp": {
  14418. "type": "object",
  14419. "required": [
  14420. "errorid"
  14421. ],
  14422. "properties": {
  14423. "description": {
  14424. "description": "异常描述",
  14425. "type": "string"
  14426. },
  14427. "errorcode": {
  14428. "description": "异常代码",
  14429. "type": "string"
  14430. },
  14431. "errorid": {
  14432. "description": "异常ID",
  14433. "type": "integer"
  14434. },
  14435. "modulecode": {
  14436. "description": "所属模块",
  14437. "type": "string"
  14438. },
  14439. "operatecode": {
  14440. "description": "所属操作",
  14441. "type": "string"
  14442. },
  14443. "rownumber": {
  14444. "description": "行号",
  14445. "type": "string"
  14446. }
  14447. }
  14448. },
  14449. "models.QueryHedgeOrderDetailRsp": {
  14450. "type": "object",
  14451. "properties": {
  14452. "accountid": {
  14453. "description": "账户ID",
  14454. "type": "integer"
  14455. },
  14456. "buyorsell": {
  14457. "description": "买卖 - 0:买 1:卖",
  14458. "type": "integer"
  14459. },
  14460. "channelbuildtype": {
  14461. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14462. "type": "integer"
  14463. },
  14464. "channelinnerorderstatus": {
  14465. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14466. "type": "integer"
  14467. },
  14468. "channeloperatetype": {
  14469. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14470. "type": "integer"
  14471. },
  14472. "closetype": {
  14473. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14474. "type": "integer"
  14475. },
  14476. "curexchangerate": {
  14477. "description": "当前汇率",
  14478. "type": "number"
  14479. },
  14480. "exchangefullname": {
  14481. "description": "外部交易所全称",
  14482. "type": "string"
  14483. },
  14484. "goodscode": {
  14485. "description": "商品代码(内部)",
  14486. "type": "string"
  14487. },
  14488. "goodsid": {
  14489. "description": "商品ID",
  14490. "type": "integer"
  14491. },
  14492. "goodsname": {
  14493. "description": "商品名称",
  14494. "type": "string"
  14495. },
  14496. "marketid": {
  14497. "description": "市场ID",
  14498. "type": "integer"
  14499. },
  14500. "openfreezemargin": {
  14501. "description": "冻结保证金(冻结交易金额)",
  14502. "type": "number"
  14503. },
  14504. "orderid": {
  14505. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14506. "type": "string"
  14507. },
  14508. "orderprice": {
  14509. "description": "委托价格(账户)",
  14510. "type": "number"
  14511. },
  14512. "orderqty": {
  14513. "description": "委托数量",
  14514. "type": "integer"
  14515. },
  14516. "ordertime": {
  14517. "description": "委托时间",
  14518. "type": "string"
  14519. },
  14520. "pricemode": {
  14521. "description": "取价方式 - 1:市价 2: 限价",
  14522. "type": "integer"
  14523. },
  14524. "tradedate": {
  14525. "description": "交易日(yyyyMMdd)",
  14526. "type": "string"
  14527. },
  14528. "tradeqty": {
  14529. "description": "成交数量",
  14530. "type": "integer"
  14531. }
  14532. }
  14533. },
  14534. "models.QueryHedgeTradeDetailRsp": {
  14535. "type": "object",
  14536. "properties": {
  14537. "accountid": {
  14538. "description": "账号ID",
  14539. "type": "integer"
  14540. },
  14541. "buyorsell": {
  14542. "description": "方向 - 0:买 1:卖",
  14543. "type": "integer"
  14544. },
  14545. "channelbuildtype": {
  14546. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14547. "type": "integer"
  14548. },
  14549. "closecharge": {
  14550. "description": "平仓手续费(账户)",
  14551. "type": "number"
  14552. },
  14553. "closecharge2": {
  14554. "description": "平仓手续费(商品)",
  14555. "type": "number"
  14556. },
  14557. "closetype": {
  14558. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14559. "type": "integer"
  14560. },
  14561. "curexchangerate": {
  14562. "description": "当前汇率",
  14563. "type": "number"
  14564. },
  14565. "exchangefullname": {
  14566. "description": "外部交易所全称",
  14567. "type": "string"
  14568. },
  14569. "goodscode": {
  14570. "description": "商品代码(内部)",
  14571. "type": "string"
  14572. },
  14573. "goodsid": {
  14574. "description": "商品ID",
  14575. "type": "integer"
  14576. },
  14577. "goodsname": {
  14578. "description": "商品名称",
  14579. "type": "string"
  14580. },
  14581. "marketid": {
  14582. "description": "市场ID",
  14583. "type": "integer"
  14584. },
  14585. "opencharge": {
  14586. "description": "建仓手续费(账户)",
  14587. "type": "number"
  14588. },
  14589. "opencharge2": {
  14590. "description": "建仓手续费(商品)",
  14591. "type": "number"
  14592. },
  14593. "orderid": {
  14594. "description": "委托单号",
  14595. "type": "string"
  14596. },
  14597. "tradeamount": {
  14598. "description": "成交金额(账户)",
  14599. "type": "number"
  14600. },
  14601. "tradedate": {
  14602. "description": "交易日(yyyyMMdd)",
  14603. "type": "string"
  14604. },
  14605. "tradeid": {
  14606. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14607. "type": "string"
  14608. },
  14609. "tradeprice": {
  14610. "description": "成交价格",
  14611. "type": "number"
  14612. },
  14613. "tradeqty": {
  14614. "description": "成交数量",
  14615. "type": "integer"
  14616. },
  14617. "tradetime": {
  14618. "description": "成交时间",
  14619. "type": "string"
  14620. },
  14621. "tradetype": {
  14622. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14623. "type": "integer"
  14624. }
  14625. }
  14626. },
  14627. "models.QuotePrimaryMenu": {
  14628. "type": "object",
  14629. "properties": {
  14630. "Index": {
  14631. "description": "序号",
  14632. "type": "integer"
  14633. },
  14634. "Key": {
  14635. "description": "键名",
  14636. "type": "string"
  14637. },
  14638. "Name": {
  14639. "description": "菜单名称",
  14640. "type": "string"
  14641. },
  14642. "SubMenus": {
  14643. "description": "子菜单",
  14644. "type": "array",
  14645. "items": {
  14646. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14647. }
  14648. },
  14649. "SubTitleType": {
  14650. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14651. "type": "integer"
  14652. },
  14653. "TradeModes": {
  14654. "description": "包含市场交易类型",
  14655. "type": "string"
  14656. }
  14657. }
  14658. },
  14659. "models.QuoteSecondaryMenu": {
  14660. "type": "object",
  14661. "properties": {
  14662. "ExExchangeCode": {
  14663. "description": "外部交易所代码",
  14664. "type": "string"
  14665. },
  14666. "ExExchangeID": {
  14667. "description": "外部交易所ID",
  14668. "type": "integer"
  14669. },
  14670. "GoodsGroupIDs": {
  14671. "description": "商品组ID列表",
  14672. "type": "array",
  14673. "items": {
  14674. "type": "integer"
  14675. }
  14676. },
  14677. "Index": {
  14678. "description": "序号",
  14679. "type": "integer"
  14680. },
  14681. "MarketID": {
  14682. "description": "市场ID",
  14683. "type": "integer"
  14684. },
  14685. "MenuTitle": {
  14686. "description": "菜单标题(市场名称或外部交易所名称)",
  14687. "type": "string"
  14688. },
  14689. "TradeMode": {
  14690. "description": "交易模式",
  14691. "type": "integer"
  14692. }
  14693. }
  14694. },
  14695. "models.SearchGoods": {
  14696. "type": "object",
  14697. "required": [
  14698. "goodscode",
  14699. "goodsid",
  14700. "goodsname",
  14701. "marketid",
  14702. "trademode"
  14703. ],
  14704. "properties": {
  14705. "goodscode": {
  14706. "description": "商品代码(内部)",
  14707. "type": "string"
  14708. },
  14709. "goodsid": {
  14710. "description": "商品ID(自增ID SEQ_GOODS)",
  14711. "type": "integer"
  14712. },
  14713. "goodsname": {
  14714. "description": "商品名称",
  14715. "type": "string"
  14716. },
  14717. "marketid": {
  14718. "description": "所属市场ID",
  14719. "type": "integer"
  14720. },
  14721. "marketname": {
  14722. "description": "市场名称",
  14723. "type": "string"
  14724. },
  14725. "trademode": {
  14726. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14727. "type": "integer"
  14728. }
  14729. }
  14730. },
  14731. "models.Szdz2imageconfig": {
  14732. "type": "object",
  14733. "required": [
  14734. "configid"
  14735. ],
  14736. "properties": {
  14737. "areauserid": {
  14738. "description": "所属机构ID",
  14739. "type": "integer"
  14740. },
  14741. "configid": {
  14742. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14743. "type": "integer"
  14744. },
  14745. "createdate": {
  14746. "description": "创建时间",
  14747. "type": "string"
  14748. },
  14749. "creatorid": {
  14750. "description": "创建人",
  14751. "type": "integer"
  14752. },
  14753. "imagepath": {
  14754. "description": "图片",
  14755. "type": "string"
  14756. },
  14757. "imagetype": {
  14758. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14759. "type": "integer"
  14760. },
  14761. "isshow": {
  14762. "description": "是否展示 - 0:不展示 1:展示",
  14763. "type": "integer"
  14764. },
  14765. "modifierid": {
  14766. "description": "操作人",
  14767. "type": "integer"
  14768. },
  14769. "sort": {
  14770. "description": "排序",
  14771. "type": "integer"
  14772. },
  14773. "title": {
  14774. "description": "标题",
  14775. "type": "string"
  14776. },
  14777. "updatedate": {
  14778. "description": "修改时间",
  14779. "type": "string"
  14780. },
  14781. "url": {
  14782. "description": "链接(地址或商品ID)",
  14783. "type": "string"
  14784. },
  14785. "urltype": {
  14786. "description": "链接类型 - 1:直接地址 2:商品ID",
  14787. "type": "integer"
  14788. }
  14789. }
  14790. },
  14791. "models.Szdz3convertconfig": {
  14792. "type": "object",
  14793. "required": [
  14794. "converttype",
  14795. "innergoodsid",
  14796. "outergoodscode"
  14797. ],
  14798. "properties": {
  14799. "canin": {
  14800. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14801. "type": "integer"
  14802. },
  14803. "canout": {
  14804. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14805. "type": "integer"
  14806. },
  14807. "converttype": {
  14808. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14809. "type": "integer"
  14810. },
  14811. "createtime": {
  14812. "description": "创建时间",
  14813. "type": "string"
  14814. },
  14815. "creatorid": {
  14816. "description": "创建人",
  14817. "type": "integer"
  14818. },
  14819. "daymaxvalue": {
  14820. "description": "当日最大转入限制",
  14821. "type": "number"
  14822. },
  14823. "freezedays": {
  14824. "description": "冻结天数 [5:花生米转交易]",
  14825. "type": "integer"
  14826. },
  14827. "innergoodsid": {
  14828. "description": "内部商品ID[交易]",
  14829. "type": "integer"
  14830. },
  14831. "inratio": {
  14832. "description": "目标值",
  14833. "type": "integer"
  14834. },
  14835. "modifierid": {
  14836. "description": "修改人",
  14837. "type": "integer"
  14838. },
  14839. "modifytime": {
  14840. "description": "修改时间",
  14841. "type": "string"
  14842. },
  14843. "outergoodscode": {
  14844. "description": "外部商品代码[JD\\PD]",
  14845. "type": "string"
  14846. },
  14847. "outratio": {
  14848. "description": "源值",
  14849. "type": "integer"
  14850. },
  14851. "pddecimalplace": {
  14852. "description": "PD小数位",
  14853. "type": "integer"
  14854. },
  14855. "timemaxvalue": {
  14856. "description": "单次最大转入限制",
  14857. "type": "number"
  14858. },
  14859. "timeminvalue": {
  14860. "description": "单次最小转入限制",
  14861. "type": "number"
  14862. }
  14863. }
  14864. },
  14865. "models.Szdz3searchwhitelist": {
  14866. "type": "object",
  14867. "required": [
  14868. "userid"
  14869. ],
  14870. "properties": {
  14871. "createtime": {
  14872. "description": "创建时间",
  14873. "type": "string"
  14874. },
  14875. "creatorid": {
  14876. "description": "创建人",
  14877. "type": "integer"
  14878. },
  14879. "modifierid": {
  14880. "description": "修改人",
  14881. "type": "integer"
  14882. },
  14883. "modifytime": {
  14884. "description": "修改时间",
  14885. "type": "string"
  14886. },
  14887. "userid": {
  14888. "description": "用户ID",
  14889. "type": "integer"
  14890. }
  14891. }
  14892. },
  14893. "models.Taaccount": {
  14894. "type": "object",
  14895. "required": [
  14896. "accountid",
  14897. "userid"
  14898. ],
  14899. "properties": {
  14900. "accountflag": {
  14901. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14902. "type": "integer"
  14903. },
  14904. "accountid": {
  14905. "description": "资金账户ID",
  14906. "type": "integer"
  14907. },
  14908. "accountname": {
  14909. "description": "账户名称",
  14910. "type": "string"
  14911. },
  14912. "balance": {
  14913. "description": "期初余额",
  14914. "type": "number"
  14915. },
  14916. "capitalbalance": {
  14917. "description": "本金余额[外部子账户实际出入金余额]",
  14918. "type": "number"
  14919. },
  14920. "changeflag": {
  14921. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14922. "type": "integer"
  14923. },
  14924. "changetime": {
  14925. "description": "账户状态变更时间",
  14926. "type": "string"
  14927. },
  14928. "closepl": {
  14929. "description": "今日平仓盈亏",
  14930. "type": "number"
  14931. },
  14932. "creditdecrease": {
  14933. "description": "今日授信减少",
  14934. "type": "number"
  14935. },
  14936. "creditincrease": {
  14937. "description": "今日授信增加",
  14938. "type": "number"
  14939. },
  14940. "currencyid": {
  14941. "description": "货币ID",
  14942. "type": "integer"
  14943. },
  14944. "currentbalance": {
  14945. "description": "期末余额",
  14946. "type": "number"
  14947. },
  14948. "freezecharge": {
  14949. "description": "手续费冻结",
  14950. "type": "number"
  14951. },
  14952. "freezemargin": {
  14953. "description": "冻结保证金",
  14954. "type": "number"
  14955. },
  14956. "fromaccountid": {
  14957. "description": "所属上级账户",
  14958. "type": "integer"
  14959. },
  14960. "inamount": {
  14961. "description": "今日入金金额(包括三方入金)",
  14962. "type": "number"
  14963. },
  14964. "ismain": {
  14965. "description": "是否母账号 0:不是母账户 1:是母账户",
  14966. "type": "integer"
  14967. },
  14968. "ismarketaccount": {
  14969. "description": "是否机构接单账号 0:不是 1:是",
  14970. "type": "integer"
  14971. },
  14972. "isreckonaccount": {
  14973. "description": "是否机构分润账号 0:不是 1:是",
  14974. "type": "integer"
  14975. },
  14976. "mortgagecredit": {
  14977. "description": "授信金额",
  14978. "type": "number"
  14979. },
  14980. "orifreezecharge": {
  14981. "description": "期初手续费冻结",
  14982. "type": "number"
  14983. },
  14984. "orifreezemargin": {
  14985. "description": "期初冻结保证金",
  14986. "type": "number"
  14987. },
  14988. "orimortgagecredit": {
  14989. "description": "期初授信金额",
  14990. "type": "number"
  14991. },
  14992. "oriothercredit": {
  14993. "description": "期初其它授信金额",
  14994. "type": "number"
  14995. },
  14996. "oriotherfreezemargin": {
  14997. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14998. "type": "number"
  14999. },
  15000. "orioutamountfreeze": {
  15001. "description": "期初出金冻结",
  15002. "type": "number"
  15003. },
  15004. "oriusedmargin": {
  15005. "description": "期初占用保证金",
  15006. "type": "number"
  15007. },
  15008. "othercredit": {
  15009. "description": "其它授信金额",
  15010. "type": "number"
  15011. },
  15012. "othercreditdecrease": {
  15013. "description": "今日其它授信减少",
  15014. "type": "number"
  15015. },
  15016. "othercreditincrease": {
  15017. "description": "今日其它授信增加",
  15018. "type": "number"
  15019. },
  15020. "otherfreezemargin": {
  15021. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15022. "type": "number"
  15023. },
  15024. "otherincome": {
  15025. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15026. "type": "number"
  15027. },
  15028. "otherpay": {
  15029. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15030. "type": "number"
  15031. },
  15032. "outamount": {
  15033. "description": "今日出金金额(包括三方出金)",
  15034. "type": "number"
  15035. },
  15036. "outamountfreeze": {
  15037. "description": "出金冻结",
  15038. "type": "number"
  15039. },
  15040. "outthreshold": {
  15041. "description": "出金阈值",
  15042. "type": "number"
  15043. },
  15044. "parentaccountid": {
  15045. "description": "所属根账号",
  15046. "type": "integer"
  15047. },
  15048. "paycharge": {
  15049. "description": "今日手续费支出",
  15050. "type": "number"
  15051. },
  15052. "relatedaccountstatus": {
  15053. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15054. "type": "integer"
  15055. },
  15056. "relateduserid": {
  15057. "description": "关联用户",
  15058. "type": "integer"
  15059. },
  15060. "serivcegroup": {
  15061. "description": "服务分组",
  15062. "type": "integer"
  15063. },
  15064. "signstatus": {
  15065. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15066. "type": "integer"
  15067. },
  15068. "sublevelpath": {
  15069. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15070. "type": "string"
  15071. },
  15072. "taaccounttype": {
  15073. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15074. "type": "integer"
  15075. },
  15076. "thirdinamount": {
  15077. "description": "今日三方入金",
  15078. "type": "number"
  15079. },
  15080. "thirdoutamount": {
  15081. "description": "今日三方出金",
  15082. "type": "number"
  15083. },
  15084. "tradestatus": {
  15085. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15086. "type": "integer"
  15087. },
  15088. "tradestatuschangetime": {
  15089. "description": "激活时间",
  15090. "type": "string"
  15091. },
  15092. "transferamount": {
  15093. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15094. "type": "number"
  15095. },
  15096. "usedmargin": {
  15097. "description": "占用保证金",
  15098. "type": "number"
  15099. },
  15100. "userid": {
  15101. "description": "用户ID",
  15102. "type": "integer"
  15103. }
  15104. }
  15105. },
  15106. "models.Tablecolumnconfig": {
  15107. "type": "object",
  15108. "required": [
  15109. "autoid"
  15110. ],
  15111. "properties": {
  15112. "aligntype": {
  15113. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15114. "type": "integer"
  15115. },
  15116. "autoid": {
  15117. "description": "AutoID",
  15118. "type": "integer"
  15119. },
  15120. "columnfield": {
  15121. "description": "列字段",
  15122. "type": "string"
  15123. },
  15124. "columntitle": {
  15125. "description": "列Title",
  15126. "type": "string"
  15127. },
  15128. "columnwidth": {
  15129. "description": "列宽",
  15130. "type": "string"
  15131. },
  15132. "formatterstring": {
  15133. "description": "格式化字符",
  15134. "type": "string"
  15135. },
  15136. "formattertype": {
  15137. "description": "格式化类型",
  15138. "type": "string"
  15139. },
  15140. "groupname": {
  15141. "description": "表头分组名称",
  15142. "type": "string"
  15143. },
  15144. "isshow": {
  15145. "description": "是否显示 - 0:不显示 1:显示",
  15146. "type": "integer"
  15147. },
  15148. "needsummary": {
  15149. "description": "是否需要汇总 - 0:不需要 1:需要",
  15150. "type": "integer"
  15151. },
  15152. "orderindex": {
  15153. "description": "顺序",
  15154. "type": "integer"
  15155. },
  15156. "remark": {
  15157. "description": "备注",
  15158. "type": "string"
  15159. },
  15160. "summarytype": {
  15161. "description": "汇总类型 - 1:加总 2:最后一个",
  15162. "type": "integer"
  15163. },
  15164. "tablekey": {
  15165. "description": "列表Key",
  15166. "type": "string"
  15167. }
  15168. }
  15169. },
  15170. "models.Useraccount": {
  15171. "type": "object",
  15172. "required": [
  15173. "userid"
  15174. ],
  15175. "properties": {
  15176. "accountname": {
  15177. "description": "账户名称(机构名称)",
  15178. "type": "string"
  15179. },
  15180. "accountstatus": {
  15181. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15182. "type": "integer"
  15183. },
  15184. "auditremark": {
  15185. "description": "审核备注",
  15186. "type": "string"
  15187. },
  15188. "audittime": {
  15189. "description": "审核时间",
  15190. "type": "string"
  15191. },
  15192. "audituserid": {
  15193. "description": "审核人",
  15194. "type": "integer"
  15195. },
  15196. "broker": {
  15197. "description": "所属经纪人ID",
  15198. "type": "integer"
  15199. },
  15200. "canceltime": {
  15201. "description": "销户时间",
  15202. "type": "string"
  15203. },
  15204. "canceluserid": {
  15205. "description": "销户人",
  15206. "type": "integer"
  15207. },
  15208. "createtime": {
  15209. "description": "创建时间",
  15210. "type": "string"
  15211. },
  15212. "creatorid": {
  15213. "description": "创建人",
  15214. "type": "integer"
  15215. },
  15216. "hasauth": {
  15217. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15218. "type": "integer"
  15219. },
  15220. "isanonymous": {
  15221. "description": "是否匿名下单 - 0:否 1:是",
  15222. "type": "integer"
  15223. },
  15224. "maxinvestornum": {
  15225. "description": "最大用户数(经纪会员下投资者个数)",
  15226. "type": "integer"
  15227. },
  15228. "memberuserid": {
  15229. "description": "所属会员ID",
  15230. "type": "integer"
  15231. },
  15232. "modifierid": {
  15233. "description": "修改人",
  15234. "type": "integer"
  15235. },
  15236. "modifyremark": {
  15237. "description": "变更备注",
  15238. "type": "string"
  15239. },
  15240. "modifystatus": {
  15241. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15242. "type": "integer"
  15243. },
  15244. "modifytime": {
  15245. "description": "修改时间",
  15246. "type": "string"
  15247. },
  15248. "parentuserid": {
  15249. "description": "所属机构ID",
  15250. "type": "integer"
  15251. },
  15252. "reckonaccountid": {
  15253. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15254. "type": "integer"
  15255. },
  15256. "refercount": {
  15257. "description": "推荐总人数",
  15258. "type": "integer"
  15259. },
  15260. "refereeuserid": {
  15261. "description": "推荐人ID",
  15262. "type": "integer"
  15263. },
  15264. "refernum": {
  15265. "description": "推荐码",
  15266. "type": "string"
  15267. },
  15268. "subarealevelpath": {
  15269. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15270. "type": "string"
  15271. },
  15272. "userid": {
  15273. "description": "用户ID",
  15274. "type": "integer"
  15275. },
  15276. "usertype": {
  15277. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15278. "type": "integer"
  15279. }
  15280. }
  15281. },
  15282. "models.Userfavoritegoods": {
  15283. "type": "object",
  15284. "required": [
  15285. "goodsid"
  15286. ],
  15287. "properties": {
  15288. "goodsid": {
  15289. "description": "商品ID",
  15290. "type": "integer"
  15291. }
  15292. }
  15293. },
  15294. "models.Userinfo": {
  15295. "type": "object",
  15296. "required": [
  15297. "userid"
  15298. ],
  15299. "properties": {
  15300. "address": {
  15301. "description": "地址",
  15302. "type": "string"
  15303. },
  15304. "attachment1": {
  15305. "description": "附件1",
  15306. "type": "string"
  15307. },
  15308. "attachment2": {
  15309. "description": "附件2",
  15310. "type": "string"
  15311. },
  15312. "bankaccount": {
  15313. "description": "银行帐号 (加密存储)",
  15314. "type": "string"
  15315. },
  15316. "bankaccountname": {
  15317. "description": "收款人名称",
  15318. "type": "string"
  15319. },
  15320. "bankcardfrontphotourl": {
  15321. "description": "银行卡正面照地址",
  15322. "type": "string"
  15323. },
  15324. "bankid": {
  15325. "description": "银行编码",
  15326. "type": "string"
  15327. },
  15328. "bankname": {
  15329. "description": "银行名称",
  15330. "type": "string"
  15331. },
  15332. "biznature": {
  15333. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15334. "type": "integer"
  15335. },
  15336. "bizscope": {
  15337. "description": "企业经营范围(企业)",
  15338. "type": "string"
  15339. },
  15340. "cardbackphotourl": {
  15341. "description": "证件背面图片地址",
  15342. "type": "string"
  15343. },
  15344. "cardfrontphotourl": {
  15345. "description": "证件正面图片地址",
  15346. "type": "string"
  15347. },
  15348. "cardnum": {
  15349. "description": "证件号码(加密存储)",
  15350. "type": "string"
  15351. },
  15352. "cardtypeid": {
  15353. "description": "证件类型ID",
  15354. "type": "integer"
  15355. },
  15356. "cityid": {
  15357. "description": "市",
  15358. "type": "integer"
  15359. },
  15360. "company": {
  15361. "description": "公司(个人)",
  15362. "type": "string"
  15363. },
  15364. "contactname": {
  15365. "description": "联系人",
  15366. "type": "string"
  15367. },
  15368. "countryid": {
  15369. "description": "国家",
  15370. "type": "integer"
  15371. },
  15372. "createtime": {
  15373. "description": "创建时间",
  15374. "type": "string"
  15375. },
  15376. "creatorid": {
  15377. "description": "创建人",
  15378. "type": "integer"
  15379. },
  15380. "customername": {
  15381. "description": "客户名称(企业名称)",
  15382. "type": "string"
  15383. },
  15384. "districtid": {
  15385. "description": "地区",
  15386. "type": "integer"
  15387. },
  15388. "email": {
  15389. "description": "邮件(加密存储)",
  15390. "type": "string"
  15391. },
  15392. "fax": {
  15393. "description": "传真(加密存储)",
  15394. "type": "string"
  15395. },
  15396. "halfbodyphotourl": {
  15397. "description": "半身照地址",
  15398. "type": "string"
  15399. },
  15400. "hasencrypt": {
  15401. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15402. "type": "integer"
  15403. },
  15404. "headurl": {
  15405. "description": "头像地址",
  15406. "type": "string"
  15407. },
  15408. "legalcardbackphotourl": {
  15409. "description": "法人身份证背面照地址",
  15410. "type": "string"
  15411. },
  15412. "legalcardfrontphotourl": {
  15413. "description": "法人身份证正面照地址",
  15414. "type": "string"
  15415. },
  15416. "legalpersonname": {
  15417. "description": "法人姓名(企业)",
  15418. "type": "string"
  15419. },
  15420. "mobile": {
  15421. "description": "手机号码(加密存储)",
  15422. "type": "string"
  15423. },
  15424. "mobile2": {
  15425. "description": "手机号码[明文-尚志]",
  15426. "type": "string"
  15427. },
  15428. "modifierid": {
  15429. "description": "修改人",
  15430. "type": "integer"
  15431. },
  15432. "modifiertime": {
  15433. "description": "修改时间",
  15434. "type": "string"
  15435. },
  15436. "needinvoice": {
  15437. "description": "是否需要发票 - 0:不需要 1:需要",
  15438. "type": "integer"
  15439. },
  15440. "nickname": {
  15441. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15442. "type": "string"
  15443. },
  15444. "openmode": {
  15445. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15446. "type": "integer"
  15447. },
  15448. "otherurl": {
  15449. "description": "其它图片地址[使用分号分隔]",
  15450. "type": "string"
  15451. },
  15452. "postalcode": {
  15453. "description": "邮政编码",
  15454. "type": "string"
  15455. },
  15456. "provinceid": {
  15457. "description": "省",
  15458. "type": "integer"
  15459. },
  15460. "qq": {
  15461. "description": "QQ(加密存储",
  15462. "type": "string"
  15463. },
  15464. "remark": {
  15465. "description": "备注",
  15466. "type": "string"
  15467. },
  15468. "sex": {
  15469. "description": "用户性别 0: 女 1: 男",
  15470. "type": "integer"
  15471. },
  15472. "signpdfurl": {
  15473. "description": "签约pdf文件",
  15474. "type": "string"
  15475. },
  15476. "telphone": {
  15477. "description": "联系电话(加密存储)",
  15478. "type": "string"
  15479. },
  15480. "userid": {
  15481. "description": "用户ID",
  15482. "type": "integer"
  15483. },
  15484. "userinfotype": {
  15485. "description": "用户信息类型 - 1:个人 2:企业",
  15486. "type": "integer"
  15487. },
  15488. "userstatus": {
  15489. "description": "用户状态 - 1:正常 2:注销",
  15490. "type": "integer"
  15491. },
  15492. "usertype": {
  15493. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15494. "type": "integer"
  15495. },
  15496. "wechat": {
  15497. "description": "微信(加密存储)",
  15498. "type": "string"
  15499. },
  15500. "wskhinfo": {
  15501. "description": "开户申请信息(JSON)",
  15502. "type": "string"
  15503. }
  15504. }
  15505. },
  15506. "models.WRCategoryTree": {
  15507. "type": "object",
  15508. "required": [
  15509. "categoryid"
  15510. ],
  15511. "properties": {
  15512. "areauserid": {
  15513. "description": "所属机构",
  15514. "type": "integer"
  15515. },
  15516. "categorydesc": {
  15517. "description": "类别描述",
  15518. "type": "string"
  15519. },
  15520. "categoryid": {
  15521. "description": "类别ID(SEQ_WRCATEGORY)",
  15522. "type": "integer"
  15523. },
  15524. "categoryname": {
  15525. "description": "类别名称",
  15526. "type": "string"
  15527. },
  15528. "iconurl": {
  15529. "description": "图标地址",
  15530. "type": "string"
  15531. },
  15532. "orderindex": {
  15533. "description": "顺序",
  15534. "type": "integer"
  15535. },
  15536. "parentcategoryid": {
  15537. "description": "父类别ID",
  15538. "type": "integer"
  15539. },
  15540. "subcategory": {
  15541. "description": "子分类",
  15542. "type": "array",
  15543. "items": {
  15544. "$ref": "#/definitions/models.WRCategoryTree"
  15545. }
  15546. }
  15547. }
  15548. },
  15549. "models.WRSConverTDetail": {
  15550. "type": "object",
  15551. "properties": {
  15552. "convertratio": {
  15553. "description": "套保系数",
  15554. "type": "number"
  15555. },
  15556. "deliverygoodsid": {
  15557. "description": "现货品种ID",
  15558. "type": "integer"
  15559. },
  15560. "middlegoodscode": {
  15561. "description": "套保品种代码",
  15562. "type": "string"
  15563. },
  15564. "middlegoodsid": {
  15565. "description": "套保品种ID",
  15566. "type": "integer"
  15567. },
  15568. "middlegoodsname": {
  15569. "description": "套保品种名称",
  15570. "type": "string"
  15571. },
  15572. "modifytime": {
  15573. "description": "修改时间",
  15574. "type": "string"
  15575. },
  15576. "wrstandardid": {
  15577. "description": "现货商品ID",
  15578. "type": "integer"
  15579. }
  15580. }
  15581. },
  15582. "models.WRStandardInfo": {
  15583. "type": "object",
  15584. "required": [
  15585. "wrstandardid"
  15586. ],
  15587. "properties": {
  15588. "createtime": {
  15589. "description": "创建时间",
  15590. "type": "string"
  15591. },
  15592. "creatorid": {
  15593. "description": "创建人",
  15594. "type": "integer"
  15595. },
  15596. "deliverygoodsid": {
  15597. "description": "品种ID",
  15598. "type": "integer"
  15599. },
  15600. "deliverygoodsname": {
  15601. "description": "交割商品名称",
  15602. "type": "string"
  15603. },
  15604. "factoryitemjson": {
  15605. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15606. "type": "string"
  15607. },
  15608. "isvalid": {
  15609. "description": "是否有效 - 0:无效 1:有效",
  15610. "type": "integer"
  15611. },
  15612. "minivalue": {
  15613. "description": "最小变动值",
  15614. "type": "integer"
  15615. },
  15616. "minivaluedp": {
  15617. "description": "最小变动值小数位",
  15618. "type": "integer"
  15619. },
  15620. "realminivalue": {
  15621. "description": "实际最小变动值",
  15622. "type": "integer"
  15623. },
  15624. "realminivaluedp": {
  15625. "description": "实际最小变动值小数位",
  15626. "type": "integer"
  15627. },
  15628. "unitid": {
  15629. "description": "单位ID",
  15630. "type": "integer"
  15631. },
  15632. "unitname": {
  15633. "description": "单位",
  15634. "type": "string"
  15635. },
  15636. "updatetime": {
  15637. "description": "更新时间",
  15638. "type": "string"
  15639. },
  15640. "updatorid": {
  15641. "description": "更新人",
  15642. "type": "integer"
  15643. },
  15644. "wrsstatus": {
  15645. "description": "状态 - 作废 - 0:未激活 1:正常",
  15646. "type": "integer"
  15647. },
  15648. "wrstandardcode": {
  15649. "description": "仓单标准代码",
  15650. "type": "string"
  15651. },
  15652. "wrstandardid": {
  15653. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15654. "type": "integer"
  15655. },
  15656. "wrstandardname": {
  15657. "description": "仓单标准名称",
  15658. "type": "string"
  15659. }
  15660. }
  15661. },
  15662. "models.Warehouseinfo": {
  15663. "type": "object",
  15664. "required": [
  15665. "autoid",
  15666. "warehousecode"
  15667. ],
  15668. "properties": {
  15669. "address": {
  15670. "description": "详细地址",
  15671. "type": "string"
  15672. },
  15673. "areauserid": {
  15674. "description": "所属机构",
  15675. "type": "integer"
  15676. },
  15677. "autoid": {
  15678. "description": "自增ID",
  15679. "type": "integer"
  15680. },
  15681. "cityid": {
  15682. "description": "市",
  15683. "type": "integer"
  15684. },
  15685. "contactname": {
  15686. "description": "联系人",
  15687. "type": "string"
  15688. },
  15689. "contactnum": {
  15690. "description": "联系电话",
  15691. "type": "string"
  15692. },
  15693. "countryid": {
  15694. "description": "国家",
  15695. "type": "integer"
  15696. },
  15697. "createtime": {
  15698. "description": "创建时间",
  15699. "type": "string"
  15700. },
  15701. "districtid": {
  15702. "description": "区",
  15703. "type": "integer"
  15704. },
  15705. "hasvideo": {
  15706. "description": "是否有视频 - 0:无 1:有",
  15707. "type": "integer"
  15708. },
  15709. "provinceid": {
  15710. "description": "省",
  15711. "type": "integer"
  15712. },
  15713. "remark": {
  15714. "description": "审核备注",
  15715. "type": "string"
  15716. },
  15717. "videourl": {
  15718. "description": "视频地址",
  15719. "type": "string"
  15720. },
  15721. "warehousecode": {
  15722. "description": "仓库代码",
  15723. "type": "string"
  15724. },
  15725. "warehousename": {
  15726. "description": "仓库名称",
  15727. "type": "string"
  15728. },
  15729. "warehousestatus": {
  15730. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15731. "type": "integer"
  15732. },
  15733. "warehousetype": {
  15734. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15735. "type": "integer"
  15736. }
  15737. }
  15738. },
  15739. "order.QueryHisTradeDetailRsp": {
  15740. "type": "object",
  15741. "required": [
  15742. "accountid",
  15743. "buyorsell",
  15744. "goodsid",
  15745. "histradedate",
  15746. "marketid",
  15747. "memberuserid",
  15748. "orderid",
  15749. "tradeamount",
  15750. "tradedate",
  15751. "tradeid",
  15752. "tradeprice",
  15753. "tradeqty",
  15754. "tradetime"
  15755. ],
  15756. "properties": {
  15757. "accountid": {
  15758. "description": "账户ID[报价币种]",
  15759. "type": "integer"
  15760. },
  15761. "buildtype": {
  15762. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15763. "type": "integer"
  15764. },
  15765. "buyorsell": {
  15766. "description": "方向 - 0:买 1:卖",
  15767. "type": "integer"
  15768. },
  15769. "charge": {
  15770. "description": "手续费",
  15771. "type": "number"
  15772. },
  15773. "closecharge": {
  15774. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15775. "type": "number"
  15776. },
  15777. "closeexchagechargevalue": {
  15778. "description": "平仓交易所手续费设置值",
  15779. "type": "number"
  15780. },
  15781. "closefeealgorithm": {
  15782. "description": "平仓手续费收取方式 1:比率 2:固定",
  15783. "type": "integer"
  15784. },
  15785. "closememberchargevalue": {
  15786. "description": "平仓会员手续费设置值",
  15787. "type": "number"
  15788. },
  15789. "closepl": {
  15790. "description": "平仓盈亏",
  15791. "type": "number"
  15792. },
  15793. "closepl2": {
  15794. "description": "平仓盈亏[逐笔]",
  15795. "type": "number"
  15796. },
  15797. "closeqty": {
  15798. "description": "平仓数量(先建后平操作 需要记录)",
  15799. "type": "integer"
  15800. },
  15801. "creditamount": {
  15802. "description": "授信金额",
  15803. "type": "number"
  15804. },
  15805. "gcaccountid": {
  15806. "description": "账户ID[合约币种]",
  15807. "type": "integer"
  15808. },
  15809. "goodscode": {
  15810. "description": "商品代码",
  15811. "type": "string"
  15812. },
  15813. "goodsid": {
  15814. "description": "商品ID",
  15815. "type": "integer"
  15816. },
  15817. "goodsname": {
  15818. "description": "商品名称",
  15819. "type": "string"
  15820. },
  15821. "histradedate": {
  15822. "description": "历史交易日",
  15823. "type": "string"
  15824. },
  15825. "intclosepl": {
  15826. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15827. "type": "integer"
  15828. },
  15829. "isconfirmexercise": {
  15830. "description": "是否确认行权- 0:否 1:是",
  15831. "type": "integer"
  15832. },
  15833. "ismain": {
  15834. "description": "是否主单 - 0:不是 1:是",
  15835. "type": "integer"
  15836. },
  15837. "ispreexercise": {
  15838. "description": "是否预申报- 0:否 1:是",
  15839. "type": "integer"
  15840. },
  15841. "isreckoned": {
  15842. "description": "是否结算 - 0:未结算 1:已结算",
  15843. "type": "integer"
  15844. },
  15845. "isvaliddata": {
  15846. "description": "是否有效 - 0:无效 1:有效",
  15847. "type": "integer"
  15848. },
  15849. "listingselecttype": {
  15850. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15851. "type": "integer"
  15852. },
  15853. "marketid": {
  15854. "description": "市场ID",
  15855. "type": "integer"
  15856. },
  15857. "marketname": {
  15858. "description": "市场名称",
  15859. "type": "string"
  15860. },
  15861. "matchaccountid": {
  15862. "description": "对手账号id",
  15863. "type": "integer"
  15864. },
  15865. "memberuserid": {
  15866. "description": "会员id 个人投资者 需要填写",
  15867. "type": "integer"
  15868. },
  15869. "opencharge": {
  15870. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15871. "type": "number"
  15872. },
  15873. "openexchagechargevalue": {
  15874. "description": "建仓交易所手续费设置值",
  15875. "type": "number"
  15876. },
  15877. "openfeealgorithm": {
  15878. "description": "建仓手续费收取方式 1:比率 2:固定",
  15879. "type": "integer"
  15880. },
  15881. "openmemberchargevalue": {
  15882. "description": "建仓会员手续费设置值",
  15883. "type": "number"
  15884. },
  15885. "openqty": {
  15886. "description": "开仓数量(先建后平操作 需要记录)",
  15887. "type": "integer"
  15888. },
  15889. "optiontype": {
  15890. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15891. "type": "integer"
  15892. },
  15893. "orderid": {
  15894. "description": "委托单号",
  15895. "type": "string"
  15896. },
  15897. "performanceplanid": {
  15898. "description": "履约计划ID[期权]",
  15899. "type": "integer"
  15900. },
  15901. "performancestatus": {
  15902. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15903. "type": "integer"
  15904. },
  15905. "preexerciseprice": {
  15906. "description": "预申报价格",
  15907. "type": "number"
  15908. },
  15909. "premium": {
  15910. "description": "权利金 - [持仓单的权利金]",
  15911. "type": "number"
  15912. },
  15913. "relatedouttradeid": {
  15914. "description": "关联外部成交单ID",
  15915. "type": "integer"
  15916. },
  15917. "status": {
  15918. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15919. "type": "integer"
  15920. },
  15921. "tradeamount": {
  15922. "description": "成交金额[账户币种,用于所有权]",
  15923. "type": "number"
  15924. },
  15925. "tradedate": {
  15926. "description": "交易日(yyyyMMdd)",
  15927. "type": "string"
  15928. },
  15929. "tradeid": {
  15930. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15931. "type": "string"
  15932. },
  15933. "trademode": {
  15934. "description": "交易模式",
  15935. "type": "integer"
  15936. },
  15937. "tradeprice": {
  15938. "description": "成交价格",
  15939. "type": "number"
  15940. },
  15941. "tradeproperty": {
  15942. "description": "交易属性",
  15943. "type": "integer"
  15944. },
  15945. "tradeqty": {
  15946. "description": "成交数量",
  15947. "type": "integer"
  15948. },
  15949. "tradetime": {
  15950. "description": "成交时间",
  15951. "type": "string"
  15952. },
  15953. "tradetype": {
  15954. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15955. "type": "integer"
  15956. }
  15957. }
  15958. },
  15959. "order.QueryHisTradeOrderDetailRsp": {
  15960. "type": "object",
  15961. "required": [
  15962. "accountid",
  15963. "buildtype",
  15964. "buyorsell",
  15965. "goodsid",
  15966. "histradedate",
  15967. "marketid",
  15968. "memberuserid",
  15969. "operatetype",
  15970. "orderid",
  15971. "orderqty",
  15972. "ordertime",
  15973. "pricemode",
  15974. "tradedate",
  15975. "validtype"
  15976. ],
  15977. "properties": {
  15978. "accountid": {
  15979. "description": "账户ID[报价币种]",
  15980. "type": "integer"
  15981. },
  15982. "buildtype": {
  15983. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15984. "type": "integer"
  15985. },
  15986. "buyorsell": {
  15987. "description": "买卖 - 0:买 1:卖",
  15988. "type": "integer"
  15989. },
  15990. "cancelorderid": {
  15991. "description": "撤单单号(撤单时填写)",
  15992. "type": "string"
  15993. },
  15994. "cancelqty": {
  15995. "description": "撤单数量",
  15996. "type": "integer"
  15997. },
  15998. "clientordertime": {
  15999. "description": "客户端委托时间",
  16000. "type": "string"
  16001. },
  16002. "clientticket": {
  16003. "description": "客户端流水号",
  16004. "type": "string"
  16005. },
  16006. "clienttype": {
  16007. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16008. "type": "integer"
  16009. },
  16010. "closeexchagechargevalue": {
  16011. "description": "平仓交易所手续费设置值",
  16012. "type": "number"
  16013. },
  16014. "closefeealgorithm": {
  16015. "description": "平仓手续费收取方式 1:比率 2:固定",
  16016. "type": "integer"
  16017. },
  16018. "closefreezecharge": {
  16019. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16020. "type": "number"
  16021. },
  16022. "closememberchargevalue": {
  16023. "description": "平仓会员手续费设置值",
  16024. "type": "number"
  16025. },
  16026. "closeqty": {
  16027. "description": "平仓数量(先建后平操作 需要记录)",
  16028. "type": "integer"
  16029. },
  16030. "closetradeqty": {
  16031. "description": "平仓成交数量(先建后平操作,需要记录)",
  16032. "type": "integer"
  16033. },
  16034. "closeunfreezecharge": {
  16035. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16036. "type": "number"
  16037. },
  16038. "delistingtype": {
  16039. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16040. "type": "integer"
  16041. },
  16042. "freezecharge": {
  16043. "description": "冻结手续费",
  16044. "type": "number"
  16045. },
  16046. "freezemargin": {
  16047. "description": "冻结保证金(冻结交易金额)",
  16048. "type": "number"
  16049. },
  16050. "gcaccountid": {
  16051. "description": "账户ID[合约币种]",
  16052. "type": "integer"
  16053. },
  16054. "goodscode": {
  16055. "description": "商品代码",
  16056. "type": "string"
  16057. },
  16058. "goodsid": {
  16059. "description": "商品ID",
  16060. "type": "integer"
  16061. },
  16062. "goodsname": {
  16063. "description": "商品名称",
  16064. "type": "string"
  16065. },
  16066. "histradedate": {
  16067. "description": "历史交易日",
  16068. "type": "string"
  16069. },
  16070. "isconfirmexercise": {
  16071. "description": "是否确认行权- 0:否 1:是",
  16072. "type": "integer"
  16073. },
  16074. "ispreexercise": {
  16075. "description": "是否预申报- 0:否 1:是",
  16076. "type": "integer"
  16077. },
  16078. "isvaliddata": {
  16079. "description": "是否有效 - 0:无效 1:有效",
  16080. "type": "integer"
  16081. },
  16082. "listingselecttype": {
  16083. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16084. "type": "integer"
  16085. },
  16086. "marginalgorithm": {
  16087. "description": "保证金收取方式 1:比率 2:固定",
  16088. "type": "integer"
  16089. },
  16090. "marginvalue": {
  16091. "description": "即市保证金设置值",
  16092. "type": "number"
  16093. },
  16094. "marketid": {
  16095. "description": "市场ID",
  16096. "type": "integer"
  16097. },
  16098. "marketmaxsub": {
  16099. "description": "市价最大偏移范围",
  16100. "type": "number"
  16101. },
  16102. "marketname": {
  16103. "description": "市场名称",
  16104. "type": "string"
  16105. },
  16106. "memberuserid": {
  16107. "description": "所属会员UserID",
  16108. "type": "integer"
  16109. },
  16110. "openexchagechargevalue": {
  16111. "description": "建仓交易所手续费设置值",
  16112. "type": "number"
  16113. },
  16114. "openfeealgorithm": {
  16115. "description": "建仓手续费收取方式 1:比率 2:固定",
  16116. "type": "integer"
  16117. },
  16118. "openfreezecharge": {
  16119. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16120. "type": "number"
  16121. },
  16122. "openmemberchargevalue": {
  16123. "description": "建仓会员手续费设置值",
  16124. "type": "number"
  16125. },
  16126. "openqty": {
  16127. "description": "开仓数量(先建后平操作,需要记录)",
  16128. "type": "integer"
  16129. },
  16130. "opentradeqty": {
  16131. "description": "开仓成交数量(先建后平操作,需要记录)",
  16132. "type": "integer"
  16133. },
  16134. "openunfreezecharge": {
  16135. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16136. "type": "number"
  16137. },
  16138. "operatetype": {
  16139. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16140. "type": "integer"
  16141. },
  16142. "operatorid": {
  16143. "description": "登录账号(LoginID)",
  16144. "type": "integer"
  16145. },
  16146. "optiontype": {
  16147. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16148. "type": "integer"
  16149. },
  16150. "orderid": {
  16151. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16152. "type": "string"
  16153. },
  16154. "orderprice": {
  16155. "description": "委托价格",
  16156. "type": "number"
  16157. },
  16158. "orderqty": {
  16159. "description": "委托数量",
  16160. "type": "integer"
  16161. },
  16162. "ordersrc": {
  16163. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16164. "type": "integer"
  16165. },
  16166. "orderstatus": {
  16167. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16168. "type": "integer"
  16169. },
  16170. "ordertime": {
  16171. "description": "委托时间",
  16172. "type": "string"
  16173. },
  16174. "preexerciseprice": {
  16175. "description": "预申报价格",
  16176. "type": "number"
  16177. },
  16178. "premium": {
  16179. "description": "权利金",
  16180. "type": "number"
  16181. },
  16182. "preorderid": {
  16183. "description": "关联预埋单号(止盈止损单时填写)",
  16184. "type": "string"
  16185. },
  16186. "pricemode": {
  16187. "description": "取价方式 - 1:市价 2: 限价",
  16188. "type": "integer"
  16189. },
  16190. "quoteid": {
  16191. "description": "报价单ID",
  16192. "type": "integer"
  16193. },
  16194. "relatedid": {
  16195. "description": "关联单号(交割单)",
  16196. "type": "string"
  16197. },
  16198. "retcode": {
  16199. "description": "错误代码",
  16200. "type": "integer"
  16201. },
  16202. "sessionid": {
  16203. "description": "会话ID",
  16204. "type": "integer"
  16205. },
  16206. "tradedate": {
  16207. "description": "交易日(yyyyMMdd)",
  16208. "type": "string"
  16209. },
  16210. "trademode": {
  16211. "description": "交易模式",
  16212. "type": "integer"
  16213. },
  16214. "tradeproperty": {
  16215. "description": "交易属性",
  16216. "type": "integer"
  16217. },
  16218. "tradeqty": {
  16219. "description": "成交数量",
  16220. "type": "integer"
  16221. },
  16222. "unfreezecharge": {
  16223. "description": "解冻手续费",
  16224. "type": "number"
  16225. },
  16226. "unfreezemargin": {
  16227. "description": "解冻保证金",
  16228. "type": "number"
  16229. },
  16230. "updatetime": {
  16231. "description": "更新时间",
  16232. "type": "string"
  16233. },
  16234. "uuid": {
  16235. "description": "发起端唯一id",
  16236. "type": "string"
  16237. },
  16238. "validtime": {
  16239. "description": "有效期限",
  16240. "type": "string"
  16241. },
  16242. "validtype": {
  16243. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16244. "type": "integer"
  16245. },
  16246. "volumetype": {
  16247. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16248. "type": "integer"
  16249. }
  16250. }
  16251. },
  16252. "order.QueryTradeDetailRsp": {
  16253. "type": "object",
  16254. "required": [
  16255. "accountid",
  16256. "buyorsell",
  16257. "goodsid",
  16258. "marketid",
  16259. "memberuserid",
  16260. "orderid",
  16261. "tradeamount",
  16262. "tradedate",
  16263. "tradeid",
  16264. "tradeprice",
  16265. "tradeqty",
  16266. "tradetime"
  16267. ],
  16268. "properties": {
  16269. "accountid": {
  16270. "description": "账户ID[报价币种]",
  16271. "type": "integer"
  16272. },
  16273. "buildtype": {
  16274. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16275. "type": "integer"
  16276. },
  16277. "buyorsell": {
  16278. "description": "方向 - 0:买 1:卖",
  16279. "type": "integer"
  16280. },
  16281. "charge": {
  16282. "description": "手续费",
  16283. "type": "number"
  16284. },
  16285. "closecharge": {
  16286. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16287. "type": "number"
  16288. },
  16289. "closeexchagechargevalue": {
  16290. "description": "平仓交易所手续费设置值",
  16291. "type": "number"
  16292. },
  16293. "closefeealgorithm": {
  16294. "description": "平仓手续费收取方式 1:比率 2:固定",
  16295. "type": "integer"
  16296. },
  16297. "closememberchargevalue": {
  16298. "description": "平仓会员手续费设置值",
  16299. "type": "number"
  16300. },
  16301. "closepl": {
  16302. "description": "平仓盈亏",
  16303. "type": "number"
  16304. },
  16305. "closepl2": {
  16306. "description": "平仓盈亏[逐笔]",
  16307. "type": "number"
  16308. },
  16309. "closeqty": {
  16310. "description": "平仓数量(先建后平操作 需要记录)",
  16311. "type": "integer"
  16312. },
  16313. "creditamount": {
  16314. "description": "授信金额",
  16315. "type": "number"
  16316. },
  16317. "gcaccountid": {
  16318. "description": "账户ID[合约币种]",
  16319. "type": "integer"
  16320. },
  16321. "goodscode": {
  16322. "description": "商品代码",
  16323. "type": "string"
  16324. },
  16325. "goodsid": {
  16326. "description": "商品ID",
  16327. "type": "integer"
  16328. },
  16329. "goodsname": {
  16330. "description": "商品名称",
  16331. "type": "string"
  16332. },
  16333. "intclosepl": {
  16334. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16335. "type": "integer"
  16336. },
  16337. "isconfirmexercise": {
  16338. "description": "是否确认行权- 0:否 1:是",
  16339. "type": "integer"
  16340. },
  16341. "ismain": {
  16342. "description": "是否主单 - 0:不是 1:是",
  16343. "type": "integer"
  16344. },
  16345. "ispreexercise": {
  16346. "description": "是否预申报- 0:否 1:是",
  16347. "type": "integer"
  16348. },
  16349. "isreckoned": {
  16350. "description": "是否结算 - 0:未结算 1:已结算",
  16351. "type": "integer"
  16352. },
  16353. "listingselecttype": {
  16354. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16355. "type": "integer"
  16356. },
  16357. "marketid": {
  16358. "description": "市场ID",
  16359. "type": "integer"
  16360. },
  16361. "marketname": {
  16362. "description": "市场名称",
  16363. "type": "string"
  16364. },
  16365. "matchaccountid": {
  16366. "description": "对手账号id",
  16367. "type": "integer"
  16368. },
  16369. "memberuserid": {
  16370. "description": "会员id 个人投资者 需要填写",
  16371. "type": "integer"
  16372. },
  16373. "opencharge": {
  16374. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16375. "type": "number"
  16376. },
  16377. "openexchagechargevalue": {
  16378. "description": "建仓交易所手续费设置值",
  16379. "type": "number"
  16380. },
  16381. "openfeealgorithm": {
  16382. "description": "建仓手续费收取方式 1:比率 2:固定",
  16383. "type": "integer"
  16384. },
  16385. "openmemberchargevalue": {
  16386. "description": "建仓会员手续费设置值",
  16387. "type": "number"
  16388. },
  16389. "openqty": {
  16390. "description": "开仓数量(先建后平操作 需要记录)",
  16391. "type": "integer"
  16392. },
  16393. "optiontype": {
  16394. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16395. "type": "integer"
  16396. },
  16397. "orderid": {
  16398. "description": "委托单号",
  16399. "type": "string"
  16400. },
  16401. "performanceplanid": {
  16402. "description": "履约计划ID[期权]",
  16403. "type": "integer"
  16404. },
  16405. "performancestatus": {
  16406. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16407. "type": "integer"
  16408. },
  16409. "preexerciseprice": {
  16410. "description": "预申报价格",
  16411. "type": "number"
  16412. },
  16413. "premium": {
  16414. "description": "权利金 - [持仓单的权利金]",
  16415. "type": "number"
  16416. },
  16417. "relatedouttradeid": {
  16418. "description": "关联外部成交单ID",
  16419. "type": "integer"
  16420. },
  16421. "status": {
  16422. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16423. "type": "integer"
  16424. },
  16425. "tradeamount": {
  16426. "description": "成交金额[账户币种,用于所有权]",
  16427. "type": "number"
  16428. },
  16429. "tradedate": {
  16430. "description": "交易日(yyyyMMdd)",
  16431. "type": "string"
  16432. },
  16433. "tradeid": {
  16434. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16435. "type": "string"
  16436. },
  16437. "trademode": {
  16438. "description": "交易模式",
  16439. "type": "integer"
  16440. },
  16441. "tradeprice": {
  16442. "description": "成交价格",
  16443. "type": "number"
  16444. },
  16445. "tradeproperty": {
  16446. "description": "交易属性",
  16447. "type": "integer"
  16448. },
  16449. "tradeqty": {
  16450. "description": "成交数量",
  16451. "type": "integer"
  16452. },
  16453. "tradetime": {
  16454. "description": "成交时间",
  16455. "type": "string"
  16456. },
  16457. "tradetype": {
  16458. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16459. "type": "integer"
  16460. }
  16461. }
  16462. },
  16463. "order.QueryTradeOrderDetailRsp": {
  16464. "type": "object",
  16465. "required": [
  16466. "accountid",
  16467. "buildtype",
  16468. "buyorsell",
  16469. "goodsid",
  16470. "marketid",
  16471. "operatetype",
  16472. "orderqty",
  16473. "ordertime",
  16474. "pricemode",
  16475. "tradedate",
  16476. "validtype"
  16477. ],
  16478. "properties": {
  16479. "accountid": {
  16480. "description": "账户ID[报价币种]",
  16481. "type": "integer"
  16482. },
  16483. "buildtype": {
  16484. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16485. "type": "integer"
  16486. },
  16487. "buyorsell": {
  16488. "description": "买卖 - 0:买 1:卖",
  16489. "type": "integer"
  16490. },
  16491. "cancelorderid": {
  16492. "description": "撤单单号(撤单时填写)",
  16493. "type": "string"
  16494. },
  16495. "cancelqty": {
  16496. "description": "撤单数量",
  16497. "type": "integer"
  16498. },
  16499. "clienttype": {
  16500. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16501. "type": "integer"
  16502. },
  16503. "closefreezecharge": {
  16504. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16505. "type": "number"
  16506. },
  16507. "closeqty": {
  16508. "description": "平仓数量(先建后平操作 需要记录)",
  16509. "type": "integer"
  16510. },
  16511. "closetradeqty": {
  16512. "description": "平仓成交数量(先建后平操作,需要记录)",
  16513. "type": "integer"
  16514. },
  16515. "closeunfreezecharge": {
  16516. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16517. "type": "number"
  16518. },
  16519. "delistingtype": {
  16520. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16521. "type": "integer"
  16522. },
  16523. "enableqty": {
  16524. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16525. "type": "integer"
  16526. },
  16527. "freezecharge": {
  16528. "description": "冻结手续费",
  16529. "type": "number"
  16530. },
  16531. "freezemargin": {
  16532. "description": "冻结保证金(冻结交易金额)",
  16533. "type": "number"
  16534. },
  16535. "goodscode": {
  16536. "description": "商品代码",
  16537. "type": "string"
  16538. },
  16539. "goodsid": {
  16540. "description": "商品ID",
  16541. "type": "integer"
  16542. },
  16543. "goodsname": {
  16544. "description": "商品名称",
  16545. "type": "string"
  16546. },
  16547. "listingselecttype": {
  16548. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16549. "type": "integer"
  16550. },
  16551. "marketid": {
  16552. "description": "市场ID",
  16553. "type": "integer"
  16554. },
  16555. "marketname": {
  16556. "description": "市场名称",
  16557. "type": "string"
  16558. },
  16559. "openfreezecharge": {
  16560. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16561. "type": "number"
  16562. },
  16563. "openqty": {
  16564. "description": "开仓数量(先建后平操作,需要记录)",
  16565. "type": "integer"
  16566. },
  16567. "opentradeqty": {
  16568. "description": "开仓成交数量(先建后平操作,需要记录)",
  16569. "type": "integer"
  16570. },
  16571. "openunfreezecharge": {
  16572. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16573. "type": "number"
  16574. },
  16575. "operatetype": {
  16576. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16577. "type": "integer"
  16578. },
  16579. "operatorid": {
  16580. "description": "登录账号(LoginID)",
  16581. "type": "integer"
  16582. },
  16583. "orderid": {
  16584. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16585. "type": "string"
  16586. },
  16587. "orderprice": {
  16588. "description": "委托价格",
  16589. "type": "number"
  16590. },
  16591. "orderqty": {
  16592. "description": "委托数量",
  16593. "type": "integer"
  16594. },
  16595. "ordersrc": {
  16596. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16597. "type": "integer"
  16598. },
  16599. "orderstatus": {
  16600. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16601. "type": "integer"
  16602. },
  16603. "ordertime": {
  16604. "description": "委托时间",
  16605. "type": "string"
  16606. },
  16607. "preorderid": {
  16608. "description": "关联预埋单号(止盈止损单时填写)",
  16609. "type": "string"
  16610. },
  16611. "pricemode": {
  16612. "description": "取价方式 - 1:市价 2: 限价",
  16613. "type": "integer"
  16614. },
  16615. "relatedid": {
  16616. "description": "关联单号(交割单)",
  16617. "type": "string"
  16618. },
  16619. "tradedate": {
  16620. "description": "交易日(yyyyMMdd)",
  16621. "type": "string"
  16622. },
  16623. "trademode": {
  16624. "description": "交易模式",
  16625. "type": "integer"
  16626. },
  16627. "tradeqty": {
  16628. "description": "成交数量",
  16629. "type": "integer"
  16630. },
  16631. "unfreezecharge": {
  16632. "description": "解冻手续费",
  16633. "type": "number"
  16634. },
  16635. "unfreezemargin": {
  16636. "description": "解冻保证金",
  16637. "type": "number"
  16638. },
  16639. "validtime": {
  16640. "description": "有效期限",
  16641. "type": "string"
  16642. },
  16643. "validtype": {
  16644. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16645. "type": "integer"
  16646. },
  16647. "volumetype": {
  16648. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16649. "type": "integer"
  16650. }
  16651. }
  16652. },
  16653. "order.QueryTradePositionRsp": {
  16654. "type": "object",
  16655. "required": [
  16656. "goodsid"
  16657. ],
  16658. "properties": {
  16659. "accountid": {
  16660. "description": "资金账户",
  16661. "type": "integer"
  16662. },
  16663. "agreeunit": {
  16664. "description": "合约单位",
  16665. "type": "number"
  16666. },
  16667. "averageprice": {
  16668. "description": "持仓均价",
  16669. "type": "number"
  16670. },
  16671. "buyorsell": {
  16672. "description": "方向 - 0:买 1:卖",
  16673. "type": "integer"
  16674. },
  16675. "closetotalqty": {
  16676. "description": "平仓总数量",
  16677. "type": "integer"
  16678. },
  16679. "curholderamount": {
  16680. "description": "当前持仓总金额[商品币种]",
  16681. "type": "number"
  16682. },
  16683. "curpositionqty": {
  16684. "description": "当前持仓总数量",
  16685. "type": "integer"
  16686. },
  16687. "currencyid": {
  16688. "description": "报价货币ID",
  16689. "type": "integer"
  16690. },
  16691. "curtdposition": {
  16692. "description": "期末今日头寸",
  16693. "type": "integer"
  16694. },
  16695. "decimalplace": {
  16696. "description": "报价小数位",
  16697. "type": "integer"
  16698. },
  16699. "enableqty": {
  16700. "description": "可用量",
  16701. "type": "integer"
  16702. },
  16703. "fretdposition": {
  16704. "description": "冻结今日头寸",
  16705. "type": "integer"
  16706. },
  16707. "frozenqty": {
  16708. "description": "持仓冻结数量",
  16709. "type": "integer"
  16710. },
  16711. "goodscode": {
  16712. "description": "商品代码",
  16713. "type": "string"
  16714. },
  16715. "goodsid": {
  16716. "description": "商品Id",
  16717. "type": "integer"
  16718. },
  16719. "goodsname": {
  16720. "description": "商品名称",
  16721. "type": "string"
  16722. },
  16723. "goodunit": {
  16724. "description": "报价单位",
  16725. "type": "string"
  16726. },
  16727. "goodunitid": {
  16728. "description": "报价单位ID",
  16729. "type": "integer"
  16730. },
  16731. "holderamount": {
  16732. "description": "期初持仓总金额[商品币种]",
  16733. "type": "number"
  16734. },
  16735. "marketid": {
  16736. "description": "所属市场ID",
  16737. "type": "integer"
  16738. },
  16739. "openreqqty": {
  16740. "description": "开仓申请数量(用于比较最大持仓数量)",
  16741. "type": "integer"
  16742. },
  16743. "opentotalqty": {
  16744. "description": "开仓总数量",
  16745. "type": "integer"
  16746. },
  16747. "otherfrozenqty": {
  16748. "description": "持仓其他冻结数量(交割冻结)",
  16749. "type": "integer"
  16750. },
  16751. "positionqty": {
  16752. "description": "期初持仓数量",
  16753. "type": "integer"
  16754. },
  16755. "tnqty": {
  16756. "description": "T+N冻结总量",
  16757. "type": "integer"
  16758. },
  16759. "tnusedqty": {
  16760. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16761. "type": "integer"
  16762. },
  16763. "trademode": {
  16764. "description": "交易模式",
  16765. "type": "integer"
  16766. },
  16767. "usedmargin": {
  16768. "description": "占用保证金[商品币种]",
  16769. "type": "number"
  16770. }
  16771. }
  16772. },
  16773. "quote.HistoryData": {
  16774. "type": "object",
  16775. "properties": {
  16776. "c": {
  16777. "description": "收盘价",
  16778. "type": "number"
  16779. },
  16780. "f": {
  16781. "description": "是否补充数据",
  16782. "type": "boolean"
  16783. },
  16784. "h": {
  16785. "description": "最高价",
  16786. "type": "number"
  16787. },
  16788. "hv": {
  16789. "description": "持仓量",
  16790. "type": "integer"
  16791. },
  16792. "l": {
  16793. "description": "最低价",
  16794. "type": "number"
  16795. },
  16796. "o": {
  16797. "description": "开盘价",
  16798. "type": "number"
  16799. },
  16800. "s": {
  16801. "description": "结算价,日线周期(包括)以上才有",
  16802. "type": "number"
  16803. },
  16804. "ts": {
  16805. "description": "时间",
  16806. "type": "string"
  16807. },
  16808. "tt": {
  16809. "description": "总金额",
  16810. "type": "number"
  16811. },
  16812. "tv": {
  16813. "description": "总量",
  16814. "type": "integer"
  16815. }
  16816. }
  16817. },
  16818. "quote.QueryQuoteDayRsp": {
  16819. "type": "object",
  16820. "properties": {
  16821. "ask": {
  16822. "description": "卖1",
  16823. "type": "number"
  16824. },
  16825. "ask10": {
  16826. "description": "卖10",
  16827. "type": "number"
  16828. },
  16829. "ask2": {
  16830. "description": "卖2",
  16831. "type": "number"
  16832. },
  16833. "ask3": {
  16834. "description": "卖3",
  16835. "type": "number"
  16836. },
  16837. "ask4": {
  16838. "description": "卖4",
  16839. "type": "number"
  16840. },
  16841. "ask5": {
  16842. "description": "卖5",
  16843. "type": "number"
  16844. },
  16845. "ask6": {
  16846. "description": "卖6",
  16847. "type": "number"
  16848. },
  16849. "ask7": {
  16850. "description": "卖7",
  16851. "type": "number"
  16852. },
  16853. "ask8": {
  16854. "description": "卖8",
  16855. "type": "number"
  16856. },
  16857. "ask9": {
  16858. "description": "卖9",
  16859. "type": "number"
  16860. },
  16861. "askorderid": {
  16862. "description": "卖单号1",
  16863. "type": "integer"
  16864. },
  16865. "askorderid2": {
  16866. "description": "卖单号2",
  16867. "type": "integer"
  16868. },
  16869. "askorderid3": {
  16870. "description": "卖单号3",
  16871. "type": "integer"
  16872. },
  16873. "askorderid4": {
  16874. "description": "卖单号4",
  16875. "type": "integer"
  16876. },
  16877. "askorderid5": {
  16878. "description": "卖单号5",
  16879. "type": "integer"
  16880. },
  16881. "askordervolume": {
  16882. "description": "卖单量1",
  16883. "type": "integer"
  16884. },
  16885. "askordervolume10": {
  16886. "description": "卖单量10",
  16887. "type": "integer"
  16888. },
  16889. "askordervolume2": {
  16890. "description": "卖单量2",
  16891. "type": "integer"
  16892. },
  16893. "askordervolume3": {
  16894. "description": "卖单量3",
  16895. "type": "integer"
  16896. },
  16897. "askordervolume4": {
  16898. "description": "卖单量4",
  16899. "type": "integer"
  16900. },
  16901. "askordervolume5": {
  16902. "description": "卖单量5",
  16903. "type": "integer"
  16904. },
  16905. "askordervolume6": {
  16906. "description": "卖单量6",
  16907. "type": "integer"
  16908. },
  16909. "askordervolume7": {
  16910. "description": "卖单量7",
  16911. "type": "integer"
  16912. },
  16913. "askordervolume8": {
  16914. "description": "卖单量8",
  16915. "type": "integer"
  16916. },
  16917. "askordervolume9": {
  16918. "description": "卖单量9",
  16919. "type": "integer"
  16920. },
  16921. "askqueueinfo": {
  16922. "description": "大利市卖港股用",
  16923. "type": "string"
  16924. },
  16925. "askvolume": {
  16926. "description": "卖量1",
  16927. "type": "integer"
  16928. },
  16929. "askvolume10": {
  16930. "description": "卖量10",
  16931. "type": "integer"
  16932. },
  16933. "askvolume2": {
  16934. "description": "卖量2",
  16935. "type": "integer"
  16936. },
  16937. "askvolume3": {
  16938. "description": "卖量3",
  16939. "type": "integer"
  16940. },
  16941. "askvolume4": {
  16942. "description": "卖量4",
  16943. "type": "integer"
  16944. },
  16945. "askvolume5": {
  16946. "description": "卖量5",
  16947. "type": "integer"
  16948. },
  16949. "askvolume6": {
  16950. "description": "卖量6",
  16951. "type": "integer"
  16952. },
  16953. "askvolume7": {
  16954. "description": "卖量7",
  16955. "type": "integer"
  16956. },
  16957. "askvolume8": {
  16958. "description": "卖量8",
  16959. "type": "integer"
  16960. },
  16961. "askvolume9": {
  16962. "description": "卖量9",
  16963. "type": "integer"
  16964. },
  16965. "averageprice": {
  16966. "description": "均价",
  16967. "type": "number"
  16968. },
  16969. "bid": {
  16970. "description": "买1",
  16971. "type": "number"
  16972. },
  16973. "bid10": {
  16974. "description": "买10",
  16975. "type": "number"
  16976. },
  16977. "bid2": {
  16978. "description": "买2",
  16979. "type": "number"
  16980. },
  16981. "bid3": {
  16982. "description": "买3",
  16983. "type": "number"
  16984. },
  16985. "bid4": {
  16986. "description": "买4",
  16987. "type": "number"
  16988. },
  16989. "bid5": {
  16990. "description": "买5",
  16991. "type": "number"
  16992. },
  16993. "bid6": {
  16994. "description": "买6",
  16995. "type": "number"
  16996. },
  16997. "bid7": {
  16998. "description": "买7",
  16999. "type": "number"
  17000. },
  17001. "bid8": {
  17002. "description": "买8",
  17003. "type": "number"
  17004. },
  17005. "bid9": {
  17006. "description": "买9",
  17007. "type": "number"
  17008. },
  17009. "bidorderid": {
  17010. "description": "买单号1",
  17011. "type": "integer"
  17012. },
  17013. "bidorderid2": {
  17014. "description": "买单号2",
  17015. "type": "integer"
  17016. },
  17017. "bidorderid3": {
  17018. "description": "买单号3",
  17019. "type": "integer"
  17020. },
  17021. "bidorderid4": {
  17022. "description": "买单号4",
  17023. "type": "integer"
  17024. },
  17025. "bidorderid5": {
  17026. "description": "买单号5",
  17027. "type": "integer"
  17028. },
  17029. "bidordervolume": {
  17030. "description": "买单量1",
  17031. "type": "integer"
  17032. },
  17033. "bidordervolume10": {
  17034. "description": "买单量10",
  17035. "type": "integer"
  17036. },
  17037. "bidordervolume2": {
  17038. "description": "买单量2",
  17039. "type": "integer"
  17040. },
  17041. "bidordervolume3": {
  17042. "description": "买单量3",
  17043. "type": "integer"
  17044. },
  17045. "bidordervolume4": {
  17046. "description": "买单量4",
  17047. "type": "integer"
  17048. },
  17049. "bidordervolume5": {
  17050. "description": "买单量5",
  17051. "type": "integer"
  17052. },
  17053. "bidordervolume6": {
  17054. "description": "买单量6",
  17055. "type": "integer"
  17056. },
  17057. "bidordervolume7": {
  17058. "description": "买单量7",
  17059. "type": "integer"
  17060. },
  17061. "bidordervolume8": {
  17062. "description": "买单量8",
  17063. "type": "integer"
  17064. },
  17065. "bidordervolume9": {
  17066. "description": "买单量9",
  17067. "type": "integer"
  17068. },
  17069. "bidqueueinfo": {
  17070. "description": "大利市买港股用",
  17071. "type": "string"
  17072. },
  17073. "bidvolume": {
  17074. "description": "买量1",
  17075. "type": "integer"
  17076. },
  17077. "bidvolume10": {
  17078. "description": "买量10",
  17079. "type": "integer"
  17080. },
  17081. "bidvolume2": {
  17082. "description": "买量2",
  17083. "type": "integer"
  17084. },
  17085. "bidvolume3": {
  17086. "description": "买量3",
  17087. "type": "integer"
  17088. },
  17089. "bidvolume4": {
  17090. "description": "买量4",
  17091. "type": "integer"
  17092. },
  17093. "bidvolume5": {
  17094. "description": "买量5",
  17095. "type": "integer"
  17096. },
  17097. "bidvolume6": {
  17098. "description": "买量6",
  17099. "type": "integer"
  17100. },
  17101. "bidvolume7": {
  17102. "description": "买量7",
  17103. "type": "integer"
  17104. },
  17105. "bidvolume8": {
  17106. "description": "买量8",
  17107. "type": "integer"
  17108. },
  17109. "bidvolume9": {
  17110. "description": "买量9",
  17111. "type": "integer"
  17112. },
  17113. "calloptionpremiums": {
  17114. "description": "认购期权1",
  17115. "type": "integer"
  17116. },
  17117. "calloptionpremiums2": {
  17118. "description": "认购期权2",
  17119. "type": "integer"
  17120. },
  17121. "calloptionpremiums3": {
  17122. "description": "认购期权3",
  17123. "type": "integer"
  17124. },
  17125. "calloptionpremiums4": {
  17126. "description": "认购期权4",
  17127. "type": "integer"
  17128. },
  17129. "calloptionpremiums5": {
  17130. "description": "认购期权5",
  17131. "type": "integer"
  17132. },
  17133. "cleartime": {
  17134. "description": "清盘时间",
  17135. "type": "integer"
  17136. },
  17137. "exchangecode": {
  17138. "description": "交易所代码",
  17139. "type": "integer"
  17140. },
  17141. "exchangedate": {
  17142. "description": "交易日",
  17143. "type": "integer"
  17144. },
  17145. "goodscode": {
  17146. "description": "商品代码",
  17147. "type": "string"
  17148. },
  17149. "grepmarketprice": {
  17150. "description": "暗盘价 港股专用",
  17151. "type": "number"
  17152. },
  17153. "highest": {
  17154. "description": "最高价",
  17155. "type": "number"
  17156. },
  17157. "holdincrement": {
  17158. "description": "单笔持仓",
  17159. "type": "integer"
  17160. },
  17161. "holdvolume": {
  17162. "description": "持仓",
  17163. "type": "integer"
  17164. },
  17165. "iep": {
  17166. "description": "平衡价 港股专用",
  17167. "type": "number"
  17168. },
  17169. "iev": {
  17170. "description": "平衡量 港股专用",
  17171. "type": "number"
  17172. },
  17173. "inventory": {
  17174. "description": "库存",
  17175. "type": "integer"
  17176. },
  17177. "iscleared": {
  17178. "description": "是否清盘标志",
  17179. "type": "integer"
  17180. },
  17181. "issettled": {
  17182. "description": "是否结算标志",
  17183. "type": "integer"
  17184. },
  17185. "last": {
  17186. "description": "最新价",
  17187. "type": "number"
  17188. },
  17189. "lastlot": {
  17190. "description": "最新成交手数",
  17191. "type": "integer"
  17192. },
  17193. "lasttime": {
  17194. "description": "行情时间(只有现价变化行情时间才变化)",
  17195. "type": "string"
  17196. },
  17197. "lastturnover": {
  17198. "description": "最新成交金额",
  17199. "type": "number"
  17200. },
  17201. "lastvolume": {
  17202. "description": "最新成交量",
  17203. "type": "integer"
  17204. },
  17205. "limitdown": {
  17206. "description": "跌停价",
  17207. "type": "number"
  17208. },
  17209. "limitup": {
  17210. "description": "涨停价",
  17211. "type": "number"
  17212. },
  17213. "lowest": {
  17214. "description": "最低价",
  17215. "type": "number"
  17216. },
  17217. "nontotalholdervolume": {
  17218. "description": "非交易持仓量",
  17219. "type": "integer"
  17220. },
  17221. "nontotallot": {
  17222. "description": "非交易总手数",
  17223. "type": "integer"
  17224. },
  17225. "nontotalturnover": {
  17226. "description": "非交易总金额",
  17227. "type": "integer"
  17228. },
  17229. "nontotalvolume": {
  17230. "description": "非交易总量",
  17231. "type": "integer"
  17232. },
  17233. "opened": {
  17234. "description": "开盘价",
  17235. "type": "number"
  17236. },
  17237. "opentime": {
  17238. "description": "开盘时间",
  17239. "type": "string"
  17240. },
  17241. "orderid": {
  17242. "description": "序号",
  17243. "type": "integer"
  17244. },
  17245. "preclose": {
  17246. "description": "昨收",
  17247. "type": "number"
  17248. },
  17249. "preholdvolume": {
  17250. "description": "昨持仓",
  17251. "type": "integer"
  17252. },
  17253. "presettle": {
  17254. "description": "昨结价",
  17255. "type": "number"
  17256. },
  17257. "publictradetype": {
  17258. "description": "公共交易标志类型 港股专用",
  17259. "type": "string"
  17260. },
  17261. "putoptionpremiums": {
  17262. "description": "认沽期权1",
  17263. "type": "integer"
  17264. },
  17265. "putoptionpremiums2": {
  17266. "description": "认沽期权2",
  17267. "type": "integer"
  17268. },
  17269. "putoptionpremiums3": {
  17270. "description": "认沽期权3",
  17271. "type": "integer"
  17272. },
  17273. "putoptionpremiums4": {
  17274. "description": "认沽期权4",
  17275. "type": "integer"
  17276. },
  17277. "putoptionpremiums5": {
  17278. "description": "认沽期权5",
  17279. "type": "integer"
  17280. },
  17281. "settle": {
  17282. "description": "结算价",
  17283. "type": "number"
  17284. },
  17285. "strikeprice": {
  17286. "description": "发行价",
  17287. "type": "number"
  17288. },
  17289. "totalaskvolume": {
  17290. "description": "内盘",
  17291. "type": "integer"
  17292. },
  17293. "totalbidvolume": {
  17294. "description": "外盘",
  17295. "type": "integer"
  17296. },
  17297. "totallot": {
  17298. "description": "总手数",
  17299. "type": "integer"
  17300. },
  17301. "totalturnover": {
  17302. "description": "总金额",
  17303. "type": "number"
  17304. },
  17305. "totalvolume": {
  17306. "description": "总量",
  17307. "type": "integer"
  17308. },
  17309. "utclasttime": {
  17310. "description": "utc的行情时间",
  17311. "type": "string"
  17312. }
  17313. }
  17314. },
  17315. "quote.QueryTSDataRsp": {
  17316. "type": "object",
  17317. "properties": {
  17318. "decimalPlace": {
  17319. "description": "小数位",
  17320. "type": "integer"
  17321. },
  17322. "endTime": {
  17323. "description": "结束时间",
  17324. "type": "string"
  17325. },
  17326. "goodsCode": {
  17327. "description": "商品代码",
  17328. "type": "string"
  17329. },
  17330. "historyDatas": {
  17331. "description": "历史数据",
  17332. "type": "array",
  17333. "items": {
  17334. "$ref": "#/definitions/quote.HistoryData"
  17335. }
  17336. },
  17337. "outGoodsCode": {
  17338. "description": "外部商品代码",
  17339. "type": "string"
  17340. },
  17341. "preSettle": {
  17342. "description": "昨结",
  17343. "type": "number"
  17344. },
  17345. "startTime": {
  17346. "description": "开始时间",
  17347. "type": "string"
  17348. },
  17349. "tradeDate": {
  17350. "description": "交易日",
  17351. "type": "string"
  17352. }
  17353. }
  17354. },
  17355. "szdz.QueryConvertLogRsp": {
  17356. "type": "object",
  17357. "required": [
  17358. "logid"
  17359. ],
  17360. "properties": {
  17361. "accountid": {
  17362. "description": "资金账户ID",
  17363. "type": "integer"
  17364. },
  17365. "clientticket": {
  17366. "description": "客户端流水号",
  17367. "type": "string"
  17368. },
  17369. "converttype": {
  17370. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17371. "type": "integer"
  17372. },
  17373. "createtime": {
  17374. "description": "记账时间",
  17375. "type": "string"
  17376. },
  17377. "daymaxvalue": {
  17378. "description": "配置当日最大转入限制",
  17379. "type": "number"
  17380. },
  17381. "daymaxvalue2": {
  17382. "description": "配置当日最大转入限制(转入)",
  17383. "type": "number"
  17384. },
  17385. "goodscode": {
  17386. "description": "商品代码",
  17387. "type": "string"
  17388. },
  17389. "goodsname": {
  17390. "description": "商品名称",
  17391. "type": "string"
  17392. },
  17393. "handlestatus": {
  17394. "description": "处理状态",
  17395. "type": "integer"
  17396. },
  17397. "innergoodsid": {
  17398. "description": "内部商品ID",
  17399. "type": "integer"
  17400. },
  17401. "inratio": {
  17402. "description": "配置转入比值",
  17403. "type": "integer"
  17404. },
  17405. "invalue": {
  17406. "description": "目标值",
  17407. "type": "number"
  17408. },
  17409. "logid": {
  17410. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17411. "type": "integer"
  17412. },
  17413. "mobile": {
  17414. "description": "手机号码(加密存储)",
  17415. "type": "string"
  17416. },
  17417. "outergoodscode": {
  17418. "description": "外部商品代码[JD\\PD]",
  17419. "type": "string"
  17420. },
  17421. "outratio": {
  17422. "description": "配置转出比值",
  17423. "type": "integer"
  17424. },
  17425. "outvalue": {
  17426. "description": "源值",
  17427. "type": "number"
  17428. },
  17429. "pddecimalplace": {
  17430. "description": "PD小数位",
  17431. "type": "integer"
  17432. },
  17433. "qty": {
  17434. "description": "数量",
  17435. "type": "string"
  17436. },
  17437. "remark": {
  17438. "description": "备注",
  17439. "type": "string"
  17440. },
  17441. "sessionid": {
  17442. "description": "会话ID",
  17443. "type": "integer"
  17444. },
  17445. "timemaxvalue": {
  17446. "description": "配置单次最大转入限制",
  17447. "type": "number"
  17448. },
  17449. "timemaxvalue2": {
  17450. "description": "配置单次最大转入限制(转入)",
  17451. "type": "number"
  17452. },
  17453. "timeminvalue": {
  17454. "description": "配置单次最小数量限制",
  17455. "type": "number"
  17456. },
  17457. "timeminvalue2": {
  17458. "description": "配置单次最小数量限制(转入)",
  17459. "type": "number"
  17460. },
  17461. "tradedate": {
  17462. "description": "交易日(yyyyMMdd)",
  17463. "type": "string"
  17464. },
  17465. "userid": {
  17466. "description": "用户ID",
  17467. "type": "integer"
  17468. }
  17469. }
  17470. },
  17471. "szdz.QueryGoodsPickupRsp": {
  17472. "type": "object",
  17473. "required": [
  17474. "takeorderid"
  17475. ],
  17476. "properties": {
  17477. "accountid": {
  17478. "description": "账户ID",
  17479. "type": "integer"
  17480. },
  17481. "address": {
  17482. "description": "提货人详细地址",
  17483. "type": "string"
  17484. },
  17485. "auditer": {
  17486. "description": "审核人",
  17487. "type": "integer"
  17488. },
  17489. "audittime": {
  17490. "description": "审核时间",
  17491. "type": "string"
  17492. },
  17493. "cardnum": {
  17494. "description": "提货人证件号码",
  17495. "type": "string"
  17496. },
  17497. "cardtypeid": {
  17498. "description": "提货人证件类型",
  17499. "type": "integer"
  17500. },
  17501. "checkremark": {
  17502. "description": "审核备注",
  17503. "type": "string"
  17504. },
  17505. "goodscode": {
  17506. "description": "商品代码",
  17507. "type": "string"
  17508. },
  17509. "goodsid": {
  17510. "description": "商品ID",
  17511. "type": "integer"
  17512. },
  17513. "goodsname": {
  17514. "description": "商品名称",
  17515. "type": "string"
  17516. },
  17517. "handlestatus": {
  17518. "description": "处理状态",
  17519. "type": "integer"
  17520. },
  17521. "marketid": {
  17522. "description": "市场ID",
  17523. "type": "integer"
  17524. },
  17525. "phonenum": {
  17526. "description": "提货人联系方式",
  17527. "type": "string"
  17528. },
  17529. "qty": {
  17530. "description": "提货数量",
  17531. "type": "number"
  17532. },
  17533. "recivername": {
  17534. "description": "提货人姓名",
  17535. "type": "string"
  17536. },
  17537. "reqtime": {
  17538. "description": "更新时间",
  17539. "type": "string"
  17540. },
  17541. "takemode": {
  17542. "description": "提货方式 - 2:自提 3:配送",
  17543. "type": "integer"
  17544. },
  17545. "takeorderid": {
  17546. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17547. "type": "string"
  17548. },
  17549. "takeorderstatus": {
  17550. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17551. "type": "integer"
  17552. },
  17553. "takeremark": {
  17554. "description": "提货备注",
  17555. "type": "string"
  17556. },
  17557. "tradedate": {
  17558. "description": "交易日(yyyyMMdd)",
  17559. "type": "string"
  17560. },
  17561. "userid": {
  17562. "description": "用户ID",
  17563. "type": "integer"
  17564. }
  17565. }
  17566. },
  17567. "szdz.QueryRecieptOrderRsp": {
  17568. "type": "object",
  17569. "required": [
  17570. "ordertime"
  17571. ],
  17572. "properties": {
  17573. "accountName": {
  17574. "description": "所属账号名称(已脱敏)",
  17575. "type": "string"
  17576. },
  17577. "accountid": {
  17578. "description": "资金账号",
  17579. "type": "integer"
  17580. },
  17581. "buyorsell": {
  17582. "description": "方向 - 0:买 1:卖",
  17583. "type": "integer"
  17584. },
  17585. "enableqty": {
  17586. "description": "可摘数量",
  17587. "type": "integer"
  17588. },
  17589. "goodscode": {
  17590. "description": "商品代码",
  17591. "type": "string"
  17592. },
  17593. "goodsid": {
  17594. "description": "商品ID",
  17595. "type": "integer"
  17596. },
  17597. "goodsname": {
  17598. "description": "商品名称",
  17599. "type": "string"
  17600. },
  17601. "orderid": {
  17602. "description": "委托单号",
  17603. "type": "string"
  17604. },
  17605. "orderprice": {
  17606. "description": "委托价格",
  17607. "type": "number"
  17608. },
  17609. "ordertime": {
  17610. "description": "委托时间",
  17611. "type": "string"
  17612. },
  17613. "tradedate": {
  17614. "description": "交易日(yyyyMMdd)",
  17615. "type": "string"
  17616. }
  17617. }
  17618. },
  17619. "szdz.QuerySZDZTradePositionRsp": {
  17620. "type": "object",
  17621. "properties": {
  17622. "accountid": {
  17623. "description": "账号Id",
  17624. "type": "integer"
  17625. },
  17626. "agreeunit": {
  17627. "description": "合约单位",
  17628. "type": "number"
  17629. },
  17630. "averageprice": {
  17631. "description": "持仓均价",
  17632. "type": "number"
  17633. },
  17634. "buyorsell": {
  17635. "description": "方向 - 0:买 1:卖",
  17636. "type": "integer"
  17637. },
  17638. "closetotalqty": {
  17639. "description": "平仓总数量",
  17640. "type": "integer"
  17641. },
  17642. "curholderamount": {
  17643. "description": "当前持仓总金额",
  17644. "type": "number"
  17645. },
  17646. "curpositionqty": {
  17647. "description": "当前持仓总数量",
  17648. "type": "integer"
  17649. },
  17650. "currencyid": {
  17651. "description": "报价货币ID",
  17652. "type": "integer"
  17653. },
  17654. "curtdposition": {
  17655. "description": "期末今日头寸",
  17656. "type": "integer"
  17657. },
  17658. "decimalplace": {
  17659. "description": "报价小数位",
  17660. "type": "integer"
  17661. },
  17662. "enableqty": {
  17663. "description": "可用量",
  17664. "type": "integer"
  17665. },
  17666. "fretdposition": {
  17667. "description": "冻结今日头寸",
  17668. "type": "integer"
  17669. },
  17670. "frozenqty": {
  17671. "description": "持仓冻结数量",
  17672. "type": "integer"
  17673. },
  17674. "goodscode": {
  17675. "description": "商品代码(内部)",
  17676. "type": "string"
  17677. },
  17678. "goodsid": {
  17679. "description": "商品Id",
  17680. "type": "integer"
  17681. },
  17682. "goodsname": {
  17683. "description": "商品名称",
  17684. "type": "string"
  17685. },
  17686. "goodunit": {
  17687. "description": "报价单位",
  17688. "type": "string"
  17689. },
  17690. "goodunitid": {
  17691. "description": "报价单位ID",
  17692. "type": "integer"
  17693. },
  17694. "holderamount": {
  17695. "description": "期初持仓总金额",
  17696. "type": "number"
  17697. },
  17698. "marketid": {
  17699. "description": "市场ID",
  17700. "type": "integer"
  17701. },
  17702. "openreqqty": {
  17703. "description": "开仓申请数量",
  17704. "type": "integer"
  17705. },
  17706. "opentotalqty": {
  17707. "description": "开仓总数量",
  17708. "type": "integer"
  17709. },
  17710. "otherfrozenqty": {
  17711. "description": "持仓其他冻结数量(交割冻结)",
  17712. "type": "integer"
  17713. },
  17714. "positionqty": {
  17715. "description": "期初持仓数量",
  17716. "type": "integer"
  17717. },
  17718. "szdz3freezqty": {
  17719. "description": "尚志大宗转换冻结总数量",
  17720. "type": "integer"
  17721. },
  17722. "tnqty": {
  17723. "description": "T+N冻结总量",
  17724. "type": "integer"
  17725. },
  17726. "tnusedqty": {
  17727. "description": "T+N使用量",
  17728. "type": "integer"
  17729. },
  17730. "trademode": {
  17731. "description": "交易模式",
  17732. "type": "integer"
  17733. },
  17734. "usedmargin": {
  17735. "description": "占用保证金",
  17736. "type": "number"
  17737. }
  17738. }
  17739. },
  17740. "taaccount.QueryAmountLogRsp": {
  17741. "type": "object",
  17742. "required": [
  17743. "accountid",
  17744. "amount",
  17745. "amountadjusttype",
  17746. "autoid",
  17747. "balance",
  17748. "createtime",
  17749. "currentbalance",
  17750. "operatetype"
  17751. ],
  17752. "properties": {
  17753. "OPERATETYPENAME": {
  17754. "description": "资金操作类型名称",
  17755. "type": "string"
  17756. },
  17757. "accountid": {
  17758. "description": "资金账户ID",
  17759. "type": "integer"
  17760. },
  17761. "agoodscode": {
  17762. "description": "竞拍商品代码",
  17763. "type": "string"
  17764. },
  17765. "agoodsname": {
  17766. "description": "竞拍商品名称",
  17767. "type": "string"
  17768. },
  17769. "amount": {
  17770. "description": "资金金额",
  17771. "type": "number"
  17772. },
  17773. "amountadjusttype": {
  17774. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17775. "type": "integer"
  17776. },
  17777. "autoid": {
  17778. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17779. "type": "integer"
  17780. },
  17781. "balance": {
  17782. "description": "期初余额",
  17783. "type": "number"
  17784. },
  17785. "businesscode": {
  17786. "description": "业务编号",
  17787. "type": "integer"
  17788. },
  17789. "createtime": {
  17790. "description": "发生时间",
  17791. "type": "string"
  17792. },
  17793. "currencyid": {
  17794. "description": "币种ID",
  17795. "type": "integer"
  17796. },
  17797. "currentbalance": {
  17798. "description": "期末余额(变动后金额)",
  17799. "type": "number"
  17800. },
  17801. "dgoodscode": {
  17802. "description": "交割商品代码",
  17803. "type": "string"
  17804. },
  17805. "dgoodsname": {
  17806. "description": "交割商品名称",
  17807. "type": "string"
  17808. },
  17809. "goodscode": {
  17810. "description": "商品代码",
  17811. "type": "string"
  17812. },
  17813. "goodsid": {
  17814. "description": "商品ID",
  17815. "type": "integer"
  17816. },
  17817. "goodsname": {
  17818. "description": "商品名称",
  17819. "type": "string"
  17820. },
  17821. "marketid": {
  17822. "description": "市场ID",
  17823. "type": "integer"
  17824. },
  17825. "marketname": {
  17826. "description": "市场名称",
  17827. "type": "string"
  17828. },
  17829. "moneyticket": {
  17830. "description": "资金流水号:银行端流水号",
  17831. "type": "integer"
  17832. },
  17833. "operatetype": {
  17834. "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:营销收款",
  17835. "type": "integer"
  17836. },
  17837. "relationorderid": {
  17838. "description": "关联单号",
  17839. "type": "string"
  17840. },
  17841. "remark": {
  17842. "description": "备注",
  17843. "type": "string"
  17844. },
  17845. "trademode": {
  17846. "description": "交易模式",
  17847. "type": "integer"
  17848. }
  17849. }
  17850. },
  17851. "taaccount.QueryHisAmountLogRsp": {
  17852. "type": "object",
  17853. "required": [
  17854. "accountid",
  17855. "amount",
  17856. "amountadjusttype",
  17857. "autoid",
  17858. "balance",
  17859. "createtime",
  17860. "currentbalance",
  17861. "histradedate",
  17862. "operatetype"
  17863. ],
  17864. "properties": {
  17865. "OPERATETYPENAME": {
  17866. "description": "资金操作类型名称",
  17867. "type": "string"
  17868. },
  17869. "accountid": {
  17870. "description": "资金账户ID",
  17871. "type": "integer"
  17872. },
  17873. "agoodscode": {
  17874. "description": "竞拍商品代码",
  17875. "type": "string"
  17876. },
  17877. "agoodsname": {
  17878. "description": "竞拍商品名称",
  17879. "type": "string"
  17880. },
  17881. "amount": {
  17882. "description": "资金金额",
  17883. "type": "number"
  17884. },
  17885. "amountadjusttype": {
  17886. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17887. "type": "integer"
  17888. },
  17889. "autoid": {
  17890. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17891. "type": "integer"
  17892. },
  17893. "balance": {
  17894. "description": "期初余额",
  17895. "type": "number"
  17896. },
  17897. "businesscode": {
  17898. "description": "业务编号",
  17899. "type": "integer"
  17900. },
  17901. "createtime": {
  17902. "description": "发生时间",
  17903. "type": "string"
  17904. },
  17905. "currencyid": {
  17906. "description": "币种ID",
  17907. "type": "integer"
  17908. },
  17909. "currentbalance": {
  17910. "description": "期末余额(变动后金额)",
  17911. "type": "number"
  17912. },
  17913. "dgoodscode": {
  17914. "description": "交割商品代码",
  17915. "type": "string"
  17916. },
  17917. "dgoodsname": {
  17918. "description": "交割商品名称",
  17919. "type": "string"
  17920. },
  17921. "goodscode": {
  17922. "description": "商品代码",
  17923. "type": "string"
  17924. },
  17925. "goodsid": {
  17926. "description": "商品ID",
  17927. "type": "integer"
  17928. },
  17929. "goodsname": {
  17930. "description": "商品名称",
  17931. "type": "string"
  17932. },
  17933. "histradedate": {
  17934. "description": "历史交易日",
  17935. "type": "string"
  17936. },
  17937. "isvaliddata": {
  17938. "description": "是否有效 - 0:无效 1:有效",
  17939. "type": "integer"
  17940. },
  17941. "marketid": {
  17942. "description": "市场ID",
  17943. "type": "integer"
  17944. },
  17945. "marketname": {
  17946. "description": "市场名称",
  17947. "type": "string"
  17948. },
  17949. "moneyticket": {
  17950. "description": "资金流水号:银行端流水号",
  17951. "type": "integer"
  17952. },
  17953. "operatetype": {
  17954. "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:营销收款",
  17955. "type": "integer"
  17956. },
  17957. "relationorderid": {
  17958. "description": "关联单号",
  17959. "type": "string"
  17960. },
  17961. "remark": {
  17962. "description": "备注",
  17963. "type": "string"
  17964. },
  17965. "trademode": {
  17966. "description": "交易模式",
  17967. "type": "integer"
  17968. }
  17969. }
  17970. },
  17971. "trade.QueryRecieptOrderRsp": {
  17972. "type": "object",
  17973. "required": [
  17974. "ordertime"
  17975. ],
  17976. "properties": {
  17977. "accountName": {
  17978. "description": "所属账号名称(已脱敏)",
  17979. "type": "string"
  17980. },
  17981. "accountid": {
  17982. "description": "资金账号",
  17983. "type": "integer"
  17984. },
  17985. "buyorsell": {
  17986. "description": "方向 - 0:买 1:卖",
  17987. "type": "integer"
  17988. },
  17989. "enableqty": {
  17990. "description": "可摘数量",
  17991. "type": "integer"
  17992. },
  17993. "goodscode": {
  17994. "description": "商品代码",
  17995. "type": "string"
  17996. },
  17997. "goodsid": {
  17998. "description": "商品ID",
  17999. "type": "integer"
  18000. },
  18001. "goodsname": {
  18002. "description": "商品名称",
  18003. "type": "string"
  18004. },
  18005. "orderid": {
  18006. "description": "委托单号",
  18007. "type": "string"
  18008. },
  18009. "orderprice": {
  18010. "description": "委托价格",
  18011. "type": "number"
  18012. },
  18013. "ordertime": {
  18014. "description": "委托时间",
  18015. "type": "string"
  18016. },
  18017. "tradedate": {
  18018. "description": "交易日(yyyyMMdd)",
  18019. "type": "string"
  18020. }
  18021. }
  18022. }
  18023. },
  18024. "securityDefinitions": {
  18025. "ApiKeyAuth": {
  18026. "type": "apiKey",
  18027. "name": "Authorization",
  18028. "in": "header"
  18029. }
  18030. }
  18031. }`
  18032. type swaggerInfo struct {
  18033. Version string
  18034. Host string
  18035. BasePath string
  18036. Schemes []string
  18037. Title string
  18038. Description string
  18039. }
  18040. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18041. var SwaggerInfo = swaggerInfo{
  18042. Version: "1.0",
  18043. Host: "",
  18044. BasePath: "/api",
  18045. Schemes: []string{},
  18046. Title: "MTP2.0 查询服务 API",
  18047. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18048. }
  18049. type s struct{}
  18050. func (s *s) ReadDoc() string {
  18051. sInfo := SwaggerInfo
  18052. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18053. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18054. "marshal": func(v interface{}) string {
  18055. a, _ := json.Marshal(v)
  18056. return string(a)
  18057. },
  18058. }).Parse(doc)
  18059. if err != nil {
  18060. return doc
  18061. }
  18062. var tpl bytes.Buffer
  18063. if err := t.Execute(&tpl, sInfo); err != nil {
  18064. return doc
  18065. }
  18066. return tpl.String()
  18067. }
  18068. func init() {
  18069. swag.Register(swag.Name, &s{})
  18070. }