docs.go 577 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039
  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. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryErrorInfos": {
  464. "get": {
  465. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "获取数据库错误信息",
  473. "parameters": [
  474. {
  475. "type": "string",
  476. "description": "起始行号前索引",
  477. "name": "rowNumber",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryImageConfigs": {
  498. "get": {
  499. "produces": [
  500. "application/json"
  501. ],
  502. "tags": [
  503. "通用服务"
  504. ],
  505. "summary": "查询轮播图配置信息",
  506. "parameters": [
  507. {
  508. "type": "integer",
  509. "description": "类型 - 1:App首页轮播 2:我的",
  510. "name": "imageType",
  511. "in": "query"
  512. }
  513. ],
  514. "responses": {
  515. "200": {
  516. "description": "OK",
  517. "schema": {
  518. "$ref": "#/definitions/models.Szdz2imageconfig"
  519. }
  520. },
  521. "500": {
  522. "description": "Internal Server Error",
  523. "schema": {
  524. "$ref": "#/definitions/app.Response"
  525. }
  526. }
  527. }
  528. }
  529. },
  530. "/Common/QueryNotice": {
  531. "get": {
  532. "security": [
  533. {
  534. "ApiKeyAuth": []
  535. }
  536. ],
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "通用服务"
  542. ],
  543. "summary": "通知公告系统消息查询",
  544. "parameters": [
  545. {
  546. "type": "integer",
  547. "description": "页码",
  548. "name": "page",
  549. "in": "query"
  550. },
  551. {
  552. "type": "integer",
  553. "description": "每页条数",
  554. "name": "pagesize",
  555. "in": "query"
  556. },
  557. {
  558. "type": "integer",
  559. "description": "登录账号",
  560. "name": "loginID",
  561. "in": "query",
  562. "required": true
  563. },
  564. {
  565. "type": "integer",
  566. "description": "消息类型 - 1:公告通知 2:系统消息",
  567. "name": "msgType",
  568. "in": "query"
  569. },
  570. {
  571. "type": "boolean",
  572. "description": "是否只获取未读信息",
  573. "name": "onlyUnRead",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryNoticeRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryProvincesAndCities": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询省市信息(不包括区)",
  602. "parameters": [
  603. {
  604. "type": "integer",
  605. "description": "省ID",
  606. "name": "provinceID",
  607. "in": "query"
  608. }
  609. ],
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/QueryTableDefine": {
  627. "get": {
  628. "produces": [
  629. "application/json"
  630. ],
  631. "tags": [
  632. "通用服务"
  633. ],
  634. "summary": "查询交易端列表头信息",
  635. "parameters": [
  636. {
  637. "type": "string",
  638. "description": "表key",
  639. "name": "tableKey",
  640. "in": "query"
  641. },
  642. {
  643. "type": "integer",
  644. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  645. "name": "tableType",
  646. "in": "query"
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTableDefineRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Common/QueryTraderMenu": {
  666. "get": {
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "通用服务"
  672. ],
  673. "summary": "查询交易端菜单",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "登录账号",
  678. "name": "loginid",
  679. "in": "query",
  680. "required": true
  681. }
  682. ],
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Delivery/QueryDeliveryRelation": {
  700. "get": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "produces": [
  707. "application/json"
  708. ],
  709. "tags": [
  710. "交割服务"
  711. ],
  712. "summary": "查询商品交割关系表",
  713. "parameters": [
  714. {
  715. "type": "integer",
  716. "description": "商品ID",
  717. "name": "goodsid",
  718. "in": "query"
  719. },
  720. {
  721. "type": "integer",
  722. "description": "品种ID",
  723. "name": "deliverygoodsid",
  724. "in": "query"
  725. },
  726. {
  727. "type": "integer",
  728. "description": "市场ID",
  729. "name": "marketid",
  730. "in": "query"
  731. }
  732. ],
  733. "responses": {
  734. "200": {
  735. "description": "OK",
  736. "schema": {
  737. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  738. }
  739. },
  740. "500": {
  741. "description": "Internal Server Error",
  742. "schema": {
  743. "$ref": "#/definitions/app.Response"
  744. }
  745. }
  746. }
  747. }
  748. },
  749. "/Ermcp/QryReportDayFinance": {
  750. "get": {
  751. "security": [
  752. {
  753. "ApiKeyAuth": []
  754. }
  755. ],
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "企业风险管理(app)"
  761. ],
  762. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "用户ID",
  767. "name": "userid",
  768. "in": "query",
  769. "required": true
  770. },
  771. {
  772. "type": "string",
  773. "description": "交易日(格式:yyyyMMdd)",
  774. "name": "tradedate",
  775. "in": "query",
  776. "required": true
  777. }
  778. ],
  779. "responses": {
  780. "200": {
  781. "description": "OK",
  782. "schema": {
  783. "type": "array",
  784. "items": {
  785. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  786. }
  787. }
  788. },
  789. "500": {
  790. "description": "Internal Server Error",
  791. "schema": {
  792. "$ref": "#/definitions/app.Response"
  793. }
  794. }
  795. }
  796. }
  797. },
  798. "/Ermcp/QryReportDayFinanceFp": {
  799. "get": {
  800. "security": [
  801. {
  802. "ApiKeyAuth": []
  803. }
  804. ],
  805. "produces": [
  806. "application/json"
  807. ],
  808. "tags": [
  809. "企业风险管理(app)"
  810. ],
  811. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  812. "parameters": [
  813. {
  814. "type": "integer",
  815. "description": "用户ID",
  816. "name": "userid",
  817. "in": "query",
  818. "required": true
  819. },
  820. {
  821. "type": "string",
  822. "description": "交易日(格式:yyyyMMdd)",
  823. "name": "tradedate",
  824. "in": "query",
  825. "required": true
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "type": "array",
  833. "items": {
  834. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  835. }
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Ermcp/QryReportDayFinanceKx": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "企业风险管理(app)"
  859. ],
  860. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "用户ID",
  865. "name": "userid",
  866. "in": "query",
  867. "required": true
  868. },
  869. {
  870. "type": "string",
  871. "description": "交易日(格式:yyyyMMdd)",
  872. "name": "tradedate",
  873. "in": "query",
  874. "required": true
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "type": "array",
  882. "items": {
  883. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  884. }
  885. }
  886. },
  887. "500": {
  888. "description": "Internal Server Error",
  889. "schema": {
  890. "$ref": "#/definitions/app.Response"
  891. }
  892. }
  893. }
  894. }
  895. },
  896. "/Ermcp/QryReportMonthFinance": {
  897. "get": {
  898. "security": [
  899. {
  900. "ApiKeyAuth": []
  901. }
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "企业风险管理(app)"
  908. ],
  909. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  910. "parameters": [
  911. {
  912. "type": "integer",
  913. "description": "用户ID",
  914. "name": "userid",
  915. "in": "query",
  916. "required": true
  917. },
  918. {
  919. "type": "string",
  920. "description": "交易日(格式:yyyyMMdd)",
  921. "name": "cycletime",
  922. "in": "query",
  923. "required": true
  924. }
  925. ],
  926. "responses": {
  927. "200": {
  928. "description": "OK",
  929. "schema": {
  930. "type": "array",
  931. "items": {
  932. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  933. }
  934. }
  935. },
  936. "500": {
  937. "description": "Internal Server Error",
  938. "schema": {
  939. "$ref": "#/definitions/app.Response"
  940. }
  941. }
  942. }
  943. }
  944. },
  945. "/Ermcp/QueryAvaildGoodsGroup": {
  946. "get": {
  947. "security": [
  948. {
  949. "ApiKeyAuth": []
  950. }
  951. ],
  952. "produces": [
  953. "application/json"
  954. ],
  955. "tags": [
  956. "企业风险管理(app)"
  957. ],
  958. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  959. "parameters": [
  960. {
  961. "type": "integer",
  962. "description": "所属机构ID",
  963. "name": "userid",
  964. "in": "query",
  965. "required": true
  966. }
  967. ],
  968. "responses": {
  969. "200": {
  970. "description": "OK",
  971. "schema": {
  972. "type": "array",
  973. "items": {
  974. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  975. }
  976. }
  977. },
  978. "500": {
  979. "description": "Internal Server Error",
  980. "schema": {
  981. "$ref": "#/definitions/app.Response"
  982. }
  983. }
  984. }
  985. }
  986. },
  987. "/Ermcp/QueryBusinessDj": {
  988. "get": {
  989. "security": [
  990. {
  991. "ApiKeyAuth": []
  992. }
  993. ],
  994. "produces": [
  995. "application/json"
  996. ],
  997. "tags": [
  998. "企业风险管理(app)"
  999. ],
  1000. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1001. "parameters": [
  1002. {
  1003. "type": "integer",
  1004. "description": "用户ID",
  1005. "name": "UserId",
  1006. "in": "query",
  1007. "required": true
  1008. },
  1009. {
  1010. "type": "string",
  1011. "description": "现货合同ID, 不填则查所有",
  1012. "name": "relatedid",
  1013. "in": "query"
  1014. }
  1015. ],
  1016. "responses": {
  1017. "200": {
  1018. "description": "OK",
  1019. "schema": {
  1020. "type": "array",
  1021. "items": {
  1022. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1023. }
  1024. }
  1025. },
  1026. "500": {
  1027. "description": "Internal Server Error",
  1028. "schema": {
  1029. "$ref": "#/definitions/app.Response"
  1030. }
  1031. }
  1032. }
  1033. }
  1034. },
  1035. "/Ermcp/QueryBusinessFp": {
  1036. "get": {
  1037. "security": [
  1038. {
  1039. "ApiKeyAuth": []
  1040. }
  1041. ],
  1042. "produces": [
  1043. "application/json"
  1044. ],
  1045. "tags": [
  1046. "企业风险管理(app)"
  1047. ],
  1048. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1049. "parameters": [
  1050. {
  1051. "type": "integer",
  1052. "description": "用户ID",
  1053. "name": "UserId",
  1054. "in": "query",
  1055. "required": true
  1056. },
  1057. {
  1058. "type": "string",
  1059. "description": "现货合同ID, 不填则查所有",
  1060. "name": "relatedid",
  1061. "in": "query"
  1062. }
  1063. ],
  1064. "responses": {
  1065. "200": {
  1066. "description": "OK",
  1067. "schema": {
  1068. "type": "array",
  1069. "items": {
  1070. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1071. }
  1072. }
  1073. },
  1074. "500": {
  1075. "description": "Internal Server Error",
  1076. "schema": {
  1077. "$ref": "#/definitions/app.Response"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/Ermcp/QueryBusinessJs": {
  1084. "get": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "produces": [
  1091. "application/json"
  1092. ],
  1093. "tags": [
  1094. "企业风险管理(app)"
  1095. ],
  1096. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1097. "parameters": [
  1098. {
  1099. "type": "integer",
  1100. "description": "用户ID",
  1101. "name": "UserId",
  1102. "in": "query",
  1103. "required": true
  1104. },
  1105. {
  1106. "type": "string",
  1107. "description": "现货合同ID, 不填则查所有",
  1108. "name": "relatedid",
  1109. "in": "query"
  1110. }
  1111. ],
  1112. "responses": {
  1113. "200": {
  1114. "description": "OK",
  1115. "schema": {
  1116. "type": "array",
  1117. "items": {
  1118. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1119. }
  1120. }
  1121. },
  1122. "500": {
  1123. "description": "Internal Server Error",
  1124. "schema": {
  1125. "$ref": "#/definitions/app.Response"
  1126. }
  1127. }
  1128. }
  1129. }
  1130. },
  1131. "/Ermcp/QueryBusinessJsEx": {
  1132. "get": {
  1133. "security": [
  1134. {
  1135. "ApiKeyAuth": []
  1136. }
  1137. ],
  1138. "produces": [
  1139. "application/json"
  1140. ],
  1141. "tags": [
  1142. "企业风险管理(app)"
  1143. ],
  1144. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1145. "parameters": [
  1146. {
  1147. "type": "integer",
  1148. "description": "用户ID",
  1149. "name": "UserId",
  1150. "in": "query",
  1151. "required": true
  1152. },
  1153. {
  1154. "type": "string",
  1155. "description": "现货合同ID, 不填则查所有",
  1156. "name": "relatedid",
  1157. "in": "query"
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "type": "array",
  1165. "items": {
  1166. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1167. }
  1168. }
  1169. },
  1170. "500": {
  1171. "description": "Internal Server Error",
  1172. "schema": {
  1173. "$ref": "#/definitions/app.Response"
  1174. }
  1175. }
  1176. }
  1177. }
  1178. },
  1179. "/Ermcp/QueryBusinessKx": {
  1180. "get": {
  1181. "security": [
  1182. {
  1183. "ApiKeyAuth": []
  1184. }
  1185. ],
  1186. "produces": [
  1187. "application/json"
  1188. ],
  1189. "tags": [
  1190. "企业风险管理(app)"
  1191. ],
  1192. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1193. "parameters": [
  1194. {
  1195. "type": "integer",
  1196. "description": "用户ID",
  1197. "name": "UserId",
  1198. "in": "query",
  1199. "required": true
  1200. },
  1201. {
  1202. "type": "string",
  1203. "description": "现货合同ID, 不填则查所有",
  1204. "name": "relatedid",
  1205. "in": "query"
  1206. }
  1207. ],
  1208. "responses": {
  1209. "200": {
  1210. "description": "OK",
  1211. "schema": {
  1212. "type": "array",
  1213. "items": {
  1214. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1215. }
  1216. }
  1217. },
  1218. "500": {
  1219. "description": "Internal Server Error",
  1220. "schema": {
  1221. "$ref": "#/definitions/app.Response"
  1222. }
  1223. }
  1224. }
  1225. }
  1226. },
  1227. "/Ermcp/QueryChangeLog": {
  1228. "get": {
  1229. "security": [
  1230. {
  1231. "ApiKeyAuth": []
  1232. }
  1233. ],
  1234. "produces": [
  1235. "application/json"
  1236. ],
  1237. "tags": [
  1238. "企业风险管理(app)"
  1239. ],
  1240. "summary": "查询变更记录",
  1241. "parameters": [
  1242. {
  1243. "type": "string",
  1244. "description": "用户ID",
  1245. "name": "RelatedId",
  1246. "in": "query",
  1247. "required": true
  1248. }
  1249. ],
  1250. "responses": {
  1251. "200": {
  1252. "description": "OK",
  1253. "schema": {
  1254. "type": "array",
  1255. "items": {
  1256. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1257. }
  1258. }
  1259. },
  1260. "500": {
  1261. "description": "Internal Server Error",
  1262. "schema": {
  1263. "$ref": "#/definitions/app.Response"
  1264. }
  1265. }
  1266. }
  1267. }
  1268. },
  1269. "/Ermcp/QueryContract": {
  1270. "get": {
  1271. "security": [
  1272. {
  1273. "ApiKeyAuth": []
  1274. }
  1275. ],
  1276. "produces": [
  1277. "application/json"
  1278. ],
  1279. "tags": [
  1280. "企业风险管理(app)"
  1281. ],
  1282. "summary": "查询合同(采购和销售)",
  1283. "parameters": [
  1284. {
  1285. "type": "integer",
  1286. "description": "用户ID",
  1287. "name": "userId",
  1288. "in": "query",
  1289. "required": true
  1290. },
  1291. {
  1292. "type": "integer",
  1293. "description": "合同类型 1-采购, -1-销售",
  1294. "name": "contracttype",
  1295. "in": "query",
  1296. "required": true
  1297. },
  1298. {
  1299. "type": "integer",
  1300. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1301. "name": "querytype",
  1302. "in": "query",
  1303. "required": true
  1304. }
  1305. ],
  1306. "responses": {
  1307. "200": {
  1308. "description": "OK",
  1309. "schema": {
  1310. "type": "array",
  1311. "items": {
  1312. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1313. }
  1314. }
  1315. },
  1316. "500": {
  1317. "description": "Internal Server Error",
  1318. "schema": {
  1319. "$ref": "#/definitions/app.Response"
  1320. }
  1321. }
  1322. }
  1323. }
  1324. },
  1325. "/Ermcp/QueryExposureDetail": {
  1326. "get": {
  1327. "security": [
  1328. {
  1329. "ApiKeyAuth": []
  1330. }
  1331. ],
  1332. "produces": [
  1333. "application/json"
  1334. ],
  1335. "tags": [
  1336. "企业风险管理(app)"
  1337. ],
  1338. "summary": "查询敞口现货明细",
  1339. "parameters": [
  1340. {
  1341. "type": "integer",
  1342. "description": "所属机构ID",
  1343. "name": "areaUserId",
  1344. "in": "query",
  1345. "required": true
  1346. },
  1347. {
  1348. "type": "integer",
  1349. "description": "套保商品",
  1350. "name": "middleGoodsId",
  1351. "in": "query",
  1352. "required": true
  1353. }
  1354. ],
  1355. "responses": {
  1356. "200": {
  1357. "description": "OK",
  1358. "schema": {
  1359. "type": "array",
  1360. "items": {
  1361. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1362. }
  1363. }
  1364. },
  1365. "500": {
  1366. "description": "Internal Server Error",
  1367. "schema": {
  1368. "$ref": "#/definitions/app.Response"
  1369. }
  1370. }
  1371. }
  1372. }
  1373. },
  1374. "/Ermcp/QueryExposureHedgePosition": {
  1375. "get": {
  1376. "security": [
  1377. {
  1378. "ApiKeyAuth": []
  1379. }
  1380. ],
  1381. "produces": [
  1382. "application/json"
  1383. ],
  1384. "tags": [
  1385. "企业风险管理(app)"
  1386. ],
  1387. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1388. "parameters": [
  1389. {
  1390. "type": "integer",
  1391. "description": "所属机构ID",
  1392. "name": "areaUserId",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QueryExposureHedgePositionDetail": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "所属机构ID",
  1434. "name": "areaUserId",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "integer",
  1440. "description": "商品id",
  1441. "name": "goodsId",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QueryExposureSpot": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "所属机构ID",
  1483. "name": "areaUserId",
  1484. "in": "query",
  1485. "required": true
  1486. }
  1487. ],
  1488. "responses": {
  1489. "200": {
  1490. "description": "OK",
  1491. "schema": {
  1492. "type": "array",
  1493. "items": {
  1494. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1495. }
  1496. }
  1497. },
  1498. "500": {
  1499. "description": "Internal Server Error",
  1500. "schema": {
  1501. "$ref": "#/definitions/app.Response"
  1502. }
  1503. }
  1504. }
  1505. }
  1506. },
  1507. "/Ermcp/QueryExposureSpotDetail": {
  1508. "get": {
  1509. "security": [
  1510. {
  1511. "ApiKeyAuth": []
  1512. }
  1513. ],
  1514. "produces": [
  1515. "application/json"
  1516. ],
  1517. "tags": [
  1518. "企业风险管理(app)"
  1519. ],
  1520. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1521. "parameters": [
  1522. {
  1523. "type": "integer",
  1524. "description": "所属机构ID",
  1525. "name": "areaUserId",
  1526. "in": "query",
  1527. "required": true
  1528. },
  1529. {
  1530. "type": "integer",
  1531. "description": "现货品种ID",
  1532. "name": "wrstandardId",
  1533. "in": "query",
  1534. "required": true
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryGGConvertConfig": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "品种id(不填则查所有)",
  1574. "name": "goodsgroupid",
  1575. "in": "query"
  1576. }
  1577. ],
  1578. "responses": {
  1579. "200": {
  1580. "description": "OK",
  1581. "schema": {
  1582. "type": "array",
  1583. "items": {
  1584. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1585. }
  1586. }
  1587. },
  1588. "500": {
  1589. "description": "Internal Server Error",
  1590. "schema": {
  1591. "$ref": "#/definitions/app.Response"
  1592. }
  1593. }
  1594. }
  1595. }
  1596. },
  1597. "/Ermcp/QueryHedgePlan": {
  1598. "get": {
  1599. "security": [
  1600. {
  1601. "ApiKeyAuth": []
  1602. }
  1603. ],
  1604. "produces": [
  1605. "application/json"
  1606. ],
  1607. "tags": [
  1608. "企业风险管理(app)"
  1609. ],
  1610. "summary": "查询套保计划",
  1611. "parameters": [
  1612. {
  1613. "type": "integer",
  1614. "description": "用户ID",
  1615. "name": "userId",
  1616. "in": "query",
  1617. "required": true
  1618. },
  1619. {
  1620. "type": "string",
  1621. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1622. "name": "HedgePlanStatus",
  1623. "in": "query",
  1624. "required": true
  1625. }
  1626. ],
  1627. "responses": {
  1628. "200": {
  1629. "description": "OK",
  1630. "schema": {
  1631. "type": "array",
  1632. "items": {
  1633. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1634. }
  1635. }
  1636. },
  1637. "500": {
  1638. "description": "Internal Server Error",
  1639. "schema": {
  1640. "$ref": "#/definitions/app.Response"
  1641. }
  1642. }
  1643. }
  1644. }
  1645. },
  1646. "/Ermcp/QueryHisExposure": {
  1647. "get": {
  1648. "security": [
  1649. {
  1650. "ApiKeyAuth": []
  1651. }
  1652. ],
  1653. "produces": [
  1654. "application/json"
  1655. ],
  1656. "tags": [
  1657. "企业风险管理(app)"
  1658. ],
  1659. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1660. "parameters": [
  1661. {
  1662. "type": "integer",
  1663. "description": "所属机构ID",
  1664. "name": "areaUserId",
  1665. "in": "query",
  1666. "required": true
  1667. },
  1668. {
  1669. "type": "integer",
  1670. "description": "最近多少条记录, -1:为查全部",
  1671. "name": "lastNum",
  1672. "in": "query",
  1673. "required": true
  1674. }
  1675. ],
  1676. "responses": {
  1677. "200": {
  1678. "description": "OK",
  1679. "schema": {
  1680. "type": "array",
  1681. "items": {
  1682. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1683. }
  1684. }
  1685. },
  1686. "500": {
  1687. "description": "Internal Server Error",
  1688. "schema": {
  1689. "$ref": "#/definitions/app.Response"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "/Ermcp/QueryMiddleGoods": {
  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": "userid",
  1714. "in": "query",
  1715. "required": true
  1716. },
  1717. {
  1718. "type": "integer",
  1719. "description": "状态 0-停用 1-正常",
  1720. "name": "status",
  1721. "in": "query",
  1722. "required": true
  1723. }
  1724. ],
  1725. "responses": {
  1726. "200": {
  1727. "description": "OK",
  1728. "schema": {
  1729. "type": "array",
  1730. "items": {
  1731. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1732. }
  1733. }
  1734. },
  1735. "500": {
  1736. "description": "Internal Server Error",
  1737. "schema": {
  1738. "$ref": "#/definitions/app.Response"
  1739. }
  1740. }
  1741. }
  1742. }
  1743. },
  1744. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1745. "get": {
  1746. "security": [
  1747. {
  1748. "ApiKeyAuth": []
  1749. }
  1750. ],
  1751. "produces": [
  1752. "application/json"
  1753. ],
  1754. "tags": [
  1755. "企业风险管理(app)"
  1756. ],
  1757. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1758. "parameters": [
  1759. {
  1760. "type": "integer",
  1761. "description": "所属机构ID",
  1762. "name": "userid",
  1763. "in": "query",
  1764. "required": true
  1765. },
  1766. {
  1767. "type": "integer",
  1768. "description": "套保品种id",
  1769. "name": "middlegoodsid",
  1770. "in": "query",
  1771. "required": true
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryMiddleGoodsDetail": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "所属机构ID",
  1811. "name": "userid",
  1812. "in": "query",
  1813. "required": true
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "套保品种id",
  1818. "name": "middlegoodsid",
  1819. "in": "query",
  1820. "required": true
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryRealtimeExposure": {
  1843. "get": {
  1844. "security": [
  1845. {
  1846. "ApiKeyAuth": []
  1847. }
  1848. ],
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "企业风险管理(app)"
  1854. ],
  1855. "summary": "查询实时敞口",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "所属机构ID",
  1860. "name": "AreaUserID",
  1861. "in": "query",
  1862. "required": true
  1863. }
  1864. ],
  1865. "responses": {
  1866. "200": {
  1867. "description": "OK",
  1868. "schema": {
  1869. "type": "array",
  1870. "items": {
  1871. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1872. }
  1873. }
  1874. },
  1875. "500": {
  1876. "description": "Internal Server Error",
  1877. "schema": {
  1878. "$ref": "#/definitions/app.Response"
  1879. }
  1880. }
  1881. }
  1882. }
  1883. },
  1884. "/Ermcp/QueryRealtimeExposurePosition": {
  1885. "get": {
  1886. "security": [
  1887. {
  1888. "ApiKeyAuth": []
  1889. }
  1890. ],
  1891. "produces": [
  1892. "application/json"
  1893. ],
  1894. "tags": [
  1895. "企业风险管理(app)"
  1896. ],
  1897. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1898. "parameters": [
  1899. {
  1900. "type": "integer",
  1901. "description": "所属机构ID",
  1902. "name": "areaUserId",
  1903. "in": "query",
  1904. "required": true
  1905. },
  1906. {
  1907. "type": "integer",
  1908. "description": "套保商品ID",
  1909. "name": "middleGoodsId",
  1910. "in": "query",
  1911. "required": true
  1912. }
  1913. ],
  1914. "responses": {
  1915. "200": {
  1916. "description": "OK",
  1917. "schema": {
  1918. "type": "array",
  1919. "items": {
  1920. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1921. }
  1922. }
  1923. },
  1924. "500": {
  1925. "description": "Internal Server Error",
  1926. "schema": {
  1927. "$ref": "#/definitions/app.Response"
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "/Ermcp/QuerySpotContract": {
  1934. "get": {
  1935. "security": [
  1936. {
  1937. "ApiKeyAuth": []
  1938. }
  1939. ],
  1940. "produces": [
  1941. "application/json"
  1942. ],
  1943. "tags": [
  1944. "企业风险管理(app)"
  1945. ],
  1946. "summary": "查询现货合同(对应现货合同菜单)",
  1947. "parameters": [
  1948. {
  1949. "type": "integer",
  1950. "description": "用户ID",
  1951. "name": "userId",
  1952. "in": "query",
  1953. "required": true
  1954. },
  1955. {
  1956. "type": "integer",
  1957. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1958. "name": "QueryType",
  1959. "in": "query",
  1960. "required": true
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "type": "array",
  1968. "items": {
  1969. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1970. }
  1971. }
  1972. },
  1973. "500": {
  1974. "description": "Internal Server Error",
  1975. "schema": {
  1976. "$ref": "#/definitions/app.Response"
  1977. }
  1978. }
  1979. }
  1980. }
  1981. },
  1982. "/Ermcp/QueryUserInfo": {
  1983. "get": {
  1984. "security": [
  1985. {
  1986. "ApiKeyAuth": []
  1987. }
  1988. ],
  1989. "produces": [
  1990. "application/json"
  1991. ],
  1992. "tags": [
  1993. "企业风险管理(app)"
  1994. ],
  1995. "summary": "查询客户资料",
  1996. "parameters": [
  1997. {
  1998. "type": "integer",
  1999. "description": "所属机构用户ID",
  2000. "name": "MemberUserID",
  2001. "in": "query",
  2002. "required": true
  2003. },
  2004. {
  2005. "type": "integer",
  2006. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2007. "name": "queryType",
  2008. "in": "query",
  2009. "required": true
  2010. }
  2011. ],
  2012. "responses": {
  2013. "200": {
  2014. "description": "OK",
  2015. "schema": {
  2016. "type": "array",
  2017. "items": {
  2018. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2019. }
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryWrStandard": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询现货商品",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "userid",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "状态 0-停用 1-正常",
  2056. "name": "status",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryWrStandardDetail": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "所属机构ID",
  2098. "name": "userid",
  2099. "in": "query",
  2100. "required": true
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "现货商品ID",
  2105. "name": "wrstandardid",
  2106. "in": "query",
  2107. "required": true
  2108. }
  2109. ],
  2110. "responses": {
  2111. "200": {
  2112. "description": "OK",
  2113. "schema": {
  2114. "type": "array",
  2115. "items": {
  2116. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2117. }
  2118. }
  2119. },
  2120. "500": {
  2121. "description": "Internal Server Error",
  2122. "schema": {
  2123. "$ref": "#/definitions/app.Response"
  2124. }
  2125. }
  2126. }
  2127. }
  2128. },
  2129. "/Erms2/QueryArbitrageStrategy": {
  2130. "get": {
  2131. "security": [
  2132. {
  2133. "ApiKeyAuth": []
  2134. }
  2135. ],
  2136. "produces": [
  2137. "application/json"
  2138. ],
  2139. "tags": [
  2140. "风险管理"
  2141. ],
  2142. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2143. "parameters": [
  2144. {
  2145. "type": "integer",
  2146. "description": "账户ID",
  2147. "name": "userid",
  2148. "in": "query",
  2149. "required": true
  2150. },
  2151. {
  2152. "type": "string",
  2153. "description": "商品组ID(品种ID)",
  2154. "name": "goodsgroupid",
  2155. "in": "query"
  2156. }
  2157. ],
  2158. "responses": {
  2159. "200": {
  2160. "description": "OK",
  2161. "schema": {
  2162. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2163. }
  2164. },
  2165. "500": {
  2166. "description": "Internal Server Error",
  2167. "schema": {
  2168. "$ref": "#/definitions/app.Response"
  2169. }
  2170. }
  2171. }
  2172. }
  2173. },
  2174. "/Erms2/QueryInnerTradeDetail": {
  2175. "get": {
  2176. "security": [
  2177. {
  2178. "ApiKeyAuth": []
  2179. }
  2180. ],
  2181. "produces": [
  2182. "application/json"
  2183. ],
  2184. "tags": [
  2185. "风险管理"
  2186. ],
  2187. "summary": "查询内部成交单信息",
  2188. "parameters": [
  2189. {
  2190. "type": "integer",
  2191. "description": "资金账户",
  2192. "name": "accountid",
  2193. "in": "query",
  2194. "required": true
  2195. }
  2196. ],
  2197. "responses": {
  2198. "200": {
  2199. "description": "OK",
  2200. "schema": {
  2201. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Erms2/QuerySpotContract": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "风险管理"
  2225. ],
  2226. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "策略申请ID",
  2231. "name": "asapplyid",
  2232. "in": "query",
  2233. "required": true
  2234. },
  2235. {
  2236. "type": "integer",
  2237. "description": "现货合同ID",
  2238. "name": "spotcontractid",
  2239. "in": "query"
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2247. }
  2248. },
  2249. "500": {
  2250. "description": "Internal Server Error",
  2251. "schema": {
  2252. "$ref": "#/definitions/app.Response"
  2253. }
  2254. }
  2255. }
  2256. }
  2257. },
  2258. "/Erms3/AddErms2ASApply": {
  2259. "post": {
  2260. "security": [
  2261. {
  2262. "ApiKeyAuth": []
  2263. }
  2264. ],
  2265. "produces": [
  2266. "application/json"
  2267. ],
  2268. "tags": [
  2269. "风险管理v3"
  2270. ],
  2271. "summary": "新增期现套利业务申请",
  2272. "parameters": [
  2273. {
  2274. "description": "申请参数",
  2275. "name": "jsonBody",
  2276. "in": "body",
  2277. "required": true,
  2278. "schema": {
  2279. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2280. }
  2281. }
  2282. ],
  2283. "responses": {
  2284. "200": {
  2285. "description": "OK",
  2286. "schema": {
  2287. "$ref": "#/definitions/app.Response"
  2288. }
  2289. },
  2290. "500": {
  2291. "description": "Internal Server Error",
  2292. "schema": {
  2293. "$ref": "#/definitions/app.Response"
  2294. }
  2295. }
  2296. }
  2297. }
  2298. },
  2299. "/Erms3/AddErms2SpotTradeApply": {
  2300. "post": {
  2301. "security": [
  2302. {
  2303. "ApiKeyAuth": []
  2304. }
  2305. ],
  2306. "produces": [
  2307. "application/json"
  2308. ],
  2309. "tags": [
  2310. "风险管理v3"
  2311. ],
  2312. "summary": "新增现货贸易业务申请",
  2313. "parameters": [
  2314. {
  2315. "description": "申请参数",
  2316. "name": "jsonBody",
  2317. "in": "body",
  2318. "required": true,
  2319. "schema": {
  2320. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2321. }
  2322. }
  2323. ],
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "$ref": "#/definitions/app.Response"
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/Erms3/AddSpotContractApply": {
  2341. "post": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "produces": [
  2348. "application/json"
  2349. ],
  2350. "tags": [
  2351. "风险管理v3"
  2352. ],
  2353. "summary": "新增现货合同申请",
  2354. "parameters": [
  2355. {
  2356. "description": "申请参数",
  2357. "name": "jsonBody",
  2358. "in": "body",
  2359. "required": true,
  2360. "schema": {
  2361. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2362. }
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2370. }
  2371. },
  2372. "500": {
  2373. "description": "Internal Server Error",
  2374. "schema": {
  2375. "$ref": "#/definitions/app.Response"
  2376. }
  2377. }
  2378. }
  2379. }
  2380. },
  2381. "/Erms3/AddUserInfoApply": {
  2382. "post": {
  2383. "security": [
  2384. {
  2385. "ApiKeyAuth": []
  2386. }
  2387. ],
  2388. "produces": [
  2389. "application/json"
  2390. ],
  2391. "tags": [
  2392. "风险管理v3"
  2393. ],
  2394. "summary": "新增客户申请",
  2395. "parameters": [
  2396. {
  2397. "description": "用户信息",
  2398. "name": "jsonBody",
  2399. "in": "body",
  2400. "required": true,
  2401. "schema": {
  2402. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2403. }
  2404. }
  2405. ],
  2406. "responses": {
  2407. "200": {
  2408. "description": "OK",
  2409. "schema": {
  2410. "$ref": "#/definitions/app.Response"
  2411. }
  2412. },
  2413. "500": {
  2414. "description": "Internal Server Error",
  2415. "schema": {
  2416. "$ref": "#/definitions/app.Response"
  2417. }
  2418. }
  2419. }
  2420. }
  2421. },
  2422. "/Erms3/ModifyUserInfoApply": {
  2423. "post": {
  2424. "security": [
  2425. {
  2426. "ApiKeyAuth": []
  2427. }
  2428. ],
  2429. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2430. "produces": [
  2431. "application/json"
  2432. ],
  2433. "tags": [
  2434. "风险管理v3"
  2435. ],
  2436. "summary": "修改客户申请",
  2437. "parameters": [
  2438. {
  2439. "description": "用户信息",
  2440. "name": "jsonBody",
  2441. "in": "body",
  2442. "required": true,
  2443. "schema": {
  2444. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2445. }
  2446. }
  2447. ],
  2448. "responses": {
  2449. "200": {
  2450. "description": "OK",
  2451. "schema": {
  2452. "$ref": "#/definitions/app.Response"
  2453. }
  2454. },
  2455. "500": {
  2456. "description": "Internal Server Error",
  2457. "schema": {
  2458. "$ref": "#/definitions/app.Response"
  2459. }
  2460. }
  2461. }
  2462. }
  2463. },
  2464. "/Erms3/QueryBusinessInfo": {
  2465. "get": {
  2466. "security": [
  2467. {
  2468. "ApiKeyAuth": []
  2469. }
  2470. ],
  2471. "produces": [
  2472. "application/json"
  2473. ],
  2474. "tags": [
  2475. "风险管理v3"
  2476. ],
  2477. "summary": "查询业务表单数据",
  2478. "parameters": [
  2479. {
  2480. "type": "string",
  2481. "description": "资金账号ID列表,用逗号分隔",
  2482. "name": "accountids",
  2483. "in": "query",
  2484. "required": true
  2485. },
  2486. {
  2487. "type": "integer",
  2488. "description": "状态,0为未结束 1为已结束",
  2489. "name": "status",
  2490. "in": "query",
  2491. "required": true
  2492. }
  2493. ],
  2494. "responses": {
  2495. "200": {
  2496. "description": "OK",
  2497. "schema": {
  2498. "type": "array",
  2499. "items": {
  2500. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2501. }
  2502. }
  2503. },
  2504. "500": {
  2505. "description": "Internal Server Error",
  2506. "schema": {
  2507. "$ref": "#/definitions/app.Response"
  2508. }
  2509. }
  2510. }
  2511. }
  2512. },
  2513. "/Erms3/QueryPendingAuditContract": {
  2514. "get": {
  2515. "security": [
  2516. {
  2517. "ApiKeyAuth": []
  2518. }
  2519. ],
  2520. "produces": [
  2521. "application/json"
  2522. ],
  2523. "tags": [
  2524. "风险管理v3"
  2525. ],
  2526. "summary": "查询待审核合同",
  2527. "parameters": [
  2528. {
  2529. "type": "string",
  2530. "description": "资金账号ID列表,逗号隔开",
  2531. "name": "accountids",
  2532. "in": "query",
  2533. "required": true
  2534. },
  2535. {
  2536. "type": "integer",
  2537. "description": "合同类型 1-采购 -1-销售",
  2538. "name": "contracttype",
  2539. "in": "query",
  2540. "required": true
  2541. },
  2542. {
  2543. "type": "integer",
  2544. "description": "合同模式 1-普通 2-回购",
  2545. "name": "contractmode",
  2546. "in": "query",
  2547. "required": true
  2548. }
  2549. ],
  2550. "responses": {
  2551. "200": {
  2552. "description": "OK",
  2553. "schema": {
  2554. "type": "array",
  2555. "items": {
  2556. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2557. }
  2558. }
  2559. },
  2560. "500": {
  2561. "description": "Internal Server Error",
  2562. "schema": {
  2563. "$ref": "#/definitions/app.Response"
  2564. }
  2565. }
  2566. }
  2567. }
  2568. },
  2569. "/Erms3/QueryPendingBusiness": {
  2570. "get": {
  2571. "security": [
  2572. {
  2573. "ApiKeyAuth": []
  2574. }
  2575. ],
  2576. "produces": [
  2577. "application/json"
  2578. ],
  2579. "tags": [
  2580. "风险管理v3"
  2581. ],
  2582. "summary": "查询待审核基差贸易业务",
  2583. "parameters": [
  2584. {
  2585. "type": "string",
  2586. "description": "资金账号ID列表,逗号隔开",
  2587. "name": "accountids",
  2588. "in": "query",
  2589. "required": true
  2590. }
  2591. ],
  2592. "responses": {
  2593. "200": {
  2594. "description": "OK",
  2595. "schema": {
  2596. "type": "array",
  2597. "items": {
  2598. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2599. }
  2600. }
  2601. },
  2602. "500": {
  2603. "description": "Internal Server Error",
  2604. "schema": {
  2605. "$ref": "#/definitions/app.Response"
  2606. }
  2607. }
  2608. }
  2609. }
  2610. },
  2611. "/Erms3/QuerySpotContractAppleForm": {
  2612. "get": {
  2613. "security": [
  2614. {
  2615. "ApiKeyAuth": []
  2616. }
  2617. ],
  2618. "produces": [
  2619. "application/json"
  2620. ],
  2621. "tags": [
  2622. "风险管理v3"
  2623. ],
  2624. "summary": "查询合同申请表单数据",
  2625. "parameters": [
  2626. {
  2627. "type": "integer",
  2628. "description": "登录账号",
  2629. "name": "loginID",
  2630. "in": "query",
  2631. "required": true
  2632. }
  2633. ],
  2634. "responses": {
  2635. "200": {
  2636. "description": "OK",
  2637. "schema": {
  2638. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2639. }
  2640. },
  2641. "500": {
  2642. "description": "Internal Server Error",
  2643. "schema": {
  2644. "$ref": "#/definitions/app.Response"
  2645. }
  2646. }
  2647. }
  2648. }
  2649. },
  2650. "/Erms3/QuerySpotContractDetail": {
  2651. "get": {
  2652. "security": [
  2653. {
  2654. "ApiKeyAuth": []
  2655. }
  2656. ],
  2657. "produces": [
  2658. "application/json"
  2659. ],
  2660. "tags": [
  2661. "风险管理v3"
  2662. ],
  2663. "summary": "查询合同详细信息",
  2664. "parameters": [
  2665. {
  2666. "type": "string",
  2667. "description": "资金账号ID列表,用逗号分隔",
  2668. "name": "accountids",
  2669. "in": "query",
  2670. "required": true
  2671. },
  2672. {
  2673. "type": "integer",
  2674. "description": "合同类型,1为采购合同 -1为销售合同",
  2675. "name": "contracttype",
  2676. "in": "query",
  2677. "required": true
  2678. },
  2679. {
  2680. "type": "integer",
  2681. "description": "合同模式,1为普通合同 2为回购销售合同",
  2682. "name": "contractmode",
  2683. "in": "query",
  2684. "required": true
  2685. },
  2686. {
  2687. "type": "integer",
  2688. "description": "状态,0为履约中 1为已完成",
  2689. "name": "status",
  2690. "in": "query",
  2691. "required": true
  2692. }
  2693. ],
  2694. "responses": {
  2695. "200": {
  2696. "description": "OK",
  2697. "schema": {
  2698. "type": "array",
  2699. "items": {
  2700. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2701. }
  2702. }
  2703. },
  2704. "500": {
  2705. "description": "Internal Server Error",
  2706. "schema": {
  2707. "$ref": "#/definitions/app.Response"
  2708. }
  2709. }
  2710. }
  2711. }
  2712. },
  2713. "/Erms3/QueryUserInfoApplies": {
  2714. "get": {
  2715. "security": [
  2716. {
  2717. "ApiKeyAuth": []
  2718. }
  2719. ],
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "风险管理v3"
  2725. ],
  2726. "summary": "客户申请信息查询",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "页码",
  2731. "name": "page",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "每页条数",
  2737. "name": "pagesize",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "string",
  2742. "description": "客户名称,支持模糊查询",
  2743. "name": "userName",
  2744. "in": "query"
  2745. }
  2746. ],
  2747. "responses": {
  2748. "200": {
  2749. "description": "OK",
  2750. "schema": {
  2751. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2752. }
  2753. },
  2754. "500": {
  2755. "description": "Internal Server Error",
  2756. "schema": {
  2757. "$ref": "#/definitions/app.Response"
  2758. }
  2759. }
  2760. }
  2761. }
  2762. },
  2763. "/Erms3/QueryUserInfos": {
  2764. "get": {
  2765. "security": [
  2766. {
  2767. "ApiKeyAuth": []
  2768. }
  2769. ],
  2770. "produces": [
  2771. "application/json"
  2772. ],
  2773. "tags": [
  2774. "风险管理v3"
  2775. ],
  2776. "summary": "客户信息查询",
  2777. "parameters": [
  2778. {
  2779. "type": "integer",
  2780. "description": "页码",
  2781. "name": "page",
  2782. "in": "query"
  2783. },
  2784. {
  2785. "type": "integer",
  2786. "description": "每页条数",
  2787. "name": "pagesize",
  2788. "in": "query"
  2789. },
  2790. {
  2791. "type": "string",
  2792. "description": "客户名称,支持模糊查询",
  2793. "name": "userName",
  2794. "in": "query"
  2795. }
  2796. ],
  2797. "responses": {
  2798. "200": {
  2799. "description": "OK",
  2800. "schema": {
  2801. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2802. }
  2803. },
  2804. "500": {
  2805. "description": "Internal Server Error",
  2806. "schema": {
  2807. "$ref": "#/definitions/app.Response"
  2808. }
  2809. }
  2810. }
  2811. }
  2812. },
  2813. "/HSBY/GetHsbyMyCount": {
  2814. "get": {
  2815. "security": [
  2816. {
  2817. "ApiKeyAuth": []
  2818. }
  2819. ],
  2820. "description": "说明: 不包括已完成的数量。",
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "定制【海商报业】"
  2826. ],
  2827. "summary": "获取我的订单与包裹数量",
  2828. "parameters": [
  2829. {
  2830. "type": "string",
  2831. "description": "资金账户列表,格式:1,2,3",
  2832. "name": "accountIDs",
  2833. "in": "query",
  2834. "required": true
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2842. }
  2843. },
  2844. "500": {
  2845. "description": "Internal Server Error",
  2846. "schema": {
  2847. "$ref": "#/definitions/app.Response"
  2848. }
  2849. }
  2850. }
  2851. }
  2852. },
  2853. "/HSBY/QueryClientFixedADConfigs": {
  2854. "get": {
  2855. "security": [
  2856. {
  2857. "ApiKeyAuth": []
  2858. }
  2859. ],
  2860. "produces": [
  2861. "application/json"
  2862. ],
  2863. "tags": [
  2864. "定制【海商报业】"
  2865. ],
  2866. "summary": "获取终端固定广告配置",
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "$ref": "#/definitions/models.Clientfixedadconfig"
  2872. }
  2873. },
  2874. "500": {
  2875. "description": "Internal Server Error",
  2876. "schema": {
  2877. "$ref": "#/definitions/app.Response"
  2878. }
  2879. }
  2880. }
  2881. }
  2882. },
  2883. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2884. "get": {
  2885. "security": [
  2886. {
  2887. "ApiKeyAuth": []
  2888. }
  2889. ],
  2890. "produces": [
  2891. "application/json"
  2892. ],
  2893. "tags": [
  2894. "定制【海商报业】"
  2895. ],
  2896. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2897. "parameters": [
  2898. {
  2899. "type": "integer",
  2900. "description": "页码",
  2901. "name": "page",
  2902. "in": "query"
  2903. },
  2904. {
  2905. "type": "integer",
  2906. "description": "每页条数",
  2907. "name": "pagesize",
  2908. "in": "query"
  2909. },
  2910. {
  2911. "type": "string",
  2912. "description": "资金账户列表,格式:1,2,3",
  2913. "name": "accountIDs",
  2914. "in": "query",
  2915. "required": true
  2916. }
  2917. ],
  2918. "responses": {
  2919. "200": {
  2920. "description": "OK",
  2921. "schema": {
  2922. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "description": "说明:查询结果已按委托价格和委托时间排序",
  2942. "produces": [
  2943. "application/json"
  2944. ],
  2945. "tags": [
  2946. "定制【海商报业】"
  2947. ],
  2948. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2949. "parameters": [
  2950. {
  2951. "type": "integer",
  2952. "description": "商品ID",
  2953. "name": "goodsID",
  2954. "in": "query",
  2955. "required": true
  2956. },
  2957. {
  2958. "type": "string",
  2959. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2960. "name": "accountIDs",
  2961. "in": "query"
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2966. "name": "buyOrSell",
  2967. "in": "query"
  2968. },
  2969. {
  2970. "type": "number",
  2971. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2972. "name": "price",
  2973. "in": "query"
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "档位,不传则默认为3档",
  2978. "name": "speed",
  2979. "in": "query"
  2980. }
  2981. ],
  2982. "responses": {
  2983. "200": {
  2984. "description": "OK",
  2985. "schema": {
  2986. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2987. }
  2988. },
  2989. "500": {
  2990. "description": "Internal Server Error",
  2991. "schema": {
  2992. "$ref": "#/definitions/app.Response"
  2993. }
  2994. }
  2995. }
  2996. }
  2997. },
  2998. "/HSBY/QueryHsbyListingGoodsDetail": {
  2999. "get": {
  3000. "security": [
  3001. {
  3002. "ApiKeyAuth": []
  3003. }
  3004. ],
  3005. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "定制【海商报业】"
  3011. ],
  3012. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "商品ID",
  3017. "name": "goodsID",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "integer",
  3023. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3024. "name": "accountID",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3033. }
  3034. },
  3035. "500": {
  3036. "description": "Internal Server Error",
  3037. "schema": {
  3038. "$ref": "#/definitions/app.Response"
  3039. }
  3040. }
  3041. }
  3042. }
  3043. },
  3044. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3045. "get": {
  3046. "security": [
  3047. {
  3048. "ApiKeyAuth": []
  3049. }
  3050. ],
  3051. "produces": [
  3052. "application/json"
  3053. ],
  3054. "tags": [
  3055. "定制【海商报业】"
  3056. ],
  3057. "summary": "查询三级市场(商城)商品信息详情",
  3058. "parameters": [
  3059. {
  3060. "type": "integer",
  3061. "description": "委托单号",
  3062. "name": "orderID",
  3063. "in": "query",
  3064. "required": true
  3065. },
  3066. {
  3067. "type": "integer",
  3068. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3069. "name": "accountID",
  3070. "in": "query"
  3071. }
  3072. ],
  3073. "responses": {
  3074. "200": {
  3075. "description": "OK",
  3076. "schema": {
  3077. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3078. }
  3079. },
  3080. "500": {
  3081. "description": "Internal Server Error",
  3082. "schema": {
  3083. "$ref": "#/definitions/app.Response"
  3084. }
  3085. }
  3086. }
  3087. }
  3088. },
  3089. "/HSBY/QueryHsbyMarketGoodses": {
  3090. "get": {
  3091. "security": [
  3092. {
  3093. "ApiKeyAuth": []
  3094. }
  3095. ],
  3096. "produces": [
  3097. "application/json"
  3098. ],
  3099. "tags": [
  3100. "定制【海商报业】"
  3101. ],
  3102. "summary": "查询特卖商品列表(三级商城)",
  3103. "parameters": [
  3104. {
  3105. "type": "integer",
  3106. "description": "页码",
  3107. "name": "page",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "integer",
  3112. "description": "每页条数",
  3113. "name": "pagesize",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "string",
  3118. "description": "市场ID列表,格式:1,2,3",
  3119. "name": "marketIDs",
  3120. "in": "query",
  3121. "required": true
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3126. "name": "accountID",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "类别ID",
  3133. "name": "categoryID",
  3134. "in": "query"
  3135. },
  3136. {
  3137. "type": "string",
  3138. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3139. "name": "goodsIDs",
  3140. "in": "query"
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3145. "name": "couponTypeID",
  3146. "in": "query"
  3147. }
  3148. ],
  3149. "responses": {
  3150. "200": {
  3151. "description": "OK",
  3152. "schema": {
  3153. "$ref": "#/definitions/models.HsbyMarketGoods"
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/HSBY/QueryHsbyMarkets": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "定制【海商报业】"
  3177. ],
  3178. "summary": "查询海商报业相关市场信息",
  3179. "responses": {
  3180. "200": {
  3181. "description": "OK",
  3182. "schema": {
  3183. "$ref": "#/definitions/models.HsbyMarketInfo"
  3184. }
  3185. },
  3186. "500": {
  3187. "description": "Internal Server Error",
  3188. "schema": {
  3189. "$ref": "#/definitions/app.Response"
  3190. }
  3191. }
  3192. }
  3193. }
  3194. },
  3195. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3196. "get": {
  3197. "security": [
  3198. {
  3199. "ApiKeyAuth": []
  3200. }
  3201. ],
  3202. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3203. "produces": [
  3204. "application/json"
  3205. ],
  3206. "tags": [
  3207. "定制【海商报业】"
  3208. ],
  3209. "summary": "查询“我的订单”信息",
  3210. "parameters": [
  3211. {
  3212. "type": "string",
  3213. "description": "资金账户列表,格式:1,2,3",
  3214. "name": "accountIDs",
  3215. "in": "query",
  3216. "required": true
  3217. }
  3218. ],
  3219. "responses": {
  3220. "200": {
  3221. "description": "OK",
  3222. "schema": {
  3223. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3224. }
  3225. },
  3226. "500": {
  3227. "description": "Internal Server Error",
  3228. "schema": {
  3229. "$ref": "#/definitions/app.Response"
  3230. }
  3231. }
  3232. }
  3233. }
  3234. },
  3235. "/HSBY/QueryHsbyMyGoods": {
  3236. "get": {
  3237. "security": [
  3238. {
  3239. "ApiKeyAuth": []
  3240. }
  3241. ],
  3242. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "定制【海商报业】"
  3248. ],
  3249. "summary": "查询“我的商品”信息",
  3250. "parameters": [
  3251. {
  3252. "type": "string",
  3253. "description": "资金账户列表,格式:1,2,3",
  3254. "name": "accountIDs",
  3255. "in": "query",
  3256. "required": true
  3257. }
  3258. ],
  3259. "responses": {
  3260. "200": {
  3261. "description": "OK",
  3262. "schema": {
  3263. "$ref": "#/definitions/models.HsbyMyGoods"
  3264. }
  3265. },
  3266. "500": {
  3267. "description": "Internal Server Error",
  3268. "schema": {
  3269. "$ref": "#/definitions/app.Response"
  3270. }
  3271. }
  3272. }
  3273. }
  3274. },
  3275. "/HSBY/QueryHsbyMyPackages": {
  3276. "get": {
  3277. "security": [
  3278. {
  3279. "ApiKeyAuth": []
  3280. }
  3281. ],
  3282. "produces": [
  3283. "application/json"
  3284. ],
  3285. "tags": [
  3286. "定制【海商报业】"
  3287. ],
  3288. "summary": "查询我的包裹信息",
  3289. "parameters": [
  3290. {
  3291. "type": "string",
  3292. "description": "资金账户列表,格式:1,2,3",
  3293. "name": "accountIDs",
  3294. "in": "query",
  3295. "required": true
  3296. },
  3297. {
  3298. "type": "integer",
  3299. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3300. "name": "takeOrderStatus",
  3301. "in": "query"
  3302. }
  3303. ],
  3304. "responses": {
  3305. "200": {
  3306. "description": "OK",
  3307. "schema": {
  3308. "$ref": "#/definitions/models.HsbyMyPackage"
  3309. }
  3310. },
  3311. "500": {
  3312. "description": "Internal Server Error",
  3313. "schema": {
  3314. "$ref": "#/definitions/app.Response"
  3315. }
  3316. }
  3317. }
  3318. }
  3319. },
  3320. "/HSBY/QueryHsbyPreGoodsDetail": {
  3321. "get": {
  3322. "security": [
  3323. {
  3324. "ApiKeyAuth": []
  3325. }
  3326. ],
  3327. "produces": [
  3328. "application/json"
  3329. ],
  3330. "tags": [
  3331. "定制【海商报业】"
  3332. ],
  3333. "summary": "查询一级市场(预售)商品信息详情",
  3334. "parameters": [
  3335. {
  3336. "type": "integer",
  3337. "description": "商品ID",
  3338. "name": "goodsID",
  3339. "in": "query",
  3340. "required": true
  3341. },
  3342. {
  3343. "type": "integer",
  3344. "description": "资金账户,主要用于获取预售商品购买上限",
  3345. "name": "accountID",
  3346. "in": "query"
  3347. }
  3348. ],
  3349. "responses": {
  3350. "200": {
  3351. "description": "OK",
  3352. "schema": {
  3353. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3354. }
  3355. },
  3356. "500": {
  3357. "description": "Internal Server Error",
  3358. "schema": {
  3359. "$ref": "#/definitions/app.Response"
  3360. }
  3361. }
  3362. }
  3363. }
  3364. },
  3365. "/HSBY/QueryHsbyPreGoodses": {
  3366. "get": {
  3367. "security": [
  3368. {
  3369. "ApiKeyAuth": []
  3370. }
  3371. ],
  3372. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3373. "produces": [
  3374. "application/json"
  3375. ],
  3376. "tags": [
  3377. "定制【海商报业】"
  3378. ],
  3379. "summary": "查询新品上市商品列表(一级市场预售)",
  3380. "parameters": [
  3381. {
  3382. "type": "integer",
  3383. "description": "页码",
  3384. "name": "page",
  3385. "in": "query"
  3386. },
  3387. {
  3388. "type": "integer",
  3389. "description": "每页条数",
  3390. "name": "pagesize",
  3391. "in": "query"
  3392. },
  3393. {
  3394. "type": "string",
  3395. "description": "市场ID列表,格式:1,2,3",
  3396. "name": "marketIDs",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "目的地(省)ID",
  3403. "name": "descProvinceID",
  3404. "in": "query"
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "目的地(市)ID",
  3409. "name": "descCityID",
  3410. "in": "query"
  3411. }
  3412. ],
  3413. "responses": {
  3414. "200": {
  3415. "description": "OK",
  3416. "schema": {
  3417. "$ref": "#/definitions/models.HsbyPreGoods"
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/HSBY/QueryHsbySellMyDetails": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3437. "produces": [
  3438. "application/json"
  3439. ],
  3440. "tags": [
  3441. "定制【海商报业】"
  3442. ],
  3443. "summary": "查询\"我的闲置\"单据信息",
  3444. "parameters": [
  3445. {
  3446. "type": "integer",
  3447. "description": "页码",
  3448. "name": "page",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "每页条数",
  3454. "name": "pagesize",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "string",
  3459. "description": "资金账户列表,格式:1,2,3",
  3460. "name": "accountIDs",
  3461. "in": "query",
  3462. "required": true
  3463. },
  3464. {
  3465. "type": "integer",
  3466. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3467. "name": "orderType",
  3468. "in": "query"
  3469. }
  3470. ],
  3471. "responses": {
  3472. "200": {
  3473. "description": "OK",
  3474. "schema": {
  3475. "$ref": "#/definitions/models.HsbySellMyDetail"
  3476. }
  3477. },
  3478. "500": {
  3479. "description": "Internal Server Error",
  3480. "schema": {
  3481. "$ref": "#/definitions/app.Response"
  3482. }
  3483. }
  3484. }
  3485. }
  3486. },
  3487. "/HSBY/QueryHsbyTopGoodses": {
  3488. "get": {
  3489. "security": [
  3490. {
  3491. "ApiKeyAuth": []
  3492. }
  3493. ],
  3494. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3495. "produces": [
  3496. "application/json"
  3497. ],
  3498. "tags": [
  3499. "定制【海商报业】"
  3500. ],
  3501. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3502. "parameters": [
  3503. {
  3504. "type": "integer",
  3505. "description": "页码",
  3506. "name": "page",
  3507. "in": "query"
  3508. },
  3509. {
  3510. "type": "integer",
  3511. "description": "每页条数",
  3512. "name": "pagesize",
  3513. "in": "query"
  3514. },
  3515. {
  3516. "type": "string",
  3517. "description": "市场ID列表,格式:1,2,3",
  3518. "name": "marketIDs",
  3519. "in": "query",
  3520. "required": true
  3521. },
  3522. {
  3523. "type": "integer",
  3524. "description": "目的地(省)ID",
  3525. "name": "descProvinceID",
  3526. "in": "query"
  3527. },
  3528. {
  3529. "type": "integer",
  3530. "description": "目的地(市)ID",
  3531. "name": "descCityID",
  3532. "in": "query"
  3533. }
  3534. ],
  3535. "responses": {
  3536. "200": {
  3537. "description": "OK",
  3538. "schema": {
  3539. "$ref": "#/definitions/models.HsbyTopGoods"
  3540. }
  3541. },
  3542. "500": {
  3543. "description": "Internal Server Error",
  3544. "schema": {
  3545. "$ref": "#/definitions/app.Response"
  3546. }
  3547. }
  3548. }
  3549. }
  3550. },
  3551. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3552. "get": {
  3553. "security": [
  3554. {
  3555. "ApiKeyAuth": []
  3556. }
  3557. ],
  3558. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3559. "produces": [
  3560. "application/json"
  3561. ],
  3562. "tags": [
  3563. "定制【海商报业】"
  3564. ],
  3565. "summary": "查询游客三级市场(商城)商品信息详情",
  3566. "parameters": [
  3567. {
  3568. "type": "integer",
  3569. "description": "商品ID",
  3570. "name": "goodsID",
  3571. "in": "query",
  3572. "required": true
  3573. }
  3574. ],
  3575. "responses": {
  3576. "200": {
  3577. "description": "OK",
  3578. "schema": {
  3579. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3580. }
  3581. },
  3582. "500": {
  3583. "description": "Internal Server Error",
  3584. "schema": {
  3585. "$ref": "#/definitions/app.Response"
  3586. }
  3587. }
  3588. }
  3589. }
  3590. },
  3591. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3592. "get": {
  3593. "security": [
  3594. {
  3595. "ApiKeyAuth": []
  3596. }
  3597. ],
  3598. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3599. "produces": [
  3600. "application/json"
  3601. ],
  3602. "tags": [
  3603. "定制【海商报业】"
  3604. ],
  3605. "summary": "查询游客特卖商品列表(三级商城)",
  3606. "parameters": [
  3607. {
  3608. "type": "integer",
  3609. "description": "页码",
  3610. "name": "page",
  3611. "in": "query"
  3612. },
  3613. {
  3614. "type": "integer",
  3615. "description": "每页条数",
  3616. "name": "pagesize",
  3617. "in": "query"
  3618. },
  3619. {
  3620. "type": "string",
  3621. "description": "市场ID列表,格式:1,2,3",
  3622. "name": "marketIDs",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "类别ID",
  3629. "name": "categoryID",
  3630. "in": "query"
  3631. },
  3632. {
  3633. "type": "string",
  3634. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3635. "name": "goodsIDs",
  3636. "in": "query"
  3637. }
  3638. ],
  3639. "responses": {
  3640. "200": {
  3641. "description": "OK",
  3642. "schema": {
  3643. "$ref": "#/definitions/models.HsbyMarketGoods"
  3644. }
  3645. },
  3646. "500": {
  3647. "description": "Internal Server Error",
  3648. "schema": {
  3649. "$ref": "#/definitions/app.Response"
  3650. }
  3651. }
  3652. }
  3653. }
  3654. },
  3655. "/HSBY/QueryMyCollectionOrders": {
  3656. "get": {
  3657. "security": [
  3658. {
  3659. "ApiKeyAuth": []
  3660. }
  3661. ],
  3662. "produces": [
  3663. "application/json"
  3664. ],
  3665. "tags": [
  3666. "定制【海商报业】"
  3667. ],
  3668. "summary": "我的闲置中收款信息查询",
  3669. "parameters": [
  3670. {
  3671. "type": "integer",
  3672. "description": "页码",
  3673. "name": "page",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "每页条数",
  3679. "name": "pagesize",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "string",
  3684. "description": "资金账户,格式:1,2,3",
  3685. "name": "accountIDs",
  3686. "in": "query",
  3687. "required": true
  3688. }
  3689. ],
  3690. "responses": {
  3691. "200": {
  3692. "description": "OK",
  3693. "schema": {
  3694. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3695. }
  3696. },
  3697. "500": {
  3698. "description": "Internal Server Error",
  3699. "schema": {
  3700. "$ref": "#/definitions/app.Response"
  3701. }
  3702. }
  3703. }
  3704. }
  3705. },
  3706. "/HSBY/QueryMyCouponHolds": {
  3707. "get": {
  3708. "security": [
  3709. {
  3710. "ApiKeyAuth": []
  3711. }
  3712. ],
  3713. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3714. "produces": [
  3715. "application/json"
  3716. ],
  3717. "tags": [
  3718. "定制【海商报业】"
  3719. ],
  3720. "summary": "我的优惠卷持仓查询",
  3721. "parameters": [
  3722. {
  3723. "type": "string",
  3724. "description": "资金账户列表,格式:1,2,3",
  3725. "name": "accountIDs",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "string",
  3731. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3732. "name": "holdStatus",
  3733. "in": "query"
  3734. }
  3735. ],
  3736. "responses": {
  3737. "200": {
  3738. "description": "OK",
  3739. "schema": {
  3740. "$ref": "#/definitions/models.MyCouponHold"
  3741. }
  3742. },
  3743. "500": {
  3744. "description": "Internal Server Error",
  3745. "schema": {
  3746. "$ref": "#/definitions/app.Response"
  3747. }
  3748. }
  3749. }
  3750. }
  3751. },
  3752. "/HSBY/QueryMyCoupons": {
  3753. "get": {
  3754. "security": [
  3755. {
  3756. "ApiKeyAuth": []
  3757. }
  3758. ],
  3759. "produces": [
  3760. "application/json"
  3761. ],
  3762. "tags": [
  3763. "定制【海商报业】"
  3764. ],
  3765. "summary": "我的优惠卷查询",
  3766. "parameters": [
  3767. {
  3768. "type": "string",
  3769. "description": "资金账户列表,格式:1,2,3",
  3770. "name": "accountIDs",
  3771. "in": "query",
  3772. "required": true
  3773. },
  3774. {
  3775. "type": "integer",
  3776. "description": "商品ID, 一般与sellUserID配套传入",
  3777. "name": "goodsID",
  3778. "in": "query"
  3779. },
  3780. {
  3781. "type": "integer",
  3782. "description": "卖方UserID",
  3783. "name": "sellUserID",
  3784. "in": "query"
  3785. }
  3786. ],
  3787. "responses": {
  3788. "200": {
  3789. "description": "OK",
  3790. "schema": {
  3791. "$ref": "#/definitions/models.MyCoupon"
  3792. }
  3793. },
  3794. "500": {
  3795. "description": "Internal Server Error",
  3796. "schema": {
  3797. "$ref": "#/definitions/app.Response"
  3798. }
  3799. }
  3800. }
  3801. }
  3802. },
  3803. "/HSBY/QueryMyPayOrders": {
  3804. "get": {
  3805. "security": [
  3806. {
  3807. "ApiKeyAuth": []
  3808. }
  3809. ],
  3810. "produces": [
  3811. "application/json"
  3812. ],
  3813. "tags": [
  3814. "定制【海商报业】"
  3815. ],
  3816. "summary": "获取我的订单中待付款信息",
  3817. "parameters": [
  3818. {
  3819. "type": "integer",
  3820. "description": "页码",
  3821. "name": "page",
  3822. "in": "query"
  3823. },
  3824. {
  3825. "type": "integer",
  3826. "description": "每页条数",
  3827. "name": "pagesize",
  3828. "in": "query"
  3829. },
  3830. {
  3831. "type": "string",
  3832. "description": "资金账户列表,格式:1,2,3",
  3833. "name": "accountIDs",
  3834. "in": "query",
  3835. "required": true
  3836. },
  3837. {
  3838. "type": "integer",
  3839. "description": "买方委托单号",
  3840. "name": "buyOrderID",
  3841. "in": "query"
  3842. },
  3843. {
  3844. "type": "integer",
  3845. "description": "卖方委托单号",
  3846. "name": "sellOrderID",
  3847. "in": "query"
  3848. }
  3849. ],
  3850. "responses": {
  3851. "200": {
  3852. "description": "OK",
  3853. "schema": {
  3854. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3855. }
  3856. },
  3857. "500": {
  3858. "description": "Internal Server Error",
  3859. "schema": {
  3860. "$ref": "#/definitions/app.Response"
  3861. }
  3862. }
  3863. }
  3864. }
  3865. },
  3866. "/HSBY/QueryMyUsedCoupon": {
  3867. "get": {
  3868. "security": [
  3869. {
  3870. "ApiKeyAuth": []
  3871. }
  3872. ],
  3873. "produces": [
  3874. "application/json"
  3875. ],
  3876. "tags": [
  3877. "定制【海商报业】"
  3878. ],
  3879. "summary": "已使用优惠卷查询",
  3880. "parameters": [
  3881. {
  3882. "type": "string",
  3883. "description": "资金账户列表,格式:1,2,3",
  3884. "name": "accountIDs",
  3885. "in": "query",
  3886. "required": true
  3887. }
  3888. ],
  3889. "responses": {
  3890. "200": {
  3891. "description": "OK",
  3892. "schema": {
  3893. "$ref": "#/definitions/models.MyUsedCoupon"
  3894. }
  3895. },
  3896. "500": {
  3897. "description": "Internal Server Error",
  3898. "schema": {
  3899. "$ref": "#/definitions/app.Response"
  3900. }
  3901. }
  3902. }
  3903. }
  3904. },
  3905. "/HSBY/QueryProvincesAndCities": {
  3906. "get": {
  3907. "security": [
  3908. {
  3909. "ApiKeyAuth": []
  3910. }
  3911. ],
  3912. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3913. "produces": [
  3914. "application/json"
  3915. ],
  3916. "tags": [
  3917. "定制【海商报业】"
  3918. ],
  3919. "summary": "查询省市信息(不包括区)",
  3920. "parameters": [
  3921. {
  3922. "type": "integer",
  3923. "description": "省ID",
  3924. "name": "provinceID",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. },
  3944. "/HSBY/SetHsbyMyPackagesStatus": {
  3945. "post": {
  3946. "security": [
  3947. {
  3948. "ApiKeyAuth": []
  3949. }
  3950. ],
  3951. "produces": [
  3952. "application/json"
  3953. ],
  3954. "tags": [
  3955. "定制【海商报业】"
  3956. ],
  3957. "summary": "设置我的包裹已收货状态",
  3958. "parameters": [
  3959. {
  3960. "type": "string",
  3961. "description": "提货单号",
  3962. "name": "takeOrderID",
  3963. "in": "query",
  3964. "required": true
  3965. },
  3966. {
  3967. "type": "integer",
  3968. "description": "资金账号",
  3969. "name": "accountID",
  3970. "in": "query",
  3971. "required": true
  3972. }
  3973. ],
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. },
  3981. "500": {
  3982. "description": "Internal Server Error",
  3983. "schema": {
  3984. "$ref": "#/definitions/app.Response"
  3985. }
  3986. }
  3987. }
  3988. }
  3989. },
  3990. "/Market/QueryGoodsesByLoginID": {
  3991. "get": {
  3992. "security": [
  3993. {
  3994. "ApiKeyAuth": []
  3995. }
  3996. ],
  3997. "produces": [
  3998. "application/json"
  3999. ],
  4000. "tags": [
  4001. "通用市场"
  4002. ],
  4003. "summary": "获取登录账号有权限的商品信息",
  4004. "parameters": [
  4005. {
  4006. "type": "integer",
  4007. "description": "登录账号",
  4008. "name": "loginID",
  4009. "in": "query",
  4010. "required": true
  4011. },
  4012. {
  4013. "type": "string",
  4014. "description": "市场ID列表,格式:1,2,3",
  4015. "name": "marketIDs",
  4016. "in": "query"
  4017. }
  4018. ],
  4019. "responses": {
  4020. "200": {
  4021. "description": "OK",
  4022. "schema": {
  4023. "$ref": "#/definitions/models.Goods"
  4024. }
  4025. },
  4026. "500": {
  4027. "description": "Internal Server Error",
  4028. "schema": {
  4029. "$ref": "#/definitions/app.Response"
  4030. }
  4031. }
  4032. }
  4033. }
  4034. },
  4035. "/Market/QueryMarketRun": {
  4036. "get": {
  4037. "security": [
  4038. {
  4039. "ApiKeyAuth": []
  4040. }
  4041. ],
  4042. "produces": [
  4043. "application/json"
  4044. ],
  4045. "tags": [
  4046. "通用市场"
  4047. ],
  4048. "summary": "查询市场运行信息",
  4049. "parameters": [
  4050. {
  4051. "type": "integer",
  4052. "description": "市场ID,不传返回所有",
  4053. "name": "marketID",
  4054. "in": "query"
  4055. }
  4056. ],
  4057. "responses": {
  4058. "200": {
  4059. "description": "OK",
  4060. "schema": {
  4061. "$ref": "#/definitions/models.Marketrun"
  4062. }
  4063. },
  4064. "500": {
  4065. "description": "Internal Server Error",
  4066. "schema": {
  4067. "$ref": "#/definitions/app.Response"
  4068. }
  4069. }
  4070. }
  4071. }
  4072. },
  4073. "/Market/QueryMarketsByLoginID": {
  4074. "get": {
  4075. "security": [
  4076. {
  4077. "ApiKeyAuth": []
  4078. }
  4079. ],
  4080. "produces": [
  4081. "application/json"
  4082. ],
  4083. "tags": [
  4084. "通用市场"
  4085. ],
  4086. "summary": "获取登录账号有权限的市场信息",
  4087. "parameters": [
  4088. {
  4089. "type": "integer",
  4090. "description": "登录账号",
  4091. "name": "loginID",
  4092. "in": "query",
  4093. "required": true
  4094. }
  4095. ],
  4096. "responses": {
  4097. "200": {
  4098. "description": "OK",
  4099. "schema": {
  4100. "$ref": "#/definitions/models.Market"
  4101. }
  4102. },
  4103. "500": {
  4104. "description": "Internal Server Error",
  4105. "schema": {
  4106. "$ref": "#/definitions/app.Response"
  4107. }
  4108. }
  4109. }
  4110. }
  4111. },
  4112. "/Order/QueryHisTradeDetail": {
  4113. "get": {
  4114. "security": [
  4115. {
  4116. "ApiKeyAuth": []
  4117. }
  4118. ],
  4119. "produces": [
  4120. "application/json"
  4121. ],
  4122. "tags": [
  4123. "通用单据"
  4124. ],
  4125. "summary": "历史成交单查询(合约市场)",
  4126. "parameters": [
  4127. {
  4128. "type": "string",
  4129. "description": "资金账户 - 格式:1,2,3",
  4130. "name": "accountID",
  4131. "in": "query",
  4132. "required": true
  4133. },
  4134. {
  4135. "type": "integer",
  4136. "description": "成交单号",
  4137. "name": "tradeID",
  4138. "in": "query"
  4139. },
  4140. {
  4141. "type": "integer",
  4142. "description": "委托单号",
  4143. "name": "orderID",
  4144. "in": "query"
  4145. },
  4146. {
  4147. "type": "string",
  4148. "description": "交易模式 - 格式:1,2,3",
  4149. "name": "tradeMode",
  4150. "in": "query"
  4151. },
  4152. {
  4153. "type": "integer",
  4154. "description": "委托单据类型",
  4155. "name": "buildType",
  4156. "in": "query"
  4157. },
  4158. {
  4159. "type": "string",
  4160. "description": "成交类别 - 格式:1,2,3",
  4161. "name": "tradeType",
  4162. "in": "query"
  4163. },
  4164. {
  4165. "type": "string",
  4166. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4167. "name": "startDate",
  4168. "in": "query"
  4169. },
  4170. {
  4171. "type": "string",
  4172. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4173. "name": "endDate",
  4174. "in": "query"
  4175. }
  4176. ],
  4177. "responses": {
  4178. "200": {
  4179. "description": "OK",
  4180. "schema": {
  4181. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4182. }
  4183. },
  4184. "500": {
  4185. "description": "Internal Server Error",
  4186. "schema": {
  4187. "$ref": "#/definitions/app.Response"
  4188. }
  4189. }
  4190. }
  4191. }
  4192. },
  4193. "/Order/QueryHisTradeOrderDetail": {
  4194. "get": {
  4195. "security": [
  4196. {
  4197. "ApiKeyAuth": []
  4198. }
  4199. ],
  4200. "produces": [
  4201. "application/json"
  4202. ],
  4203. "tags": [
  4204. "通用单据"
  4205. ],
  4206. "summary": "历史委托单查询请求(合约市场)",
  4207. "parameters": [
  4208. {
  4209. "type": "string",
  4210. "description": "资金账户 - 格式:1,2,3",
  4211. "name": "accountID",
  4212. "in": "query",
  4213. "required": true
  4214. },
  4215. {
  4216. "type": "string",
  4217. "description": "交易模式 - 格式:1,2,3",
  4218. "name": "tradeMode",
  4219. "in": "query"
  4220. },
  4221. {
  4222. "type": "string",
  4223. "description": "委托状态 - 格式:1,2,3",
  4224. "name": "orderStatus",
  4225. "in": "query"
  4226. },
  4227. {
  4228. "type": "integer",
  4229. "description": "委托单号",
  4230. "name": "orderID",
  4231. "in": "query"
  4232. },
  4233. {
  4234. "type": "string",
  4235. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4236. "name": "startDate",
  4237. "in": "query"
  4238. },
  4239. {
  4240. "type": "string",
  4241. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4242. "name": "endDate",
  4243. "in": "query"
  4244. }
  4245. ],
  4246. "responses": {
  4247. "200": {
  4248. "description": "OK",
  4249. "schema": {
  4250. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4251. }
  4252. },
  4253. "500": {
  4254. "description": "Internal Server Error",
  4255. "schema": {
  4256. "$ref": "#/definitions/app.Response"
  4257. }
  4258. }
  4259. }
  4260. }
  4261. },
  4262. "/Order/QueryTradeDetail": {
  4263. "get": {
  4264. "security": [
  4265. {
  4266. "ApiKeyAuth": []
  4267. }
  4268. ],
  4269. "produces": [
  4270. "application/json"
  4271. ],
  4272. "tags": [
  4273. "通用单据"
  4274. ],
  4275. "summary": "成交单查询(合约市场)",
  4276. "parameters": [
  4277. {
  4278. "type": "string",
  4279. "description": "资金账户 - 格式:1,2,3",
  4280. "name": "accountID",
  4281. "in": "query",
  4282. "required": true
  4283. },
  4284. {
  4285. "type": "integer",
  4286. "description": "成交单号",
  4287. "name": "tradeID",
  4288. "in": "query"
  4289. },
  4290. {
  4291. "type": "integer",
  4292. "description": "委托单号",
  4293. "name": "orderID",
  4294. "in": "query"
  4295. },
  4296. {
  4297. "type": "string",
  4298. "description": "交易模式 - 格式:1,2,3",
  4299. "name": "tradeMode",
  4300. "in": "query"
  4301. },
  4302. {
  4303. "type": "integer",
  4304. "description": "委托单据类型",
  4305. "name": "buildType",
  4306. "in": "query"
  4307. },
  4308. {
  4309. "type": "string",
  4310. "description": "成交类别 - 格式:1,2,3",
  4311. "name": "tradeType",
  4312. "in": "query"
  4313. }
  4314. ],
  4315. "responses": {
  4316. "200": {
  4317. "description": "OK",
  4318. "schema": {
  4319. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Order/QueryTradeOrderDetail": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "通用单据"
  4343. ],
  4344. "summary": "委托单查询请求(合约市场)",
  4345. "parameters": [
  4346. {
  4347. "type": "string",
  4348. "description": "资金账户 - 格式:1,2,3",
  4349. "name": "accountID",
  4350. "in": "query",
  4351. "required": true
  4352. },
  4353. {
  4354. "type": "string",
  4355. "description": "交易模式 - 格式:1,2,3",
  4356. "name": "tradeMode",
  4357. "in": "query"
  4358. },
  4359. {
  4360. "type": "string",
  4361. "description": "委托状态 - 格式:1,2,3",
  4362. "name": "orderStatus",
  4363. "in": "query"
  4364. },
  4365. {
  4366. "type": "integer",
  4367. "description": "委托单号",
  4368. "name": "orderID",
  4369. "in": "query"
  4370. }
  4371. ],
  4372. "responses": {
  4373. "200": {
  4374. "description": "OK",
  4375. "schema": {
  4376. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4377. }
  4378. },
  4379. "500": {
  4380. "description": "Internal Server Error",
  4381. "schema": {
  4382. "$ref": "#/definitions/app.Response"
  4383. }
  4384. }
  4385. }
  4386. }
  4387. },
  4388. "/Order/QueryTradePosition": {
  4389. "get": {
  4390. "security": [
  4391. {
  4392. "ApiKeyAuth": []
  4393. }
  4394. ],
  4395. "produces": [
  4396. "application/json"
  4397. ],
  4398. "tags": [
  4399. "通用单据"
  4400. ],
  4401. "summary": "持仓汇总查询(合约市场)",
  4402. "parameters": [
  4403. {
  4404. "type": "string",
  4405. "description": "资金账户 - 格式:1,2,3",
  4406. "name": "accountID",
  4407. "in": "query",
  4408. "required": true
  4409. },
  4410. {
  4411. "type": "string",
  4412. "description": "交易模式 - 格式:1,2,3",
  4413. "name": "tradeMode",
  4414. "in": "query"
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4422. }
  4423. },
  4424. "500": {
  4425. "description": "Internal Server Error",
  4426. "schema": {
  4427. "$ref": "#/definitions/app.Response"
  4428. }
  4429. }
  4430. }
  4431. }
  4432. },
  4433. "/Quote/QueryHistoryDatas": {
  4434. "get": {
  4435. "security": [
  4436. {
  4437. "ApiKeyAuth": []
  4438. }
  4439. ],
  4440. "produces": [
  4441. "application/json"
  4442. ],
  4443. "tags": [
  4444. "行情服务"
  4445. ],
  4446. "summary": "查询行情历史数据",
  4447. "parameters": [
  4448. {
  4449. "type": "integer",
  4450. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4451. "name": "cycleType",
  4452. "in": "query",
  4453. "required": true
  4454. },
  4455. {
  4456. "type": "string",
  4457. "description": "商品代码",
  4458. "name": "goodsCode",
  4459. "in": "query",
  4460. "required": true
  4461. },
  4462. {
  4463. "type": "string",
  4464. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4465. "name": "startTime",
  4466. "in": "query"
  4467. },
  4468. {
  4469. "type": "string",
  4470. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4471. "name": "endTime",
  4472. "in": "query"
  4473. },
  4474. {
  4475. "type": "integer",
  4476. "description": "条数",
  4477. "name": "count",
  4478. "in": "query"
  4479. },
  4480. {
  4481. "type": "boolean",
  4482. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4483. "name": "isAsc",
  4484. "in": "query"
  4485. }
  4486. ],
  4487. "responses": {
  4488. "200": {
  4489. "description": "OK",
  4490. "schema": {
  4491. "$ref": "#/definitions/quote.HistoryData"
  4492. }
  4493. },
  4494. "500": {
  4495. "description": "Internal Server Error",
  4496. "schema": {
  4497. "$ref": "#/definitions/app.Response"
  4498. }
  4499. }
  4500. }
  4501. }
  4502. },
  4503. "/Quote/QueryTSData": {
  4504. "get": {
  4505. "produces": [
  4506. "application/json"
  4507. ],
  4508. "tags": [
  4509. "行情服务"
  4510. ],
  4511. "summary": "分时图数据查询",
  4512. "parameters": [
  4513. {
  4514. "type": "string",
  4515. "description": "商品代码",
  4516. "name": "GoodsCode",
  4517. "in": "query",
  4518. "required": true
  4519. }
  4520. ],
  4521. "responses": {
  4522. "200": {
  4523. "description": "OK",
  4524. "schema": {
  4525. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4526. }
  4527. },
  4528. "500": {
  4529. "description": "Internal Server Error",
  4530. "schema": {
  4531. "$ref": "#/definitions/app.Response"
  4532. }
  4533. }
  4534. }
  4535. }
  4536. },
  4537. "/SZDZ/QueryConvertConfig": {
  4538. "get": {
  4539. "security": [
  4540. {
  4541. "ApiKeyAuth": []
  4542. }
  4543. ],
  4544. "produces": [
  4545. "application/json"
  4546. ],
  4547. "tags": [
  4548. "定制【尚志大宗】"
  4549. ],
  4550. "summary": "查询交易系统转换设置",
  4551. "parameters": [
  4552. {
  4553. "type": "integer",
  4554. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4555. "name": "convertType",
  4556. "in": "query"
  4557. },
  4558. {
  4559. "type": "string",
  4560. "description": "外部商品代码[JD\\PD]",
  4561. "name": "outerGoodsCode",
  4562. "in": "query"
  4563. },
  4564. {
  4565. "type": "string",
  4566. "description": "内部商品ID列表[交易],格式:1,2,3",
  4567. "name": "innerGoodsIDs",
  4568. "in": "query"
  4569. }
  4570. ],
  4571. "responses": {
  4572. "200": {
  4573. "description": "OK",
  4574. "schema": {
  4575. "$ref": "#/definitions/models.Szdz3convertconfig"
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/SZDZ/QueryConvertLog": {
  4588. "get": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "定制【尚志大宗】"
  4599. ],
  4600. "summary": "交易系统转换流水查询",
  4601. "parameters": [
  4602. {
  4603. "type": "string",
  4604. "description": "资金账户 - 格式:1,2,3",
  4605. "name": "accountID",
  4606. "in": "query",
  4607. "required": true
  4608. },
  4609. {
  4610. "type": "string",
  4611. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4612. "name": "startDate",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "string",
  4617. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4618. "name": "endDate",
  4619. "in": "query"
  4620. }
  4621. ],
  4622. "responses": {
  4623. "200": {
  4624. "description": "OK",
  4625. "schema": {
  4626. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4627. }
  4628. },
  4629. "500": {
  4630. "description": "Internal Server Error",
  4631. "schema": {
  4632. "$ref": "#/definitions/app.Response"
  4633. }
  4634. }
  4635. }
  4636. }
  4637. },
  4638. "/SZDZ/QueryGoodsPickup": {
  4639. "get": {
  4640. "security": [
  4641. {
  4642. "ApiKeyAuth": []
  4643. }
  4644. ],
  4645. "produces": [
  4646. "application/json"
  4647. ],
  4648. "tags": [
  4649. "定制【尚志大宗】"
  4650. ],
  4651. "summary": "商品提货单查询",
  4652. "parameters": [
  4653. {
  4654. "type": "string",
  4655. "description": "资金账户 - 格式:1,2,3",
  4656. "name": "accountID",
  4657. "in": "query",
  4658. "required": true
  4659. },
  4660. {
  4661. "type": "integer",
  4662. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4663. "name": "takeOrderStatus",
  4664. "in": "query"
  4665. }
  4666. ],
  4667. "responses": {
  4668. "200": {
  4669. "description": "OK",
  4670. "schema": {
  4671. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/SZDZ/QueryRecieptOrder": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4691. "produces": [
  4692. "application/json"
  4693. ],
  4694. "tags": [
  4695. "定制【尚志大宗】"
  4696. ],
  4697. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4698. "parameters": [
  4699. {
  4700. "type": "integer",
  4701. "description": "页码",
  4702. "name": "page",
  4703. "in": "query"
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "每页条数",
  4708. "name": "pagesize",
  4709. "in": "query"
  4710. },
  4711. {
  4712. "type": "integer",
  4713. "description": "商品ID",
  4714. "name": "goodsID",
  4715. "in": "query",
  4716. "required": true
  4717. },
  4718. {
  4719. "type": "string",
  4720. "description": "所属账户名称",
  4721. "name": "accountName",
  4722. "in": "query"
  4723. },
  4724. {
  4725. "type": "integer",
  4726. "description": "市场ID",
  4727. "name": "marketID",
  4728. "in": "query"
  4729. },
  4730. {
  4731. "type": "integer",
  4732. "description": "方向 - 0:买 1:卖",
  4733. "name": "buyorsell",
  4734. "in": "query",
  4735. "required": true
  4736. }
  4737. ],
  4738. "responses": {
  4739. "200": {
  4740. "description": "OK",
  4741. "schema": {
  4742. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4743. }
  4744. },
  4745. "500": {
  4746. "description": "Internal Server Error",
  4747. "schema": {
  4748. "$ref": "#/definitions/app.Response"
  4749. }
  4750. }
  4751. }
  4752. }
  4753. },
  4754. "/SZDZ/QuerySZDZTradePosition": {
  4755. "get": {
  4756. "security": [
  4757. {
  4758. "ApiKeyAuth": []
  4759. }
  4760. ],
  4761. "produces": [
  4762. "application/json"
  4763. ],
  4764. "tags": [
  4765. "定制【尚志大宗】"
  4766. ],
  4767. "summary": "持仓汇总查询(尚志大宗)",
  4768. "parameters": [
  4769. {
  4770. "type": "integer",
  4771. "description": "资金账户",
  4772. "name": "accountID",
  4773. "in": "query",
  4774. "required": true
  4775. }
  4776. ],
  4777. "responses": {
  4778. "200": {
  4779. "description": "OK",
  4780. "schema": {
  4781. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4782. }
  4783. },
  4784. "500": {
  4785. "description": "Internal Server Error",
  4786. "schema": {
  4787. "$ref": "#/definitions/app.Response"
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "/SZDZ/SearchWhite": {
  4794. "get": {
  4795. "security": [
  4796. {
  4797. "ApiKeyAuth": []
  4798. }
  4799. ],
  4800. "produces": [
  4801. "application/json"
  4802. ],
  4803. "tags": [
  4804. "定制【尚志大宗】"
  4805. ],
  4806. "summary": "搜索白名单",
  4807. "parameters": [
  4808. {
  4809. "type": "integer",
  4810. "description": "用户ID",
  4811. "name": "userID",
  4812. "in": "query",
  4813. "required": true
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/Search/SearchGoodses": {
  4833. "get": {
  4834. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4835. "produces": [
  4836. "application/json"
  4837. ],
  4838. "tags": [
  4839. "检索服务"
  4840. ],
  4841. "summary": "检索商品信息",
  4842. "parameters": [
  4843. {
  4844. "type": "string",
  4845. "description": "检索内容",
  4846. "name": "content",
  4847. "in": "query",
  4848. "required": true
  4849. },
  4850. {
  4851. "type": "string",
  4852. "description": "交易模式,格式:1,2,3",
  4853. "name": "tradeModes",
  4854. "in": "query"
  4855. }
  4856. ],
  4857. "responses": {
  4858. "200": {
  4859. "description": "OK",
  4860. "schema": {
  4861. "$ref": "#/definitions/models.SearchGoods"
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/TaAccount/QueryAmountLog": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "资金账户"
  4885. ],
  4886. "summary": "资金流水查询(当前)",
  4887. "parameters": [
  4888. {
  4889. "type": "integer",
  4890. "description": "页码",
  4891. "name": "page",
  4892. "in": "query"
  4893. },
  4894. {
  4895. "type": "integer",
  4896. "description": "每页条数",
  4897. "name": "pagesize",
  4898. "in": "query"
  4899. },
  4900. {
  4901. "type": "string",
  4902. "description": "资金账户 - 格式:1,2,3",
  4903. "name": "accountID",
  4904. "in": "query",
  4905. "required": true
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "资金操作类型 - 格式:1,2,3",
  4910. "name": "OperateType",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4919. }
  4920. },
  4921. "500": {
  4922. "description": "Internal Server Error",
  4923. "schema": {
  4924. "$ref": "#/definitions/app.Response"
  4925. }
  4926. }
  4927. }
  4928. }
  4929. },
  4930. "/TaAccount/QueryHisAmountLog": {
  4931. "get": {
  4932. "security": [
  4933. {
  4934. "ApiKeyAuth": []
  4935. }
  4936. ],
  4937. "produces": [
  4938. "application/json"
  4939. ],
  4940. "tags": [
  4941. "资金账户"
  4942. ],
  4943. "summary": "资金流水查询(历史)",
  4944. "parameters": [
  4945. {
  4946. "type": "integer",
  4947. "description": "页码",
  4948. "name": "page",
  4949. "in": "query"
  4950. },
  4951. {
  4952. "type": "integer",
  4953. "description": "每页条数",
  4954. "name": "pagesize",
  4955. "in": "query"
  4956. },
  4957. {
  4958. "type": "string",
  4959. "description": "资金账户 - 格式:1,2,3",
  4960. "name": "accountID",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "string",
  4966. "description": "资金操作类型 - 格式:1,2,3",
  4967. "name": "OperateType",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4973. "name": "startDate",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "string",
  4978. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4979. "name": "endDate",
  4980. "in": "query"
  4981. }
  4982. ],
  4983. "responses": {
  4984. "200": {
  4985. "description": "OK",
  4986. "schema": {
  4987. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4988. }
  4989. },
  4990. "500": {
  4991. "description": "Internal Server Error",
  4992. "schema": {
  4993. "$ref": "#/definitions/app.Response"
  4994. }
  4995. }
  4996. }
  4997. }
  4998. },
  4999. "/Trade/QueryRecieptOrder": {
  5000. "get": {
  5001. "security": [
  5002. {
  5003. "ApiKeyAuth": []
  5004. }
  5005. ],
  5006. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "通用交易"
  5012. ],
  5013. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "页码",
  5018. "name": "page",
  5019. "in": "query"
  5020. },
  5021. {
  5022. "type": "integer",
  5023. "description": "每页条数",
  5024. "name": "pagesize",
  5025. "in": "query"
  5026. },
  5027. {
  5028. "type": "integer",
  5029. "description": "商品ID",
  5030. "name": "goodsID",
  5031. "in": "query",
  5032. "required": true
  5033. },
  5034. {
  5035. "type": "string",
  5036. "description": "所属账户名称",
  5037. "name": "accountName",
  5038. "in": "query"
  5039. },
  5040. {
  5041. "type": "integer",
  5042. "description": "市场ID",
  5043. "name": "marketID",
  5044. "in": "query"
  5045. },
  5046. {
  5047. "type": "integer",
  5048. "description": "方向 - 0:买 1:卖",
  5049. "name": "buyorsell",
  5050. "in": "query",
  5051. "required": true
  5052. }
  5053. ],
  5054. "responses": {
  5055. "200": {
  5056. "description": "OK",
  5057. "schema": {
  5058. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5059. }
  5060. },
  5061. "500": {
  5062. "description": "Internal Server Error",
  5063. "schema": {
  5064. "$ref": "#/definitions/app.Response"
  5065. }
  5066. }
  5067. }
  5068. }
  5069. },
  5070. "/User/AddMessageBoard": {
  5071. "post": {
  5072. "security": [
  5073. {
  5074. "ApiKeyAuth": []
  5075. }
  5076. ],
  5077. "produces": [
  5078. "application/json"
  5079. ],
  5080. "tags": [
  5081. "用户信息"
  5082. ],
  5083. "summary": "添加用户留言板信息",
  5084. "parameters": [
  5085. {
  5086. "type": "integer",
  5087. "description": "用户ID",
  5088. "name": "userID",
  5089. "in": "query",
  5090. "required": true
  5091. },
  5092. {
  5093. "type": "string",
  5094. "description": "留言信息",
  5095. "name": "message",
  5096. "in": "query",
  5097. "required": true
  5098. }
  5099. ],
  5100. "responses": {
  5101. "200": {
  5102. "description": "OK",
  5103. "schema": {
  5104. "$ref": "#/definitions/app.Response"
  5105. }
  5106. },
  5107. "500": {
  5108. "description": "Internal Server Error",
  5109. "schema": {
  5110. "$ref": "#/definitions/app.Response"
  5111. }
  5112. }
  5113. }
  5114. }
  5115. },
  5116. "/User/AddUserFavoriteGoods": {
  5117. "post": {
  5118. "security": [
  5119. {
  5120. "ApiKeyAuth": []
  5121. }
  5122. ],
  5123. "produces": [
  5124. "application/json"
  5125. ],
  5126. "tags": [
  5127. "用户信息"
  5128. ],
  5129. "summary": "添加用户商品收藏信息",
  5130. "parameters": [
  5131. {
  5132. "type": "integer",
  5133. "description": "用户ID",
  5134. "name": "userID",
  5135. "in": "query",
  5136. "required": true
  5137. },
  5138. {
  5139. "type": "integer",
  5140. "description": "商品ID",
  5141. "name": "goodsID",
  5142. "in": "query",
  5143. "required": true
  5144. }
  5145. ],
  5146. "responses": {
  5147. "200": {
  5148. "description": "OK",
  5149. "schema": {
  5150. "$ref": "#/definitions/app.Response"
  5151. }
  5152. },
  5153. "500": {
  5154. "description": "Internal Server Error",
  5155. "schema": {
  5156. "$ref": "#/definitions/app.Response"
  5157. }
  5158. }
  5159. }
  5160. }
  5161. },
  5162. "/User/GetLoginID": {
  5163. "get": {
  5164. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5165. "produces": [
  5166. "application/json"
  5167. ],
  5168. "tags": [
  5169. "用户信息"
  5170. ],
  5171. "summary": "获取登录ID",
  5172. "parameters": [
  5173. {
  5174. "type": "string",
  5175. "description": "登录代码",
  5176. "name": "username",
  5177. "in": "query",
  5178. "required": true
  5179. }
  5180. ],
  5181. "responses": {
  5182. "200": {
  5183. "description": "OK",
  5184. "schema": {
  5185. "$ref": "#/definitions/app.Response"
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/User/GetUserAccount": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "用户信息"
  5209. ],
  5210. "summary": "获取用户账号信息",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户ID",
  5215. "name": "userID",
  5216. "in": "query",
  5217. "required": true
  5218. }
  5219. ],
  5220. "responses": {
  5221. "200": {
  5222. "description": "OK",
  5223. "schema": {
  5224. "$ref": "#/definitions/models.Useraccount"
  5225. }
  5226. },
  5227. "500": {
  5228. "description": "Internal Server Error",
  5229. "schema": {
  5230. "$ref": "#/definitions/app.Response"
  5231. }
  5232. }
  5233. }
  5234. }
  5235. },
  5236. "/User/GetUserAuthStatus": {
  5237. "get": {
  5238. "security": [
  5239. {
  5240. "ApiKeyAuth": []
  5241. }
  5242. ],
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "用户信息"
  5248. ],
  5249. "summary": "获取用户实名认证状态",
  5250. "parameters": [
  5251. {
  5252. "type": "integer",
  5253. "description": "用户ID",
  5254. "name": "userID",
  5255. "in": "query",
  5256. "required": true
  5257. }
  5258. ],
  5259. "responses": {
  5260. "200": {
  5261. "description": "OK",
  5262. "schema": {
  5263. "$ref": "#/definitions/app.Response"
  5264. }
  5265. },
  5266. "500": {
  5267. "description": "Internal Server Error",
  5268. "schema": {
  5269. "$ref": "#/definitions/app.Response"
  5270. }
  5271. }
  5272. }
  5273. }
  5274. },
  5275. "/User/QueryMessageBoard": {
  5276. "get": {
  5277. "security": [
  5278. {
  5279. "ApiKeyAuth": []
  5280. }
  5281. ],
  5282. "produces": [
  5283. "application/json"
  5284. ],
  5285. "tags": [
  5286. "用户信息"
  5287. ],
  5288. "summary": "获取用户留言板信息",
  5289. "parameters": [
  5290. {
  5291. "type": "integer",
  5292. "description": "用户ID",
  5293. "name": "userID",
  5294. "in": "query",
  5295. "required": true
  5296. }
  5297. ],
  5298. "responses": {
  5299. "200": {
  5300. "description": "OK",
  5301. "schema": {
  5302. "$ref": "#/definitions/models.Messageboard"
  5303. }
  5304. },
  5305. "500": {
  5306. "description": "Internal Server Error",
  5307. "schema": {
  5308. "$ref": "#/definitions/app.Response"
  5309. }
  5310. }
  5311. }
  5312. }
  5313. },
  5314. "/User/QueryUserFavoriteGoodses": {
  5315. "get": {
  5316. "security": [
  5317. {
  5318. "ApiKeyAuth": []
  5319. }
  5320. ],
  5321. "produces": [
  5322. "application/json"
  5323. ],
  5324. "tags": [
  5325. "用户信息"
  5326. ],
  5327. "summary": "获取用户商品收藏信息",
  5328. "parameters": [
  5329. {
  5330. "type": "integer",
  5331. "description": "用户ID",
  5332. "name": "userID",
  5333. "in": "query",
  5334. "required": true
  5335. }
  5336. ],
  5337. "responses": {
  5338. "200": {
  5339. "description": "OK",
  5340. "schema": {
  5341. "$ref": "#/definitions/models.Userfavoritegoods"
  5342. }
  5343. },
  5344. "500": {
  5345. "description": "Internal Server Error",
  5346. "schema": {
  5347. "$ref": "#/definitions/app.Response"
  5348. }
  5349. }
  5350. }
  5351. }
  5352. },
  5353. "/User/QueryUserInfo": {
  5354. "get": {
  5355. "security": [
  5356. {
  5357. "ApiKeyAuth": []
  5358. }
  5359. ],
  5360. "produces": [
  5361. "application/json"
  5362. ],
  5363. "tags": [
  5364. "用户信息"
  5365. ],
  5366. "summary": "获取用户信息",
  5367. "parameters": [
  5368. {
  5369. "type": "integer",
  5370. "description": "用户ID",
  5371. "name": "userID",
  5372. "in": "query",
  5373. "required": true
  5374. }
  5375. ],
  5376. "responses": {
  5377. "200": {
  5378. "description": "OK",
  5379. "schema": {
  5380. "$ref": "#/definitions/models.Userinfo"
  5381. }
  5382. },
  5383. "500": {
  5384. "description": "Internal Server Error",
  5385. "schema": {
  5386. "$ref": "#/definitions/app.Response"
  5387. }
  5388. }
  5389. }
  5390. }
  5391. },
  5392. "/User/QueryUserReferNum": {
  5393. "get": {
  5394. "produces": [
  5395. "application/json"
  5396. ],
  5397. "tags": [
  5398. "用户信息"
  5399. ],
  5400. "summary": "获取用户邀请码",
  5401. "parameters": [
  5402. {
  5403. "type": "integer",
  5404. "description": "用户ID",
  5405. "name": "userID",
  5406. "in": "query",
  5407. "required": true
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/User/RemoveUserFavoriteGoods": {
  5427. "post": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "用户信息"
  5438. ],
  5439. "summary": "移除用户商品收藏信息",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "用户ID",
  5444. "name": "userID",
  5445. "in": "query",
  5446. "required": true
  5447. },
  5448. {
  5449. "type": "integer",
  5450. "description": "商品ID",
  5451. "name": "goodsID",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/app.Response"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/User/UpdateUserAccountStatus": {
  5473. "post": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "用户信息"
  5484. ],
  5485. "summary": "更新用户状态",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "用户ID",
  5490. "name": "userID",
  5491. "in": "query",
  5492. "required": true
  5493. },
  5494. {
  5495. "type": "integer",
  5496. "description": "账户状态 - 4:正常 6:注销(停用)",
  5497. "name": "accountStatus",
  5498. "in": "query",
  5499. "required": true
  5500. }
  5501. ],
  5502. "responses": {
  5503. "200": {
  5504. "description": "OK",
  5505. "schema": {
  5506. "$ref": "#/definitions/app.Response"
  5507. }
  5508. },
  5509. "500": {
  5510. "description": "Internal Server Error",
  5511. "schema": {
  5512. "$ref": "#/definitions/app.Response"
  5513. }
  5514. }
  5515. }
  5516. }
  5517. },
  5518. "/WR/GetWRCategoryInfo": {
  5519. "get": {
  5520. "produces": [
  5521. "application/json"
  5522. ],
  5523. "tags": [
  5524. "仓单服务"
  5525. ],
  5526. "summary": "获取现货分类信息",
  5527. "responses": {
  5528. "200": {
  5529. "description": "OK",
  5530. "schema": {
  5531. "$ref": "#/definitions/models.WRCategoryTree"
  5532. }
  5533. },
  5534. "500": {
  5535. "description": "Internal Server Error",
  5536. "schema": {
  5537. "$ref": "#/definitions/app.Response"
  5538. }
  5539. }
  5540. }
  5541. }
  5542. },
  5543. "/WRTrade/GetAllDeliveryGoods": {
  5544. "get": {
  5545. "security": [
  5546. {
  5547. "ApiKeyAuth": []
  5548. },
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json",
  5555. "application/json"
  5556. ],
  5557. "tags": [
  5558. "仓单贸易",
  5559. "仓单贸易"
  5560. ],
  5561. "summary": "获取带仓单分类的种类信息",
  5562. "responses": {
  5563. "200": {
  5564. "description": "OK",
  5565. "schema": {
  5566. "$ref": "#/definitions/app.Response"
  5567. }
  5568. },
  5569. "500": {
  5570. "description": "Internal Server Error",
  5571. "schema": {
  5572. "$ref": "#/definitions/app.Response"
  5573. }
  5574. }
  5575. }
  5576. }
  5577. }
  5578. },
  5579. "definitions": {
  5580. "app.Response": {
  5581. "type": "object",
  5582. "properties": {
  5583. "code": {
  5584. "type": "integer"
  5585. },
  5586. "data": {
  5587. "type": "object"
  5588. },
  5589. "msg": {
  5590. "type": "string"
  5591. },
  5592. "page": {
  5593. "description": "页码",
  5594. "type": "integer"
  5595. },
  5596. "pagesize": {
  5597. "description": "每页条数",
  5598. "type": "integer"
  5599. },
  5600. "total": {
  5601. "description": "总条数",
  5602. "type": "integer"
  5603. }
  5604. }
  5605. },
  5606. "common.QueryNoticeRsp": {
  5607. "type": "object",
  5608. "required": [
  5609. "autoid"
  5610. ],
  5611. "properties": {
  5612. "auditoruserid": {
  5613. "description": "审核人",
  5614. "type": "integer"
  5615. },
  5616. "auditremark": {
  5617. "description": "审核备注",
  5618. "type": "string"
  5619. },
  5620. "audittime": {
  5621. "description": "审核日期",
  5622. "type": "string"
  5623. },
  5624. "autoid": {
  5625. "description": "自增ID",
  5626. "type": "integer"
  5627. },
  5628. "content": {
  5629. "description": "内容",
  5630. "type": "string"
  5631. },
  5632. "createtime": {
  5633. "description": "创建时间",
  5634. "type": "string"
  5635. },
  5636. "creatorid": {
  5637. "description": "建仓人",
  5638. "type": "integer"
  5639. },
  5640. "endtime": {
  5641. "description": "结束时间",
  5642. "type": "string"
  5643. },
  5644. "istop": {
  5645. "description": "是否置顶 - 0:不置顶 1:置顶",
  5646. "type": "integer"
  5647. },
  5648. "msgiconurl": {
  5649. "description": "消息图标Url",
  5650. "type": "string"
  5651. },
  5652. "msgtype": {
  5653. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5654. "type": "integer"
  5655. },
  5656. "publisher": {
  5657. "description": "消息发布者",
  5658. "type": "string"
  5659. },
  5660. "readed": {
  5661. "description": "是否已读",
  5662. "type": "boolean"
  5663. },
  5664. "scheduletime": {
  5665. "description": "计划发送时间",
  5666. "type": "string"
  5667. },
  5668. "sendtype": {
  5669. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5670. "type": "integer"
  5671. },
  5672. "sentstatus": {
  5673. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5674. "type": "integer"
  5675. },
  5676. "title": {
  5677. "description": "标题",
  5678. "type": "string"
  5679. },
  5680. "userid": {
  5681. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5682. "type": "integer"
  5683. }
  5684. }
  5685. },
  5686. "common.QueryProvincesAndCitiesRsp": {
  5687. "type": "object",
  5688. "properties": {
  5689. "cities": {
  5690. "description": "市",
  5691. "type": "array",
  5692. "items": {
  5693. "$ref": "#/definitions/models.Division"
  5694. }
  5695. },
  5696. "province": {
  5697. "description": "省",
  5698. "$ref": "#/definitions/models.Division"
  5699. }
  5700. }
  5701. },
  5702. "common.QueryTableDefineRsp": {
  5703. "type": "object",
  5704. "required": [
  5705. "tablekey"
  5706. ],
  5707. "properties": {
  5708. "columns": {
  5709. "description": "列头信息数组",
  5710. "type": "array",
  5711. "items": {
  5712. "$ref": "#/definitions/models.Tablecolumnconfig"
  5713. }
  5714. },
  5715. "remark": {
  5716. "description": "Remark",
  5717. "type": "string"
  5718. },
  5719. "tabelmenu": {
  5720. "description": "列表菜单",
  5721. "type": "string"
  5722. },
  5723. "tablekey": {
  5724. "description": "列表Key",
  5725. "type": "string"
  5726. },
  5727. "tablename": {
  5728. "description": "列表名称",
  5729. "type": "string"
  5730. },
  5731. "tabletype": {
  5732. "description": "列表类型 - 1:管理端 2:终端",
  5733. "type": "integer"
  5734. }
  5735. }
  5736. },
  5737. "common.QueryTraderMenuRsp": {
  5738. "type": "object",
  5739. "properties": {
  5740. "OperationMenu": {
  5741. "description": "功能菜单",
  5742. "type": "array",
  5743. "items": {
  5744. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5745. }
  5746. },
  5747. "QuoteMenu": {
  5748. "description": "报价牌分类菜单",
  5749. "type": "array",
  5750. "items": {
  5751. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5752. }
  5753. }
  5754. }
  5755. },
  5756. "cptrade.Cptradepositioncancel": {
  5757. "type": "object",
  5758. "required": [
  5759. "cancelid"
  5760. ],
  5761. "properties": {
  5762. "accountid": {
  5763. "description": "申请人账户ID",
  5764. "type": "integer"
  5765. },
  5766. "applystatus": {
  5767. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5768. "type": "integer"
  5769. },
  5770. "applytime": {
  5771. "description": "申请时间",
  5772. "type": "string"
  5773. },
  5774. "cancelid": {
  5775. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5776. "type": "integer"
  5777. },
  5778. "cancelqty": {
  5779. "description": "注销数量",
  5780. "type": "integer"
  5781. },
  5782. "createtime": {
  5783. "description": "创建时间",
  5784. "type": "string"
  5785. },
  5786. "creatorid": {
  5787. "description": "创建人ID",
  5788. "type": "integer"
  5789. },
  5790. "creatorname": {
  5791. "description": "创建人",
  5792. "type": "string"
  5793. },
  5794. "goodscode": {
  5795. "description": "订单商品代码",
  5796. "type": "string"
  5797. },
  5798. "goodsid": {
  5799. "description": "商品ID",
  5800. "type": "integer"
  5801. },
  5802. "goodsname": {
  5803. "description": "订单商品名称",
  5804. "type": "string"
  5805. },
  5806. "goodunit": {
  5807. "description": "报价单位",
  5808. "type": "string"
  5809. },
  5810. "handlestatus": {
  5811. "description": "处理状态",
  5812. "type": "integer"
  5813. },
  5814. "marketid": {
  5815. "description": "市场ID",
  5816. "type": "integer"
  5817. },
  5818. "marketname": {
  5819. "description": "市场名称",
  5820. "type": "string"
  5821. },
  5822. "tradedate": {
  5823. "description": "交易日(yyyyMMdd)",
  5824. "type": "string"
  5825. },
  5826. "userid": {
  5827. "description": "申请人ID",
  5828. "type": "integer"
  5829. }
  5830. }
  5831. },
  5832. "cptrade.Cptradepresaleapply": {
  5833. "type": "object",
  5834. "required": [
  5835. "applyid"
  5836. ],
  5837. "properties": {
  5838. "accountid": {
  5839. "description": "申请人账户ID",
  5840. "type": "integer"
  5841. },
  5842. "applyid": {
  5843. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5844. "type": "integer"
  5845. },
  5846. "applyremark": {
  5847. "description": "申请备注",
  5848. "type": "string"
  5849. },
  5850. "applystatus": {
  5851. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5852. "type": "integer"
  5853. },
  5854. "applytime": {
  5855. "description": "申请时间",
  5856. "type": "string"
  5857. },
  5858. "attachmenturl": {
  5859. "description": "附件地址",
  5860. "type": "string"
  5861. },
  5862. "endtime": {
  5863. "description": "预售结束时间",
  5864. "type": "string"
  5865. },
  5866. "goodscode": {
  5867. "description": "商品代码",
  5868. "type": "string"
  5869. },
  5870. "goodsid": {
  5871. "description": "商品ID",
  5872. "type": "integer"
  5873. },
  5874. "goodsname": {
  5875. "description": "商品名称",
  5876. "type": "string"
  5877. },
  5878. "goodunit": {
  5879. "description": "报价单位",
  5880. "type": "string"
  5881. },
  5882. "handlestatus": {
  5883. "description": "处理状态",
  5884. "type": "integer"
  5885. },
  5886. "marketid": {
  5887. "description": "预售市场ID",
  5888. "type": "integer"
  5889. },
  5890. "marketname": {
  5891. "description": "预售市场名称",
  5892. "type": "string"
  5893. },
  5894. "presaleqty": {
  5895. "description": "预售数量",
  5896. "type": "integer"
  5897. },
  5898. "relatedgoodscode": {
  5899. "description": "关联交易合约代码",
  5900. "type": "string"
  5901. },
  5902. "relatedgoodsid": {
  5903. "description": "关联交易合约ID",
  5904. "type": "integer"
  5905. },
  5906. "relatedgoodsname": {
  5907. "description": "关联交易合约名称",
  5908. "type": "string"
  5909. },
  5910. "starttime": {
  5911. "description": "预售开始时间",
  5912. "type": "string"
  5913. },
  5914. "tradedate": {
  5915. "description": "交易日(yyyyMMdd)",
  5916. "type": "string"
  5917. },
  5918. "trademode": {
  5919. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5920. "type": "integer"
  5921. },
  5922. "userid": {
  5923. "description": "申请人ID",
  5924. "type": "integer"
  5925. }
  5926. }
  5927. },
  5928. "cptrade.Cptradeusergoodsdata": {
  5929. "type": "object",
  5930. "required": [
  5931. "accountid",
  5932. "goodsid"
  5933. ],
  5934. "properties": {
  5935. "EnabledQty": {
  5936. "description": "可用量",
  5937. "type": "integer"
  5938. },
  5939. "GoodsCode": {
  5940. "description": "订单商品代码",
  5941. "type": "string"
  5942. },
  5943. "GoodsName": {
  5944. "description": "订单商品名称",
  5945. "type": "string"
  5946. },
  5947. "WRStandardCode": {
  5948. "description": "仓单标准代码",
  5949. "type": "string"
  5950. },
  5951. "WRStandardName": {
  5952. "description": "仓单标准名称",
  5953. "type": "string"
  5954. },
  5955. "accountid": {
  5956. "description": "账户ID",
  5957. "type": "integer"
  5958. },
  5959. "cancelqty": {
  5960. "description": "注销量",
  5961. "type": "integer"
  5962. },
  5963. "curpresaleqty": {
  5964. "description": "当前预售量",
  5965. "type": "integer"
  5966. },
  5967. "deliveryqty": {
  5968. "description": "交割量",
  5969. "type": "integer"
  5970. },
  5971. "freezeamount": {
  5972. "description": "冻结金额",
  5973. "type": "number"
  5974. },
  5975. "goodsid": {
  5976. "description": "商品ID",
  5977. "type": "integer"
  5978. },
  5979. "goodunit": {
  5980. "description": "报价单位",
  5981. "type": "string"
  5982. },
  5983. "hasspotfreeze": {
  5984. "description": "是否有现货冻结 - 0:否 1:有",
  5985. "type": "integer"
  5986. },
  5987. "inqty": {
  5988. "description": "转入量(总数量)",
  5989. "type": "integer"
  5990. },
  5991. "marketid": {
  5992. "description": "市场ID",
  5993. "type": "integer"
  5994. },
  5995. "presaledamount": {
  5996. "description": "已预售总金额",
  5997. "type": "integer"
  5998. },
  5999. "presaledqty": {
  6000. "description": "已预售量",
  6001. "type": "integer"
  6002. },
  6003. "userid": {
  6004. "description": "用户ID",
  6005. "type": "integer"
  6006. },
  6007. "wrstandardid": {
  6008. "description": "仓单标准ID",
  6009. "type": "integer"
  6010. }
  6011. }
  6012. },
  6013. "cptrade.QueryCPTradeMyBidRsp": {
  6014. "type": "object",
  6015. "required": [
  6016. "accountid",
  6017. "goodsid",
  6018. "marketid",
  6019. "orderid",
  6020. "orderqty",
  6021. "ordertime",
  6022. "tradeprice",
  6023. "tradeqty"
  6024. ],
  6025. "properties": {
  6026. "accountid": {
  6027. "description": "账户ID[报价币种]",
  6028. "type": "integer"
  6029. },
  6030. "goodsid": {
  6031. "description": "商品ID",
  6032. "type": "integer"
  6033. },
  6034. "goodunit": {
  6035. "description": "报价单位",
  6036. "type": "string"
  6037. },
  6038. "marketid": {
  6039. "description": "市场ID",
  6040. "type": "integer"
  6041. },
  6042. "orderid": {
  6043. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6044. "type": "integer"
  6045. },
  6046. "orderprice": {
  6047. "description": "委托价格",
  6048. "type": "number"
  6049. },
  6050. "orderqty": {
  6051. "description": "委托数量",
  6052. "type": "integer"
  6053. },
  6054. "ordertime": {
  6055. "description": "委托时间",
  6056. "type": "string"
  6057. },
  6058. "ordertotalprice": {
  6059. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6060. "type": "number"
  6061. },
  6062. "ordertotalweight": {
  6063. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6064. "type": "integer"
  6065. },
  6066. "totaltotalprice": {
  6067. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6068. "type": "number"
  6069. },
  6070. "tradeprice": {
  6071. "description": "成交价格",
  6072. "type": "number"
  6073. },
  6074. "tradeqty": {
  6075. "description": "成交数量",
  6076. "type": "integer"
  6077. }
  6078. }
  6079. },
  6080. "cptrade.QueryCPTradeOrderDetailRsq": {
  6081. "type": "object",
  6082. "required": [
  6083. "accountid",
  6084. "buildtype",
  6085. "buyorsell",
  6086. "goodsid",
  6087. "marketid",
  6088. "memberuserid",
  6089. "operatetype",
  6090. "orderqty",
  6091. "ordertime",
  6092. "pricemode",
  6093. "strorderid",
  6094. "tradedate",
  6095. "validtype"
  6096. ],
  6097. "properties": {
  6098. "accountid": {
  6099. "description": "账户ID[报价币种]",
  6100. "type": "integer"
  6101. },
  6102. "buildtype": {
  6103. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6104. "type": "integer"
  6105. },
  6106. "buyorsell": {
  6107. "description": "买卖 - 0:买 1:卖",
  6108. "type": "integer"
  6109. },
  6110. "cancelorderid": {
  6111. "description": "撤单单号(撤单时填写)",
  6112. "type": "integer"
  6113. },
  6114. "cancelqty": {
  6115. "description": "撤单数量",
  6116. "type": "integer"
  6117. },
  6118. "clientordertime": {
  6119. "description": "客户端委托时间",
  6120. "type": "string"
  6121. },
  6122. "clientticket": {
  6123. "description": "客户端流水号",
  6124. "type": "string"
  6125. },
  6126. "clienttype": {
  6127. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6128. "type": "integer"
  6129. },
  6130. "closeexchagechargevalue": {
  6131. "description": "平仓交易所手续费设置值",
  6132. "type": "number"
  6133. },
  6134. "closefeealgorithm": {
  6135. "description": "平仓手续费收取方式 1:比率 2:固定",
  6136. "type": "integer"
  6137. },
  6138. "closefreezecharge": {
  6139. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6140. "type": "number"
  6141. },
  6142. "closememberchargevalue": {
  6143. "description": "平仓会员手续费设置值",
  6144. "type": "number"
  6145. },
  6146. "closeqty": {
  6147. "description": "平仓数量(先建后平操作 需要记录)",
  6148. "type": "integer"
  6149. },
  6150. "closetradeqty": {
  6151. "description": "平仓成交数量(先建后平操作,需要记录)",
  6152. "type": "integer"
  6153. },
  6154. "closeunfreezecharge": {
  6155. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6156. "type": "number"
  6157. },
  6158. "delistingtype": {
  6159. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6160. "type": "integer"
  6161. },
  6162. "freezecharge": {
  6163. "description": "冻结手续费",
  6164. "type": "number"
  6165. },
  6166. "freezemargin": {
  6167. "description": "冻结保证金(冻结交易金额)",
  6168. "type": "number"
  6169. },
  6170. "gcaccountid": {
  6171. "description": "账户ID[合约币种]",
  6172. "type": "integer"
  6173. },
  6174. "goodsid": {
  6175. "description": "商品ID",
  6176. "type": "integer"
  6177. },
  6178. "isconfirmexercise": {
  6179. "description": "是否确认行权- 0:否 1:是",
  6180. "type": "integer"
  6181. },
  6182. "ispreexercise": {
  6183. "description": "是否预申报- 0:否 1:是",
  6184. "type": "integer"
  6185. },
  6186. "listingselecttype": {
  6187. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6188. "type": "integer"
  6189. },
  6190. "marginalgorithm": {
  6191. "description": "保证金收取方式 1:比率 2:固定",
  6192. "type": "integer"
  6193. },
  6194. "marginvalue": {
  6195. "description": "即市保证金设置值",
  6196. "type": "number"
  6197. },
  6198. "marketid": {
  6199. "description": "市场ID",
  6200. "type": "integer"
  6201. },
  6202. "marketmaxsub": {
  6203. "description": "市价最大偏移范围",
  6204. "type": "number"
  6205. },
  6206. "memberuserid": {
  6207. "description": "所属会员UserID",
  6208. "type": "integer"
  6209. },
  6210. "openexchagechargevalue": {
  6211. "description": "建仓交易所手续费设置值",
  6212. "type": "number"
  6213. },
  6214. "openfeealgorithm": {
  6215. "description": "建仓手续费收取方式 1:比率 2:固定",
  6216. "type": "integer"
  6217. },
  6218. "openfreezecharge": {
  6219. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6220. "type": "number"
  6221. },
  6222. "openmemberchargevalue": {
  6223. "description": "建仓会员手续费设置值",
  6224. "type": "number"
  6225. },
  6226. "openqty": {
  6227. "description": "开仓数量(先建后平操作,需要记录)",
  6228. "type": "integer"
  6229. },
  6230. "opentradeqty": {
  6231. "description": "开仓成交数量(先建后平操作,需要记录)",
  6232. "type": "integer"
  6233. },
  6234. "openunfreezecharge": {
  6235. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6236. "type": "number"
  6237. },
  6238. "operatetype": {
  6239. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6240. "type": "integer"
  6241. },
  6242. "operatorid": {
  6243. "description": "登录账号(LoginID)",
  6244. "type": "integer"
  6245. },
  6246. "optiontype": {
  6247. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6248. "type": "integer"
  6249. },
  6250. "orderprice": {
  6251. "description": "委托价格",
  6252. "type": "number"
  6253. },
  6254. "orderqty": {
  6255. "description": "委托数量",
  6256. "type": "integer"
  6257. },
  6258. "ordersrc": {
  6259. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6260. "type": "integer"
  6261. },
  6262. "orderstatus": {
  6263. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6264. "type": "integer"
  6265. },
  6266. "ordertime": {
  6267. "description": "委托时间",
  6268. "type": "string"
  6269. },
  6270. "preexerciseprice": {
  6271. "description": "预申报价格",
  6272. "type": "number"
  6273. },
  6274. "premium": {
  6275. "description": "权利金",
  6276. "type": "number"
  6277. },
  6278. "preorderid": {
  6279. "description": "关联预埋单号(止盈止损单时填写)",
  6280. "type": "integer"
  6281. },
  6282. "pricemode": {
  6283. "description": "取价方式 - 1:市价 2: 限价",
  6284. "type": "integer"
  6285. },
  6286. "quoteid": {
  6287. "description": "报价单ID",
  6288. "type": "integer"
  6289. },
  6290. "relatedid": {
  6291. "description": "关联单号(交割单)",
  6292. "type": "integer"
  6293. },
  6294. "retcode": {
  6295. "description": "错误代码",
  6296. "type": "integer"
  6297. },
  6298. "sessionid": {
  6299. "description": "会话ID",
  6300. "type": "integer"
  6301. },
  6302. "strorderid": {
  6303. "description": "委托单号",
  6304. "type": "string"
  6305. },
  6306. "tradedate": {
  6307. "description": "交易日(yyyyMMdd)",
  6308. "type": "string"
  6309. },
  6310. "tradeproperty": {
  6311. "description": "交易属性",
  6312. "type": "integer"
  6313. },
  6314. "tradeqty": {
  6315. "description": "成交数量",
  6316. "type": "integer"
  6317. },
  6318. "unfreezecharge": {
  6319. "description": "解冻手续费",
  6320. "type": "number"
  6321. },
  6322. "unfreezemargin": {
  6323. "description": "解冻保证金",
  6324. "type": "number"
  6325. },
  6326. "updatetime": {
  6327. "description": "更新时间",
  6328. "type": "string"
  6329. },
  6330. "uuid": {
  6331. "description": "发起端唯一id",
  6332. "type": "string"
  6333. },
  6334. "validtime": {
  6335. "description": "有效期限",
  6336. "type": "string"
  6337. },
  6338. "validtype": {
  6339. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6340. "type": "integer"
  6341. },
  6342. "volumetype": {
  6343. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6344. "type": "integer"
  6345. }
  6346. }
  6347. },
  6348. "cptrade.QueryMyCPTradeGoodsRsp": {
  6349. "type": "object",
  6350. "required": [
  6351. "goodscode",
  6352. "goodsid",
  6353. "goodsname",
  6354. "marketid",
  6355. "relatedgoodscode",
  6356. "relatedgoodsname"
  6357. ],
  6358. "properties": {
  6359. "accountid": {
  6360. "description": "卖方账户ID",
  6361. "type": "integer"
  6362. },
  6363. "agreeunit": {
  6364. "description": "合约单位",
  6365. "type": "number"
  6366. },
  6367. "applyid": {
  6368. "description": "关联申请ID",
  6369. "type": "integer"
  6370. },
  6371. "attachmenturl": {
  6372. "description": "附件地址",
  6373. "type": "string"
  6374. },
  6375. "createtime": {
  6376. "description": "创建时间",
  6377. "type": "string"
  6378. },
  6379. "currencyid": {
  6380. "description": "报价货币ID",
  6381. "type": "integer"
  6382. },
  6383. "decimalplace": {
  6384. "description": "报价小数位",
  6385. "type": "integer"
  6386. },
  6387. "endtime": {
  6388. "description": "预售结束时间",
  6389. "type": "string"
  6390. },
  6391. "floorprice": {
  6392. "description": "底价[大宗式竞拍]",
  6393. "type": "number"
  6394. },
  6395. "goodscode": {
  6396. "description": "商品代码(预售)",
  6397. "type": "string"
  6398. },
  6399. "goodsdetail": {
  6400. "description": "详情[大宗]",
  6401. "type": "string"
  6402. },
  6403. "goodsid": {
  6404. "description": "商品ID(自增ID SEQ_GOODS)",
  6405. "type": "integer"
  6406. },
  6407. "goodsname": {
  6408. "description": "商品名称(预售)",
  6409. "type": "string"
  6410. },
  6411. "goodunit": {
  6412. "description": "报价单位",
  6413. "type": "string"
  6414. },
  6415. "goodunitid": {
  6416. "description": "报价单位ID",
  6417. "type": "integer"
  6418. },
  6419. "marketid": {
  6420. "description": "所属市场ID",
  6421. "type": "integer"
  6422. },
  6423. "marketname": {
  6424. "description": "预售市场名称",
  6425. "type": "string"
  6426. },
  6427. "presaledamount": {
  6428. "description": "已预售总金额(预售结束时更新)",
  6429. "type": "number"
  6430. },
  6431. "presaledqty": {
  6432. "description": "已预售量(预售结束时更新)",
  6433. "type": "integer"
  6434. },
  6435. "presalemode": {
  6436. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6437. "type": "integer"
  6438. },
  6439. "presaleqty": {
  6440. "description": "预售数量",
  6441. "type": "integer"
  6442. },
  6443. "refprice": {
  6444. "description": "参考价格[一口价]",
  6445. "type": "number"
  6446. },
  6447. "relatedgoodscode": {
  6448. "description": "商品代码(订单)",
  6449. "type": "string"
  6450. },
  6451. "relatedgoodsid": {
  6452. "description": "关联交易合约ID",
  6453. "type": "integer"
  6454. },
  6455. "relatedgoodsname": {
  6456. "description": "商品名称(订单)",
  6457. "type": "string"
  6458. },
  6459. "relatedmarketid": {
  6460. "description": "关联交易合约市场ID",
  6461. "type": "integer"
  6462. },
  6463. "sellstatus": {
  6464. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6465. "type": "integer"
  6466. },
  6467. "startprice": {
  6468. "description": "起拍价[大宗式竞拍]",
  6469. "type": "number"
  6470. },
  6471. "starttime": {
  6472. "description": "预售开始时间",
  6473. "type": "string"
  6474. },
  6475. "tradedate": {
  6476. "description": "交易日(yyyyMMdd)",
  6477. "type": "string"
  6478. },
  6479. "tradeprice": {
  6480. "description": "成交价[大宗]",
  6481. "type": "number"
  6482. },
  6483. "userid": {
  6484. "description": "卖方用户ID",
  6485. "type": "integer"
  6486. }
  6487. }
  6488. },
  6489. "cptrade.QueryPresaleGoodsExRsp": {
  6490. "type": "object",
  6491. "required": [
  6492. "goodsid"
  6493. ],
  6494. "properties": {
  6495. "attachmenturl": {
  6496. "description": "附件地址",
  6497. "type": "string"
  6498. },
  6499. "createtime": {
  6500. "description": "创建时间",
  6501. "type": "string"
  6502. },
  6503. "endtime": {
  6504. "description": "预售结束时间",
  6505. "type": "string"
  6506. },
  6507. "floorprice": {
  6508. "description": "底价[大宗式竞拍]",
  6509. "type": "number"
  6510. },
  6511. "goodsdetail": {
  6512. "description": "详情[大宗]",
  6513. "type": "string"
  6514. },
  6515. "goodsid": {
  6516. "description": "商品ID(预售)",
  6517. "type": "integer"
  6518. },
  6519. "goodunit": {
  6520. "description": "报价单位",
  6521. "type": "string"
  6522. },
  6523. "marketid": {
  6524. "description": "预售市场ID - 根据预售模式选择市场",
  6525. "type": "integer"
  6526. },
  6527. "presaledamount": {
  6528. "description": "已预售总金额(预售结束时更新)",
  6529. "type": "number"
  6530. },
  6531. "presaledqty": {
  6532. "description": "已预售量(预售结束时更新)",
  6533. "type": "integer"
  6534. },
  6535. "presalemode": {
  6536. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6537. "type": "integer"
  6538. },
  6539. "presaleqty": {
  6540. "description": "预售数量",
  6541. "type": "integer"
  6542. },
  6543. "refprice": {
  6544. "description": "参考价格[一口价]",
  6545. "type": "number"
  6546. },
  6547. "relatedgoodsid": {
  6548. "description": "关联交易合约ID",
  6549. "type": "integer"
  6550. },
  6551. "relatedmarketid": {
  6552. "description": "关联交易合约市场ID",
  6553. "type": "integer"
  6554. },
  6555. "sellstatus": {
  6556. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6557. "type": "integer"
  6558. },
  6559. "startprice": {
  6560. "description": "起拍价[大宗式竞拍]",
  6561. "type": "number"
  6562. },
  6563. "starttime": {
  6564. "description": "预售开始时间",
  6565. "type": "string"
  6566. },
  6567. "tradedate": {
  6568. "description": "交易日(yyyyMMdd)",
  6569. "type": "string"
  6570. },
  6571. "tradeprice": {
  6572. "description": "成交价[大宗]",
  6573. "type": "number"
  6574. }
  6575. }
  6576. },
  6577. "delivery.QueryDeliveryRelationRsp": {
  6578. "type": "object",
  6579. "required": [
  6580. "begindate",
  6581. "enddate",
  6582. "goodsid",
  6583. "mindeliveryqty",
  6584. "xdeliveryratio"
  6585. ],
  6586. "properties": {
  6587. "begindate": {
  6588. "description": "起始日期(yyyyMMdd)",
  6589. "type": "string"
  6590. },
  6591. "buytemplateid": {
  6592. "description": "买履约计划模板ID",
  6593. "type": "integer"
  6594. },
  6595. "deliverygoodscode": {
  6596. "description": "品种代码",
  6597. "type": "string"
  6598. },
  6599. "deliverygoodsid": {
  6600. "description": "交割商品",
  6601. "type": "integer"
  6602. },
  6603. "deliverygoodsname": {
  6604. "description": "品种名称",
  6605. "type": "string"
  6606. },
  6607. "deliverymode": {
  6608. "description": "交割方式 - 1:点选式 2:申报式",
  6609. "type": "integer"
  6610. },
  6611. "deliverypricerule": {
  6612. "description": "交割价规则- 1:行情价 2:建仓价",
  6613. "type": "integer"
  6614. },
  6615. "deliverytype": {
  6616. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6617. "type": "integer"
  6618. },
  6619. "enddate": {
  6620. "description": "结束日期(yyyyMMdd)",
  6621. "type": "string"
  6622. },
  6623. "goodscode": {
  6624. "description": "商品代码",
  6625. "type": "string"
  6626. },
  6627. "goodsid": {
  6628. "description": "交易合约ID",
  6629. "type": "integer"
  6630. },
  6631. "goodsname": {
  6632. "description": "商品名称",
  6633. "type": "string"
  6634. },
  6635. "marketid": {
  6636. "description": "市场ID",
  6637. "type": "integer"
  6638. },
  6639. "mindeliveryqty": {
  6640. "description": "最小交割系数(K)",
  6641. "type": "integer"
  6642. },
  6643. "p2deliveryprice": {
  6644. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6645. "type": "number"
  6646. },
  6647. "p2deliveryratio": {
  6648. "description": "P2合约系数(p)",
  6649. "type": "integer"
  6650. },
  6651. "p2goodsid": {
  6652. "description": "P2合约ID",
  6653. "type": "integer"
  6654. },
  6655. "p2pricemode": {
  6656. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6657. "type": "integer"
  6658. },
  6659. "pdeliveryprice": {
  6660. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6661. "type": "number"
  6662. },
  6663. "pdeliveryratio": {
  6664. "description": "P合约系数(n)",
  6665. "type": "integer"
  6666. },
  6667. "pgoodsid": {
  6668. "description": "P合约ID",
  6669. "type": "integer"
  6670. },
  6671. "ppricemode": {
  6672. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6673. "type": "integer"
  6674. },
  6675. "rratio": {
  6676. "description": "兑换系数(R)",
  6677. "type": "integer"
  6678. },
  6679. "rratio1": {
  6680. "description": "兑换系数(交易合约)(R1)",
  6681. "type": "integer"
  6682. },
  6683. "rratio2": {
  6684. "description": "兑换系数(仓单标准)(R2)",
  6685. "type": "integer"
  6686. },
  6687. "selltemplateid": {
  6688. "description": "卖履约计划模板ID",
  6689. "type": "integer"
  6690. },
  6691. "wrstandardid": {
  6692. "description": "仓单标准ID",
  6693. "type": "integer"
  6694. },
  6695. "xdeliveryratio": {
  6696. "description": "交易合约系数(m)",
  6697. "type": "integer"
  6698. }
  6699. }
  6700. },
  6701. "ermcp.ExposureDetailRsp": {
  6702. "type": "object",
  6703. "properties": {
  6704. "areauserid": {
  6705. "description": "机构ID",
  6706. "type": "integer"
  6707. },
  6708. "changeQty": {
  6709. "description": "套保变动量",
  6710. "type": "number"
  6711. },
  6712. "contracttype": {
  6713. "description": "现货合同类型 - 1:采购 -1:销售",
  6714. "type": "integer"
  6715. },
  6716. "convertfactor": {
  6717. "description": "标仓系数",
  6718. "type": "number"
  6719. },
  6720. "convertratio": {
  6721. "description": "套保系数",
  6722. "type": "number"
  6723. },
  6724. "createtime": {
  6725. "description": "时间",
  6726. "type": "string"
  6727. },
  6728. "enumdicname": {
  6729. "description": "现货商品单位名称",
  6730. "type": "string"
  6731. },
  6732. "logtype": {
  6733. "description": "类型 - 1:套保计划 2:现货合同",
  6734. "type": "integer"
  6735. },
  6736. "middlegoodsId": {
  6737. "description": "套保商品id",
  6738. "type": "integer"
  6739. },
  6740. "middlegoodscode": {
  6741. "description": "套保商品代码",
  6742. "type": "string"
  6743. },
  6744. "middlegoodsname": {
  6745. "description": "套保商品名称",
  6746. "type": "string"
  6747. },
  6748. "qty": {
  6749. "description": "数量",
  6750. "type": "number"
  6751. },
  6752. "relateNo": {
  6753. "description": "现货合同/套保计划编号",
  6754. "type": "string"
  6755. },
  6756. "wrstandardcode": {
  6757. "description": "现货商品代码",
  6758. "type": "string"
  6759. },
  6760. "wrstandardid": {
  6761. "description": "现货商品ID",
  6762. "type": "integer"
  6763. },
  6764. "wrstandardname": {
  6765. "description": "现货商品名称",
  6766. "type": "string"
  6767. }
  6768. }
  6769. },
  6770. "ermcp.ExposureHedgePosDetailRsp": {
  6771. "type": "object",
  6772. "properties": {
  6773. "buyorsell": {
  6774. "description": "买卖方向 0-买 1-卖",
  6775. "type": "integer"
  6776. },
  6777. "channelbuildtype": {
  6778. "description": "开平方向 1-建仓 2-平仓",
  6779. "type": "integer"
  6780. },
  6781. "goodscode": {
  6782. "description": "商品代码",
  6783. "type": "string"
  6784. },
  6785. "goodsname": {
  6786. "description": "商品名称",
  6787. "type": "string"
  6788. },
  6789. "hedgegoodsid": {
  6790. "description": "商品id",
  6791. "type": "integer"
  6792. },
  6793. "tradeqty": {
  6794. "description": "数量(成交数量)",
  6795. "type": "integer"
  6796. },
  6797. "tradetime": {
  6798. "description": "时间(成交时间)",
  6799. "type": "string"
  6800. }
  6801. }
  6802. },
  6803. "ermcp.ExposureHedgePositionRsp": {
  6804. "type": "object",
  6805. "properties": {
  6806. "accountid": {
  6807. "description": "资金账号[外部母账户]",
  6808. "type": "integer"
  6809. },
  6810. "curbuyposition": {
  6811. "description": "期末买头寸",
  6812. "type": "integer"
  6813. },
  6814. "cursellposition": {
  6815. "description": "期末卖头寸",
  6816. "type": "integer"
  6817. },
  6818. "curtdbuyposition": {
  6819. "description": "期末今日买头寸",
  6820. "type": "integer"
  6821. },
  6822. "curtdsellposition": {
  6823. "description": "期末今日卖头寸",
  6824. "type": "integer"
  6825. },
  6826. "curydbuyposition": {
  6827. "description": "期末上日买头寸",
  6828. "type": "integer"
  6829. },
  6830. "curydsellposition": {
  6831. "description": "期末上日卖头寸",
  6832. "type": "integer"
  6833. },
  6834. "decreaseqty": {
  6835. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  6836. "type": "integer"
  6837. },
  6838. "fretdbuyposition": {
  6839. "description": "冻结今日买头寸",
  6840. "type": "integer"
  6841. },
  6842. "fretdsellposition": {
  6843. "description": "冻结今日卖头寸",
  6844. "type": "integer"
  6845. },
  6846. "freydbuyposition": {
  6847. "description": "冻结上日买头寸",
  6848. "type": "integer"
  6849. },
  6850. "freydsellposition": {
  6851. "description": "冻结上日卖头寸",
  6852. "type": "integer"
  6853. },
  6854. "goodscode": {
  6855. "description": "商品代码",
  6856. "type": "string"
  6857. },
  6858. "goodsid": {
  6859. "description": "商品id",
  6860. "type": "integer"
  6861. },
  6862. "goodsname": {
  6863. "description": "商品名称",
  6864. "type": "string"
  6865. },
  6866. "hedgeaccountcode": {
  6867. "description": "对冲账号",
  6868. "type": "string"
  6869. },
  6870. "hedgegoodsid": {
  6871. "description": "对冲合约ID",
  6872. "type": "integer"
  6873. },
  6874. "increaseqty": {
  6875. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  6876. "type": "integer"
  6877. },
  6878. "marketid": {
  6879. "description": "市场ID",
  6880. "type": "integer"
  6881. },
  6882. "relateduserid": {
  6883. "description": "关联用户id",
  6884. "type": "integer"
  6885. },
  6886. "totalcurqty": {
  6887. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  6888. "type": "integer"
  6889. },
  6890. "totalydqty": {
  6891. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  6892. "type": "integer"
  6893. },
  6894. "tradedate": {
  6895. "description": "交易日(yyyyMMdd)",
  6896. "type": "string"
  6897. },
  6898. "ydbuyposition": {
  6899. "description": "期初买头寸",
  6900. "type": "integer"
  6901. },
  6902. "ydsellposition": {
  6903. "description": "期初卖头寸",
  6904. "type": "integer"
  6905. }
  6906. }
  6907. },
  6908. "ermcp.ExposureSpotDetailRsp": {
  6909. "type": "object",
  6910. "properties": {
  6911. "contracttype": {
  6912. "description": "合同类型 1-采购 -1-销售",
  6913. "type": "integer"
  6914. },
  6915. "createtime": {
  6916. "description": "创建时间",
  6917. "type": "string"
  6918. },
  6919. "enumdicname": {
  6920. "description": "现货商品单位名称",
  6921. "type": "string"
  6922. },
  6923. "logtype": {
  6924. "description": "记录类型 1-套保 2-现货合同",
  6925. "type": "integer"
  6926. },
  6927. "qty": {
  6928. "description": "数量",
  6929. "type": "number"
  6930. },
  6931. "recordname": {
  6932. "description": "类型名称",
  6933. "type": "string"
  6934. },
  6935. "relatedid": {
  6936. "description": "套保计划ID/现货合同ID",
  6937. "type": "string"
  6938. },
  6939. "relatedno": {
  6940. "description": "编号",
  6941. "type": "string"
  6942. },
  6943. "strtime": {
  6944. "description": "时间",
  6945. "type": "string"
  6946. },
  6947. "wrstandardcode": {
  6948. "description": "现货商品代码",
  6949. "type": "string"
  6950. },
  6951. "wrstandardname": {
  6952. "description": "现货商品名称",
  6953. "type": "string"
  6954. }
  6955. }
  6956. },
  6957. "ermcp.ExposureSpotRsp": {
  6958. "type": "object",
  6959. "properties": {
  6960. "areauserid": {
  6961. "description": "所属机构",
  6962. "type": "integer"
  6963. },
  6964. "decreaseqty": {
  6965. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  6966. "type": "number"
  6967. },
  6968. "increaseqty": {
  6969. "description": "增加数量=销售计划数量+采购已定价数量",
  6970. "type": "number"
  6971. },
  6972. "oritoalspotqty": {
  6973. "description": "昨日数量",
  6974. "type": "number"
  6975. },
  6976. "totalspotqty": {
  6977. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  6978. "type": "number"
  6979. },
  6980. "updatetime": {
  6981. "description": "更新时间",
  6982. "type": "string"
  6983. },
  6984. "wrstandardcode": {
  6985. "description": "现货品种代码",
  6986. "type": "string"
  6987. },
  6988. "wrstandardid": {
  6989. "description": "现货商品ID",
  6990. "type": "integer"
  6991. },
  6992. "wrstandardname": {
  6993. "description": "现货品种",
  6994. "type": "string"
  6995. }
  6996. }
  6997. },
  6998. "ermcp.HisExposureRsp": {
  6999. "type": "object",
  7000. "properties": {
  7001. "areauserid": {
  7002. "description": "所属机构",
  7003. "type": "integer"
  7004. },
  7005. "middlegoodscode": {
  7006. "description": "套保品种代码",
  7007. "type": "string"
  7008. },
  7009. "middlegoodsid": {
  7010. "description": "套保品种ID",
  7011. "type": "integer"
  7012. },
  7013. "middlegoodsname": {
  7014. "description": "套保品种名称",
  7015. "type": "string"
  7016. },
  7017. "needhedgeexposourE": {
  7018. "description": "应套保敞口",
  7019. "type": "number"
  7020. },
  7021. "needhedgeratio": {
  7022. "description": "应套保敞口比例",
  7023. "type": "number"
  7024. },
  7025. "reckondate": {
  7026. "description": "日照时期(yyyyMMdd)",
  7027. "type": "string"
  7028. },
  7029. "totalexposure": {
  7030. "description": "总敞口",
  7031. "type": "number"
  7032. },
  7033. "totalfutureqty": {
  7034. "description": "期货头寸总量",
  7035. "type": "number"
  7036. },
  7037. "totalhedgeratio": {
  7038. "description": "敞口比例",
  7039. "type": "number"
  7040. },
  7041. "totalneedhedgeqty": {
  7042. "description": "应套保总量",
  7043. "type": "number"
  7044. },
  7045. "totalspotqty": {
  7046. "description": "现货头寸总量",
  7047. "type": "number"
  7048. }
  7049. }
  7050. },
  7051. "ermcp.QryAvalidGPRsp": {
  7052. "type": "object",
  7053. "properties": {
  7054. "goodsgroupid": {
  7055. "description": "期货品种id",
  7056. "type": "integer"
  7057. },
  7058. "goodsgroupname": {
  7059. "description": "期货品种名称",
  7060. "type": "string"
  7061. },
  7062. "goodunitid": {
  7063. "description": "品种单位id",
  7064. "type": "integer"
  7065. },
  7066. "goodunitname": {
  7067. "description": "品种单位名称",
  7068. "type": "string"
  7069. },
  7070. "outergroupcode": {
  7071. "description": "期货品种代码",
  7072. "type": "string"
  7073. }
  7074. }
  7075. },
  7076. "ermcp.QryBusinessDjRsp": {
  7077. "type": "object",
  7078. "properties": {
  7079. "amount": {
  7080. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7081. "type": "number"
  7082. },
  7083. "applyid": {
  7084. "description": "申请人",
  7085. "type": "string"
  7086. },
  7087. "applyname": {
  7088. "description": "申请人名称",
  7089. "type": "string"
  7090. },
  7091. "applystatus": {
  7092. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7093. "type": "integer"
  7094. },
  7095. "applytime": {
  7096. "description": "申请时间",
  7097. "type": "string"
  7098. },
  7099. "auditname": {
  7100. "description": "审核人名称",
  7101. "type": "string"
  7102. },
  7103. "audittime": {
  7104. "description": "审核时间",
  7105. "type": "string"
  7106. },
  7107. "buyusername": {
  7108. "description": "采购方名称",
  7109. "type": "string"
  7110. },
  7111. "contractno": {
  7112. "description": "合同编号",
  7113. "type": "string"
  7114. },
  7115. "contractstatus": {
  7116. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7117. "type": "integer"
  7118. },
  7119. "contracttype": {
  7120. "description": "现货合同类型 - 1:采购 -1:销售",
  7121. "type": "integer"
  7122. },
  7123. "enumdicname": {
  7124. "description": "单位名称",
  7125. "type": "string"
  7126. },
  7127. "goodscode": {
  7128. "description": "点价合约",
  7129. "type": "string"
  7130. },
  7131. "goodsname": {
  7132. "description": "商品名称",
  7133. "type": "string"
  7134. },
  7135. "operateapplyid": {
  7136. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7137. "type": "string"
  7138. },
  7139. "operateapplytype": {
  7140. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7141. "type": "integer"
  7142. },
  7143. "pricedPrice": {
  7144. "description": "点价价格(非必填)",
  7145. "type": "number"
  7146. },
  7147. "pricedQty": {
  7148. "description": "点价数量(非必填)",
  7149. "type": "number"
  7150. },
  7151. "pricemove": {
  7152. "description": "升贴水",
  7153. "type": "number"
  7154. },
  7155. "pricetype": {
  7156. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7157. "type": "integer"
  7158. },
  7159. "relatedid": {
  7160. "description": "现货合同ID",
  7161. "type": "string"
  7162. },
  7163. "sellusername": {
  7164. "description": "销售方名字",
  7165. "type": "string"
  7166. },
  7167. "userid": {
  7168. "description": "用户ID",
  7169. "type": "integer"
  7170. }
  7171. }
  7172. },
  7173. "ermcp.QryBussinessFpRsp": {
  7174. "type": "object",
  7175. "properties": {
  7176. "applyid": {
  7177. "description": "申请人",
  7178. "type": "string"
  7179. },
  7180. "applyname": {
  7181. "description": "申请人名称",
  7182. "type": "string"
  7183. },
  7184. "applystatus": {
  7185. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7186. "type": "integer"
  7187. },
  7188. "applytime": {
  7189. "description": "申请时间",
  7190. "type": "string"
  7191. },
  7192. "auditname": {
  7193. "description": "审核人名称",
  7194. "type": "string"
  7195. },
  7196. "audittime": {
  7197. "description": "审核时间",
  7198. "type": "string"
  7199. },
  7200. "buyusername": {
  7201. "description": "采购方名称",
  7202. "type": "string"
  7203. },
  7204. "contractno": {
  7205. "description": "合同编号",
  7206. "type": "string"
  7207. },
  7208. "contractstatus": {
  7209. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7210. "type": "integer"
  7211. },
  7212. "contracttype": {
  7213. "description": "现货合同类型 - 1:采购 -1:销售",
  7214. "type": "integer"
  7215. },
  7216. "enumdicname": {
  7217. "description": "单位名称",
  7218. "type": "string"
  7219. },
  7220. "goodscode": {
  7221. "description": "点价合约",
  7222. "type": "string"
  7223. },
  7224. "goodsname": {
  7225. "description": "商品名称",
  7226. "type": "string"
  7227. },
  7228. "invoiceAmount": {
  7229. "description": "已开收票金额(销售为开票,采购为收票)",
  7230. "type": "number"
  7231. },
  7232. "operateapplyid": {
  7233. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7234. "type": "string"
  7235. },
  7236. "operateapplytype": {
  7237. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7238. "type": "integer"
  7239. },
  7240. "pricemove": {
  7241. "description": "升贴水",
  7242. "type": "number"
  7243. },
  7244. "pricetype": {
  7245. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7246. "type": "integer"
  7247. },
  7248. "relatedid": {
  7249. "description": "现货合同ID",
  7250. "type": "string"
  7251. },
  7252. "sellusername": {
  7253. "description": "销售方名字",
  7254. "type": "string"
  7255. },
  7256. "userid": {
  7257. "description": "用户ID",
  7258. "type": "integer"
  7259. }
  7260. }
  7261. },
  7262. "ermcp.QryBussinessJsExRsp": {
  7263. "type": "object",
  7264. "properties": {
  7265. "applyid": {
  7266. "description": "申请人",
  7267. "type": "string"
  7268. },
  7269. "applyname": {
  7270. "description": "申请人名称",
  7271. "type": "string"
  7272. },
  7273. "applystatus": {
  7274. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7275. "type": "integer"
  7276. },
  7277. "applytime": {
  7278. "description": "申请时间",
  7279. "type": "string"
  7280. },
  7281. "auditname": {
  7282. "description": "审核人名称",
  7283. "type": "string"
  7284. },
  7285. "audittime": {
  7286. "description": "审核时间",
  7287. "type": "string"
  7288. },
  7289. "buyusername": {
  7290. "description": "采购方名称",
  7291. "type": "string"
  7292. },
  7293. "contractno": {
  7294. "description": "合同编号",
  7295. "type": "string"
  7296. },
  7297. "contractstatus": {
  7298. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7299. "type": "integer"
  7300. },
  7301. "contracttype": {
  7302. "description": "现货合同类型 - 1:采购 -1:销售",
  7303. "type": "integer"
  7304. },
  7305. "enumdicname": {
  7306. "description": "单位名称",
  7307. "type": "string"
  7308. },
  7309. "goodscode": {
  7310. "description": "点价合约",
  7311. "type": "string"
  7312. },
  7313. "goodsname": {
  7314. "description": "商品名称",
  7315. "type": "string"
  7316. },
  7317. "operateapplyid": {
  7318. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7319. "type": "string"
  7320. },
  7321. "operateapplytype": {
  7322. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7323. "type": "integer"
  7324. },
  7325. "pricemove": {
  7326. "description": "升贴水",
  7327. "type": "number"
  7328. },
  7329. "pricetype": {
  7330. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7331. "type": "integer"
  7332. },
  7333. "reckontype": {
  7334. "description": "结算类型",
  7335. "type": "string"
  7336. },
  7337. "reckonvalue": {
  7338. "description": "值",
  7339. "type": "number"
  7340. },
  7341. "relatedid": {
  7342. "description": "现货合同ID",
  7343. "type": "string"
  7344. },
  7345. "sellusername": {
  7346. "description": "销售方名字",
  7347. "type": "string"
  7348. },
  7349. "userid": {
  7350. "description": "用户ID",
  7351. "type": "integer"
  7352. }
  7353. }
  7354. },
  7355. "ermcp.QryBussinessJsRsp": {
  7356. "type": "object",
  7357. "properties": {
  7358. "addmargin": {
  7359. "description": "追加保证金(非必填)",
  7360. "type": "number"
  7361. },
  7362. "applyid": {
  7363. "description": "申请人",
  7364. "type": "string"
  7365. },
  7366. "applyname": {
  7367. "description": "申请人名称",
  7368. "type": "string"
  7369. },
  7370. "applystatus": {
  7371. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7372. "type": "integer"
  7373. },
  7374. "applytime": {
  7375. "description": "申请时间",
  7376. "type": "string"
  7377. },
  7378. "auditname": {
  7379. "description": "审核人名称",
  7380. "type": "string"
  7381. },
  7382. "audittime": {
  7383. "description": "审核时间",
  7384. "type": "string"
  7385. },
  7386. "buyusername": {
  7387. "description": "采购方名称",
  7388. "type": "string"
  7389. },
  7390. "contractno": {
  7391. "description": "合同编号",
  7392. "type": "string"
  7393. },
  7394. "contractstatus": {
  7395. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7396. "type": "integer"
  7397. },
  7398. "contracttype": {
  7399. "description": "现货合同类型 - 1:采购 -1:销售",
  7400. "type": "integer"
  7401. },
  7402. "decmargin": {
  7403. "description": "减少保证金(非必填)",
  7404. "type": "number"
  7405. },
  7406. "enumdicname": {
  7407. "description": "单位名称",
  7408. "type": "string"
  7409. },
  7410. "goodscode": {
  7411. "description": "点价合约",
  7412. "type": "string"
  7413. },
  7414. "goodsname": {
  7415. "description": "商品名称",
  7416. "type": "string"
  7417. },
  7418. "operateapplyid": {
  7419. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7420. "type": "string"
  7421. },
  7422. "operateapplytype": {
  7423. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7424. "type": "integer"
  7425. },
  7426. "pricemove": {
  7427. "description": "升贴水",
  7428. "type": "number"
  7429. },
  7430. "pricetype": {
  7431. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7432. "type": "integer"
  7433. },
  7434. "reckonadjustamount": {
  7435. "description": "结算调整金额(非必填)",
  7436. "type": "number"
  7437. },
  7438. "reckonosamount": {
  7439. "description": "结算溢短金额(非必填)",
  7440. "type": "number"
  7441. },
  7442. "reckonotheramount": {
  7443. "description": "结算其他费用(非必填)",
  7444. "type": "number"
  7445. },
  7446. "reckonrealqty": {
  7447. "description": "结算实际数量(非必填)",
  7448. "type": "number"
  7449. },
  7450. "relatedid": {
  7451. "description": "现货合同ID",
  7452. "type": "string"
  7453. },
  7454. "sellusername": {
  7455. "description": "销售方名字",
  7456. "type": "string"
  7457. },
  7458. "userid": {
  7459. "description": "用户ID",
  7460. "type": "integer"
  7461. }
  7462. }
  7463. },
  7464. "ermcp.QryBussinessKxRsp": {
  7465. "type": "object",
  7466. "properties": {
  7467. "applyid": {
  7468. "description": "申请人",
  7469. "type": "string"
  7470. },
  7471. "applyname": {
  7472. "description": "申请人名称",
  7473. "type": "string"
  7474. },
  7475. "applystatus": {
  7476. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7477. "type": "integer"
  7478. },
  7479. "applytime": {
  7480. "description": "申请时间",
  7481. "type": "string"
  7482. },
  7483. "auditname": {
  7484. "description": "审核人名称",
  7485. "type": "string"
  7486. },
  7487. "audittime": {
  7488. "description": "审核时间",
  7489. "type": "string"
  7490. },
  7491. "buyusername": {
  7492. "description": "采购方名称",
  7493. "type": "string"
  7494. },
  7495. "contractno": {
  7496. "description": "合同编号",
  7497. "type": "string"
  7498. },
  7499. "contractstatus": {
  7500. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7501. "type": "integer"
  7502. },
  7503. "contracttype": {
  7504. "description": "现货合同类型 - 1:采购 -1:销售",
  7505. "type": "integer"
  7506. },
  7507. "deductamount": {
  7508. "description": "退款(非必填)",
  7509. "type": "number"
  7510. },
  7511. "enumdicname": {
  7512. "description": "单位名称",
  7513. "type": "string"
  7514. },
  7515. "goodscode": {
  7516. "description": "点价合约",
  7517. "type": "string"
  7518. },
  7519. "goodsname": {
  7520. "description": "商品名称",
  7521. "type": "string"
  7522. },
  7523. "kxtype": {
  7524. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7525. "type": "integer"
  7526. },
  7527. "operateapplyid": {
  7528. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7529. "type": "string"
  7530. },
  7531. "operateapplytype": {
  7532. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7533. "type": "integer"
  7534. },
  7535. "payamount": {
  7536. "description": "收付款(非必填)",
  7537. "type": "number"
  7538. },
  7539. "pricemove": {
  7540. "description": "升贴水",
  7541. "type": "number"
  7542. },
  7543. "pricetype": {
  7544. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7545. "type": "integer"
  7546. },
  7547. "relatedid": {
  7548. "description": "现货合同ID",
  7549. "type": "string"
  7550. },
  7551. "sellusername": {
  7552. "description": "销售方名字",
  7553. "type": "string"
  7554. },
  7555. "userid": {
  7556. "description": "用户ID",
  7557. "type": "integer"
  7558. }
  7559. }
  7560. },
  7561. "ermcp.QryErmcpRsp": {
  7562. "type": "object",
  7563. "properties": {
  7564. "accountname": {
  7565. "description": "账户名称",
  7566. "type": "string"
  7567. },
  7568. "attachment": {
  7569. "description": "附件",
  7570. "type": "string"
  7571. },
  7572. "audittime": {
  7573. "description": "审核时间",
  7574. "type": "string"
  7575. },
  7576. "contracctstatus": {
  7577. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7578. "type": "integer"
  7579. },
  7580. "contractmargin": {
  7581. "description": "合同保证金",
  7582. "type": "number"
  7583. },
  7584. "contractno": {
  7585. "description": "合同编号",
  7586. "type": "string"
  7587. },
  7588. "contracttype": {
  7589. "description": "合同类型 1-采购, -1-销售",
  7590. "type": "integer"
  7591. },
  7592. "convertfactor": {
  7593. "description": "标仓系数",
  7594. "type": "number"
  7595. },
  7596. "createtime": {
  7597. "description": "创建时间",
  7598. "type": "string"
  7599. },
  7600. "daikaiamount": {
  7601. "description": "待开票额",
  7602. "type": "number"
  7603. },
  7604. "deliveryenddate": {
  7605. "description": "交割结束日",
  7606. "type": "string"
  7607. },
  7608. "deliverygoodscode": {
  7609. "description": "现货商品代码",
  7610. "type": "string"
  7611. },
  7612. "deliverygoodsid": {
  7613. "description": "现货商品ID",
  7614. "type": "integer"
  7615. },
  7616. "deliverygoodsname": {
  7617. "description": "现货商品名称",
  7618. "type": "string"
  7619. },
  7620. "deliverystartdate": {
  7621. "description": "交割开始日",
  7622. "type": "string"
  7623. },
  7624. "enddate": {
  7625. "description": "点价结束日",
  7626. "type": "string"
  7627. },
  7628. "enumdicname": {
  7629. "description": "单位名称",
  7630. "type": "string"
  7631. },
  7632. "goodscode": {
  7633. "description": "点价商品代码",
  7634. "type": "string"
  7635. },
  7636. "goodsid": {
  7637. "description": "点价商品ID",
  7638. "type": "integer"
  7639. },
  7640. "invoiceamount": {
  7641. "description": "已开票额",
  7642. "type": "number"
  7643. },
  7644. "loanamount": {
  7645. "description": "贷款总额=已定价额+调整金额",
  7646. "type": "number"
  7647. },
  7648. "margin": {
  7649. "description": "保证金",
  7650. "type": "number"
  7651. },
  7652. "payamount": {
  7653. "description": "已收付额(收款或付款)",
  7654. "type": "number"
  7655. },
  7656. "price": {
  7657. "description": "价格",
  7658. "type": "number"
  7659. },
  7660. "pricedamount": {
  7661. "description": "已定价额",
  7662. "type": "number"
  7663. },
  7664. "pricedavg": {
  7665. "description": "已点均价",
  7666. "type": "number"
  7667. },
  7668. "pricedqty": {
  7669. "description": "已定价量",
  7670. "type": "number"
  7671. },
  7672. "pricemove": {
  7673. "description": "升贴水",
  7674. "type": "number"
  7675. },
  7676. "pricetype": {
  7677. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7678. "type": "integer"
  7679. },
  7680. "producttype": {
  7681. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7682. "type": "integer"
  7683. },
  7684. "qty": {
  7685. "description": "合同量",
  7686. "type": "number"
  7687. },
  7688. "reckonadjustamount": {
  7689. "description": "调整金额",
  7690. "type": "number"
  7691. },
  7692. "reckonedamount": {
  7693. "description": "已收付额(已确定额)",
  7694. "type": "number"
  7695. },
  7696. "reckonotheramount": {
  7697. "description": "其它费用",
  7698. "type": "number"
  7699. },
  7700. "reckonrealqty": {
  7701. "description": "已确定量",
  7702. "type": "number"
  7703. },
  7704. "remark": {
  7705. "description": "备注",
  7706. "type": "string"
  7707. },
  7708. "spotcontractid": {
  7709. "description": "合同ID",
  7710. "type": "string"
  7711. },
  7712. "spotgoodsdesc": {
  7713. "description": "商品型号(商品规格)",
  7714. "type": "string"
  7715. },
  7716. "startdate": {
  7717. "description": "点价开始日",
  7718. "type": "string"
  7719. },
  7720. "totalamount": {
  7721. "description": "合计总额",
  7722. "type": "number"
  7723. },
  7724. "unpayamount": {
  7725. "description": "待支收额(支付或收款)",
  7726. "type": "number"
  7727. },
  7728. "unpricedqty": {
  7729. "description": "未定价量",
  7730. "type": "number"
  7731. },
  7732. "unsureqty": {
  7733. "description": "未确定量",
  7734. "type": "number"
  7735. },
  7736. "userid": {
  7737. "description": "用户ID",
  7738. "type": "integer"
  7739. }
  7740. }
  7741. },
  7742. "ermcp.QryGGCovertCfgRsp": {
  7743. "type": "object",
  7744. "properties": {
  7745. "convertratio": {
  7746. "description": "折算系数",
  7747. "type": "number"
  7748. },
  7749. "destgoodsgroupid": {
  7750. "description": "目标品种ID",
  7751. "type": "integer"
  7752. },
  7753. "dstcode": {
  7754. "description": "目录品种代码",
  7755. "type": "string"
  7756. },
  7757. "dstname": {
  7758. "description": "目标品种名称",
  7759. "type": "string"
  7760. },
  7761. "dstunitid": {
  7762. "description": "目标品种单位ID",
  7763. "type": "integer"
  7764. },
  7765. "dstunitidname": {
  7766. "description": "目标品种单位名称",
  7767. "type": "string"
  7768. },
  7769. "srccode": {
  7770. "description": "源品种代码",
  7771. "type": "string"
  7772. },
  7773. "srcgoodsgroupid": {
  7774. "description": "源品种ID",
  7775. "type": "integer"
  7776. },
  7777. "srcname": {
  7778. "description": "源品种名称",
  7779. "type": "string"
  7780. },
  7781. "srcunitid": {
  7782. "description": "源品种单位ID",
  7783. "type": "integer"
  7784. },
  7785. "srcunitidname": {
  7786. "description": "源品种单位名称",
  7787. "type": "string"
  7788. }
  7789. }
  7790. },
  7791. "ermcp.QryHedgePlanRsp": {
  7792. "type": "object",
  7793. "properties": {
  7794. "areauserid": {
  7795. "description": "用户ID",
  7796. "type": "integer"
  7797. },
  7798. "contracttype": {
  7799. "description": "计划类型 - 1:采购 -1:销售",
  7800. "type": "integer"
  7801. },
  7802. "convertfactor": {
  7803. "description": "标仓系数",
  7804. "type": "number"
  7805. },
  7806. "createtime": {
  7807. "description": "创建时间",
  7808. "type": "string"
  7809. },
  7810. "deliverygoodsid": {
  7811. "description": "现货品种ID",
  7812. "type": "integer"
  7813. },
  7814. "deliverygoodsname": {
  7815. "description": "现货品种名称",
  7816. "type": "string"
  7817. },
  7818. "hedgeplanid": {
  7819. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7820. "type": "string"
  7821. },
  7822. "hedgeplanno": {
  7823. "description": "套保计划编号(名称)",
  7824. "type": "string"
  7825. },
  7826. "hedgeplanstatus": {
  7827. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7828. "type": "integer"
  7829. },
  7830. "planqty": {
  7831. "description": "计划数量",
  7832. "type": "number"
  7833. },
  7834. "plantime": {
  7835. "description": "计划时间",
  7836. "type": "string"
  7837. },
  7838. "producttype": {
  7839. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7840. "type": "integer"
  7841. },
  7842. "remark": {
  7843. "description": "备注",
  7844. "type": "string"
  7845. },
  7846. "spotgoodsdesc": {
  7847. "description": "商品型号",
  7848. "type": "string"
  7849. },
  7850. "wrstandardid": {
  7851. "description": "现货商品ID",
  7852. "type": "integer"
  7853. },
  7854. "wrstandardname": {
  7855. "description": "现货商品名称",
  7856. "type": "string"
  7857. }
  7858. }
  7859. },
  7860. "ermcp.QryMGChangeLogRsp": {
  7861. "type": "object",
  7862. "properties": {
  7863. "aftervalue": {
  7864. "description": "变更后",
  7865. "type": "number"
  7866. },
  7867. "applyid": {
  7868. "description": "操作人",
  7869. "type": "integer"
  7870. },
  7871. "applyname": {
  7872. "description": "操作人名称",
  7873. "type": "string"
  7874. },
  7875. "applysrc": {
  7876. "description": "操作来源 - 1:管理端 2:终端",
  7877. "type": "integer"
  7878. },
  7879. "beforevalue": {
  7880. "description": "变更前",
  7881. "type": "number"
  7882. },
  7883. "changelogtype": {
  7884. "description": "变更流水类型 - 1:套保比率变更",
  7885. "type": "integer"
  7886. },
  7887. "handlestatus": {
  7888. "description": "处理状态",
  7889. "type": "integer"
  7890. },
  7891. "logdatetime": {
  7892. "description": "流水日期",
  7893. "type": "string"
  7894. },
  7895. "logid": {
  7896. "description": "流水ID",
  7897. "type": "integer"
  7898. },
  7899. "logremark": {
  7900. "description": "流水备注",
  7901. "type": "string"
  7902. },
  7903. "middlegoodsid": {
  7904. "description": "套保品种ID",
  7905. "type": "integer"
  7906. },
  7907. "tradedate": {
  7908. "description": "交易日(yyyyMMdd)",
  7909. "type": "string"
  7910. },
  7911. "updatetime": {
  7912. "description": "更新时间",
  7913. "type": "string"
  7914. }
  7915. }
  7916. },
  7917. "ermcp.QryMiddleGoodsDetailRsp": {
  7918. "type": "object",
  7919. "properties": {
  7920. "cvList": {
  7921. "description": "期货品种折算列表",
  7922. "type": "array",
  7923. "items": {
  7924. "$ref": "#/definitions/models.GoodsGroupConvert"
  7925. }
  7926. },
  7927. "mg": {
  7928. "description": "套保品种基本信息",
  7929. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  7930. }
  7931. }
  7932. },
  7933. "ermcp.QryMiddleGoodsRsp": {
  7934. "type": "object",
  7935. "properties": {
  7936. "areauserid": {
  7937. "description": "机构用户ID",
  7938. "type": "integer"
  7939. },
  7940. "enumdicname": {
  7941. "description": "单位名称",
  7942. "type": "string"
  7943. },
  7944. "evaluateratio": {
  7945. "description": "估价系数",
  7946. "type": "number"
  7947. },
  7948. "goodsgroupid": {
  7949. "description": "关联期货品种ID",
  7950. "type": "integer"
  7951. },
  7952. "isvalid": {
  7953. "description": "状态 0-无效(停用) 1-有效(正常)",
  7954. "type": "integer"
  7955. },
  7956. "middlegoodscode": {
  7957. "description": "套保品种代码",
  7958. "type": "string"
  7959. },
  7960. "middlegoodsid": {
  7961. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  7962. "type": "integer"
  7963. },
  7964. "middlegoodsname": {
  7965. "description": "套保品种名称",
  7966. "type": "string"
  7967. },
  7968. "modifytime": {
  7969. "description": "修改时间",
  7970. "type": "string"
  7971. },
  7972. "needhedgeratio": {
  7973. "description": "套保比率",
  7974. "type": "number"
  7975. },
  7976. "qtydecimalplace": {
  7977. "description": "数量小数位",
  7978. "type": "integer"
  7979. },
  7980. "relatedgoodsid": {
  7981. "description": "关联交易商品ID",
  7982. "type": "integer"
  7983. },
  7984. "relatedgoodstype": {
  7985. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  7986. "type": "integer"
  7987. }
  7988. }
  7989. },
  7990. "ermcp.QryOPLogRsp": {
  7991. "type": "object",
  7992. "properties": {
  7993. "aftervalue": {
  7994. "description": "变更后",
  7995. "type": "number"
  7996. },
  7997. "applyid": {
  7998. "description": "操作人ID",
  7999. "type": "string"
  8000. },
  8001. "applyname": {
  8002. "description": "操作人名称",
  8003. "type": "string"
  8004. },
  8005. "beforevalue": {
  8006. "description": "变更前",
  8007. "type": "number"
  8008. },
  8009. "biztype": {
  8010. "description": "业务类型 - 1:套保计划 2:现货合同",
  8011. "type": "integer"
  8012. },
  8013. "contracttype": {
  8014. "description": "现货合同类型 - 1:采购 -1:销售",
  8015. "type": "integer"
  8016. },
  8017. "logvalue": {
  8018. "description": "数值",
  8019. "type": "number"
  8020. },
  8021. "operatelogtype": {
  8022. "description": "操作流水类型",
  8023. "type": "integer"
  8024. },
  8025. "operatelogtypedesc": {
  8026. "description": "操作流水类型名称",
  8027. "type": "string"
  8028. },
  8029. "relatedid": {
  8030. "description": "现货合同ID\\套保计划",
  8031. "type": "string"
  8032. },
  8033. "updatetime": {
  8034. "description": "更新时间",
  8035. "type": "string"
  8036. }
  8037. }
  8038. },
  8039. "ermcp.QryReportFinanceDayRsp": {
  8040. "type": "object",
  8041. "properties": {
  8042. "areauserid": {
  8043. "description": "所属机构",
  8044. "type": "integer"
  8045. },
  8046. "collectinvoiceamount": {
  8047. "description": "今日开票金额",
  8048. "type": "number"
  8049. },
  8050. "collectinvoicecount": {
  8051. "description": "今日开票笔数",
  8052. "type": "integer"
  8053. },
  8054. "collectmoneyamount": {
  8055. "description": "今日收款金额",
  8056. "type": "number"
  8057. },
  8058. "collectmoneycount": {
  8059. "description": "今日收款笔数",
  8060. "type": "integer"
  8061. },
  8062. "payinvoiceamount": {
  8063. "description": "今日收票金额",
  8064. "type": "number"
  8065. },
  8066. "payinvoicecount": {
  8067. "description": "今日收票笔数",
  8068. "type": "integer"
  8069. },
  8070. "paymoneyamount": {
  8071. "description": "今日付款金额",
  8072. "type": "number"
  8073. },
  8074. "paymoneycount": {
  8075. "description": "今日付款笔数",
  8076. "type": "integer"
  8077. },
  8078. "reckondate": {
  8079. "description": "日照时期(yyyyMMdd)",
  8080. "type": "string"
  8081. },
  8082. "updatetime": {
  8083. "description": "更新时间",
  8084. "type": "string"
  8085. }
  8086. }
  8087. },
  8088. "ermcp.QryReportFinanceKxRsp": {
  8089. "type": "object",
  8090. "properties": {
  8091. "applyid": {
  8092. "description": "操作人",
  8093. "type": "integer"
  8094. },
  8095. "applyname": {
  8096. "description": "操作人名称",
  8097. "type": "string"
  8098. },
  8099. "biztype": {
  8100. "description": "业务类型 - 1:套保计划 2:现货合同",
  8101. "type": "integer"
  8102. },
  8103. "contracttype": {
  8104. "description": "现货合同类型 - 1:采购 -1:销售",
  8105. "type": "integer"
  8106. },
  8107. "enumdicName": {
  8108. "description": "单位名称",
  8109. "type": "string"
  8110. },
  8111. "logdatetime": {
  8112. "description": "流水日期(时间)",
  8113. "type": "string"
  8114. },
  8115. "logid": {
  8116. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8117. "type": "string"
  8118. },
  8119. "logtypename": {
  8120. "description": "合同类型(名称)",
  8121. "type": "string"
  8122. },
  8123. "logvalue": {
  8124. "description": "数值",
  8125. "type": "string"
  8126. },
  8127. "operatelogtype": {
  8128. "description": "操作流水类型 -",
  8129. "type": "integer"
  8130. },
  8131. "optypename": {
  8132. "description": "流水类型名称",
  8133. "type": "string"
  8134. },
  8135. "relatedid": {
  8136. "description": "现货合同ID\\套保计划",
  8137. "type": "string"
  8138. },
  8139. "relatedno": {
  8140. "description": "合同编号",
  8141. "type": "string"
  8142. },
  8143. "tradedate": {
  8144. "description": "交易日(yyyyMMdd)",
  8145. "type": "string"
  8146. },
  8147. "userid": {
  8148. "description": "机构ID",
  8149. "type": "integer"
  8150. },
  8151. "wrstandardcode": {
  8152. "description": "现货商品代码",
  8153. "type": "string"
  8154. },
  8155. "wrstandardid": {
  8156. "description": "现货商品ID",
  8157. "type": "integer"
  8158. },
  8159. "wrstandardname": {
  8160. "description": "现货商品名称",
  8161. "type": "string"
  8162. }
  8163. }
  8164. },
  8165. "ermcp.QryReportFinanceMonRsp": {
  8166. "type": "object",
  8167. "properties": {
  8168. "areauserid": {
  8169. "description": "所属机构【原值】",
  8170. "type": "integer"
  8171. },
  8172. "collectinvoiceamount": {
  8173. "description": "今日开票金额【汇总】",
  8174. "type": "number"
  8175. },
  8176. "collectinvoicecount": {
  8177. "description": "今日开票笔数【汇总】",
  8178. "type": "integer"
  8179. },
  8180. "collectmoneyamount": {
  8181. "description": "今日收款金额【汇总】",
  8182. "type": "number"
  8183. },
  8184. "collectmoneycount": {
  8185. "description": "今日收款笔数 【汇总】",
  8186. "type": "integer"
  8187. },
  8188. "cycletime": {
  8189. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8190. "type": "string"
  8191. },
  8192. "cycletype": {
  8193. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8194. "type": "integer"
  8195. },
  8196. "dayFr": {
  8197. "description": "日报表明细",
  8198. "type": "array",
  8199. "items": {
  8200. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8201. }
  8202. },
  8203. "payinvoiceamount": {
  8204. "description": "今日收票金额【汇总】",
  8205. "type": "number"
  8206. },
  8207. "payinvoicecount": {
  8208. "description": "今日收票笔数【汇总】",
  8209. "type": "integer"
  8210. },
  8211. "paymoneyamount": {
  8212. "description": "今日付款金额【汇总】",
  8213. "type": "number"
  8214. },
  8215. "paymoneycount": {
  8216. "description": "今日付款笔数【汇总】",
  8217. "type": "integer"
  8218. },
  8219. "updatetime": {
  8220. "description": "更新时间",
  8221. "type": "string"
  8222. }
  8223. }
  8224. },
  8225. "ermcp.QrySpotContractRsp": {
  8226. "type": "object",
  8227. "properties": {
  8228. "amount": {
  8229. "description": "金额 [1:一口价、3:暂定价]",
  8230. "type": "number"
  8231. },
  8232. "attachment": {
  8233. "description": "附件",
  8234. "type": "string"
  8235. },
  8236. "auditremark": {
  8237. "description": "审核意见",
  8238. "type": "string"
  8239. },
  8240. "audittime": {
  8241. "description": "审核时间",
  8242. "type": "string"
  8243. },
  8244. "brandname": {
  8245. "description": "品牌名称",
  8246. "type": "string"
  8247. },
  8248. "buyuserid": {
  8249. "description": "采购方ID",
  8250. "type": "integer"
  8251. },
  8252. "buyusername": {
  8253. "description": "采购方名称",
  8254. "type": "string"
  8255. },
  8256. "contracctstatus": {
  8257. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8258. "type": "integer"
  8259. },
  8260. "contractmargin": {
  8261. "description": "合同保证金",
  8262. "type": "number"
  8263. },
  8264. "contractno": {
  8265. "description": "现货合同编号",
  8266. "type": "string"
  8267. },
  8268. "contracttype": {
  8269. "description": "现货合同类型 - 1:采购 -1:销售",
  8270. "type": "integer"
  8271. },
  8272. "convertfactor": {
  8273. "description": "标仓系数",
  8274. "type": "number"
  8275. },
  8276. "createtime": {
  8277. "description": "创建时间",
  8278. "type": "string"
  8279. },
  8280. "deliveryenddate": {
  8281. "description": "交收期(结束)",
  8282. "type": "string"
  8283. },
  8284. "deliverygoodscode": {
  8285. "description": "现货品种代码",
  8286. "type": "string"
  8287. },
  8288. "deliverygoodsid": {
  8289. "description": "现货品种ID",
  8290. "type": "integer"
  8291. },
  8292. "deliverygoodsname": {
  8293. "description": "现货品种名称",
  8294. "type": "string"
  8295. },
  8296. "deliverystartdate": {
  8297. "description": "交收期(开始)",
  8298. "type": "string"
  8299. },
  8300. "enddate": {
  8301. "description": "点价结束日期 [2:点价 3:暂定价]",
  8302. "type": "string"
  8303. },
  8304. "enumdicname": {
  8305. "description": "单位名称",
  8306. "type": "string"
  8307. },
  8308. "goodscode": {
  8309. "description": "点价合约代码",
  8310. "type": "string"
  8311. },
  8312. "goodsid": {
  8313. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  8314. "type": "integer"
  8315. },
  8316. "margin": {
  8317. "description": "当前保证金",
  8318. "type": "number"
  8319. },
  8320. "modelname": {
  8321. "description": "型号名称",
  8322. "type": "string"
  8323. },
  8324. "price": {
  8325. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  8326. "type": "number"
  8327. },
  8328. "pricemove": {
  8329. "description": "升贴水 [2:点价 3:暂定价]",
  8330. "type": "number"
  8331. },
  8332. "pricetype": {
  8333. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8334. "type": "integer"
  8335. },
  8336. "producttype": {
  8337. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8338. "type": "integer"
  8339. },
  8340. "qty": {
  8341. "description": "数量",
  8342. "type": "number"
  8343. },
  8344. "remark": {
  8345. "description": "备注",
  8346. "type": "string"
  8347. },
  8348. "selluserid": {
  8349. "description": "销售方ID",
  8350. "type": "integer"
  8351. },
  8352. "sellusername": {
  8353. "description": "销售方名称",
  8354. "type": "string"
  8355. },
  8356. "spotcontractid": {
  8357. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  8358. "type": "string"
  8359. },
  8360. "spotgoodsbrandid": {
  8361. "description": "现货品牌ID",
  8362. "type": "integer"
  8363. },
  8364. "spotgoodsdesc": {
  8365. "description": "商品型号",
  8366. "type": "string"
  8367. },
  8368. "spotgoodsmodelid": {
  8369. "description": "现货型号ID",
  8370. "type": "integer"
  8371. },
  8372. "startdate": {
  8373. "description": "点价开始日期 [2:点价 3:暂定价]",
  8374. "type": "string"
  8375. },
  8376. "userid": {
  8377. "description": "机构ID",
  8378. "type": "integer"
  8379. },
  8380. "wrstandardid": {
  8381. "description": "现货商品ID",
  8382. "type": "integer"
  8383. }
  8384. }
  8385. },
  8386. "ermcp.QryUserInfoRsp": {
  8387. "type": "object",
  8388. "properties": {
  8389. "address": {
  8390. "description": "通讯地址",
  8391. "type": "string"
  8392. },
  8393. "attachment1": {
  8394. "description": "附件1",
  8395. "type": "string"
  8396. },
  8397. "cardfrontphotourl": {
  8398. "description": "证件正面图片地址",
  8399. "type": "string"
  8400. },
  8401. "cardnum": {
  8402. "description": "证件号码",
  8403. "type": "string"
  8404. },
  8405. "cardtype": {
  8406. "description": "证件类型",
  8407. "type": "integer"
  8408. },
  8409. "cardtypename": {
  8410. "description": "证件类型名称",
  8411. "type": "string"
  8412. },
  8413. "cityid": {
  8414. "description": "市",
  8415. "type": "integer"
  8416. },
  8417. "countryid": {
  8418. "description": "国家",
  8419. "type": "integer"
  8420. },
  8421. "createtime": {
  8422. "description": "创建时间",
  8423. "type": "string"
  8424. },
  8425. "customername": {
  8426. "description": "企业名称",
  8427. "type": "string"
  8428. },
  8429. "memberuserid": {
  8430. "description": "所属机构ID",
  8431. "type": "integer"
  8432. },
  8433. "mobile": {
  8434. "description": "手机号码",
  8435. "type": "string"
  8436. },
  8437. "provinceid": {
  8438. "description": "省",
  8439. "type": "integer"
  8440. },
  8441. "remark": {
  8442. "description": "备注",
  8443. "type": "string"
  8444. },
  8445. "status": {
  8446. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8447. "type": "integer"
  8448. },
  8449. "statusdesc": {
  8450. "description": "账户状态中文描述",
  8451. "type": "string"
  8452. },
  8453. "telphone": {
  8454. "description": "联系电话",
  8455. "type": "string"
  8456. },
  8457. "userid": {
  8458. "description": "用户ID",
  8459. "type": "integer"
  8460. },
  8461. "userinfotype": {
  8462. "description": "客户类型",
  8463. "type": "string"
  8464. }
  8465. }
  8466. },
  8467. "ermcp.QryWrStandardDetailRsp": {
  8468. "type": "object",
  8469. "properties": {
  8470. "gbList": {
  8471. "description": "品牌列表",
  8472. "type": "array",
  8473. "items": {
  8474. "$ref": "#/definitions/models.GoodsBrand"
  8475. }
  8476. },
  8477. "gtList": {
  8478. "description": "型号列表",
  8479. "type": "array",
  8480. "items": {
  8481. "$ref": "#/definitions/models.GoodsTypeModel"
  8482. }
  8483. },
  8484. "wrd": {
  8485. "description": "基本信息",
  8486. "$ref": "#/definitions/models.ErmcpWrstandard"
  8487. },
  8488. "wrsList": {
  8489. "description": "套保信息列表",
  8490. "type": "array",
  8491. "items": {
  8492. "$ref": "#/definitions/models.WRSConverTDetail"
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "ermcp.QryWrStandardRsp": {
  8498. "type": "object",
  8499. "properties": {
  8500. "areauserid": {
  8501. "description": "所属机构",
  8502. "type": "integer"
  8503. },
  8504. "createtime": {
  8505. "description": "创建时间",
  8506. "type": "string"
  8507. },
  8508. "creatorid": {
  8509. "description": "创建人",
  8510. "type": "integer"
  8511. },
  8512. "deliverygoodsid": {
  8513. "description": "品种ID",
  8514. "type": "integer"
  8515. },
  8516. "enumdicname": {
  8517. "description": "单位名称",
  8518. "type": "string"
  8519. },
  8520. "isvalid": {
  8521. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  8522. "type": "integer"
  8523. },
  8524. "minivalue": {
  8525. "description": "最小变动值",
  8526. "type": "integer"
  8527. },
  8528. "minivaluedp": {
  8529. "description": "最小变动值小数位",
  8530. "type": "integer"
  8531. },
  8532. "realminivalue": {
  8533. "description": "实际最小变动值",
  8534. "type": "integer"
  8535. },
  8536. "realminivaluedp": {
  8537. "description": "实际最小变动值小数位",
  8538. "type": "integer"
  8539. },
  8540. "remark": {
  8541. "description": "备注",
  8542. "type": "string"
  8543. },
  8544. "unitid": {
  8545. "description": "单位ID",
  8546. "type": "integer"
  8547. },
  8548. "updatetime": {
  8549. "description": "更新时间",
  8550. "type": "string"
  8551. },
  8552. "wrstandardcode": {
  8553. "description": "现货商品代码",
  8554. "type": "string"
  8555. },
  8556. "wrstandardid": {
  8557. "description": "现货商品ID(SEQ_WRSTANDARD)",
  8558. "type": "integer"
  8559. },
  8560. "wrstandardname": {
  8561. "description": "现货商品名称",
  8562. "type": "string"
  8563. }
  8564. }
  8565. },
  8566. "ermcp.RealtimeExposurePositionRsp": {
  8567. "type": "object",
  8568. "properties": {
  8569. "agreeunit": {
  8570. "description": "合约单位",
  8571. "type": "string"
  8572. },
  8573. "areauserid": {
  8574. "description": "所属机构id",
  8575. "type": "integer"
  8576. },
  8577. "convertratio": {
  8578. "description": "期货品种系数(折算系数)",
  8579. "type": "number"
  8580. },
  8581. "curqty": {
  8582. "description": "当前持仓",
  8583. "type": "integer"
  8584. },
  8585. "diffhedgeqty": {
  8586. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  8587. "type": "number"
  8588. },
  8589. "diffqty": {
  8590. "description": "持仓变动量=当前持仓-昨日持仓",
  8591. "type": "integer"
  8592. },
  8593. "goodscode": {
  8594. "description": "商品代码",
  8595. "type": "string"
  8596. },
  8597. "goodsid": {
  8598. "description": "商品id",
  8599. "type": "integer"
  8600. },
  8601. "goodsname": {
  8602. "description": "商品名称",
  8603. "type": "string"
  8604. },
  8605. "middlegoodsid": {
  8606. "description": "套保商品id",
  8607. "type": "integer"
  8608. },
  8609. "ydqty": {
  8610. "description": "昨日持仓",
  8611. "type": "integer"
  8612. }
  8613. }
  8614. },
  8615. "ermcp.RealtimeExposureRsp": {
  8616. "type": "object",
  8617. "properties": {
  8618. "areaUserID": {
  8619. "description": "所属机构",
  8620. "type": "integer"
  8621. },
  8622. "buyFutureQty": {
  8623. "description": "买入期货数量",
  8624. "type": "number"
  8625. },
  8626. "buyPlanQty": {
  8627. "description": "采购计划数量",
  8628. "type": "number"
  8629. },
  8630. "buyPricedQty": {
  8631. "description": "采购合同已定价数量",
  8632. "type": "number"
  8633. },
  8634. "diffFutuQty": {
  8635. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8636. "type": "number"
  8637. },
  8638. "diffSpotQty": {
  8639. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8640. "type": "number"
  8641. },
  8642. "middleGoodsCode": {
  8643. "description": "套保品种代码",
  8644. "type": "string"
  8645. },
  8646. "middleGoodsHedgeRatio": {
  8647. "description": "应套保比例",
  8648. "type": "number"
  8649. },
  8650. "middleGoodsID": {
  8651. "description": "套保品种",
  8652. "type": "integer"
  8653. },
  8654. "middleGoodsName": {
  8655. "description": "套保品种名称",
  8656. "type": "string"
  8657. },
  8658. "needHedgeExposoure": {
  8659. "description": "应套保敞口",
  8660. "type": "number"
  8661. },
  8662. "needHedgeRatio": {
  8663. "description": "应套保敞口比例",
  8664. "type": "number"
  8665. },
  8666. "oriBuyFutureQty": {
  8667. "description": "期初买入期货数量",
  8668. "type": "number"
  8669. },
  8670. "oriBuyPlanQty": {
  8671. "description": "期初采购计划数量",
  8672. "type": "number"
  8673. },
  8674. "oriBuyPricedQty": {
  8675. "description": "期初采购合同已定价数量",
  8676. "type": "number"
  8677. },
  8678. "oriSellFutureQty": {
  8679. "description": "期初卖出期货数量",
  8680. "type": "number"
  8681. },
  8682. "oriSellPlanQty": {
  8683. "description": "期初销售计划数量",
  8684. "type": "number"
  8685. },
  8686. "oriSellPricedQty": {
  8687. "description": "期初销售合同已定价数量",
  8688. "type": "number"
  8689. },
  8690. "oriTotalFutuQty": {
  8691. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8692. "type": "number"
  8693. },
  8694. "oriTotalSpotQty": {
  8695. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8696. "type": "number"
  8697. },
  8698. "sellFutureQty": {
  8699. "description": "卖出期货数量",
  8700. "type": "number"
  8701. },
  8702. "sellPlanQty": {
  8703. "description": "销售计划数量",
  8704. "type": "number"
  8705. },
  8706. "sellPricedQty": {
  8707. "description": "销售合同已定价数量",
  8708. "type": "number"
  8709. },
  8710. "totalExposure": {
  8711. "description": "总敞口",
  8712. "type": "number"
  8713. },
  8714. "totalFutureQty": {
  8715. "description": "期货数量",
  8716. "type": "number"
  8717. },
  8718. "totalHedgeRatio": {
  8719. "description": "敞口比例",
  8720. "type": "number"
  8721. },
  8722. "totalNeedHedgeQty": {
  8723. "description": "期货应套保量",
  8724. "type": "number"
  8725. },
  8726. "totalSpotQty": {
  8727. "description": "现货数量",
  8728. "type": "number"
  8729. }
  8730. }
  8731. },
  8732. "erms2.QueryArbitrageStrategyRsp": {
  8733. "type": "object",
  8734. "required": [
  8735. "asapplyid"
  8736. ],
  8737. "properties": {
  8738. "applybasis": {
  8739. "description": "申请基差",
  8740. "type": "number"
  8741. },
  8742. "asapplyid": {
  8743. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8744. "type": "string"
  8745. },
  8746. "asname": {
  8747. "description": "策略名称",
  8748. "type": "string"
  8749. },
  8750. "asno": {
  8751. "description": "策略编号",
  8752. "type": "string"
  8753. },
  8754. "basischangepl": {
  8755. "description": "基差变动损益[结算更新]",
  8756. "type": "number"
  8757. },
  8758. "biztype": {
  8759. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8760. "type": "integer"
  8761. },
  8762. "closetradedate": {
  8763. "description": "完结交易日(yyyyMMdd)",
  8764. "type": "string"
  8765. },
  8766. "curbasis": {
  8767. "description": "当前基差[结算更新]",
  8768. "type": "number"
  8769. },
  8770. "deliverygoodsid": {
  8771. "description": "现货品种ID",
  8772. "type": "integer"
  8773. },
  8774. "futureavgprice": {
  8775. "description": "期货建仓均价",
  8776. "type": "number"
  8777. },
  8778. "futurecloseamount": {
  8779. "description": "期货平仓金额",
  8780. "type": "number"
  8781. },
  8782. "futurecloseqty": {
  8783. "description": "期货平仓数量",
  8784. "type": "number"
  8785. },
  8786. "futureopenamount": {
  8787. "description": "期货开仓金额",
  8788. "type": "number"
  8789. },
  8790. "futureopenqty": {
  8791. "description": "期货开仓数量",
  8792. "type": "number"
  8793. },
  8794. "futurepl": {
  8795. "description": "期货总盈亏[结算更新]",
  8796. "type": "number"
  8797. },
  8798. "futureqty": {
  8799. "description": "期货持仓数量",
  8800. "type": "number"
  8801. },
  8802. "futurequote": {
  8803. "description": "期货额度",
  8804. "type": "number"
  8805. },
  8806. "goodsgroupid": {
  8807. "description": "期货品种ID",
  8808. "type": "integer"
  8809. },
  8810. "marketid": {
  8811. "description": "市场ID",
  8812. "type": "integer"
  8813. },
  8814. "netexposure": {
  8815. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8816. "type": "number"
  8817. },
  8818. "netexposurepl": {
  8819. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8820. "type": "number"
  8821. },
  8822. "netexposurerate": {
  8823. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8824. "type": "number"
  8825. },
  8826. "openbasis": {
  8827. "description": "建仓基差",
  8828. "type": "number"
  8829. },
  8830. "pricedspotqty": {
  8831. "description": "已定价现货数量",
  8832. "type": "number"
  8833. },
  8834. "pricedspotqtynotax": {
  8835. "description": "已定价现货不含税数量",
  8836. "type": "number"
  8837. },
  8838. "remark": {
  8839. "description": "备注",
  8840. "type": "string"
  8841. },
  8842. "spotavgprice": {
  8843. "description": "现货均价",
  8844. "type": "number"
  8845. },
  8846. "spotbuyamount": {
  8847. "description": "现货采购金额",
  8848. "type": "number"
  8849. },
  8850. "spotbuyqty": {
  8851. "description": "现货采购数量",
  8852. "type": "number"
  8853. },
  8854. "spotpl": {
  8855. "description": "现货总盈亏[结算更新]",
  8856. "type": "number"
  8857. },
  8858. "spotquota": {
  8859. "description": "现货额度",
  8860. "type": "number"
  8861. },
  8862. "spotsellamount": {
  8863. "description": "现货销售金额",
  8864. "type": "number"
  8865. },
  8866. "spotsellqty": {
  8867. "description": "现货销售数量",
  8868. "type": "number"
  8869. },
  8870. "spotusedquota": {
  8871. "description": "现货占用资金",
  8872. "type": "number"
  8873. },
  8874. "strategystatus": {
  8875. "description": "策略状态 - 0:未结束 1:已结束",
  8876. "type": "integer"
  8877. },
  8878. "totalpl": {
  8879. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8880. "type": "number"
  8881. },
  8882. "tradedate": {
  8883. "description": "交易日(yyyyMMdd)",
  8884. "type": "string"
  8885. },
  8886. "updatetime": {
  8887. "description": "更新时间",
  8888. "type": "string"
  8889. },
  8890. "usedquota": {
  8891. "description": "已占用资金",
  8892. "type": "number"
  8893. },
  8894. "userid": {
  8895. "description": "所属机构",
  8896. "type": "integer"
  8897. }
  8898. }
  8899. },
  8900. "erms2.QueryInnerTradeDetailRsp": {
  8901. "type": "object",
  8902. "required": [
  8903. "asapplyid",
  8904. "buyorsell",
  8905. "goodscode",
  8906. "goodsgroupid",
  8907. "goodsgroupname",
  8908. "goodsname",
  8909. "tradeid"
  8910. ],
  8911. "properties": {
  8912. "accountid": {
  8913. "description": "账号ID",
  8914. "type": "integer"
  8915. },
  8916. "agreeunit": {
  8917. "description": "合约单位",
  8918. "type": "number"
  8919. },
  8920. "asapplyid": {
  8921. "description": "策略申请ID",
  8922. "type": "integer"
  8923. },
  8924. "asname": {
  8925. "description": "策略名称",
  8926. "type": "string"
  8927. },
  8928. "asno": {
  8929. "description": "策略编号",
  8930. "type": "string"
  8931. },
  8932. "buyorsell": {
  8933. "description": "方向 - 0:买 1:卖",
  8934. "type": "integer"
  8935. },
  8936. "channelbuildtype": {
  8937. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8938. "type": "integer"
  8939. },
  8940. "closetype": {
  8941. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8942. "type": "integer"
  8943. },
  8944. "decimalplace": {
  8945. "description": "报价小数位",
  8946. "type": "integer"
  8947. },
  8948. "detailtype": {
  8949. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8950. "type": "integer"
  8951. },
  8952. "exexchangecode": {
  8953. "description": "外部交易所代码",
  8954. "type": "string"
  8955. },
  8956. "exexchangename": {
  8957. "description": "外部交易所名称",
  8958. "type": "string"
  8959. },
  8960. "goodscode": {
  8961. "description": "商品代码(合约)",
  8962. "type": "string"
  8963. },
  8964. "goodsgroupid": {
  8965. "description": "商品组ID(品种ID)",
  8966. "type": "integer"
  8967. },
  8968. "goodsgroupname": {
  8969. "description": "商品组名称(品种)",
  8970. "type": "string"
  8971. },
  8972. "goodsid": {
  8973. "description": "商品ID",
  8974. "type": "integer"
  8975. },
  8976. "goodsname": {
  8977. "description": "商品名称(合约)",
  8978. "type": "string"
  8979. },
  8980. "goodunit": {
  8981. "description": "报价单位",
  8982. "type": "string"
  8983. },
  8984. "marketid": {
  8985. "description": "市场ID",
  8986. "type": "integer"
  8987. },
  8988. "orderid": {
  8989. "description": "委托单号",
  8990. "type": "string"
  8991. },
  8992. "outgoodscode": {
  8993. "description": "商品代码(外部)",
  8994. "type": "string"
  8995. },
  8996. "relatedouttradeid": {
  8997. "description": "关联外部成交单ID",
  8998. "type": "string"
  8999. },
  9000. "remark": {
  9001. "description": "备注",
  9002. "type": "string"
  9003. },
  9004. "spotcontractid": {
  9005. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9006. "type": "integer"
  9007. },
  9008. "spotcontractno": {
  9009. "description": "现货合同编号",
  9010. "type": "string"
  9011. },
  9012. "tradeid": {
  9013. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9014. "type": "string"
  9015. },
  9016. "tradeprice": {
  9017. "description": "成交价格",
  9018. "type": "number"
  9019. },
  9020. "tradeqty": {
  9021. "description": "成交数量",
  9022. "type": "integer"
  9023. },
  9024. "tradetime": {
  9025. "description": "成交时间",
  9026. "type": "string"
  9027. },
  9028. "updatetime": {
  9029. "description": "更新时间",
  9030. "type": "string"
  9031. }
  9032. }
  9033. },
  9034. "erms2.QuerySpotContractRsp": {
  9035. "type": "object",
  9036. "required": [
  9037. "spotcontractid"
  9038. ],
  9039. "properties": {
  9040. "accountid": {
  9041. "description": "资金账户ID",
  9042. "type": "integer"
  9043. },
  9044. "areauserid": {
  9045. "description": "所属机构",
  9046. "type": "integer"
  9047. },
  9048. "closedate": {
  9049. "description": "终止日期",
  9050. "type": "string"
  9051. },
  9052. "closeremark": {
  9053. "description": "结束备注",
  9054. "type": "string"
  9055. },
  9056. "closetradedate": {
  9057. "description": "完结交易日(yyyyMMdd)",
  9058. "type": "string"
  9059. },
  9060. "closetype": {
  9061. "description": "终止类型 - 1:违约 2:提前终止",
  9062. "type": "integer"
  9063. },
  9064. "contractamount": {
  9065. "description": "合同金额",
  9066. "type": "number"
  9067. },
  9068. "contractattachment": {
  9069. "description": "合同附件",
  9070. "type": "string"
  9071. },
  9072. "contractno": {
  9073. "description": "现货合同编号",
  9074. "type": "string"
  9075. },
  9076. "contractqty": {
  9077. "description": "合同数量(数值) (用于计算)",
  9078. "type": "number"
  9079. },
  9080. "contractqtychar": {
  9081. "description": "合同数量\\已订价数量 (用于显示)",
  9082. "type": "string"
  9083. },
  9084. "contractstatus": {
  9085. "description": "合同状态 - 0:未结束 1:已结束",
  9086. "type": "integer"
  9087. },
  9088. "contracttype": {
  9089. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9090. "type": "integer"
  9091. },
  9092. "customeraccountid": {
  9093. "description": "客户资金账户ID",
  9094. "type": "integer"
  9095. },
  9096. "customeruserid": {
  9097. "description": "客户ID",
  9098. "type": "integer"
  9099. },
  9100. "deliverygoodsdesc": {
  9101. "description": "品种说明",
  9102. "type": "string"
  9103. },
  9104. "deliverygoodsid": {
  9105. "description": "现货品种ID",
  9106. "type": "integer"
  9107. },
  9108. "handlestatus": {
  9109. "description": "处理状态",
  9110. "type": "integer"
  9111. },
  9112. "invoiceatt": {
  9113. "description": "发票附件",
  9114. "type": "string"
  9115. },
  9116. "invoicedatetime": {
  9117. "description": "开收票更新时间",
  9118. "type": "string"
  9119. },
  9120. "invoiceopentime": {
  9121. "description": "开票时间",
  9122. "type": "string"
  9123. },
  9124. "invoiceremark": {
  9125. "description": "发票备注",
  9126. "type": "string"
  9127. },
  9128. "invoicestatus": {
  9129. "description": "开收票状态 - 0:未开票 1:已开票",
  9130. "type": "integer"
  9131. },
  9132. "lastdate": {
  9133. "description": "交货时间",
  9134. "type": "string"
  9135. },
  9136. "marketid": {
  9137. "description": "市场ID",
  9138. "type": "integer"
  9139. },
  9140. "paydatetime": {
  9141. "description": "收付款更新时间",
  9142. "type": "string"
  9143. },
  9144. "payremark": {
  9145. "description": "收付款备注",
  9146. "type": "string"
  9147. },
  9148. "paystatus": {
  9149. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9150. "type": "integer"
  9151. },
  9152. "positionqty": {
  9153. "description": "头寸数量 - 合同数量去小数部分",
  9154. "type": "integer"
  9155. },
  9156. "producttype": {
  9157. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9158. "type": "integer"
  9159. },
  9160. "relatedqty": {
  9161. "description": "已关联数量",
  9162. "type": "number"
  9163. },
  9164. "relatedstatus": {
  9165. "description": "关联完结状态 - 0:未结束 1:已结束",
  9166. "type": "integer"
  9167. },
  9168. "remark": {
  9169. "description": "备注",
  9170. "type": "string"
  9171. },
  9172. "signdate": {
  9173. "description": "签订日期",
  9174. "type": "string"
  9175. },
  9176. "spotcontractid": {
  9177. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9178. "type": "string"
  9179. },
  9180. "spotdatetime": {
  9181. "description": "收发货更新时间",
  9182. "type": "string"
  9183. },
  9184. "spotprice": {
  9185. "description": "价格",
  9186. "type": "number"
  9187. },
  9188. "spotremark": {
  9189. "description": "收发货备注",
  9190. "type": "string"
  9191. },
  9192. "spotstatus": {
  9193. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9194. "type": "integer"
  9195. },
  9196. "tradedate": {
  9197. "description": "交易日(yyyyMMdd)",
  9198. "type": "string"
  9199. },
  9200. "userid": {
  9201. "description": "业务员用户ID",
  9202. "type": "integer"
  9203. },
  9204. "warehouseid": {
  9205. "description": "仓库ID",
  9206. "type": "integer"
  9207. },
  9208. "wrfactortypeid": {
  9209. "description": "仓单要素类型ID",
  9210. "type": "integer"
  9211. },
  9212. "wrstandardid": {
  9213. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9214. "type": "integer"
  9215. }
  9216. }
  9217. },
  9218. "erms3.AddErms2ASApplyReq": {
  9219. "type": "object",
  9220. "required": [
  9221. "asapplyid"
  9222. ],
  9223. "properties": {
  9224. "applybasis": {
  9225. "description": "申请基差",
  9226. "type": "number"
  9227. },
  9228. "applystatus": {
  9229. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9230. "type": "integer"
  9231. },
  9232. "asapplyid": {
  9233. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9234. "type": "integer"
  9235. },
  9236. "asname": {
  9237. "description": "策略名称",
  9238. "type": "string"
  9239. },
  9240. "asno": {
  9241. "description": "策略编号",
  9242. "type": "string"
  9243. },
  9244. "auditid": {
  9245. "description": "审核人",
  9246. "type": "integer"
  9247. },
  9248. "auditremark": {
  9249. "description": "审核备注",
  9250. "type": "string"
  9251. },
  9252. "audittime": {
  9253. "description": "审核时间",
  9254. "type": "string"
  9255. },
  9256. "biztype": {
  9257. "description": "业务类型 - 1:正向套利 2:反向套利",
  9258. "type": "integer"
  9259. },
  9260. "createtime": {
  9261. "description": "创建时间",
  9262. "type": "string"
  9263. },
  9264. "creatorid": {
  9265. "description": "创建人",
  9266. "type": "integer"
  9267. },
  9268. "deliverygoodsid": {
  9269. "description": "现货品种ID",
  9270. "type": "integer"
  9271. },
  9272. "futurequote": {
  9273. "description": "期货额度",
  9274. "type": "number"
  9275. },
  9276. "goodsgroupid": {
  9277. "description": "期货品种ID",
  9278. "type": "integer"
  9279. },
  9280. "marketid": {
  9281. "description": "市场ID",
  9282. "type": "integer"
  9283. },
  9284. "remark": {
  9285. "description": "备注",
  9286. "type": "string"
  9287. },
  9288. "spotquota": {
  9289. "description": "现货额度",
  9290. "type": "number"
  9291. },
  9292. "tradedate": {
  9293. "description": "交易日(yyyyMMdd)",
  9294. "type": "string"
  9295. },
  9296. "userid": {
  9297. "description": "所属机构",
  9298. "type": "integer"
  9299. }
  9300. }
  9301. },
  9302. "erms3.AddErms2SpotTradeApplyReq": {
  9303. "type": "object",
  9304. "required": [
  9305. "spottradeid"
  9306. ],
  9307. "properties": {
  9308. "applyjsondetail": {
  9309. "description": "申请明细(JSON)",
  9310. "type": "string"
  9311. },
  9312. "applystatus": {
  9313. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9314. "type": "integer"
  9315. },
  9316. "areauserid": {
  9317. "description": "所属机构",
  9318. "type": "integer"
  9319. },
  9320. "auditid": {
  9321. "description": "审核人",
  9322. "type": "integer"
  9323. },
  9324. "auditremark": {
  9325. "description": "审核备注",
  9326. "type": "string"
  9327. },
  9328. "audittime": {
  9329. "description": "审核时间",
  9330. "type": "string"
  9331. },
  9332. "createtime": {
  9333. "description": "创建时间",
  9334. "type": "string"
  9335. },
  9336. "creatorid": {
  9337. "description": "创建人",
  9338. "type": "integer"
  9339. },
  9340. "deliverygoodsid": {
  9341. "description": "现货品种ID",
  9342. "type": "integer"
  9343. },
  9344. "futureaccountid": {
  9345. "description": "期货资金账户",
  9346. "type": "integer"
  9347. },
  9348. "goodsgroupid": {
  9349. "description": "期货品种",
  9350. "type": "integer"
  9351. },
  9352. "marketid": {
  9353. "description": "市场ID",
  9354. "type": "integer"
  9355. },
  9356. "remark": {
  9357. "description": "备注",
  9358. "type": "string"
  9359. },
  9360. "spotaccountid": {
  9361. "description": "现货资金账户",
  9362. "type": "integer"
  9363. },
  9364. "spottradeid": {
  9365. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9366. "type": "integer"
  9367. },
  9368. "spottradename": {
  9369. "description": "业务名称",
  9370. "type": "string"
  9371. },
  9372. "spottradeno": {
  9373. "description": "业务编号",
  9374. "type": "string"
  9375. },
  9376. "tradedate": {
  9377. "description": "交易日(yyyyMMdd)",
  9378. "type": "string"
  9379. },
  9380. "wrstandardid": {
  9381. "description": "仓单标准ID",
  9382. "type": "integer"
  9383. }
  9384. }
  9385. },
  9386. "erms3.AddSpotContractApplyReq": {
  9387. "type": "object",
  9388. "required": [
  9389. "accountid",
  9390. "areauserid",
  9391. "contractno",
  9392. "contracttype",
  9393. "customeraccountid",
  9394. "customeruserid",
  9395. "details",
  9396. "orimargin",
  9397. "signdate"
  9398. ],
  9399. "properties": {
  9400. "accountid": {
  9401. "description": "资金账户ID",
  9402. "type": "integer"
  9403. },
  9404. "areauserid": {
  9405. "description": "所属机构",
  9406. "type": "integer"
  9407. },
  9408. "contractattachment": {
  9409. "description": "合同附件",
  9410. "type": "string"
  9411. },
  9412. "contractno": {
  9413. "description": "现货合同编号",
  9414. "type": "string"
  9415. },
  9416. "contracttype": {
  9417. "description": "现货合同类型 - 1:采购 -1:销售",
  9418. "type": "integer"
  9419. },
  9420. "creatorid": {
  9421. "description": "申请人",
  9422. "type": "integer"
  9423. },
  9424. "customeraccountid": {
  9425. "description": "客户资金账户ID",
  9426. "type": "integer"
  9427. },
  9428. "customeruserid": {
  9429. "description": "客户ID",
  9430. "type": "integer"
  9431. },
  9432. "details": {
  9433. "description": "明细",
  9434. "type": "array",
  9435. "items": {
  9436. "$ref": "#/definitions/erms3.SoptContractDetail"
  9437. }
  9438. },
  9439. "orimargin": {
  9440. "description": "初始保证金",
  9441. "type": "number"
  9442. },
  9443. "remark": {
  9444. "description": "备注",
  9445. "type": "string"
  9446. },
  9447. "signdate": {
  9448. "description": "签订日期",
  9449. "type": "string"
  9450. }
  9451. }
  9452. },
  9453. "erms3.AddSpotContractApplyRsp": {
  9454. "type": "object",
  9455. "required": [
  9456. "contractno"
  9457. ],
  9458. "properties": {
  9459. "contractno": {
  9460. "description": "现货合同编号",
  9461. "type": "string"
  9462. },
  9463. "spotcontractid": {
  9464. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9465. "type": "integer"
  9466. }
  9467. }
  9468. },
  9469. "erms3.AddUserInfoApplyReq": {
  9470. "type": "object",
  9471. "required": [
  9472. "userid"
  9473. ],
  9474. "properties": {
  9475. "accountid": {
  9476. "description": "交易系统帐号Id (加密存储)",
  9477. "type": "integer"
  9478. },
  9479. "areacode": {
  9480. "description": "机构代码",
  9481. "type": "string"
  9482. },
  9483. "areaid": {
  9484. "description": "机构Id",
  9485. "type": "integer"
  9486. },
  9487. "attachment1": {
  9488. "description": "附件1",
  9489. "type": "string"
  9490. },
  9491. "attachment2": {
  9492. "description": "附件2",
  9493. "type": "string"
  9494. },
  9495. "attachment3": {
  9496. "description": "附件3",
  9497. "type": "string"
  9498. },
  9499. "attachment4": {
  9500. "description": "附件4",
  9501. "type": "string"
  9502. },
  9503. "attachment5": {
  9504. "description": "附件5",
  9505. "type": "string"
  9506. },
  9507. "auditedby": {
  9508. "description": "审核人",
  9509. "type": "string"
  9510. },
  9511. "auditime": {
  9512. "description": "审核时间",
  9513. "type": "string"
  9514. },
  9515. "bankaccount": {
  9516. "description": "银行帐号 (加密存储)",
  9517. "type": "string"
  9518. },
  9519. "bankaccountname": {
  9520. "description": "收款人名称",
  9521. "type": "string"
  9522. },
  9523. "bankcardbackphotourl": {
  9524. "description": "银行卡背面照地址",
  9525. "type": "string"
  9526. },
  9527. "bankcardfrontphotourl": {
  9528. "description": "银行卡正面照地址",
  9529. "type": "string"
  9530. },
  9531. "bankid": {
  9532. "description": "银行编码",
  9533. "type": "string"
  9534. },
  9535. "bankname": {
  9536. "description": "银行名称",
  9537. "type": "string"
  9538. },
  9539. "bankpictureurl": {
  9540. "description": "银行卡正面地址",
  9541. "type": "string"
  9542. },
  9543. "biznature": {
  9544. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9545. "type": "integer"
  9546. },
  9547. "bizscope": {
  9548. "description": "企业经营范围(企业)",
  9549. "type": "string"
  9550. },
  9551. "biztype": {
  9552. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9553. "type": "integer"
  9554. },
  9555. "brokerid": {
  9556. "description": "经纪人ID(加密存储)",
  9557. "type": "string"
  9558. },
  9559. "cardaddress": {
  9560. "description": "证件地址 (加密存储)",
  9561. "type": "string"
  9562. },
  9563. "cardbackphotourl": {
  9564. "description": "背面证件照地址",
  9565. "type": "string"
  9566. },
  9567. "cardfrontphotourl": {
  9568. "description": "正面证件照地址",
  9569. "type": "string"
  9570. },
  9571. "cardnum": {
  9572. "description": "证件号码 (加密存储)",
  9573. "type": "string"
  9574. },
  9575. "cardtype": {
  9576. "description": "证件类型",
  9577. "type": "integer"
  9578. },
  9579. "cityid": {
  9580. "description": "市",
  9581. "type": "integer"
  9582. },
  9583. "company": {
  9584. "description": "公司(个人)",
  9585. "type": "string"
  9586. },
  9587. "contactcardbackphotourl": {
  9588. "description": "联系人证件背面图片地址",
  9589. "type": "string"
  9590. },
  9591. "contactcardfrontphotourl": {
  9592. "description": "联系人证件正面图片地址",
  9593. "type": "string"
  9594. },
  9595. "contactname": {
  9596. "description": "联系人",
  9597. "type": "string"
  9598. },
  9599. "countryid": {
  9600. "description": "国家",
  9601. "type": "integer"
  9602. },
  9603. "createtime": {
  9604. "description": "开户申请时间",
  9605. "type": "string"
  9606. },
  9607. "cusbankid": {
  9608. "description": "签约类型",
  9609. "type": "string"
  9610. },
  9611. "cusbankname": {
  9612. "description": "签约类型名称",
  9613. "type": "string"
  9614. },
  9615. "customername": {
  9616. "description": "客户名称(企业名称)",
  9617. "type": "string"
  9618. },
  9619. "districtid": {
  9620. "description": "地区",
  9621. "type": "integer"
  9622. },
  9623. "email": {
  9624. "description": "Email地址(加密存储)",
  9625. "type": "string"
  9626. },
  9627. "halfbodyphotourl": {
  9628. "description": "半身照地址",
  9629. "type": "string"
  9630. },
  9631. "headurl": {
  9632. "description": "头像地址",
  9633. "type": "string"
  9634. },
  9635. "ipaddress": {
  9636. "description": "IP地址",
  9637. "type": "string"
  9638. },
  9639. "isvalidate": {
  9640. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9641. "type": "string"
  9642. },
  9643. "legalcardbackphotourl": {
  9644. "description": "法人身份证背面照地址",
  9645. "type": "string"
  9646. },
  9647. "legalcardfrontphotourl": {
  9648. "description": "法人身份证正面照地址",
  9649. "type": "string"
  9650. },
  9651. "legalpersonname": {
  9652. "description": "法人姓名(企业)",
  9653. "type": "string"
  9654. },
  9655. "logincode": {
  9656. "description": "登录帐号 (加密存储)",
  9657. "type": "string"
  9658. },
  9659. "memberareaid": {
  9660. "description": "所属会员ID",
  9661. "type": "integer"
  9662. },
  9663. "mobile2": {
  9664. "description": "手机号码[明文-尚志]",
  9665. "type": "string"
  9666. },
  9667. "mobilephone": {
  9668. "description": "手机号码 (加密存储)",
  9669. "type": "string"
  9670. },
  9671. "modifiedby": {
  9672. "description": "修改人帐号",
  9673. "type": "integer"
  9674. },
  9675. "modifiedtime": {
  9676. "description": "修改时间",
  9677. "type": "string"
  9678. },
  9679. "nickname": {
  9680. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9681. "type": "string"
  9682. },
  9683. "openmode": {
  9684. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9685. "type": "integer"
  9686. },
  9687. "otherurl": {
  9688. "description": "其它图片地址[使用分号分隔]",
  9689. "type": "string"
  9690. },
  9691. "postalcode": {
  9692. "description": "邮政编码",
  9693. "type": "string"
  9694. },
  9695. "provinceid": {
  9696. "description": "省",
  9697. "type": "integer"
  9698. },
  9699. "proxystatementurl": {
  9700. "description": "授权委托书",
  9701. "type": "string"
  9702. },
  9703. "qq": {
  9704. "description": "QQ(加密存储",
  9705. "type": "string"
  9706. },
  9707. "referral": {
  9708. "description": "推荐人编码",
  9709. "type": "string"
  9710. },
  9711. "remark": {
  9712. "description": "备注",
  9713. "type": "string"
  9714. },
  9715. "removebeforestatus": {
  9716. "description": "REMOVEBEFORESTATUS",
  9717. "type": "integer"
  9718. },
  9719. "sex": {
  9720. "description": "性别 - 0:女 1:男",
  9721. "type": "integer"
  9722. },
  9723. "signedstatus": {
  9724. "description": "账户一号签签约状态",
  9725. "type": "integer"
  9726. },
  9727. "signpdfurl": {
  9728. "description": "签约pdf文件",
  9729. "type": "string"
  9730. },
  9731. "subbranch": {
  9732. "description": "开户支行",
  9733. "type": "string"
  9734. },
  9735. "telphone": {
  9736. "description": "联系电话(加密存储)",
  9737. "type": "string"
  9738. },
  9739. "userid": {
  9740. "description": "用户ID(自增ID)",
  9741. "type": "integer"
  9742. },
  9743. "userinfotype": {
  9744. "description": "用户信息类型 - 1:个人 2:企业",
  9745. "type": "integer"
  9746. },
  9747. "username": {
  9748. "description": "用户姓名",
  9749. "type": "string"
  9750. },
  9751. "userstate": {
  9752. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9753. "type": "integer"
  9754. },
  9755. "usertype": {
  9756. "description": "用户类型 - 1:投资者 2:机构",
  9757. "type": "integer"
  9758. },
  9759. "videourl": {
  9760. "description": "视频地址",
  9761. "type": "string"
  9762. },
  9763. "wechat": {
  9764. "description": "微信号 (加密存储)",
  9765. "type": "string"
  9766. }
  9767. }
  9768. },
  9769. "erms3.CustomerInfo": {
  9770. "type": "object",
  9771. "required": [
  9772. "userid"
  9773. ],
  9774. "properties": {
  9775. "accountids": {
  9776. "description": "资金账户ID列表",
  9777. "type": "array",
  9778. "items": {
  9779. "type": "integer"
  9780. }
  9781. },
  9782. "customername": {
  9783. "description": "名称(企业名称)",
  9784. "type": "string"
  9785. },
  9786. "mobile": {
  9787. "description": "手机号码",
  9788. "type": "string"
  9789. },
  9790. "userid": {
  9791. "description": "用户ID",
  9792. "type": "integer"
  9793. }
  9794. }
  9795. },
  9796. "erms3.ModifyUserInfoApplyReq": {
  9797. "type": "object",
  9798. "required": [
  9799. "userid"
  9800. ],
  9801. "properties": {
  9802. "accountid": {
  9803. "description": "交易系统帐号Id (加密存储)",
  9804. "type": "integer"
  9805. },
  9806. "areacode": {
  9807. "description": "机构代码",
  9808. "type": "string"
  9809. },
  9810. "areaid": {
  9811. "description": "机构Id",
  9812. "type": "integer"
  9813. },
  9814. "attachment1": {
  9815. "description": "附件1",
  9816. "type": "string"
  9817. },
  9818. "attachment2": {
  9819. "description": "附件2",
  9820. "type": "string"
  9821. },
  9822. "attachment3": {
  9823. "description": "附件3",
  9824. "type": "string"
  9825. },
  9826. "attachment4": {
  9827. "description": "附件4",
  9828. "type": "string"
  9829. },
  9830. "attachment5": {
  9831. "description": "附件5",
  9832. "type": "string"
  9833. },
  9834. "auditedby": {
  9835. "description": "审核人",
  9836. "type": "string"
  9837. },
  9838. "auditime": {
  9839. "description": "审核时间",
  9840. "type": "string"
  9841. },
  9842. "bankaccount": {
  9843. "description": "银行帐号 (加密存储)",
  9844. "type": "string"
  9845. },
  9846. "bankaccountname": {
  9847. "description": "收款人名称",
  9848. "type": "string"
  9849. },
  9850. "bankcardbackphotourl": {
  9851. "description": "银行卡背面照地址",
  9852. "type": "string"
  9853. },
  9854. "bankcardfrontphotourl": {
  9855. "description": "银行卡正面照地址",
  9856. "type": "string"
  9857. },
  9858. "bankid": {
  9859. "description": "银行编码",
  9860. "type": "string"
  9861. },
  9862. "bankname": {
  9863. "description": "银行名称",
  9864. "type": "string"
  9865. },
  9866. "bankpictureurl": {
  9867. "description": "银行卡正面地址",
  9868. "type": "string"
  9869. },
  9870. "biznature": {
  9871. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9872. "type": "integer"
  9873. },
  9874. "bizscope": {
  9875. "description": "企业经营范围(企业)",
  9876. "type": "string"
  9877. },
  9878. "biztype": {
  9879. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9880. "type": "integer"
  9881. },
  9882. "brokerid": {
  9883. "description": "经纪人ID(加密存储)",
  9884. "type": "string"
  9885. },
  9886. "cardaddress": {
  9887. "description": "证件地址 (加密存储)",
  9888. "type": "string"
  9889. },
  9890. "cardbackphotourl": {
  9891. "description": "背面证件照地址",
  9892. "type": "string"
  9893. },
  9894. "cardfrontphotourl": {
  9895. "description": "正面证件照地址",
  9896. "type": "string"
  9897. },
  9898. "cardnum": {
  9899. "description": "证件号码 (加密存储)",
  9900. "type": "string"
  9901. },
  9902. "cardtype": {
  9903. "description": "证件类型",
  9904. "type": "integer"
  9905. },
  9906. "cityid": {
  9907. "description": "市",
  9908. "type": "integer"
  9909. },
  9910. "company": {
  9911. "description": "公司(个人)",
  9912. "type": "string"
  9913. },
  9914. "contactcardbackphotourl": {
  9915. "description": "联系人证件背面图片地址",
  9916. "type": "string"
  9917. },
  9918. "contactcardfrontphotourl": {
  9919. "description": "联系人证件正面图片地址",
  9920. "type": "string"
  9921. },
  9922. "contactname": {
  9923. "description": "联系人",
  9924. "type": "string"
  9925. },
  9926. "countryid": {
  9927. "description": "国家",
  9928. "type": "integer"
  9929. },
  9930. "createtime": {
  9931. "description": "开户申请时间",
  9932. "type": "string"
  9933. },
  9934. "cusbankid": {
  9935. "description": "签约类型",
  9936. "type": "string"
  9937. },
  9938. "cusbankname": {
  9939. "description": "签约类型名称",
  9940. "type": "string"
  9941. },
  9942. "customername": {
  9943. "description": "客户名称(企业名称)",
  9944. "type": "string"
  9945. },
  9946. "districtid": {
  9947. "description": "地区",
  9948. "type": "integer"
  9949. },
  9950. "email": {
  9951. "description": "Email地址(加密存储)",
  9952. "type": "string"
  9953. },
  9954. "halfbodyphotourl": {
  9955. "description": "半身照地址",
  9956. "type": "string"
  9957. },
  9958. "headurl": {
  9959. "description": "头像地址",
  9960. "type": "string"
  9961. },
  9962. "ipaddress": {
  9963. "description": "IP地址",
  9964. "type": "string"
  9965. },
  9966. "isvalidate": {
  9967. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9968. "type": "string"
  9969. },
  9970. "legalcardbackphotourl": {
  9971. "description": "法人身份证背面照地址",
  9972. "type": "string"
  9973. },
  9974. "legalcardfrontphotourl": {
  9975. "description": "法人身份证正面照地址",
  9976. "type": "string"
  9977. },
  9978. "legalpersonname": {
  9979. "description": "法人姓名(企业)",
  9980. "type": "string"
  9981. },
  9982. "logincode": {
  9983. "description": "登录帐号 (加密存储)",
  9984. "type": "string"
  9985. },
  9986. "memberareaid": {
  9987. "description": "所属会员ID",
  9988. "type": "integer"
  9989. },
  9990. "mobile2": {
  9991. "description": "手机号码[明文-尚志]",
  9992. "type": "string"
  9993. },
  9994. "mobilephone": {
  9995. "description": "手机号码 (加密存储)",
  9996. "type": "string"
  9997. },
  9998. "modifiedby": {
  9999. "description": "修改人帐号",
  10000. "type": "integer"
  10001. },
  10002. "modifiedtime": {
  10003. "description": "修改时间",
  10004. "type": "string"
  10005. },
  10006. "nickname": {
  10007. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10008. "type": "string"
  10009. },
  10010. "openmode": {
  10011. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10012. "type": "integer"
  10013. },
  10014. "otherurl": {
  10015. "description": "其它图片地址[使用分号分隔]",
  10016. "type": "string"
  10017. },
  10018. "postalcode": {
  10019. "description": "邮政编码",
  10020. "type": "string"
  10021. },
  10022. "provinceid": {
  10023. "description": "省",
  10024. "type": "integer"
  10025. },
  10026. "proxystatementurl": {
  10027. "description": "授权委托书",
  10028. "type": "string"
  10029. },
  10030. "qq": {
  10031. "description": "QQ(加密存储",
  10032. "type": "string"
  10033. },
  10034. "referral": {
  10035. "description": "推荐人编码",
  10036. "type": "string"
  10037. },
  10038. "remark": {
  10039. "description": "备注",
  10040. "type": "string"
  10041. },
  10042. "removebeforestatus": {
  10043. "description": "REMOVEBEFORESTATUS",
  10044. "type": "integer"
  10045. },
  10046. "sex": {
  10047. "description": "性别 - 0:女 1:男",
  10048. "type": "integer"
  10049. },
  10050. "signedstatus": {
  10051. "description": "账户一号签签约状态",
  10052. "type": "integer"
  10053. },
  10054. "signpdfurl": {
  10055. "description": "签约pdf文件",
  10056. "type": "string"
  10057. },
  10058. "subbranch": {
  10059. "description": "开户支行",
  10060. "type": "string"
  10061. },
  10062. "telphone": {
  10063. "description": "联系电话(加密存储)",
  10064. "type": "string"
  10065. },
  10066. "userid": {
  10067. "description": "用户ID(自增ID)",
  10068. "type": "integer"
  10069. },
  10070. "userinfotype": {
  10071. "description": "用户信息类型 - 1:个人 2:企业",
  10072. "type": "integer"
  10073. },
  10074. "username": {
  10075. "description": "用户姓名",
  10076. "type": "string"
  10077. },
  10078. "userstate": {
  10079. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10080. "type": "integer"
  10081. },
  10082. "usertype": {
  10083. "description": "用户类型 - 1:投资者 2:机构",
  10084. "type": "integer"
  10085. },
  10086. "videourl": {
  10087. "description": "视频地址",
  10088. "type": "string"
  10089. },
  10090. "wechat": {
  10091. "description": "微信号 (加密存储)",
  10092. "type": "string"
  10093. }
  10094. }
  10095. },
  10096. "erms3.QryAuditContractRsp": {
  10097. "type": "object",
  10098. "required": [
  10099. "matchcustomername",
  10100. "spotcontractid"
  10101. ],
  10102. "properties": {
  10103. "accountid": {
  10104. "description": "交易员ID",
  10105. "type": "string"
  10106. },
  10107. "applystatus": {
  10108. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10109. "type": "integer"
  10110. },
  10111. "curdeliveryqty": {
  10112. "description": "未交收量",
  10113. "type": "integer"
  10114. },
  10115. "customername": {
  10116. "description": "采购方ID",
  10117. "type": "string"
  10118. },
  10119. "deliverygoodsid": {
  10120. "description": "品种ID",
  10121. "type": "string"
  10122. },
  10123. "deliveryqty": {
  10124. "description": "交收量",
  10125. "type": "integer"
  10126. },
  10127. "enumdicname": {
  10128. "description": "单位名称",
  10129. "type": "string"
  10130. },
  10131. "matchaccountid": {
  10132. "description": "业务员ID",
  10133. "type": "string"
  10134. },
  10135. "matchcustomername": {
  10136. "description": "销售方ID",
  10137. "type": "string"
  10138. },
  10139. "pricedqty": {
  10140. "description": "定价量",
  10141. "type": "number"
  10142. },
  10143. "signdate": {
  10144. "description": "签订日期",
  10145. "type": "string"
  10146. },
  10147. "spotcontractid": {
  10148. "description": "合同ID",
  10149. "type": "string"
  10150. },
  10151. "totaldqty": {
  10152. "description": "合同量",
  10153. "type": "number"
  10154. },
  10155. "unpricedqty": {
  10156. "description": "未定价量",
  10157. "type": "number"
  10158. },
  10159. "wrstandardname": {
  10160. "description": "商品名称",
  10161. "type": "string"
  10162. }
  10163. }
  10164. },
  10165. "erms3.QryPendingBizRsp": {
  10166. "type": "object",
  10167. "properties": {
  10168. "accountid": {
  10169. "description": "现货账户",
  10170. "type": "string"
  10171. },
  10172. "areaname": {
  10173. "description": "所属部门",
  10174. "type": "string"
  10175. },
  10176. "bizid": {
  10177. "description": "业务ID",
  10178. "type": "string"
  10179. },
  10180. "bizname": {
  10181. "description": "业务名称",
  10182. "type": "string"
  10183. },
  10184. "status": {
  10185. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10186. "type": "integer"
  10187. },
  10188. "type": {
  10189. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10190. "type": "integer"
  10191. }
  10192. }
  10193. },
  10194. "erms3.QueryBusinessInfoRsp": {
  10195. "type": "object",
  10196. "properties": {
  10197. "businessid": {
  10198. "description": "业务ID.",
  10199. "type": "integer"
  10200. },
  10201. "buyamount": {
  10202. "description": "采购额.",
  10203. "type": "number"
  10204. },
  10205. "buyqty": {
  10206. "description": "采购量.",
  10207. "type": "string"
  10208. },
  10209. "futurepl": {
  10210. "description": "期货盈亏.",
  10211. "type": "number"
  10212. },
  10213. "futureqty": {
  10214. "description": "期货敞口.",
  10215. "type": "string"
  10216. },
  10217. "goodsid": {
  10218. "description": "商品名称/商品代码.",
  10219. "type": "string"
  10220. },
  10221. "hedgingqty": {
  10222. "description": "套保量.",
  10223. "type": "string"
  10224. },
  10225. "sellamount": {
  10226. "description": "销售额.",
  10227. "type": "number"
  10228. },
  10229. "sellqty": {
  10230. "description": "销售量.",
  10231. "type": "string"
  10232. },
  10233. "spotmarketvalue": {
  10234. "description": "现货市值.",
  10235. "type": "number"
  10236. },
  10237. "spotpl": {
  10238. "description": "浮动权益.",
  10239. "type": "number"
  10240. },
  10241. "spotqty": {
  10242. "description": "现货量.",
  10243. "type": "string"
  10244. },
  10245. "statu": {
  10246. "description": "状态,0-未结束 1-已结束.",
  10247. "type": "integer"
  10248. },
  10249. "totalpl": {
  10250. "description": "总盈亏.",
  10251. "type": "number"
  10252. },
  10253. "totalqty": {
  10254. "description": "总敞口.",
  10255. "type": "string"
  10256. },
  10257. "type": {
  10258. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10259. "type": "integer"
  10260. }
  10261. }
  10262. },
  10263. "erms3.QuerySpotContractAppleFormRsp": {
  10264. "type": "object",
  10265. "properties": {
  10266. "goodses": {
  10267. "description": "合约列表",
  10268. "type": "array",
  10269. "items": {
  10270. "$ref": "#/definitions/models.GoodsIDAndName"
  10271. }
  10272. },
  10273. "oppositeusers": {
  10274. "description": "对方账号列表",
  10275. "type": "array",
  10276. "items": {
  10277. "$ref": "#/definitions/erms3.CustomerInfo"
  10278. }
  10279. },
  10280. "ouruser": {
  10281. "description": "我方账号",
  10282. "$ref": "#/definitions/erms3.CustomerInfo"
  10283. },
  10284. "warehouseinfos": {
  10285. "description": "仓库信息列表",
  10286. "type": "array",
  10287. "items": {
  10288. "$ref": "#/definitions/models.Warehouseinfo"
  10289. }
  10290. },
  10291. "wrstandards": {
  10292. "description": "仓单标准列表",
  10293. "type": "array",
  10294. "items": {
  10295. "$ref": "#/definitions/models.WRStandardInfo"
  10296. }
  10297. }
  10298. }
  10299. },
  10300. "erms3.QuerySpotContractInfoRsp": {
  10301. "type": "object",
  10302. "properties": {
  10303. "accountid": {
  10304. "description": "表示交易员ID.",
  10305. "type": "integer"
  10306. },
  10307. "curdeliveryqty": {
  10308. "description": "表示未交收量.",
  10309. "type": "number"
  10310. },
  10311. "customername": {
  10312. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10313. "type": "string"
  10314. },
  10315. "deliverygoodsid": {
  10316. "description": "表示品种ID.",
  10317. "type": "string"
  10318. },
  10319. "deliveryqty": {
  10320. "description": "表示交收量.",
  10321. "type": "number"
  10322. },
  10323. "matchaccountid": {
  10324. "description": "表示业务员ID.",
  10325. "type": "integer"
  10326. },
  10327. "matchcustomername": {
  10328. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10329. "type": "string"
  10330. },
  10331. "priceqty": {
  10332. "description": "表示定价量.",
  10333. "type": "number"
  10334. },
  10335. "relatedbizid": {
  10336. "description": "表示业务ID.",
  10337. "type": "string"
  10338. },
  10339. "signdate": {
  10340. "description": "表示签订日期.",
  10341. "type": "string"
  10342. },
  10343. "spotcontractid": {
  10344. "description": "合同ID",
  10345. "type": "string"
  10346. },
  10347. "status": {
  10348. "description": "表示状态,0-履约中 1-已完成.",
  10349. "type": "integer"
  10350. },
  10351. "totalqty": {
  10352. "description": "表示合同量.",
  10353. "type": "number"
  10354. },
  10355. "unpricedqty": {
  10356. "description": "表示未定价量.",
  10357. "type": "number"
  10358. },
  10359. "wrstandardname": {
  10360. "description": "表示商品ID.",
  10361. "type": "string"
  10362. }
  10363. }
  10364. },
  10365. "erms3.QueryUserInfoAppliesRsp": {
  10366. "type": "object",
  10367. "required": [
  10368. "userid"
  10369. ],
  10370. "properties": {
  10371. "biznature": {
  10372. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10373. "type": "integer"
  10374. },
  10375. "contactname": {
  10376. "description": "联系人",
  10377. "type": "string"
  10378. },
  10379. "createtime": {
  10380. "description": "开户申请时间",
  10381. "type": "string"
  10382. },
  10383. "userid": {
  10384. "description": "用户ID(自增ID)",
  10385. "type": "integer"
  10386. },
  10387. "userinfotype": {
  10388. "description": "用户信息类型 - 1:个人 2:企业",
  10389. "type": "integer"
  10390. },
  10391. "username": {
  10392. "description": "用户姓名",
  10393. "type": "string"
  10394. },
  10395. "userstate": {
  10396. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10397. "type": "integer"
  10398. }
  10399. }
  10400. },
  10401. "erms3.QueryUserInfosRsp": {
  10402. "type": "object",
  10403. "required": [
  10404. "userid"
  10405. ],
  10406. "properties": {
  10407. "biznature": {
  10408. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10409. "type": "integer"
  10410. },
  10411. "contactname": {
  10412. "description": "联系人",
  10413. "type": "string"
  10414. },
  10415. "customername": {
  10416. "description": "客户名称(企业名称)",
  10417. "type": "string"
  10418. },
  10419. "userid": {
  10420. "description": "用户ID",
  10421. "type": "integer"
  10422. },
  10423. "userinfotype": {
  10424. "description": "用户信息类型 - 1:个人 2:企业",
  10425. "type": "integer"
  10426. },
  10427. "userstatus": {
  10428. "description": "用户状态 - 1:正常 2:注销",
  10429. "type": "integer"
  10430. }
  10431. }
  10432. },
  10433. "erms3.SoptContractDetail": {
  10434. "type": "object",
  10435. "required": [
  10436. "deliverygoodsid",
  10437. "producttype",
  10438. "unitname",
  10439. "warehouseid",
  10440. "wrstandardid",
  10441. "wrstandardname"
  10442. ],
  10443. "properties": {
  10444. "deliverygoodsdesc": {
  10445. "description": "现货品种说明",
  10446. "type": "string"
  10447. },
  10448. "deliverygoodsid": {
  10449. "description": "现货品种ID",
  10450. "type": "integer"
  10451. },
  10452. "deliverygoodsname": {
  10453. "description": "现货品种名称",
  10454. "type": "string"
  10455. },
  10456. "pointdesc": {
  10457. "description": "点价描述",
  10458. "type": "string"
  10459. },
  10460. "producttype": {
  10461. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10462. "type": "integer"
  10463. },
  10464. "producttypename": {
  10465. "description": "产品类型名称",
  10466. "type": "string"
  10467. },
  10468. "spotPointOrderVoList": {
  10469. "description": "点价列表",
  10470. "type": "array",
  10471. "items": {
  10472. "$ref": "#/definitions/erms3.SpotPointOrder"
  10473. }
  10474. },
  10475. "spotPriceOrderList": {
  10476. "description": "定价列表",
  10477. "type": "array",
  10478. "items": {
  10479. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10480. }
  10481. },
  10482. "unitname": {
  10483. "description": "单位名称",
  10484. "type": "string"
  10485. },
  10486. "warehouseid": {
  10487. "description": "仓库ID",
  10488. "type": "integer"
  10489. },
  10490. "warehousename": {
  10491. "description": "仓库名称",
  10492. "type": "string"
  10493. },
  10494. "wrstandardid": {
  10495. "description": "交易标的ID",
  10496. "type": "integer"
  10497. },
  10498. "wrstandardname": {
  10499. "description": "交易标的名称",
  10500. "type": "string"
  10501. }
  10502. }
  10503. },
  10504. "erms3.SpotPointOrder": {
  10505. "type": "object",
  10506. "required": [
  10507. "basic",
  10508. "goodsid",
  10509. "qty"
  10510. ],
  10511. "properties": {
  10512. "basic": {
  10513. "description": "基差",
  10514. "type": "number"
  10515. },
  10516. "deliveryenddate": {
  10517. "description": "交收结束日期",
  10518. "type": "string"
  10519. },
  10520. "deliverystartdate": {
  10521. "description": "交收开始日期",
  10522. "type": "string"
  10523. },
  10524. "enddate": {
  10525. "description": "点价结束日期",
  10526. "type": "string"
  10527. },
  10528. "goodsid": {
  10529. "description": "商品ID",
  10530. "type": "integer"
  10531. },
  10532. "goodsname": {
  10533. "description": "商品名称",
  10534. "type": "string"
  10535. },
  10536. "qty": {
  10537. "description": "数量",
  10538. "type": "number"
  10539. },
  10540. "startdate": {
  10541. "description": "点价开始日期",
  10542. "type": "string"
  10543. }
  10544. }
  10545. },
  10546. "erms3.SpotPriceOrder": {
  10547. "type": "object",
  10548. "required": [
  10549. "amount",
  10550. "price",
  10551. "qty"
  10552. ],
  10553. "properties": {
  10554. "amount": {
  10555. "description": "金额",
  10556. "type": "number"
  10557. },
  10558. "deliveryenddate": {
  10559. "description": "交收结束日期",
  10560. "type": "string"
  10561. },
  10562. "deliverystartdate": {
  10563. "description": "交收开始日期",
  10564. "type": "string"
  10565. },
  10566. "price": {
  10567. "description": "价格",
  10568. "type": "number"
  10569. },
  10570. "qty": {
  10571. "description": "数量",
  10572. "type": "number"
  10573. }
  10574. }
  10575. },
  10576. "hsby.GetHsbyMyCountRsp": {
  10577. "type": "object",
  10578. "properties": {
  10579. "myCouponCount": {
  10580. "description": "我的优惠卷数量",
  10581. "type": "integer"
  10582. },
  10583. "myOrderDetailListingCount": {
  10584. "description": "我的订单求购中数量",
  10585. "type": "integer"
  10586. },
  10587. "myOrderDetailPreCount": {
  10588. "description": "我的订单抢购中数量",
  10589. "type": "integer"
  10590. },
  10591. "myPackageUnReceiveCount": {
  10592. "description": "我的包裹待收货数量",
  10593. "type": "integer"
  10594. },
  10595. "myPackageUnSendCount": {
  10596. "description": "我的包裹待发货数量",
  10597. "type": "integer"
  10598. },
  10599. "myPayOrderCount": {
  10600. "description": "我的订单待付款数量",
  10601. "type": "integer"
  10602. }
  10603. }
  10604. },
  10605. "hsby.QueryProvincesAndCitiesRsp": {
  10606. "type": "object",
  10607. "properties": {
  10608. "cities": {
  10609. "description": "市",
  10610. "type": "array",
  10611. "items": {
  10612. "$ref": "#/definitions/models.Division"
  10613. }
  10614. },
  10615. "province": {
  10616. "description": "省",
  10617. "$ref": "#/definitions/models.Division"
  10618. }
  10619. }
  10620. },
  10621. "models.Clientfixedadconfig": {
  10622. "type": "object",
  10623. "required": [
  10624. "adsort",
  10625. "adtype"
  10626. ],
  10627. "properties": {
  10628. "adsort": {
  10629. "description": "排序",
  10630. "type": "integer"
  10631. },
  10632. "adtype": {
  10633. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10634. "type": "integer"
  10635. },
  10636. "areauserid": {
  10637. "description": "所属机构ID",
  10638. "type": "integer"
  10639. },
  10640. "createdate": {
  10641. "description": "创建时间",
  10642. "type": "string"
  10643. },
  10644. "creatorid": {
  10645. "description": "创建人",
  10646. "type": "integer"
  10647. },
  10648. "imagepath": {
  10649. "description": "图片",
  10650. "type": "string"
  10651. },
  10652. "isshow": {
  10653. "description": "是否展示 - 0:不展示 1:展示",
  10654. "type": "integer"
  10655. },
  10656. "modifierid": {
  10657. "description": "操作人",
  10658. "type": "integer"
  10659. },
  10660. "recsize": {
  10661. "description": "推荐尺寸",
  10662. "type": "string"
  10663. },
  10664. "title": {
  10665. "description": "标题",
  10666. "type": "string"
  10667. },
  10668. "updatedate": {
  10669. "description": "更新时间",
  10670. "type": "string"
  10671. },
  10672. "urlcontent": {
  10673. "description": "链接(地址或商品ID)",
  10674. "type": "string"
  10675. },
  10676. "urltype": {
  10677. "description": "链接类型 - 1:直接地址 2:商品ID",
  10678. "type": "integer"
  10679. }
  10680. }
  10681. },
  10682. "models.Division": {
  10683. "type": "object",
  10684. "required": [
  10685. "autoid",
  10686. "divisioncode"
  10687. ],
  10688. "properties": {
  10689. "autoid": {
  10690. "description": "自增ID",
  10691. "type": "integer"
  10692. },
  10693. "divisioncode": {
  10694. "description": "行政代码",
  10695. "type": "string"
  10696. },
  10697. "divisionlevel": {
  10698. "description": "行政级别",
  10699. "type": "string"
  10700. },
  10701. "divisionname": {
  10702. "description": "行政名称",
  10703. "type": "string"
  10704. },
  10705. "modifierid": {
  10706. "description": "修改人",
  10707. "type": "integer"
  10708. },
  10709. "modifytime": {
  10710. "description": "修改时间",
  10711. "type": "string"
  10712. },
  10713. "parentcode": {
  10714. "description": "上级行政代码",
  10715. "type": "string"
  10716. },
  10717. "pathname": {
  10718. "description": "路径名称",
  10719. "type": "string"
  10720. },
  10721. "postcode": {
  10722. "description": "邮政编码",
  10723. "type": "string"
  10724. },
  10725. "separablename": {
  10726. "description": "可拆分的全称",
  10727. "type": "string"
  10728. },
  10729. "shortcode": {
  10730. "description": "地区简码",
  10731. "type": "string"
  10732. }
  10733. }
  10734. },
  10735. "models.Enumdicitem": {
  10736. "type": "object",
  10737. "required": [
  10738. "autoid",
  10739. "enumdiccode",
  10740. "enumdicid",
  10741. "enumitemname"
  10742. ],
  10743. "properties": {
  10744. "autoid": {
  10745. "description": "自增ID",
  10746. "type": "integer"
  10747. },
  10748. "bankmappedvalue": {
  10749. "description": "银行服务对应值",
  10750. "type": "string"
  10751. },
  10752. "enumdiccode": {
  10753. "description": "所属枚举代码",
  10754. "type": "string"
  10755. },
  10756. "enumdicid": {
  10757. "description": "所属枚举ID",
  10758. "type": "integer"
  10759. },
  10760. "enumdicname": {
  10761. "description": "枚举项名称",
  10762. "type": "string"
  10763. },
  10764. "enumitemname": {
  10765. "description": "枚举项值",
  10766. "type": "integer"
  10767. },
  10768. "enumitemstatus": {
  10769. "description": "枚举项状态 - 1.启用 2.不启用",
  10770. "type": "integer"
  10771. },
  10772. "enumitemvalue": {
  10773. "description": "通用值 - [币种通用简写]",
  10774. "type": "string"
  10775. },
  10776. "param1": {
  10777. "description": "参数1[币种:币种小数位]",
  10778. "type": "string"
  10779. },
  10780. "param2": {
  10781. "description": "参数1[币种:币种显示单位]",
  10782. "type": "string"
  10783. },
  10784. "remark": {
  10785. "description": "备注",
  10786. "type": "string"
  10787. }
  10788. }
  10789. },
  10790. "models.ErmcpMiddleGoodsModel": {
  10791. "type": "object",
  10792. "properties": {
  10793. "areauserid": {
  10794. "description": "机构用户ID",
  10795. "type": "integer"
  10796. },
  10797. "enumdicname": {
  10798. "description": "单位名称",
  10799. "type": "string"
  10800. },
  10801. "evaluateratio": {
  10802. "description": "估价系数",
  10803. "type": "number"
  10804. },
  10805. "goodsgroupid": {
  10806. "description": "关联期货品种ID",
  10807. "type": "integer"
  10808. },
  10809. "isvalid": {
  10810. "description": "状态 0-无效(停用) 1-有效(正常)",
  10811. "type": "integer"
  10812. },
  10813. "middlegoodscode": {
  10814. "description": "套保品种代码",
  10815. "type": "string"
  10816. },
  10817. "middlegoodsid": {
  10818. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10819. "type": "integer"
  10820. },
  10821. "middlegoodsname": {
  10822. "description": "套保品种名称",
  10823. "type": "string"
  10824. },
  10825. "modifytime": {
  10826. "description": "修改时间",
  10827. "type": "string"
  10828. },
  10829. "needhedgeratio": {
  10830. "description": "套保比率",
  10831. "type": "number"
  10832. },
  10833. "qtydecimalplace": {
  10834. "description": "数量小数位",
  10835. "type": "integer"
  10836. },
  10837. "relatedgoodsid": {
  10838. "description": "关联交易商品ID",
  10839. "type": "integer"
  10840. },
  10841. "relatedgoodstype": {
  10842. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10843. "type": "integer"
  10844. }
  10845. }
  10846. },
  10847. "models.ErmcpReportDayFR": {
  10848. "type": "object",
  10849. "properties": {
  10850. "areauserid": {
  10851. "description": "所属机构",
  10852. "type": "integer"
  10853. },
  10854. "collectinvoiceamount": {
  10855. "description": "今日开票金额",
  10856. "type": "number"
  10857. },
  10858. "collectinvoicecount": {
  10859. "description": "今日开票笔数",
  10860. "type": "integer"
  10861. },
  10862. "collectmoneyamount": {
  10863. "description": "今日收款金额",
  10864. "type": "number"
  10865. },
  10866. "collectmoneycount": {
  10867. "description": "今日收款笔数",
  10868. "type": "integer"
  10869. },
  10870. "payinvoiceamount": {
  10871. "description": "今日收票金额",
  10872. "type": "number"
  10873. },
  10874. "payinvoicecount": {
  10875. "description": "今日收票笔数",
  10876. "type": "integer"
  10877. },
  10878. "paymoneyamount": {
  10879. "description": "今日付款金额",
  10880. "type": "number"
  10881. },
  10882. "paymoneycount": {
  10883. "description": "今日付款笔数",
  10884. "type": "integer"
  10885. },
  10886. "reckondate": {
  10887. "description": "日照时期(yyyyMMdd)",
  10888. "type": "string"
  10889. },
  10890. "updatetime": {
  10891. "description": "更新时间",
  10892. "type": "string"
  10893. }
  10894. }
  10895. },
  10896. "models.ErmcpWrstandard": {
  10897. "type": "object",
  10898. "properties": {
  10899. "areauserid": {
  10900. "description": "所属机构",
  10901. "type": "integer"
  10902. },
  10903. "createtime": {
  10904. "description": "创建时间",
  10905. "type": "string"
  10906. },
  10907. "creatorid": {
  10908. "description": "创建人",
  10909. "type": "integer"
  10910. },
  10911. "deliverygoodsid": {
  10912. "description": "品种ID",
  10913. "type": "integer"
  10914. },
  10915. "enumdicname": {
  10916. "description": "单位名称",
  10917. "type": "string"
  10918. },
  10919. "isvalid": {
  10920. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10921. "type": "integer"
  10922. },
  10923. "minivalue": {
  10924. "description": "最小变动值",
  10925. "type": "integer"
  10926. },
  10927. "minivaluedp": {
  10928. "description": "最小变动值小数位",
  10929. "type": "integer"
  10930. },
  10931. "realminivalue": {
  10932. "description": "实际最小变动值",
  10933. "type": "integer"
  10934. },
  10935. "realminivaluedp": {
  10936. "description": "实际最小变动值小数位",
  10937. "type": "integer"
  10938. },
  10939. "remark": {
  10940. "description": "备注",
  10941. "type": "string"
  10942. },
  10943. "unitid": {
  10944. "description": "单位ID",
  10945. "type": "integer"
  10946. },
  10947. "updatetime": {
  10948. "description": "更新时间",
  10949. "type": "string"
  10950. },
  10951. "wrstandardcode": {
  10952. "description": "现货商品代码",
  10953. "type": "string"
  10954. },
  10955. "wrstandardid": {
  10956. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10957. "type": "integer"
  10958. },
  10959. "wrstandardname": {
  10960. "description": "现货商品名称",
  10961. "type": "string"
  10962. }
  10963. }
  10964. },
  10965. "models.Goods": {
  10966. "type": "object",
  10967. "required": [
  10968. "goodscode",
  10969. "goodsid",
  10970. "goodsname",
  10971. "marketid"
  10972. ],
  10973. "properties": {
  10974. "agreeunit": {
  10975. "description": "合约单位",
  10976. "type": "number"
  10977. },
  10978. "auditaccountid": {
  10979. "description": "审核操作员账号",
  10980. "type": "integer"
  10981. },
  10982. "audittime": {
  10983. "description": "审核时间",
  10984. "type": "string"
  10985. },
  10986. "cancelaccountid": {
  10987. "description": "注销操作员账号",
  10988. "type": "integer"
  10989. },
  10990. "canceltime": {
  10991. "description": "注销时间",
  10992. "type": "string"
  10993. },
  10994. "closepricemode": {
  10995. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  10996. "type": "integer"
  10997. },
  10998. "closepriceparam": {
  10999. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11000. "type": "number"
  11001. },
  11002. "createtime": {
  11003. "description": "创建时间",
  11004. "type": "string"
  11005. },
  11006. "creatorid": {
  11007. "description": "创建人",
  11008. "type": "integer"
  11009. },
  11010. "currencyid": {
  11011. "description": "报价货币ID",
  11012. "type": "integer"
  11013. },
  11014. "cutmode": {
  11015. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11016. "type": "integer"
  11017. },
  11018. "decimalplace": {
  11019. "description": "报价小数位",
  11020. "type": "integer"
  11021. },
  11022. "delistingdate": {
  11023. "description": "商品退市时间(状态:退市) -- 已作废",
  11024. "type": "string"
  11025. },
  11026. "delistingmode": {
  11027. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11028. "type": "integer"
  11029. },
  11030. "deliveryflag": {
  11031. "description": "交割标志 - 0:不可交割 1:可交割",
  11032. "type": "integer"
  11033. },
  11034. "forceclosemode": {
  11035. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11036. "type": "integer"
  11037. },
  11038. "forceclosevalue": {
  11039. "description": "定期强平参数 [收益权]",
  11040. "type": "integer"
  11041. },
  11042. "goodscode": {
  11043. "description": "商品代码(内部)",
  11044. "type": "string"
  11045. },
  11046. "goodscurrencyid": {
  11047. "description": "合约货币ID",
  11048. "type": "integer"
  11049. },
  11050. "goodsgroupid": {
  11051. "description": "所属商品组ID",
  11052. "type": "integer"
  11053. },
  11054. "goodsid": {
  11055. "description": "商品ID(自增ID SEQ_GOODS)",
  11056. "type": "integer"
  11057. },
  11058. "goodsname": {
  11059. "description": "商品名称",
  11060. "type": "string"
  11061. },
  11062. "goodsquotetype": {
  11063. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11064. "type": "integer"
  11065. },
  11066. "goodsstatus": {
  11067. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11068. "type": "integer"
  11069. },
  11070. "goodstradetype": {
  11071. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11072. "type": "integer"
  11073. },
  11074. "goodunitid": {
  11075. "description": "报价单位ID",
  11076. "type": "integer"
  11077. },
  11078. "hasquoter": {
  11079. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11080. "type": "integer"
  11081. },
  11082. "hqprotecttime": {
  11083. "description": "行情保护时间(秒)",
  11084. "type": "integer"
  11085. },
  11086. "innerdealmode": {
  11087. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11088. "type": "integer"
  11089. },
  11090. "isbuylimited": {
  11091. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11092. "type": "integer"
  11093. },
  11094. "lasttradedate": {
  11095. "description": "最后交易日期(状态:待退市)",
  11096. "type": "string"
  11097. },
  11098. "listingdate": {
  11099. "description": "交易开始日期",
  11100. "type": "string"
  11101. },
  11102. "marketid": {
  11103. "description": "所属市场ID",
  11104. "type": "integer"
  11105. },
  11106. "modifierid": {
  11107. "description": "修改人",
  11108. "type": "integer"
  11109. },
  11110. "modifystatus": {
  11111. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11112. "type": "integer"
  11113. },
  11114. "modifytime": {
  11115. "description": "修改时间",
  11116. "type": "string"
  11117. },
  11118. "outerdealmode": {
  11119. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11120. "type": "integer"
  11121. },
  11122. "outgoodscode": {
  11123. "description": "商品代码(外部)",
  11124. "type": "string"
  11125. },
  11126. "qtydecimalplace": {
  11127. "description": "成交量小数位",
  11128. "type": "integer"
  11129. },
  11130. "quotegear": {
  11131. "description": "行情档位(1-10)",
  11132. "type": "integer"
  11133. },
  11134. "quoteminunit": {
  11135. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11136. "type": "integer"
  11137. },
  11138. "quoteshowtype": {
  11139. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  11140. "type": "integer"
  11141. },
  11142. "quoteshowtypeinterval": {
  11143. "description": "行情报价间隔时间(秒)(成交价时为0)",
  11144. "type": "integer"
  11145. },
  11146. "remark": {
  11147. "description": "备注",
  11148. "type": "string"
  11149. }
  11150. }
  11151. },
  11152. "models.GoodsBrand": {
  11153. "type": "object",
  11154. "properties": {
  11155. "brandid": {
  11156. "description": "品牌ID",
  11157. "type": "integer"
  11158. },
  11159. "brandname": {
  11160. "description": "品牌名称",
  11161. "type": "string"
  11162. },
  11163. "isvalid": {
  11164. "description": "是否有效 - 0:无效 1:有效",
  11165. "type": "integer"
  11166. }
  11167. }
  11168. },
  11169. "models.GoodsGroupConvert": {
  11170. "type": "object",
  11171. "properties": {
  11172. "convertratio": {
  11173. "description": "折算系数",
  11174. "type": "number"
  11175. },
  11176. "dstgoodsgroupid": {
  11177. "description": "目标期货品种ID",
  11178. "type": "integer"
  11179. },
  11180. "goodsgroupname": {
  11181. "description": "期货品种名称",
  11182. "type": "string"
  11183. },
  11184. "outergroupcode": {
  11185. "description": "期货品种代码",
  11186. "type": "string"
  11187. },
  11188. "srcgoodsgroupid": {
  11189. "description": "源期货品种ID",
  11190. "type": "integer"
  11191. }
  11192. }
  11193. },
  11194. "models.GoodsIDAndName": {
  11195. "type": "object",
  11196. "required": [
  11197. "goodscode",
  11198. "goodsid",
  11199. "goodsname",
  11200. "marketid"
  11201. ],
  11202. "properties": {
  11203. "goodscode": {
  11204. "description": "商品代码(内部)",
  11205. "type": "string"
  11206. },
  11207. "goodsid": {
  11208. "description": "商品ID(自增ID SEQ_GOODS)",
  11209. "type": "integer"
  11210. },
  11211. "goodsname": {
  11212. "description": "商品名称",
  11213. "type": "string"
  11214. },
  11215. "marketid": {
  11216. "description": "所属市场ID",
  11217. "type": "integer"
  11218. }
  11219. }
  11220. },
  11221. "models.GoodsTypeModel": {
  11222. "type": "object",
  11223. "properties": {
  11224. "modelid": {
  11225. "description": "型号ID",
  11226. "type": "integer"
  11227. },
  11228. "modelname": {
  11229. "description": "型号名称",
  11230. "type": "string"
  11231. },
  11232. "updatetime": {
  11233. "description": "更新时间",
  11234. "type": "string"
  11235. }
  11236. }
  11237. },
  11238. "models.HsbyBuyMyPayOrder": {
  11239. "type": "object",
  11240. "required": [
  11241. "goodscode",
  11242. "goodsname",
  11243. "tradeid",
  11244. "trademode"
  11245. ],
  11246. "properties": {
  11247. "agreeunit": {
  11248. "description": "合约单位",
  11249. "type": "number"
  11250. },
  11251. "buyaccountid": {
  11252. "description": "买方账号ID[报价币种]",
  11253. "type": "integer"
  11254. },
  11255. "buyorderid": {
  11256. "description": "买方委托单号",
  11257. "type": "string"
  11258. },
  11259. "createtime": {
  11260. "description": "创建时间",
  11261. "type": "string"
  11262. },
  11263. "currencysign": {
  11264. "description": "货币符号",
  11265. "type": "string"
  11266. },
  11267. "decimalplace": {
  11268. "description": "报价小数位",
  11269. "type": "integer"
  11270. },
  11271. "goodscode": {
  11272. "description": "商品代码(内部)",
  11273. "type": "string"
  11274. },
  11275. "goodsid": {
  11276. "description": "商品ID",
  11277. "type": "integer"
  11278. },
  11279. "goodsname": {
  11280. "description": "商品名称",
  11281. "type": "string"
  11282. },
  11283. "marketid": {
  11284. "description": "市场ID",
  11285. "type": "integer"
  11286. },
  11287. "offamount": {
  11288. "description": "优惠金额",
  11289. "type": "number"
  11290. },
  11291. "payamount": {
  11292. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11293. "type": "number"
  11294. },
  11295. "payflag": {
  11296. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11297. "type": "integer"
  11298. },
  11299. "paylimitedtime": {
  11300. "description": "支付期限",
  11301. "type": "string"
  11302. },
  11303. "paytime": {
  11304. "description": "付款时间",
  11305. "type": "string"
  11306. },
  11307. "picurls1": {
  11308. "description": "预售商品介绍图片[多张用逗号分隔]",
  11309. "type": "string"
  11310. },
  11311. "picurls2": {
  11312. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11313. "type": "string"
  11314. },
  11315. "sellaccountid": {
  11316. "description": "卖方账号ID[报价币种]",
  11317. "type": "integer"
  11318. },
  11319. "sellorderid": {
  11320. "description": "卖方委托单号",
  11321. "type": "string"
  11322. },
  11323. "tradeamount": {
  11324. "description": "成交金额",
  11325. "type": "number"
  11326. },
  11327. "tradecharge": {
  11328. "description": "成交手续费(买方)",
  11329. "type": "number"
  11330. },
  11331. "tradedate": {
  11332. "description": "交易日(yyyyMMdd)",
  11333. "type": "string"
  11334. },
  11335. "tradeid": {
  11336. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11337. "type": "string"
  11338. },
  11339. "trademode": {
  11340. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11341. "type": "integer"
  11342. },
  11343. "tradeprice": {
  11344. "description": "成交价格",
  11345. "type": "number"
  11346. },
  11347. "tradeqty": {
  11348. "description": "成交数量",
  11349. "type": "integer"
  11350. },
  11351. "vendorname1": {
  11352. "description": "预售商品供应商名称",
  11353. "type": "string"
  11354. },
  11355. "vendorname2": {
  11356. "description": "挂牌商品供应商名称",
  11357. "type": "string"
  11358. }
  11359. }
  11360. },
  11361. "models.HsbyBuyMyTradeDetail": {
  11362. "type": "object",
  11363. "required": [
  11364. "accountid",
  11365. "buyorsell",
  11366. "goodscode",
  11367. "goodsid",
  11368. "goodsname",
  11369. "marketid",
  11370. "orderid",
  11371. "qty",
  11372. "time",
  11373. "trademode"
  11374. ],
  11375. "properties": {
  11376. "accountid": {
  11377. "description": "账户ID[报价币种]",
  11378. "type": "integer"
  11379. },
  11380. "agreeunit": {
  11381. "description": "合约单位",
  11382. "type": "number"
  11383. },
  11384. "amount": {
  11385. "description": "金额 = 价格 * 数量 * 合约单位",
  11386. "type": "number"
  11387. },
  11388. "buyorsell": {
  11389. "description": "买卖 - 0:买 1:卖",
  11390. "type": "integer"
  11391. },
  11392. "currencysign": {
  11393. "description": "货币符号",
  11394. "type": "string"
  11395. },
  11396. "decimalplace": {
  11397. "description": "报价小数位",
  11398. "type": "integer"
  11399. },
  11400. "goodscode": {
  11401. "description": "商品代码(内部)",
  11402. "type": "string"
  11403. },
  11404. "goodsid": {
  11405. "description": "商品ID",
  11406. "type": "integer"
  11407. },
  11408. "goodsname": {
  11409. "description": "商品名称",
  11410. "type": "string"
  11411. },
  11412. "marketid": {
  11413. "description": "市场ID",
  11414. "type": "integer"
  11415. },
  11416. "orderid": {
  11417. "description": "单号(成交单号)",
  11418. "type": "string"
  11419. },
  11420. "picurls1": {
  11421. "description": "预售商品介绍图片[多张用逗号分隔]",
  11422. "type": "string"
  11423. },
  11424. "picurls2": {
  11425. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11426. "type": "string"
  11427. },
  11428. "price": {
  11429. "description": "价格",
  11430. "type": "number"
  11431. },
  11432. "qty": {
  11433. "description": "数量",
  11434. "type": "integer"
  11435. },
  11436. "time": {
  11437. "description": "时间",
  11438. "type": "string"
  11439. },
  11440. "trademode": {
  11441. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11442. "type": "integer"
  11443. },
  11444. "vendorname1": {
  11445. "description": "预售商品供应商名称",
  11446. "type": "string"
  11447. },
  11448. "vendorname2": {
  11449. "description": "挂牌商品供应商名称",
  11450. "type": "string"
  11451. }
  11452. }
  11453. },
  11454. "models.HsbyGoodsOrderDetail": {
  11455. "type": "object",
  11456. "required": [
  11457. "buyorsell",
  11458. "orderid",
  11459. "ordertime"
  11460. ],
  11461. "properties": {
  11462. "buyorsell": {
  11463. "description": "买卖 - 0:买 1:卖",
  11464. "type": "integer"
  11465. },
  11466. "currencysign": {
  11467. "description": "货币符号",
  11468. "type": "string"
  11469. },
  11470. "customername": {
  11471. "description": "客户名称(企业名称),已脱敏",
  11472. "type": "string"
  11473. },
  11474. "enableqty": {
  11475. "description": "可用数量",
  11476. "type": "integer"
  11477. },
  11478. "goodunit": {
  11479. "description": "报价单位",
  11480. "type": "string"
  11481. },
  11482. "orderid": {
  11483. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11484. "type": "string"
  11485. },
  11486. "orderprice": {
  11487. "description": "委托价格",
  11488. "type": "number"
  11489. },
  11490. "ordertime": {
  11491. "description": "委托时间",
  11492. "type": "string"
  11493. }
  11494. }
  11495. },
  11496. "models.HsbyListingGoodsDetail": {
  11497. "type": "object",
  11498. "required": [
  11499. "goodscode",
  11500. "goodsid",
  11501. "goodsname",
  11502. "marketid",
  11503. "trademode"
  11504. ],
  11505. "properties": {
  11506. "agreeunit": {
  11507. "description": "合约单位",
  11508. "type": "number"
  11509. },
  11510. "buymaxqty": {
  11511. "description": "购买上限 [71] - 0为不限",
  11512. "type": "integer"
  11513. },
  11514. "currency": {
  11515. "description": "货币",
  11516. "type": "string"
  11517. },
  11518. "currencysign": {
  11519. "description": "货币符号",
  11520. "type": "string"
  11521. },
  11522. "decimalplace": {
  11523. "description": "报价小数位",
  11524. "type": "integer"
  11525. },
  11526. "desccityid": {
  11527. "description": "目的地(市)ID",
  11528. "type": "integer"
  11529. },
  11530. "descprovinceid": {
  11531. "description": "目的地(省)ID",
  11532. "type": "integer"
  11533. },
  11534. "goodscode": {
  11535. "description": "商品代码(内部)",
  11536. "type": "string"
  11537. },
  11538. "goodsdesc": {
  11539. "description": "商品详情",
  11540. "type": "string"
  11541. },
  11542. "goodsid": {
  11543. "description": "商品ID(自增ID SEQ_GOODS)",
  11544. "type": "integer"
  11545. },
  11546. "goodsname": {
  11547. "description": "商品名称",
  11548. "type": "string"
  11549. },
  11550. "goodsprice": {
  11551. "description": "商品价格",
  11552. "type": "number"
  11553. },
  11554. "hotindex": {
  11555. "description": "景点热度",
  11556. "type": "integer"
  11557. },
  11558. "last": {
  11559. "description": "现价",
  11560. "type": "number"
  11561. },
  11562. "limitdown": {
  11563. "description": "跌停价",
  11564. "type": "number"
  11565. },
  11566. "limitup": {
  11567. "description": "涨停价",
  11568. "type": "number"
  11569. },
  11570. "lotsize": {
  11571. "description": "手数最小变动单位",
  11572. "type": "integer"
  11573. },
  11574. "marketid": {
  11575. "description": "所属市场ID",
  11576. "type": "integer"
  11577. },
  11578. "picurls": {
  11579. "description": "介绍图片[多张用逗号分隔]",
  11580. "type": "string"
  11581. },
  11582. "quoteminunit": {
  11583. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11584. "type": "integer"
  11585. },
  11586. "stepvalue": {
  11587. "description": "价格最小变动单位",
  11588. "type": "number"
  11589. },
  11590. "trademode": {
  11591. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11592. "type": "integer"
  11593. },
  11594. "vendorattr": {
  11595. "description": "供应商附件(多张,逗号分隔)",
  11596. "type": "string"
  11597. },
  11598. "vendorname": {
  11599. "description": "供应商名称",
  11600. "type": "string"
  11601. },
  11602. "vendorphone": {
  11603. "description": "供应商客服电话",
  11604. "type": "string"
  11605. },
  11606. "videourls": {
  11607. "description": "介绍视频[多张用逗号分隔]",
  11608. "type": "string"
  11609. }
  11610. }
  11611. },
  11612. "models.HsbyMarketGoods": {
  11613. "type": "object",
  11614. "required": [
  11615. "accountid",
  11616. "buyorsell",
  11617. "goodscode",
  11618. "goodsid",
  11619. "goodsname",
  11620. "marketid",
  11621. "orderid",
  11622. "trademode"
  11623. ],
  11624. "properties": {
  11625. "accountid": {
  11626. "description": "账户ID[报价币种]",
  11627. "type": "integer"
  11628. },
  11629. "agreeunit": {
  11630. "description": "合约单位",
  11631. "type": "number"
  11632. },
  11633. "buyorsell": {
  11634. "description": "买卖 - 0:买 1:卖",
  11635. "type": "integer"
  11636. },
  11637. "categoryid": {
  11638. "description": "类别ID(WRCATEGORY)",
  11639. "type": "integer"
  11640. },
  11641. "currency": {
  11642. "description": "货币",
  11643. "type": "string"
  11644. },
  11645. "currencysign": {
  11646. "description": "货币符号",
  11647. "type": "string"
  11648. },
  11649. "customername": {
  11650. "description": "卖家名称",
  11651. "type": "string"
  11652. },
  11653. "decimalplace": {
  11654. "description": "报价小数位",
  11655. "type": "integer"
  11656. },
  11657. "goodscode": {
  11658. "description": "商品代码(内部)",
  11659. "type": "string"
  11660. },
  11661. "goodsid": {
  11662. "description": "商品ID",
  11663. "type": "integer"
  11664. },
  11665. "goodsname": {
  11666. "description": "商品名称",
  11667. "type": "string"
  11668. },
  11669. "goodsprice": {
  11670. "description": "商品价格",
  11671. "type": "number"
  11672. },
  11673. "hascoupon": {
  11674. "description": "是否可用优惠卷",
  11675. "type": "boolean"
  11676. },
  11677. "hotindex": {
  11678. "description": "景点热度",
  11679. "type": "integer"
  11680. },
  11681. "marketid": {
  11682. "description": "市场ID",
  11683. "type": "integer"
  11684. },
  11685. "orderid": {
  11686. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11687. "type": "string"
  11688. },
  11689. "orderprice": {
  11690. "description": "委托价格",
  11691. "type": "number"
  11692. },
  11693. "orderstatus": {
  11694. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11695. "type": "integer"
  11696. },
  11697. "picurls": {
  11698. "description": "介绍图片[多张用逗号分隔]",
  11699. "type": "string"
  11700. },
  11701. "quoteminunit": {
  11702. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11703. "type": "integer"
  11704. },
  11705. "sellUserID": {
  11706. "description": "卖方UserID",
  11707. "type": "integer"
  11708. },
  11709. "trademode": {
  11710. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11711. "type": "integer"
  11712. },
  11713. "videourls": {
  11714. "description": "介绍视频[多张用逗号分隔]",
  11715. "type": "string"
  11716. }
  11717. }
  11718. },
  11719. "models.HsbyMarketGoodsDetail": {
  11720. "type": "object",
  11721. "required": [
  11722. "accountid",
  11723. "buyorsell",
  11724. "goodscode",
  11725. "goodsid",
  11726. "goodsname",
  11727. "marketid",
  11728. "orderid",
  11729. "orderqty",
  11730. "trademode"
  11731. ],
  11732. "properties": {
  11733. "accountid": {
  11734. "description": "账户ID[报价币种]",
  11735. "type": "integer"
  11736. },
  11737. "agreeunit": {
  11738. "description": "合约单位",
  11739. "type": "number"
  11740. },
  11741. "buymaxqty": {
  11742. "description": "购买上限 [71] - 0为不限",
  11743. "type": "integer"
  11744. },
  11745. "buyorsell": {
  11746. "description": "买卖 - 0:买 1:卖",
  11747. "type": "integer"
  11748. },
  11749. "cancelqty": {
  11750. "description": "撤单数量",
  11751. "type": "integer"
  11752. },
  11753. "categoryid": {
  11754. "description": "类别ID(WRCATEGORY)",
  11755. "type": "integer"
  11756. },
  11757. "currency": {
  11758. "description": "货币",
  11759. "type": "string"
  11760. },
  11761. "currencysign": {
  11762. "description": "货币符号",
  11763. "type": "string"
  11764. },
  11765. "customername": {
  11766. "description": "卖家名称",
  11767. "type": "string"
  11768. },
  11769. "decimalplace": {
  11770. "description": "报价小数位",
  11771. "type": "integer"
  11772. },
  11773. "goodscode": {
  11774. "description": "商品代码(内部)",
  11775. "type": "string"
  11776. },
  11777. "goodsdesc": {
  11778. "description": "商品详情",
  11779. "type": "string"
  11780. },
  11781. "goodsid": {
  11782. "description": "商品ID",
  11783. "type": "integer"
  11784. },
  11785. "goodsname": {
  11786. "description": "商品名称",
  11787. "type": "string"
  11788. },
  11789. "goodsprice": {
  11790. "description": "商品价格",
  11791. "type": "number"
  11792. },
  11793. "hotindex": {
  11794. "description": "景点热度",
  11795. "type": "integer"
  11796. },
  11797. "lotsize": {
  11798. "description": "手数最小变动单位",
  11799. "type": "integer"
  11800. },
  11801. "marketid": {
  11802. "description": "市场ID",
  11803. "type": "integer"
  11804. },
  11805. "orderid": {
  11806. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11807. "type": "string"
  11808. },
  11809. "orderprice": {
  11810. "description": "委托价格",
  11811. "type": "number"
  11812. },
  11813. "orderqty": {
  11814. "description": "委托数量",
  11815. "type": "integer"
  11816. },
  11817. "orderstatus": {
  11818. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11819. "type": "integer"
  11820. },
  11821. "picurls": {
  11822. "description": "介绍图片[多张用逗号分隔]",
  11823. "type": "string"
  11824. },
  11825. "quoteminunit": {
  11826. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11827. "type": "integer"
  11828. },
  11829. "sellUserID": {
  11830. "description": "卖方UserID",
  11831. "type": "integer"
  11832. },
  11833. "trademode": {
  11834. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11835. "type": "integer"
  11836. },
  11837. "tradeqty": {
  11838. "description": "成交数量",
  11839. "type": "integer"
  11840. },
  11841. "vendorattr": {
  11842. "description": "供应商附件(多张,逗号分隔)",
  11843. "type": "string"
  11844. },
  11845. "vendorname": {
  11846. "description": "供应商名称",
  11847. "type": "string"
  11848. },
  11849. "vendorphone": {
  11850. "description": "供应商客服电话",
  11851. "type": "string"
  11852. },
  11853. "videourls": {
  11854. "description": "介绍视频[多张用逗号分隔]",
  11855. "type": "string"
  11856. }
  11857. }
  11858. },
  11859. "models.HsbyMarketInfo": {
  11860. "type": "object",
  11861. "required": [
  11862. "marketid",
  11863. "marketstatus",
  11864. "trademode"
  11865. ],
  11866. "properties": {
  11867. "marketid": {
  11868. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11869. "type": "integer"
  11870. },
  11871. "marketname": {
  11872. "description": "市场名称",
  11873. "type": "string"
  11874. },
  11875. "marketstatus": {
  11876. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11877. "type": "integer"
  11878. },
  11879. "trademode": {
  11880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11881. "type": "integer"
  11882. }
  11883. }
  11884. },
  11885. "models.HsbyMyGoods": {
  11886. "type": "object",
  11887. "required": [
  11888. "accountid",
  11889. "goodscode",
  11890. "goodsid",
  11891. "goodsname",
  11892. "marketid",
  11893. "trademode"
  11894. ],
  11895. "properties": {
  11896. "accountid": {
  11897. "description": "账号Id",
  11898. "type": "integer"
  11899. },
  11900. "agreeunit": {
  11901. "description": "合约单位",
  11902. "type": "number"
  11903. },
  11904. "buyaverageprice": {
  11905. "description": "持仓均价",
  11906. "type": "number"
  11907. },
  11908. "buycurholderamount": {
  11909. "description": "买当前持仓总金额[商品币种]",
  11910. "type": "number"
  11911. },
  11912. "buycurpositionqty": {
  11913. "description": "买当前持仓总数量",
  11914. "type": "integer"
  11915. },
  11916. "buymaxqty": {
  11917. "description": "购买上限 [71] - 0为不限",
  11918. "type": "integer"
  11919. },
  11920. "currencysign": {
  11921. "description": "货币符号",
  11922. "type": "string"
  11923. },
  11924. "decimalplace": {
  11925. "description": "报价小数位",
  11926. "type": "integer"
  11927. },
  11928. "enableqty": {
  11929. "description": "可用数量",
  11930. "type": "integer"
  11931. },
  11932. "goodscode": {
  11933. "description": "商品代码(内部)",
  11934. "type": "string"
  11935. },
  11936. "goodsid": {
  11937. "description": "商品Id",
  11938. "type": "integer"
  11939. },
  11940. "goodsname": {
  11941. "description": "商品名称",
  11942. "type": "string"
  11943. },
  11944. "goodsprice": {
  11945. "description": "商品价格",
  11946. "type": "number"
  11947. },
  11948. "goodsstatus": {
  11949. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11950. "type": "integer"
  11951. },
  11952. "last": {
  11953. "description": "现价(仅使用于挂牌点选)",
  11954. "type": "number"
  11955. },
  11956. "limitdown": {
  11957. "description": "跌停价(仅使用于挂牌点选)",
  11958. "type": "number"
  11959. },
  11960. "limitup": {
  11961. "description": "涨停价(仅使用于挂牌点选)",
  11962. "type": "number"
  11963. },
  11964. "lotsize": {
  11965. "description": "手数最小变动单位",
  11966. "type": "integer"
  11967. },
  11968. "marketid": {
  11969. "description": "所属市场ID",
  11970. "type": "integer"
  11971. },
  11972. "picurls": {
  11973. "description": "介绍图片[多张用逗号分隔]",
  11974. "type": "string"
  11975. },
  11976. "quoteminunit": {
  11977. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11978. "type": "integer"
  11979. },
  11980. "stepvalue": {
  11981. "description": "价格最小变动单位",
  11982. "type": "number"
  11983. },
  11984. "trademode": {
  11985. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11986. "type": "integer"
  11987. }
  11988. }
  11989. },
  11990. "models.HsbyMyPackage": {
  11991. "type": "object",
  11992. "required": [
  11993. "goodscode",
  11994. "goodsname",
  11995. "takeorderid",
  11996. "trademode"
  11997. ],
  11998. "properties": {
  11999. "accountid": {
  12000. "description": "账户ID",
  12001. "type": "integer"
  12002. },
  12003. "address": {
  12004. "description": "提货人详细地址",
  12005. "type": "string"
  12006. },
  12007. "agreeunit": {
  12008. "description": "合约单位",
  12009. "type": "number"
  12010. },
  12011. "amount": {
  12012. "description": "提货金额",
  12013. "type": "number"
  12014. },
  12015. "auditer": {
  12016. "description": "审核人",
  12017. "type": "integer"
  12018. },
  12019. "audittime": {
  12020. "description": "审核时间",
  12021. "type": "string"
  12022. },
  12023. "averageprice": {
  12024. "description": "均价",
  12025. "type": "number"
  12026. },
  12027. "cardnum": {
  12028. "description": "提货人证件号码",
  12029. "type": "string"
  12030. },
  12031. "cardtypeid": {
  12032. "description": "提货人证件类型",
  12033. "type": "integer"
  12034. },
  12035. "checkremark": {
  12036. "description": "审核备注",
  12037. "type": "string"
  12038. },
  12039. "currencysign": {
  12040. "description": "货币符号",
  12041. "type": "string"
  12042. },
  12043. "decimalplace": {
  12044. "description": "报价小数位",
  12045. "type": "integer"
  12046. },
  12047. "goodscode": {
  12048. "description": "商品代码(内部)",
  12049. "type": "string"
  12050. },
  12051. "goodsid": {
  12052. "description": "商品ID",
  12053. "type": "integer"
  12054. },
  12055. "goodsname": {
  12056. "description": "商品名称",
  12057. "type": "string"
  12058. },
  12059. "handlestatus": {
  12060. "description": "处理状态",
  12061. "type": "integer"
  12062. },
  12063. "marketid": {
  12064. "description": "市场ID",
  12065. "type": "integer"
  12066. },
  12067. "phonenum": {
  12068. "description": "提货人联系方式",
  12069. "type": "string"
  12070. },
  12071. "picurls": {
  12072. "description": "介绍图片[多张用逗号分隔]",
  12073. "type": "string"
  12074. },
  12075. "qty": {
  12076. "description": "提货数量",
  12077. "type": "number"
  12078. },
  12079. "recivername": {
  12080. "description": "提货人姓名",
  12081. "type": "string"
  12082. },
  12083. "reqtime": {
  12084. "description": "更新时间",
  12085. "type": "string"
  12086. },
  12087. "takemode": {
  12088. "description": "提货方式 - 2:自提 3:配送",
  12089. "type": "integer"
  12090. },
  12091. "takeorderid": {
  12092. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12093. "type": "string"
  12094. },
  12095. "takeorderstatus": {
  12096. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12097. "type": "integer"
  12098. },
  12099. "takeremark": {
  12100. "description": "提货备注",
  12101. "type": "string"
  12102. },
  12103. "tradedate": {
  12104. "description": "交易日(yyyyMMdd)",
  12105. "type": "string"
  12106. },
  12107. "trademode": {
  12108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12109. "type": "integer"
  12110. },
  12111. "userid": {
  12112. "description": "用户ID",
  12113. "type": "integer"
  12114. },
  12115. "vendorname": {
  12116. "description": "供应商名称",
  12117. "type": "string"
  12118. }
  12119. }
  12120. },
  12121. "models.HsbyPreGoods": {
  12122. "type": "object",
  12123. "required": [
  12124. "goodscode",
  12125. "goodsid",
  12126. "goodsname",
  12127. "marketid",
  12128. "trademode"
  12129. ],
  12130. "properties": {
  12131. "agreeunit": {
  12132. "description": "合约单位",
  12133. "type": "number"
  12134. },
  12135. "currency": {
  12136. "description": "货币",
  12137. "type": "string"
  12138. },
  12139. "currencysign": {
  12140. "description": "货币符号",
  12141. "type": "string"
  12142. },
  12143. "decimalplace": {
  12144. "description": "报价小数位",
  12145. "type": "integer"
  12146. },
  12147. "enableqty": {
  12148. "description": "剩余数量",
  12149. "type": "integer"
  12150. },
  12151. "goodscode": {
  12152. "description": "商品代码(内部)",
  12153. "type": "string"
  12154. },
  12155. "goodsid": {
  12156. "description": "商品ID(自增ID SEQ_GOODS)",
  12157. "type": "integer"
  12158. },
  12159. "goodsname": {
  12160. "description": "商品名称",
  12161. "type": "string"
  12162. },
  12163. "goodsstatus": {
  12164. "description": "商品状态- 2:未上市 3:上市",
  12165. "type": "integer"
  12166. },
  12167. "lasttradedate": {
  12168. "description": "最后交易日期(状态:待退市)",
  12169. "type": "string"
  12170. },
  12171. "listingdate": {
  12172. "description": "交易开始日期",
  12173. "type": "string"
  12174. },
  12175. "marketid": {
  12176. "description": "所属市场ID",
  12177. "type": "integer"
  12178. },
  12179. "picurls": {
  12180. "description": "介绍图片[多张用逗号分隔]",
  12181. "type": "string"
  12182. },
  12183. "presaledqty": {
  12184. "description": "已预售量(预售结束时更新)",
  12185. "type": "integer"
  12186. },
  12187. "presaleqty": {
  12188. "description": "预售数量",
  12189. "type": "integer"
  12190. },
  12191. "quoteminunit": {
  12192. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12193. "type": "integer"
  12194. },
  12195. "refprice": {
  12196. "description": "参考价格[一口价]",
  12197. "type": "number"
  12198. },
  12199. "relatedgoodsid": {
  12200. "description": "关联交易合约ID",
  12201. "type": "integer"
  12202. },
  12203. "trademode": {
  12204. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12205. "type": "integer"
  12206. },
  12207. "videourls": {
  12208. "description": "介绍视频[多张用逗号分隔]",
  12209. "type": "string"
  12210. }
  12211. }
  12212. },
  12213. "models.HsbyPreGoodsDetail": {
  12214. "type": "object",
  12215. "required": [
  12216. "goodscode",
  12217. "goodsid",
  12218. "goodsname",
  12219. "marketid",
  12220. "trademode"
  12221. ],
  12222. "properties": {
  12223. "agreeunit": {
  12224. "description": "合约单位",
  12225. "type": "number"
  12226. },
  12227. "buymaxqty": {
  12228. "description": "购买上限 [71] - 0为不限",
  12229. "type": "integer"
  12230. },
  12231. "currency": {
  12232. "description": "货币",
  12233. "type": "string"
  12234. },
  12235. "currencysign": {
  12236. "description": "货币符号",
  12237. "type": "string"
  12238. },
  12239. "customername": {
  12240. "description": "发行单位",
  12241. "type": "string"
  12242. },
  12243. "decimalplace": {
  12244. "description": "报价小数位",
  12245. "type": "integer"
  12246. },
  12247. "desccityid": {
  12248. "description": "目的地(市)ID",
  12249. "type": "integer"
  12250. },
  12251. "descprovinceid": {
  12252. "description": "目的地(省)ID",
  12253. "type": "integer"
  12254. },
  12255. "enableqty": {
  12256. "description": "剩余数量",
  12257. "type": "integer"
  12258. },
  12259. "goodscode": {
  12260. "description": "商品代码(内部)",
  12261. "type": "string"
  12262. },
  12263. "goodsdesc": {
  12264. "description": "商品详情",
  12265. "type": "string"
  12266. },
  12267. "goodsid": {
  12268. "description": "商品ID(自增ID SEQ_GOODS)",
  12269. "type": "integer"
  12270. },
  12271. "goodsname": {
  12272. "description": "商品名称",
  12273. "type": "string"
  12274. },
  12275. "goodsstatus": {
  12276. "description": "商品状态- 2:未上市 3:上市",
  12277. "type": "integer"
  12278. },
  12279. "goodunit": {
  12280. "description": "报价单位",
  12281. "type": "string"
  12282. },
  12283. "lasttradedate": {
  12284. "description": "最后交易日期(状态:待退市)",
  12285. "type": "string"
  12286. },
  12287. "listingdate": {
  12288. "description": "交易开始日期",
  12289. "type": "string"
  12290. },
  12291. "lotsize": {
  12292. "description": "手数最小变动单位",
  12293. "type": "integer"
  12294. },
  12295. "marketid": {
  12296. "description": "所属市场ID",
  12297. "type": "integer"
  12298. },
  12299. "picurls": {
  12300. "description": "介绍图片[多张用逗号分隔]",
  12301. "type": "string"
  12302. },
  12303. "presaledqty": {
  12304. "description": "已预售量(预售结束时更新)",
  12305. "type": "integer"
  12306. },
  12307. "presaleqty": {
  12308. "description": "预售数量",
  12309. "type": "integer"
  12310. },
  12311. "quoteminunit": {
  12312. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12313. "type": "integer"
  12314. },
  12315. "refprice": {
  12316. "description": "参考价格[一口价]",
  12317. "type": "number"
  12318. },
  12319. "relatedgoodsid": {
  12320. "description": "关联交易合约ID",
  12321. "type": "integer"
  12322. },
  12323. "stepvalue": {
  12324. "description": "价格最小变动单位",
  12325. "type": "number"
  12326. },
  12327. "trademode": {
  12328. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12329. "type": "integer"
  12330. },
  12331. "vendorattr": {
  12332. "description": "供应商附件(多张,逗号分隔)",
  12333. "type": "string"
  12334. },
  12335. "vendorname": {
  12336. "description": "供应商名称",
  12337. "type": "string"
  12338. },
  12339. "vendorphone": {
  12340. "description": "供应商客服电话",
  12341. "type": "string"
  12342. },
  12343. "videourls": {
  12344. "description": "介绍视频[多张用逗号分隔]",
  12345. "type": "string"
  12346. }
  12347. }
  12348. },
  12349. "models.HsbySellCollectionOrder": {
  12350. "type": "object",
  12351. "required": [
  12352. "goodscode",
  12353. "goodsname",
  12354. "tradeid",
  12355. "trademode"
  12356. ],
  12357. "properties": {
  12358. "agreeunit": {
  12359. "description": "合约单位",
  12360. "type": "number"
  12361. },
  12362. "buyaccountid": {
  12363. "description": "买方账号ID[报价币种]",
  12364. "type": "integer"
  12365. },
  12366. "buyorderid": {
  12367. "description": "买方委托单号",
  12368. "type": "string"
  12369. },
  12370. "createtime": {
  12371. "description": "创建时间",
  12372. "type": "string"
  12373. },
  12374. "currencysign": {
  12375. "description": "货币符号",
  12376. "type": "string"
  12377. },
  12378. "decimalplace": {
  12379. "description": "报价小数位",
  12380. "type": "integer"
  12381. },
  12382. "goodscode": {
  12383. "description": "商品代码(内部)",
  12384. "type": "string"
  12385. },
  12386. "goodsid": {
  12387. "description": "商品ID",
  12388. "type": "integer"
  12389. },
  12390. "goodsname": {
  12391. "description": "商品名称",
  12392. "type": "string"
  12393. },
  12394. "marketid": {
  12395. "description": "市场ID",
  12396. "type": "integer"
  12397. },
  12398. "offamount": {
  12399. "description": "优惠金额",
  12400. "type": "number"
  12401. },
  12402. "payamount": {
  12403. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12404. "type": "number"
  12405. },
  12406. "payflag": {
  12407. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12408. "type": "integer"
  12409. },
  12410. "paylimitedtime": {
  12411. "description": "支付期限",
  12412. "type": "string"
  12413. },
  12414. "paytime": {
  12415. "description": "付款时间",
  12416. "type": "string"
  12417. },
  12418. "picurls": {
  12419. "description": "商品介绍图片[多张用逗号分隔]",
  12420. "type": "string"
  12421. },
  12422. "sellaccountid": {
  12423. "description": "卖方账号ID[报价币种]",
  12424. "type": "integer"
  12425. },
  12426. "sellorderid": {
  12427. "description": "卖方委托单号",
  12428. "type": "string"
  12429. },
  12430. "tradeamount": {
  12431. "description": "成交金额",
  12432. "type": "number"
  12433. },
  12434. "tradecharge": {
  12435. "description": "成交手续费(买方)",
  12436. "type": "number"
  12437. },
  12438. "tradedate": {
  12439. "description": "交易日(yyyyMMdd)",
  12440. "type": "string"
  12441. },
  12442. "tradeid": {
  12443. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12444. "type": "string"
  12445. },
  12446. "trademode": {
  12447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12448. "type": "integer"
  12449. },
  12450. "tradeprice": {
  12451. "description": "成交价格",
  12452. "type": "number"
  12453. },
  12454. "tradeqty": {
  12455. "description": "成交数量",
  12456. "type": "integer"
  12457. }
  12458. }
  12459. },
  12460. "models.HsbySellMyDetail": {
  12461. "type": "object",
  12462. "required": [
  12463. "accountid",
  12464. "buyorsell",
  12465. "goodscode",
  12466. "goodsid",
  12467. "goodsname",
  12468. "marketid",
  12469. "orderid",
  12470. "time",
  12471. "trademode"
  12472. ],
  12473. "properties": {
  12474. "accountid": {
  12475. "description": "账户ID[报价币种]",
  12476. "type": "integer"
  12477. },
  12478. "agreeunit": {
  12479. "description": "合约单位",
  12480. "type": "number"
  12481. },
  12482. "buyorsell": {
  12483. "description": "买卖 - 0:买 1:卖",
  12484. "type": "integer"
  12485. },
  12486. "currencysign": {
  12487. "description": "货币符号",
  12488. "type": "string"
  12489. },
  12490. "decimalplace": {
  12491. "description": "报价小数位",
  12492. "type": "integer"
  12493. },
  12494. "goodscode": {
  12495. "description": "商品代码(内部)",
  12496. "type": "string"
  12497. },
  12498. "goodsid": {
  12499. "description": "商品ID",
  12500. "type": "integer"
  12501. },
  12502. "goodsname": {
  12503. "description": "商品名称",
  12504. "type": "string"
  12505. },
  12506. "marketid": {
  12507. "description": "市场ID",
  12508. "type": "integer"
  12509. },
  12510. "orderid": {
  12511. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  12512. "type": "string"
  12513. },
  12514. "ordertype": {
  12515. "description": "单据类型:0 - 发布中, 1 - 已完成",
  12516. "type": "integer"
  12517. },
  12518. "picurls": {
  12519. "description": "介绍图片[多张用逗号分隔]",
  12520. "type": "string"
  12521. },
  12522. "price": {
  12523. "description": "价格",
  12524. "type": "number"
  12525. },
  12526. "qty": {
  12527. "description": "数量",
  12528. "type": "integer"
  12529. },
  12530. "time": {
  12531. "description": "时间",
  12532. "type": "string"
  12533. },
  12534. "trademode": {
  12535. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12536. "type": "integer"
  12537. },
  12538. "vendorname": {
  12539. "description": "供应商名称",
  12540. "type": "string"
  12541. }
  12542. }
  12543. },
  12544. "models.HsbyTopGoods": {
  12545. "type": "object",
  12546. "required": [
  12547. "goodscode",
  12548. "goodsid",
  12549. "goodsname",
  12550. "marketid",
  12551. "trademode"
  12552. ],
  12553. "properties": {
  12554. "agreeunit": {
  12555. "description": "合约单位",
  12556. "type": "number"
  12557. },
  12558. "currency": {
  12559. "description": "货币",
  12560. "type": "string"
  12561. },
  12562. "currencysign": {
  12563. "description": "货币符号",
  12564. "type": "string"
  12565. },
  12566. "decimalplace": {
  12567. "description": "报价小数位",
  12568. "type": "integer"
  12569. },
  12570. "goodscode": {
  12571. "description": "商品代码(内部)",
  12572. "type": "string"
  12573. },
  12574. "goodsid": {
  12575. "description": "商品ID(自增ID SEQ_GOODS)",
  12576. "type": "integer"
  12577. },
  12578. "goodsname": {
  12579. "description": "商品名称",
  12580. "type": "string"
  12581. },
  12582. "hotindex": {
  12583. "description": "景点热度",
  12584. "type": "integer"
  12585. },
  12586. "last": {
  12587. "description": "现价",
  12588. "type": "number"
  12589. },
  12590. "marketid": {
  12591. "description": "所属市场ID",
  12592. "type": "integer"
  12593. },
  12594. "picurls": {
  12595. "description": "介绍图片[多张用逗号分隔]",
  12596. "type": "string"
  12597. },
  12598. "quoteminunit": {
  12599. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12600. "type": "integer"
  12601. },
  12602. "trademode": {
  12603. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12604. "type": "integer"
  12605. },
  12606. "videourls": {
  12607. "description": "介绍视频[多张用逗号分隔]",
  12608. "type": "string"
  12609. }
  12610. }
  12611. },
  12612. "models.HybsMyBuyOrderDetail": {
  12613. "type": "object",
  12614. "required": [
  12615. "accountid",
  12616. "buyorsell",
  12617. "goodscode",
  12618. "goodsid",
  12619. "goodsname",
  12620. "marketid",
  12621. "orderid",
  12622. "orderqty",
  12623. "ordertime",
  12624. "trademode"
  12625. ],
  12626. "properties": {
  12627. "accountid": {
  12628. "description": "账户ID[报价币种]",
  12629. "type": "integer"
  12630. },
  12631. "agreeunit": {
  12632. "description": "合约单位",
  12633. "type": "number"
  12634. },
  12635. "buyorsell": {
  12636. "description": "买卖 - 0:买 1:卖",
  12637. "type": "integer"
  12638. },
  12639. "cancelqty": {
  12640. "description": "撤单数量",
  12641. "type": "integer"
  12642. },
  12643. "currencysign": {
  12644. "description": "货币符号",
  12645. "type": "string"
  12646. },
  12647. "decimalplace": {
  12648. "description": "报价小数位",
  12649. "type": "integer"
  12650. },
  12651. "goodscode": {
  12652. "description": "商品代码(内部)",
  12653. "type": "string"
  12654. },
  12655. "goodsid": {
  12656. "description": "商品ID",
  12657. "type": "integer"
  12658. },
  12659. "goodsname": {
  12660. "description": "商品名称",
  12661. "type": "string"
  12662. },
  12663. "listingselecttype": {
  12664. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12665. "type": "integer"
  12666. },
  12667. "marketid": {
  12668. "description": "市场ID",
  12669. "type": "integer"
  12670. },
  12671. "mybuystatus": {
  12672. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  12673. "type": "integer"
  12674. },
  12675. "orderamount": {
  12676. "description": "委托金额",
  12677. "type": "number"
  12678. },
  12679. "orderid": {
  12680. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12681. "type": "string"
  12682. },
  12683. "orderprice": {
  12684. "description": "委托价格",
  12685. "type": "number"
  12686. },
  12687. "orderqty": {
  12688. "description": "委托数量",
  12689. "type": "integer"
  12690. },
  12691. "orderstatus": {
  12692. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12693. "type": "integer"
  12694. },
  12695. "ordertime": {
  12696. "description": "委托时间",
  12697. "type": "string"
  12698. },
  12699. "picurls1": {
  12700. "description": "预售商品介绍图片[多张用逗号分隔]",
  12701. "type": "string"
  12702. },
  12703. "picurls2": {
  12704. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12705. "type": "string"
  12706. },
  12707. "trademode": {
  12708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12709. "type": "integer"
  12710. },
  12711. "tradeqty": {
  12712. "description": "成交数量",
  12713. "type": "integer"
  12714. },
  12715. "vendorname1": {
  12716. "description": "预售商品供应商名称",
  12717. "type": "string"
  12718. },
  12719. "vendorname2": {
  12720. "description": "挂牌商品供应商名称",
  12721. "type": "string"
  12722. }
  12723. }
  12724. },
  12725. "models.Market": {
  12726. "type": "object",
  12727. "required": [
  12728. "marketid",
  12729. "marketstatus",
  12730. "openmethod",
  12731. "reckonpricealgorithm",
  12732. "trademode",
  12733. "tradeproperty"
  12734. ],
  12735. "properties": {
  12736. "auctionwrtype": {
  12737. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  12738. "type": "integer"
  12739. },
  12740. "canacceptquote": {
  12741. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  12742. "type": "integer"
  12743. },
  12744. "cangoodsexercise": {
  12745. "description": "[期权]是否可现货行权- 0:否 1:是",
  12746. "type": "integer"
  12747. },
  12748. "cangoodsexercisetype": {
  12749. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  12750. "type": "integer"
  12751. },
  12752. "canmanualquotestrike": {
  12753. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  12754. "type": "integer"
  12755. },
  12756. "canmutistage": {
  12757. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  12758. "type": "integer"
  12759. },
  12760. "canpreexercise": {
  12761. "description": "[期权]是否可预申报- 0:否 1:是",
  12762. "type": "integer"
  12763. },
  12764. "clearinterval": {
  12765. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  12766. "type": "integer"
  12767. },
  12768. "contracttmp": {
  12769. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  12770. "type": "string"
  12771. },
  12772. "exchareaid": {
  12773. "description": "所属交易所,可以没有",
  12774. "type": "integer"
  12775. },
  12776. "goodstype": {
  12777. "description": "商品类型 - 1:交易商品 2:仓单商品",
  12778. "type": "integer"
  12779. },
  12780. "hasrebate": {
  12781. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  12782. "type": "integer"
  12783. },
  12784. "hastradecredit": {
  12785. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  12786. "type": "integer"
  12787. },
  12788. "haswr": {
  12789. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  12790. "type": "integer"
  12791. },
  12792. "isdeductmargin": {
  12793. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  12794. "type": "integer"
  12795. },
  12796. "isrecordsource": {
  12797. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  12798. "type": "integer"
  12799. },
  12800. "isreleasemargin": {
  12801. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  12802. "type": "integer"
  12803. },
  12804. "marginformula": {
  12805. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12806. "type": "integer"
  12807. },
  12808. "marginformula2": {
  12809. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  12810. "type": "integer"
  12811. },
  12812. "marketid": {
  12813. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12814. "type": "integer"
  12815. },
  12816. "marketname": {
  12817. "description": "市场名称",
  12818. "type": "string"
  12819. },
  12820. "marketserviceid": {
  12821. "description": "市场服务ID",
  12822. "type": "integer"
  12823. },
  12824. "marketstatus": {
  12825. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12826. "type": "integer"
  12827. },
  12828. "markettype": {
  12829. "description": "市场类型- 1:非交易服务 2:交易服务",
  12830. "type": "integer"
  12831. },
  12832. "matchermode": {
  12833. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  12834. "type": "integer"
  12835. },
  12836. "openmethod": {
  12837. "description": "开盘模式 - 0 自动 1手动",
  12838. "type": "integer"
  12839. },
  12840. "otcuserid": {
  12841. "description": "场外期权做市商[场外期权]",
  12842. "type": "integer"
  12843. },
  12844. "outersynctime": {
  12845. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  12846. "type": "string"
  12847. },
  12848. "pendingflag": {
  12849. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  12850. "type": "integer"
  12851. },
  12852. "pendingtime": {
  12853. "description": "待开市时间[通道交易-对冲](HH:mm)",
  12854. "type": "string"
  12855. },
  12856. "performancetempid": {
  12857. "description": "履约计划模板ID - 作废",
  12858. "type": "integer"
  12859. },
  12860. "premiumquotemode": {
  12861. "description": "权利金报价方式 - 1:自动 2:手动",
  12862. "type": "integer"
  12863. },
  12864. "rebateratio": {
  12865. "description": "返利比率[竞价式]",
  12866. "type": "number"
  12867. },
  12868. "reckonorder": {
  12869. "description": "结算顺序",
  12870. "type": "integer"
  12871. },
  12872. "reckonpricealgorithm": {
  12873. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  12874. "type": "integer"
  12875. },
  12876. "reckonpriceparam": {
  12877. "description": "结算价参数",
  12878. "type": "integer"
  12879. },
  12880. "reckontime": {
  12881. "description": "结算时间[通道交易-对冲](HH:mm)",
  12882. "type": "string"
  12883. },
  12884. "roleprioritytype": {
  12885. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  12886. "type": "integer"
  12887. },
  12888. "selllistingauditflag": {
  12889. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  12890. "type": "integer"
  12891. },
  12892. "trademarkettype": {
  12893. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  12894. "type": "integer"
  12895. },
  12896. "trademode": {
  12897. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12898. "type": "integer"
  12899. },
  12900. "tradeproperty": {
  12901. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  12902. "type": "integer"
  12903. },
  12904. "tradetype": {
  12905. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  12906. "type": "integer"
  12907. }
  12908. }
  12909. },
  12910. "models.Marketrun": {
  12911. "type": "object",
  12912. "required": [
  12913. "marketid",
  12914. "nexttradedate",
  12915. "reckonflag",
  12916. "runstatus",
  12917. "tradedate",
  12918. "tradedate2"
  12919. ],
  12920. "properties": {
  12921. "afternexttradedate": {
  12922. "description": "下下交易日",
  12923. "type": "string"
  12924. },
  12925. "clearquoteflag": {
  12926. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  12927. "type": "integer"
  12928. },
  12929. "lastreckondate": {
  12930. "description": "最新交易日(结算成功)",
  12931. "type": "string"
  12932. },
  12933. "machinedate": {
  12934. "description": "机器时间",
  12935. "type": "string"
  12936. },
  12937. "manualflag": {
  12938. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  12939. "type": "integer"
  12940. },
  12941. "marketid": {
  12942. "description": "市场ID",
  12943. "type": "integer"
  12944. },
  12945. "nexttradedate": {
  12946. "description": "下一交易日",
  12947. "type": "string"
  12948. },
  12949. "pretradedate": {
  12950. "description": "上一交易日",
  12951. "type": "string"
  12952. },
  12953. "reckonflag": {
  12954. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  12955. "type": "integer"
  12956. },
  12957. "runstatus": {
  12958. "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.今日免清算",
  12959. "type": "integer"
  12960. },
  12961. "sectionid": {
  12962. "description": "时间段号[多时段时用]",
  12963. "type": "integer"
  12964. },
  12965. "tradedate": {
  12966. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  12967. "type": "string"
  12968. },
  12969. "tradedate2": {
  12970. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  12971. "type": "string"
  12972. },
  12973. "updatetime": {
  12974. "description": "更新时间",
  12975. "type": "string"
  12976. }
  12977. }
  12978. },
  12979. "models.Messageboard": {
  12980. "type": "object",
  12981. "required": [
  12982. "messageboardid"
  12983. ],
  12984. "properties": {
  12985. "createtime": {
  12986. "description": "创建时间",
  12987. "type": "string"
  12988. },
  12989. "message": {
  12990. "description": "留言信息",
  12991. "type": "string"
  12992. },
  12993. "messageboardid": {
  12994. "description": "留言簿ID(SEQ_MessageBoard)",
  12995. "type": "integer"
  12996. },
  12997. "userid": {
  12998. "description": "用户ID",
  12999. "type": "integer"
  13000. }
  13001. }
  13002. },
  13003. "models.MyCoupon": {
  13004. "type": "object",
  13005. "required": [
  13006. "accountid",
  13007. "coupontypeid"
  13008. ],
  13009. "properties": {
  13010. "accountid": {
  13011. "description": "资金账户ID",
  13012. "type": "integer"
  13013. },
  13014. "areauserid": {
  13015. "description": "所属机构",
  13016. "type": "integer"
  13017. },
  13018. "conditionvalue": {
  13019. "description": "条件阈值(可为0)",
  13020. "type": "number"
  13021. },
  13022. "couponcategroy": {
  13023. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13024. "type": "integer"
  13025. },
  13026. "couponname": {
  13027. "description": "优惠券名称",
  13028. "type": "string"
  13029. },
  13030. "coupontypeid": {
  13031. "description": "优惠券类型ID",
  13032. "type": "string"
  13033. },
  13034. "couponvalue": {
  13035. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13036. "type": "number"
  13037. },
  13038. "curfreezeqty": {
  13039. "description": "期末冻结数量",
  13040. "type": "integer"
  13041. },
  13042. "curqty": {
  13043. "description": "期末数量",
  13044. "type": "integer"
  13045. },
  13046. "isgeneral": {
  13047. "description": "是否通用券 - 0:否 1:是",
  13048. "type": "integer"
  13049. },
  13050. "isunusable": {
  13051. "description": "是否不可用",
  13052. "type": "boolean"
  13053. },
  13054. "limitedflag": {
  13055. "description": "是否指定商品 - 0:不限 1:限制",
  13056. "type": "integer"
  13057. },
  13058. "limitedgoodsids": {
  13059. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13060. "type": "string"
  13061. },
  13062. "orifreezeqty": {
  13063. "description": "期初冻结数量",
  13064. "type": "integer"
  13065. },
  13066. "oriqty": {
  13067. "description": "期初数量",
  13068. "type": "integer"
  13069. },
  13070. "reasontype": {
  13071. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13072. "type": "integer"
  13073. },
  13074. "todaydecrease": {
  13075. "description": "今日减少",
  13076. "type": "integer"
  13077. },
  13078. "todayincrease": {
  13079. "description": "今日增加",
  13080. "type": "integer"
  13081. },
  13082. "userid": {
  13083. "description": "用户ID",
  13084. "type": "integer"
  13085. },
  13086. "userscope": {
  13087. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13088. "type": "string"
  13089. }
  13090. }
  13091. },
  13092. "models.MyCouponHold": {
  13093. "type": "object",
  13094. "required": [
  13095. "couponholdid"
  13096. ],
  13097. "properties": {
  13098. "accountid": {
  13099. "description": "资金账户ID",
  13100. "type": "integer"
  13101. },
  13102. "conditionvalue": {
  13103. "description": "条件阈值(可为0)",
  13104. "type": "number"
  13105. },
  13106. "couponcategroy": {
  13107. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13108. "type": "integer"
  13109. },
  13110. "couponholdid": {
  13111. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13112. "type": "string"
  13113. },
  13114. "couponname": {
  13115. "description": "优惠券名称",
  13116. "type": "string"
  13117. },
  13118. "coupontypeid": {
  13119. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13120. "type": "string"
  13121. },
  13122. "couponvalue": {
  13123. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13124. "type": "number"
  13125. },
  13126. "createtime": {
  13127. "description": "创建时间",
  13128. "type": "string"
  13129. },
  13130. "enddate": {
  13131. "description": "结束日期",
  13132. "type": "string"
  13133. },
  13134. "giveapplyid": {
  13135. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  13136. "type": "integer"
  13137. },
  13138. "holdstatus": {
  13139. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  13140. "type": "integer"
  13141. },
  13142. "isgeneral": {
  13143. "description": "是否通用券 - 0:否 1:是",
  13144. "type": "integer"
  13145. },
  13146. "limitedflag": {
  13147. "description": "是否指定商品 - 0:不限 1:限制",
  13148. "type": "integer"
  13149. },
  13150. "limitedgoodsids": {
  13151. "description": "指定商品IDs[逗号分隔]",
  13152. "type": "string"
  13153. },
  13154. "qty": {
  13155. "description": "数量(按1平铺)",
  13156. "type": "integer"
  13157. },
  13158. "startdate": {
  13159. "description": "开始日期",
  13160. "type": "string"
  13161. },
  13162. "userid": {
  13163. "description": "用户ID",
  13164. "type": "integer"
  13165. },
  13166. "userscope": {
  13167. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  13168. "type": "string"
  13169. }
  13170. }
  13171. },
  13172. "models.MyUsedCoupon": {
  13173. "type": "object",
  13174. "required": [
  13175. "coupontypeid",
  13176. "orderid"
  13177. ],
  13178. "properties": {
  13179. "accountid": {
  13180. "description": "资金账户ID(买方)",
  13181. "type": "integer"
  13182. },
  13183. "conditionvalue": {
  13184. "description": "条件阈值(可为0)",
  13185. "type": "number"
  13186. },
  13187. "couponcategroy": {
  13188. "description": "种类 - 1:现金券 2:折扣券",
  13189. "type": "integer"
  13190. },
  13191. "couponname": {
  13192. "description": "优惠券名称",
  13193. "type": "string"
  13194. },
  13195. "coupontypeid": {
  13196. "description": "优惠券类型ID(买方)",
  13197. "type": "string"
  13198. },
  13199. "couponvalue": {
  13200. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  13201. "type": "number"
  13202. },
  13203. "createtime": {
  13204. "description": "创建时间",
  13205. "type": "string"
  13206. },
  13207. "goodsid": {
  13208. "description": "商品ID",
  13209. "type": "integer"
  13210. },
  13211. "handlestatus": {
  13212. "description": "处理状态",
  13213. "type": "integer"
  13214. },
  13215. "marketid": {
  13216. "description": "市场ID",
  13217. "type": "integer"
  13218. },
  13219. "offamount": {
  13220. "description": "优惠金额",
  13221. "type": "number"
  13222. },
  13223. "orderid": {
  13224. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13225. "type": "string"
  13226. },
  13227. "sellaccountid": {
  13228. "description": "资金账户ID(卖方)",
  13229. "type": "integer"
  13230. },
  13231. "tradeamount": {
  13232. "description": "成交金额",
  13233. "type": "number"
  13234. },
  13235. "tradeid": {
  13236. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13237. "type": "string"
  13238. },
  13239. "usedqty": {
  13240. "description": "使用数量",
  13241. "type": "integer"
  13242. }
  13243. }
  13244. },
  13245. "models.OperationPrimaryMenu": {
  13246. "type": "object",
  13247. "properties": {
  13248. "Children": {
  13249. "description": "二级功能菜单",
  13250. "type": "array",
  13251. "items": {
  13252. "$ref": "#/definitions/models.OperationSecondaryMenu"
  13253. }
  13254. },
  13255. "Key": {
  13256. "description": "菜单KEY",
  13257. "type": "string"
  13258. },
  13259. "Label": {
  13260. "description": "菜单标题",
  13261. "type": "string"
  13262. }
  13263. }
  13264. },
  13265. "models.OperationSecondaryMenu": {
  13266. "type": "object",
  13267. "properties": {
  13268. "Key": {
  13269. "description": "菜单KEY",
  13270. "type": "string"
  13271. },
  13272. "Label": {
  13273. "description": "菜单标题",
  13274. "type": "string"
  13275. },
  13276. "TabList": {
  13277. "description": "三级功能菜单",
  13278. "type": "array",
  13279. "items": {
  13280. "$ref": "#/definitions/models.OperationTabMenu"
  13281. }
  13282. }
  13283. }
  13284. },
  13285. "models.OperationTabMenu": {
  13286. "type": "object",
  13287. "properties": {
  13288. "Key": {
  13289. "description": "菜单KEY",
  13290. "type": "string"
  13291. },
  13292. "Label": {
  13293. "description": "菜单标题",
  13294. "type": "string"
  13295. }
  13296. }
  13297. },
  13298. "models.QueryErrorInfosRsp": {
  13299. "type": "object",
  13300. "required": [
  13301. "errorid"
  13302. ],
  13303. "properties": {
  13304. "description": {
  13305. "description": "异常描述",
  13306. "type": "string"
  13307. },
  13308. "errorcode": {
  13309. "description": "异常代码",
  13310. "type": "string"
  13311. },
  13312. "errorid": {
  13313. "description": "异常ID",
  13314. "type": "integer"
  13315. },
  13316. "modulecode": {
  13317. "description": "所属模块",
  13318. "type": "string"
  13319. },
  13320. "operatecode": {
  13321. "description": "所属操作",
  13322. "type": "string"
  13323. },
  13324. "rownumber": {
  13325. "description": "行号",
  13326. "type": "string"
  13327. }
  13328. }
  13329. },
  13330. "models.QuotePrimaryMenu": {
  13331. "type": "object",
  13332. "properties": {
  13333. "Index": {
  13334. "description": "序号",
  13335. "type": "integer"
  13336. },
  13337. "Key": {
  13338. "description": "键名",
  13339. "type": "string"
  13340. },
  13341. "Name": {
  13342. "description": "菜单名称",
  13343. "type": "string"
  13344. },
  13345. "SubMenus": {
  13346. "description": "子菜单",
  13347. "type": "array",
  13348. "items": {
  13349. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  13350. }
  13351. },
  13352. "SubTitleType": {
  13353. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  13354. "type": "integer"
  13355. },
  13356. "TradeModes": {
  13357. "description": "包含市场交易类型",
  13358. "type": "string"
  13359. }
  13360. }
  13361. },
  13362. "models.QuoteSecondaryMenu": {
  13363. "type": "object",
  13364. "properties": {
  13365. "ExExchangeCode": {
  13366. "description": "外部交易所代码",
  13367. "type": "string"
  13368. },
  13369. "ExExchangeID": {
  13370. "description": "外部交易所ID",
  13371. "type": "integer"
  13372. },
  13373. "GoodsGroupIDs": {
  13374. "description": "商品组ID列表",
  13375. "type": "array",
  13376. "items": {
  13377. "type": "integer"
  13378. }
  13379. },
  13380. "Index": {
  13381. "description": "序号",
  13382. "type": "integer"
  13383. },
  13384. "MarketID": {
  13385. "description": "市场ID",
  13386. "type": "integer"
  13387. },
  13388. "MenuTitle": {
  13389. "description": "菜单标题(市场名称或外部交易所名称)",
  13390. "type": "string"
  13391. },
  13392. "TradeMode": {
  13393. "description": "交易模式",
  13394. "type": "integer"
  13395. }
  13396. }
  13397. },
  13398. "models.SearchGoods": {
  13399. "type": "object",
  13400. "required": [
  13401. "goodscode",
  13402. "goodsid",
  13403. "goodsname",
  13404. "marketid",
  13405. "trademode"
  13406. ],
  13407. "properties": {
  13408. "goodscode": {
  13409. "description": "商品代码(内部)",
  13410. "type": "string"
  13411. },
  13412. "goodsid": {
  13413. "description": "商品ID(自增ID SEQ_GOODS)",
  13414. "type": "integer"
  13415. },
  13416. "goodsname": {
  13417. "description": "商品名称",
  13418. "type": "string"
  13419. },
  13420. "marketid": {
  13421. "description": "所属市场ID",
  13422. "type": "integer"
  13423. },
  13424. "marketname": {
  13425. "description": "市场名称",
  13426. "type": "string"
  13427. },
  13428. "trademode": {
  13429. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13430. "type": "integer"
  13431. }
  13432. }
  13433. },
  13434. "models.Szdz2imageconfig": {
  13435. "type": "object",
  13436. "required": [
  13437. "configid"
  13438. ],
  13439. "properties": {
  13440. "configid": {
  13441. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13442. "type": "integer"
  13443. },
  13444. "imagepath": {
  13445. "description": "图片",
  13446. "type": "string"
  13447. },
  13448. "imagetype": {
  13449. "description": "类型 - 1:App首页轮播 2:我的",
  13450. "type": "integer"
  13451. },
  13452. "sort": {
  13453. "description": "排序",
  13454. "type": "integer"
  13455. },
  13456. "title": {
  13457. "description": "标题",
  13458. "type": "string"
  13459. },
  13460. "url": {
  13461. "description": "链接",
  13462. "type": "string"
  13463. }
  13464. }
  13465. },
  13466. "models.Szdz3convertconfig": {
  13467. "type": "object",
  13468. "required": [
  13469. "converttype",
  13470. "innergoodsid",
  13471. "outergoodscode"
  13472. ],
  13473. "properties": {
  13474. "canin": {
  13475. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  13476. "type": "integer"
  13477. },
  13478. "canout": {
  13479. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  13480. "type": "integer"
  13481. },
  13482. "converttype": {
  13483. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  13484. "type": "integer"
  13485. },
  13486. "createtime": {
  13487. "description": "创建时间",
  13488. "type": "string"
  13489. },
  13490. "creatorid": {
  13491. "description": "创建人",
  13492. "type": "integer"
  13493. },
  13494. "daymaxvalue": {
  13495. "description": "当日最大转入限制",
  13496. "type": "number"
  13497. },
  13498. "freezedays": {
  13499. "description": "冻结天数 [5:花生米转交易]",
  13500. "type": "integer"
  13501. },
  13502. "innergoodsid": {
  13503. "description": "内部商品ID[交易]",
  13504. "type": "integer"
  13505. },
  13506. "inratio": {
  13507. "description": "目标值",
  13508. "type": "integer"
  13509. },
  13510. "modifierid": {
  13511. "description": "修改人",
  13512. "type": "integer"
  13513. },
  13514. "modifytime": {
  13515. "description": "修改时间",
  13516. "type": "string"
  13517. },
  13518. "outergoodscode": {
  13519. "description": "外部商品代码[JD\\PD]",
  13520. "type": "string"
  13521. },
  13522. "outratio": {
  13523. "description": "源值",
  13524. "type": "integer"
  13525. },
  13526. "pddecimalplace": {
  13527. "description": "PD小数位",
  13528. "type": "integer"
  13529. },
  13530. "timemaxvalue": {
  13531. "description": "单次最大转入限制",
  13532. "type": "number"
  13533. },
  13534. "timeminvalue": {
  13535. "description": "单次最小转入限制",
  13536. "type": "number"
  13537. }
  13538. }
  13539. },
  13540. "models.Szdz3searchwhitelist": {
  13541. "type": "object",
  13542. "required": [
  13543. "userid"
  13544. ],
  13545. "properties": {
  13546. "createtime": {
  13547. "description": "创建时间",
  13548. "type": "string"
  13549. },
  13550. "creatorid": {
  13551. "description": "创建人",
  13552. "type": "integer"
  13553. },
  13554. "modifierid": {
  13555. "description": "修改人",
  13556. "type": "integer"
  13557. },
  13558. "modifytime": {
  13559. "description": "修改时间",
  13560. "type": "string"
  13561. },
  13562. "userid": {
  13563. "description": "用户ID",
  13564. "type": "integer"
  13565. }
  13566. }
  13567. },
  13568. "models.Tablecolumnconfig": {
  13569. "type": "object",
  13570. "required": [
  13571. "autoid"
  13572. ],
  13573. "properties": {
  13574. "aligntype": {
  13575. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  13576. "type": "integer"
  13577. },
  13578. "autoid": {
  13579. "description": "AutoID",
  13580. "type": "integer"
  13581. },
  13582. "columnfield": {
  13583. "description": "列字段",
  13584. "type": "string"
  13585. },
  13586. "columntitle": {
  13587. "description": "列Title",
  13588. "type": "string"
  13589. },
  13590. "columnwidth": {
  13591. "description": "列宽",
  13592. "type": "string"
  13593. },
  13594. "formatterstring": {
  13595. "description": "格式化字符",
  13596. "type": "string"
  13597. },
  13598. "formattertype": {
  13599. "description": "格式化类型",
  13600. "type": "string"
  13601. },
  13602. "groupname": {
  13603. "description": "表头分组名称",
  13604. "type": "string"
  13605. },
  13606. "isshow": {
  13607. "description": "是否显示 - 0:不显示 1:显示",
  13608. "type": "integer"
  13609. },
  13610. "needsummary": {
  13611. "description": "是否需要汇总 - 0:不需要 1:需要",
  13612. "type": "integer"
  13613. },
  13614. "orderindex": {
  13615. "description": "顺序",
  13616. "type": "integer"
  13617. },
  13618. "remark": {
  13619. "description": "备注",
  13620. "type": "string"
  13621. },
  13622. "summarytype": {
  13623. "description": "汇总类型 - 1:加总 2:最后一个",
  13624. "type": "integer"
  13625. },
  13626. "tablekey": {
  13627. "description": "列表Key",
  13628. "type": "string"
  13629. }
  13630. }
  13631. },
  13632. "models.Useraccount": {
  13633. "type": "object",
  13634. "required": [
  13635. "userid"
  13636. ],
  13637. "properties": {
  13638. "accountname": {
  13639. "description": "账户名称(机构名称)",
  13640. "type": "string"
  13641. },
  13642. "accountstatus": {
  13643. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13644. "type": "integer"
  13645. },
  13646. "auditremark": {
  13647. "description": "审核备注",
  13648. "type": "string"
  13649. },
  13650. "audittime": {
  13651. "description": "审核时间",
  13652. "type": "string"
  13653. },
  13654. "audituserid": {
  13655. "description": "审核人",
  13656. "type": "integer"
  13657. },
  13658. "broker": {
  13659. "description": "所属经纪人ID",
  13660. "type": "integer"
  13661. },
  13662. "canceltime": {
  13663. "description": "销户时间",
  13664. "type": "string"
  13665. },
  13666. "canceluserid": {
  13667. "description": "销户人",
  13668. "type": "integer"
  13669. },
  13670. "createtime": {
  13671. "description": "创建时间",
  13672. "type": "string"
  13673. },
  13674. "creatorid": {
  13675. "description": "创建人",
  13676. "type": "integer"
  13677. },
  13678. "hasauth": {
  13679. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  13680. "type": "integer"
  13681. },
  13682. "isanonymous": {
  13683. "description": "是否匿名下单 - 0:否 1:是",
  13684. "type": "integer"
  13685. },
  13686. "maxinvestornum": {
  13687. "description": "最大用户数(经纪会员下投资者个数)",
  13688. "type": "integer"
  13689. },
  13690. "memberuserid": {
  13691. "description": "所属会员ID",
  13692. "type": "integer"
  13693. },
  13694. "modifierid": {
  13695. "description": "修改人",
  13696. "type": "integer"
  13697. },
  13698. "modifyremark": {
  13699. "description": "变更备注",
  13700. "type": "string"
  13701. },
  13702. "modifystatus": {
  13703. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  13704. "type": "integer"
  13705. },
  13706. "modifytime": {
  13707. "description": "修改时间",
  13708. "type": "string"
  13709. },
  13710. "parentuserid": {
  13711. "description": "所属机构ID",
  13712. "type": "integer"
  13713. },
  13714. "reckonaccountid": {
  13715. "description": "默认结算资金账号ID(机构分润使用) 作废",
  13716. "type": "integer"
  13717. },
  13718. "refercount": {
  13719. "description": "推荐总人数",
  13720. "type": "integer"
  13721. },
  13722. "refereeuserid": {
  13723. "description": "推荐人ID",
  13724. "type": "integer"
  13725. },
  13726. "refernum": {
  13727. "description": "推荐码",
  13728. "type": "string"
  13729. },
  13730. "subarealevelpath": {
  13731. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  13732. "type": "string"
  13733. },
  13734. "userid": {
  13735. "description": "用户ID",
  13736. "type": "integer"
  13737. },
  13738. "usertype": {
  13739. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13740. "type": "integer"
  13741. }
  13742. }
  13743. },
  13744. "models.Userfavoritegoods": {
  13745. "type": "object",
  13746. "required": [
  13747. "goodsid"
  13748. ],
  13749. "properties": {
  13750. "goodsid": {
  13751. "description": "商品ID",
  13752. "type": "integer"
  13753. }
  13754. }
  13755. },
  13756. "models.Userinfo": {
  13757. "type": "object",
  13758. "required": [
  13759. "userid"
  13760. ],
  13761. "properties": {
  13762. "address": {
  13763. "description": "地址",
  13764. "type": "string"
  13765. },
  13766. "attachment1": {
  13767. "description": "附件1",
  13768. "type": "string"
  13769. },
  13770. "attachment2": {
  13771. "description": "附件2",
  13772. "type": "string"
  13773. },
  13774. "bankaccount": {
  13775. "description": "银行帐号 (加密存储)",
  13776. "type": "string"
  13777. },
  13778. "bankaccountname": {
  13779. "description": "收款人名称",
  13780. "type": "string"
  13781. },
  13782. "bankcardfrontphotourl": {
  13783. "description": "银行卡正面照地址",
  13784. "type": "string"
  13785. },
  13786. "bankid": {
  13787. "description": "银行编码",
  13788. "type": "string"
  13789. },
  13790. "bankname": {
  13791. "description": "银行名称",
  13792. "type": "string"
  13793. },
  13794. "biznature": {
  13795. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13796. "type": "integer"
  13797. },
  13798. "bizscope": {
  13799. "description": "企业经营范围(企业)",
  13800. "type": "string"
  13801. },
  13802. "cardbackphotourl": {
  13803. "description": "证件背面图片地址",
  13804. "type": "string"
  13805. },
  13806. "cardfrontphotourl": {
  13807. "description": "证件正面图片地址",
  13808. "type": "string"
  13809. },
  13810. "cardnum": {
  13811. "description": "证件号码(加密存储)",
  13812. "type": "string"
  13813. },
  13814. "cardtypeid": {
  13815. "description": "证件类型ID",
  13816. "type": "integer"
  13817. },
  13818. "cityid": {
  13819. "description": "市",
  13820. "type": "integer"
  13821. },
  13822. "company": {
  13823. "description": "公司(个人)",
  13824. "type": "string"
  13825. },
  13826. "contactname": {
  13827. "description": "联系人",
  13828. "type": "string"
  13829. },
  13830. "countryid": {
  13831. "description": "国家",
  13832. "type": "integer"
  13833. },
  13834. "createtime": {
  13835. "description": "创建时间",
  13836. "type": "string"
  13837. },
  13838. "creatorid": {
  13839. "description": "创建人",
  13840. "type": "integer"
  13841. },
  13842. "customername": {
  13843. "description": "客户名称(企业名称)",
  13844. "type": "string"
  13845. },
  13846. "districtid": {
  13847. "description": "地区",
  13848. "type": "integer"
  13849. },
  13850. "email": {
  13851. "description": "邮件(加密存储)",
  13852. "type": "string"
  13853. },
  13854. "fax": {
  13855. "description": "传真(加密存储)",
  13856. "type": "string"
  13857. },
  13858. "halfbodyphotourl": {
  13859. "description": "半身照地址",
  13860. "type": "string"
  13861. },
  13862. "hasencrypt": {
  13863. "description": "数据是否已加密 - 0:未加密 1:已加密",
  13864. "type": "integer"
  13865. },
  13866. "headurl": {
  13867. "description": "头像地址",
  13868. "type": "string"
  13869. },
  13870. "legalcardbackphotourl": {
  13871. "description": "法人身份证背面照地址",
  13872. "type": "string"
  13873. },
  13874. "legalcardfrontphotourl": {
  13875. "description": "法人身份证正面照地址",
  13876. "type": "string"
  13877. },
  13878. "legalpersonname": {
  13879. "description": "法人姓名(企业)",
  13880. "type": "string"
  13881. },
  13882. "mobile": {
  13883. "description": "手机号码(加密存储)",
  13884. "type": "string"
  13885. },
  13886. "mobile2": {
  13887. "description": "手机号码[明文-尚志]",
  13888. "type": "string"
  13889. },
  13890. "modifierid": {
  13891. "description": "修改人",
  13892. "type": "integer"
  13893. },
  13894. "modifiertime": {
  13895. "description": "修改时间",
  13896. "type": "string"
  13897. },
  13898. "needinvoice": {
  13899. "description": "是否需要发票 - 0:不需要 1:需要",
  13900. "type": "integer"
  13901. },
  13902. "nickname": {
  13903. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  13904. "type": "string"
  13905. },
  13906. "openmode": {
  13907. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  13908. "type": "integer"
  13909. },
  13910. "otherurl": {
  13911. "description": "其它图片地址[使用分号分隔]",
  13912. "type": "string"
  13913. },
  13914. "postalcode": {
  13915. "description": "邮政编码",
  13916. "type": "string"
  13917. },
  13918. "provinceid": {
  13919. "description": "省",
  13920. "type": "integer"
  13921. },
  13922. "qq": {
  13923. "description": "QQ(加密存储",
  13924. "type": "string"
  13925. },
  13926. "remark": {
  13927. "description": "备注",
  13928. "type": "string"
  13929. },
  13930. "sex": {
  13931. "description": "用户性别 0: 女 1: 男",
  13932. "type": "integer"
  13933. },
  13934. "signpdfurl": {
  13935. "description": "签约pdf文件",
  13936. "type": "string"
  13937. },
  13938. "telphone": {
  13939. "description": "联系电话(加密存储)",
  13940. "type": "string"
  13941. },
  13942. "userid": {
  13943. "description": "用户ID",
  13944. "type": "integer"
  13945. },
  13946. "userinfotype": {
  13947. "description": "用户信息类型 - 1:个人 2:企业",
  13948. "type": "integer"
  13949. },
  13950. "userstatus": {
  13951. "description": "用户状态 - 1:正常 2:注销",
  13952. "type": "integer"
  13953. },
  13954. "usertype": {
  13955. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  13956. "type": "integer"
  13957. },
  13958. "wechat": {
  13959. "description": "微信(加密存储)",
  13960. "type": "string"
  13961. },
  13962. "wskhinfo": {
  13963. "description": "开户申请信息(JSON)",
  13964. "type": "string"
  13965. }
  13966. }
  13967. },
  13968. "models.WRCategoryTree": {
  13969. "type": "object",
  13970. "required": [
  13971. "categoryid"
  13972. ],
  13973. "properties": {
  13974. "areauserid": {
  13975. "description": "所属机构",
  13976. "type": "integer"
  13977. },
  13978. "categorydesc": {
  13979. "description": "类别描述",
  13980. "type": "string"
  13981. },
  13982. "categoryid": {
  13983. "description": "类别ID(SEQ_WRCATEGORY)",
  13984. "type": "integer"
  13985. },
  13986. "categoryname": {
  13987. "description": "类别名称",
  13988. "type": "string"
  13989. },
  13990. "iconurl": {
  13991. "description": "图标地址",
  13992. "type": "string"
  13993. },
  13994. "orderindex": {
  13995. "description": "顺序",
  13996. "type": "integer"
  13997. },
  13998. "parentcategoryid": {
  13999. "description": "父类别ID",
  14000. "type": "integer"
  14001. },
  14002. "subcategory": {
  14003. "description": "子分类",
  14004. "type": "array",
  14005. "items": {
  14006. "$ref": "#/definitions/models.WRCategoryTree"
  14007. }
  14008. }
  14009. }
  14010. },
  14011. "models.WRSConverTDetail": {
  14012. "type": "object",
  14013. "properties": {
  14014. "convertratio": {
  14015. "description": "套保系数",
  14016. "type": "number"
  14017. },
  14018. "deliverygoodsid": {
  14019. "description": "现货品种ID",
  14020. "type": "integer"
  14021. },
  14022. "middlegoodscode": {
  14023. "description": "套保品种代码",
  14024. "type": "string"
  14025. },
  14026. "middlegoodsid": {
  14027. "description": "套保品种ID",
  14028. "type": "integer"
  14029. },
  14030. "middlegoodsname": {
  14031. "description": "套保品种名称",
  14032. "type": "string"
  14033. },
  14034. "modifytime": {
  14035. "description": "修改时间",
  14036. "type": "string"
  14037. },
  14038. "wrstandardid": {
  14039. "description": "现货商品ID",
  14040. "type": "integer"
  14041. }
  14042. }
  14043. },
  14044. "models.WRStandardInfo": {
  14045. "type": "object",
  14046. "required": [
  14047. "wrstandardid"
  14048. ],
  14049. "properties": {
  14050. "createtime": {
  14051. "description": "创建时间",
  14052. "type": "string"
  14053. },
  14054. "creatorid": {
  14055. "description": "创建人",
  14056. "type": "integer"
  14057. },
  14058. "deliverygoodsid": {
  14059. "description": "品种ID",
  14060. "type": "integer"
  14061. },
  14062. "deliverygoodsname": {
  14063. "description": "交割商品名称",
  14064. "type": "string"
  14065. },
  14066. "factoryitemjson": {
  14067. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  14068. "type": "string"
  14069. },
  14070. "isvalid": {
  14071. "description": "是否有效 - 0:无效 1:有效",
  14072. "type": "integer"
  14073. },
  14074. "minivalue": {
  14075. "description": "最小变动值",
  14076. "type": "integer"
  14077. },
  14078. "minivaluedp": {
  14079. "description": "最小变动值小数位",
  14080. "type": "integer"
  14081. },
  14082. "realminivalue": {
  14083. "description": "实际最小变动值",
  14084. "type": "integer"
  14085. },
  14086. "realminivaluedp": {
  14087. "description": "实际最小变动值小数位",
  14088. "type": "integer"
  14089. },
  14090. "unitid": {
  14091. "description": "单位ID",
  14092. "type": "integer"
  14093. },
  14094. "unitname": {
  14095. "description": "单位",
  14096. "type": "string"
  14097. },
  14098. "updatetime": {
  14099. "description": "更新时间",
  14100. "type": "string"
  14101. },
  14102. "updatorid": {
  14103. "description": "更新人",
  14104. "type": "integer"
  14105. },
  14106. "wrsstatus": {
  14107. "description": "状态 - 作废 - 0:未激活 1:正常",
  14108. "type": "integer"
  14109. },
  14110. "wrstandardcode": {
  14111. "description": "仓单标准代码",
  14112. "type": "string"
  14113. },
  14114. "wrstandardid": {
  14115. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14116. "type": "integer"
  14117. },
  14118. "wrstandardname": {
  14119. "description": "仓单标准名称",
  14120. "type": "string"
  14121. }
  14122. }
  14123. },
  14124. "models.Warehouseinfo": {
  14125. "type": "object",
  14126. "required": [
  14127. "autoid",
  14128. "warehousecode"
  14129. ],
  14130. "properties": {
  14131. "address": {
  14132. "description": "详细地址",
  14133. "type": "string"
  14134. },
  14135. "areauserid": {
  14136. "description": "所属机构",
  14137. "type": "integer"
  14138. },
  14139. "autoid": {
  14140. "description": "自增ID",
  14141. "type": "integer"
  14142. },
  14143. "cityid": {
  14144. "description": "市",
  14145. "type": "integer"
  14146. },
  14147. "contactname": {
  14148. "description": "联系人",
  14149. "type": "string"
  14150. },
  14151. "contactnum": {
  14152. "description": "联系电话",
  14153. "type": "string"
  14154. },
  14155. "countryid": {
  14156. "description": "国家",
  14157. "type": "integer"
  14158. },
  14159. "createtime": {
  14160. "description": "创建时间",
  14161. "type": "string"
  14162. },
  14163. "districtid": {
  14164. "description": "区",
  14165. "type": "integer"
  14166. },
  14167. "hasvideo": {
  14168. "description": "是否有视频 - 0:无 1:有",
  14169. "type": "integer"
  14170. },
  14171. "provinceid": {
  14172. "description": "省",
  14173. "type": "integer"
  14174. },
  14175. "remark": {
  14176. "description": "审核备注",
  14177. "type": "string"
  14178. },
  14179. "videourl": {
  14180. "description": "视频地址",
  14181. "type": "string"
  14182. },
  14183. "warehousecode": {
  14184. "description": "仓库代码",
  14185. "type": "string"
  14186. },
  14187. "warehousename": {
  14188. "description": "仓库名称",
  14189. "type": "string"
  14190. },
  14191. "warehousestatus": {
  14192. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  14193. "type": "integer"
  14194. },
  14195. "warehousetype": {
  14196. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14197. "type": "integer"
  14198. }
  14199. }
  14200. },
  14201. "order.QueryHisTradeDetailRsp": {
  14202. "type": "object",
  14203. "required": [
  14204. "accountid",
  14205. "buyorsell",
  14206. "goodsid",
  14207. "histradedate",
  14208. "marketid",
  14209. "memberuserid",
  14210. "orderid",
  14211. "tradeamount",
  14212. "tradedate",
  14213. "tradeid",
  14214. "tradeprice",
  14215. "tradeqty",
  14216. "tradetime"
  14217. ],
  14218. "properties": {
  14219. "accountid": {
  14220. "description": "账户ID[报价币种]",
  14221. "type": "integer"
  14222. },
  14223. "buildtype": {
  14224. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14225. "type": "integer"
  14226. },
  14227. "buyorsell": {
  14228. "description": "方向 - 0:买 1:卖",
  14229. "type": "integer"
  14230. },
  14231. "charge": {
  14232. "description": "手续费",
  14233. "type": "number"
  14234. },
  14235. "closecharge": {
  14236. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14237. "type": "number"
  14238. },
  14239. "closeexchagechargevalue": {
  14240. "description": "平仓交易所手续费设置值",
  14241. "type": "number"
  14242. },
  14243. "closefeealgorithm": {
  14244. "description": "平仓手续费收取方式 1:比率 2:固定",
  14245. "type": "integer"
  14246. },
  14247. "closememberchargevalue": {
  14248. "description": "平仓会员手续费设置值",
  14249. "type": "number"
  14250. },
  14251. "closepl": {
  14252. "description": "平仓盈亏",
  14253. "type": "number"
  14254. },
  14255. "closepl2": {
  14256. "description": "平仓盈亏[逐笔]",
  14257. "type": "number"
  14258. },
  14259. "closeqty": {
  14260. "description": "平仓数量(先建后平操作 需要记录)",
  14261. "type": "integer"
  14262. },
  14263. "creditamount": {
  14264. "description": "授信金额",
  14265. "type": "number"
  14266. },
  14267. "gcaccountid": {
  14268. "description": "账户ID[合约币种]",
  14269. "type": "integer"
  14270. },
  14271. "goodscode": {
  14272. "description": "商品代码",
  14273. "type": "string"
  14274. },
  14275. "goodsid": {
  14276. "description": "商品ID",
  14277. "type": "integer"
  14278. },
  14279. "goodsname": {
  14280. "description": "商品名称",
  14281. "type": "string"
  14282. },
  14283. "histradedate": {
  14284. "description": "历史交易日",
  14285. "type": "string"
  14286. },
  14287. "intclosepl": {
  14288. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14289. "type": "integer"
  14290. },
  14291. "isconfirmexercise": {
  14292. "description": "是否确认行权- 0:否 1:是",
  14293. "type": "integer"
  14294. },
  14295. "ismain": {
  14296. "description": "是否主单 - 0:不是 1:是",
  14297. "type": "integer"
  14298. },
  14299. "ispreexercise": {
  14300. "description": "是否预申报- 0:否 1:是",
  14301. "type": "integer"
  14302. },
  14303. "isreckoned": {
  14304. "description": "是否结算 - 0:未结算 1:已结算",
  14305. "type": "integer"
  14306. },
  14307. "isvaliddata": {
  14308. "description": "是否有效 - 0:无效 1:有效",
  14309. "type": "integer"
  14310. },
  14311. "listingselecttype": {
  14312. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14313. "type": "integer"
  14314. },
  14315. "marketid": {
  14316. "description": "市场ID",
  14317. "type": "integer"
  14318. },
  14319. "marketname": {
  14320. "description": "市场名称",
  14321. "type": "string"
  14322. },
  14323. "matchaccountid": {
  14324. "description": "对手账号id",
  14325. "type": "integer"
  14326. },
  14327. "memberuserid": {
  14328. "description": "会员id 个人投资者 需要填写",
  14329. "type": "integer"
  14330. },
  14331. "opencharge": {
  14332. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14333. "type": "number"
  14334. },
  14335. "openexchagechargevalue": {
  14336. "description": "建仓交易所手续费设置值",
  14337. "type": "number"
  14338. },
  14339. "openfeealgorithm": {
  14340. "description": "建仓手续费收取方式 1:比率 2:固定",
  14341. "type": "integer"
  14342. },
  14343. "openmemberchargevalue": {
  14344. "description": "建仓会员手续费设置值",
  14345. "type": "number"
  14346. },
  14347. "openqty": {
  14348. "description": "开仓数量(先建后平操作 需要记录)",
  14349. "type": "integer"
  14350. },
  14351. "optiontype": {
  14352. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14353. "type": "integer"
  14354. },
  14355. "orderid": {
  14356. "description": "委托单号",
  14357. "type": "string"
  14358. },
  14359. "performanceplanid": {
  14360. "description": "履约计划ID[期权]",
  14361. "type": "integer"
  14362. },
  14363. "performancestatus": {
  14364. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14365. "type": "integer"
  14366. },
  14367. "preexerciseprice": {
  14368. "description": "预申报价格",
  14369. "type": "number"
  14370. },
  14371. "premium": {
  14372. "description": "权利金 - [持仓单的权利金]",
  14373. "type": "number"
  14374. },
  14375. "relatedouttradeid": {
  14376. "description": "关联外部成交单ID",
  14377. "type": "integer"
  14378. },
  14379. "status": {
  14380. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14381. "type": "integer"
  14382. },
  14383. "tradeamount": {
  14384. "description": "成交金额[账户币种,用于所有权]",
  14385. "type": "number"
  14386. },
  14387. "tradedate": {
  14388. "description": "交易日(yyyyMMdd)",
  14389. "type": "string"
  14390. },
  14391. "tradeid": {
  14392. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14393. "type": "string"
  14394. },
  14395. "trademode": {
  14396. "description": "交易模式",
  14397. "type": "integer"
  14398. },
  14399. "tradeprice": {
  14400. "description": "成交价格",
  14401. "type": "number"
  14402. },
  14403. "tradeproperty": {
  14404. "description": "交易属性",
  14405. "type": "integer"
  14406. },
  14407. "tradeqty": {
  14408. "description": "成交数量",
  14409. "type": "integer"
  14410. },
  14411. "tradetime": {
  14412. "description": "成交时间",
  14413. "type": "string"
  14414. },
  14415. "tradetype": {
  14416. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14417. "type": "integer"
  14418. }
  14419. }
  14420. },
  14421. "order.QueryHisTradeOrderDetailRsp": {
  14422. "type": "object",
  14423. "required": [
  14424. "accountid",
  14425. "buildtype",
  14426. "buyorsell",
  14427. "goodsid",
  14428. "histradedate",
  14429. "marketid",
  14430. "memberuserid",
  14431. "operatetype",
  14432. "orderid",
  14433. "orderqty",
  14434. "ordertime",
  14435. "pricemode",
  14436. "tradedate",
  14437. "validtype"
  14438. ],
  14439. "properties": {
  14440. "accountid": {
  14441. "description": "账户ID[报价币种]",
  14442. "type": "integer"
  14443. },
  14444. "buildtype": {
  14445. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14446. "type": "integer"
  14447. },
  14448. "buyorsell": {
  14449. "description": "买卖 - 0:买 1:卖",
  14450. "type": "integer"
  14451. },
  14452. "cancelorderid": {
  14453. "description": "撤单单号(撤单时填写)",
  14454. "type": "string"
  14455. },
  14456. "cancelqty": {
  14457. "description": "撤单数量",
  14458. "type": "integer"
  14459. },
  14460. "clientordertime": {
  14461. "description": "客户端委托时间",
  14462. "type": "string"
  14463. },
  14464. "clientticket": {
  14465. "description": "客户端流水号",
  14466. "type": "string"
  14467. },
  14468. "clienttype": {
  14469. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14470. "type": "integer"
  14471. },
  14472. "closeexchagechargevalue": {
  14473. "description": "平仓交易所手续费设置值",
  14474. "type": "number"
  14475. },
  14476. "closefeealgorithm": {
  14477. "description": "平仓手续费收取方式 1:比率 2:固定",
  14478. "type": "integer"
  14479. },
  14480. "closefreezecharge": {
  14481. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14482. "type": "number"
  14483. },
  14484. "closememberchargevalue": {
  14485. "description": "平仓会员手续费设置值",
  14486. "type": "number"
  14487. },
  14488. "closeqty": {
  14489. "description": "平仓数量(先建后平操作 需要记录)",
  14490. "type": "integer"
  14491. },
  14492. "closetradeqty": {
  14493. "description": "平仓成交数量(先建后平操作,需要记录)",
  14494. "type": "integer"
  14495. },
  14496. "closeunfreezecharge": {
  14497. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14498. "type": "number"
  14499. },
  14500. "delistingtype": {
  14501. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14502. "type": "integer"
  14503. },
  14504. "freezecharge": {
  14505. "description": "冻结手续费",
  14506. "type": "number"
  14507. },
  14508. "freezemargin": {
  14509. "description": "冻结保证金(冻结交易金额)",
  14510. "type": "number"
  14511. },
  14512. "gcaccountid": {
  14513. "description": "账户ID[合约币种]",
  14514. "type": "integer"
  14515. },
  14516. "goodscode": {
  14517. "description": "商品代码",
  14518. "type": "string"
  14519. },
  14520. "goodsid": {
  14521. "description": "商品ID",
  14522. "type": "integer"
  14523. },
  14524. "goodsname": {
  14525. "description": "商品名称",
  14526. "type": "string"
  14527. },
  14528. "histradedate": {
  14529. "description": "历史交易日",
  14530. "type": "string"
  14531. },
  14532. "isconfirmexercise": {
  14533. "description": "是否确认行权- 0:否 1:是",
  14534. "type": "integer"
  14535. },
  14536. "ispreexercise": {
  14537. "description": "是否预申报- 0:否 1:是",
  14538. "type": "integer"
  14539. },
  14540. "isvaliddata": {
  14541. "description": "是否有效 - 0:无效 1:有效",
  14542. "type": "integer"
  14543. },
  14544. "listingselecttype": {
  14545. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14546. "type": "integer"
  14547. },
  14548. "marginalgorithm": {
  14549. "description": "保证金收取方式 1:比率 2:固定",
  14550. "type": "integer"
  14551. },
  14552. "marginvalue": {
  14553. "description": "即市保证金设置值",
  14554. "type": "number"
  14555. },
  14556. "marketid": {
  14557. "description": "市场ID",
  14558. "type": "integer"
  14559. },
  14560. "marketmaxsub": {
  14561. "description": "市价最大偏移范围",
  14562. "type": "number"
  14563. },
  14564. "marketname": {
  14565. "description": "市场名称",
  14566. "type": "string"
  14567. },
  14568. "memberuserid": {
  14569. "description": "所属会员UserID",
  14570. "type": "integer"
  14571. },
  14572. "openexchagechargevalue": {
  14573. "description": "建仓交易所手续费设置值",
  14574. "type": "number"
  14575. },
  14576. "openfeealgorithm": {
  14577. "description": "建仓手续费收取方式 1:比率 2:固定",
  14578. "type": "integer"
  14579. },
  14580. "openfreezecharge": {
  14581. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14582. "type": "number"
  14583. },
  14584. "openmemberchargevalue": {
  14585. "description": "建仓会员手续费设置值",
  14586. "type": "number"
  14587. },
  14588. "openqty": {
  14589. "description": "开仓数量(先建后平操作,需要记录)",
  14590. "type": "integer"
  14591. },
  14592. "opentradeqty": {
  14593. "description": "开仓成交数量(先建后平操作,需要记录)",
  14594. "type": "integer"
  14595. },
  14596. "openunfreezecharge": {
  14597. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14598. "type": "number"
  14599. },
  14600. "operatetype": {
  14601. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14602. "type": "integer"
  14603. },
  14604. "operatorid": {
  14605. "description": "登录账号(LoginID)",
  14606. "type": "integer"
  14607. },
  14608. "optiontype": {
  14609. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14610. "type": "integer"
  14611. },
  14612. "orderid": {
  14613. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14614. "type": "string"
  14615. },
  14616. "orderprice": {
  14617. "description": "委托价格",
  14618. "type": "number"
  14619. },
  14620. "orderqty": {
  14621. "description": "委托数量",
  14622. "type": "integer"
  14623. },
  14624. "ordersrc": {
  14625. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14626. "type": "integer"
  14627. },
  14628. "orderstatus": {
  14629. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14630. "type": "integer"
  14631. },
  14632. "ordertime": {
  14633. "description": "委托时间",
  14634. "type": "string"
  14635. },
  14636. "preexerciseprice": {
  14637. "description": "预申报价格",
  14638. "type": "number"
  14639. },
  14640. "premium": {
  14641. "description": "权利金",
  14642. "type": "number"
  14643. },
  14644. "preorderid": {
  14645. "description": "关联预埋单号(止盈止损单时填写)",
  14646. "type": "string"
  14647. },
  14648. "pricemode": {
  14649. "description": "取价方式 - 1:市价 2: 限价",
  14650. "type": "integer"
  14651. },
  14652. "quoteid": {
  14653. "description": "报价单ID",
  14654. "type": "integer"
  14655. },
  14656. "relatedid": {
  14657. "description": "关联单号(交割单)",
  14658. "type": "string"
  14659. },
  14660. "retcode": {
  14661. "description": "错误代码",
  14662. "type": "integer"
  14663. },
  14664. "sessionid": {
  14665. "description": "会话ID",
  14666. "type": "integer"
  14667. },
  14668. "tradedate": {
  14669. "description": "交易日(yyyyMMdd)",
  14670. "type": "string"
  14671. },
  14672. "trademode": {
  14673. "description": "交易模式",
  14674. "type": "integer"
  14675. },
  14676. "tradeproperty": {
  14677. "description": "交易属性",
  14678. "type": "integer"
  14679. },
  14680. "tradeqty": {
  14681. "description": "成交数量",
  14682. "type": "integer"
  14683. },
  14684. "unfreezecharge": {
  14685. "description": "解冻手续费",
  14686. "type": "number"
  14687. },
  14688. "unfreezemargin": {
  14689. "description": "解冻保证金",
  14690. "type": "number"
  14691. },
  14692. "updatetime": {
  14693. "description": "更新时间",
  14694. "type": "string"
  14695. },
  14696. "uuid": {
  14697. "description": "发起端唯一id",
  14698. "type": "string"
  14699. },
  14700. "validtime": {
  14701. "description": "有效期限",
  14702. "type": "string"
  14703. },
  14704. "validtype": {
  14705. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14706. "type": "integer"
  14707. },
  14708. "volumetype": {
  14709. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14710. "type": "integer"
  14711. }
  14712. }
  14713. },
  14714. "order.QueryTradeDetailRsp": {
  14715. "type": "object",
  14716. "required": [
  14717. "accountid",
  14718. "buyorsell",
  14719. "goodsid",
  14720. "marketid",
  14721. "memberuserid",
  14722. "orderid",
  14723. "tradeamount",
  14724. "tradedate",
  14725. "tradeid",
  14726. "tradeprice",
  14727. "tradeqty",
  14728. "tradetime"
  14729. ],
  14730. "properties": {
  14731. "accountid": {
  14732. "description": "账户ID[报价币种]",
  14733. "type": "integer"
  14734. },
  14735. "buildtype": {
  14736. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  14737. "type": "integer"
  14738. },
  14739. "buyorsell": {
  14740. "description": "方向 - 0:买 1:卖",
  14741. "type": "integer"
  14742. },
  14743. "charge": {
  14744. "description": "手续费",
  14745. "type": "number"
  14746. },
  14747. "closecharge": {
  14748. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14749. "type": "number"
  14750. },
  14751. "closeexchagechargevalue": {
  14752. "description": "平仓交易所手续费设置值",
  14753. "type": "number"
  14754. },
  14755. "closefeealgorithm": {
  14756. "description": "平仓手续费收取方式 1:比率 2:固定",
  14757. "type": "integer"
  14758. },
  14759. "closememberchargevalue": {
  14760. "description": "平仓会员手续费设置值",
  14761. "type": "number"
  14762. },
  14763. "closepl": {
  14764. "description": "平仓盈亏",
  14765. "type": "number"
  14766. },
  14767. "closepl2": {
  14768. "description": "平仓盈亏[逐笔]",
  14769. "type": "number"
  14770. },
  14771. "closeqty": {
  14772. "description": "平仓数量(先建后平操作 需要记录)",
  14773. "type": "integer"
  14774. },
  14775. "creditamount": {
  14776. "description": "授信金额",
  14777. "type": "number"
  14778. },
  14779. "gcaccountid": {
  14780. "description": "账户ID[合约币种]",
  14781. "type": "integer"
  14782. },
  14783. "goodscode": {
  14784. "description": "商品代码",
  14785. "type": "string"
  14786. },
  14787. "goodsid": {
  14788. "description": "商品ID",
  14789. "type": "integer"
  14790. },
  14791. "goodsname": {
  14792. "description": "商品名称",
  14793. "type": "string"
  14794. },
  14795. "intclosepl": {
  14796. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  14797. "type": "integer"
  14798. },
  14799. "isconfirmexercise": {
  14800. "description": "是否确认行权- 0:否 1:是",
  14801. "type": "integer"
  14802. },
  14803. "ismain": {
  14804. "description": "是否主单 - 0:不是 1:是",
  14805. "type": "integer"
  14806. },
  14807. "ispreexercise": {
  14808. "description": "是否预申报- 0:否 1:是",
  14809. "type": "integer"
  14810. },
  14811. "isreckoned": {
  14812. "description": "是否结算 - 0:未结算 1:已结算",
  14813. "type": "integer"
  14814. },
  14815. "listingselecttype": {
  14816. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14817. "type": "integer"
  14818. },
  14819. "marketid": {
  14820. "description": "市场ID",
  14821. "type": "integer"
  14822. },
  14823. "marketname": {
  14824. "description": "市场名称",
  14825. "type": "string"
  14826. },
  14827. "matchaccountid": {
  14828. "description": "对手账号id",
  14829. "type": "integer"
  14830. },
  14831. "memberuserid": {
  14832. "description": "会员id 个人投资者 需要填写",
  14833. "type": "integer"
  14834. },
  14835. "opencharge": {
  14836. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  14837. "type": "number"
  14838. },
  14839. "openexchagechargevalue": {
  14840. "description": "建仓交易所手续费设置值",
  14841. "type": "number"
  14842. },
  14843. "openfeealgorithm": {
  14844. "description": "建仓手续费收取方式 1:比率 2:固定",
  14845. "type": "integer"
  14846. },
  14847. "openmemberchargevalue": {
  14848. "description": "建仓会员手续费设置值",
  14849. "type": "number"
  14850. },
  14851. "openqty": {
  14852. "description": "开仓数量(先建后平操作 需要记录)",
  14853. "type": "integer"
  14854. },
  14855. "optiontype": {
  14856. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14857. "type": "integer"
  14858. },
  14859. "orderid": {
  14860. "description": "委托单号",
  14861. "type": "string"
  14862. },
  14863. "performanceplanid": {
  14864. "description": "履约计划ID[期权]",
  14865. "type": "integer"
  14866. },
  14867. "performancestatus": {
  14868. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  14869. "type": "integer"
  14870. },
  14871. "preexerciseprice": {
  14872. "description": "预申报价格",
  14873. "type": "number"
  14874. },
  14875. "premium": {
  14876. "description": "权利金 - [持仓单的权利金]",
  14877. "type": "number"
  14878. },
  14879. "relatedouttradeid": {
  14880. "description": "关联外部成交单ID",
  14881. "type": "integer"
  14882. },
  14883. "status": {
  14884. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  14885. "type": "integer"
  14886. },
  14887. "tradeamount": {
  14888. "description": "成交金额[账户币种,用于所有权]",
  14889. "type": "number"
  14890. },
  14891. "tradedate": {
  14892. "description": "交易日(yyyyMMdd)",
  14893. "type": "string"
  14894. },
  14895. "tradeid": {
  14896. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14897. "type": "string"
  14898. },
  14899. "trademode": {
  14900. "description": "交易模式",
  14901. "type": "integer"
  14902. },
  14903. "tradeprice": {
  14904. "description": "成交价格",
  14905. "type": "number"
  14906. },
  14907. "tradeproperty": {
  14908. "description": "交易属性",
  14909. "type": "integer"
  14910. },
  14911. "tradeqty": {
  14912. "description": "成交数量",
  14913. "type": "integer"
  14914. },
  14915. "tradetime": {
  14916. "description": "成交时间",
  14917. "type": "string"
  14918. },
  14919. "tradetype": {
  14920. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  14921. "type": "integer"
  14922. }
  14923. }
  14924. },
  14925. "order.QueryTradeOrderDetailRsp": {
  14926. "type": "object",
  14927. "required": [
  14928. "accountid",
  14929. "buildtype",
  14930. "buyorsell",
  14931. "goodsid",
  14932. "marketid",
  14933. "operatetype",
  14934. "orderqty",
  14935. "ordertime",
  14936. "pricemode",
  14937. "tradedate",
  14938. "validtype"
  14939. ],
  14940. "properties": {
  14941. "accountid": {
  14942. "description": "账户ID[报价币种]",
  14943. "type": "integer"
  14944. },
  14945. "buildtype": {
  14946. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14947. "type": "integer"
  14948. },
  14949. "buyorsell": {
  14950. "description": "买卖 - 0:买 1:卖",
  14951. "type": "integer"
  14952. },
  14953. "cancelorderid": {
  14954. "description": "撤单单号(撤单时填写)",
  14955. "type": "string"
  14956. },
  14957. "cancelqty": {
  14958. "description": "撤单数量",
  14959. "type": "integer"
  14960. },
  14961. "clienttype": {
  14962. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14963. "type": "integer"
  14964. },
  14965. "closefreezecharge": {
  14966. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14967. "type": "number"
  14968. },
  14969. "closeqty": {
  14970. "description": "平仓数量(先建后平操作 需要记录)",
  14971. "type": "integer"
  14972. },
  14973. "closetradeqty": {
  14974. "description": "平仓成交数量(先建后平操作,需要记录)",
  14975. "type": "integer"
  14976. },
  14977. "closeunfreezecharge": {
  14978. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14979. "type": "number"
  14980. },
  14981. "delistingtype": {
  14982. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14983. "type": "integer"
  14984. },
  14985. "enableqty": {
  14986. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  14987. "type": "integer"
  14988. },
  14989. "freezecharge": {
  14990. "description": "冻结手续费",
  14991. "type": "number"
  14992. },
  14993. "freezemargin": {
  14994. "description": "冻结保证金(冻结交易金额)",
  14995. "type": "number"
  14996. },
  14997. "goodscode": {
  14998. "description": "商品代码",
  14999. "type": "string"
  15000. },
  15001. "goodsid": {
  15002. "description": "商品ID",
  15003. "type": "integer"
  15004. },
  15005. "goodsname": {
  15006. "description": "商品名称",
  15007. "type": "string"
  15008. },
  15009. "listingselecttype": {
  15010. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15011. "type": "integer"
  15012. },
  15013. "marketid": {
  15014. "description": "市场ID",
  15015. "type": "integer"
  15016. },
  15017. "marketname": {
  15018. "description": "市场名称",
  15019. "type": "string"
  15020. },
  15021. "openfreezecharge": {
  15022. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15023. "type": "number"
  15024. },
  15025. "openqty": {
  15026. "description": "开仓数量(先建后平操作,需要记录)",
  15027. "type": "integer"
  15028. },
  15029. "opentradeqty": {
  15030. "description": "开仓成交数量(先建后平操作,需要记录)",
  15031. "type": "integer"
  15032. },
  15033. "openunfreezecharge": {
  15034. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15035. "type": "number"
  15036. },
  15037. "operatetype": {
  15038. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15039. "type": "integer"
  15040. },
  15041. "operatorid": {
  15042. "description": "登录账号(LoginID)",
  15043. "type": "integer"
  15044. },
  15045. "orderid": {
  15046. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15047. "type": "string"
  15048. },
  15049. "orderprice": {
  15050. "description": "委托价格",
  15051. "type": "number"
  15052. },
  15053. "orderqty": {
  15054. "description": "委托数量",
  15055. "type": "integer"
  15056. },
  15057. "ordersrc": {
  15058. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15059. "type": "integer"
  15060. },
  15061. "orderstatus": {
  15062. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15063. "type": "integer"
  15064. },
  15065. "ordertime": {
  15066. "description": "委托时间",
  15067. "type": "string"
  15068. },
  15069. "preorderid": {
  15070. "description": "关联预埋单号(止盈止损单时填写)",
  15071. "type": "string"
  15072. },
  15073. "pricemode": {
  15074. "description": "取价方式 - 1:市价 2: 限价",
  15075. "type": "integer"
  15076. },
  15077. "relatedid": {
  15078. "description": "关联单号(交割单)",
  15079. "type": "string"
  15080. },
  15081. "tradedate": {
  15082. "description": "交易日(yyyyMMdd)",
  15083. "type": "string"
  15084. },
  15085. "trademode": {
  15086. "description": "交易模式",
  15087. "type": "integer"
  15088. },
  15089. "tradeqty": {
  15090. "description": "成交数量",
  15091. "type": "integer"
  15092. },
  15093. "unfreezecharge": {
  15094. "description": "解冻手续费",
  15095. "type": "number"
  15096. },
  15097. "unfreezemargin": {
  15098. "description": "解冻保证金",
  15099. "type": "number"
  15100. },
  15101. "validtime": {
  15102. "description": "有效期限",
  15103. "type": "string"
  15104. },
  15105. "validtype": {
  15106. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15107. "type": "integer"
  15108. },
  15109. "volumetype": {
  15110. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15111. "type": "integer"
  15112. }
  15113. }
  15114. },
  15115. "order.QueryTradePositionRsp": {
  15116. "type": "object",
  15117. "required": [
  15118. "goodsid"
  15119. ],
  15120. "properties": {
  15121. "accountid": {
  15122. "description": "资金账户",
  15123. "type": "integer"
  15124. },
  15125. "agreeunit": {
  15126. "description": "合约单位",
  15127. "type": "number"
  15128. },
  15129. "averageprice": {
  15130. "description": "持仓均价",
  15131. "type": "number"
  15132. },
  15133. "buyorsell": {
  15134. "description": "方向 - 0:买 1:卖",
  15135. "type": "integer"
  15136. },
  15137. "closetotalqty": {
  15138. "description": "平仓总数量",
  15139. "type": "integer"
  15140. },
  15141. "curholderamount": {
  15142. "description": "当前持仓总金额[商品币种]",
  15143. "type": "number"
  15144. },
  15145. "curpositionqty": {
  15146. "description": "当前持仓总数量",
  15147. "type": "integer"
  15148. },
  15149. "currencyid": {
  15150. "description": "报价货币ID",
  15151. "type": "integer"
  15152. },
  15153. "curtdposition": {
  15154. "description": "期末今日头寸",
  15155. "type": "integer"
  15156. },
  15157. "decimalplace": {
  15158. "description": "报价小数位",
  15159. "type": "integer"
  15160. },
  15161. "enableqty": {
  15162. "description": "可用量",
  15163. "type": "integer"
  15164. },
  15165. "fretdposition": {
  15166. "description": "冻结今日头寸",
  15167. "type": "integer"
  15168. },
  15169. "frozenqty": {
  15170. "description": "持仓冻结数量",
  15171. "type": "integer"
  15172. },
  15173. "goodscode": {
  15174. "description": "商品代码",
  15175. "type": "string"
  15176. },
  15177. "goodsid": {
  15178. "description": "商品Id",
  15179. "type": "integer"
  15180. },
  15181. "goodsname": {
  15182. "description": "商品名称",
  15183. "type": "string"
  15184. },
  15185. "goodunit": {
  15186. "description": "报价单位",
  15187. "type": "string"
  15188. },
  15189. "goodunitid": {
  15190. "description": "报价单位ID",
  15191. "type": "integer"
  15192. },
  15193. "holderamount": {
  15194. "description": "期初持仓总金额[商品币种]",
  15195. "type": "number"
  15196. },
  15197. "marketid": {
  15198. "description": "所属市场ID",
  15199. "type": "integer"
  15200. },
  15201. "openreqqty": {
  15202. "description": "开仓申请数量(用于比较最大持仓数量)",
  15203. "type": "integer"
  15204. },
  15205. "opentotalqty": {
  15206. "description": "开仓总数量",
  15207. "type": "integer"
  15208. },
  15209. "otherfrozenqty": {
  15210. "description": "持仓其他冻结数量(交割冻结)",
  15211. "type": "integer"
  15212. },
  15213. "positionqty": {
  15214. "description": "期初持仓数量",
  15215. "type": "integer"
  15216. },
  15217. "tnqty": {
  15218. "description": "T+N冻结总量",
  15219. "type": "integer"
  15220. },
  15221. "tnusedqty": {
  15222. "description": "T+N使用量(可以使用T+N的冻结数量)",
  15223. "type": "integer"
  15224. },
  15225. "trademode": {
  15226. "description": "交易模式",
  15227. "type": "integer"
  15228. },
  15229. "usedmargin": {
  15230. "description": "占用保证金[商品币种]",
  15231. "type": "number"
  15232. }
  15233. }
  15234. },
  15235. "quote.HistoryData": {
  15236. "type": "object",
  15237. "properties": {
  15238. "c": {
  15239. "description": "收盘价",
  15240. "type": "number"
  15241. },
  15242. "h": {
  15243. "description": "最高价",
  15244. "type": "number"
  15245. },
  15246. "hv": {
  15247. "description": "持仓量",
  15248. "type": "integer"
  15249. },
  15250. "l": {
  15251. "description": "最低价",
  15252. "type": "number"
  15253. },
  15254. "o": {
  15255. "description": "开盘价",
  15256. "type": "number"
  15257. },
  15258. "s": {
  15259. "description": "结算价,日线周期(包括)以上才有",
  15260. "type": "number"
  15261. },
  15262. "ts": {
  15263. "description": "时间",
  15264. "type": "string"
  15265. },
  15266. "tt": {
  15267. "description": "总金额",
  15268. "type": "number"
  15269. },
  15270. "tv": {
  15271. "description": "总量",
  15272. "type": "integer"
  15273. }
  15274. }
  15275. },
  15276. "quote.QueryTSDataRsp": {
  15277. "type": "object",
  15278. "properties": {
  15279. "decimalPlace": {
  15280. "description": "小数位",
  15281. "type": "integer"
  15282. },
  15283. "endTime": {
  15284. "description": "结束时间",
  15285. "type": "string"
  15286. },
  15287. "goodsCode": {
  15288. "description": "商品代码",
  15289. "type": "string"
  15290. },
  15291. "historyDatas": {
  15292. "description": "历史数据",
  15293. "type": "array",
  15294. "items": {
  15295. "$ref": "#/definitions/quote.HistoryData"
  15296. }
  15297. },
  15298. "preSettle": {
  15299. "description": "昨结",
  15300. "type": "number"
  15301. },
  15302. "startTime": {
  15303. "description": "开始时间",
  15304. "type": "string"
  15305. },
  15306. "tradeDate": {
  15307. "description": "交易日",
  15308. "type": "string"
  15309. }
  15310. }
  15311. },
  15312. "szdz.QueryConvertLogRsp": {
  15313. "type": "object",
  15314. "required": [
  15315. "logid"
  15316. ],
  15317. "properties": {
  15318. "accountid": {
  15319. "description": "资金账户ID",
  15320. "type": "integer"
  15321. },
  15322. "clientticket": {
  15323. "description": "客户端流水号",
  15324. "type": "string"
  15325. },
  15326. "converttype": {
  15327. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  15328. "type": "integer"
  15329. },
  15330. "createtime": {
  15331. "description": "记账时间",
  15332. "type": "string"
  15333. },
  15334. "daymaxvalue": {
  15335. "description": "配置当日最大转入限制",
  15336. "type": "number"
  15337. },
  15338. "daymaxvalue2": {
  15339. "description": "配置当日最大转入限制(转入)",
  15340. "type": "number"
  15341. },
  15342. "goodscode": {
  15343. "description": "商品代码",
  15344. "type": "string"
  15345. },
  15346. "goodsname": {
  15347. "description": "商品名称",
  15348. "type": "string"
  15349. },
  15350. "handlestatus": {
  15351. "description": "处理状态",
  15352. "type": "integer"
  15353. },
  15354. "innergoodsid": {
  15355. "description": "内部商品ID",
  15356. "type": "integer"
  15357. },
  15358. "inratio": {
  15359. "description": "配置转入比值",
  15360. "type": "integer"
  15361. },
  15362. "invalue": {
  15363. "description": "目标值",
  15364. "type": "number"
  15365. },
  15366. "logid": {
  15367. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15368. "type": "integer"
  15369. },
  15370. "mobile": {
  15371. "description": "手机号码(加密存储)",
  15372. "type": "string"
  15373. },
  15374. "outergoodscode": {
  15375. "description": "外部商品代码[JD\\PD]",
  15376. "type": "string"
  15377. },
  15378. "outratio": {
  15379. "description": "配置转出比值",
  15380. "type": "integer"
  15381. },
  15382. "outvalue": {
  15383. "description": "源值",
  15384. "type": "number"
  15385. },
  15386. "pddecimalplace": {
  15387. "description": "PD小数位",
  15388. "type": "integer"
  15389. },
  15390. "qty": {
  15391. "description": "数量",
  15392. "type": "string"
  15393. },
  15394. "remark": {
  15395. "description": "备注",
  15396. "type": "string"
  15397. },
  15398. "sessionid": {
  15399. "description": "会话ID",
  15400. "type": "integer"
  15401. },
  15402. "timemaxvalue": {
  15403. "description": "配置单次最大转入限制",
  15404. "type": "number"
  15405. },
  15406. "timemaxvalue2": {
  15407. "description": "配置单次最大转入限制(转入)",
  15408. "type": "number"
  15409. },
  15410. "timeminvalue": {
  15411. "description": "配置单次最小数量限制",
  15412. "type": "number"
  15413. },
  15414. "timeminvalue2": {
  15415. "description": "配置单次最小数量限制(转入)",
  15416. "type": "number"
  15417. },
  15418. "tradedate": {
  15419. "description": "交易日(yyyyMMdd)",
  15420. "type": "string"
  15421. },
  15422. "userid": {
  15423. "description": "用户ID",
  15424. "type": "integer"
  15425. }
  15426. }
  15427. },
  15428. "szdz.QueryGoodsPickupRsp": {
  15429. "type": "object",
  15430. "required": [
  15431. "takeorderid"
  15432. ],
  15433. "properties": {
  15434. "accountid": {
  15435. "description": "账户ID",
  15436. "type": "integer"
  15437. },
  15438. "address": {
  15439. "description": "提货人详细地址",
  15440. "type": "string"
  15441. },
  15442. "auditer": {
  15443. "description": "审核人",
  15444. "type": "integer"
  15445. },
  15446. "audittime": {
  15447. "description": "审核时间",
  15448. "type": "string"
  15449. },
  15450. "cardnum": {
  15451. "description": "提货人证件号码",
  15452. "type": "string"
  15453. },
  15454. "cardtypeid": {
  15455. "description": "提货人证件类型",
  15456. "type": "integer"
  15457. },
  15458. "checkremark": {
  15459. "description": "审核备注",
  15460. "type": "string"
  15461. },
  15462. "goodscode": {
  15463. "description": "商品代码",
  15464. "type": "string"
  15465. },
  15466. "goodsid": {
  15467. "description": "商品ID",
  15468. "type": "integer"
  15469. },
  15470. "goodsname": {
  15471. "description": "商品名称",
  15472. "type": "string"
  15473. },
  15474. "handlestatus": {
  15475. "description": "处理状态",
  15476. "type": "integer"
  15477. },
  15478. "marketid": {
  15479. "description": "市场ID",
  15480. "type": "integer"
  15481. },
  15482. "phonenum": {
  15483. "description": "提货人联系方式",
  15484. "type": "string"
  15485. },
  15486. "qty": {
  15487. "description": "提货数量",
  15488. "type": "number"
  15489. },
  15490. "recivername": {
  15491. "description": "提货人姓名",
  15492. "type": "string"
  15493. },
  15494. "reqtime": {
  15495. "description": "更新时间",
  15496. "type": "string"
  15497. },
  15498. "takemode": {
  15499. "description": "提货方式 - 2:自提 3:配送",
  15500. "type": "integer"
  15501. },
  15502. "takeorderid": {
  15503. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15504. "type": "string"
  15505. },
  15506. "takeorderstatus": {
  15507. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15508. "type": "integer"
  15509. },
  15510. "takeremark": {
  15511. "description": "提货备注",
  15512. "type": "string"
  15513. },
  15514. "tradedate": {
  15515. "description": "交易日(yyyyMMdd)",
  15516. "type": "string"
  15517. },
  15518. "userid": {
  15519. "description": "用户ID",
  15520. "type": "integer"
  15521. }
  15522. }
  15523. },
  15524. "szdz.QueryRecieptOrderRsp": {
  15525. "type": "object",
  15526. "required": [
  15527. "ordertime"
  15528. ],
  15529. "properties": {
  15530. "accountName": {
  15531. "description": "所属账号名称(已脱敏)",
  15532. "type": "string"
  15533. },
  15534. "accountid": {
  15535. "description": "资金账号",
  15536. "type": "integer"
  15537. },
  15538. "buyorsell": {
  15539. "description": "方向 - 0:买 1:卖",
  15540. "type": "integer"
  15541. },
  15542. "enableqty": {
  15543. "description": "可摘数量",
  15544. "type": "integer"
  15545. },
  15546. "goodscode": {
  15547. "description": "商品代码",
  15548. "type": "string"
  15549. },
  15550. "goodsid": {
  15551. "description": "商品ID",
  15552. "type": "integer"
  15553. },
  15554. "goodsname": {
  15555. "description": "商品名称",
  15556. "type": "string"
  15557. },
  15558. "orderid": {
  15559. "description": "委托单号",
  15560. "type": "string"
  15561. },
  15562. "orderprice": {
  15563. "description": "委托价格",
  15564. "type": "number"
  15565. },
  15566. "ordertime": {
  15567. "description": "委托时间",
  15568. "type": "string"
  15569. },
  15570. "tradedate": {
  15571. "description": "交易日(yyyyMMdd)",
  15572. "type": "string"
  15573. }
  15574. }
  15575. },
  15576. "szdz.QuerySZDZTradePositionRsp": {
  15577. "type": "object",
  15578. "properties": {
  15579. "accountid": {
  15580. "description": "账号Id",
  15581. "type": "integer"
  15582. },
  15583. "agreeunit": {
  15584. "description": "合约单位",
  15585. "type": "number"
  15586. },
  15587. "averageprice": {
  15588. "description": "持仓均价",
  15589. "type": "number"
  15590. },
  15591. "buyorsell": {
  15592. "description": "方向 - 0:买 1:卖",
  15593. "type": "integer"
  15594. },
  15595. "closetotalqty": {
  15596. "description": "平仓总数量",
  15597. "type": "integer"
  15598. },
  15599. "curholderamount": {
  15600. "description": "当前持仓总金额",
  15601. "type": "number"
  15602. },
  15603. "curpositionqty": {
  15604. "description": "当前持仓总数量",
  15605. "type": "integer"
  15606. },
  15607. "currencyid": {
  15608. "description": "报价货币ID",
  15609. "type": "integer"
  15610. },
  15611. "curtdposition": {
  15612. "description": "期末今日头寸",
  15613. "type": "integer"
  15614. },
  15615. "decimalplace": {
  15616. "description": "报价小数位",
  15617. "type": "integer"
  15618. },
  15619. "enableqty": {
  15620. "description": "可用量",
  15621. "type": "integer"
  15622. },
  15623. "fretdposition": {
  15624. "description": "冻结今日头寸",
  15625. "type": "integer"
  15626. },
  15627. "frozenqty": {
  15628. "description": "持仓冻结数量",
  15629. "type": "integer"
  15630. },
  15631. "goodscode": {
  15632. "description": "商品代码(内部)",
  15633. "type": "string"
  15634. },
  15635. "goodsid": {
  15636. "description": "商品Id",
  15637. "type": "integer"
  15638. },
  15639. "goodsname": {
  15640. "description": "商品名称",
  15641. "type": "string"
  15642. },
  15643. "goodunit": {
  15644. "description": "报价单位",
  15645. "type": "string"
  15646. },
  15647. "goodunitid": {
  15648. "description": "报价单位ID",
  15649. "type": "integer"
  15650. },
  15651. "holderamount": {
  15652. "description": "期初持仓总金额",
  15653. "type": "number"
  15654. },
  15655. "marketid": {
  15656. "description": "市场ID",
  15657. "type": "integer"
  15658. },
  15659. "openreqqty": {
  15660. "description": "开仓申请数量",
  15661. "type": "integer"
  15662. },
  15663. "opentotalqty": {
  15664. "description": "开仓总数量",
  15665. "type": "integer"
  15666. },
  15667. "otherfrozenqty": {
  15668. "description": "持仓其他冻结数量(交割冻结)",
  15669. "type": "integer"
  15670. },
  15671. "positionqty": {
  15672. "description": "期初持仓数量",
  15673. "type": "integer"
  15674. },
  15675. "szdz3freezqty": {
  15676. "description": "尚志大宗转换冻结总数量",
  15677. "type": "integer"
  15678. },
  15679. "tnqty": {
  15680. "description": "T+N冻结总量",
  15681. "type": "integer"
  15682. },
  15683. "tnusedqty": {
  15684. "description": "T+N使用量",
  15685. "type": "integer"
  15686. },
  15687. "trademode": {
  15688. "description": "交易模式",
  15689. "type": "integer"
  15690. },
  15691. "usedmargin": {
  15692. "description": "占用保证金",
  15693. "type": "number"
  15694. }
  15695. }
  15696. },
  15697. "taaccount.QueryAmountLogRsp": {
  15698. "type": "object",
  15699. "required": [
  15700. "accountid",
  15701. "amount",
  15702. "amountadjusttype",
  15703. "autoid",
  15704. "balance",
  15705. "createtime",
  15706. "currentbalance",
  15707. "operatetype"
  15708. ],
  15709. "properties": {
  15710. "OPERATETYPENAME": {
  15711. "description": "资金操作类型名称",
  15712. "type": "string"
  15713. },
  15714. "accountid": {
  15715. "description": "资金账户ID",
  15716. "type": "integer"
  15717. },
  15718. "agoodscode": {
  15719. "description": "竞拍商品代码",
  15720. "type": "string"
  15721. },
  15722. "agoodsname": {
  15723. "description": "竞拍商品名称",
  15724. "type": "string"
  15725. },
  15726. "amount": {
  15727. "description": "资金金额",
  15728. "type": "number"
  15729. },
  15730. "amountadjusttype": {
  15731. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15732. "type": "integer"
  15733. },
  15734. "autoid": {
  15735. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15736. "type": "integer"
  15737. },
  15738. "balance": {
  15739. "description": "期初余额",
  15740. "type": "number"
  15741. },
  15742. "businesscode": {
  15743. "description": "业务编号",
  15744. "type": "integer"
  15745. },
  15746. "createtime": {
  15747. "description": "发生时间",
  15748. "type": "string"
  15749. },
  15750. "currencyid": {
  15751. "description": "币种ID",
  15752. "type": "integer"
  15753. },
  15754. "currentbalance": {
  15755. "description": "期末余额(变动后金额)",
  15756. "type": "number"
  15757. },
  15758. "dgoodscode": {
  15759. "description": "交割商品代码",
  15760. "type": "string"
  15761. },
  15762. "dgoodsname": {
  15763. "description": "交割商品名称",
  15764. "type": "string"
  15765. },
  15766. "goodscode": {
  15767. "description": "商品代码",
  15768. "type": "string"
  15769. },
  15770. "goodsid": {
  15771. "description": "商品ID",
  15772. "type": "integer"
  15773. },
  15774. "goodsname": {
  15775. "description": "商品名称",
  15776. "type": "string"
  15777. },
  15778. "marketid": {
  15779. "description": "市场ID",
  15780. "type": "integer"
  15781. },
  15782. "marketname": {
  15783. "description": "市场名称",
  15784. "type": "string"
  15785. },
  15786. "moneyticket": {
  15787. "description": "资金流水号:银行端流水号",
  15788. "type": "integer"
  15789. },
  15790. "operatetype": {
  15791. "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:营销收款",
  15792. "type": "integer"
  15793. },
  15794. "relationorderid": {
  15795. "description": "关联单号",
  15796. "type": "string"
  15797. },
  15798. "remark": {
  15799. "description": "备注",
  15800. "type": "string"
  15801. },
  15802. "trademode": {
  15803. "description": "交易模式",
  15804. "type": "integer"
  15805. }
  15806. }
  15807. },
  15808. "taaccount.QueryHisAmountLogRsp": {
  15809. "type": "object",
  15810. "required": [
  15811. "accountid",
  15812. "amount",
  15813. "amountadjusttype",
  15814. "autoid",
  15815. "balance",
  15816. "createtime",
  15817. "currentbalance",
  15818. "histradedate",
  15819. "operatetype"
  15820. ],
  15821. "properties": {
  15822. "OPERATETYPENAME": {
  15823. "description": "资金操作类型名称",
  15824. "type": "string"
  15825. },
  15826. "accountid": {
  15827. "description": "资金账户ID",
  15828. "type": "integer"
  15829. },
  15830. "agoodscode": {
  15831. "description": "竞拍商品代码",
  15832. "type": "string"
  15833. },
  15834. "agoodsname": {
  15835. "description": "竞拍商品名称",
  15836. "type": "string"
  15837. },
  15838. "amount": {
  15839. "description": "资金金额",
  15840. "type": "number"
  15841. },
  15842. "amountadjusttype": {
  15843. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  15844. "type": "integer"
  15845. },
  15846. "autoid": {
  15847. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  15848. "type": "integer"
  15849. },
  15850. "balance": {
  15851. "description": "期初余额",
  15852. "type": "number"
  15853. },
  15854. "businesscode": {
  15855. "description": "业务编号",
  15856. "type": "integer"
  15857. },
  15858. "createtime": {
  15859. "description": "发生时间",
  15860. "type": "string"
  15861. },
  15862. "currencyid": {
  15863. "description": "币种ID",
  15864. "type": "integer"
  15865. },
  15866. "currentbalance": {
  15867. "description": "期末余额(变动后金额)",
  15868. "type": "number"
  15869. },
  15870. "dgoodscode": {
  15871. "description": "交割商品代码",
  15872. "type": "string"
  15873. },
  15874. "dgoodsname": {
  15875. "description": "交割商品名称",
  15876. "type": "string"
  15877. },
  15878. "goodscode": {
  15879. "description": "商品代码",
  15880. "type": "string"
  15881. },
  15882. "goodsid": {
  15883. "description": "商品ID",
  15884. "type": "integer"
  15885. },
  15886. "goodsname": {
  15887. "description": "商品名称",
  15888. "type": "string"
  15889. },
  15890. "histradedate": {
  15891. "description": "历史交易日",
  15892. "type": "string"
  15893. },
  15894. "isvaliddata": {
  15895. "description": "是否有效 - 0:无效 1:有效",
  15896. "type": "integer"
  15897. },
  15898. "marketid": {
  15899. "description": "市场ID",
  15900. "type": "integer"
  15901. },
  15902. "marketname": {
  15903. "description": "市场名称",
  15904. "type": "string"
  15905. },
  15906. "moneyticket": {
  15907. "description": "资金流水号:银行端流水号",
  15908. "type": "integer"
  15909. },
  15910. "operatetype": {
  15911. "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:营销收款",
  15912. "type": "integer"
  15913. },
  15914. "relationorderid": {
  15915. "description": "关联单号",
  15916. "type": "string"
  15917. },
  15918. "remark": {
  15919. "description": "备注",
  15920. "type": "string"
  15921. },
  15922. "trademode": {
  15923. "description": "交易模式",
  15924. "type": "integer"
  15925. }
  15926. }
  15927. },
  15928. "trade.QueryRecieptOrderRsp": {
  15929. "type": "object",
  15930. "required": [
  15931. "ordertime"
  15932. ],
  15933. "properties": {
  15934. "accountName": {
  15935. "description": "所属账号名称(已脱敏)",
  15936. "type": "string"
  15937. },
  15938. "accountid": {
  15939. "description": "资金账号",
  15940. "type": "integer"
  15941. },
  15942. "buyorsell": {
  15943. "description": "方向 - 0:买 1:卖",
  15944. "type": "integer"
  15945. },
  15946. "enableqty": {
  15947. "description": "可摘数量",
  15948. "type": "integer"
  15949. },
  15950. "goodscode": {
  15951. "description": "商品代码",
  15952. "type": "string"
  15953. },
  15954. "goodsid": {
  15955. "description": "商品ID",
  15956. "type": "integer"
  15957. },
  15958. "goodsname": {
  15959. "description": "商品名称",
  15960. "type": "string"
  15961. },
  15962. "orderid": {
  15963. "description": "委托单号",
  15964. "type": "string"
  15965. },
  15966. "orderprice": {
  15967. "description": "委托价格",
  15968. "type": "number"
  15969. },
  15970. "ordertime": {
  15971. "description": "委托时间",
  15972. "type": "string"
  15973. },
  15974. "tradedate": {
  15975. "description": "交易日(yyyyMMdd)",
  15976. "type": "string"
  15977. }
  15978. }
  15979. }
  15980. },
  15981. "securityDefinitions": {
  15982. "ApiKeyAuth": {
  15983. "type": "apiKey",
  15984. "name": "Authorization",
  15985. "in": "header"
  15986. }
  15987. }
  15988. }`
  15989. type swaggerInfo struct {
  15990. Version string
  15991. Host string
  15992. BasePath string
  15993. Schemes []string
  15994. Title string
  15995. Description string
  15996. }
  15997. // SwaggerInfo holds exported Swagger Info so clients can modify it
  15998. var SwaggerInfo = swaggerInfo{
  15999. Version: "1.0",
  16000. Host: "",
  16001. BasePath: "/api",
  16002. Schemes: []string{},
  16003. Title: "MTP2.0 查询服务 API",
  16004. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  16005. }
  16006. type s struct{}
  16007. func (s *s) ReadDoc() string {
  16008. sInfo := SwaggerInfo
  16009. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  16010. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  16011. "marshal": func(v interface{}) string {
  16012. a, _ := json.Marshal(v)
  16013. return string(a)
  16014. },
  16015. }).Parse(doc)
  16016. if err != nil {
  16017. return doc
  16018. }
  16019. var tpl bytes.Buffer
  16020. if err := t.Execute(&tpl, sInfo); err != nil {
  16021. return doc
  16022. }
  16023. return tpl.String()
  16024. }
  16025. func init() {
  16026. swag.Register(swag.Name, &s{})
  16027. }