docs.go 613 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/models.Szdz2imageconfig"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. }
  610. ],
  611. "responses": {
  612. "200": {
  613. "description": "OK",
  614. "schema": {
  615. "$ref": "#/definitions/common.QueryNoticeRsp"
  616. }
  617. },
  618. "500": {
  619. "description": "Internal Server Error",
  620. "schema": {
  621. "$ref": "#/definitions/app.Response"
  622. }
  623. }
  624. }
  625. }
  626. },
  627. "/Common/QueryProvincesAndCities": {
  628. "get": {
  629. "produces": [
  630. "application/json"
  631. ],
  632. "tags": [
  633. "通用服务"
  634. ],
  635. "summary": "查询省市信息(不包括区)",
  636. "parameters": [
  637. {
  638. "type": "integer",
  639. "description": "省ID",
  640. "name": "provinceID",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Common/QueryTableDefine": {
  661. "get": {
  662. "produces": [
  663. "application/json"
  664. ],
  665. "tags": [
  666. "通用服务"
  667. ],
  668. "summary": "查询交易端列表头信息",
  669. "parameters": [
  670. {
  671. "type": "string",
  672. "description": "表key",
  673. "name": "tableKey",
  674. "in": "query"
  675. },
  676. {
  677. "type": "integer",
  678. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  679. "name": "tableType",
  680. "in": "query"
  681. }
  682. ],
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/common.QueryTableDefineRsp"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/QueryTraderMenu": {
  700. "get": {
  701. "produces": [
  702. "application/json"
  703. ],
  704. "tags": [
  705. "通用服务"
  706. ],
  707. "summary": "查询交易端菜单",
  708. "parameters": [
  709. {
  710. "type": "integer",
  711. "description": "登录账号",
  712. "name": "loginid",
  713. "in": "query",
  714. "required": true
  715. }
  716. ],
  717. "responses": {
  718. "200": {
  719. "description": "OK",
  720. "schema": {
  721. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  722. }
  723. },
  724. "500": {
  725. "description": "Internal Server Error",
  726. "schema": {
  727. "$ref": "#/definitions/app.Response"
  728. }
  729. }
  730. }
  731. }
  732. },
  733. "/Delivery/QueryDeliveryRelation": {
  734. "get": {
  735. "security": [
  736. {
  737. "ApiKeyAuth": []
  738. }
  739. ],
  740. "produces": [
  741. "application/json"
  742. ],
  743. "tags": [
  744. "交割服务"
  745. ],
  746. "summary": "查询商品交割关系表",
  747. "parameters": [
  748. {
  749. "type": "integer",
  750. "description": "商品ID",
  751. "name": "goodsid",
  752. "in": "query"
  753. },
  754. {
  755. "type": "integer",
  756. "description": "品种ID",
  757. "name": "deliverygoodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "市场ID",
  763. "name": "marketid",
  764. "in": "query"
  765. }
  766. ],
  767. "responses": {
  768. "200": {
  769. "description": "OK",
  770. "schema": {
  771. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  772. }
  773. },
  774. "500": {
  775. "description": "Internal Server Error",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. }
  780. }
  781. }
  782. },
  783. "/Ermcp/GetErmcpGoods": {
  784. "get": {
  785. "security": [
  786. {
  787. "ApiKeyAuth": []
  788. }
  789. ],
  790. "produces": [
  791. "application/json"
  792. ],
  793. "tags": [
  794. "企业风险管理(app)"
  795. ],
  796. "summary": "查询企业风管期货商品信息",
  797. "parameters": [
  798. {
  799. "type": "integer",
  800. "description": "已存末尾商品编号",
  801. "name": "lastID",
  802. "in": "query"
  803. }
  804. ],
  805. "responses": {
  806. "200": {
  807. "description": "OK",
  808. "schema": {
  809. "$ref": "#/definitions/models.Goods"
  810. }
  811. },
  812. "500": {
  813. "description": "Internal Server Error",
  814. "schema": {
  815. "$ref": "#/definitions/app.Response"
  816. }
  817. }
  818. }
  819. }
  820. },
  821. "/Ermcp/QryReportDayExposure": {
  822. "get": {
  823. "security": [
  824. {
  825. "ApiKeyAuth": []
  826. }
  827. ],
  828. "produces": [
  829. "application/json"
  830. ],
  831. "tags": [
  832. "企业风险管理(app)"
  833. ],
  834. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  835. "parameters": [
  836. {
  837. "type": "integer",
  838. "description": "用户ID",
  839. "name": "userid",
  840. "in": "query",
  841. "required": true
  842. },
  843. {
  844. "type": "string",
  845. "description": "交易日(格式:yyyyMMdd)",
  846. "name": "tradedate",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "type": "array",
  856. "items": {
  857. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  858. }
  859. }
  860. },
  861. "500": {
  862. "description": "Internal Server Error",
  863. "schema": {
  864. "$ref": "#/definitions/app.Response"
  865. }
  866. }
  867. }
  868. }
  869. },
  870. "/Ermcp/QryReportDayFinance": {
  871. "get": {
  872. "security": [
  873. {
  874. "ApiKeyAuth": []
  875. }
  876. ],
  877. "produces": [
  878. "application/json"
  879. ],
  880. "tags": [
  881. "企业风险管理(app)"
  882. ],
  883. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  884. "parameters": [
  885. {
  886. "type": "integer",
  887. "description": "用户ID",
  888. "name": "userid",
  889. "in": "query",
  890. "required": true
  891. },
  892. {
  893. "type": "string",
  894. "description": "交易日(格式:yyyyMMdd)",
  895. "name": "tradedate",
  896. "in": "query",
  897. "required": true
  898. }
  899. ],
  900. "responses": {
  901. "200": {
  902. "description": "OK",
  903. "schema": {
  904. "type": "array",
  905. "items": {
  906. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  907. }
  908. }
  909. },
  910. "500": {
  911. "description": "Internal Server Error",
  912. "schema": {
  913. "$ref": "#/definitions/app.Response"
  914. }
  915. }
  916. }
  917. }
  918. },
  919. "/Ermcp/QryReportDayFinanceFp": {
  920. "get": {
  921. "security": [
  922. {
  923. "ApiKeyAuth": []
  924. }
  925. ],
  926. "produces": [
  927. "application/json"
  928. ],
  929. "tags": [
  930. "企业风险管理(app)"
  931. ],
  932. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  933. "parameters": [
  934. {
  935. "type": "integer",
  936. "description": "用户ID",
  937. "name": "userid",
  938. "in": "query",
  939. "required": true
  940. },
  941. {
  942. "type": "string",
  943. "description": "交易日(格式:yyyyMMdd)",
  944. "name": "tradedate",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "type": "array",
  954. "items": {
  955. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  956. }
  957. }
  958. },
  959. "500": {
  960. "description": "Internal Server Error",
  961. "schema": {
  962. "$ref": "#/definitions/app.Response"
  963. }
  964. }
  965. }
  966. }
  967. },
  968. "/Ermcp/QryReportDayFinanceKx": {
  969. "get": {
  970. "security": [
  971. {
  972. "ApiKeyAuth": []
  973. }
  974. ],
  975. "produces": [
  976. "application/json"
  977. ],
  978. "tags": [
  979. "企业风险管理(app)"
  980. ],
  981. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  982. "parameters": [
  983. {
  984. "type": "integer",
  985. "description": "用户ID",
  986. "name": "userid",
  987. "in": "query",
  988. "required": true
  989. },
  990. {
  991. "type": "string",
  992. "description": "交易日(格式:yyyyMMdd)",
  993. "name": "tradedate",
  994. "in": "query",
  995. "required": true
  996. }
  997. ],
  998. "responses": {
  999. "200": {
  1000. "description": "OK",
  1001. "schema": {
  1002. "type": "array",
  1003. "items": {
  1004. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1005. }
  1006. }
  1007. },
  1008. "500": {
  1009. "description": "Internal Server Error",
  1010. "schema": {
  1011. "$ref": "#/definitions/app.Response"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "/Ermcp/QryReportDaySpot": {
  1018. "get": {
  1019. "security": [
  1020. {
  1021. "ApiKeyAuth": []
  1022. }
  1023. ],
  1024. "produces": [
  1025. "application/json"
  1026. ],
  1027. "tags": [
  1028. "企业风险管理(app)"
  1029. ],
  1030. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1031. "parameters": [
  1032. {
  1033. "type": "integer",
  1034. "description": "用户ID",
  1035. "name": "userid",
  1036. "in": "query",
  1037. "required": true
  1038. },
  1039. {
  1040. "type": "string",
  1041. "description": "交易日(格式:yyyyMMdd)",
  1042. "name": "tradedate",
  1043. "in": "query",
  1044. "required": true
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDaySpotDetail": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "integer",
  1090. "description": "现货商品id",
  1091. "name": "wrstandardid",
  1092. "in": "query",
  1093. "required": true
  1094. },
  1095. {
  1096. "type": "string",
  1097. "description": "交易日(格式:yyyyMMdd)",
  1098. "name": "tradedate",
  1099. "in": "query",
  1100. "required": true
  1101. }
  1102. ],
  1103. "responses": {
  1104. "200": {
  1105. "description": "OK",
  1106. "schema": {
  1107. "type": "array",
  1108. "items": {
  1109. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1110. }
  1111. }
  1112. },
  1113. "500": {
  1114. "description": "Internal Server Error",
  1115. "schema": {
  1116. "$ref": "#/definitions/app.Response"
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "/Ermcp/QryReportMonthFinance": {
  1123. "get": {
  1124. "security": [
  1125. {
  1126. "ApiKeyAuth": []
  1127. }
  1128. ],
  1129. "produces": [
  1130. "application/json"
  1131. ],
  1132. "tags": [
  1133. "企业风险管理(app)"
  1134. ],
  1135. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1136. "parameters": [
  1137. {
  1138. "type": "integer",
  1139. "description": "用户ID",
  1140. "name": "userid",
  1141. "in": "query",
  1142. "required": true
  1143. },
  1144. {
  1145. "type": "string",
  1146. "description": "周期时间:月(格式:yyyyMM)",
  1147. "name": "cycletime",
  1148. "in": "query",
  1149. "required": true
  1150. }
  1151. ],
  1152. "responses": {
  1153. "200": {
  1154. "description": "OK",
  1155. "schema": {
  1156. "type": "array",
  1157. "items": {
  1158. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1159. }
  1160. }
  1161. },
  1162. "500": {
  1163. "description": "Internal Server Error",
  1164. "schema": {
  1165. "$ref": "#/definitions/app.Response"
  1166. }
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "/Ermcp/QryReportMonthSpot": {
  1172. "get": {
  1173. "security": [
  1174. {
  1175. "ApiKeyAuth": []
  1176. }
  1177. ],
  1178. "produces": [
  1179. "application/json"
  1180. ],
  1181. "tags": [
  1182. "企业风险管理(app)"
  1183. ],
  1184. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1185. "parameters": [
  1186. {
  1187. "type": "integer",
  1188. "description": "用户ID",
  1189. "name": "userid",
  1190. "in": "query",
  1191. "required": true
  1192. },
  1193. {
  1194. "type": "string",
  1195. "description": "周期时间:月(格式:yyyyMM)",
  1196. "name": "cycletime",
  1197. "in": "query",
  1198. "required": true
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QryReportMonthSpotDetail": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "现货商品id",
  1245. "name": "wrstandardid",
  1246. "in": "query",
  1247. "required": true
  1248. },
  1249. {
  1250. "type": "string",
  1251. "description": "周期时间:月(格式:yyyyMM)",
  1252. "name": "cycletime",
  1253. "in": "query",
  1254. "required": true
  1255. }
  1256. ],
  1257. "responses": {
  1258. "200": {
  1259. "description": "OK",
  1260. "schema": {
  1261. "type": "array",
  1262. "items": {
  1263. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1264. }
  1265. }
  1266. },
  1267. "500": {
  1268. "description": "Internal Server Error",
  1269. "schema": {
  1270. "$ref": "#/definitions/app.Response"
  1271. }
  1272. }
  1273. }
  1274. }
  1275. },
  1276. "/Ermcp/QueryAvaildGoodsGroup": {
  1277. "get": {
  1278. "security": [
  1279. {
  1280. "ApiKeyAuth": []
  1281. }
  1282. ],
  1283. "produces": [
  1284. "application/json"
  1285. ],
  1286. "tags": [
  1287. "企业风险管理(app)"
  1288. ],
  1289. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1290. "parameters": [
  1291. {
  1292. "type": "integer",
  1293. "description": "所属机构ID",
  1294. "name": "userid",
  1295. "in": "query",
  1296. "required": true
  1297. }
  1298. ],
  1299. "responses": {
  1300. "200": {
  1301. "description": "OK",
  1302. "schema": {
  1303. "type": "array",
  1304. "items": {
  1305. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1306. }
  1307. }
  1308. },
  1309. "500": {
  1310. "description": "Internal Server Error",
  1311. "schema": {
  1312. "$ref": "#/definitions/app.Response"
  1313. }
  1314. }
  1315. }
  1316. }
  1317. },
  1318. "/Ermcp/QueryBusinessDj": {
  1319. "get": {
  1320. "security": [
  1321. {
  1322. "ApiKeyAuth": []
  1323. }
  1324. ],
  1325. "produces": [
  1326. "application/json"
  1327. ],
  1328. "tags": [
  1329. "企业风险管理(app)"
  1330. ],
  1331. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1332. "parameters": [
  1333. {
  1334. "type": "integer",
  1335. "description": "用户ID",
  1336. "name": "UserId",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "现货合同ID, 不填则查所有",
  1343. "name": "relatedid",
  1344. "in": "query"
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "type": "array",
  1352. "items": {
  1353. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1354. }
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/Ermcp/QueryBusinessFp": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "企业风险管理(app)"
  1378. ],
  1379. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "用户ID",
  1384. "name": "UserId",
  1385. "in": "query",
  1386. "required": true
  1387. },
  1388. {
  1389. "type": "string",
  1390. "description": "现货合同ID, 不填则查所有",
  1391. "name": "relatedid",
  1392. "in": "query"
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "type": "array",
  1400. "items": {
  1401. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1402. }
  1403. }
  1404. },
  1405. "500": {
  1406. "description": "Internal Server Error",
  1407. "schema": {
  1408. "$ref": "#/definitions/app.Response"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/Ermcp/QueryBusinessJs": {
  1415. "get": {
  1416. "security": [
  1417. {
  1418. "ApiKeyAuth": []
  1419. }
  1420. ],
  1421. "produces": [
  1422. "application/json"
  1423. ],
  1424. "tags": [
  1425. "企业风险管理(app)"
  1426. ],
  1427. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1428. "parameters": [
  1429. {
  1430. "type": "integer",
  1431. "description": "用户ID",
  1432. "name": "UserId",
  1433. "in": "query",
  1434. "required": true
  1435. },
  1436. {
  1437. "type": "string",
  1438. "description": "现货合同ID, 不填则查所有",
  1439. "name": "relatedid",
  1440. "in": "query"
  1441. }
  1442. ],
  1443. "responses": {
  1444. "200": {
  1445. "description": "OK",
  1446. "schema": {
  1447. "type": "array",
  1448. "items": {
  1449. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1450. }
  1451. }
  1452. },
  1453. "500": {
  1454. "description": "Internal Server Error",
  1455. "schema": {
  1456. "$ref": "#/definitions/app.Response"
  1457. }
  1458. }
  1459. }
  1460. }
  1461. },
  1462. "/Ermcp/QueryBusinessJsEx": {
  1463. "get": {
  1464. "security": [
  1465. {
  1466. "ApiKeyAuth": []
  1467. }
  1468. ],
  1469. "produces": [
  1470. "application/json"
  1471. ],
  1472. "tags": [
  1473. "企业风险管理(app)"
  1474. ],
  1475. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1476. "parameters": [
  1477. {
  1478. "type": "integer",
  1479. "description": "用户ID",
  1480. "name": "UserId",
  1481. "in": "query",
  1482. "required": true
  1483. },
  1484. {
  1485. "type": "string",
  1486. "description": "现货合同ID, 不填则查所有",
  1487. "name": "relatedid",
  1488. "in": "query"
  1489. }
  1490. ],
  1491. "responses": {
  1492. "200": {
  1493. "description": "OK",
  1494. "schema": {
  1495. "type": "array",
  1496. "items": {
  1497. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1498. }
  1499. }
  1500. },
  1501. "500": {
  1502. "description": "Internal Server Error",
  1503. "schema": {
  1504. "$ref": "#/definitions/app.Response"
  1505. }
  1506. }
  1507. }
  1508. }
  1509. },
  1510. "/Ermcp/QueryBusinessKx": {
  1511. "get": {
  1512. "security": [
  1513. {
  1514. "ApiKeyAuth": []
  1515. }
  1516. ],
  1517. "produces": [
  1518. "application/json"
  1519. ],
  1520. "tags": [
  1521. "企业风险管理(app)"
  1522. ],
  1523. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1524. "parameters": [
  1525. {
  1526. "type": "integer",
  1527. "description": "用户ID",
  1528. "name": "UserId",
  1529. "in": "query",
  1530. "required": true
  1531. },
  1532. {
  1533. "type": "string",
  1534. "description": "现货合同ID, 不填则查所有",
  1535. "name": "relatedid",
  1536. "in": "query"
  1537. }
  1538. ],
  1539. "responses": {
  1540. "200": {
  1541. "description": "OK",
  1542. "schema": {
  1543. "type": "array",
  1544. "items": {
  1545. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1546. }
  1547. }
  1548. },
  1549. "500": {
  1550. "description": "Internal Server Error",
  1551. "schema": {
  1552. "$ref": "#/definitions/app.Response"
  1553. }
  1554. }
  1555. }
  1556. }
  1557. },
  1558. "/Ermcp/QueryChangeLog": {
  1559. "get": {
  1560. "security": [
  1561. {
  1562. "ApiKeyAuth": []
  1563. }
  1564. ],
  1565. "produces": [
  1566. "application/json"
  1567. ],
  1568. "tags": [
  1569. "企业风险管理(app)"
  1570. ],
  1571. "summary": "查询变更记录",
  1572. "parameters": [
  1573. {
  1574. "type": "string",
  1575. "description": "用户ID",
  1576. "name": "RelatedId",
  1577. "in": "query",
  1578. "required": true
  1579. }
  1580. ],
  1581. "responses": {
  1582. "200": {
  1583. "description": "OK",
  1584. "schema": {
  1585. "type": "array",
  1586. "items": {
  1587. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1588. }
  1589. }
  1590. },
  1591. "500": {
  1592. "description": "Internal Server Error",
  1593. "schema": {
  1594. "$ref": "#/definitions/app.Response"
  1595. }
  1596. }
  1597. }
  1598. }
  1599. },
  1600. "/Ermcp/QueryContract": {
  1601. "get": {
  1602. "security": [
  1603. {
  1604. "ApiKeyAuth": []
  1605. }
  1606. ],
  1607. "produces": [
  1608. "application/json"
  1609. ],
  1610. "tags": [
  1611. "企业风险管理(app)"
  1612. ],
  1613. "summary": "查询合同(采购和销售)",
  1614. "parameters": [
  1615. {
  1616. "type": "integer",
  1617. "description": "用户ID",
  1618. "name": "userId",
  1619. "in": "query",
  1620. "required": true
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "合同类型 1-采购, -1-销售",
  1625. "name": "contracttype",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1632. "name": "querytype",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryExposureDetail": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询敞口现货明细",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "所属机构ID",
  1674. "name": "areaUserId",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "套保商品",
  1681. "name": "middleGoodsId",
  1682. "in": "query",
  1683. "required": true
  1684. }
  1685. ],
  1686. "responses": {
  1687. "200": {
  1688. "description": "OK",
  1689. "schema": {
  1690. "type": "array",
  1691. "items": {
  1692. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1693. }
  1694. }
  1695. },
  1696. "500": {
  1697. "description": "Internal Server Error",
  1698. "schema": {
  1699. "$ref": "#/definitions/app.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/Ermcp/QueryExposureHedgePosition": {
  1706. "get": {
  1707. "security": [
  1708. {
  1709. "ApiKeyAuth": []
  1710. }
  1711. ],
  1712. "produces": [
  1713. "application/json"
  1714. ],
  1715. "tags": [
  1716. "企业风险管理(app)"
  1717. ],
  1718. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1719. "parameters": [
  1720. {
  1721. "type": "integer",
  1722. "description": "所属机构ID",
  1723. "name": "areaUserId",
  1724. "in": "query",
  1725. "required": true
  1726. }
  1727. ],
  1728. "responses": {
  1729. "200": {
  1730. "description": "OK",
  1731. "schema": {
  1732. "type": "array",
  1733. "items": {
  1734. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1735. }
  1736. }
  1737. },
  1738. "500": {
  1739. "description": "Internal Server Error",
  1740. "schema": {
  1741. "$ref": "#/definitions/app.Response"
  1742. }
  1743. }
  1744. }
  1745. }
  1746. },
  1747. "/Ermcp/QueryExposureHedgePositionDetail": {
  1748. "get": {
  1749. "security": [
  1750. {
  1751. "ApiKeyAuth": []
  1752. }
  1753. ],
  1754. "produces": [
  1755. "application/json"
  1756. ],
  1757. "tags": [
  1758. "企业风险管理(app)"
  1759. ],
  1760. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1761. "parameters": [
  1762. {
  1763. "type": "integer",
  1764. "description": "所属机构ID",
  1765. "name": "areaUserId",
  1766. "in": "query",
  1767. "required": true
  1768. },
  1769. {
  1770. "type": "integer",
  1771. "description": "商品id",
  1772. "name": "goodsId",
  1773. "in": "query",
  1774. "required": true
  1775. }
  1776. ],
  1777. "responses": {
  1778. "200": {
  1779. "description": "OK",
  1780. "schema": {
  1781. "type": "array",
  1782. "items": {
  1783. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1784. }
  1785. }
  1786. },
  1787. "500": {
  1788. "description": "Internal Server Error",
  1789. "schema": {
  1790. "$ref": "#/definitions/app.Response"
  1791. }
  1792. }
  1793. }
  1794. }
  1795. },
  1796. "/Ermcp/QueryExposureSpot": {
  1797. "get": {
  1798. "security": [
  1799. {
  1800. "ApiKeyAuth": []
  1801. }
  1802. ],
  1803. "produces": [
  1804. "application/json"
  1805. ],
  1806. "tags": [
  1807. "企业风险管理(app)"
  1808. ],
  1809. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1810. "parameters": [
  1811. {
  1812. "type": "integer",
  1813. "description": "所属机构ID",
  1814. "name": "areaUserId",
  1815. "in": "query",
  1816. "required": true
  1817. }
  1818. ],
  1819. "responses": {
  1820. "200": {
  1821. "description": "OK",
  1822. "schema": {
  1823. "type": "array",
  1824. "items": {
  1825. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1826. }
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryExposureSpotDetail": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "所属机构ID",
  1856. "name": "areaUserId",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "现货品种ID",
  1863. "name": "wrstandardId",
  1864. "in": "query",
  1865. "required": true
  1866. }
  1867. ],
  1868. "responses": {
  1869. "200": {
  1870. "description": "OK",
  1871. "schema": {
  1872. "type": "array",
  1873. "items": {
  1874. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1875. }
  1876. }
  1877. },
  1878. "500": {
  1879. "description": "Internal Server Error",
  1880. "schema": {
  1881. "$ref": "#/definitions/app.Response"
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "/Ermcp/QueryGGConvertConfig": {
  1888. "get": {
  1889. "security": [
  1890. {
  1891. "ApiKeyAuth": []
  1892. }
  1893. ],
  1894. "produces": [
  1895. "application/json"
  1896. ],
  1897. "tags": [
  1898. "企业风险管理(app)"
  1899. ],
  1900. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1901. "parameters": [
  1902. {
  1903. "type": "integer",
  1904. "description": "品种id(不填则查所有)",
  1905. "name": "goodsgroupid",
  1906. "in": "query"
  1907. }
  1908. ],
  1909. "responses": {
  1910. "200": {
  1911. "description": "OK",
  1912. "schema": {
  1913. "type": "array",
  1914. "items": {
  1915. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1916. }
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryHedgePlan": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "查询套保计划",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "用户ID",
  1946. "name": "userId",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "string",
  1952. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1953. "name": "HedgePlanStatus",
  1954. "in": "query",
  1955. "required": true
  1956. }
  1957. ],
  1958. "responses": {
  1959. "200": {
  1960. "description": "OK",
  1961. "schema": {
  1962. "type": "array",
  1963. "items": {
  1964. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1965. }
  1966. }
  1967. },
  1968. "500": {
  1969. "description": "Internal Server Error",
  1970. "schema": {
  1971. "$ref": "#/definitions/app.Response"
  1972. }
  1973. }
  1974. }
  1975. }
  1976. },
  1977. "/Ermcp/QueryHisExposure": {
  1978. "get": {
  1979. "security": [
  1980. {
  1981. "ApiKeyAuth": []
  1982. }
  1983. ],
  1984. "produces": [
  1985. "application/json"
  1986. ],
  1987. "tags": [
  1988. "企业风险管理(app)"
  1989. ],
  1990. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1991. "parameters": [
  1992. {
  1993. "type": "integer",
  1994. "description": "所属机构ID",
  1995. "name": "areaUserId",
  1996. "in": "query",
  1997. "required": true
  1998. },
  1999. {
  2000. "type": "integer",
  2001. "description": "每个品种记录数",
  2002. "name": "lastNum",
  2003. "in": "query",
  2004. "required": true
  2005. }
  2006. ],
  2007. "responses": {
  2008. "200": {
  2009. "description": "OK",
  2010. "schema": {
  2011. "type": "array",
  2012. "items": {
  2013. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2014. }
  2015. }
  2016. },
  2017. "500": {
  2018. "description": "Internal Server Error",
  2019. "schema": {
  2020. "$ref": "#/definitions/app.Response"
  2021. }
  2022. }
  2023. }
  2024. }
  2025. },
  2026. "/Ermcp/QueryMiddleGoods": {
  2027. "get": {
  2028. "security": [
  2029. {
  2030. "ApiKeyAuth": []
  2031. }
  2032. ],
  2033. "produces": [
  2034. "application/json"
  2035. ],
  2036. "tags": [
  2037. "企业风险管理(app)"
  2038. ],
  2039. "summary": "查询套保品种(菜单:套保品种)",
  2040. "parameters": [
  2041. {
  2042. "type": "integer",
  2043. "description": "所属机构ID",
  2044. "name": "userid",
  2045. "in": "query",
  2046. "required": true
  2047. },
  2048. {
  2049. "type": "integer",
  2050. "description": "状态 0-停用 1-正常",
  2051. "name": "status",
  2052. "in": "query",
  2053. "required": true
  2054. }
  2055. ],
  2056. "responses": {
  2057. "200": {
  2058. "description": "OK",
  2059. "schema": {
  2060. "type": "array",
  2061. "items": {
  2062. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2063. }
  2064. }
  2065. },
  2066. "500": {
  2067. "description": "Internal Server Error",
  2068. "schema": {
  2069. "$ref": "#/definitions/app.Response"
  2070. }
  2071. }
  2072. }
  2073. }
  2074. },
  2075. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2076. "get": {
  2077. "security": [
  2078. {
  2079. "ApiKeyAuth": []
  2080. }
  2081. ],
  2082. "produces": [
  2083. "application/json"
  2084. ],
  2085. "tags": [
  2086. "企业风险管理(app)"
  2087. ],
  2088. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2089. "parameters": [
  2090. {
  2091. "type": "integer",
  2092. "description": "所属机构ID",
  2093. "name": "userid",
  2094. "in": "query",
  2095. "required": true
  2096. },
  2097. {
  2098. "type": "integer",
  2099. "description": "套保品种id",
  2100. "name": "middlegoodsid",
  2101. "in": "query",
  2102. "required": true
  2103. }
  2104. ],
  2105. "responses": {
  2106. "200": {
  2107. "description": "OK",
  2108. "schema": {
  2109. "type": "array",
  2110. "items": {
  2111. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2112. }
  2113. }
  2114. },
  2115. "500": {
  2116. "description": "Internal Server Error",
  2117. "schema": {
  2118. "$ref": "#/definitions/app.Response"
  2119. }
  2120. }
  2121. }
  2122. }
  2123. },
  2124. "/Ermcp/QueryMiddleGoodsDetail": {
  2125. "get": {
  2126. "security": [
  2127. {
  2128. "ApiKeyAuth": []
  2129. }
  2130. ],
  2131. "produces": [
  2132. "application/json"
  2133. ],
  2134. "tags": [
  2135. "企业风险管理(app)"
  2136. ],
  2137. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2138. "parameters": [
  2139. {
  2140. "type": "integer",
  2141. "description": "所属机构ID",
  2142. "name": "userid",
  2143. "in": "query",
  2144. "required": true
  2145. },
  2146. {
  2147. "type": "integer",
  2148. "description": "套保品种id",
  2149. "name": "middlegoodsid",
  2150. "in": "query",
  2151. "required": true
  2152. }
  2153. ],
  2154. "responses": {
  2155. "200": {
  2156. "description": "OK",
  2157. "schema": {
  2158. "type": "array",
  2159. "items": {
  2160. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2161. }
  2162. }
  2163. },
  2164. "500": {
  2165. "description": "Internal Server Error",
  2166. "schema": {
  2167. "$ref": "#/definitions/app.Response"
  2168. }
  2169. }
  2170. }
  2171. }
  2172. },
  2173. "/Ermcp/QueryRealtimeExposure": {
  2174. "get": {
  2175. "security": [
  2176. {
  2177. "ApiKeyAuth": []
  2178. }
  2179. ],
  2180. "produces": [
  2181. "application/json"
  2182. ],
  2183. "tags": [
  2184. "企业风险管理(app)"
  2185. ],
  2186. "summary": "查询实时敞口",
  2187. "parameters": [
  2188. {
  2189. "type": "integer",
  2190. "description": "所属机构ID",
  2191. "name": "AreaUserID",
  2192. "in": "query",
  2193. "required": true
  2194. }
  2195. ],
  2196. "responses": {
  2197. "200": {
  2198. "description": "OK",
  2199. "schema": {
  2200. "type": "array",
  2201. "items": {
  2202. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2203. }
  2204. }
  2205. },
  2206. "500": {
  2207. "description": "Internal Server Error",
  2208. "schema": {
  2209. "$ref": "#/definitions/app.Response"
  2210. }
  2211. }
  2212. }
  2213. }
  2214. },
  2215. "/Ermcp/QueryRealtimeExposurePosition": {
  2216. "get": {
  2217. "security": [
  2218. {
  2219. "ApiKeyAuth": []
  2220. }
  2221. ],
  2222. "produces": [
  2223. "application/json"
  2224. ],
  2225. "tags": [
  2226. "企业风险管理(app)"
  2227. ],
  2228. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2229. "parameters": [
  2230. {
  2231. "type": "integer",
  2232. "description": "所属机构ID",
  2233. "name": "areaUserId",
  2234. "in": "query",
  2235. "required": true
  2236. },
  2237. {
  2238. "type": "integer",
  2239. "description": "套保商品ID",
  2240. "name": "middleGoodsId",
  2241. "in": "query",
  2242. "required": true
  2243. }
  2244. ],
  2245. "responses": {
  2246. "200": {
  2247. "description": "OK",
  2248. "schema": {
  2249. "type": "array",
  2250. "items": {
  2251. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2252. }
  2253. }
  2254. },
  2255. "500": {
  2256. "description": "Internal Server Error",
  2257. "schema": {
  2258. "$ref": "#/definitions/app.Response"
  2259. }
  2260. }
  2261. }
  2262. }
  2263. },
  2264. "/Ermcp/QuerySpotContract": {
  2265. "get": {
  2266. "security": [
  2267. {
  2268. "ApiKeyAuth": []
  2269. }
  2270. ],
  2271. "produces": [
  2272. "application/json"
  2273. ],
  2274. "tags": [
  2275. "企业风险管理(app)"
  2276. ],
  2277. "summary": "查询现货合同(对应现货合同菜单)",
  2278. "parameters": [
  2279. {
  2280. "type": "integer",
  2281. "description": "用户ID",
  2282. "name": "userId",
  2283. "in": "query",
  2284. "required": true
  2285. },
  2286. {
  2287. "type": "integer",
  2288. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2289. "name": "QueryType",
  2290. "in": "query",
  2291. "required": true
  2292. }
  2293. ],
  2294. "responses": {
  2295. "200": {
  2296. "description": "OK",
  2297. "schema": {
  2298. "type": "array",
  2299. "items": {
  2300. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2301. }
  2302. }
  2303. },
  2304. "500": {
  2305. "description": "Internal Server Error",
  2306. "schema": {
  2307. "$ref": "#/definitions/app.Response"
  2308. }
  2309. }
  2310. }
  2311. }
  2312. },
  2313. "/Ermcp/QueryUserInfo": {
  2314. "get": {
  2315. "security": [
  2316. {
  2317. "ApiKeyAuth": []
  2318. }
  2319. ],
  2320. "produces": [
  2321. "application/json"
  2322. ],
  2323. "tags": [
  2324. "企业风险管理(app)"
  2325. ],
  2326. "summary": "查询客户资料",
  2327. "parameters": [
  2328. {
  2329. "type": "integer",
  2330. "description": "所属机构用户ID",
  2331. "name": "MemberUserID",
  2332. "in": "query",
  2333. "required": true
  2334. },
  2335. {
  2336. "type": "integer",
  2337. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2338. "name": "queryType",
  2339. "in": "query",
  2340. "required": true
  2341. }
  2342. ],
  2343. "responses": {
  2344. "200": {
  2345. "description": "OK",
  2346. "schema": {
  2347. "type": "array",
  2348. "items": {
  2349. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2350. }
  2351. }
  2352. },
  2353. "500": {
  2354. "description": "Internal Server Error",
  2355. "schema": {
  2356. "$ref": "#/definitions/app.Response"
  2357. }
  2358. }
  2359. }
  2360. }
  2361. },
  2362. "/Ermcp/QueryWrStandard": {
  2363. "get": {
  2364. "security": [
  2365. {
  2366. "ApiKeyAuth": []
  2367. }
  2368. ],
  2369. "produces": [
  2370. "application/json"
  2371. ],
  2372. "tags": [
  2373. "企业风险管理(app)"
  2374. ],
  2375. "summary": "查询现货商品",
  2376. "parameters": [
  2377. {
  2378. "type": "integer",
  2379. "description": "所属机构ID",
  2380. "name": "userid",
  2381. "in": "query",
  2382. "required": true
  2383. },
  2384. {
  2385. "type": "integer",
  2386. "description": "状态 0-停用 1-正常",
  2387. "name": "status",
  2388. "in": "query",
  2389. "required": true
  2390. }
  2391. ],
  2392. "responses": {
  2393. "200": {
  2394. "description": "OK",
  2395. "schema": {
  2396. "type": "array",
  2397. "items": {
  2398. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2399. }
  2400. }
  2401. },
  2402. "500": {
  2403. "description": "Internal Server Error",
  2404. "schema": {
  2405. "$ref": "#/definitions/app.Response"
  2406. }
  2407. }
  2408. }
  2409. }
  2410. },
  2411. "/Ermcp/QueryWrStandardDetail": {
  2412. "get": {
  2413. "security": [
  2414. {
  2415. "ApiKeyAuth": []
  2416. }
  2417. ],
  2418. "produces": [
  2419. "application/json"
  2420. ],
  2421. "tags": [
  2422. "企业风险管理(app)"
  2423. ],
  2424. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2425. "parameters": [
  2426. {
  2427. "type": "integer",
  2428. "description": "所属机构ID",
  2429. "name": "userid",
  2430. "in": "query",
  2431. "required": true
  2432. },
  2433. {
  2434. "type": "integer",
  2435. "description": "现货商品ID",
  2436. "name": "wrstandardid",
  2437. "in": "query",
  2438. "required": true
  2439. }
  2440. ],
  2441. "responses": {
  2442. "200": {
  2443. "description": "OK",
  2444. "schema": {
  2445. "type": "array",
  2446. "items": {
  2447. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2448. }
  2449. }
  2450. },
  2451. "500": {
  2452. "description": "Internal Server Error",
  2453. "schema": {
  2454. "$ref": "#/definitions/app.Response"
  2455. }
  2456. }
  2457. }
  2458. }
  2459. },
  2460. "/Erms2/QueryArbitrageStrategy": {
  2461. "get": {
  2462. "security": [
  2463. {
  2464. "ApiKeyAuth": []
  2465. }
  2466. ],
  2467. "produces": [
  2468. "application/json"
  2469. ],
  2470. "tags": [
  2471. "风险管理"
  2472. ],
  2473. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2474. "parameters": [
  2475. {
  2476. "type": "integer",
  2477. "description": "账户ID",
  2478. "name": "userid",
  2479. "in": "query",
  2480. "required": true
  2481. },
  2482. {
  2483. "type": "string",
  2484. "description": "商品组ID(品种ID)",
  2485. "name": "goodsgroupid",
  2486. "in": "query"
  2487. }
  2488. ],
  2489. "responses": {
  2490. "200": {
  2491. "description": "OK",
  2492. "schema": {
  2493. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2494. }
  2495. },
  2496. "500": {
  2497. "description": "Internal Server Error",
  2498. "schema": {
  2499. "$ref": "#/definitions/app.Response"
  2500. }
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "/Erms2/QueryInnerTradeDetail": {
  2506. "get": {
  2507. "security": [
  2508. {
  2509. "ApiKeyAuth": []
  2510. }
  2511. ],
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "风险管理"
  2517. ],
  2518. "summary": "查询内部成交单信息",
  2519. "parameters": [
  2520. {
  2521. "type": "integer",
  2522. "description": "资金账户",
  2523. "name": "accountid",
  2524. "in": "query",
  2525. "required": true
  2526. }
  2527. ],
  2528. "responses": {
  2529. "200": {
  2530. "description": "OK",
  2531. "schema": {
  2532. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2533. }
  2534. },
  2535. "500": {
  2536. "description": "Internal Server Error",
  2537. "schema": {
  2538. "$ref": "#/definitions/app.Response"
  2539. }
  2540. }
  2541. }
  2542. }
  2543. },
  2544. "/Erms2/QuerySpotContract": {
  2545. "get": {
  2546. "security": [
  2547. {
  2548. "ApiKeyAuth": []
  2549. }
  2550. ],
  2551. "produces": [
  2552. "application/json"
  2553. ],
  2554. "tags": [
  2555. "风险管理"
  2556. ],
  2557. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2558. "parameters": [
  2559. {
  2560. "type": "integer",
  2561. "description": "策略申请ID",
  2562. "name": "asapplyid",
  2563. "in": "query",
  2564. "required": true
  2565. },
  2566. {
  2567. "type": "integer",
  2568. "description": "现货合同ID",
  2569. "name": "spotcontractid",
  2570. "in": "query"
  2571. }
  2572. ],
  2573. "responses": {
  2574. "200": {
  2575. "description": "OK",
  2576. "schema": {
  2577. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2578. }
  2579. },
  2580. "500": {
  2581. "description": "Internal Server Error",
  2582. "schema": {
  2583. "$ref": "#/definitions/app.Response"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "/Erms3/AddErms2ASApply": {
  2590. "post": {
  2591. "security": [
  2592. {
  2593. "ApiKeyAuth": []
  2594. }
  2595. ],
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "风险管理v3"
  2601. ],
  2602. "summary": "新增期现套利业务申请",
  2603. "parameters": [
  2604. {
  2605. "description": "申请参数",
  2606. "name": "jsonBody",
  2607. "in": "body",
  2608. "required": true,
  2609. "schema": {
  2610. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2611. }
  2612. }
  2613. ],
  2614. "responses": {
  2615. "200": {
  2616. "description": "OK",
  2617. "schema": {
  2618. "$ref": "#/definitions/app.Response"
  2619. }
  2620. },
  2621. "500": {
  2622. "description": "Internal Server Error",
  2623. "schema": {
  2624. "$ref": "#/definitions/app.Response"
  2625. }
  2626. }
  2627. }
  2628. }
  2629. },
  2630. "/Erms3/AddErms2SpotTradeApply": {
  2631. "post": {
  2632. "security": [
  2633. {
  2634. "ApiKeyAuth": []
  2635. }
  2636. ],
  2637. "produces": [
  2638. "application/json"
  2639. ],
  2640. "tags": [
  2641. "风险管理v3"
  2642. ],
  2643. "summary": "新增现货贸易业务申请",
  2644. "parameters": [
  2645. {
  2646. "description": "申请参数",
  2647. "name": "jsonBody",
  2648. "in": "body",
  2649. "required": true,
  2650. "schema": {
  2651. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2652. }
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "$ref": "#/definitions/app.Response"
  2660. }
  2661. },
  2662. "500": {
  2663. "description": "Internal Server Error",
  2664. "schema": {
  2665. "$ref": "#/definitions/app.Response"
  2666. }
  2667. }
  2668. }
  2669. }
  2670. },
  2671. "/Erms3/AddSpotContractApply": {
  2672. "post": {
  2673. "security": [
  2674. {
  2675. "ApiKeyAuth": []
  2676. }
  2677. ],
  2678. "produces": [
  2679. "application/json"
  2680. ],
  2681. "tags": [
  2682. "风险管理v3"
  2683. ],
  2684. "summary": "新增现货合同申请",
  2685. "parameters": [
  2686. {
  2687. "description": "申请参数",
  2688. "name": "jsonBody",
  2689. "in": "body",
  2690. "required": true,
  2691. "schema": {
  2692. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2693. }
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/Erms3/AddUserInfoApply": {
  2713. "post": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "produces": [
  2720. "application/json"
  2721. ],
  2722. "tags": [
  2723. "风险管理v3"
  2724. ],
  2725. "summary": "新增客户申请",
  2726. "parameters": [
  2727. {
  2728. "description": "用户信息",
  2729. "name": "jsonBody",
  2730. "in": "body",
  2731. "required": true,
  2732. "schema": {
  2733. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2734. }
  2735. }
  2736. ],
  2737. "responses": {
  2738. "200": {
  2739. "description": "OK",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Erms3/ModifyUserInfoApply": {
  2754. "post": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2761. "produces": [
  2762. "application/json"
  2763. ],
  2764. "tags": [
  2765. "风险管理v3"
  2766. ],
  2767. "summary": "修改客户申请",
  2768. "parameters": [
  2769. {
  2770. "description": "用户信息",
  2771. "name": "jsonBody",
  2772. "in": "body",
  2773. "required": true,
  2774. "schema": {
  2775. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2776. }
  2777. }
  2778. ],
  2779. "responses": {
  2780. "200": {
  2781. "description": "OK",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/Erms3/QueryBusinessInfo": {
  2796. "get": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "风险管理v3"
  2807. ],
  2808. "summary": "查询业务表单数据",
  2809. "parameters": [
  2810. {
  2811. "type": "string",
  2812. "description": "资金账号ID列表,用逗号分隔",
  2813. "name": "accountids",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "状态,0为未结束 1为已结束",
  2820. "name": "status",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Erms3/QueryPendingAuditContract": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "风险管理v3"
  2856. ],
  2857. "summary": "查询待审核合同",
  2858. "parameters": [
  2859. {
  2860. "type": "string",
  2861. "description": "资金账号ID列表,逗号隔开",
  2862. "name": "accountids",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "integer",
  2868. "description": "合同类型 1-采购 -1-销售",
  2869. "name": "contracttype",
  2870. "in": "query",
  2871. "required": true
  2872. },
  2873. {
  2874. "type": "integer",
  2875. "description": "合同模式 1-普通 2-回购",
  2876. "name": "contractmode",
  2877. "in": "query",
  2878. "required": true
  2879. }
  2880. ],
  2881. "responses": {
  2882. "200": {
  2883. "description": "OK",
  2884. "schema": {
  2885. "type": "array",
  2886. "items": {
  2887. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2888. }
  2889. }
  2890. },
  2891. "500": {
  2892. "description": "Internal Server Error",
  2893. "schema": {
  2894. "$ref": "#/definitions/app.Response"
  2895. }
  2896. }
  2897. }
  2898. }
  2899. },
  2900. "/Erms3/QueryPendingBusiness": {
  2901. "get": {
  2902. "security": [
  2903. {
  2904. "ApiKeyAuth": []
  2905. }
  2906. ],
  2907. "produces": [
  2908. "application/json"
  2909. ],
  2910. "tags": [
  2911. "风险管理v3"
  2912. ],
  2913. "summary": "查询待审核基差贸易业务",
  2914. "parameters": [
  2915. {
  2916. "type": "string",
  2917. "description": "资金账号ID列表,逗号隔开",
  2918. "name": "accountids",
  2919. "in": "query",
  2920. "required": true
  2921. }
  2922. ],
  2923. "responses": {
  2924. "200": {
  2925. "description": "OK",
  2926. "schema": {
  2927. "type": "array",
  2928. "items": {
  2929. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2930. }
  2931. }
  2932. },
  2933. "500": {
  2934. "description": "Internal Server Error",
  2935. "schema": {
  2936. "$ref": "#/definitions/app.Response"
  2937. }
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/Erms3/QuerySpotContractAppleForm": {
  2943. "get": {
  2944. "security": [
  2945. {
  2946. "ApiKeyAuth": []
  2947. }
  2948. ],
  2949. "produces": [
  2950. "application/json"
  2951. ],
  2952. "tags": [
  2953. "风险管理v3"
  2954. ],
  2955. "summary": "查询合同申请表单数据",
  2956. "parameters": [
  2957. {
  2958. "type": "integer",
  2959. "description": "登录账号",
  2960. "name": "loginID",
  2961. "in": "query",
  2962. "required": true
  2963. }
  2964. ],
  2965. "responses": {
  2966. "200": {
  2967. "description": "OK",
  2968. "schema": {
  2969. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2970. }
  2971. },
  2972. "500": {
  2973. "description": "Internal Server Error",
  2974. "schema": {
  2975. "$ref": "#/definitions/app.Response"
  2976. }
  2977. }
  2978. }
  2979. }
  2980. },
  2981. "/Erms3/QuerySpotContractDetail": {
  2982. "get": {
  2983. "security": [
  2984. {
  2985. "ApiKeyAuth": []
  2986. }
  2987. ],
  2988. "produces": [
  2989. "application/json"
  2990. ],
  2991. "tags": [
  2992. "风险管理v3"
  2993. ],
  2994. "summary": "查询合同详细信息",
  2995. "parameters": [
  2996. {
  2997. "type": "string",
  2998. "description": "资金账号ID列表,用逗号分隔",
  2999. "name": "accountids",
  3000. "in": "query",
  3001. "required": true
  3002. },
  3003. {
  3004. "type": "integer",
  3005. "description": "合同类型,1为采购合同 -1为销售合同",
  3006. "name": "contracttype",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "integer",
  3012. "description": "合同模式,1为普通合同 2为回购销售合同",
  3013. "name": "contractmode",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "状态,0为履约中 1为已完成",
  3020. "name": "status",
  3021. "in": "query",
  3022. "required": true
  3023. }
  3024. ],
  3025. "responses": {
  3026. "200": {
  3027. "description": "OK",
  3028. "schema": {
  3029. "type": "array",
  3030. "items": {
  3031. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3032. }
  3033. }
  3034. },
  3035. "500": {
  3036. "description": "Internal Server Error",
  3037. "schema": {
  3038. "$ref": "#/definitions/app.Response"
  3039. }
  3040. }
  3041. }
  3042. }
  3043. },
  3044. "/Erms3/QueryUserInfoApplies": {
  3045. "get": {
  3046. "security": [
  3047. {
  3048. "ApiKeyAuth": []
  3049. }
  3050. ],
  3051. "produces": [
  3052. "application/json"
  3053. ],
  3054. "tags": [
  3055. "风险管理v3"
  3056. ],
  3057. "summary": "客户申请信息查询",
  3058. "parameters": [
  3059. {
  3060. "type": "integer",
  3061. "description": "页码",
  3062. "name": "page",
  3063. "in": "query"
  3064. },
  3065. {
  3066. "type": "integer",
  3067. "description": "每页条数",
  3068. "name": "pagesize",
  3069. "in": "query"
  3070. },
  3071. {
  3072. "type": "string",
  3073. "description": "客户名称,支持模糊查询",
  3074. "name": "userName",
  3075. "in": "query"
  3076. }
  3077. ],
  3078. "responses": {
  3079. "200": {
  3080. "description": "OK",
  3081. "schema": {
  3082. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3083. }
  3084. },
  3085. "500": {
  3086. "description": "Internal Server Error",
  3087. "schema": {
  3088. "$ref": "#/definitions/app.Response"
  3089. }
  3090. }
  3091. }
  3092. }
  3093. },
  3094. "/Erms3/QueryUserInfos": {
  3095. "get": {
  3096. "security": [
  3097. {
  3098. "ApiKeyAuth": []
  3099. }
  3100. ],
  3101. "produces": [
  3102. "application/json"
  3103. ],
  3104. "tags": [
  3105. "风险管理v3"
  3106. ],
  3107. "summary": "客户信息查询",
  3108. "parameters": [
  3109. {
  3110. "type": "integer",
  3111. "description": "页码",
  3112. "name": "page",
  3113. "in": "query"
  3114. },
  3115. {
  3116. "type": "integer",
  3117. "description": "每页条数",
  3118. "name": "pagesize",
  3119. "in": "query"
  3120. },
  3121. {
  3122. "type": "string",
  3123. "description": "客户名称,支持模糊查询",
  3124. "name": "userName",
  3125. "in": "query"
  3126. }
  3127. ],
  3128. "responses": {
  3129. "200": {
  3130. "description": "OK",
  3131. "schema": {
  3132. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3133. }
  3134. },
  3135. "500": {
  3136. "description": "Internal Server Error",
  3137. "schema": {
  3138. "$ref": "#/definitions/app.Response"
  3139. }
  3140. }
  3141. }
  3142. }
  3143. },
  3144. "/HSBY/GetHsbyMyCount": {
  3145. "get": {
  3146. "security": [
  3147. {
  3148. "ApiKeyAuth": []
  3149. }
  3150. ],
  3151. "description": "说明: 不包括已完成的数量。",
  3152. "produces": [
  3153. "application/json"
  3154. ],
  3155. "tags": [
  3156. "定制【海商报业】"
  3157. ],
  3158. "summary": "获取我的订单与包裹数量",
  3159. "parameters": [
  3160. {
  3161. "type": "string",
  3162. "description": "资金账户列表,格式:1,2,3",
  3163. "name": "accountIDs",
  3164. "in": "query",
  3165. "required": true
  3166. }
  3167. ],
  3168. "responses": {
  3169. "200": {
  3170. "description": "OK",
  3171. "schema": {
  3172. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3173. }
  3174. },
  3175. "500": {
  3176. "description": "Internal Server Error",
  3177. "schema": {
  3178. "$ref": "#/definitions/app.Response"
  3179. }
  3180. }
  3181. }
  3182. }
  3183. },
  3184. "/HSBY/QueryClientFixedADConfigs": {
  3185. "get": {
  3186. "security": [
  3187. {
  3188. "ApiKeyAuth": []
  3189. }
  3190. ],
  3191. "produces": [
  3192. "application/json"
  3193. ],
  3194. "tags": [
  3195. "定制【海商报业】"
  3196. ],
  3197. "summary": "获取终端固定广告配置",
  3198. "responses": {
  3199. "200": {
  3200. "description": "OK",
  3201. "schema": {
  3202. "$ref": "#/definitions/models.Clientfixedadconfig"
  3203. }
  3204. },
  3205. "500": {
  3206. "description": "Internal Server Error",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. }
  3211. }
  3212. }
  3213. },
  3214. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3215. "get": {
  3216. "security": [
  3217. {
  3218. "ApiKeyAuth": []
  3219. }
  3220. ],
  3221. "produces": [
  3222. "application/json"
  3223. ],
  3224. "tags": [
  3225. "定制【海商报业】"
  3226. ],
  3227. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3228. "parameters": [
  3229. {
  3230. "type": "integer",
  3231. "description": "页码",
  3232. "name": "page",
  3233. "in": "query"
  3234. },
  3235. {
  3236. "type": "integer",
  3237. "description": "每页条数",
  3238. "name": "pagesize",
  3239. "in": "query"
  3240. },
  3241. {
  3242. "type": "string",
  3243. "description": "资金账户列表,格式:1,2,3",
  3244. "name": "accountIDs",
  3245. "in": "query",
  3246. "required": true
  3247. }
  3248. ],
  3249. "responses": {
  3250. "200": {
  3251. "description": "OK",
  3252. "schema": {
  3253. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3254. }
  3255. },
  3256. "500": {
  3257. "description": "Internal Server Error",
  3258. "schema": {
  3259. "$ref": "#/definitions/app.Response"
  3260. }
  3261. }
  3262. }
  3263. }
  3264. },
  3265. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3266. "get": {
  3267. "security": [
  3268. {
  3269. "ApiKeyAuth": []
  3270. }
  3271. ],
  3272. "description": "说明:查询结果已按委托价格和委托时间排序",
  3273. "produces": [
  3274. "application/json"
  3275. ],
  3276. "tags": [
  3277. "定制【海商报业】"
  3278. ],
  3279. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3280. "parameters": [
  3281. {
  3282. "type": "integer",
  3283. "description": "商品ID",
  3284. "name": "goodsID",
  3285. "in": "query",
  3286. "required": true
  3287. },
  3288. {
  3289. "type": "string",
  3290. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3291. "name": "accountIDs",
  3292. "in": "query"
  3293. },
  3294. {
  3295. "type": "integer",
  3296. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3297. "name": "buyOrSell",
  3298. "in": "query"
  3299. },
  3300. {
  3301. "type": "number",
  3302. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3303. "name": "price",
  3304. "in": "query"
  3305. },
  3306. {
  3307. "type": "integer",
  3308. "description": "档位,不传则默认为3档",
  3309. "name": "speed",
  3310. "in": "query"
  3311. }
  3312. ],
  3313. "responses": {
  3314. "200": {
  3315. "description": "OK",
  3316. "schema": {
  3317. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3318. }
  3319. },
  3320. "500": {
  3321. "description": "Internal Server Error",
  3322. "schema": {
  3323. "$ref": "#/definitions/app.Response"
  3324. }
  3325. }
  3326. }
  3327. }
  3328. },
  3329. "/HSBY/QueryHsbyListingGoodsDetail": {
  3330. "get": {
  3331. "security": [
  3332. {
  3333. "ApiKeyAuth": []
  3334. }
  3335. ],
  3336. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3337. "produces": [
  3338. "application/json"
  3339. ],
  3340. "tags": [
  3341. "定制【海商报业】"
  3342. ],
  3343. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3344. "parameters": [
  3345. {
  3346. "type": "integer",
  3347. "description": "商品ID",
  3348. "name": "goodsID",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3355. "name": "accountID",
  3356. "in": "query"
  3357. }
  3358. ],
  3359. "responses": {
  3360. "200": {
  3361. "description": "OK",
  3362. "schema": {
  3363. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3364. }
  3365. },
  3366. "500": {
  3367. "description": "Internal Server Error",
  3368. "schema": {
  3369. "$ref": "#/definitions/app.Response"
  3370. }
  3371. }
  3372. }
  3373. }
  3374. },
  3375. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3376. "get": {
  3377. "security": [
  3378. {
  3379. "ApiKeyAuth": []
  3380. }
  3381. ],
  3382. "produces": [
  3383. "application/json"
  3384. ],
  3385. "tags": [
  3386. "定制【海商报业】"
  3387. ],
  3388. "summary": "查询三级市场(商城)商品信息详情",
  3389. "parameters": [
  3390. {
  3391. "type": "integer",
  3392. "description": "委托单号",
  3393. "name": "orderID",
  3394. "in": "query",
  3395. "required": true
  3396. },
  3397. {
  3398. "type": "integer",
  3399. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3400. "name": "accountID",
  3401. "in": "query"
  3402. }
  3403. ],
  3404. "responses": {
  3405. "200": {
  3406. "description": "OK",
  3407. "schema": {
  3408. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3409. }
  3410. },
  3411. "500": {
  3412. "description": "Internal Server Error",
  3413. "schema": {
  3414. "$ref": "#/definitions/app.Response"
  3415. }
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "/HSBY/QueryHsbyMarketGoodses": {
  3421. "get": {
  3422. "security": [
  3423. {
  3424. "ApiKeyAuth": []
  3425. }
  3426. ],
  3427. "produces": [
  3428. "application/json"
  3429. ],
  3430. "tags": [
  3431. "定制【海商报业】"
  3432. ],
  3433. "summary": "查询特卖商品列表(三级商城)",
  3434. "parameters": [
  3435. {
  3436. "type": "integer",
  3437. "description": "页码",
  3438. "name": "page",
  3439. "in": "query"
  3440. },
  3441. {
  3442. "type": "integer",
  3443. "description": "每页条数",
  3444. "name": "pagesize",
  3445. "in": "query"
  3446. },
  3447. {
  3448. "type": "string",
  3449. "description": "市场ID列表,格式:1,2,3",
  3450. "name": "marketIDs",
  3451. "in": "query",
  3452. "required": true
  3453. },
  3454. {
  3455. "type": "integer",
  3456. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3457. "name": "accountID",
  3458. "in": "query",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": "类别ID",
  3464. "name": "categoryID",
  3465. "in": "query"
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3470. "name": "goodsIDs",
  3471. "in": "query"
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3476. "name": "couponTypeID",
  3477. "in": "query"
  3478. }
  3479. ],
  3480. "responses": {
  3481. "200": {
  3482. "description": "OK",
  3483. "schema": {
  3484. "$ref": "#/definitions/models.HsbyMarketGoods"
  3485. }
  3486. },
  3487. "500": {
  3488. "description": "Internal Server Error",
  3489. "schema": {
  3490. "$ref": "#/definitions/app.Response"
  3491. }
  3492. }
  3493. }
  3494. }
  3495. },
  3496. "/HSBY/QueryHsbyMarkets": {
  3497. "get": {
  3498. "security": [
  3499. {
  3500. "ApiKeyAuth": []
  3501. }
  3502. ],
  3503. "produces": [
  3504. "application/json"
  3505. ],
  3506. "tags": [
  3507. "定制【海商报业】"
  3508. ],
  3509. "summary": "查询海商报业相关市场信息",
  3510. "responses": {
  3511. "200": {
  3512. "description": "OK",
  3513. "schema": {
  3514. "$ref": "#/definitions/models.HsbyMarketInfo"
  3515. }
  3516. },
  3517. "500": {
  3518. "description": "Internal Server Error",
  3519. "schema": {
  3520. "$ref": "#/definitions/app.Response"
  3521. }
  3522. }
  3523. }
  3524. }
  3525. },
  3526. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3527. "get": {
  3528. "security": [
  3529. {
  3530. "ApiKeyAuth": []
  3531. }
  3532. ],
  3533. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3534. "produces": [
  3535. "application/json"
  3536. ],
  3537. "tags": [
  3538. "定制【海商报业】"
  3539. ],
  3540. "summary": "查询“我的订单”信息",
  3541. "parameters": [
  3542. {
  3543. "type": "string",
  3544. "description": "资金账户列表,格式:1,2,3",
  3545. "name": "accountIDs",
  3546. "in": "query",
  3547. "required": true
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/HSBY/QueryHsbyMyGoods": {
  3567. "get": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3574. "produces": [
  3575. "application/json"
  3576. ],
  3577. "tags": [
  3578. "定制【海商报业】"
  3579. ],
  3580. "summary": "查询“我的商品”信息",
  3581. "parameters": [
  3582. {
  3583. "type": "string",
  3584. "description": "资金账户列表,格式:1,2,3",
  3585. "name": "accountIDs",
  3586. "in": "query",
  3587. "required": true
  3588. }
  3589. ],
  3590. "responses": {
  3591. "200": {
  3592. "description": "OK",
  3593. "schema": {
  3594. "$ref": "#/definitions/models.HsbyMyGoods"
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/HSBY/QueryHsbyMyPackages": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "定制【海商报业】"
  3618. ],
  3619. "summary": "查询我的包裹信息",
  3620. "parameters": [
  3621. {
  3622. "type": "string",
  3623. "description": "资金账户列表,格式:1,2,3",
  3624. "name": "accountIDs",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3631. "name": "takeOrderStatus",
  3632. "in": "query"
  3633. }
  3634. ],
  3635. "responses": {
  3636. "200": {
  3637. "description": "OK",
  3638. "schema": {
  3639. "$ref": "#/definitions/models.HsbyMyPackage"
  3640. }
  3641. },
  3642. "500": {
  3643. "description": "Internal Server Error",
  3644. "schema": {
  3645. "$ref": "#/definitions/app.Response"
  3646. }
  3647. }
  3648. }
  3649. }
  3650. },
  3651. "/HSBY/QueryHsbyPreGoodsDetail": {
  3652. "get": {
  3653. "security": [
  3654. {
  3655. "ApiKeyAuth": []
  3656. }
  3657. ],
  3658. "produces": [
  3659. "application/json"
  3660. ],
  3661. "tags": [
  3662. "定制【海商报业】"
  3663. ],
  3664. "summary": "查询一级市场(预售)商品信息详情",
  3665. "parameters": [
  3666. {
  3667. "type": "integer",
  3668. "description": "商品ID",
  3669. "name": "goodsID",
  3670. "in": "query",
  3671. "required": true
  3672. },
  3673. {
  3674. "type": "integer",
  3675. "description": "资金账户,主要用于获取预售商品购买上限",
  3676. "name": "accountID",
  3677. "in": "query"
  3678. }
  3679. ],
  3680. "responses": {
  3681. "200": {
  3682. "description": "OK",
  3683. "schema": {
  3684. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3685. }
  3686. },
  3687. "500": {
  3688. "description": "Internal Server Error",
  3689. "schema": {
  3690. "$ref": "#/definitions/app.Response"
  3691. }
  3692. }
  3693. }
  3694. }
  3695. },
  3696. "/HSBY/QueryHsbyPreGoodses": {
  3697. "get": {
  3698. "security": [
  3699. {
  3700. "ApiKeyAuth": []
  3701. }
  3702. ],
  3703. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3704. "produces": [
  3705. "application/json"
  3706. ],
  3707. "tags": [
  3708. "定制【海商报业】"
  3709. ],
  3710. "summary": "查询新品上市商品列表(一级市场预售)",
  3711. "parameters": [
  3712. {
  3713. "type": "integer",
  3714. "description": "页码",
  3715. "name": "page",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "每页条数",
  3721. "name": "pagesize",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "市场ID列表,格式:1,2,3",
  3727. "name": "marketIDs",
  3728. "in": "query",
  3729. "required": true
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "目的地(省)ID",
  3734. "name": "descProvinceID",
  3735. "in": "query"
  3736. },
  3737. {
  3738. "type": "integer",
  3739. "description": "目的地(市)ID",
  3740. "name": "descCityID",
  3741. "in": "query"
  3742. }
  3743. ],
  3744. "responses": {
  3745. "200": {
  3746. "description": "OK",
  3747. "schema": {
  3748. "$ref": "#/definitions/models.HsbyPreGoods"
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/HSBY/QueryHsbySellMyDetails": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3768. "produces": [
  3769. "application/json"
  3770. ],
  3771. "tags": [
  3772. "定制【海商报业】"
  3773. ],
  3774. "summary": "查询\"我的闲置\"单据信息",
  3775. "parameters": [
  3776. {
  3777. "type": "integer",
  3778. "description": "页码",
  3779. "name": "page",
  3780. "in": "query"
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "每页条数",
  3785. "name": "pagesize",
  3786. "in": "query"
  3787. },
  3788. {
  3789. "type": "string",
  3790. "description": "资金账户列表,格式:1,2,3",
  3791. "name": "accountIDs",
  3792. "in": "query",
  3793. "required": true
  3794. },
  3795. {
  3796. "type": "integer",
  3797. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3798. "name": "orderType",
  3799. "in": "query"
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "$ref": "#/definitions/models.HsbySellMyDetail"
  3807. }
  3808. },
  3809. "500": {
  3810. "description": "Internal Server Error",
  3811. "schema": {
  3812. "$ref": "#/definitions/app.Response"
  3813. }
  3814. }
  3815. }
  3816. }
  3817. },
  3818. "/HSBY/QueryHsbyTopGoodses": {
  3819. "get": {
  3820. "security": [
  3821. {
  3822. "ApiKeyAuth": []
  3823. }
  3824. ],
  3825. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3826. "produces": [
  3827. "application/json"
  3828. ],
  3829. "tags": [
  3830. "定制【海商报业】"
  3831. ],
  3832. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3833. "parameters": [
  3834. {
  3835. "type": "integer",
  3836. "description": "页码",
  3837. "name": "page",
  3838. "in": "query"
  3839. },
  3840. {
  3841. "type": "integer",
  3842. "description": "每页条数",
  3843. "name": "pagesize",
  3844. "in": "query"
  3845. },
  3846. {
  3847. "type": "string",
  3848. "description": "市场ID列表,格式:1,2,3",
  3849. "name": "marketIDs",
  3850. "in": "query",
  3851. "required": true
  3852. },
  3853. {
  3854. "type": "integer",
  3855. "description": "目的地(省)ID",
  3856. "name": "descProvinceID",
  3857. "in": "query"
  3858. },
  3859. {
  3860. "type": "integer",
  3861. "description": "目的地(市)ID",
  3862. "name": "descCityID",
  3863. "in": "query"
  3864. }
  3865. ],
  3866. "responses": {
  3867. "200": {
  3868. "description": "OK",
  3869. "schema": {
  3870. "$ref": "#/definitions/models.HsbyTopGoods"
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "定制【海商报业】"
  3895. ],
  3896. "summary": "查询游客三级市场(商城)商品信息详情",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "商品ID",
  3901. "name": "goodsID",
  3902. "in": "query",
  3903. "required": true
  3904. }
  3905. ],
  3906. "responses": {
  3907. "200": {
  3908. "description": "OK",
  3909. "schema": {
  3910. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3911. }
  3912. },
  3913. "500": {
  3914. "description": "Internal Server Error",
  3915. "schema": {
  3916. "$ref": "#/definitions/app.Response"
  3917. }
  3918. }
  3919. }
  3920. }
  3921. },
  3922. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3923. "get": {
  3924. "security": [
  3925. {
  3926. "ApiKeyAuth": []
  3927. }
  3928. ],
  3929. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3930. "produces": [
  3931. "application/json"
  3932. ],
  3933. "tags": [
  3934. "定制【海商报业】"
  3935. ],
  3936. "summary": "查询游客特卖商品列表(三级商城)",
  3937. "parameters": [
  3938. {
  3939. "type": "integer",
  3940. "description": "页码",
  3941. "name": "page",
  3942. "in": "query"
  3943. },
  3944. {
  3945. "type": "integer",
  3946. "description": "每页条数",
  3947. "name": "pagesize",
  3948. "in": "query"
  3949. },
  3950. {
  3951. "type": "string",
  3952. "description": "市场ID列表,格式:1,2,3",
  3953. "name": "marketIDs",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "类别ID",
  3960. "name": "categoryID",
  3961. "in": "query"
  3962. },
  3963. {
  3964. "type": "string",
  3965. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3966. "name": "goodsIDs",
  3967. "in": "query"
  3968. }
  3969. ],
  3970. "responses": {
  3971. "200": {
  3972. "description": "OK",
  3973. "schema": {
  3974. "$ref": "#/definitions/models.HsbyMarketGoods"
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/HSBY/QueryMyCollectionOrders": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "定制【海商报业】"
  3998. ],
  3999. "summary": "我的闲置中收款信息查询",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "页码",
  4004. "name": "page",
  4005. "in": "query"
  4006. },
  4007. {
  4008. "type": "integer",
  4009. "description": "每页条数",
  4010. "name": "pagesize",
  4011. "in": "query"
  4012. },
  4013. {
  4014. "type": "string",
  4015. "description": "资金账户,格式:1,2,3",
  4016. "name": "accountIDs",
  4017. "in": "query",
  4018. "required": true
  4019. }
  4020. ],
  4021. "responses": {
  4022. "200": {
  4023. "description": "OK",
  4024. "schema": {
  4025. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4026. }
  4027. },
  4028. "500": {
  4029. "description": "Internal Server Error",
  4030. "schema": {
  4031. "$ref": "#/definitions/app.Response"
  4032. }
  4033. }
  4034. }
  4035. }
  4036. },
  4037. "/HSBY/QueryMyCouponHolds": {
  4038. "get": {
  4039. "security": [
  4040. {
  4041. "ApiKeyAuth": []
  4042. }
  4043. ],
  4044. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4045. "produces": [
  4046. "application/json"
  4047. ],
  4048. "tags": [
  4049. "定制【海商报业】"
  4050. ],
  4051. "summary": "我的优惠卷持仓查询",
  4052. "parameters": [
  4053. {
  4054. "type": "string",
  4055. "description": "资金账户列表,格式:1,2,3",
  4056. "name": "accountIDs",
  4057. "in": "query",
  4058. "required": true
  4059. },
  4060. {
  4061. "type": "string",
  4062. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4063. "name": "holdStatus",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "$ref": "#/definitions/models.MyCouponHold"
  4072. }
  4073. },
  4074. "500": {
  4075. "description": "Internal Server Error",
  4076. "schema": {
  4077. "$ref": "#/definitions/app.Response"
  4078. }
  4079. }
  4080. }
  4081. }
  4082. },
  4083. "/HSBY/QueryMyCoupons": {
  4084. "get": {
  4085. "security": [
  4086. {
  4087. "ApiKeyAuth": []
  4088. }
  4089. ],
  4090. "produces": [
  4091. "application/json"
  4092. ],
  4093. "tags": [
  4094. "定制【海商报业】"
  4095. ],
  4096. "summary": "我的优惠卷查询",
  4097. "parameters": [
  4098. {
  4099. "type": "string",
  4100. "description": "资金账户列表,格式:1,2,3",
  4101. "name": "accountIDs",
  4102. "in": "query",
  4103. "required": true
  4104. },
  4105. {
  4106. "type": "integer",
  4107. "description": "商品ID, 一般与sellUserID配套传入",
  4108. "name": "goodsID",
  4109. "in": "query"
  4110. },
  4111. {
  4112. "type": "integer",
  4113. "description": "卖方UserID",
  4114. "name": "sellUserID",
  4115. "in": "query"
  4116. }
  4117. ],
  4118. "responses": {
  4119. "200": {
  4120. "description": "OK",
  4121. "schema": {
  4122. "$ref": "#/definitions/models.MyCoupon"
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/HSBY/QueryMyPayOrders": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. }
  4140. ],
  4141. "produces": [
  4142. "application/json"
  4143. ],
  4144. "tags": [
  4145. "定制【海商报业】"
  4146. ],
  4147. "summary": "获取我的订单中待付款信息",
  4148. "parameters": [
  4149. {
  4150. "type": "integer",
  4151. "description": "页码",
  4152. "name": "page",
  4153. "in": "query"
  4154. },
  4155. {
  4156. "type": "integer",
  4157. "description": "每页条数",
  4158. "name": "pagesize",
  4159. "in": "query"
  4160. },
  4161. {
  4162. "type": "string",
  4163. "description": "资金账户列表,格式:1,2,3",
  4164. "name": "accountIDs",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "买方委托单号",
  4171. "name": "buyOrderID",
  4172. "in": "query"
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "卖方委托单号",
  4177. "name": "sellOrderID",
  4178. "in": "query"
  4179. }
  4180. ],
  4181. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4186. }
  4187. },
  4188. "500": {
  4189. "description": "Internal Server Error",
  4190. "schema": {
  4191. "$ref": "#/definitions/app.Response"
  4192. }
  4193. }
  4194. }
  4195. }
  4196. },
  4197. "/HSBY/QueryMyUsedCoupon": {
  4198. "get": {
  4199. "security": [
  4200. {
  4201. "ApiKeyAuth": []
  4202. }
  4203. ],
  4204. "produces": [
  4205. "application/json"
  4206. ],
  4207. "tags": [
  4208. "定制【海商报业】"
  4209. ],
  4210. "summary": "已使用优惠卷查询",
  4211. "parameters": [
  4212. {
  4213. "type": "string",
  4214. "description": "资金账户列表,格式:1,2,3",
  4215. "name": "accountIDs",
  4216. "in": "query",
  4217. "required": true
  4218. }
  4219. ],
  4220. "responses": {
  4221. "200": {
  4222. "description": "OK",
  4223. "schema": {
  4224. "$ref": "#/definitions/models.MyUsedCoupon"
  4225. }
  4226. },
  4227. "500": {
  4228. "description": "Internal Server Error",
  4229. "schema": {
  4230. "$ref": "#/definitions/app.Response"
  4231. }
  4232. }
  4233. }
  4234. }
  4235. },
  4236. "/HSBY/QueryProvincesAndCities": {
  4237. "get": {
  4238. "security": [
  4239. {
  4240. "ApiKeyAuth": []
  4241. }
  4242. ],
  4243. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4244. "produces": [
  4245. "application/json"
  4246. ],
  4247. "tags": [
  4248. "定制【海商报业】"
  4249. ],
  4250. "summary": "查询省市信息(不包括区)",
  4251. "parameters": [
  4252. {
  4253. "type": "integer",
  4254. "description": "省ID",
  4255. "name": "provinceID",
  4256. "in": "query"
  4257. }
  4258. ],
  4259. "responses": {
  4260. "200": {
  4261. "description": "OK",
  4262. "schema": {
  4263. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/HSBY/SetHsbyMyPackagesStatus": {
  4276. "post": {
  4277. "security": [
  4278. {
  4279. "ApiKeyAuth": []
  4280. }
  4281. ],
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "定制【海商报业】"
  4287. ],
  4288. "summary": "设置我的包裹已收货状态",
  4289. "parameters": [
  4290. {
  4291. "type": "string",
  4292. "description": "提货单号",
  4293. "name": "takeOrderID",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "integer",
  4299. "description": "资金账号",
  4300. "name": "accountID",
  4301. "in": "query",
  4302. "required": true
  4303. }
  4304. ],
  4305. "responses": {
  4306. "200": {
  4307. "description": "OK",
  4308. "schema": {
  4309. "$ref": "#/definitions/app.Response"
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Market/QueryGoodsesByLoginID": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "通用市场"
  4333. ],
  4334. "summary": "获取登录账号有权限的商品信息",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "登录账号",
  4339. "name": "loginID",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "string",
  4345. "description": "市场ID列表,格式:1,2,3",
  4346. "name": "marketIDs",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "$ref": "#/definitions/models.Goods"
  4355. }
  4356. },
  4357. "500": {
  4358. "description": "Internal Server Error",
  4359. "schema": {
  4360. "$ref": "#/definitions/app.Response"
  4361. }
  4362. }
  4363. }
  4364. }
  4365. },
  4366. "/Market/QueryMarketRun": {
  4367. "get": {
  4368. "security": [
  4369. {
  4370. "ApiKeyAuth": []
  4371. }
  4372. ],
  4373. "produces": [
  4374. "application/json"
  4375. ],
  4376. "tags": [
  4377. "通用市场"
  4378. ],
  4379. "summary": "查询市场运行信息",
  4380. "parameters": [
  4381. {
  4382. "type": "integer",
  4383. "description": "市场ID,不传返回所有",
  4384. "name": "marketID",
  4385. "in": "query"
  4386. }
  4387. ],
  4388. "responses": {
  4389. "200": {
  4390. "description": "OK",
  4391. "schema": {
  4392. "$ref": "#/definitions/models.Marketrun"
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Market/QueryMarketsByLoginID": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "通用市场"
  4416. ],
  4417. "summary": "获取登录账号有权限的市场信息",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "登录账号",
  4422. "name": "loginID",
  4423. "in": "query",
  4424. "required": true
  4425. }
  4426. ],
  4427. "responses": {
  4428. "200": {
  4429. "description": "OK",
  4430. "schema": {
  4431. "$ref": "#/definitions/models.Market"
  4432. }
  4433. },
  4434. "500": {
  4435. "description": "Internal Server Error",
  4436. "schema": {
  4437. "$ref": "#/definitions/app.Response"
  4438. }
  4439. }
  4440. }
  4441. }
  4442. },
  4443. "/Order/QueryHisTradeDetail": {
  4444. "get": {
  4445. "security": [
  4446. {
  4447. "ApiKeyAuth": []
  4448. }
  4449. ],
  4450. "produces": [
  4451. "application/json"
  4452. ],
  4453. "tags": [
  4454. "通用单据"
  4455. ],
  4456. "summary": "历史成交单查询(合约市场)",
  4457. "parameters": [
  4458. {
  4459. "type": "string",
  4460. "description": "资金账户 - 格式:1,2,3",
  4461. "name": "accountID",
  4462. "in": "query",
  4463. "required": true
  4464. },
  4465. {
  4466. "type": "integer",
  4467. "description": "成交单号",
  4468. "name": "tradeID",
  4469. "in": "query"
  4470. },
  4471. {
  4472. "type": "integer",
  4473. "description": "委托单号",
  4474. "name": "orderID",
  4475. "in": "query"
  4476. },
  4477. {
  4478. "type": "string",
  4479. "description": "交易模式 - 格式:1,2,3",
  4480. "name": "tradeMode",
  4481. "in": "query"
  4482. },
  4483. {
  4484. "type": "integer",
  4485. "description": "委托单据类型",
  4486. "name": "buildType",
  4487. "in": "query"
  4488. },
  4489. {
  4490. "type": "string",
  4491. "description": "成交类别 - 格式:1,2,3",
  4492. "name": "tradeType",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "string",
  4497. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4498. "name": "startDate",
  4499. "in": "query"
  4500. },
  4501. {
  4502. "type": "string",
  4503. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4504. "name": "endDate",
  4505. "in": "query"
  4506. }
  4507. ],
  4508. "responses": {
  4509. "200": {
  4510. "description": "OK",
  4511. "schema": {
  4512. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4513. }
  4514. },
  4515. "500": {
  4516. "description": "Internal Server Error",
  4517. "schema": {
  4518. "$ref": "#/definitions/app.Response"
  4519. }
  4520. }
  4521. }
  4522. }
  4523. },
  4524. "/Order/QueryHisTradeOrderDetail": {
  4525. "get": {
  4526. "security": [
  4527. {
  4528. "ApiKeyAuth": []
  4529. }
  4530. ],
  4531. "produces": [
  4532. "application/json"
  4533. ],
  4534. "tags": [
  4535. "通用单据"
  4536. ],
  4537. "summary": "历史委托单查询请求(合约市场)",
  4538. "parameters": [
  4539. {
  4540. "type": "string",
  4541. "description": "资金账户 - 格式:1,2,3",
  4542. "name": "accountID",
  4543. "in": "query",
  4544. "required": true
  4545. },
  4546. {
  4547. "type": "string",
  4548. "description": "交易模式 - 格式:1,2,3",
  4549. "name": "tradeMode",
  4550. "in": "query"
  4551. },
  4552. {
  4553. "type": "string",
  4554. "description": "委托状态 - 格式:1,2,3",
  4555. "name": "orderStatus",
  4556. "in": "query"
  4557. },
  4558. {
  4559. "type": "integer",
  4560. "description": "委托单号",
  4561. "name": "orderID",
  4562. "in": "query"
  4563. },
  4564. {
  4565. "type": "string",
  4566. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4567. "name": "startDate",
  4568. "in": "query"
  4569. },
  4570. {
  4571. "type": "string",
  4572. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4573. "name": "endDate",
  4574. "in": "query"
  4575. }
  4576. ],
  4577. "responses": {
  4578. "200": {
  4579. "description": "OK",
  4580. "schema": {
  4581. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4582. }
  4583. },
  4584. "500": {
  4585. "description": "Internal Server Error",
  4586. "schema": {
  4587. "$ref": "#/definitions/app.Response"
  4588. }
  4589. }
  4590. }
  4591. }
  4592. },
  4593. "/Order/QueryTradeDetail": {
  4594. "get": {
  4595. "security": [
  4596. {
  4597. "ApiKeyAuth": []
  4598. }
  4599. ],
  4600. "produces": [
  4601. "application/json"
  4602. ],
  4603. "tags": [
  4604. "通用单据"
  4605. ],
  4606. "summary": "成交单查询(合约市场)",
  4607. "parameters": [
  4608. {
  4609. "type": "string",
  4610. "description": "资金账户 - 格式:1,2,3",
  4611. "name": "accountID",
  4612. "in": "query",
  4613. "required": true
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "成交单号",
  4618. "name": "tradeID",
  4619. "in": "query"
  4620. },
  4621. {
  4622. "type": "integer",
  4623. "description": "委托单号",
  4624. "name": "orderID",
  4625. "in": "query"
  4626. },
  4627. {
  4628. "type": "string",
  4629. "description": "交易模式 - 格式:1,2,3",
  4630. "name": "tradeMode",
  4631. "in": "query"
  4632. },
  4633. {
  4634. "type": "integer",
  4635. "description": "委托单据类型",
  4636. "name": "buildType",
  4637. "in": "query"
  4638. },
  4639. {
  4640. "type": "string",
  4641. "description": "成交类别 - 格式:1,2,3",
  4642. "name": "tradeType",
  4643. "in": "query"
  4644. }
  4645. ],
  4646. "responses": {
  4647. "200": {
  4648. "description": "OK",
  4649. "schema": {
  4650. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4651. }
  4652. },
  4653. "500": {
  4654. "description": "Internal Server Error",
  4655. "schema": {
  4656. "$ref": "#/definitions/app.Response"
  4657. }
  4658. }
  4659. }
  4660. }
  4661. },
  4662. "/Order/QueryTradeOrderDetail": {
  4663. "get": {
  4664. "security": [
  4665. {
  4666. "ApiKeyAuth": []
  4667. }
  4668. ],
  4669. "produces": [
  4670. "application/json"
  4671. ],
  4672. "tags": [
  4673. "通用单据"
  4674. ],
  4675. "summary": "委托单查询请求(合约市场)",
  4676. "parameters": [
  4677. {
  4678. "type": "string",
  4679. "description": "资金账户 - 格式:1,2,3",
  4680. "name": "accountID",
  4681. "in": "query",
  4682. "required": true
  4683. },
  4684. {
  4685. "type": "string",
  4686. "description": "交易模式 - 格式:1,2,3",
  4687. "name": "tradeMode",
  4688. "in": "query"
  4689. },
  4690. {
  4691. "type": "string",
  4692. "description": "委托状态 - 格式:1,2,3",
  4693. "name": "orderStatus",
  4694. "in": "query"
  4695. },
  4696. {
  4697. "type": "integer",
  4698. "description": "委托单号",
  4699. "name": "orderID",
  4700. "in": "query"
  4701. }
  4702. ],
  4703. "responses": {
  4704. "200": {
  4705. "description": "OK",
  4706. "schema": {
  4707. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4708. }
  4709. },
  4710. "500": {
  4711. "description": "Internal Server Error",
  4712. "schema": {
  4713. "$ref": "#/definitions/app.Response"
  4714. }
  4715. }
  4716. }
  4717. }
  4718. },
  4719. "/Order/QueryTradePosition": {
  4720. "get": {
  4721. "security": [
  4722. {
  4723. "ApiKeyAuth": []
  4724. }
  4725. ],
  4726. "produces": [
  4727. "application/json"
  4728. ],
  4729. "tags": [
  4730. "通用单据"
  4731. ],
  4732. "summary": "持仓汇总查询(合约市场)",
  4733. "parameters": [
  4734. {
  4735. "type": "string",
  4736. "description": "资金账户 - 格式:1,2,3",
  4737. "name": "accountID",
  4738. "in": "query",
  4739. "required": true
  4740. },
  4741. {
  4742. "type": "string",
  4743. "description": "交易模式 - 格式:1,2,3",
  4744. "name": "tradeMode",
  4745. "in": "query"
  4746. }
  4747. ],
  4748. "responses": {
  4749. "200": {
  4750. "description": "OK",
  4751. "schema": {
  4752. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4753. }
  4754. },
  4755. "500": {
  4756. "description": "Internal Server Error",
  4757. "schema": {
  4758. "$ref": "#/definitions/app.Response"
  4759. }
  4760. }
  4761. }
  4762. }
  4763. },
  4764. "/Quote/QueryHistoryDatas": {
  4765. "get": {
  4766. "security": [
  4767. {
  4768. "ApiKeyAuth": []
  4769. }
  4770. ],
  4771. "produces": [
  4772. "application/json"
  4773. ],
  4774. "tags": [
  4775. "行情服务"
  4776. ],
  4777. "summary": "查询行情历史数据",
  4778. "parameters": [
  4779. {
  4780. "type": "integer",
  4781. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4782. "name": "cycleType",
  4783. "in": "query",
  4784. "required": true
  4785. },
  4786. {
  4787. "type": "string",
  4788. "description": "商品代码",
  4789. "name": "goodsCode",
  4790. "in": "query",
  4791. "required": true
  4792. },
  4793. {
  4794. "type": "string",
  4795. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4796. "name": "startTime",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "string",
  4801. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4802. "name": "endTime",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "条数",
  4808. "name": "count",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "boolean",
  4813. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4814. "name": "isAsc",
  4815. "in": "query"
  4816. }
  4817. ],
  4818. "responses": {
  4819. "200": {
  4820. "description": "OK",
  4821. "schema": {
  4822. "$ref": "#/definitions/quote.HistoryData"
  4823. }
  4824. },
  4825. "500": {
  4826. "description": "Internal Server Error",
  4827. "schema": {
  4828. "$ref": "#/definitions/app.Response"
  4829. }
  4830. }
  4831. }
  4832. }
  4833. },
  4834. "/Quote/QueryTSData": {
  4835. "get": {
  4836. "produces": [
  4837. "application/json"
  4838. ],
  4839. "tags": [
  4840. "行情服务"
  4841. ],
  4842. "summary": "分时图数据查询",
  4843. "parameters": [
  4844. {
  4845. "type": "string",
  4846. "description": "商品代码",
  4847. "name": "goodsCode",
  4848. "in": "query",
  4849. "required": true
  4850. }
  4851. ],
  4852. "responses": {
  4853. "200": {
  4854. "description": "OK",
  4855. "schema": {
  4856. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4857. }
  4858. },
  4859. "500": {
  4860. "description": "Internal Server Error",
  4861. "schema": {
  4862. "$ref": "#/definitions/app.Response"
  4863. }
  4864. }
  4865. }
  4866. }
  4867. },
  4868. "/SZDZ/QueryConvertConfig": {
  4869. "get": {
  4870. "security": [
  4871. {
  4872. "ApiKeyAuth": []
  4873. }
  4874. ],
  4875. "produces": [
  4876. "application/json"
  4877. ],
  4878. "tags": [
  4879. "定制【尚志大宗】"
  4880. ],
  4881. "summary": "查询交易系统转换设置",
  4882. "parameters": [
  4883. {
  4884. "type": "integer",
  4885. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4886. "name": "convertType",
  4887. "in": "query"
  4888. },
  4889. {
  4890. "type": "string",
  4891. "description": "外部商品代码[JD\\PD]",
  4892. "name": "outerGoodsCode",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "内部商品ID列表[交易],格式:1,2,3",
  4898. "name": "innerGoodsIDs",
  4899. "in": "query"
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "$ref": "#/definitions/models.Szdz3convertconfig"
  4907. }
  4908. },
  4909. "500": {
  4910. "description": "Internal Server Error",
  4911. "schema": {
  4912. "$ref": "#/definitions/app.Response"
  4913. }
  4914. }
  4915. }
  4916. }
  4917. },
  4918. "/SZDZ/QueryConvertLog": {
  4919. "get": {
  4920. "security": [
  4921. {
  4922. "ApiKeyAuth": []
  4923. }
  4924. ],
  4925. "produces": [
  4926. "application/json"
  4927. ],
  4928. "tags": [
  4929. "定制【尚志大宗】"
  4930. ],
  4931. "summary": "交易系统转换流水查询",
  4932. "parameters": [
  4933. {
  4934. "type": "string",
  4935. "description": "资金账户 - 格式:1,2,3",
  4936. "name": "accountID",
  4937. "in": "query",
  4938. "required": true
  4939. },
  4940. {
  4941. "type": "string",
  4942. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4943. "name": "startDate",
  4944. "in": "query"
  4945. },
  4946. {
  4947. "type": "string",
  4948. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4949. "name": "endDate",
  4950. "in": "query"
  4951. }
  4952. ],
  4953. "responses": {
  4954. "200": {
  4955. "description": "OK",
  4956. "schema": {
  4957. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4958. }
  4959. },
  4960. "500": {
  4961. "description": "Internal Server Error",
  4962. "schema": {
  4963. "$ref": "#/definitions/app.Response"
  4964. }
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "/SZDZ/QueryGoodsPickup": {
  4970. "get": {
  4971. "security": [
  4972. {
  4973. "ApiKeyAuth": []
  4974. }
  4975. ],
  4976. "produces": [
  4977. "application/json"
  4978. ],
  4979. "tags": [
  4980. "定制【尚志大宗】"
  4981. ],
  4982. "summary": "商品提货单查询",
  4983. "parameters": [
  4984. {
  4985. "type": "string",
  4986. "description": "资金账户 - 格式:1,2,3",
  4987. "name": "accountID",
  4988. "in": "query",
  4989. "required": true
  4990. },
  4991. {
  4992. "type": "integer",
  4993. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4994. "name": "takeOrderStatus",
  4995. "in": "query"
  4996. }
  4997. ],
  4998. "responses": {
  4999. "200": {
  5000. "description": "OK",
  5001. "schema": {
  5002. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5003. }
  5004. },
  5005. "500": {
  5006. "description": "Internal Server Error",
  5007. "schema": {
  5008. "$ref": "#/definitions/app.Response"
  5009. }
  5010. }
  5011. }
  5012. }
  5013. },
  5014. "/SZDZ/QueryRecieptOrder": {
  5015. "get": {
  5016. "security": [
  5017. {
  5018. "ApiKeyAuth": []
  5019. }
  5020. ],
  5021. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5022. "produces": [
  5023. "application/json"
  5024. ],
  5025. "tags": [
  5026. "定制【尚志大宗】"
  5027. ],
  5028. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5029. "parameters": [
  5030. {
  5031. "type": "integer",
  5032. "description": "页码",
  5033. "name": "page",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "integer",
  5038. "description": "每页条数",
  5039. "name": "pagesize",
  5040. "in": "query"
  5041. },
  5042. {
  5043. "type": "integer",
  5044. "description": "商品ID",
  5045. "name": "goodsID",
  5046. "in": "query",
  5047. "required": true
  5048. },
  5049. {
  5050. "type": "string",
  5051. "description": "所属账户名称",
  5052. "name": "accountName",
  5053. "in": "query"
  5054. },
  5055. {
  5056. "type": "integer",
  5057. "description": "市场ID",
  5058. "name": "marketID",
  5059. "in": "query"
  5060. },
  5061. {
  5062. "type": "integer",
  5063. "description": "方向 - 0:买 1:卖",
  5064. "name": "buyorsell",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/SZDZ/QuerySZDZTradePosition": {
  5086. "get": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "produces": [
  5093. "application/json"
  5094. ],
  5095. "tags": [
  5096. "定制【尚志大宗】"
  5097. ],
  5098. "summary": "持仓汇总查询(尚志大宗)",
  5099. "parameters": [
  5100. {
  5101. "type": "integer",
  5102. "description": "资金账户",
  5103. "name": "accountID",
  5104. "in": "query",
  5105. "required": true
  5106. }
  5107. ],
  5108. "responses": {
  5109. "200": {
  5110. "description": "OK",
  5111. "schema": {
  5112. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/SZDZ/SearchWhite": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "produces": [
  5132. "application/json"
  5133. ],
  5134. "tags": [
  5135. "定制【尚志大宗】"
  5136. ],
  5137. "summary": "搜索白名单",
  5138. "parameters": [
  5139. {
  5140. "type": "integer",
  5141. "description": "用户ID",
  5142. "name": "userID",
  5143. "in": "query",
  5144. "required": true
  5145. }
  5146. ],
  5147. "responses": {
  5148. "200": {
  5149. "description": "OK",
  5150. "schema": {
  5151. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5152. }
  5153. },
  5154. "500": {
  5155. "description": "Internal Server Error",
  5156. "schema": {
  5157. "$ref": "#/definitions/app.Response"
  5158. }
  5159. }
  5160. }
  5161. }
  5162. },
  5163. "/Search/SearchGoodses": {
  5164. "get": {
  5165. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5166. "produces": [
  5167. "application/json"
  5168. ],
  5169. "tags": [
  5170. "检索服务"
  5171. ],
  5172. "summary": "检索商品信息",
  5173. "parameters": [
  5174. {
  5175. "type": "string",
  5176. "description": "检索内容",
  5177. "name": "content",
  5178. "in": "query",
  5179. "required": true
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "交易模式,格式:1,2,3",
  5184. "name": "tradeModes",
  5185. "in": "query"
  5186. }
  5187. ],
  5188. "responses": {
  5189. "200": {
  5190. "description": "OK",
  5191. "schema": {
  5192. "$ref": "#/definitions/models.SearchGoods"
  5193. }
  5194. },
  5195. "500": {
  5196. "description": "Internal Server Error",
  5197. "schema": {
  5198. "$ref": "#/definitions/app.Response"
  5199. }
  5200. }
  5201. }
  5202. }
  5203. },
  5204. "/TaAccount/GetTaAccounts": {
  5205. "get": {
  5206. "security": [
  5207. {
  5208. "ApiKeyAuth": []
  5209. }
  5210. ],
  5211. "produces": [
  5212. "application/json"
  5213. ],
  5214. "tags": [
  5215. "资金账户"
  5216. ],
  5217. "summary": "获取资金账户信息",
  5218. "parameters": [
  5219. {
  5220. "type": "integer",
  5221. "description": "登录账户",
  5222. "name": "loginID",
  5223. "in": "query",
  5224. "required": true
  5225. },
  5226. {
  5227. "type": "integer",
  5228. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5229. "name": "taAccountType",
  5230. "in": "query"
  5231. }
  5232. ],
  5233. "responses": {
  5234. "200": {
  5235. "description": "OK",
  5236. "schema": {
  5237. "$ref": "#/definitions/models.Taaccount"
  5238. }
  5239. },
  5240. "500": {
  5241. "description": "Internal Server Error",
  5242. "schema": {
  5243. "$ref": "#/definitions/app.Response"
  5244. }
  5245. }
  5246. }
  5247. }
  5248. },
  5249. "/TaAccount/QueryAmountLog": {
  5250. "get": {
  5251. "security": [
  5252. {
  5253. "ApiKeyAuth": []
  5254. }
  5255. ],
  5256. "produces": [
  5257. "application/json"
  5258. ],
  5259. "tags": [
  5260. "资金账户"
  5261. ],
  5262. "summary": "资金流水查询(当前)",
  5263. "parameters": [
  5264. {
  5265. "type": "integer",
  5266. "description": "页码",
  5267. "name": "page",
  5268. "in": "query"
  5269. },
  5270. {
  5271. "type": "integer",
  5272. "description": "每页条数",
  5273. "name": "pagesize",
  5274. "in": "query"
  5275. },
  5276. {
  5277. "type": "string",
  5278. "description": "资金账户 - 格式:1,2,3",
  5279. "name": "accountID",
  5280. "in": "query",
  5281. "required": true
  5282. },
  5283. {
  5284. "type": "string",
  5285. "description": "资金操作类型 - 格式:1,2,3",
  5286. "name": "OperateType",
  5287. "in": "query"
  5288. }
  5289. ],
  5290. "responses": {
  5291. "200": {
  5292. "description": "OK",
  5293. "schema": {
  5294. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/TaAccount/QueryHisAmountLog": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "produces": [
  5314. "application/json"
  5315. ],
  5316. "tags": [
  5317. "资金账户"
  5318. ],
  5319. "summary": "资金流水查询(历史)",
  5320. "parameters": [
  5321. {
  5322. "type": "integer",
  5323. "description": "页码",
  5324. "name": "page",
  5325. "in": "query"
  5326. },
  5327. {
  5328. "type": "integer",
  5329. "description": "每页条数",
  5330. "name": "pagesize",
  5331. "in": "query"
  5332. },
  5333. {
  5334. "type": "string",
  5335. "description": "资金账户 - 格式:1,2,3",
  5336. "name": "accountID",
  5337. "in": "query",
  5338. "required": true
  5339. },
  5340. {
  5341. "type": "string",
  5342. "description": "资金操作类型 - 格式:1,2,3",
  5343. "name": "OperateType",
  5344. "in": "query"
  5345. },
  5346. {
  5347. "type": "string",
  5348. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5349. "name": "startDate",
  5350. "in": "query"
  5351. },
  5352. {
  5353. "type": "string",
  5354. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5355. "name": "endDate",
  5356. "in": "query"
  5357. }
  5358. ],
  5359. "responses": {
  5360. "200": {
  5361. "description": "OK",
  5362. "schema": {
  5363. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5364. }
  5365. },
  5366. "500": {
  5367. "description": "Internal Server Error",
  5368. "schema": {
  5369. "$ref": "#/definitions/app.Response"
  5370. }
  5371. }
  5372. }
  5373. }
  5374. },
  5375. "/Trade/QueryRecieptOrder": {
  5376. "get": {
  5377. "security": [
  5378. {
  5379. "ApiKeyAuth": []
  5380. }
  5381. ],
  5382. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "通用交易"
  5388. ],
  5389. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "integer",
  5405. "description": "商品ID",
  5406. "name": "goodsID",
  5407. "in": "query",
  5408. "required": true
  5409. },
  5410. {
  5411. "type": "string",
  5412. "description": "所属账户名称",
  5413. "name": "accountName",
  5414. "in": "query"
  5415. },
  5416. {
  5417. "type": "integer",
  5418. "description": "市场ID",
  5419. "name": "marketID",
  5420. "in": "query"
  5421. },
  5422. {
  5423. "type": "integer",
  5424. "description": "方向 - 0:买 1:卖",
  5425. "name": "buyorsell",
  5426. "in": "query",
  5427. "required": true
  5428. }
  5429. ],
  5430. "responses": {
  5431. "200": {
  5432. "description": "OK",
  5433. "schema": {
  5434. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/User/AddMessageBoard": {
  5447. "post": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "用户信息"
  5458. ],
  5459. "summary": "添加用户留言板信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userID",
  5465. "in": "query",
  5466. "required": true
  5467. },
  5468. {
  5469. "type": "string",
  5470. "description": "留言信息",
  5471. "name": "message",
  5472. "in": "query",
  5473. "required": true
  5474. }
  5475. ],
  5476. "responses": {
  5477. "200": {
  5478. "description": "OK",
  5479. "schema": {
  5480. "$ref": "#/definitions/app.Response"
  5481. }
  5482. },
  5483. "500": {
  5484. "description": "Internal Server Error",
  5485. "schema": {
  5486. "$ref": "#/definitions/app.Response"
  5487. }
  5488. }
  5489. }
  5490. }
  5491. },
  5492. "/User/AddUserFavoriteGoods": {
  5493. "post": {
  5494. "security": [
  5495. {
  5496. "ApiKeyAuth": []
  5497. }
  5498. ],
  5499. "produces": [
  5500. "application/json"
  5501. ],
  5502. "tags": [
  5503. "用户信息"
  5504. ],
  5505. "summary": "添加用户商品收藏信息",
  5506. "parameters": [
  5507. {
  5508. "type": "integer",
  5509. "description": "用户ID",
  5510. "name": "userID",
  5511. "in": "query",
  5512. "required": true
  5513. },
  5514. {
  5515. "type": "integer",
  5516. "description": "商品ID",
  5517. "name": "goodsID",
  5518. "in": "query",
  5519. "required": true
  5520. }
  5521. ],
  5522. "responses": {
  5523. "200": {
  5524. "description": "OK",
  5525. "schema": {
  5526. "$ref": "#/definitions/app.Response"
  5527. }
  5528. },
  5529. "500": {
  5530. "description": "Internal Server Error",
  5531. "schema": {
  5532. "$ref": "#/definitions/app.Response"
  5533. }
  5534. }
  5535. }
  5536. }
  5537. },
  5538. "/User/GetLoginID": {
  5539. "get": {
  5540. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "用户信息"
  5546. ],
  5547. "summary": "获取登录ID",
  5548. "parameters": [
  5549. {
  5550. "type": "string",
  5551. "description": "登录代码",
  5552. "name": "username",
  5553. "in": "query",
  5554. "required": true
  5555. }
  5556. ],
  5557. "responses": {
  5558. "200": {
  5559. "description": "OK",
  5560. "schema": {
  5561. "$ref": "#/definitions/app.Response"
  5562. }
  5563. },
  5564. "500": {
  5565. "description": "Internal Server Error",
  5566. "schema": {
  5567. "$ref": "#/definitions/app.Response"
  5568. }
  5569. }
  5570. }
  5571. }
  5572. },
  5573. "/User/GetUserAccount": {
  5574. "get": {
  5575. "security": [
  5576. {
  5577. "ApiKeyAuth": []
  5578. }
  5579. ],
  5580. "produces": [
  5581. "application/json"
  5582. ],
  5583. "tags": [
  5584. "用户信息"
  5585. ],
  5586. "summary": "获取用户账号信息",
  5587. "parameters": [
  5588. {
  5589. "type": "integer",
  5590. "description": "用户ID",
  5591. "name": "userID",
  5592. "in": "query",
  5593. "required": true
  5594. }
  5595. ],
  5596. "responses": {
  5597. "200": {
  5598. "description": "OK",
  5599. "schema": {
  5600. "$ref": "#/definitions/models.Useraccount"
  5601. }
  5602. },
  5603. "500": {
  5604. "description": "Internal Server Error",
  5605. "schema": {
  5606. "$ref": "#/definitions/app.Response"
  5607. }
  5608. }
  5609. }
  5610. }
  5611. },
  5612. "/User/GetUserAuthStatus": {
  5613. "get": {
  5614. "security": [
  5615. {
  5616. "ApiKeyAuth": []
  5617. }
  5618. ],
  5619. "produces": [
  5620. "application/json"
  5621. ],
  5622. "tags": [
  5623. "用户信息"
  5624. ],
  5625. "summary": "获取用户实名认证状态",
  5626. "parameters": [
  5627. {
  5628. "type": "integer",
  5629. "description": "用户ID",
  5630. "name": "userID",
  5631. "in": "query",
  5632. "required": true
  5633. }
  5634. ],
  5635. "responses": {
  5636. "200": {
  5637. "description": "OK",
  5638. "schema": {
  5639. "$ref": "#/definitions/app.Response"
  5640. }
  5641. },
  5642. "500": {
  5643. "description": "Internal Server Error",
  5644. "schema": {
  5645. "$ref": "#/definitions/app.Response"
  5646. }
  5647. }
  5648. }
  5649. }
  5650. },
  5651. "/User/QueryMessageBoard": {
  5652. "get": {
  5653. "security": [
  5654. {
  5655. "ApiKeyAuth": []
  5656. }
  5657. ],
  5658. "produces": [
  5659. "application/json"
  5660. ],
  5661. "tags": [
  5662. "用户信息"
  5663. ],
  5664. "summary": "获取用户留言板信息",
  5665. "parameters": [
  5666. {
  5667. "type": "integer",
  5668. "description": "用户ID",
  5669. "name": "userID",
  5670. "in": "query",
  5671. "required": true
  5672. }
  5673. ],
  5674. "responses": {
  5675. "200": {
  5676. "description": "OK",
  5677. "schema": {
  5678. "$ref": "#/definitions/models.Messageboard"
  5679. }
  5680. },
  5681. "500": {
  5682. "description": "Internal Server Error",
  5683. "schema": {
  5684. "$ref": "#/definitions/app.Response"
  5685. }
  5686. }
  5687. }
  5688. }
  5689. },
  5690. "/User/QueryUserFavoriteGoodses": {
  5691. "get": {
  5692. "security": [
  5693. {
  5694. "ApiKeyAuth": []
  5695. }
  5696. ],
  5697. "produces": [
  5698. "application/json"
  5699. ],
  5700. "tags": [
  5701. "用户信息"
  5702. ],
  5703. "summary": "获取用户商品收藏信息",
  5704. "parameters": [
  5705. {
  5706. "type": "integer",
  5707. "description": "用户ID",
  5708. "name": "userID",
  5709. "in": "query",
  5710. "required": true
  5711. }
  5712. ],
  5713. "responses": {
  5714. "200": {
  5715. "description": "OK",
  5716. "schema": {
  5717. "$ref": "#/definitions/models.Userfavoritegoods"
  5718. }
  5719. },
  5720. "500": {
  5721. "description": "Internal Server Error",
  5722. "schema": {
  5723. "$ref": "#/definitions/app.Response"
  5724. }
  5725. }
  5726. }
  5727. }
  5728. },
  5729. "/User/QueryUserInfo": {
  5730. "get": {
  5731. "security": [
  5732. {
  5733. "ApiKeyAuth": []
  5734. }
  5735. ],
  5736. "produces": [
  5737. "application/json"
  5738. ],
  5739. "tags": [
  5740. "用户信息"
  5741. ],
  5742. "summary": "获取用户信息",
  5743. "parameters": [
  5744. {
  5745. "type": "integer",
  5746. "description": "用户ID",
  5747. "name": "userID",
  5748. "in": "query",
  5749. "required": true
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/models.Userinfo"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/User/QueryUserReferNum": {
  5769. "get": {
  5770. "produces": [
  5771. "application/json"
  5772. ],
  5773. "tags": [
  5774. "用户信息"
  5775. ],
  5776. "summary": "获取用户邀请码",
  5777. "parameters": [
  5778. {
  5779. "type": "integer",
  5780. "description": "用户ID",
  5781. "name": "userID",
  5782. "in": "query",
  5783. "required": true
  5784. }
  5785. ],
  5786. "responses": {
  5787. "200": {
  5788. "description": "OK",
  5789. "schema": {
  5790. "$ref": "#/definitions/app.Response"
  5791. }
  5792. },
  5793. "500": {
  5794. "description": "Internal Server Error",
  5795. "schema": {
  5796. "$ref": "#/definitions/app.Response"
  5797. }
  5798. }
  5799. }
  5800. }
  5801. },
  5802. "/User/RemoveUserFavoriteGoods": {
  5803. "post": {
  5804. "security": [
  5805. {
  5806. "ApiKeyAuth": []
  5807. }
  5808. ],
  5809. "produces": [
  5810. "application/json"
  5811. ],
  5812. "tags": [
  5813. "用户信息"
  5814. ],
  5815. "summary": "移除用户商品收藏信息",
  5816. "parameters": [
  5817. {
  5818. "type": "integer",
  5819. "description": "用户ID",
  5820. "name": "userID",
  5821. "in": "query",
  5822. "required": true
  5823. },
  5824. {
  5825. "type": "integer",
  5826. "description": "商品ID",
  5827. "name": "goodsID",
  5828. "in": "query",
  5829. "required": true
  5830. }
  5831. ],
  5832. "responses": {
  5833. "200": {
  5834. "description": "OK",
  5835. "schema": {
  5836. "$ref": "#/definitions/app.Response"
  5837. }
  5838. },
  5839. "500": {
  5840. "description": "Internal Server Error",
  5841. "schema": {
  5842. "$ref": "#/definitions/app.Response"
  5843. }
  5844. }
  5845. }
  5846. }
  5847. },
  5848. "/User/UpdateUserAccountStatus": {
  5849. "post": {
  5850. "security": [
  5851. {
  5852. "ApiKeyAuth": []
  5853. }
  5854. ],
  5855. "produces": [
  5856. "application/json"
  5857. ],
  5858. "tags": [
  5859. "用户信息"
  5860. ],
  5861. "summary": "更新用户状态",
  5862. "parameters": [
  5863. {
  5864. "type": "integer",
  5865. "description": "用户ID",
  5866. "name": "userID",
  5867. "in": "query",
  5868. "required": true
  5869. },
  5870. {
  5871. "type": "integer",
  5872. "description": "账户状态 - 4:正常 6:注销(停用)",
  5873. "name": "accountStatus",
  5874. "in": "query",
  5875. "required": true
  5876. }
  5877. ],
  5878. "responses": {
  5879. "200": {
  5880. "description": "OK",
  5881. "schema": {
  5882. "$ref": "#/definitions/app.Response"
  5883. }
  5884. },
  5885. "500": {
  5886. "description": "Internal Server Error",
  5887. "schema": {
  5888. "$ref": "#/definitions/app.Response"
  5889. }
  5890. }
  5891. }
  5892. }
  5893. },
  5894. "/WR/GetWRCategoryInfo": {
  5895. "get": {
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "仓单服务"
  5901. ],
  5902. "summary": "获取现货分类信息",
  5903. "responses": {
  5904. "200": {
  5905. "description": "OK",
  5906. "schema": {
  5907. "$ref": "#/definitions/models.WRCategoryTree"
  5908. }
  5909. },
  5910. "500": {
  5911. "description": "Internal Server Error",
  5912. "schema": {
  5913. "$ref": "#/definitions/app.Response"
  5914. }
  5915. }
  5916. }
  5917. }
  5918. },
  5919. "/WRTrade/GetAllDeliveryGoods": {
  5920. "get": {
  5921. "security": [
  5922. {
  5923. "ApiKeyAuth": []
  5924. },
  5925. {
  5926. "ApiKeyAuth": []
  5927. }
  5928. ],
  5929. "produces": [
  5930. "application/json",
  5931. "application/json"
  5932. ],
  5933. "tags": [
  5934. "仓单贸易",
  5935. "仓单贸易"
  5936. ],
  5937. "summary": "获取带仓单分类的种类信息",
  5938. "responses": {
  5939. "200": {
  5940. "description": "OK",
  5941. "schema": {
  5942. "$ref": "#/definitions/app.Response"
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. }
  5954. },
  5955. "definitions": {
  5956. "app.Response": {
  5957. "type": "object",
  5958. "properties": {
  5959. "code": {
  5960. "type": "integer"
  5961. },
  5962. "data": {
  5963. "type": "object"
  5964. },
  5965. "msg": {
  5966. "type": "string"
  5967. },
  5968. "page": {
  5969. "description": "页码",
  5970. "type": "integer"
  5971. },
  5972. "pagesize": {
  5973. "description": "每页条数",
  5974. "type": "integer"
  5975. },
  5976. "total": {
  5977. "description": "总条数",
  5978. "type": "integer"
  5979. }
  5980. }
  5981. },
  5982. "common.QueryNoticeRsp": {
  5983. "type": "object",
  5984. "required": [
  5985. "autoid"
  5986. ],
  5987. "properties": {
  5988. "auditoruserid": {
  5989. "description": "审核人",
  5990. "type": "integer"
  5991. },
  5992. "auditremark": {
  5993. "description": "审核备注",
  5994. "type": "string"
  5995. },
  5996. "audittime": {
  5997. "description": "审核日期",
  5998. "type": "string"
  5999. },
  6000. "autoid": {
  6001. "description": "自增ID",
  6002. "type": "integer"
  6003. },
  6004. "content": {
  6005. "description": "内容",
  6006. "type": "string"
  6007. },
  6008. "createtime": {
  6009. "description": "创建时间",
  6010. "type": "string"
  6011. },
  6012. "creatorid": {
  6013. "description": "建仓人",
  6014. "type": "integer"
  6015. },
  6016. "endtime": {
  6017. "description": "结束时间",
  6018. "type": "string"
  6019. },
  6020. "istop": {
  6021. "description": "是否置顶 - 0:不置顶 1:置顶",
  6022. "type": "integer"
  6023. },
  6024. "msgiconurl": {
  6025. "description": "消息图标Url",
  6026. "type": "string"
  6027. },
  6028. "msgtype": {
  6029. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6030. "type": "integer"
  6031. },
  6032. "publisher": {
  6033. "description": "消息发布者",
  6034. "type": "string"
  6035. },
  6036. "readed": {
  6037. "description": "是否已读",
  6038. "type": "boolean"
  6039. },
  6040. "scheduletime": {
  6041. "description": "计划发送时间",
  6042. "type": "string"
  6043. },
  6044. "sendtype": {
  6045. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6046. "type": "integer"
  6047. },
  6048. "sentstatus": {
  6049. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6050. "type": "integer"
  6051. },
  6052. "title": {
  6053. "description": "标题",
  6054. "type": "string"
  6055. },
  6056. "userid": {
  6057. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6058. "type": "integer"
  6059. }
  6060. }
  6061. },
  6062. "common.QueryProvincesAndCitiesRsp": {
  6063. "type": "object",
  6064. "properties": {
  6065. "cities": {
  6066. "description": "市",
  6067. "type": "array",
  6068. "items": {
  6069. "$ref": "#/definitions/models.Division"
  6070. }
  6071. },
  6072. "province": {
  6073. "description": "省",
  6074. "$ref": "#/definitions/models.Division"
  6075. }
  6076. }
  6077. },
  6078. "common.QueryTableDefineRsp": {
  6079. "type": "object",
  6080. "required": [
  6081. "tablekey"
  6082. ],
  6083. "properties": {
  6084. "columns": {
  6085. "description": "列头信息数组",
  6086. "type": "array",
  6087. "items": {
  6088. "$ref": "#/definitions/models.Tablecolumnconfig"
  6089. }
  6090. },
  6091. "remark": {
  6092. "description": "Remark",
  6093. "type": "string"
  6094. },
  6095. "tabelmenu": {
  6096. "description": "列表菜单",
  6097. "type": "string"
  6098. },
  6099. "tablekey": {
  6100. "description": "列表Key",
  6101. "type": "string"
  6102. },
  6103. "tablename": {
  6104. "description": "列表名称",
  6105. "type": "string"
  6106. },
  6107. "tabletype": {
  6108. "description": "列表类型 - 1:管理端 2:终端",
  6109. "type": "integer"
  6110. }
  6111. }
  6112. },
  6113. "common.QueryTraderMenuRsp": {
  6114. "type": "object",
  6115. "properties": {
  6116. "OperationMenu": {
  6117. "description": "功能菜单",
  6118. "type": "array",
  6119. "items": {
  6120. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6121. }
  6122. },
  6123. "QuoteMenu": {
  6124. "description": "报价牌分类菜单",
  6125. "type": "array",
  6126. "items": {
  6127. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6128. }
  6129. }
  6130. }
  6131. },
  6132. "cptrade.Cptradepositioncancel": {
  6133. "type": "object",
  6134. "required": [
  6135. "cancelid"
  6136. ],
  6137. "properties": {
  6138. "accountid": {
  6139. "description": "申请人账户ID",
  6140. "type": "integer"
  6141. },
  6142. "applystatus": {
  6143. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6144. "type": "integer"
  6145. },
  6146. "applytime": {
  6147. "description": "申请时间",
  6148. "type": "string"
  6149. },
  6150. "cancelid": {
  6151. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6152. "type": "integer"
  6153. },
  6154. "cancelqty": {
  6155. "description": "注销数量",
  6156. "type": "integer"
  6157. },
  6158. "createtime": {
  6159. "description": "创建时间",
  6160. "type": "string"
  6161. },
  6162. "creatorid": {
  6163. "description": "创建人ID",
  6164. "type": "integer"
  6165. },
  6166. "creatorname": {
  6167. "description": "创建人",
  6168. "type": "string"
  6169. },
  6170. "goodscode": {
  6171. "description": "订单商品代码",
  6172. "type": "string"
  6173. },
  6174. "goodsid": {
  6175. "description": "商品ID",
  6176. "type": "integer"
  6177. },
  6178. "goodsname": {
  6179. "description": "订单商品名称",
  6180. "type": "string"
  6181. },
  6182. "goodunit": {
  6183. "description": "报价单位",
  6184. "type": "string"
  6185. },
  6186. "handlestatus": {
  6187. "description": "处理状态",
  6188. "type": "integer"
  6189. },
  6190. "marketid": {
  6191. "description": "市场ID",
  6192. "type": "integer"
  6193. },
  6194. "marketname": {
  6195. "description": "市场名称",
  6196. "type": "string"
  6197. },
  6198. "tradedate": {
  6199. "description": "交易日(yyyyMMdd)",
  6200. "type": "string"
  6201. },
  6202. "userid": {
  6203. "description": "申请人ID",
  6204. "type": "integer"
  6205. }
  6206. }
  6207. },
  6208. "cptrade.Cptradepresaleapply": {
  6209. "type": "object",
  6210. "required": [
  6211. "applyid"
  6212. ],
  6213. "properties": {
  6214. "accountid": {
  6215. "description": "申请人账户ID",
  6216. "type": "integer"
  6217. },
  6218. "applyid": {
  6219. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6220. "type": "integer"
  6221. },
  6222. "applyremark": {
  6223. "description": "申请备注",
  6224. "type": "string"
  6225. },
  6226. "applystatus": {
  6227. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6228. "type": "integer"
  6229. },
  6230. "applytime": {
  6231. "description": "申请时间",
  6232. "type": "string"
  6233. },
  6234. "attachmenturl": {
  6235. "description": "附件地址",
  6236. "type": "string"
  6237. },
  6238. "endtime": {
  6239. "description": "预售结束时间",
  6240. "type": "string"
  6241. },
  6242. "goodscode": {
  6243. "description": "商品代码",
  6244. "type": "string"
  6245. },
  6246. "goodsid": {
  6247. "description": "商品ID",
  6248. "type": "integer"
  6249. },
  6250. "goodsname": {
  6251. "description": "商品名称",
  6252. "type": "string"
  6253. },
  6254. "goodunit": {
  6255. "description": "报价单位",
  6256. "type": "string"
  6257. },
  6258. "handlestatus": {
  6259. "description": "处理状态",
  6260. "type": "integer"
  6261. },
  6262. "marketid": {
  6263. "description": "预售市场ID",
  6264. "type": "integer"
  6265. },
  6266. "marketname": {
  6267. "description": "预售市场名称",
  6268. "type": "string"
  6269. },
  6270. "presaleqty": {
  6271. "description": "预售数量",
  6272. "type": "integer"
  6273. },
  6274. "relatedgoodscode": {
  6275. "description": "关联交易合约代码",
  6276. "type": "string"
  6277. },
  6278. "relatedgoodsid": {
  6279. "description": "关联交易合约ID",
  6280. "type": "integer"
  6281. },
  6282. "relatedgoodsname": {
  6283. "description": "关联交易合约名称",
  6284. "type": "string"
  6285. },
  6286. "starttime": {
  6287. "description": "预售开始时间",
  6288. "type": "string"
  6289. },
  6290. "tradedate": {
  6291. "description": "交易日(yyyyMMdd)",
  6292. "type": "string"
  6293. },
  6294. "trademode": {
  6295. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6296. "type": "integer"
  6297. },
  6298. "userid": {
  6299. "description": "申请人ID",
  6300. "type": "integer"
  6301. }
  6302. }
  6303. },
  6304. "cptrade.Cptradeusergoodsdata": {
  6305. "type": "object",
  6306. "required": [
  6307. "accountid",
  6308. "goodsid"
  6309. ],
  6310. "properties": {
  6311. "EnabledQty": {
  6312. "description": "可用量",
  6313. "type": "integer"
  6314. },
  6315. "GoodsCode": {
  6316. "description": "订单商品代码",
  6317. "type": "string"
  6318. },
  6319. "GoodsName": {
  6320. "description": "订单商品名称",
  6321. "type": "string"
  6322. },
  6323. "WRStandardCode": {
  6324. "description": "仓单标准代码",
  6325. "type": "string"
  6326. },
  6327. "WRStandardName": {
  6328. "description": "仓单标准名称",
  6329. "type": "string"
  6330. },
  6331. "accountid": {
  6332. "description": "账户ID",
  6333. "type": "integer"
  6334. },
  6335. "cancelqty": {
  6336. "description": "注销量",
  6337. "type": "integer"
  6338. },
  6339. "curpresaleqty": {
  6340. "description": "当前预售量",
  6341. "type": "integer"
  6342. },
  6343. "deliveryqty": {
  6344. "description": "交割量",
  6345. "type": "integer"
  6346. },
  6347. "freezeamount": {
  6348. "description": "冻结金额",
  6349. "type": "number"
  6350. },
  6351. "goodsid": {
  6352. "description": "商品ID",
  6353. "type": "integer"
  6354. },
  6355. "goodunit": {
  6356. "description": "报价单位",
  6357. "type": "string"
  6358. },
  6359. "hasspotfreeze": {
  6360. "description": "是否有现货冻结 - 0:否 1:有",
  6361. "type": "integer"
  6362. },
  6363. "inqty": {
  6364. "description": "转入量(总数量)",
  6365. "type": "integer"
  6366. },
  6367. "marketid": {
  6368. "description": "市场ID",
  6369. "type": "integer"
  6370. },
  6371. "presaledamount": {
  6372. "description": "已预售总金额",
  6373. "type": "integer"
  6374. },
  6375. "presaledqty": {
  6376. "description": "已预售量",
  6377. "type": "integer"
  6378. },
  6379. "userid": {
  6380. "description": "用户ID",
  6381. "type": "integer"
  6382. },
  6383. "wrstandardid": {
  6384. "description": "仓单标准ID",
  6385. "type": "integer"
  6386. }
  6387. }
  6388. },
  6389. "cptrade.QueryCPTradeMyBidRsp": {
  6390. "type": "object",
  6391. "required": [
  6392. "accountid",
  6393. "goodsid",
  6394. "marketid",
  6395. "orderid",
  6396. "orderqty",
  6397. "ordertime",
  6398. "tradeprice",
  6399. "tradeqty"
  6400. ],
  6401. "properties": {
  6402. "accountid": {
  6403. "description": "账户ID[报价币种]",
  6404. "type": "integer"
  6405. },
  6406. "goodsid": {
  6407. "description": "商品ID",
  6408. "type": "integer"
  6409. },
  6410. "goodunit": {
  6411. "description": "报价单位",
  6412. "type": "string"
  6413. },
  6414. "marketid": {
  6415. "description": "市场ID",
  6416. "type": "integer"
  6417. },
  6418. "orderid": {
  6419. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6420. "type": "integer"
  6421. },
  6422. "orderprice": {
  6423. "description": "委托价格",
  6424. "type": "number"
  6425. },
  6426. "orderqty": {
  6427. "description": "委托数量",
  6428. "type": "integer"
  6429. },
  6430. "ordertime": {
  6431. "description": "委托时间",
  6432. "type": "string"
  6433. },
  6434. "ordertotalprice": {
  6435. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6436. "type": "number"
  6437. },
  6438. "ordertotalweight": {
  6439. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6440. "type": "integer"
  6441. },
  6442. "totaltotalprice": {
  6443. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6444. "type": "number"
  6445. },
  6446. "tradeprice": {
  6447. "description": "成交价格",
  6448. "type": "number"
  6449. },
  6450. "tradeqty": {
  6451. "description": "成交数量",
  6452. "type": "integer"
  6453. }
  6454. }
  6455. },
  6456. "cptrade.QueryCPTradeOrderDetailRsq": {
  6457. "type": "object",
  6458. "required": [
  6459. "accountid",
  6460. "buildtype",
  6461. "buyorsell",
  6462. "goodsid",
  6463. "marketid",
  6464. "memberuserid",
  6465. "operatetype",
  6466. "orderqty",
  6467. "ordertime",
  6468. "pricemode",
  6469. "strorderid",
  6470. "tradedate",
  6471. "validtype"
  6472. ],
  6473. "properties": {
  6474. "accountid": {
  6475. "description": "账户ID[报价币种]",
  6476. "type": "integer"
  6477. },
  6478. "buildtype": {
  6479. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6480. "type": "integer"
  6481. },
  6482. "buyorsell": {
  6483. "description": "买卖 - 0:买 1:卖",
  6484. "type": "integer"
  6485. },
  6486. "cancelorderid": {
  6487. "description": "撤单单号(撤单时填写)",
  6488. "type": "integer"
  6489. },
  6490. "cancelqty": {
  6491. "description": "撤单数量",
  6492. "type": "integer"
  6493. },
  6494. "clientordertime": {
  6495. "description": "客户端委托时间",
  6496. "type": "string"
  6497. },
  6498. "clientticket": {
  6499. "description": "客户端流水号",
  6500. "type": "string"
  6501. },
  6502. "clienttype": {
  6503. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6504. "type": "integer"
  6505. },
  6506. "closeexchagechargevalue": {
  6507. "description": "平仓交易所手续费设置值",
  6508. "type": "number"
  6509. },
  6510. "closefeealgorithm": {
  6511. "description": "平仓手续费收取方式 1:比率 2:固定",
  6512. "type": "integer"
  6513. },
  6514. "closefreezecharge": {
  6515. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6516. "type": "number"
  6517. },
  6518. "closememberchargevalue": {
  6519. "description": "平仓会员手续费设置值",
  6520. "type": "number"
  6521. },
  6522. "closeqty": {
  6523. "description": "平仓数量(先建后平操作 需要记录)",
  6524. "type": "integer"
  6525. },
  6526. "closetradeqty": {
  6527. "description": "平仓成交数量(先建后平操作,需要记录)",
  6528. "type": "integer"
  6529. },
  6530. "closeunfreezecharge": {
  6531. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6532. "type": "number"
  6533. },
  6534. "delistingtype": {
  6535. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6536. "type": "integer"
  6537. },
  6538. "freezecharge": {
  6539. "description": "冻结手续费",
  6540. "type": "number"
  6541. },
  6542. "freezemargin": {
  6543. "description": "冻结保证金(冻结交易金额)",
  6544. "type": "number"
  6545. },
  6546. "gcaccountid": {
  6547. "description": "账户ID[合约币种]",
  6548. "type": "integer"
  6549. },
  6550. "goodsid": {
  6551. "description": "商品ID",
  6552. "type": "integer"
  6553. },
  6554. "isconfirmexercise": {
  6555. "description": "是否确认行权- 0:否 1:是",
  6556. "type": "integer"
  6557. },
  6558. "ispreexercise": {
  6559. "description": "是否预申报- 0:否 1:是",
  6560. "type": "integer"
  6561. },
  6562. "listingselecttype": {
  6563. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6564. "type": "integer"
  6565. },
  6566. "marginalgorithm": {
  6567. "description": "保证金收取方式 1:比率 2:固定",
  6568. "type": "integer"
  6569. },
  6570. "marginvalue": {
  6571. "description": "即市保证金设置值",
  6572. "type": "number"
  6573. },
  6574. "marketid": {
  6575. "description": "市场ID",
  6576. "type": "integer"
  6577. },
  6578. "marketmaxsub": {
  6579. "description": "市价最大偏移范围",
  6580. "type": "number"
  6581. },
  6582. "memberuserid": {
  6583. "description": "所属会员UserID",
  6584. "type": "integer"
  6585. },
  6586. "openexchagechargevalue": {
  6587. "description": "建仓交易所手续费设置值",
  6588. "type": "number"
  6589. },
  6590. "openfeealgorithm": {
  6591. "description": "建仓手续费收取方式 1:比率 2:固定",
  6592. "type": "integer"
  6593. },
  6594. "openfreezecharge": {
  6595. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6596. "type": "number"
  6597. },
  6598. "openmemberchargevalue": {
  6599. "description": "建仓会员手续费设置值",
  6600. "type": "number"
  6601. },
  6602. "openqty": {
  6603. "description": "开仓数量(先建后平操作,需要记录)",
  6604. "type": "integer"
  6605. },
  6606. "opentradeqty": {
  6607. "description": "开仓成交数量(先建后平操作,需要记录)",
  6608. "type": "integer"
  6609. },
  6610. "openunfreezecharge": {
  6611. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6612. "type": "number"
  6613. },
  6614. "operatetype": {
  6615. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6616. "type": "integer"
  6617. },
  6618. "operatorid": {
  6619. "description": "登录账号(LoginID)",
  6620. "type": "integer"
  6621. },
  6622. "optiontype": {
  6623. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6624. "type": "integer"
  6625. },
  6626. "orderprice": {
  6627. "description": "委托价格",
  6628. "type": "number"
  6629. },
  6630. "orderqty": {
  6631. "description": "委托数量",
  6632. "type": "integer"
  6633. },
  6634. "ordersrc": {
  6635. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6636. "type": "integer"
  6637. },
  6638. "orderstatus": {
  6639. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6640. "type": "integer"
  6641. },
  6642. "ordertime": {
  6643. "description": "委托时间",
  6644. "type": "string"
  6645. },
  6646. "preexerciseprice": {
  6647. "description": "预申报价格",
  6648. "type": "number"
  6649. },
  6650. "premium": {
  6651. "description": "权利金",
  6652. "type": "number"
  6653. },
  6654. "preorderid": {
  6655. "description": "关联预埋单号(止盈止损单时填写)",
  6656. "type": "integer"
  6657. },
  6658. "pricemode": {
  6659. "description": "取价方式 - 1:市价 2: 限价",
  6660. "type": "integer"
  6661. },
  6662. "quoteid": {
  6663. "description": "报价单ID",
  6664. "type": "integer"
  6665. },
  6666. "relatedid": {
  6667. "description": "关联单号(交割单)",
  6668. "type": "integer"
  6669. },
  6670. "retcode": {
  6671. "description": "错误代码",
  6672. "type": "integer"
  6673. },
  6674. "sessionid": {
  6675. "description": "会话ID",
  6676. "type": "integer"
  6677. },
  6678. "strorderid": {
  6679. "description": "委托单号",
  6680. "type": "string"
  6681. },
  6682. "tradedate": {
  6683. "description": "交易日(yyyyMMdd)",
  6684. "type": "string"
  6685. },
  6686. "tradeproperty": {
  6687. "description": "交易属性",
  6688. "type": "integer"
  6689. },
  6690. "tradeqty": {
  6691. "description": "成交数量",
  6692. "type": "integer"
  6693. },
  6694. "unfreezecharge": {
  6695. "description": "解冻手续费",
  6696. "type": "number"
  6697. },
  6698. "unfreezemargin": {
  6699. "description": "解冻保证金",
  6700. "type": "number"
  6701. },
  6702. "updatetime": {
  6703. "description": "更新时间",
  6704. "type": "string"
  6705. },
  6706. "uuid": {
  6707. "description": "发起端唯一id",
  6708. "type": "string"
  6709. },
  6710. "validtime": {
  6711. "description": "有效期限",
  6712. "type": "string"
  6713. },
  6714. "validtype": {
  6715. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6716. "type": "integer"
  6717. },
  6718. "volumetype": {
  6719. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6720. "type": "integer"
  6721. }
  6722. }
  6723. },
  6724. "cptrade.QueryMyCPTradeGoodsRsp": {
  6725. "type": "object",
  6726. "required": [
  6727. "goodscode",
  6728. "goodsid",
  6729. "goodsname",
  6730. "marketid",
  6731. "relatedgoodscode",
  6732. "relatedgoodsname"
  6733. ],
  6734. "properties": {
  6735. "accountid": {
  6736. "description": "卖方账户ID",
  6737. "type": "integer"
  6738. },
  6739. "agreeunit": {
  6740. "description": "合约单位",
  6741. "type": "number"
  6742. },
  6743. "applyid": {
  6744. "description": "关联申请ID",
  6745. "type": "integer"
  6746. },
  6747. "attachmenturl": {
  6748. "description": "附件地址",
  6749. "type": "string"
  6750. },
  6751. "createtime": {
  6752. "description": "创建时间",
  6753. "type": "string"
  6754. },
  6755. "currencyid": {
  6756. "description": "报价货币ID",
  6757. "type": "integer"
  6758. },
  6759. "decimalplace": {
  6760. "description": "报价小数位",
  6761. "type": "integer"
  6762. },
  6763. "endtime": {
  6764. "description": "预售结束时间",
  6765. "type": "string"
  6766. },
  6767. "floorprice": {
  6768. "description": "底价[大宗式竞拍]",
  6769. "type": "number"
  6770. },
  6771. "goodscode": {
  6772. "description": "商品代码(预售)",
  6773. "type": "string"
  6774. },
  6775. "goodsdetail": {
  6776. "description": "详情[大宗]",
  6777. "type": "string"
  6778. },
  6779. "goodsid": {
  6780. "description": "商品ID(自增ID SEQ_GOODS)",
  6781. "type": "integer"
  6782. },
  6783. "goodsname": {
  6784. "description": "商品名称(预售)",
  6785. "type": "string"
  6786. },
  6787. "goodunit": {
  6788. "description": "报价单位",
  6789. "type": "string"
  6790. },
  6791. "goodunitid": {
  6792. "description": "报价单位ID",
  6793. "type": "integer"
  6794. },
  6795. "marketid": {
  6796. "description": "所属市场ID",
  6797. "type": "integer"
  6798. },
  6799. "marketname": {
  6800. "description": "预售市场名称",
  6801. "type": "string"
  6802. },
  6803. "presaledamount": {
  6804. "description": "已预售总金额(预售结束时更新)",
  6805. "type": "number"
  6806. },
  6807. "presaledqty": {
  6808. "description": "已预售量(预售结束时更新)",
  6809. "type": "integer"
  6810. },
  6811. "presalemode": {
  6812. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6813. "type": "integer"
  6814. },
  6815. "presaleqty": {
  6816. "description": "预售数量",
  6817. "type": "integer"
  6818. },
  6819. "refprice": {
  6820. "description": "参考价格[一口价]",
  6821. "type": "number"
  6822. },
  6823. "relatedgoodscode": {
  6824. "description": "商品代码(订单)",
  6825. "type": "string"
  6826. },
  6827. "relatedgoodsid": {
  6828. "description": "关联交易合约ID",
  6829. "type": "integer"
  6830. },
  6831. "relatedgoodsname": {
  6832. "description": "商品名称(订单)",
  6833. "type": "string"
  6834. },
  6835. "relatedmarketid": {
  6836. "description": "关联交易合约市场ID",
  6837. "type": "integer"
  6838. },
  6839. "sellstatus": {
  6840. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6841. "type": "integer"
  6842. },
  6843. "startprice": {
  6844. "description": "起拍价[大宗式竞拍]",
  6845. "type": "number"
  6846. },
  6847. "starttime": {
  6848. "description": "预售开始时间",
  6849. "type": "string"
  6850. },
  6851. "tradedate": {
  6852. "description": "交易日(yyyyMMdd)",
  6853. "type": "string"
  6854. },
  6855. "tradeprice": {
  6856. "description": "成交价[大宗]",
  6857. "type": "number"
  6858. },
  6859. "userid": {
  6860. "description": "卖方用户ID",
  6861. "type": "integer"
  6862. }
  6863. }
  6864. },
  6865. "cptrade.QueryPresaleGoodsExRsp": {
  6866. "type": "object",
  6867. "required": [
  6868. "goodsid"
  6869. ],
  6870. "properties": {
  6871. "attachmenturl": {
  6872. "description": "附件地址",
  6873. "type": "string"
  6874. },
  6875. "createtime": {
  6876. "description": "创建时间",
  6877. "type": "string"
  6878. },
  6879. "endtime": {
  6880. "description": "预售结束时间",
  6881. "type": "string"
  6882. },
  6883. "floorprice": {
  6884. "description": "底价[大宗式竞拍]",
  6885. "type": "number"
  6886. },
  6887. "goodsdetail": {
  6888. "description": "详情[大宗]",
  6889. "type": "string"
  6890. },
  6891. "goodsid": {
  6892. "description": "商品ID(预售)",
  6893. "type": "integer"
  6894. },
  6895. "goodunit": {
  6896. "description": "报价单位",
  6897. "type": "string"
  6898. },
  6899. "marketid": {
  6900. "description": "预售市场ID - 根据预售模式选择市场",
  6901. "type": "integer"
  6902. },
  6903. "presaledamount": {
  6904. "description": "已预售总金额(预售结束时更新)",
  6905. "type": "number"
  6906. },
  6907. "presaledqty": {
  6908. "description": "已预售量(预售结束时更新)",
  6909. "type": "integer"
  6910. },
  6911. "presalemode": {
  6912. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6913. "type": "integer"
  6914. },
  6915. "presaleqty": {
  6916. "description": "预售数量",
  6917. "type": "integer"
  6918. },
  6919. "refprice": {
  6920. "description": "参考价格[一口价]",
  6921. "type": "number"
  6922. },
  6923. "relatedgoodsid": {
  6924. "description": "关联交易合约ID",
  6925. "type": "integer"
  6926. },
  6927. "relatedmarketid": {
  6928. "description": "关联交易合约市场ID",
  6929. "type": "integer"
  6930. },
  6931. "sellstatus": {
  6932. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6933. "type": "integer"
  6934. },
  6935. "startprice": {
  6936. "description": "起拍价[大宗式竞拍]",
  6937. "type": "number"
  6938. },
  6939. "starttime": {
  6940. "description": "预售开始时间",
  6941. "type": "string"
  6942. },
  6943. "tradedate": {
  6944. "description": "交易日(yyyyMMdd)",
  6945. "type": "string"
  6946. },
  6947. "tradeprice": {
  6948. "description": "成交价[大宗]",
  6949. "type": "number"
  6950. }
  6951. }
  6952. },
  6953. "delivery.QueryDeliveryRelationRsp": {
  6954. "type": "object",
  6955. "required": [
  6956. "begindate",
  6957. "enddate",
  6958. "goodsid",
  6959. "mindeliveryqty",
  6960. "xdeliveryratio"
  6961. ],
  6962. "properties": {
  6963. "begindate": {
  6964. "description": "起始日期(yyyyMMdd)",
  6965. "type": "string"
  6966. },
  6967. "buytemplateid": {
  6968. "description": "买履约计划模板ID",
  6969. "type": "integer"
  6970. },
  6971. "deliverygoodscode": {
  6972. "description": "品种代码",
  6973. "type": "string"
  6974. },
  6975. "deliverygoodsid": {
  6976. "description": "交割商品",
  6977. "type": "integer"
  6978. },
  6979. "deliverygoodsname": {
  6980. "description": "品种名称",
  6981. "type": "string"
  6982. },
  6983. "deliverymode": {
  6984. "description": "交割方式 - 1:点选式 2:申报式",
  6985. "type": "integer"
  6986. },
  6987. "deliverypricerule": {
  6988. "description": "交割价规则- 1:行情价 2:建仓价",
  6989. "type": "integer"
  6990. },
  6991. "deliverytype": {
  6992. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6993. "type": "integer"
  6994. },
  6995. "enddate": {
  6996. "description": "结束日期(yyyyMMdd)",
  6997. "type": "string"
  6998. },
  6999. "goodscode": {
  7000. "description": "商品代码",
  7001. "type": "string"
  7002. },
  7003. "goodsid": {
  7004. "description": "交易合约ID",
  7005. "type": "integer"
  7006. },
  7007. "goodsname": {
  7008. "description": "商品名称",
  7009. "type": "string"
  7010. },
  7011. "marketid": {
  7012. "description": "市场ID",
  7013. "type": "integer"
  7014. },
  7015. "mindeliveryqty": {
  7016. "description": "最小交割系数(K)",
  7017. "type": "integer"
  7018. },
  7019. "p2deliveryprice": {
  7020. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7021. "type": "number"
  7022. },
  7023. "p2deliveryratio": {
  7024. "description": "P2合约系数(p)",
  7025. "type": "integer"
  7026. },
  7027. "p2goodsid": {
  7028. "description": "P2合约ID",
  7029. "type": "integer"
  7030. },
  7031. "p2pricemode": {
  7032. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7033. "type": "integer"
  7034. },
  7035. "pdeliveryprice": {
  7036. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7037. "type": "number"
  7038. },
  7039. "pdeliveryratio": {
  7040. "description": "P合约系数(n)",
  7041. "type": "integer"
  7042. },
  7043. "pgoodsid": {
  7044. "description": "P合约ID",
  7045. "type": "integer"
  7046. },
  7047. "ppricemode": {
  7048. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7049. "type": "integer"
  7050. },
  7051. "rratio": {
  7052. "description": "兑换系数(R)",
  7053. "type": "integer"
  7054. },
  7055. "rratio1": {
  7056. "description": "兑换系数(交易合约)(R1)",
  7057. "type": "integer"
  7058. },
  7059. "rratio2": {
  7060. "description": "兑换系数(仓单标准)(R2)",
  7061. "type": "integer"
  7062. },
  7063. "selltemplateid": {
  7064. "description": "卖履约计划模板ID",
  7065. "type": "integer"
  7066. },
  7067. "wrstandardid": {
  7068. "description": "仓单标准ID",
  7069. "type": "integer"
  7070. },
  7071. "xdeliveryratio": {
  7072. "description": "交易合约系数(m)",
  7073. "type": "integer"
  7074. }
  7075. }
  7076. },
  7077. "ermcp.ExposureDetailRsp": {
  7078. "type": "object",
  7079. "properties": {
  7080. "areauserid": {
  7081. "description": "机构ID",
  7082. "type": "integer"
  7083. },
  7084. "changeQty": {
  7085. "description": "套保变动量",
  7086. "type": "number"
  7087. },
  7088. "contracttype": {
  7089. "description": "现货合同类型 - 1:采购 -1:销售",
  7090. "type": "integer"
  7091. },
  7092. "convertfactor": {
  7093. "description": "标仓系数",
  7094. "type": "number"
  7095. },
  7096. "convertratio": {
  7097. "description": "套保系数",
  7098. "type": "number"
  7099. },
  7100. "createtime": {
  7101. "description": "时间",
  7102. "type": "string"
  7103. },
  7104. "enumdicname": {
  7105. "description": "现货商品单位名称",
  7106. "type": "string"
  7107. },
  7108. "logtype": {
  7109. "description": "类型 - 1:套保计划 2:现货合同",
  7110. "type": "integer"
  7111. },
  7112. "middlegoodsId": {
  7113. "description": "套保商品id",
  7114. "type": "integer"
  7115. },
  7116. "middlegoodscode": {
  7117. "description": "套保商品代码",
  7118. "type": "string"
  7119. },
  7120. "middlegoodsname": {
  7121. "description": "套保商品名称",
  7122. "type": "string"
  7123. },
  7124. "qty": {
  7125. "description": "数量",
  7126. "type": "number"
  7127. },
  7128. "relateNo": {
  7129. "description": "现货合同/套保计划编号",
  7130. "type": "string"
  7131. },
  7132. "wrstandardcode": {
  7133. "description": "现货商品代码",
  7134. "type": "string"
  7135. },
  7136. "wrstandardid": {
  7137. "description": "现货商品ID",
  7138. "type": "integer"
  7139. },
  7140. "wrstandardname": {
  7141. "description": "现货商品名称",
  7142. "type": "string"
  7143. }
  7144. }
  7145. },
  7146. "ermcp.ExposureHedgePosDetailRsp": {
  7147. "type": "object",
  7148. "properties": {
  7149. "buyorsell": {
  7150. "description": "买卖方向 0-买 1-卖",
  7151. "type": "integer"
  7152. },
  7153. "channelbuildtype": {
  7154. "description": "开平方向 1-建仓 2-平仓",
  7155. "type": "integer"
  7156. },
  7157. "goodscode": {
  7158. "description": "商品代码",
  7159. "type": "string"
  7160. },
  7161. "goodsname": {
  7162. "description": "商品名称",
  7163. "type": "string"
  7164. },
  7165. "hedgegoodsid": {
  7166. "description": "商品id",
  7167. "type": "integer"
  7168. },
  7169. "tradeqty": {
  7170. "description": "数量(成交数量)",
  7171. "type": "integer"
  7172. },
  7173. "tradetime": {
  7174. "description": "时间(成交时间)",
  7175. "type": "string"
  7176. }
  7177. }
  7178. },
  7179. "ermcp.ExposureHedgePositionRsp": {
  7180. "type": "object",
  7181. "properties": {
  7182. "accountid": {
  7183. "description": "资金账号[外部母账户]",
  7184. "type": "integer"
  7185. },
  7186. "curbuyposition": {
  7187. "description": "期末买头寸",
  7188. "type": "integer"
  7189. },
  7190. "cursellposition": {
  7191. "description": "期末卖头寸",
  7192. "type": "integer"
  7193. },
  7194. "curtdbuyposition": {
  7195. "description": "期末今日买头寸",
  7196. "type": "integer"
  7197. },
  7198. "curtdsellposition": {
  7199. "description": "期末今日卖头寸",
  7200. "type": "integer"
  7201. },
  7202. "curydbuyposition": {
  7203. "description": "期末上日买头寸",
  7204. "type": "integer"
  7205. },
  7206. "curydsellposition": {
  7207. "description": "期末上日卖头寸",
  7208. "type": "integer"
  7209. },
  7210. "decreaseqty": {
  7211. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7212. "type": "integer"
  7213. },
  7214. "fretdbuyposition": {
  7215. "description": "冻结今日买头寸",
  7216. "type": "integer"
  7217. },
  7218. "fretdsellposition": {
  7219. "description": "冻结今日卖头寸",
  7220. "type": "integer"
  7221. },
  7222. "freydbuyposition": {
  7223. "description": "冻结上日买头寸",
  7224. "type": "integer"
  7225. },
  7226. "freydsellposition": {
  7227. "description": "冻结上日卖头寸",
  7228. "type": "integer"
  7229. },
  7230. "goodscode": {
  7231. "description": "商品代码",
  7232. "type": "string"
  7233. },
  7234. "goodsid": {
  7235. "description": "商品id",
  7236. "type": "integer"
  7237. },
  7238. "goodsname": {
  7239. "description": "商品名称",
  7240. "type": "string"
  7241. },
  7242. "hedgeaccountcode": {
  7243. "description": "对冲账号",
  7244. "type": "string"
  7245. },
  7246. "hedgegoodsid": {
  7247. "description": "对冲合约ID",
  7248. "type": "integer"
  7249. },
  7250. "increaseqty": {
  7251. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7252. "type": "integer"
  7253. },
  7254. "marketid": {
  7255. "description": "市场ID",
  7256. "type": "integer"
  7257. },
  7258. "relateduserid": {
  7259. "description": "关联用户id",
  7260. "type": "integer"
  7261. },
  7262. "totalcurqty": {
  7263. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7264. "type": "integer"
  7265. },
  7266. "totalydqty": {
  7267. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7268. "type": "integer"
  7269. },
  7270. "tradedate": {
  7271. "description": "交易日(yyyyMMdd)",
  7272. "type": "string"
  7273. },
  7274. "ydbuyposition": {
  7275. "description": "期初买头寸",
  7276. "type": "integer"
  7277. },
  7278. "ydsellposition": {
  7279. "description": "期初卖头寸",
  7280. "type": "integer"
  7281. }
  7282. }
  7283. },
  7284. "ermcp.ExposureSpotDetailRsp": {
  7285. "type": "object",
  7286. "properties": {
  7287. "contracttype": {
  7288. "description": "合同类型 1-采购 -1-销售",
  7289. "type": "integer"
  7290. },
  7291. "createtime": {
  7292. "description": "创建时间",
  7293. "type": "string"
  7294. },
  7295. "enumdicname": {
  7296. "description": "现货商品单位名称",
  7297. "type": "string"
  7298. },
  7299. "logtype": {
  7300. "description": "记录类型 1-套保 2-现货合同",
  7301. "type": "integer"
  7302. },
  7303. "qty": {
  7304. "description": "数量",
  7305. "type": "number"
  7306. },
  7307. "recordname": {
  7308. "description": "类型名称",
  7309. "type": "string"
  7310. },
  7311. "relatedid": {
  7312. "description": "套保计划ID/现货合同ID",
  7313. "type": "string"
  7314. },
  7315. "relatedno": {
  7316. "description": "编号",
  7317. "type": "string"
  7318. },
  7319. "strtime": {
  7320. "description": "时间",
  7321. "type": "string"
  7322. },
  7323. "wrstandardcode": {
  7324. "description": "现货商品代码",
  7325. "type": "string"
  7326. },
  7327. "wrstandardname": {
  7328. "description": "现货商品名称",
  7329. "type": "string"
  7330. }
  7331. }
  7332. },
  7333. "ermcp.ExposureSpotRsp": {
  7334. "type": "object",
  7335. "properties": {
  7336. "areauserid": {
  7337. "description": "所属机构",
  7338. "type": "integer"
  7339. },
  7340. "decreaseqty": {
  7341. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7342. "type": "number"
  7343. },
  7344. "increaseqty": {
  7345. "description": "增加数量=销售计划数量+采购已定价数量",
  7346. "type": "number"
  7347. },
  7348. "oritoalspotqty": {
  7349. "description": "昨日数量",
  7350. "type": "number"
  7351. },
  7352. "totalspotqty": {
  7353. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7354. "type": "number"
  7355. },
  7356. "updatetime": {
  7357. "description": "更新时间",
  7358. "type": "string"
  7359. },
  7360. "wrstandardcode": {
  7361. "description": "现货品种代码",
  7362. "type": "string"
  7363. },
  7364. "wrstandardid": {
  7365. "description": "现货商品ID",
  7366. "type": "integer"
  7367. },
  7368. "wrstandardname": {
  7369. "description": "现货品种",
  7370. "type": "string"
  7371. }
  7372. }
  7373. },
  7374. "ermcp.HisExposureRsp": {
  7375. "type": "object",
  7376. "properties": {
  7377. "data": {
  7378. "description": "历史敞口",
  7379. "type": "array",
  7380. "items": {
  7381. "$ref": "#/definitions/models.ErmcpHisExposure"
  7382. }
  7383. },
  7384. "enumdicname": {
  7385. "description": "单位名称",
  7386. "type": "string"
  7387. },
  7388. "middlegoodscode": {
  7389. "description": "套保品种代码",
  7390. "type": "string"
  7391. },
  7392. "middlegoodsid": {
  7393. "description": "套保品种ID",
  7394. "type": "integer"
  7395. },
  7396. "middlegoodsname": {
  7397. "description": "套保品种名称",
  7398. "type": "string"
  7399. }
  7400. }
  7401. },
  7402. "ermcp.QryAvalidGPRsp": {
  7403. "type": "object",
  7404. "properties": {
  7405. "goodsgroupid": {
  7406. "description": "期货品种id",
  7407. "type": "integer"
  7408. },
  7409. "goodsgroupname": {
  7410. "description": "期货品种名称",
  7411. "type": "string"
  7412. },
  7413. "goodunitid": {
  7414. "description": "品种单位id",
  7415. "type": "integer"
  7416. },
  7417. "goodunitname": {
  7418. "description": "品种单位名称",
  7419. "type": "string"
  7420. },
  7421. "outergroupcode": {
  7422. "description": "期货品种代码",
  7423. "type": "string"
  7424. }
  7425. }
  7426. },
  7427. "ermcp.QryBusinessDjRsp": {
  7428. "type": "object",
  7429. "properties": {
  7430. "amount": {
  7431. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7432. "type": "number"
  7433. },
  7434. "applyid": {
  7435. "description": "申请人",
  7436. "type": "string"
  7437. },
  7438. "applyname": {
  7439. "description": "申请人名称",
  7440. "type": "string"
  7441. },
  7442. "applystatus": {
  7443. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7444. "type": "integer"
  7445. },
  7446. "applytime": {
  7447. "description": "申请时间",
  7448. "type": "string"
  7449. },
  7450. "attachurl": {
  7451. "description": "附件",
  7452. "type": "string"
  7453. },
  7454. "auditname": {
  7455. "description": "审核人名称",
  7456. "type": "string"
  7457. },
  7458. "audittime": {
  7459. "description": "审核时间",
  7460. "type": "string"
  7461. },
  7462. "buyusername": {
  7463. "description": "采购方名称",
  7464. "type": "string"
  7465. },
  7466. "contractno": {
  7467. "description": "合同编号",
  7468. "type": "string"
  7469. },
  7470. "contractstatus": {
  7471. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7472. "type": "integer"
  7473. },
  7474. "contracttype": {
  7475. "description": "现货合同类型 - 1:采购 -1:销售",
  7476. "type": "integer"
  7477. },
  7478. "enumdicname": {
  7479. "description": "单位名称",
  7480. "type": "string"
  7481. },
  7482. "goodscode": {
  7483. "description": "点价合约",
  7484. "type": "string"
  7485. },
  7486. "goodsname": {
  7487. "description": "商品名称",
  7488. "type": "string"
  7489. },
  7490. "operateapplyid": {
  7491. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7492. "type": "string"
  7493. },
  7494. "operateapplytype": {
  7495. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7496. "type": "integer"
  7497. },
  7498. "pricedPrice": {
  7499. "description": "点价价格(非必填)",
  7500. "type": "number"
  7501. },
  7502. "pricedQty": {
  7503. "description": "点价数量(非必填)",
  7504. "type": "number"
  7505. },
  7506. "pricemove": {
  7507. "description": "升贴水",
  7508. "type": "number"
  7509. },
  7510. "pricetype": {
  7511. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7512. "type": "integer"
  7513. },
  7514. "relatedid": {
  7515. "description": "现货合同ID",
  7516. "type": "string"
  7517. },
  7518. "sellusername": {
  7519. "description": "销售方名字",
  7520. "type": "string"
  7521. },
  7522. "userid": {
  7523. "description": "用户ID",
  7524. "type": "integer"
  7525. }
  7526. }
  7527. },
  7528. "ermcp.QryBussinessFpRsp": {
  7529. "type": "object",
  7530. "properties": {
  7531. "applyid": {
  7532. "description": "申请人",
  7533. "type": "string"
  7534. },
  7535. "applyname": {
  7536. "description": "申请人名称",
  7537. "type": "string"
  7538. },
  7539. "applystatus": {
  7540. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7541. "type": "integer"
  7542. },
  7543. "applytime": {
  7544. "description": "申请时间",
  7545. "type": "string"
  7546. },
  7547. "attachurl": {
  7548. "description": "附件",
  7549. "type": "string"
  7550. },
  7551. "auditname": {
  7552. "description": "审核人名称",
  7553. "type": "string"
  7554. },
  7555. "audittime": {
  7556. "description": "审核时间",
  7557. "type": "string"
  7558. },
  7559. "buyusername": {
  7560. "description": "采购方名称",
  7561. "type": "string"
  7562. },
  7563. "contractno": {
  7564. "description": "合同编号",
  7565. "type": "string"
  7566. },
  7567. "contractstatus": {
  7568. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7569. "type": "integer"
  7570. },
  7571. "contracttype": {
  7572. "description": "现货合同类型 - 1:采购 -1:销售",
  7573. "type": "integer"
  7574. },
  7575. "enumdicname": {
  7576. "description": "单位名称",
  7577. "type": "string"
  7578. },
  7579. "goodscode": {
  7580. "description": "点价合约",
  7581. "type": "string"
  7582. },
  7583. "goodsname": {
  7584. "description": "商品名称",
  7585. "type": "string"
  7586. },
  7587. "invoiceAmount": {
  7588. "description": "已开收票金额(销售为开票,采购为收票)",
  7589. "type": "number"
  7590. },
  7591. "operateapplyid": {
  7592. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7593. "type": "string"
  7594. },
  7595. "operateapplytype": {
  7596. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7597. "type": "integer"
  7598. },
  7599. "pricemove": {
  7600. "description": "升贴水",
  7601. "type": "number"
  7602. },
  7603. "pricetype": {
  7604. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7605. "type": "integer"
  7606. },
  7607. "relatedid": {
  7608. "description": "现货合同ID",
  7609. "type": "string"
  7610. },
  7611. "sellusername": {
  7612. "description": "销售方名字",
  7613. "type": "string"
  7614. },
  7615. "userid": {
  7616. "description": "用户ID",
  7617. "type": "integer"
  7618. }
  7619. }
  7620. },
  7621. "ermcp.QryBussinessJsExRsp": {
  7622. "type": "object",
  7623. "properties": {
  7624. "applyid": {
  7625. "description": "申请人",
  7626. "type": "string"
  7627. },
  7628. "applyname": {
  7629. "description": "申请人名称",
  7630. "type": "string"
  7631. },
  7632. "applystatus": {
  7633. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7634. "type": "integer"
  7635. },
  7636. "applytime": {
  7637. "description": "申请时间",
  7638. "type": "string"
  7639. },
  7640. "attachurl": {
  7641. "description": "附件",
  7642. "type": "string"
  7643. },
  7644. "auditname": {
  7645. "description": "审核人名称",
  7646. "type": "string"
  7647. },
  7648. "audittime": {
  7649. "description": "审核时间",
  7650. "type": "string"
  7651. },
  7652. "buyusername": {
  7653. "description": "采购方名称",
  7654. "type": "string"
  7655. },
  7656. "contractno": {
  7657. "description": "合同编号",
  7658. "type": "string"
  7659. },
  7660. "contractstatus": {
  7661. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7662. "type": "integer"
  7663. },
  7664. "contracttype": {
  7665. "description": "现货合同类型 - 1:采购 -1:销售",
  7666. "type": "integer"
  7667. },
  7668. "enumdicname": {
  7669. "description": "单位名称",
  7670. "type": "string"
  7671. },
  7672. "goodscode": {
  7673. "description": "点价合约",
  7674. "type": "string"
  7675. },
  7676. "goodsname": {
  7677. "description": "商品名称",
  7678. "type": "string"
  7679. },
  7680. "operateapplyid": {
  7681. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7682. "type": "string"
  7683. },
  7684. "operateapplytype": {
  7685. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7686. "type": "integer"
  7687. },
  7688. "pricemove": {
  7689. "description": "升贴水",
  7690. "type": "number"
  7691. },
  7692. "pricetype": {
  7693. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7694. "type": "integer"
  7695. },
  7696. "reckontype": {
  7697. "description": "结算类型",
  7698. "type": "string"
  7699. },
  7700. "reckonvalue": {
  7701. "description": "值",
  7702. "type": "number"
  7703. },
  7704. "relatedid": {
  7705. "description": "现货合同ID",
  7706. "type": "string"
  7707. },
  7708. "sellusername": {
  7709. "description": "销售方名字",
  7710. "type": "string"
  7711. },
  7712. "userid": {
  7713. "description": "用户ID",
  7714. "type": "integer"
  7715. }
  7716. }
  7717. },
  7718. "ermcp.QryBussinessJsRsp": {
  7719. "type": "object",
  7720. "properties": {
  7721. "addmargin": {
  7722. "description": "追加保证金(非必填)",
  7723. "type": "number"
  7724. },
  7725. "applyid": {
  7726. "description": "申请人",
  7727. "type": "string"
  7728. },
  7729. "applyname": {
  7730. "description": "申请人名称",
  7731. "type": "string"
  7732. },
  7733. "applystatus": {
  7734. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7735. "type": "integer"
  7736. },
  7737. "applytime": {
  7738. "description": "申请时间",
  7739. "type": "string"
  7740. },
  7741. "attachurl": {
  7742. "description": "附件",
  7743. "type": "string"
  7744. },
  7745. "auditname": {
  7746. "description": "审核人名称",
  7747. "type": "string"
  7748. },
  7749. "audittime": {
  7750. "description": "审核时间",
  7751. "type": "string"
  7752. },
  7753. "buyusername": {
  7754. "description": "采购方名称",
  7755. "type": "string"
  7756. },
  7757. "contractno": {
  7758. "description": "合同编号",
  7759. "type": "string"
  7760. },
  7761. "contractstatus": {
  7762. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7763. "type": "integer"
  7764. },
  7765. "contracttype": {
  7766. "description": "现货合同类型 - 1:采购 -1:销售",
  7767. "type": "integer"
  7768. },
  7769. "decmargin": {
  7770. "description": "减少保证金(非必填)",
  7771. "type": "number"
  7772. },
  7773. "enumdicname": {
  7774. "description": "单位名称",
  7775. "type": "string"
  7776. },
  7777. "goodscode": {
  7778. "description": "点价合约",
  7779. "type": "string"
  7780. },
  7781. "goodsname": {
  7782. "description": "商品名称",
  7783. "type": "string"
  7784. },
  7785. "operateapplyid": {
  7786. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7787. "type": "string"
  7788. },
  7789. "operateapplytype": {
  7790. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7791. "type": "integer"
  7792. },
  7793. "pricemove": {
  7794. "description": "升贴水",
  7795. "type": "number"
  7796. },
  7797. "pricetype": {
  7798. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7799. "type": "integer"
  7800. },
  7801. "reckonadjustamount": {
  7802. "description": "结算调整金额(非必填)",
  7803. "type": "number"
  7804. },
  7805. "reckonosamount": {
  7806. "description": "结算溢短金额(非必填)",
  7807. "type": "number"
  7808. },
  7809. "reckonotheramount": {
  7810. "description": "结算其他费用(非必填)",
  7811. "type": "number"
  7812. },
  7813. "reckonrealqty": {
  7814. "description": "结算实际数量(非必填)",
  7815. "type": "number"
  7816. },
  7817. "relatedid": {
  7818. "description": "现货合同ID",
  7819. "type": "string"
  7820. },
  7821. "sellusername": {
  7822. "description": "销售方名字",
  7823. "type": "string"
  7824. },
  7825. "userid": {
  7826. "description": "用户ID",
  7827. "type": "integer"
  7828. }
  7829. }
  7830. },
  7831. "ermcp.QryBussinessKxRsp": {
  7832. "type": "object",
  7833. "properties": {
  7834. "applyid": {
  7835. "description": "申请人",
  7836. "type": "string"
  7837. },
  7838. "applyname": {
  7839. "description": "申请人名称",
  7840. "type": "string"
  7841. },
  7842. "applystatus": {
  7843. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7844. "type": "integer"
  7845. },
  7846. "applytime": {
  7847. "description": "申请时间",
  7848. "type": "string"
  7849. },
  7850. "attachurl": {
  7851. "description": "附件",
  7852. "type": "string"
  7853. },
  7854. "auditname": {
  7855. "description": "审核人名称",
  7856. "type": "string"
  7857. },
  7858. "audittime": {
  7859. "description": "审核时间",
  7860. "type": "string"
  7861. },
  7862. "buyusername": {
  7863. "description": "采购方名称",
  7864. "type": "string"
  7865. },
  7866. "contractno": {
  7867. "description": "合同编号",
  7868. "type": "string"
  7869. },
  7870. "contractstatus": {
  7871. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7872. "type": "integer"
  7873. },
  7874. "contracttype": {
  7875. "description": "现货合同类型 - 1:采购 -1:销售",
  7876. "type": "integer"
  7877. },
  7878. "deductamount": {
  7879. "description": "退款(非必填)",
  7880. "type": "number"
  7881. },
  7882. "enumdicname": {
  7883. "description": "单位名称",
  7884. "type": "string"
  7885. },
  7886. "goodscode": {
  7887. "description": "点价合约",
  7888. "type": "string"
  7889. },
  7890. "goodsname": {
  7891. "description": "商品名称",
  7892. "type": "string"
  7893. },
  7894. "kxtype": {
  7895. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7896. "type": "integer"
  7897. },
  7898. "operateapplyid": {
  7899. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7900. "type": "string"
  7901. },
  7902. "operateapplytype": {
  7903. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7904. "type": "integer"
  7905. },
  7906. "payamount": {
  7907. "description": "收付款(非必填)",
  7908. "type": "number"
  7909. },
  7910. "pricemove": {
  7911. "description": "升贴水",
  7912. "type": "number"
  7913. },
  7914. "pricetype": {
  7915. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7916. "type": "integer"
  7917. },
  7918. "relatedid": {
  7919. "description": "现货合同ID",
  7920. "type": "string"
  7921. },
  7922. "sellusername": {
  7923. "description": "销售方名字",
  7924. "type": "string"
  7925. },
  7926. "userid": {
  7927. "description": "用户ID",
  7928. "type": "integer"
  7929. }
  7930. }
  7931. },
  7932. "ermcp.QryErmcpRsp": {
  7933. "type": "object",
  7934. "properties": {
  7935. "accountname": {
  7936. "description": "账户名称",
  7937. "type": "string"
  7938. },
  7939. "attachment": {
  7940. "description": "附件",
  7941. "type": "string"
  7942. },
  7943. "audittime": {
  7944. "description": "审核时间",
  7945. "type": "string"
  7946. },
  7947. "contracctstatus": {
  7948. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7949. "type": "integer"
  7950. },
  7951. "contractmargin": {
  7952. "description": "合同保证金",
  7953. "type": "number"
  7954. },
  7955. "contractno": {
  7956. "description": "合同编号",
  7957. "type": "string"
  7958. },
  7959. "contracttype": {
  7960. "description": "合同类型 1-采购, -1-销售",
  7961. "type": "integer"
  7962. },
  7963. "convertfactor": {
  7964. "description": "标仓系数",
  7965. "type": "number"
  7966. },
  7967. "createtime": {
  7968. "description": "创建时间",
  7969. "type": "string"
  7970. },
  7971. "daikaiamount": {
  7972. "description": "待开票额",
  7973. "type": "number"
  7974. },
  7975. "deliveryenddate": {
  7976. "description": "交割结束日",
  7977. "type": "string"
  7978. },
  7979. "deliverygoodscode": {
  7980. "description": "现货商品代码",
  7981. "type": "string"
  7982. },
  7983. "deliverygoodsid": {
  7984. "description": "现货商品ID",
  7985. "type": "integer"
  7986. },
  7987. "deliverygoodsname": {
  7988. "description": "现货商品名称",
  7989. "type": "string"
  7990. },
  7991. "deliverystartdate": {
  7992. "description": "交割开始日",
  7993. "type": "string"
  7994. },
  7995. "enddate": {
  7996. "description": "点价结束日",
  7997. "type": "string"
  7998. },
  7999. "enumdicname": {
  8000. "description": "单位名称",
  8001. "type": "string"
  8002. },
  8003. "goodscode": {
  8004. "description": "点价商品代码",
  8005. "type": "string"
  8006. },
  8007. "goodsid": {
  8008. "description": "点价商品ID",
  8009. "type": "integer"
  8010. },
  8011. "goodsname": {
  8012. "description": "点价商品名称",
  8013. "type": "string"
  8014. },
  8015. "invoiceamount": {
  8016. "description": "已开票额",
  8017. "type": "number"
  8018. },
  8019. "loanamount": {
  8020. "description": "贷款总额=已定价额+调整金额",
  8021. "type": "number"
  8022. },
  8023. "margin": {
  8024. "description": "保证金",
  8025. "type": "number"
  8026. },
  8027. "payamount": {
  8028. "description": "已收付额(收款或付款)",
  8029. "type": "number"
  8030. },
  8031. "price": {
  8032. "description": "价格",
  8033. "type": "number"
  8034. },
  8035. "pricedamount": {
  8036. "description": "已定价额",
  8037. "type": "number"
  8038. },
  8039. "pricedavg": {
  8040. "description": "已点均价",
  8041. "type": "number"
  8042. },
  8043. "pricedqty": {
  8044. "description": "已定价量",
  8045. "type": "number"
  8046. },
  8047. "pricemove": {
  8048. "description": "升贴水",
  8049. "type": "number"
  8050. },
  8051. "pricetype": {
  8052. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8053. "type": "integer"
  8054. },
  8055. "producttype": {
  8056. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8057. "type": "integer"
  8058. },
  8059. "qty": {
  8060. "description": "合同量",
  8061. "type": "number"
  8062. },
  8063. "reckonadjustamount": {
  8064. "description": "调整金额",
  8065. "type": "number"
  8066. },
  8067. "reckonedamount": {
  8068. "description": "已收付额(已确定额)",
  8069. "type": "number"
  8070. },
  8071. "reckonotheramount": {
  8072. "description": "其它费用",
  8073. "type": "number"
  8074. },
  8075. "reckonrealqty": {
  8076. "description": "已确定量",
  8077. "type": "number"
  8078. },
  8079. "remark": {
  8080. "description": "备注",
  8081. "type": "string"
  8082. },
  8083. "spotcontractid": {
  8084. "description": "合同ID",
  8085. "type": "string"
  8086. },
  8087. "spotgoodsdesc": {
  8088. "description": "商品型号(商品规格)",
  8089. "type": "string"
  8090. },
  8091. "startdate": {
  8092. "description": "点价开始日",
  8093. "type": "string"
  8094. },
  8095. "totalamount": {
  8096. "description": "合计总额",
  8097. "type": "number"
  8098. },
  8099. "unpayamount": {
  8100. "description": "待支收额(支付或收款)",
  8101. "type": "number"
  8102. },
  8103. "unpricedqty": {
  8104. "description": "未定价量",
  8105. "type": "number"
  8106. },
  8107. "unsureqty": {
  8108. "description": "未确定量",
  8109. "type": "number"
  8110. },
  8111. "userid": {
  8112. "description": "用户ID",
  8113. "type": "integer"
  8114. }
  8115. }
  8116. },
  8117. "ermcp.QryGGCovertCfgRsp": {
  8118. "type": "object",
  8119. "properties": {
  8120. "convertratio": {
  8121. "description": "折算系数",
  8122. "type": "number"
  8123. },
  8124. "destgoodsgroupid": {
  8125. "description": "目标品种ID",
  8126. "type": "integer"
  8127. },
  8128. "dstcode": {
  8129. "description": "目录品种代码",
  8130. "type": "string"
  8131. },
  8132. "dstname": {
  8133. "description": "目标品种名称",
  8134. "type": "string"
  8135. },
  8136. "dstunitid": {
  8137. "description": "目标品种单位ID",
  8138. "type": "integer"
  8139. },
  8140. "dstunitidname": {
  8141. "description": "目标品种单位名称",
  8142. "type": "string"
  8143. },
  8144. "srccode": {
  8145. "description": "源品种代码",
  8146. "type": "string"
  8147. },
  8148. "srcgoodsgroupid": {
  8149. "description": "源品种ID",
  8150. "type": "integer"
  8151. },
  8152. "srcname": {
  8153. "description": "源品种名称",
  8154. "type": "string"
  8155. },
  8156. "srcunitid": {
  8157. "description": "源品种单位ID",
  8158. "type": "integer"
  8159. },
  8160. "srcunitidname": {
  8161. "description": "源品种单位名称",
  8162. "type": "string"
  8163. }
  8164. }
  8165. },
  8166. "ermcp.QryHedgePlanRsp": {
  8167. "type": "object",
  8168. "properties": {
  8169. "areauserid": {
  8170. "description": "用户ID",
  8171. "type": "integer"
  8172. },
  8173. "contracttype": {
  8174. "description": "计划类型 - 1:采购 -1:销售",
  8175. "type": "integer"
  8176. },
  8177. "convertfactor": {
  8178. "description": "标仓系数",
  8179. "type": "number"
  8180. },
  8181. "createtime": {
  8182. "description": "创建时间",
  8183. "type": "string"
  8184. },
  8185. "deliverygoodsid": {
  8186. "description": "现货品种ID",
  8187. "type": "integer"
  8188. },
  8189. "deliverygoodsname": {
  8190. "description": "现货品种名称",
  8191. "type": "string"
  8192. },
  8193. "hedgeplanid": {
  8194. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8195. "type": "string"
  8196. },
  8197. "hedgeplanno": {
  8198. "description": "套保计划编号(名称)",
  8199. "type": "string"
  8200. },
  8201. "hedgeplanstatus": {
  8202. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8203. "type": "integer"
  8204. },
  8205. "planqty": {
  8206. "description": "计划数量",
  8207. "type": "number"
  8208. },
  8209. "plantime": {
  8210. "description": "计划时间",
  8211. "type": "string"
  8212. },
  8213. "producttype": {
  8214. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8215. "type": "integer"
  8216. },
  8217. "remark": {
  8218. "description": "备注",
  8219. "type": "string"
  8220. },
  8221. "spotgoodsdesc": {
  8222. "description": "商品型号",
  8223. "type": "string"
  8224. },
  8225. "wrstandardid": {
  8226. "description": "现货商品ID",
  8227. "type": "integer"
  8228. },
  8229. "wrstandardname": {
  8230. "description": "现货商品名称",
  8231. "type": "string"
  8232. }
  8233. }
  8234. },
  8235. "ermcp.QryMGChangeLogRsp": {
  8236. "type": "object",
  8237. "properties": {
  8238. "aftervalue": {
  8239. "description": "变更后",
  8240. "type": "number"
  8241. },
  8242. "applyid": {
  8243. "description": "操作人",
  8244. "type": "integer"
  8245. },
  8246. "applyname": {
  8247. "description": "操作人名称",
  8248. "type": "string"
  8249. },
  8250. "applysrc": {
  8251. "description": "操作来源 - 1:管理端 2:终端",
  8252. "type": "integer"
  8253. },
  8254. "beforevalue": {
  8255. "description": "变更前",
  8256. "type": "number"
  8257. },
  8258. "changelogtype": {
  8259. "description": "变更流水类型 - 1:套保比率变更",
  8260. "type": "integer"
  8261. },
  8262. "handlestatus": {
  8263. "description": "处理状态",
  8264. "type": "integer"
  8265. },
  8266. "logdatetime": {
  8267. "description": "流水日期",
  8268. "type": "string"
  8269. },
  8270. "logid": {
  8271. "description": "流水ID",
  8272. "type": "integer"
  8273. },
  8274. "logremark": {
  8275. "description": "流水备注",
  8276. "type": "string"
  8277. },
  8278. "middlegoodsid": {
  8279. "description": "套保品种ID",
  8280. "type": "integer"
  8281. },
  8282. "tradedate": {
  8283. "description": "交易日(yyyyMMdd)",
  8284. "type": "string"
  8285. },
  8286. "updatetime": {
  8287. "description": "更新时间",
  8288. "type": "string"
  8289. }
  8290. }
  8291. },
  8292. "ermcp.QryMiddleGoodsDetailRsp": {
  8293. "type": "object",
  8294. "properties": {
  8295. "cvList": {
  8296. "description": "期货品种折算列表",
  8297. "type": "array",
  8298. "items": {
  8299. "$ref": "#/definitions/models.GoodsGroupConvert"
  8300. }
  8301. },
  8302. "mg": {
  8303. "description": "套保品种基本信息",
  8304. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8305. }
  8306. }
  8307. },
  8308. "ermcp.QryMiddleGoodsRsp": {
  8309. "type": "object",
  8310. "properties": {
  8311. "areauserid": {
  8312. "description": "机构用户ID",
  8313. "type": "integer"
  8314. },
  8315. "enumdicname": {
  8316. "description": "单位名称",
  8317. "type": "string"
  8318. },
  8319. "evaluateratio": {
  8320. "description": "估价系数",
  8321. "type": "number"
  8322. },
  8323. "goodsgroupid": {
  8324. "description": "关联期货品种ID",
  8325. "type": "integer"
  8326. },
  8327. "isvalid": {
  8328. "description": "状态 0-无效(停用) 1-有效(正常)",
  8329. "type": "integer"
  8330. },
  8331. "middlegoodscode": {
  8332. "description": "套保品种代码",
  8333. "type": "string"
  8334. },
  8335. "middlegoodsid": {
  8336. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8337. "type": "integer"
  8338. },
  8339. "middlegoodsname": {
  8340. "description": "套保品种名称",
  8341. "type": "string"
  8342. },
  8343. "modifytime": {
  8344. "description": "修改时间",
  8345. "type": "string"
  8346. },
  8347. "needhedgeratio": {
  8348. "description": "套保比率",
  8349. "type": "number"
  8350. },
  8351. "qtydecimalplace": {
  8352. "description": "数量小数位",
  8353. "type": "integer"
  8354. },
  8355. "relatedgoodsid": {
  8356. "description": "关联交易商品ID",
  8357. "type": "integer"
  8358. },
  8359. "relatedgoodstype": {
  8360. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8361. "type": "integer"
  8362. }
  8363. }
  8364. },
  8365. "ermcp.QryOPLogRsp": {
  8366. "type": "object",
  8367. "properties": {
  8368. "aftervalue": {
  8369. "description": "变更后",
  8370. "type": "number"
  8371. },
  8372. "applyid": {
  8373. "description": "操作人ID",
  8374. "type": "string"
  8375. },
  8376. "applyname": {
  8377. "description": "操作人名称",
  8378. "type": "string"
  8379. },
  8380. "beforevalue": {
  8381. "description": "变更前",
  8382. "type": "number"
  8383. },
  8384. "biztype": {
  8385. "description": "业务类型 - 1:套保计划 2:现货合同",
  8386. "type": "integer"
  8387. },
  8388. "contracttype": {
  8389. "description": "现货合同类型 - 1:采购 -1:销售",
  8390. "type": "integer"
  8391. },
  8392. "logvalue": {
  8393. "description": "数值",
  8394. "type": "number"
  8395. },
  8396. "operatelogtype": {
  8397. "description": "操作流水类型",
  8398. "type": "integer"
  8399. },
  8400. "operatelogtypedesc": {
  8401. "description": "操作流水类型名称",
  8402. "type": "string"
  8403. },
  8404. "relatedid": {
  8405. "description": "现货合同ID\\套保计划",
  8406. "type": "string"
  8407. },
  8408. "updatetime": {
  8409. "description": "更新时间",
  8410. "type": "string"
  8411. }
  8412. }
  8413. },
  8414. "ermcp.QryReportDaySpotDetailRsp": {
  8415. "type": "object",
  8416. "properties": {
  8417. "applyid": {
  8418. "description": "操作人",
  8419. "type": "integer"
  8420. },
  8421. "applyname": {
  8422. "description": "操作人名称",
  8423. "type": "string"
  8424. },
  8425. "biztype": {
  8426. "description": "业务类型 - 1:套保计划 2:现货合同",
  8427. "type": "integer"
  8428. },
  8429. "contracttype": {
  8430. "description": "现货合同类型 - 1:采购 -1:销售",
  8431. "type": "integer"
  8432. },
  8433. "enumdicName": {
  8434. "description": "单位名称",
  8435. "type": "string"
  8436. },
  8437. "logdatetime": {
  8438. "description": "流水日期(时间)",
  8439. "type": "string"
  8440. },
  8441. "logid": {
  8442. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8443. "type": "string"
  8444. },
  8445. "logtypename": {
  8446. "description": "合同类型(名称)",
  8447. "type": "string"
  8448. },
  8449. "logvalue": {
  8450. "description": "数值",
  8451. "type": "string"
  8452. },
  8453. "operatelogtype": {
  8454. "description": "操作流水类型 -",
  8455. "type": "integer"
  8456. },
  8457. "optypename": {
  8458. "description": "流水类型名称",
  8459. "type": "string"
  8460. },
  8461. "relatedid": {
  8462. "description": "现货合同ID\\套保计划",
  8463. "type": "string"
  8464. },
  8465. "relatedno": {
  8466. "description": "合同编号",
  8467. "type": "string"
  8468. },
  8469. "tradedate": {
  8470. "description": "交易日(yyyyMMdd)",
  8471. "type": "string"
  8472. },
  8473. "userid": {
  8474. "description": "机构ID",
  8475. "type": "integer"
  8476. },
  8477. "wrstandardcode": {
  8478. "description": "现货商品代码",
  8479. "type": "string"
  8480. },
  8481. "wrstandardid": {
  8482. "description": "现货商品ID",
  8483. "type": "integer"
  8484. },
  8485. "wrstandardname": {
  8486. "description": "现货商品名称",
  8487. "type": "string"
  8488. }
  8489. }
  8490. },
  8491. "ermcp.QryReportExposureDayRsp": {
  8492. "type": "object",
  8493. "properties": {
  8494. "areauserid": {
  8495. "description": "所属机构",
  8496. "type": "integer"
  8497. },
  8498. "buyfutureqty": {
  8499. "description": "买入期货数量",
  8500. "type": "number"
  8501. },
  8502. "buyplanqty": {
  8503. "description": "采购计划数量",
  8504. "type": "number"
  8505. },
  8506. "buypricedqty": {
  8507. "description": "采购合同已定价数量",
  8508. "type": "number"
  8509. },
  8510. "diffFutuQty": {
  8511. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8512. "type": "number"
  8513. },
  8514. "diffSpotQty": {
  8515. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8516. "type": "number"
  8517. },
  8518. "enumdicname": {
  8519. "description": "单位名称",
  8520. "type": "string"
  8521. },
  8522. "middlegoodscode": {
  8523. "description": "套保品种代码",
  8524. "type": "string"
  8525. },
  8526. "middlegoodshedgeratio": {
  8527. "description": "应套保比例",
  8528. "type": "number"
  8529. },
  8530. "middlegoodsid": {
  8531. "description": "套保品种ID",
  8532. "type": "integer"
  8533. },
  8534. "middlegoodsname": {
  8535. "description": "套保品种名称",
  8536. "type": "string"
  8537. },
  8538. "needhedgeexposoure": {
  8539. "description": "应套保敞口",
  8540. "type": "number"
  8541. },
  8542. "needhedgeratio": {
  8543. "description": "应套保敞口比例",
  8544. "type": "number"
  8545. },
  8546. "oriTotalFutuQty": {
  8547. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8548. "type": "number"
  8549. },
  8550. "oriTotalSpotQty": {
  8551. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8552. "type": "number"
  8553. },
  8554. "oribuyfutureqty": {
  8555. "description": "期初买入期货数量",
  8556. "type": "number"
  8557. },
  8558. "oribuyplanqty": {
  8559. "description": "期初采购计划数量",
  8560. "type": "number"
  8561. },
  8562. "oribuypricedqty": {
  8563. "description": "期初采购合同已定价数量",
  8564. "type": "number"
  8565. },
  8566. "orisellfutureqty": {
  8567. "description": "期初卖出期货数量",
  8568. "type": "number"
  8569. },
  8570. "orisellplanqty": {
  8571. "description": "期初销售计划数量",
  8572. "type": "number"
  8573. },
  8574. "orisellpricedqty": {
  8575. "description": "期初销售合同已定价数量",
  8576. "type": "number"
  8577. },
  8578. "reckondate": {
  8579. "description": "日照时期(yyyyMMdd)",
  8580. "type": "string"
  8581. },
  8582. "sellfutureqty": {
  8583. "description": "卖出期货数量",
  8584. "type": "number"
  8585. },
  8586. "sellplanqty": {
  8587. "description": "销售计划数量",
  8588. "type": "number"
  8589. },
  8590. "sellpricedqty": {
  8591. "description": "销售合同已定价数量",
  8592. "type": "number"
  8593. },
  8594. "totalexposure": {
  8595. "description": "总敞口",
  8596. "type": "number"
  8597. },
  8598. "totalfutureqty": {
  8599. "description": "期货数量",
  8600. "type": "number"
  8601. },
  8602. "totalhedgeratio": {
  8603. "description": "敞口比例",
  8604. "type": "number"
  8605. },
  8606. "totalneedhedgeqty": {
  8607. "description": "期货应套保量",
  8608. "type": "number"
  8609. },
  8610. "totalspotqty": {
  8611. "description": "现货数量",
  8612. "type": "number"
  8613. }
  8614. }
  8615. },
  8616. "ermcp.QryReportFinanceDayRsp": {
  8617. "type": "object",
  8618. "properties": {
  8619. "areauserid": {
  8620. "description": "所属机构",
  8621. "type": "integer"
  8622. },
  8623. "collectinvoiceamount": {
  8624. "description": "今日开票金额",
  8625. "type": "number"
  8626. },
  8627. "collectinvoicecount": {
  8628. "description": "今日开票笔数",
  8629. "type": "integer"
  8630. },
  8631. "collectmoneyamount": {
  8632. "description": "今日收款金额",
  8633. "type": "number"
  8634. },
  8635. "collectmoneycount": {
  8636. "description": "今日收款笔数",
  8637. "type": "integer"
  8638. },
  8639. "payinvoiceamount": {
  8640. "description": "今日收票金额",
  8641. "type": "number"
  8642. },
  8643. "payinvoicecount": {
  8644. "description": "今日收票笔数",
  8645. "type": "integer"
  8646. },
  8647. "paymoneyamount": {
  8648. "description": "今日付款金额",
  8649. "type": "number"
  8650. },
  8651. "paymoneycount": {
  8652. "description": "今日付款笔数",
  8653. "type": "integer"
  8654. },
  8655. "reckondate": {
  8656. "description": "日照时期(yyyyMMdd)",
  8657. "type": "string"
  8658. },
  8659. "updatetime": {
  8660. "description": "更新时间",
  8661. "type": "string"
  8662. }
  8663. }
  8664. },
  8665. "ermcp.QryReportFinanceKxRsp": {
  8666. "type": "object",
  8667. "properties": {
  8668. "applyid": {
  8669. "description": "操作人",
  8670. "type": "integer"
  8671. },
  8672. "applyname": {
  8673. "description": "操作人名称",
  8674. "type": "string"
  8675. },
  8676. "biztype": {
  8677. "description": "业务类型 - 1:套保计划 2:现货合同",
  8678. "type": "integer"
  8679. },
  8680. "contracttype": {
  8681. "description": "现货合同类型 - 1:采购 -1:销售",
  8682. "type": "integer"
  8683. },
  8684. "enumdicName": {
  8685. "description": "单位名称",
  8686. "type": "string"
  8687. },
  8688. "logdatetime": {
  8689. "description": "流水日期(时间)",
  8690. "type": "string"
  8691. },
  8692. "logid": {
  8693. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8694. "type": "string"
  8695. },
  8696. "logtypename": {
  8697. "description": "合同类型(名称)",
  8698. "type": "string"
  8699. },
  8700. "logvalue": {
  8701. "description": "数值",
  8702. "type": "string"
  8703. },
  8704. "operatelogtype": {
  8705. "description": "操作流水类型 -",
  8706. "type": "integer"
  8707. },
  8708. "optypename": {
  8709. "description": "流水类型名称",
  8710. "type": "string"
  8711. },
  8712. "relatedid": {
  8713. "description": "现货合同ID\\套保计划",
  8714. "type": "string"
  8715. },
  8716. "relatedno": {
  8717. "description": "合同编号",
  8718. "type": "string"
  8719. },
  8720. "tradedate": {
  8721. "description": "交易日(yyyyMMdd)",
  8722. "type": "string"
  8723. },
  8724. "userid": {
  8725. "description": "机构ID",
  8726. "type": "integer"
  8727. },
  8728. "wrstandardcode": {
  8729. "description": "现货商品代码",
  8730. "type": "string"
  8731. },
  8732. "wrstandardid": {
  8733. "description": "现货商品ID",
  8734. "type": "integer"
  8735. },
  8736. "wrstandardname": {
  8737. "description": "现货商品名称",
  8738. "type": "string"
  8739. }
  8740. }
  8741. },
  8742. "ermcp.QryReportFinanceMonRsp": {
  8743. "type": "object",
  8744. "properties": {
  8745. "areauserid": {
  8746. "description": "所属机构【原值】",
  8747. "type": "integer"
  8748. },
  8749. "collectinvoiceamount": {
  8750. "description": "今日开票金额【汇总】",
  8751. "type": "number"
  8752. },
  8753. "collectinvoicecount": {
  8754. "description": "今日开票笔数【汇总】",
  8755. "type": "integer"
  8756. },
  8757. "collectmoneyamount": {
  8758. "description": "今日收款金额【汇总】",
  8759. "type": "number"
  8760. },
  8761. "collectmoneycount": {
  8762. "description": "今日收款笔数 【汇总】",
  8763. "type": "integer"
  8764. },
  8765. "cycletime": {
  8766. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8767. "type": "string"
  8768. },
  8769. "cycletype": {
  8770. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8771. "type": "integer"
  8772. },
  8773. "dayFr": {
  8774. "description": "日报表明细",
  8775. "type": "array",
  8776. "items": {
  8777. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8778. }
  8779. },
  8780. "payinvoiceamount": {
  8781. "description": "今日收票金额【汇总】",
  8782. "type": "number"
  8783. },
  8784. "payinvoicecount": {
  8785. "description": "今日收票笔数【汇总】",
  8786. "type": "integer"
  8787. },
  8788. "paymoneyamount": {
  8789. "description": "今日付款金额【汇总】",
  8790. "type": "number"
  8791. },
  8792. "paymoneycount": {
  8793. "description": "今日付款笔数【汇总】",
  8794. "type": "integer"
  8795. },
  8796. "updatetime": {
  8797. "description": "更新时间",
  8798. "type": "string"
  8799. }
  8800. }
  8801. },
  8802. "ermcp.QryReportSpotDayRsp": {
  8803. "type": "object",
  8804. "properties": {
  8805. "areauserid": {
  8806. "description": "所属机构T",
  8807. "type": "integer"
  8808. },
  8809. "enumdicname": {
  8810. "description": "现货商品单位名称",
  8811. "type": "string"
  8812. },
  8813. "reckondate": {
  8814. "description": "日照时期(yyyyMMdd)",
  8815. "type": "string"
  8816. },
  8817. "todaybuyreckonqty": {
  8818. "description": "采购确定量",
  8819. "type": "number"
  8820. },
  8821. "todaysellreckonqty": {
  8822. "description": "销售确定量",
  8823. "type": "number"
  8824. },
  8825. "totalbuypricedqty": {
  8826. "description": "采购定价量 = 期末 - 期初",
  8827. "type": "number"
  8828. },
  8829. "totalsellpricedqty": {
  8830. "description": "销售定价量 = 期末 - 期初",
  8831. "type": "number"
  8832. },
  8833. "wrstandardcode": {
  8834. "description": "现货商品代码",
  8835. "type": "string"
  8836. },
  8837. "wrstandardid": {
  8838. "description": "现货商品ID",
  8839. "type": "integer"
  8840. },
  8841. "wrstandardname": {
  8842. "description": "现货商品名称",
  8843. "type": "string"
  8844. }
  8845. }
  8846. },
  8847. "ermcp.QryReportSpotMonRsp": {
  8848. "type": "object",
  8849. "properties": {
  8850. "areauserid": {
  8851. "description": "所属机构T",
  8852. "type": "integer"
  8853. },
  8854. "cycletime": {
  8855. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8856. "type": "string"
  8857. },
  8858. "cycletype": {
  8859. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8860. "type": "integer"
  8861. },
  8862. "enumdicname": {
  8863. "description": "现货商品单位名称",
  8864. "type": "string"
  8865. },
  8866. "todaybuyreckonqty": {
  8867. "description": "采购确定量",
  8868. "type": "number"
  8869. },
  8870. "todaysellreckonqty": {
  8871. "description": "销售确定量",
  8872. "type": "number"
  8873. },
  8874. "totalbuypricedqty": {
  8875. "description": "采购定价量 = 期末 - 期初",
  8876. "type": "number"
  8877. },
  8878. "totalsellpricedqty": {
  8879. "description": "销售定价量 = 期末 - 期初",
  8880. "type": "number"
  8881. },
  8882. "wrstandardcode": {
  8883. "description": "现货商品代码",
  8884. "type": "string"
  8885. },
  8886. "wrstandardid": {
  8887. "description": "现货商品ID",
  8888. "type": "integer"
  8889. },
  8890. "wrstandardname": {
  8891. "description": "现货商品名称",
  8892. "type": "string"
  8893. }
  8894. }
  8895. },
  8896. "ermcp.QryReportSpotMonthDetailRsp": {
  8897. "type": "object",
  8898. "properties": {
  8899. "areauserid": {
  8900. "description": "所属机构T",
  8901. "type": "integer"
  8902. },
  8903. "enumdicname": {
  8904. "description": "现货商品单位名称",
  8905. "type": "string"
  8906. },
  8907. "reckondate": {
  8908. "description": "日照时期(yyyyMMdd)",
  8909. "type": "string"
  8910. },
  8911. "todaybuyreckonqty": {
  8912. "description": "采购确定量",
  8913. "type": "number"
  8914. },
  8915. "todaysellreckonqty": {
  8916. "description": "销售确定量",
  8917. "type": "number"
  8918. },
  8919. "totalbuypricedqty": {
  8920. "description": "采购定价量 = 期末 - 期初",
  8921. "type": "number"
  8922. },
  8923. "totalsellpricedqty": {
  8924. "description": "销售定价量 = 期末 - 期初",
  8925. "type": "number"
  8926. },
  8927. "wrstandardcode": {
  8928. "description": "现货商品代码",
  8929. "type": "string"
  8930. },
  8931. "wrstandardid": {
  8932. "description": "现货商品ID",
  8933. "type": "integer"
  8934. },
  8935. "wrstandardname": {
  8936. "description": "现货商品名称",
  8937. "type": "string"
  8938. }
  8939. }
  8940. },
  8941. "ermcp.QrySpotContractRsp": {
  8942. "type": "object",
  8943. "properties": {
  8944. "amount": {
  8945. "description": "金额 [1:一口价、3:暂定价]",
  8946. "type": "number"
  8947. },
  8948. "attachment": {
  8949. "description": "附件",
  8950. "type": "string"
  8951. },
  8952. "auditremark": {
  8953. "description": "审核意见",
  8954. "type": "string"
  8955. },
  8956. "audittime": {
  8957. "description": "审核时间",
  8958. "type": "string"
  8959. },
  8960. "brandname": {
  8961. "description": "品牌名称",
  8962. "type": "string"
  8963. },
  8964. "buyuserid": {
  8965. "description": "采购方ID",
  8966. "type": "integer"
  8967. },
  8968. "buyusername": {
  8969. "description": "采购方名称",
  8970. "type": "string"
  8971. },
  8972. "contracctstatus": {
  8973. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8974. "type": "integer"
  8975. },
  8976. "contractmargin": {
  8977. "description": "合同保证金",
  8978. "type": "number"
  8979. },
  8980. "contractno": {
  8981. "description": "现货合同编号",
  8982. "type": "string"
  8983. },
  8984. "contracttype": {
  8985. "description": "现货合同类型 - 1:采购 -1:销售",
  8986. "type": "integer"
  8987. },
  8988. "convertfactor": {
  8989. "description": "标仓系数",
  8990. "type": "number"
  8991. },
  8992. "createtime": {
  8993. "description": "创建时间",
  8994. "type": "string"
  8995. },
  8996. "deliveryenddate": {
  8997. "description": "交收期(结束)",
  8998. "type": "string"
  8999. },
  9000. "deliverygoodscode": {
  9001. "description": "现货品种代码",
  9002. "type": "string"
  9003. },
  9004. "deliverygoodsid": {
  9005. "description": "现货品种ID",
  9006. "type": "integer"
  9007. },
  9008. "deliverygoodsname": {
  9009. "description": "现货品种名称",
  9010. "type": "string"
  9011. },
  9012. "deliverystartdate": {
  9013. "description": "交收期(开始)",
  9014. "type": "string"
  9015. },
  9016. "enddate": {
  9017. "description": "点价结束日期 [2:点价 3:暂定价]",
  9018. "type": "string"
  9019. },
  9020. "enumdicname": {
  9021. "description": "单位名称",
  9022. "type": "string"
  9023. },
  9024. "goodscode": {
  9025. "description": "点价合约代码",
  9026. "type": "string"
  9027. },
  9028. "goodsid": {
  9029. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9030. "type": "integer"
  9031. },
  9032. "goodsname": {
  9033. "description": "点价商品名称",
  9034. "type": "string"
  9035. },
  9036. "margin": {
  9037. "description": "当前保证金",
  9038. "type": "number"
  9039. },
  9040. "modelname": {
  9041. "description": "型号名称",
  9042. "type": "string"
  9043. },
  9044. "price": {
  9045. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9046. "type": "number"
  9047. },
  9048. "pricemove": {
  9049. "description": "升贴水 [2:点价 3:暂定价]",
  9050. "type": "number"
  9051. },
  9052. "pricetype": {
  9053. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9054. "type": "integer"
  9055. },
  9056. "producttype": {
  9057. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9058. "type": "integer"
  9059. },
  9060. "qty": {
  9061. "description": "数量",
  9062. "type": "number"
  9063. },
  9064. "remark": {
  9065. "description": "备注",
  9066. "type": "string"
  9067. },
  9068. "selluserid": {
  9069. "description": "销售方ID",
  9070. "type": "integer"
  9071. },
  9072. "sellusername": {
  9073. "description": "销售方名称",
  9074. "type": "string"
  9075. },
  9076. "spotcontractid": {
  9077. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9078. "type": "string"
  9079. },
  9080. "spotgoodsbrandid": {
  9081. "description": "现货品牌ID",
  9082. "type": "integer"
  9083. },
  9084. "spotgoodsdesc": {
  9085. "description": "商品型号",
  9086. "type": "string"
  9087. },
  9088. "spotgoodsmodelid": {
  9089. "description": "现货型号ID",
  9090. "type": "integer"
  9091. },
  9092. "startdate": {
  9093. "description": "点价开始日期 [2:点价 3:暂定价]",
  9094. "type": "string"
  9095. },
  9096. "userid": {
  9097. "description": "机构ID",
  9098. "type": "integer"
  9099. },
  9100. "wrstandardid": {
  9101. "description": "现货商品ID",
  9102. "type": "integer"
  9103. }
  9104. }
  9105. },
  9106. "ermcp.QryUserInfoRsp": {
  9107. "type": "object",
  9108. "properties": {
  9109. "address": {
  9110. "description": "通讯地址",
  9111. "type": "string"
  9112. },
  9113. "attachment1": {
  9114. "description": "附件1",
  9115. "type": "string"
  9116. },
  9117. "cardfrontphotourl": {
  9118. "description": "证件正面图片地址",
  9119. "type": "string"
  9120. },
  9121. "cardnum": {
  9122. "description": "证件号码",
  9123. "type": "string"
  9124. },
  9125. "cardtype": {
  9126. "description": "证件类型",
  9127. "type": "integer"
  9128. },
  9129. "cardtypename": {
  9130. "description": "证件类型名称",
  9131. "type": "string"
  9132. },
  9133. "cityid": {
  9134. "description": "市",
  9135. "type": "integer"
  9136. },
  9137. "countryid": {
  9138. "description": "国家",
  9139. "type": "integer"
  9140. },
  9141. "createtime": {
  9142. "description": "创建时间",
  9143. "type": "string"
  9144. },
  9145. "customername": {
  9146. "description": "企业名称",
  9147. "type": "string"
  9148. },
  9149. "memberuserid": {
  9150. "description": "所属机构ID",
  9151. "type": "integer"
  9152. },
  9153. "mobile": {
  9154. "description": "手机号码",
  9155. "type": "string"
  9156. },
  9157. "provinceid": {
  9158. "description": "省",
  9159. "type": "integer"
  9160. },
  9161. "remark": {
  9162. "description": "备注",
  9163. "type": "string"
  9164. },
  9165. "status": {
  9166. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9167. "type": "integer"
  9168. },
  9169. "statusdesc": {
  9170. "description": "账户状态中文描述",
  9171. "type": "string"
  9172. },
  9173. "telphone": {
  9174. "description": "联系电话",
  9175. "type": "string"
  9176. },
  9177. "userid": {
  9178. "description": "用户ID",
  9179. "type": "integer"
  9180. },
  9181. "userinfotype": {
  9182. "description": "客户类型",
  9183. "type": "string"
  9184. }
  9185. }
  9186. },
  9187. "ermcp.QryWrStandardDetailRsp": {
  9188. "type": "object",
  9189. "properties": {
  9190. "gbList": {
  9191. "description": "品牌列表",
  9192. "type": "array",
  9193. "items": {
  9194. "$ref": "#/definitions/models.GoodsBrand"
  9195. }
  9196. },
  9197. "gtList": {
  9198. "description": "型号列表",
  9199. "type": "array",
  9200. "items": {
  9201. "$ref": "#/definitions/models.GoodsTypeModel"
  9202. }
  9203. },
  9204. "wrd": {
  9205. "description": "基本信息",
  9206. "$ref": "#/definitions/models.ErmcpWrstandard"
  9207. },
  9208. "wrsList": {
  9209. "description": "套保信息列表",
  9210. "type": "array",
  9211. "items": {
  9212. "$ref": "#/definitions/models.WRSConverTDetail"
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "ermcp.QryWrStandardRsp": {
  9218. "type": "object",
  9219. "properties": {
  9220. "areauserid": {
  9221. "description": "所属机构",
  9222. "type": "integer"
  9223. },
  9224. "createtime": {
  9225. "description": "创建时间",
  9226. "type": "string"
  9227. },
  9228. "creatorid": {
  9229. "description": "创建人",
  9230. "type": "integer"
  9231. },
  9232. "deliverygoodsid": {
  9233. "description": "品种ID",
  9234. "type": "integer"
  9235. },
  9236. "enumdicname": {
  9237. "description": "单位名称",
  9238. "type": "string"
  9239. },
  9240. "isvalid": {
  9241. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9242. "type": "integer"
  9243. },
  9244. "minivalue": {
  9245. "description": "最小变动值",
  9246. "type": "integer"
  9247. },
  9248. "minivaluedp": {
  9249. "description": "最小变动值小数位",
  9250. "type": "integer"
  9251. },
  9252. "realminivalue": {
  9253. "description": "实际最小变动值",
  9254. "type": "integer"
  9255. },
  9256. "realminivaluedp": {
  9257. "description": "实际最小变动值小数位",
  9258. "type": "integer"
  9259. },
  9260. "remark": {
  9261. "description": "备注",
  9262. "type": "string"
  9263. },
  9264. "unitid": {
  9265. "description": "单位ID",
  9266. "type": "integer"
  9267. },
  9268. "updatetime": {
  9269. "description": "更新时间",
  9270. "type": "string"
  9271. },
  9272. "wrstandardcode": {
  9273. "description": "现货商品代码",
  9274. "type": "string"
  9275. },
  9276. "wrstandardid": {
  9277. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9278. "type": "integer"
  9279. },
  9280. "wrstandardname": {
  9281. "description": "现货商品名称",
  9282. "type": "string"
  9283. }
  9284. }
  9285. },
  9286. "ermcp.RealtimeExposurePositionRsp": {
  9287. "type": "object",
  9288. "properties": {
  9289. "agreeunit": {
  9290. "description": "合约单位",
  9291. "type": "string"
  9292. },
  9293. "areauserid": {
  9294. "description": "所属机构id",
  9295. "type": "integer"
  9296. },
  9297. "convertratio": {
  9298. "description": "期货品种系数(折算系数)",
  9299. "type": "number"
  9300. },
  9301. "curqty": {
  9302. "description": "当前持仓",
  9303. "type": "integer"
  9304. },
  9305. "diffhedgeqty": {
  9306. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9307. "type": "number"
  9308. },
  9309. "diffqty": {
  9310. "description": "持仓变动量=当前持仓-昨日持仓",
  9311. "type": "integer"
  9312. },
  9313. "goodscode": {
  9314. "description": "商品代码",
  9315. "type": "string"
  9316. },
  9317. "goodsid": {
  9318. "description": "商品id",
  9319. "type": "integer"
  9320. },
  9321. "goodsname": {
  9322. "description": "商品名称",
  9323. "type": "string"
  9324. },
  9325. "middlegoodsid": {
  9326. "description": "套保商品id",
  9327. "type": "integer"
  9328. },
  9329. "ydqty": {
  9330. "description": "昨日持仓",
  9331. "type": "integer"
  9332. }
  9333. }
  9334. },
  9335. "ermcp.RealtimeExposureRsp": {
  9336. "type": "object",
  9337. "properties": {
  9338. "areaUserID": {
  9339. "description": "所属机构",
  9340. "type": "integer"
  9341. },
  9342. "buyFutureQty": {
  9343. "description": "买入期货数量",
  9344. "type": "number"
  9345. },
  9346. "buyPlanQty": {
  9347. "description": "采购计划数量",
  9348. "type": "number"
  9349. },
  9350. "buyPricedQty": {
  9351. "description": "采购合同已定价数量",
  9352. "type": "number"
  9353. },
  9354. "diffFutuQty": {
  9355. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9356. "type": "number"
  9357. },
  9358. "diffSpotQty": {
  9359. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9360. "type": "number"
  9361. },
  9362. "enumdicname": {
  9363. "description": "单位名称",
  9364. "type": "string"
  9365. },
  9366. "middleGoodsCode": {
  9367. "description": "套保品种代码",
  9368. "type": "string"
  9369. },
  9370. "middleGoodsHedgeRatio": {
  9371. "description": "应套保比例",
  9372. "type": "number"
  9373. },
  9374. "middleGoodsID": {
  9375. "description": "套保品种",
  9376. "type": "integer"
  9377. },
  9378. "middleGoodsName": {
  9379. "description": "套保品种名称",
  9380. "type": "string"
  9381. },
  9382. "needHedgeExposoure": {
  9383. "description": "应套保敞口",
  9384. "type": "number"
  9385. },
  9386. "needHedgeRatio": {
  9387. "description": "应套保敞口比例",
  9388. "type": "number"
  9389. },
  9390. "oriBuyFutureQty": {
  9391. "description": "期初买入期货数量",
  9392. "type": "number"
  9393. },
  9394. "oriBuyPlanQty": {
  9395. "description": "期初采购计划数量",
  9396. "type": "number"
  9397. },
  9398. "oriBuyPricedQty": {
  9399. "description": "期初采购合同已定价数量",
  9400. "type": "number"
  9401. },
  9402. "oriSellFutureQty": {
  9403. "description": "期初卖出期货数量",
  9404. "type": "number"
  9405. },
  9406. "oriSellPlanQty": {
  9407. "description": "期初销售计划数量",
  9408. "type": "number"
  9409. },
  9410. "oriSellPricedQty": {
  9411. "description": "期初销售合同已定价数量",
  9412. "type": "number"
  9413. },
  9414. "oriTotalFutuQty": {
  9415. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9416. "type": "number"
  9417. },
  9418. "oriTotalSpotQty": {
  9419. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9420. "type": "number"
  9421. },
  9422. "sellFutureQty": {
  9423. "description": "卖出期货数量",
  9424. "type": "number"
  9425. },
  9426. "sellPlanQty": {
  9427. "description": "销售计划数量",
  9428. "type": "number"
  9429. },
  9430. "sellPricedQty": {
  9431. "description": "销售合同已定价数量",
  9432. "type": "number"
  9433. },
  9434. "totalExposure": {
  9435. "description": "总敞口",
  9436. "type": "number"
  9437. },
  9438. "totalFutureQty": {
  9439. "description": "期货数量",
  9440. "type": "number"
  9441. },
  9442. "totalHedgeRatio": {
  9443. "description": "敞口比例",
  9444. "type": "number"
  9445. },
  9446. "totalNeedHedgeQty": {
  9447. "description": "期货应套保量",
  9448. "type": "number"
  9449. },
  9450. "totalSpotQty": {
  9451. "description": "现货数量",
  9452. "type": "number"
  9453. }
  9454. }
  9455. },
  9456. "erms2.QueryArbitrageStrategyRsp": {
  9457. "type": "object",
  9458. "required": [
  9459. "asapplyid"
  9460. ],
  9461. "properties": {
  9462. "applybasis": {
  9463. "description": "申请基差",
  9464. "type": "number"
  9465. },
  9466. "asapplyid": {
  9467. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9468. "type": "string"
  9469. },
  9470. "asname": {
  9471. "description": "策略名称",
  9472. "type": "string"
  9473. },
  9474. "asno": {
  9475. "description": "策略编号",
  9476. "type": "string"
  9477. },
  9478. "basischangepl": {
  9479. "description": "基差变动损益[结算更新]",
  9480. "type": "number"
  9481. },
  9482. "biztype": {
  9483. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9484. "type": "integer"
  9485. },
  9486. "closetradedate": {
  9487. "description": "完结交易日(yyyyMMdd)",
  9488. "type": "string"
  9489. },
  9490. "curbasis": {
  9491. "description": "当前基差[结算更新]",
  9492. "type": "number"
  9493. },
  9494. "deliverygoodsid": {
  9495. "description": "现货品种ID",
  9496. "type": "integer"
  9497. },
  9498. "futureavgprice": {
  9499. "description": "期货建仓均价",
  9500. "type": "number"
  9501. },
  9502. "futurecloseamount": {
  9503. "description": "期货平仓金额",
  9504. "type": "number"
  9505. },
  9506. "futurecloseqty": {
  9507. "description": "期货平仓数量",
  9508. "type": "number"
  9509. },
  9510. "futureopenamount": {
  9511. "description": "期货开仓金额",
  9512. "type": "number"
  9513. },
  9514. "futureopenqty": {
  9515. "description": "期货开仓数量",
  9516. "type": "number"
  9517. },
  9518. "futurepl": {
  9519. "description": "期货总盈亏[结算更新]",
  9520. "type": "number"
  9521. },
  9522. "futureqty": {
  9523. "description": "期货持仓数量",
  9524. "type": "number"
  9525. },
  9526. "futurequote": {
  9527. "description": "期货额度",
  9528. "type": "number"
  9529. },
  9530. "goodsgroupid": {
  9531. "description": "期货品种ID",
  9532. "type": "integer"
  9533. },
  9534. "marketid": {
  9535. "description": "市场ID",
  9536. "type": "integer"
  9537. },
  9538. "netexposure": {
  9539. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9540. "type": "number"
  9541. },
  9542. "netexposurepl": {
  9543. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9544. "type": "number"
  9545. },
  9546. "netexposurerate": {
  9547. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9548. "type": "number"
  9549. },
  9550. "openbasis": {
  9551. "description": "建仓基差",
  9552. "type": "number"
  9553. },
  9554. "pricedspotqty": {
  9555. "description": "已定价现货数量",
  9556. "type": "number"
  9557. },
  9558. "pricedspotqtynotax": {
  9559. "description": "已定价现货不含税数量",
  9560. "type": "number"
  9561. },
  9562. "remark": {
  9563. "description": "备注",
  9564. "type": "string"
  9565. },
  9566. "spotavgprice": {
  9567. "description": "现货均价",
  9568. "type": "number"
  9569. },
  9570. "spotbuyamount": {
  9571. "description": "现货采购金额",
  9572. "type": "number"
  9573. },
  9574. "spotbuyqty": {
  9575. "description": "现货采购数量",
  9576. "type": "number"
  9577. },
  9578. "spotpl": {
  9579. "description": "现货总盈亏[结算更新]",
  9580. "type": "number"
  9581. },
  9582. "spotquota": {
  9583. "description": "现货额度",
  9584. "type": "number"
  9585. },
  9586. "spotsellamount": {
  9587. "description": "现货销售金额",
  9588. "type": "number"
  9589. },
  9590. "spotsellqty": {
  9591. "description": "现货销售数量",
  9592. "type": "number"
  9593. },
  9594. "spotusedquota": {
  9595. "description": "现货占用资金",
  9596. "type": "number"
  9597. },
  9598. "strategystatus": {
  9599. "description": "策略状态 - 0:未结束 1:已结束",
  9600. "type": "integer"
  9601. },
  9602. "totalpl": {
  9603. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9604. "type": "number"
  9605. },
  9606. "tradedate": {
  9607. "description": "交易日(yyyyMMdd)",
  9608. "type": "string"
  9609. },
  9610. "updatetime": {
  9611. "description": "更新时间",
  9612. "type": "string"
  9613. },
  9614. "usedquota": {
  9615. "description": "已占用资金",
  9616. "type": "number"
  9617. },
  9618. "userid": {
  9619. "description": "所属机构",
  9620. "type": "integer"
  9621. }
  9622. }
  9623. },
  9624. "erms2.QueryInnerTradeDetailRsp": {
  9625. "type": "object",
  9626. "required": [
  9627. "asapplyid",
  9628. "buyorsell",
  9629. "goodscode",
  9630. "goodsgroupid",
  9631. "goodsgroupname",
  9632. "goodsname",
  9633. "tradeid"
  9634. ],
  9635. "properties": {
  9636. "accountid": {
  9637. "description": "账号ID",
  9638. "type": "integer"
  9639. },
  9640. "agreeunit": {
  9641. "description": "合约单位",
  9642. "type": "number"
  9643. },
  9644. "asapplyid": {
  9645. "description": "策略申请ID",
  9646. "type": "integer"
  9647. },
  9648. "asname": {
  9649. "description": "策略名称",
  9650. "type": "string"
  9651. },
  9652. "asno": {
  9653. "description": "策略编号",
  9654. "type": "string"
  9655. },
  9656. "buyorsell": {
  9657. "description": "方向 - 0:买 1:卖",
  9658. "type": "integer"
  9659. },
  9660. "channelbuildtype": {
  9661. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9662. "type": "integer"
  9663. },
  9664. "closetype": {
  9665. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9666. "type": "integer"
  9667. },
  9668. "decimalplace": {
  9669. "description": "报价小数位",
  9670. "type": "integer"
  9671. },
  9672. "detailtype": {
  9673. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9674. "type": "integer"
  9675. },
  9676. "exexchangecode": {
  9677. "description": "外部交易所代码",
  9678. "type": "string"
  9679. },
  9680. "exexchangename": {
  9681. "description": "外部交易所名称",
  9682. "type": "string"
  9683. },
  9684. "goodscode": {
  9685. "description": "商品代码(合约)",
  9686. "type": "string"
  9687. },
  9688. "goodsgroupid": {
  9689. "description": "商品组ID(品种ID)",
  9690. "type": "integer"
  9691. },
  9692. "goodsgroupname": {
  9693. "description": "商品组名称(品种)",
  9694. "type": "string"
  9695. },
  9696. "goodsid": {
  9697. "description": "商品ID",
  9698. "type": "integer"
  9699. },
  9700. "goodsname": {
  9701. "description": "商品名称(合约)",
  9702. "type": "string"
  9703. },
  9704. "goodunit": {
  9705. "description": "报价单位",
  9706. "type": "string"
  9707. },
  9708. "marketid": {
  9709. "description": "市场ID",
  9710. "type": "integer"
  9711. },
  9712. "orderid": {
  9713. "description": "委托单号",
  9714. "type": "string"
  9715. },
  9716. "outgoodscode": {
  9717. "description": "商品代码(外部)",
  9718. "type": "string"
  9719. },
  9720. "relatedouttradeid": {
  9721. "description": "关联外部成交单ID",
  9722. "type": "string"
  9723. },
  9724. "remark": {
  9725. "description": "备注",
  9726. "type": "string"
  9727. },
  9728. "spotcontractid": {
  9729. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9730. "type": "integer"
  9731. },
  9732. "spotcontractno": {
  9733. "description": "现货合同编号",
  9734. "type": "string"
  9735. },
  9736. "tradeid": {
  9737. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9738. "type": "string"
  9739. },
  9740. "tradeprice": {
  9741. "description": "成交价格",
  9742. "type": "number"
  9743. },
  9744. "tradeqty": {
  9745. "description": "成交数量",
  9746. "type": "integer"
  9747. },
  9748. "tradetime": {
  9749. "description": "成交时间",
  9750. "type": "string"
  9751. },
  9752. "updatetime": {
  9753. "description": "更新时间",
  9754. "type": "string"
  9755. }
  9756. }
  9757. },
  9758. "erms2.QuerySpotContractRsp": {
  9759. "type": "object",
  9760. "required": [
  9761. "spotcontractid"
  9762. ],
  9763. "properties": {
  9764. "accountid": {
  9765. "description": "资金账户ID",
  9766. "type": "integer"
  9767. },
  9768. "areauserid": {
  9769. "description": "所属机构",
  9770. "type": "integer"
  9771. },
  9772. "closedate": {
  9773. "description": "终止日期",
  9774. "type": "string"
  9775. },
  9776. "closeremark": {
  9777. "description": "结束备注",
  9778. "type": "string"
  9779. },
  9780. "closetradedate": {
  9781. "description": "完结交易日(yyyyMMdd)",
  9782. "type": "string"
  9783. },
  9784. "closetype": {
  9785. "description": "终止类型 - 1:违约 2:提前终止",
  9786. "type": "integer"
  9787. },
  9788. "contractamount": {
  9789. "description": "合同金额",
  9790. "type": "number"
  9791. },
  9792. "contractattachment": {
  9793. "description": "合同附件",
  9794. "type": "string"
  9795. },
  9796. "contractno": {
  9797. "description": "现货合同编号",
  9798. "type": "string"
  9799. },
  9800. "contractqty": {
  9801. "description": "合同数量(数值) (用于计算)",
  9802. "type": "number"
  9803. },
  9804. "contractqtychar": {
  9805. "description": "合同数量\\已订价数量 (用于显示)",
  9806. "type": "string"
  9807. },
  9808. "contractstatus": {
  9809. "description": "合同状态 - 0:未结束 1:已结束",
  9810. "type": "integer"
  9811. },
  9812. "contracttype": {
  9813. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9814. "type": "integer"
  9815. },
  9816. "customeraccountid": {
  9817. "description": "客户资金账户ID",
  9818. "type": "integer"
  9819. },
  9820. "customeruserid": {
  9821. "description": "客户ID",
  9822. "type": "integer"
  9823. },
  9824. "deliverygoodsdesc": {
  9825. "description": "品种说明",
  9826. "type": "string"
  9827. },
  9828. "deliverygoodsid": {
  9829. "description": "现货品种ID",
  9830. "type": "integer"
  9831. },
  9832. "handlestatus": {
  9833. "description": "处理状态",
  9834. "type": "integer"
  9835. },
  9836. "invoiceatt": {
  9837. "description": "发票附件",
  9838. "type": "string"
  9839. },
  9840. "invoicedatetime": {
  9841. "description": "开收票更新时间",
  9842. "type": "string"
  9843. },
  9844. "invoiceopentime": {
  9845. "description": "开票时间",
  9846. "type": "string"
  9847. },
  9848. "invoiceremark": {
  9849. "description": "发票备注",
  9850. "type": "string"
  9851. },
  9852. "invoicestatus": {
  9853. "description": "开收票状态 - 0:未开票 1:已开票",
  9854. "type": "integer"
  9855. },
  9856. "lastdate": {
  9857. "description": "交货时间",
  9858. "type": "string"
  9859. },
  9860. "marketid": {
  9861. "description": "市场ID",
  9862. "type": "integer"
  9863. },
  9864. "paydatetime": {
  9865. "description": "收付款更新时间",
  9866. "type": "string"
  9867. },
  9868. "payremark": {
  9869. "description": "收付款备注",
  9870. "type": "string"
  9871. },
  9872. "paystatus": {
  9873. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9874. "type": "integer"
  9875. },
  9876. "positionqty": {
  9877. "description": "头寸数量 - 合同数量去小数部分",
  9878. "type": "integer"
  9879. },
  9880. "producttype": {
  9881. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9882. "type": "integer"
  9883. },
  9884. "relatedqty": {
  9885. "description": "已关联数量",
  9886. "type": "number"
  9887. },
  9888. "relatedstatus": {
  9889. "description": "关联完结状态 - 0:未结束 1:已结束",
  9890. "type": "integer"
  9891. },
  9892. "remark": {
  9893. "description": "备注",
  9894. "type": "string"
  9895. },
  9896. "signdate": {
  9897. "description": "签订日期",
  9898. "type": "string"
  9899. },
  9900. "spotcontractid": {
  9901. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9902. "type": "string"
  9903. },
  9904. "spotdatetime": {
  9905. "description": "收发货更新时间",
  9906. "type": "string"
  9907. },
  9908. "spotprice": {
  9909. "description": "价格",
  9910. "type": "number"
  9911. },
  9912. "spotremark": {
  9913. "description": "收发货备注",
  9914. "type": "string"
  9915. },
  9916. "spotstatus": {
  9917. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9918. "type": "integer"
  9919. },
  9920. "tradedate": {
  9921. "description": "交易日(yyyyMMdd)",
  9922. "type": "string"
  9923. },
  9924. "userid": {
  9925. "description": "业务员用户ID",
  9926. "type": "integer"
  9927. },
  9928. "warehouseid": {
  9929. "description": "仓库ID",
  9930. "type": "integer"
  9931. },
  9932. "wrfactortypeid": {
  9933. "description": "仓单要素类型ID",
  9934. "type": "integer"
  9935. },
  9936. "wrstandardid": {
  9937. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9938. "type": "integer"
  9939. }
  9940. }
  9941. },
  9942. "erms3.AddErms2ASApplyReq": {
  9943. "type": "object",
  9944. "required": [
  9945. "asapplyid"
  9946. ],
  9947. "properties": {
  9948. "applybasis": {
  9949. "description": "申请基差",
  9950. "type": "number"
  9951. },
  9952. "applystatus": {
  9953. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9954. "type": "integer"
  9955. },
  9956. "asapplyid": {
  9957. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9958. "type": "integer"
  9959. },
  9960. "asname": {
  9961. "description": "策略名称",
  9962. "type": "string"
  9963. },
  9964. "asno": {
  9965. "description": "策略编号",
  9966. "type": "string"
  9967. },
  9968. "auditid": {
  9969. "description": "审核人",
  9970. "type": "integer"
  9971. },
  9972. "auditremark": {
  9973. "description": "审核备注",
  9974. "type": "string"
  9975. },
  9976. "audittime": {
  9977. "description": "审核时间",
  9978. "type": "string"
  9979. },
  9980. "biztype": {
  9981. "description": "业务类型 - 1:正向套利 2:反向套利",
  9982. "type": "integer"
  9983. },
  9984. "createtime": {
  9985. "description": "创建时间",
  9986. "type": "string"
  9987. },
  9988. "creatorid": {
  9989. "description": "创建人",
  9990. "type": "integer"
  9991. },
  9992. "deliverygoodsid": {
  9993. "description": "现货品种ID",
  9994. "type": "integer"
  9995. },
  9996. "futurequote": {
  9997. "description": "期货额度",
  9998. "type": "number"
  9999. },
  10000. "goodsgroupid": {
  10001. "description": "期货品种ID",
  10002. "type": "integer"
  10003. },
  10004. "marketid": {
  10005. "description": "市场ID",
  10006. "type": "integer"
  10007. },
  10008. "remark": {
  10009. "description": "备注",
  10010. "type": "string"
  10011. },
  10012. "spotquota": {
  10013. "description": "现货额度",
  10014. "type": "number"
  10015. },
  10016. "tradedate": {
  10017. "description": "交易日(yyyyMMdd)",
  10018. "type": "string"
  10019. },
  10020. "userid": {
  10021. "description": "所属机构",
  10022. "type": "integer"
  10023. }
  10024. }
  10025. },
  10026. "erms3.AddErms2SpotTradeApplyReq": {
  10027. "type": "object",
  10028. "required": [
  10029. "spottradeid"
  10030. ],
  10031. "properties": {
  10032. "applyjsondetail": {
  10033. "description": "申请明细(JSON)",
  10034. "type": "string"
  10035. },
  10036. "applystatus": {
  10037. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10038. "type": "integer"
  10039. },
  10040. "areauserid": {
  10041. "description": "所属机构",
  10042. "type": "integer"
  10043. },
  10044. "auditid": {
  10045. "description": "审核人",
  10046. "type": "integer"
  10047. },
  10048. "auditremark": {
  10049. "description": "审核备注",
  10050. "type": "string"
  10051. },
  10052. "audittime": {
  10053. "description": "审核时间",
  10054. "type": "string"
  10055. },
  10056. "createtime": {
  10057. "description": "创建时间",
  10058. "type": "string"
  10059. },
  10060. "creatorid": {
  10061. "description": "创建人",
  10062. "type": "integer"
  10063. },
  10064. "deliverygoodsid": {
  10065. "description": "现货品种ID",
  10066. "type": "integer"
  10067. },
  10068. "futureaccountid": {
  10069. "description": "期货资金账户",
  10070. "type": "integer"
  10071. },
  10072. "goodsgroupid": {
  10073. "description": "期货品种",
  10074. "type": "integer"
  10075. },
  10076. "marketid": {
  10077. "description": "市场ID",
  10078. "type": "integer"
  10079. },
  10080. "remark": {
  10081. "description": "备注",
  10082. "type": "string"
  10083. },
  10084. "spotaccountid": {
  10085. "description": "现货资金账户",
  10086. "type": "integer"
  10087. },
  10088. "spottradeid": {
  10089. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10090. "type": "integer"
  10091. },
  10092. "spottradename": {
  10093. "description": "业务名称",
  10094. "type": "string"
  10095. },
  10096. "spottradeno": {
  10097. "description": "业务编号",
  10098. "type": "string"
  10099. },
  10100. "tradedate": {
  10101. "description": "交易日(yyyyMMdd)",
  10102. "type": "string"
  10103. },
  10104. "wrstandardid": {
  10105. "description": "仓单标准ID",
  10106. "type": "integer"
  10107. }
  10108. }
  10109. },
  10110. "erms3.AddSpotContractApplyReq": {
  10111. "type": "object",
  10112. "required": [
  10113. "accountid",
  10114. "areauserid",
  10115. "contractno",
  10116. "contracttype",
  10117. "customeraccountid",
  10118. "customeruserid",
  10119. "details",
  10120. "orimargin",
  10121. "signdate"
  10122. ],
  10123. "properties": {
  10124. "accountid": {
  10125. "description": "资金账户ID",
  10126. "type": "integer"
  10127. },
  10128. "areauserid": {
  10129. "description": "所属机构",
  10130. "type": "integer"
  10131. },
  10132. "contractattachment": {
  10133. "description": "合同附件",
  10134. "type": "string"
  10135. },
  10136. "contractno": {
  10137. "description": "现货合同编号",
  10138. "type": "string"
  10139. },
  10140. "contracttype": {
  10141. "description": "现货合同类型 - 1:采购 -1:销售",
  10142. "type": "integer"
  10143. },
  10144. "creatorid": {
  10145. "description": "申请人",
  10146. "type": "integer"
  10147. },
  10148. "customeraccountid": {
  10149. "description": "客户资金账户ID",
  10150. "type": "integer"
  10151. },
  10152. "customeruserid": {
  10153. "description": "客户ID",
  10154. "type": "integer"
  10155. },
  10156. "details": {
  10157. "description": "明细",
  10158. "type": "array",
  10159. "items": {
  10160. "$ref": "#/definitions/erms3.SoptContractDetail"
  10161. }
  10162. },
  10163. "orimargin": {
  10164. "description": "初始保证金",
  10165. "type": "number"
  10166. },
  10167. "remark": {
  10168. "description": "备注",
  10169. "type": "string"
  10170. },
  10171. "signdate": {
  10172. "description": "签订日期",
  10173. "type": "string"
  10174. }
  10175. }
  10176. },
  10177. "erms3.AddSpotContractApplyRsp": {
  10178. "type": "object",
  10179. "required": [
  10180. "contractno"
  10181. ],
  10182. "properties": {
  10183. "contractno": {
  10184. "description": "现货合同编号",
  10185. "type": "string"
  10186. },
  10187. "spotcontractid": {
  10188. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10189. "type": "integer"
  10190. }
  10191. }
  10192. },
  10193. "erms3.AddUserInfoApplyReq": {
  10194. "type": "object",
  10195. "required": [
  10196. "userid"
  10197. ],
  10198. "properties": {
  10199. "accountid": {
  10200. "description": "交易系统帐号Id (加密存储)",
  10201. "type": "integer"
  10202. },
  10203. "areacode": {
  10204. "description": "机构代码",
  10205. "type": "string"
  10206. },
  10207. "areaid": {
  10208. "description": "机构Id",
  10209. "type": "integer"
  10210. },
  10211. "attachment1": {
  10212. "description": "附件1",
  10213. "type": "string"
  10214. },
  10215. "attachment2": {
  10216. "description": "附件2",
  10217. "type": "string"
  10218. },
  10219. "attachment3": {
  10220. "description": "附件3",
  10221. "type": "string"
  10222. },
  10223. "attachment4": {
  10224. "description": "附件4",
  10225. "type": "string"
  10226. },
  10227. "attachment5": {
  10228. "description": "附件5",
  10229. "type": "string"
  10230. },
  10231. "auditedby": {
  10232. "description": "审核人",
  10233. "type": "string"
  10234. },
  10235. "auditime": {
  10236. "description": "审核时间",
  10237. "type": "string"
  10238. },
  10239. "bankaccount": {
  10240. "description": "银行帐号 (加密存储)",
  10241. "type": "string"
  10242. },
  10243. "bankaccountname": {
  10244. "description": "收款人名称",
  10245. "type": "string"
  10246. },
  10247. "bankcardbackphotourl": {
  10248. "description": "银行卡背面照地址",
  10249. "type": "string"
  10250. },
  10251. "bankcardfrontphotourl": {
  10252. "description": "银行卡正面照地址",
  10253. "type": "string"
  10254. },
  10255. "bankid": {
  10256. "description": "银行编码",
  10257. "type": "string"
  10258. },
  10259. "bankname": {
  10260. "description": "银行名称",
  10261. "type": "string"
  10262. },
  10263. "bankpictureurl": {
  10264. "description": "银行卡正面地址",
  10265. "type": "string"
  10266. },
  10267. "biznature": {
  10268. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10269. "type": "integer"
  10270. },
  10271. "bizscope": {
  10272. "description": "企业经营范围(企业)",
  10273. "type": "string"
  10274. },
  10275. "biztype": {
  10276. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10277. "type": "integer"
  10278. },
  10279. "brokerid": {
  10280. "description": "经纪人ID(加密存储)",
  10281. "type": "string"
  10282. },
  10283. "cardaddress": {
  10284. "description": "证件地址 (加密存储)",
  10285. "type": "string"
  10286. },
  10287. "cardbackphotourl": {
  10288. "description": "背面证件照地址",
  10289. "type": "string"
  10290. },
  10291. "cardfrontphotourl": {
  10292. "description": "正面证件照地址",
  10293. "type": "string"
  10294. },
  10295. "cardnum": {
  10296. "description": "证件号码 (加密存储)",
  10297. "type": "string"
  10298. },
  10299. "cardtype": {
  10300. "description": "证件类型",
  10301. "type": "integer"
  10302. },
  10303. "cityid": {
  10304. "description": "市",
  10305. "type": "integer"
  10306. },
  10307. "company": {
  10308. "description": "公司(个人)",
  10309. "type": "string"
  10310. },
  10311. "contactcardbackphotourl": {
  10312. "description": "联系人证件背面图片地址",
  10313. "type": "string"
  10314. },
  10315. "contactcardfrontphotourl": {
  10316. "description": "联系人证件正面图片地址",
  10317. "type": "string"
  10318. },
  10319. "contactname": {
  10320. "description": "联系人",
  10321. "type": "string"
  10322. },
  10323. "countryid": {
  10324. "description": "国家",
  10325. "type": "integer"
  10326. },
  10327. "createtime": {
  10328. "description": "开户申请时间",
  10329. "type": "string"
  10330. },
  10331. "cusbankid": {
  10332. "description": "签约类型",
  10333. "type": "string"
  10334. },
  10335. "cusbankname": {
  10336. "description": "签约类型名称",
  10337. "type": "string"
  10338. },
  10339. "customername": {
  10340. "description": "客户名称(企业名称)",
  10341. "type": "string"
  10342. },
  10343. "districtid": {
  10344. "description": "地区",
  10345. "type": "integer"
  10346. },
  10347. "email": {
  10348. "description": "Email地址(加密存储)",
  10349. "type": "string"
  10350. },
  10351. "halfbodyphotourl": {
  10352. "description": "半身照地址",
  10353. "type": "string"
  10354. },
  10355. "headurl": {
  10356. "description": "头像地址",
  10357. "type": "string"
  10358. },
  10359. "ipaddress": {
  10360. "description": "IP地址",
  10361. "type": "string"
  10362. },
  10363. "isvalidate": {
  10364. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10365. "type": "string"
  10366. },
  10367. "legalcardbackphotourl": {
  10368. "description": "法人身份证背面照地址",
  10369. "type": "string"
  10370. },
  10371. "legalcardfrontphotourl": {
  10372. "description": "法人身份证正面照地址",
  10373. "type": "string"
  10374. },
  10375. "legalpersonname": {
  10376. "description": "法人姓名(企业)",
  10377. "type": "string"
  10378. },
  10379. "logincode": {
  10380. "description": "登录帐号 (加密存储)",
  10381. "type": "string"
  10382. },
  10383. "memberareaid": {
  10384. "description": "所属会员ID",
  10385. "type": "integer"
  10386. },
  10387. "mobile2": {
  10388. "description": "手机号码[明文-尚志]",
  10389. "type": "string"
  10390. },
  10391. "mobilephone": {
  10392. "description": "手机号码 (加密存储)",
  10393. "type": "string"
  10394. },
  10395. "modifiedby": {
  10396. "description": "修改人帐号",
  10397. "type": "integer"
  10398. },
  10399. "modifiedtime": {
  10400. "description": "修改时间",
  10401. "type": "string"
  10402. },
  10403. "nickname": {
  10404. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10405. "type": "string"
  10406. },
  10407. "openmode": {
  10408. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10409. "type": "integer"
  10410. },
  10411. "otherurl": {
  10412. "description": "其它图片地址[使用分号分隔]",
  10413. "type": "string"
  10414. },
  10415. "postalcode": {
  10416. "description": "邮政编码",
  10417. "type": "string"
  10418. },
  10419. "provinceid": {
  10420. "description": "省",
  10421. "type": "integer"
  10422. },
  10423. "proxystatementurl": {
  10424. "description": "授权委托书",
  10425. "type": "string"
  10426. },
  10427. "qq": {
  10428. "description": "QQ(加密存储",
  10429. "type": "string"
  10430. },
  10431. "referral": {
  10432. "description": "推荐人编码",
  10433. "type": "string"
  10434. },
  10435. "remark": {
  10436. "description": "备注",
  10437. "type": "string"
  10438. },
  10439. "removebeforestatus": {
  10440. "description": "REMOVEBEFORESTATUS",
  10441. "type": "integer"
  10442. },
  10443. "sex": {
  10444. "description": "性别 - 0:女 1:男",
  10445. "type": "integer"
  10446. },
  10447. "signedstatus": {
  10448. "description": "账户一号签签约状态",
  10449. "type": "integer"
  10450. },
  10451. "signpdfurl": {
  10452. "description": "签约pdf文件",
  10453. "type": "string"
  10454. },
  10455. "subbranch": {
  10456. "description": "开户支行",
  10457. "type": "string"
  10458. },
  10459. "telphone": {
  10460. "description": "联系电话(加密存储)",
  10461. "type": "string"
  10462. },
  10463. "userid": {
  10464. "description": "用户ID(自增ID)",
  10465. "type": "integer"
  10466. },
  10467. "userinfotype": {
  10468. "description": "用户信息类型 - 1:个人 2:企业",
  10469. "type": "integer"
  10470. },
  10471. "username": {
  10472. "description": "用户姓名",
  10473. "type": "string"
  10474. },
  10475. "userstate": {
  10476. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10477. "type": "integer"
  10478. },
  10479. "usertype": {
  10480. "description": "用户类型 - 1:投资者 2:机构",
  10481. "type": "integer"
  10482. },
  10483. "videourl": {
  10484. "description": "视频地址",
  10485. "type": "string"
  10486. },
  10487. "wechat": {
  10488. "description": "微信号 (加密存储)",
  10489. "type": "string"
  10490. }
  10491. }
  10492. },
  10493. "erms3.CustomerInfo": {
  10494. "type": "object",
  10495. "required": [
  10496. "userid"
  10497. ],
  10498. "properties": {
  10499. "accountids": {
  10500. "description": "资金账户ID列表",
  10501. "type": "array",
  10502. "items": {
  10503. "type": "integer"
  10504. }
  10505. },
  10506. "customername": {
  10507. "description": "名称(企业名称)",
  10508. "type": "string"
  10509. },
  10510. "mobile": {
  10511. "description": "手机号码",
  10512. "type": "string"
  10513. },
  10514. "userid": {
  10515. "description": "用户ID",
  10516. "type": "integer"
  10517. }
  10518. }
  10519. },
  10520. "erms3.ModifyUserInfoApplyReq": {
  10521. "type": "object",
  10522. "required": [
  10523. "userid"
  10524. ],
  10525. "properties": {
  10526. "accountid": {
  10527. "description": "交易系统帐号Id (加密存储)",
  10528. "type": "integer"
  10529. },
  10530. "areacode": {
  10531. "description": "机构代码",
  10532. "type": "string"
  10533. },
  10534. "areaid": {
  10535. "description": "机构Id",
  10536. "type": "integer"
  10537. },
  10538. "attachment1": {
  10539. "description": "附件1",
  10540. "type": "string"
  10541. },
  10542. "attachment2": {
  10543. "description": "附件2",
  10544. "type": "string"
  10545. },
  10546. "attachment3": {
  10547. "description": "附件3",
  10548. "type": "string"
  10549. },
  10550. "attachment4": {
  10551. "description": "附件4",
  10552. "type": "string"
  10553. },
  10554. "attachment5": {
  10555. "description": "附件5",
  10556. "type": "string"
  10557. },
  10558. "auditedby": {
  10559. "description": "审核人",
  10560. "type": "string"
  10561. },
  10562. "auditime": {
  10563. "description": "审核时间",
  10564. "type": "string"
  10565. },
  10566. "bankaccount": {
  10567. "description": "银行帐号 (加密存储)",
  10568. "type": "string"
  10569. },
  10570. "bankaccountname": {
  10571. "description": "收款人名称",
  10572. "type": "string"
  10573. },
  10574. "bankcardbackphotourl": {
  10575. "description": "银行卡背面照地址",
  10576. "type": "string"
  10577. },
  10578. "bankcardfrontphotourl": {
  10579. "description": "银行卡正面照地址",
  10580. "type": "string"
  10581. },
  10582. "bankid": {
  10583. "description": "银行编码",
  10584. "type": "string"
  10585. },
  10586. "bankname": {
  10587. "description": "银行名称",
  10588. "type": "string"
  10589. },
  10590. "bankpictureurl": {
  10591. "description": "银行卡正面地址",
  10592. "type": "string"
  10593. },
  10594. "biznature": {
  10595. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10596. "type": "integer"
  10597. },
  10598. "bizscope": {
  10599. "description": "企业经营范围(企业)",
  10600. "type": "string"
  10601. },
  10602. "biztype": {
  10603. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10604. "type": "integer"
  10605. },
  10606. "brokerid": {
  10607. "description": "经纪人ID(加密存储)",
  10608. "type": "string"
  10609. },
  10610. "cardaddress": {
  10611. "description": "证件地址 (加密存储)",
  10612. "type": "string"
  10613. },
  10614. "cardbackphotourl": {
  10615. "description": "背面证件照地址",
  10616. "type": "string"
  10617. },
  10618. "cardfrontphotourl": {
  10619. "description": "正面证件照地址",
  10620. "type": "string"
  10621. },
  10622. "cardnum": {
  10623. "description": "证件号码 (加密存储)",
  10624. "type": "string"
  10625. },
  10626. "cardtype": {
  10627. "description": "证件类型",
  10628. "type": "integer"
  10629. },
  10630. "cityid": {
  10631. "description": "市",
  10632. "type": "integer"
  10633. },
  10634. "company": {
  10635. "description": "公司(个人)",
  10636. "type": "string"
  10637. },
  10638. "contactcardbackphotourl": {
  10639. "description": "联系人证件背面图片地址",
  10640. "type": "string"
  10641. },
  10642. "contactcardfrontphotourl": {
  10643. "description": "联系人证件正面图片地址",
  10644. "type": "string"
  10645. },
  10646. "contactname": {
  10647. "description": "联系人",
  10648. "type": "string"
  10649. },
  10650. "countryid": {
  10651. "description": "国家",
  10652. "type": "integer"
  10653. },
  10654. "createtime": {
  10655. "description": "开户申请时间",
  10656. "type": "string"
  10657. },
  10658. "cusbankid": {
  10659. "description": "签约类型",
  10660. "type": "string"
  10661. },
  10662. "cusbankname": {
  10663. "description": "签约类型名称",
  10664. "type": "string"
  10665. },
  10666. "customername": {
  10667. "description": "客户名称(企业名称)",
  10668. "type": "string"
  10669. },
  10670. "districtid": {
  10671. "description": "地区",
  10672. "type": "integer"
  10673. },
  10674. "email": {
  10675. "description": "Email地址(加密存储)",
  10676. "type": "string"
  10677. },
  10678. "halfbodyphotourl": {
  10679. "description": "半身照地址",
  10680. "type": "string"
  10681. },
  10682. "headurl": {
  10683. "description": "头像地址",
  10684. "type": "string"
  10685. },
  10686. "ipaddress": {
  10687. "description": "IP地址",
  10688. "type": "string"
  10689. },
  10690. "isvalidate": {
  10691. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10692. "type": "string"
  10693. },
  10694. "legalcardbackphotourl": {
  10695. "description": "法人身份证背面照地址",
  10696. "type": "string"
  10697. },
  10698. "legalcardfrontphotourl": {
  10699. "description": "法人身份证正面照地址",
  10700. "type": "string"
  10701. },
  10702. "legalpersonname": {
  10703. "description": "法人姓名(企业)",
  10704. "type": "string"
  10705. },
  10706. "logincode": {
  10707. "description": "登录帐号 (加密存储)",
  10708. "type": "string"
  10709. },
  10710. "memberareaid": {
  10711. "description": "所属会员ID",
  10712. "type": "integer"
  10713. },
  10714. "mobile2": {
  10715. "description": "手机号码[明文-尚志]",
  10716. "type": "string"
  10717. },
  10718. "mobilephone": {
  10719. "description": "手机号码 (加密存储)",
  10720. "type": "string"
  10721. },
  10722. "modifiedby": {
  10723. "description": "修改人帐号",
  10724. "type": "integer"
  10725. },
  10726. "modifiedtime": {
  10727. "description": "修改时间",
  10728. "type": "string"
  10729. },
  10730. "nickname": {
  10731. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10732. "type": "string"
  10733. },
  10734. "openmode": {
  10735. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10736. "type": "integer"
  10737. },
  10738. "otherurl": {
  10739. "description": "其它图片地址[使用分号分隔]",
  10740. "type": "string"
  10741. },
  10742. "postalcode": {
  10743. "description": "邮政编码",
  10744. "type": "string"
  10745. },
  10746. "provinceid": {
  10747. "description": "省",
  10748. "type": "integer"
  10749. },
  10750. "proxystatementurl": {
  10751. "description": "授权委托书",
  10752. "type": "string"
  10753. },
  10754. "qq": {
  10755. "description": "QQ(加密存储",
  10756. "type": "string"
  10757. },
  10758. "referral": {
  10759. "description": "推荐人编码",
  10760. "type": "string"
  10761. },
  10762. "remark": {
  10763. "description": "备注",
  10764. "type": "string"
  10765. },
  10766. "removebeforestatus": {
  10767. "description": "REMOVEBEFORESTATUS",
  10768. "type": "integer"
  10769. },
  10770. "sex": {
  10771. "description": "性别 - 0:女 1:男",
  10772. "type": "integer"
  10773. },
  10774. "signedstatus": {
  10775. "description": "账户一号签签约状态",
  10776. "type": "integer"
  10777. },
  10778. "signpdfurl": {
  10779. "description": "签约pdf文件",
  10780. "type": "string"
  10781. },
  10782. "subbranch": {
  10783. "description": "开户支行",
  10784. "type": "string"
  10785. },
  10786. "telphone": {
  10787. "description": "联系电话(加密存储)",
  10788. "type": "string"
  10789. },
  10790. "userid": {
  10791. "description": "用户ID(自增ID)",
  10792. "type": "integer"
  10793. },
  10794. "userinfotype": {
  10795. "description": "用户信息类型 - 1:个人 2:企业",
  10796. "type": "integer"
  10797. },
  10798. "username": {
  10799. "description": "用户姓名",
  10800. "type": "string"
  10801. },
  10802. "userstate": {
  10803. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10804. "type": "integer"
  10805. },
  10806. "usertype": {
  10807. "description": "用户类型 - 1:投资者 2:机构",
  10808. "type": "integer"
  10809. },
  10810. "videourl": {
  10811. "description": "视频地址",
  10812. "type": "string"
  10813. },
  10814. "wechat": {
  10815. "description": "微信号 (加密存储)",
  10816. "type": "string"
  10817. }
  10818. }
  10819. },
  10820. "erms3.QryAuditContractRsp": {
  10821. "type": "object",
  10822. "required": [
  10823. "matchcustomername",
  10824. "spotcontractid"
  10825. ],
  10826. "properties": {
  10827. "accountid": {
  10828. "description": "交易员ID",
  10829. "type": "string"
  10830. },
  10831. "applystatus": {
  10832. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10833. "type": "integer"
  10834. },
  10835. "curdeliveryqty": {
  10836. "description": "未交收量",
  10837. "type": "integer"
  10838. },
  10839. "customername": {
  10840. "description": "采购方ID",
  10841. "type": "string"
  10842. },
  10843. "deliverygoodsid": {
  10844. "description": "品种ID",
  10845. "type": "string"
  10846. },
  10847. "deliveryqty": {
  10848. "description": "交收量",
  10849. "type": "integer"
  10850. },
  10851. "enumdicname": {
  10852. "description": "单位名称",
  10853. "type": "string"
  10854. },
  10855. "matchaccountid": {
  10856. "description": "业务员ID",
  10857. "type": "string"
  10858. },
  10859. "matchcustomername": {
  10860. "description": "销售方ID",
  10861. "type": "string"
  10862. },
  10863. "pricedqty": {
  10864. "description": "定价量",
  10865. "type": "number"
  10866. },
  10867. "signdate": {
  10868. "description": "签订日期",
  10869. "type": "string"
  10870. },
  10871. "spotcontractid": {
  10872. "description": "合同ID",
  10873. "type": "string"
  10874. },
  10875. "totaldqty": {
  10876. "description": "合同量",
  10877. "type": "number"
  10878. },
  10879. "unpricedqty": {
  10880. "description": "未定价量",
  10881. "type": "number"
  10882. },
  10883. "wrstandardname": {
  10884. "description": "商品名称",
  10885. "type": "string"
  10886. }
  10887. }
  10888. },
  10889. "erms3.QryPendingBizRsp": {
  10890. "type": "object",
  10891. "properties": {
  10892. "accountid": {
  10893. "description": "现货账户",
  10894. "type": "string"
  10895. },
  10896. "areaname": {
  10897. "description": "所属部门",
  10898. "type": "string"
  10899. },
  10900. "bizid": {
  10901. "description": "业务ID",
  10902. "type": "string"
  10903. },
  10904. "bizname": {
  10905. "description": "业务名称",
  10906. "type": "string"
  10907. },
  10908. "status": {
  10909. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10910. "type": "integer"
  10911. },
  10912. "type": {
  10913. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10914. "type": "integer"
  10915. }
  10916. }
  10917. },
  10918. "erms3.QueryBusinessInfoRsp": {
  10919. "type": "object",
  10920. "properties": {
  10921. "businessid": {
  10922. "description": "业务ID.",
  10923. "type": "integer"
  10924. },
  10925. "buyamount": {
  10926. "description": "采购额.",
  10927. "type": "number"
  10928. },
  10929. "buyqty": {
  10930. "description": "采购量.",
  10931. "type": "string"
  10932. },
  10933. "futurepl": {
  10934. "description": "期货盈亏.",
  10935. "type": "number"
  10936. },
  10937. "futureqty": {
  10938. "description": "期货敞口.",
  10939. "type": "string"
  10940. },
  10941. "goodsid": {
  10942. "description": "商品名称/商品代码.",
  10943. "type": "string"
  10944. },
  10945. "hedgingqty": {
  10946. "description": "套保量.",
  10947. "type": "string"
  10948. },
  10949. "sellamount": {
  10950. "description": "销售额.",
  10951. "type": "number"
  10952. },
  10953. "sellqty": {
  10954. "description": "销售量.",
  10955. "type": "string"
  10956. },
  10957. "spotmarketvalue": {
  10958. "description": "现货市值.",
  10959. "type": "number"
  10960. },
  10961. "spotpl": {
  10962. "description": "浮动权益.",
  10963. "type": "number"
  10964. },
  10965. "spotqty": {
  10966. "description": "现货量.",
  10967. "type": "string"
  10968. },
  10969. "statu": {
  10970. "description": "状态,0-未结束 1-已结束.",
  10971. "type": "integer"
  10972. },
  10973. "totalpl": {
  10974. "description": "总盈亏.",
  10975. "type": "number"
  10976. },
  10977. "totalqty": {
  10978. "description": "总敞口.",
  10979. "type": "string"
  10980. },
  10981. "type": {
  10982. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10983. "type": "integer"
  10984. }
  10985. }
  10986. },
  10987. "erms3.QuerySpotContractAppleFormRsp": {
  10988. "type": "object",
  10989. "properties": {
  10990. "goodses": {
  10991. "description": "合约列表",
  10992. "type": "array",
  10993. "items": {
  10994. "$ref": "#/definitions/models.GoodsIDAndName"
  10995. }
  10996. },
  10997. "oppositeusers": {
  10998. "description": "对方账号列表",
  10999. "type": "array",
  11000. "items": {
  11001. "$ref": "#/definitions/erms3.CustomerInfo"
  11002. }
  11003. },
  11004. "ouruser": {
  11005. "description": "我方账号",
  11006. "$ref": "#/definitions/erms3.CustomerInfo"
  11007. },
  11008. "warehouseinfos": {
  11009. "description": "仓库信息列表",
  11010. "type": "array",
  11011. "items": {
  11012. "$ref": "#/definitions/models.Warehouseinfo"
  11013. }
  11014. },
  11015. "wrstandards": {
  11016. "description": "仓单标准列表",
  11017. "type": "array",
  11018. "items": {
  11019. "$ref": "#/definitions/models.WRStandardInfo"
  11020. }
  11021. }
  11022. }
  11023. },
  11024. "erms3.QuerySpotContractInfoRsp": {
  11025. "type": "object",
  11026. "properties": {
  11027. "accountid": {
  11028. "description": "表示交易员ID.",
  11029. "type": "integer"
  11030. },
  11031. "curdeliveryqty": {
  11032. "description": "表示未交收量.",
  11033. "type": "number"
  11034. },
  11035. "customername": {
  11036. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11037. "type": "string"
  11038. },
  11039. "deliverygoodsid": {
  11040. "description": "表示品种ID.",
  11041. "type": "string"
  11042. },
  11043. "deliveryqty": {
  11044. "description": "表示交收量.",
  11045. "type": "number"
  11046. },
  11047. "matchaccountid": {
  11048. "description": "表示业务员ID.",
  11049. "type": "integer"
  11050. },
  11051. "matchcustomername": {
  11052. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11053. "type": "string"
  11054. },
  11055. "priceqty": {
  11056. "description": "表示定价量.",
  11057. "type": "number"
  11058. },
  11059. "relatedbizid": {
  11060. "description": "表示业务ID.",
  11061. "type": "string"
  11062. },
  11063. "signdate": {
  11064. "description": "表示签订日期.",
  11065. "type": "string"
  11066. },
  11067. "spotcontractid": {
  11068. "description": "合同ID",
  11069. "type": "string"
  11070. },
  11071. "status": {
  11072. "description": "表示状态,0-履约中 1-已完成.",
  11073. "type": "integer"
  11074. },
  11075. "totalqty": {
  11076. "description": "表示合同量.",
  11077. "type": "number"
  11078. },
  11079. "unpricedqty": {
  11080. "description": "表示未定价量.",
  11081. "type": "number"
  11082. },
  11083. "wrstandardname": {
  11084. "description": "表示商品ID.",
  11085. "type": "string"
  11086. }
  11087. }
  11088. },
  11089. "erms3.QueryUserInfoAppliesRsp": {
  11090. "type": "object",
  11091. "required": [
  11092. "userid"
  11093. ],
  11094. "properties": {
  11095. "biznature": {
  11096. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11097. "type": "integer"
  11098. },
  11099. "contactname": {
  11100. "description": "联系人",
  11101. "type": "string"
  11102. },
  11103. "createtime": {
  11104. "description": "开户申请时间",
  11105. "type": "string"
  11106. },
  11107. "userid": {
  11108. "description": "用户ID(自增ID)",
  11109. "type": "integer"
  11110. },
  11111. "userinfotype": {
  11112. "description": "用户信息类型 - 1:个人 2:企业",
  11113. "type": "integer"
  11114. },
  11115. "username": {
  11116. "description": "用户姓名",
  11117. "type": "string"
  11118. },
  11119. "userstate": {
  11120. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11121. "type": "integer"
  11122. }
  11123. }
  11124. },
  11125. "erms3.QueryUserInfosRsp": {
  11126. "type": "object",
  11127. "required": [
  11128. "userid"
  11129. ],
  11130. "properties": {
  11131. "biznature": {
  11132. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11133. "type": "integer"
  11134. },
  11135. "contactname": {
  11136. "description": "联系人",
  11137. "type": "string"
  11138. },
  11139. "customername": {
  11140. "description": "客户名称(企业名称)",
  11141. "type": "string"
  11142. },
  11143. "userid": {
  11144. "description": "用户ID",
  11145. "type": "integer"
  11146. },
  11147. "userinfotype": {
  11148. "description": "用户信息类型 - 1:个人 2:企业",
  11149. "type": "integer"
  11150. },
  11151. "userstatus": {
  11152. "description": "用户状态 - 1:正常 2:注销",
  11153. "type": "integer"
  11154. }
  11155. }
  11156. },
  11157. "erms3.SoptContractDetail": {
  11158. "type": "object",
  11159. "required": [
  11160. "deliverygoodsid",
  11161. "producttype",
  11162. "unitname",
  11163. "warehouseid",
  11164. "wrstandardid",
  11165. "wrstandardname"
  11166. ],
  11167. "properties": {
  11168. "deliverygoodsdesc": {
  11169. "description": "现货品种说明",
  11170. "type": "string"
  11171. },
  11172. "deliverygoodsid": {
  11173. "description": "现货品种ID",
  11174. "type": "integer"
  11175. },
  11176. "deliverygoodsname": {
  11177. "description": "现货品种名称",
  11178. "type": "string"
  11179. },
  11180. "pointdesc": {
  11181. "description": "点价描述",
  11182. "type": "string"
  11183. },
  11184. "producttype": {
  11185. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11186. "type": "integer"
  11187. },
  11188. "producttypename": {
  11189. "description": "产品类型名称",
  11190. "type": "string"
  11191. },
  11192. "spotPointOrderVoList": {
  11193. "description": "点价列表",
  11194. "type": "array",
  11195. "items": {
  11196. "$ref": "#/definitions/erms3.SpotPointOrder"
  11197. }
  11198. },
  11199. "spotPriceOrderList": {
  11200. "description": "定价列表",
  11201. "type": "array",
  11202. "items": {
  11203. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11204. }
  11205. },
  11206. "unitname": {
  11207. "description": "单位名称",
  11208. "type": "string"
  11209. },
  11210. "warehouseid": {
  11211. "description": "仓库ID",
  11212. "type": "integer"
  11213. },
  11214. "warehousename": {
  11215. "description": "仓库名称",
  11216. "type": "string"
  11217. },
  11218. "wrstandardid": {
  11219. "description": "交易标的ID",
  11220. "type": "integer"
  11221. },
  11222. "wrstandardname": {
  11223. "description": "交易标的名称",
  11224. "type": "string"
  11225. }
  11226. }
  11227. },
  11228. "erms3.SpotPointOrder": {
  11229. "type": "object",
  11230. "required": [
  11231. "basic",
  11232. "goodsid",
  11233. "qty"
  11234. ],
  11235. "properties": {
  11236. "basic": {
  11237. "description": "基差",
  11238. "type": "number"
  11239. },
  11240. "deliveryenddate": {
  11241. "description": "交收结束日期",
  11242. "type": "string"
  11243. },
  11244. "deliverystartdate": {
  11245. "description": "交收开始日期",
  11246. "type": "string"
  11247. },
  11248. "enddate": {
  11249. "description": "点价结束日期",
  11250. "type": "string"
  11251. },
  11252. "goodsid": {
  11253. "description": "商品ID",
  11254. "type": "integer"
  11255. },
  11256. "goodsname": {
  11257. "description": "商品名称",
  11258. "type": "string"
  11259. },
  11260. "qty": {
  11261. "description": "数量",
  11262. "type": "number"
  11263. },
  11264. "startdate": {
  11265. "description": "点价开始日期",
  11266. "type": "string"
  11267. }
  11268. }
  11269. },
  11270. "erms3.SpotPriceOrder": {
  11271. "type": "object",
  11272. "required": [
  11273. "amount",
  11274. "price",
  11275. "qty"
  11276. ],
  11277. "properties": {
  11278. "amount": {
  11279. "description": "金额",
  11280. "type": "number"
  11281. },
  11282. "deliveryenddate": {
  11283. "description": "交收结束日期",
  11284. "type": "string"
  11285. },
  11286. "deliverystartdate": {
  11287. "description": "交收开始日期",
  11288. "type": "string"
  11289. },
  11290. "price": {
  11291. "description": "价格",
  11292. "type": "number"
  11293. },
  11294. "qty": {
  11295. "description": "数量",
  11296. "type": "number"
  11297. }
  11298. }
  11299. },
  11300. "hsby.GetHsbyMyCountRsp": {
  11301. "type": "object",
  11302. "properties": {
  11303. "myCouponCount": {
  11304. "description": "我的优惠卷数量",
  11305. "type": "integer"
  11306. },
  11307. "myOrderDetailListingCount": {
  11308. "description": "我的订单求购中数量",
  11309. "type": "integer"
  11310. },
  11311. "myOrderDetailPreCount": {
  11312. "description": "我的订单抢购中数量",
  11313. "type": "integer"
  11314. },
  11315. "myPackageUnReceiveCount": {
  11316. "description": "我的包裹待收货数量",
  11317. "type": "integer"
  11318. },
  11319. "myPackageUnSendCount": {
  11320. "description": "我的包裹待发货数量",
  11321. "type": "integer"
  11322. },
  11323. "myPayOrderCount": {
  11324. "description": "我的订单待付款数量",
  11325. "type": "integer"
  11326. }
  11327. }
  11328. },
  11329. "hsby.QueryProvincesAndCitiesRsp": {
  11330. "type": "object",
  11331. "properties": {
  11332. "cities": {
  11333. "description": "市",
  11334. "type": "array",
  11335. "items": {
  11336. "$ref": "#/definitions/models.Division"
  11337. }
  11338. },
  11339. "province": {
  11340. "description": "省",
  11341. "$ref": "#/definitions/models.Division"
  11342. }
  11343. }
  11344. },
  11345. "models.Clientfixedadconfig": {
  11346. "type": "object",
  11347. "required": [
  11348. "adsort",
  11349. "adtype"
  11350. ],
  11351. "properties": {
  11352. "adsort": {
  11353. "description": "排序",
  11354. "type": "integer"
  11355. },
  11356. "adtype": {
  11357. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11358. "type": "integer"
  11359. },
  11360. "areauserid": {
  11361. "description": "所属机构ID",
  11362. "type": "integer"
  11363. },
  11364. "createdate": {
  11365. "description": "创建时间",
  11366. "type": "string"
  11367. },
  11368. "creatorid": {
  11369. "description": "创建人",
  11370. "type": "integer"
  11371. },
  11372. "imagepath": {
  11373. "description": "图片",
  11374. "type": "string"
  11375. },
  11376. "isshow": {
  11377. "description": "是否展示 - 0:不展示 1:展示",
  11378. "type": "integer"
  11379. },
  11380. "modifierid": {
  11381. "description": "操作人",
  11382. "type": "integer"
  11383. },
  11384. "recsize": {
  11385. "description": "推荐尺寸",
  11386. "type": "string"
  11387. },
  11388. "title": {
  11389. "description": "标题",
  11390. "type": "string"
  11391. },
  11392. "updatedate": {
  11393. "description": "更新时间",
  11394. "type": "string"
  11395. },
  11396. "urlcontent": {
  11397. "description": "链接(地址或商品ID)",
  11398. "type": "string"
  11399. },
  11400. "urltype": {
  11401. "description": "链接类型 - 1:直接地址 2:商品ID",
  11402. "type": "integer"
  11403. }
  11404. }
  11405. },
  11406. "models.Division": {
  11407. "type": "object",
  11408. "required": [
  11409. "autoid",
  11410. "divisioncode"
  11411. ],
  11412. "properties": {
  11413. "autoid": {
  11414. "description": "自增ID",
  11415. "type": "integer"
  11416. },
  11417. "divisioncode": {
  11418. "description": "行政代码",
  11419. "type": "string"
  11420. },
  11421. "divisionlevel": {
  11422. "description": "行政级别",
  11423. "type": "string"
  11424. },
  11425. "divisionname": {
  11426. "description": "行政名称",
  11427. "type": "string"
  11428. },
  11429. "modifierid": {
  11430. "description": "修改人",
  11431. "type": "integer"
  11432. },
  11433. "modifytime": {
  11434. "description": "修改时间",
  11435. "type": "string"
  11436. },
  11437. "parentcode": {
  11438. "description": "上级行政代码",
  11439. "type": "string"
  11440. },
  11441. "pathname": {
  11442. "description": "路径名称",
  11443. "type": "string"
  11444. },
  11445. "postcode": {
  11446. "description": "邮政编码",
  11447. "type": "string"
  11448. },
  11449. "separablename": {
  11450. "description": "可拆分的全称",
  11451. "type": "string"
  11452. },
  11453. "shortcode": {
  11454. "description": "地区简码",
  11455. "type": "string"
  11456. }
  11457. }
  11458. },
  11459. "models.Enumdicitem": {
  11460. "type": "object",
  11461. "required": [
  11462. "autoid",
  11463. "enumdiccode",
  11464. "enumdicid",
  11465. "enumitemname"
  11466. ],
  11467. "properties": {
  11468. "autoid": {
  11469. "description": "自增ID",
  11470. "type": "integer"
  11471. },
  11472. "bankmappedvalue": {
  11473. "description": "银行服务对应值",
  11474. "type": "string"
  11475. },
  11476. "enumdiccode": {
  11477. "description": "所属枚举代码",
  11478. "type": "string"
  11479. },
  11480. "enumdicid": {
  11481. "description": "所属枚举ID",
  11482. "type": "integer"
  11483. },
  11484. "enumdicname": {
  11485. "description": "枚举项名称",
  11486. "type": "string"
  11487. },
  11488. "enumitemname": {
  11489. "description": "枚举项值",
  11490. "type": "integer"
  11491. },
  11492. "enumitemstatus": {
  11493. "description": "枚举项状态 - 1.启用 2.不启用",
  11494. "type": "integer"
  11495. },
  11496. "enumitemvalue": {
  11497. "description": "通用值 - [币种通用简写]",
  11498. "type": "string"
  11499. },
  11500. "param1": {
  11501. "description": "参数1[币种:币种小数位]",
  11502. "type": "string"
  11503. },
  11504. "param2": {
  11505. "description": "参数1[币种:币种显示单位]",
  11506. "type": "string"
  11507. },
  11508. "remark": {
  11509. "description": "备注",
  11510. "type": "string"
  11511. }
  11512. }
  11513. },
  11514. "models.ErmcpHisExposure": {
  11515. "type": "object",
  11516. "properties": {
  11517. "needhedgeexposoure": {
  11518. "description": "应套保敞口",
  11519. "type": "number"
  11520. },
  11521. "reckondate": {
  11522. "description": "日照时期(yyyyMMdd)",
  11523. "type": "string"
  11524. },
  11525. "totalexposure": {
  11526. "description": "总敞口",
  11527. "type": "number"
  11528. }
  11529. }
  11530. },
  11531. "models.ErmcpMiddleGoodsModel": {
  11532. "type": "object",
  11533. "properties": {
  11534. "areauserid": {
  11535. "description": "机构用户ID",
  11536. "type": "integer"
  11537. },
  11538. "enumdicname": {
  11539. "description": "单位名称",
  11540. "type": "string"
  11541. },
  11542. "evaluateratio": {
  11543. "description": "估价系数",
  11544. "type": "number"
  11545. },
  11546. "goodsgroupid": {
  11547. "description": "关联期货品种ID",
  11548. "type": "integer"
  11549. },
  11550. "isvalid": {
  11551. "description": "状态 0-无效(停用) 1-有效(正常)",
  11552. "type": "integer"
  11553. },
  11554. "middlegoodscode": {
  11555. "description": "套保品种代码",
  11556. "type": "string"
  11557. },
  11558. "middlegoodsid": {
  11559. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11560. "type": "integer"
  11561. },
  11562. "middlegoodsname": {
  11563. "description": "套保品种名称",
  11564. "type": "string"
  11565. },
  11566. "modifytime": {
  11567. "description": "修改时间",
  11568. "type": "string"
  11569. },
  11570. "needhedgeratio": {
  11571. "description": "套保比率",
  11572. "type": "number"
  11573. },
  11574. "qtydecimalplace": {
  11575. "description": "数量小数位",
  11576. "type": "integer"
  11577. },
  11578. "relatedgoodsid": {
  11579. "description": "关联交易商品ID",
  11580. "type": "integer"
  11581. },
  11582. "relatedgoodstype": {
  11583. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11584. "type": "integer"
  11585. }
  11586. }
  11587. },
  11588. "models.ErmcpReportDayFR": {
  11589. "type": "object",
  11590. "properties": {
  11591. "areauserid": {
  11592. "description": "所属机构",
  11593. "type": "integer"
  11594. },
  11595. "collectinvoiceamount": {
  11596. "description": "今日开票金额",
  11597. "type": "number"
  11598. },
  11599. "collectinvoicecount": {
  11600. "description": "今日开票笔数",
  11601. "type": "integer"
  11602. },
  11603. "collectmoneyamount": {
  11604. "description": "今日收款金额",
  11605. "type": "number"
  11606. },
  11607. "collectmoneycount": {
  11608. "description": "今日收款笔数",
  11609. "type": "integer"
  11610. },
  11611. "payinvoiceamount": {
  11612. "description": "今日收票金额",
  11613. "type": "number"
  11614. },
  11615. "payinvoicecount": {
  11616. "description": "今日收票笔数",
  11617. "type": "integer"
  11618. },
  11619. "paymoneyamount": {
  11620. "description": "今日付款金额",
  11621. "type": "number"
  11622. },
  11623. "paymoneycount": {
  11624. "description": "今日付款笔数",
  11625. "type": "integer"
  11626. },
  11627. "reckondate": {
  11628. "description": "日照时期(yyyyMMdd)",
  11629. "type": "string"
  11630. },
  11631. "updatetime": {
  11632. "description": "更新时间",
  11633. "type": "string"
  11634. }
  11635. }
  11636. },
  11637. "models.ErmcpWrstandard": {
  11638. "type": "object",
  11639. "properties": {
  11640. "areauserid": {
  11641. "description": "所属机构",
  11642. "type": "integer"
  11643. },
  11644. "createtime": {
  11645. "description": "创建时间",
  11646. "type": "string"
  11647. },
  11648. "creatorid": {
  11649. "description": "创建人",
  11650. "type": "integer"
  11651. },
  11652. "deliverygoodsid": {
  11653. "description": "品种ID",
  11654. "type": "integer"
  11655. },
  11656. "enumdicname": {
  11657. "description": "单位名称",
  11658. "type": "string"
  11659. },
  11660. "isvalid": {
  11661. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11662. "type": "integer"
  11663. },
  11664. "minivalue": {
  11665. "description": "最小变动值",
  11666. "type": "integer"
  11667. },
  11668. "minivaluedp": {
  11669. "description": "最小变动值小数位",
  11670. "type": "integer"
  11671. },
  11672. "realminivalue": {
  11673. "description": "实际最小变动值",
  11674. "type": "integer"
  11675. },
  11676. "realminivaluedp": {
  11677. "description": "实际最小变动值小数位",
  11678. "type": "integer"
  11679. },
  11680. "remark": {
  11681. "description": "备注",
  11682. "type": "string"
  11683. },
  11684. "unitid": {
  11685. "description": "单位ID",
  11686. "type": "integer"
  11687. },
  11688. "updatetime": {
  11689. "description": "更新时间",
  11690. "type": "string"
  11691. },
  11692. "wrstandardcode": {
  11693. "description": "现货商品代码",
  11694. "type": "string"
  11695. },
  11696. "wrstandardid": {
  11697. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11698. "type": "integer"
  11699. },
  11700. "wrstandardname": {
  11701. "description": "现货商品名称",
  11702. "type": "string"
  11703. }
  11704. }
  11705. },
  11706. "models.Goods": {
  11707. "type": "object",
  11708. "required": [
  11709. "goodscode",
  11710. "goodsid",
  11711. "goodsname",
  11712. "marketid"
  11713. ],
  11714. "properties": {
  11715. "agreeunit": {
  11716. "description": "合约单位",
  11717. "type": "number"
  11718. },
  11719. "auditaccountid": {
  11720. "description": "审核操作员账号",
  11721. "type": "integer"
  11722. },
  11723. "audittime": {
  11724. "description": "审核时间",
  11725. "type": "string"
  11726. },
  11727. "cancelaccountid": {
  11728. "description": "注销操作员账号",
  11729. "type": "integer"
  11730. },
  11731. "canceltime": {
  11732. "description": "注销时间",
  11733. "type": "string"
  11734. },
  11735. "closepricemode": {
  11736. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11737. "type": "integer"
  11738. },
  11739. "closepriceparam": {
  11740. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11741. "type": "number"
  11742. },
  11743. "createtime": {
  11744. "description": "创建时间",
  11745. "type": "string"
  11746. },
  11747. "creatorid": {
  11748. "description": "创建人",
  11749. "type": "integer"
  11750. },
  11751. "currencyid": {
  11752. "description": "报价货币ID",
  11753. "type": "integer"
  11754. },
  11755. "cutmode": {
  11756. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11757. "type": "integer"
  11758. },
  11759. "decimalplace": {
  11760. "description": "报价小数位",
  11761. "type": "integer"
  11762. },
  11763. "delistingdate": {
  11764. "description": "商品退市时间(状态:退市) -- 已作废",
  11765. "type": "string"
  11766. },
  11767. "delistingmode": {
  11768. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11769. "type": "integer"
  11770. },
  11771. "deliveryflag": {
  11772. "description": "交割标志 - 0:不可交割 1:可交割",
  11773. "type": "integer"
  11774. },
  11775. "forceclosemode": {
  11776. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11777. "type": "integer"
  11778. },
  11779. "forceclosevalue": {
  11780. "description": "定期强平参数 [收益权]",
  11781. "type": "integer"
  11782. },
  11783. "goodscode": {
  11784. "description": "商品代码(内部)",
  11785. "type": "string"
  11786. },
  11787. "goodscurrencyid": {
  11788. "description": "合约货币ID",
  11789. "type": "integer"
  11790. },
  11791. "goodsgroupid": {
  11792. "description": "所属商品组ID",
  11793. "type": "integer"
  11794. },
  11795. "goodsid": {
  11796. "description": "商品ID(自增ID SEQ_GOODS)",
  11797. "type": "integer"
  11798. },
  11799. "goodsname": {
  11800. "description": "商品名称",
  11801. "type": "string"
  11802. },
  11803. "goodsquotetype": {
  11804. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11805. "type": "integer"
  11806. },
  11807. "goodsstatus": {
  11808. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11809. "type": "integer"
  11810. },
  11811. "goodstradetype": {
  11812. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11813. "type": "integer"
  11814. },
  11815. "goodunitid": {
  11816. "description": "报价单位ID",
  11817. "type": "integer"
  11818. },
  11819. "hasquoter": {
  11820. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11821. "type": "integer"
  11822. },
  11823. "hqprotecttime": {
  11824. "description": "行情保护时间(秒)",
  11825. "type": "integer"
  11826. },
  11827. "innerdealmode": {
  11828. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11829. "type": "integer"
  11830. },
  11831. "isbuylimited": {
  11832. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11833. "type": "integer"
  11834. },
  11835. "lasttradedate": {
  11836. "description": "最后交易日期(状态:待退市)",
  11837. "type": "string"
  11838. },
  11839. "listingdate": {
  11840. "description": "交易开始日期",
  11841. "type": "string"
  11842. },
  11843. "marketid": {
  11844. "description": "所属市场ID",
  11845. "type": "integer"
  11846. },
  11847. "modifierid": {
  11848. "description": "修改人",
  11849. "type": "integer"
  11850. },
  11851. "modifystatus": {
  11852. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11853. "type": "integer"
  11854. },
  11855. "modifytime": {
  11856. "description": "修改时间",
  11857. "type": "string"
  11858. },
  11859. "outerdealmode": {
  11860. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11861. "type": "integer"
  11862. },
  11863. "outgoodscode": {
  11864. "description": "商品代码(外部)",
  11865. "type": "string"
  11866. },
  11867. "qtydecimalplace": {
  11868. "description": "成交量小数位",
  11869. "type": "integer"
  11870. },
  11871. "quotegear": {
  11872. "description": "行情档位(1-10)",
  11873. "type": "integer"
  11874. },
  11875. "quoteminunit": {
  11876. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11877. "type": "integer"
  11878. },
  11879. "quoteshowtype": {
  11880. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  11881. "type": "integer"
  11882. },
  11883. "quoteshowtypeinterval": {
  11884. "description": "行情报价间隔时间(秒)(成交价时为0)",
  11885. "type": "integer"
  11886. },
  11887. "remark": {
  11888. "description": "备注",
  11889. "type": "string"
  11890. }
  11891. }
  11892. },
  11893. "models.GoodsBrand": {
  11894. "type": "object",
  11895. "properties": {
  11896. "brandid": {
  11897. "description": "品牌ID",
  11898. "type": "integer"
  11899. },
  11900. "brandname": {
  11901. "description": "品牌名称",
  11902. "type": "string"
  11903. },
  11904. "isvalid": {
  11905. "description": "是否有效 - 0:无效 1:有效",
  11906. "type": "integer"
  11907. }
  11908. }
  11909. },
  11910. "models.GoodsGroupConvert": {
  11911. "type": "object",
  11912. "properties": {
  11913. "convertratio": {
  11914. "description": "折算系数",
  11915. "type": "number"
  11916. },
  11917. "dstgoodsgroupid": {
  11918. "description": "目标期货品种ID",
  11919. "type": "integer"
  11920. },
  11921. "goodsgroupname": {
  11922. "description": "期货品种名称",
  11923. "type": "string"
  11924. },
  11925. "outergroupcode": {
  11926. "description": "期货品种代码",
  11927. "type": "string"
  11928. },
  11929. "srcgoodsgroupid": {
  11930. "description": "源期货品种ID",
  11931. "type": "integer"
  11932. }
  11933. }
  11934. },
  11935. "models.GoodsIDAndName": {
  11936. "type": "object",
  11937. "required": [
  11938. "goodscode",
  11939. "goodsid",
  11940. "goodsname",
  11941. "marketid"
  11942. ],
  11943. "properties": {
  11944. "goodscode": {
  11945. "description": "商品代码(内部)",
  11946. "type": "string"
  11947. },
  11948. "goodsid": {
  11949. "description": "商品ID(自增ID SEQ_GOODS)",
  11950. "type": "integer"
  11951. },
  11952. "goodsname": {
  11953. "description": "商品名称",
  11954. "type": "string"
  11955. },
  11956. "marketid": {
  11957. "description": "所属市场ID",
  11958. "type": "integer"
  11959. }
  11960. }
  11961. },
  11962. "models.GoodsTypeModel": {
  11963. "type": "object",
  11964. "properties": {
  11965. "modelid": {
  11966. "description": "型号ID",
  11967. "type": "integer"
  11968. },
  11969. "modelname": {
  11970. "description": "型号名称",
  11971. "type": "string"
  11972. },
  11973. "updatetime": {
  11974. "description": "更新时间",
  11975. "type": "string"
  11976. }
  11977. }
  11978. },
  11979. "models.HsbyBuyMyPayOrder": {
  11980. "type": "object",
  11981. "required": [
  11982. "goodscode",
  11983. "goodsname",
  11984. "tradeid",
  11985. "trademode"
  11986. ],
  11987. "properties": {
  11988. "agreeunit": {
  11989. "description": "合约单位",
  11990. "type": "number"
  11991. },
  11992. "buyaccountid": {
  11993. "description": "买方账号ID[报价币种]",
  11994. "type": "integer"
  11995. },
  11996. "buyorderid": {
  11997. "description": "买方委托单号",
  11998. "type": "string"
  11999. },
  12000. "createtime": {
  12001. "description": "创建时间",
  12002. "type": "string"
  12003. },
  12004. "currencysign": {
  12005. "description": "货币符号",
  12006. "type": "string"
  12007. },
  12008. "decimalplace": {
  12009. "description": "报价小数位",
  12010. "type": "integer"
  12011. },
  12012. "goodscode": {
  12013. "description": "商品代码(内部)",
  12014. "type": "string"
  12015. },
  12016. "goodsid": {
  12017. "description": "商品ID",
  12018. "type": "integer"
  12019. },
  12020. "goodsname": {
  12021. "description": "商品名称",
  12022. "type": "string"
  12023. },
  12024. "marketid": {
  12025. "description": "市场ID",
  12026. "type": "integer"
  12027. },
  12028. "offamount": {
  12029. "description": "优惠金额",
  12030. "type": "number"
  12031. },
  12032. "payamount": {
  12033. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12034. "type": "number"
  12035. },
  12036. "payflag": {
  12037. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12038. "type": "integer"
  12039. },
  12040. "paylimitedtime": {
  12041. "description": "支付期限",
  12042. "type": "string"
  12043. },
  12044. "paytime": {
  12045. "description": "付款时间",
  12046. "type": "string"
  12047. },
  12048. "picurls1": {
  12049. "description": "预售商品介绍图片[多张用逗号分隔]",
  12050. "type": "string"
  12051. },
  12052. "picurls2": {
  12053. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12054. "type": "string"
  12055. },
  12056. "sellaccountid": {
  12057. "description": "卖方账号ID[报价币种]",
  12058. "type": "integer"
  12059. },
  12060. "sellorderid": {
  12061. "description": "卖方委托单号",
  12062. "type": "string"
  12063. },
  12064. "tradeamount": {
  12065. "description": "成交金额",
  12066. "type": "number"
  12067. },
  12068. "tradecharge": {
  12069. "description": "成交手续费(买方)",
  12070. "type": "number"
  12071. },
  12072. "tradedate": {
  12073. "description": "交易日(yyyyMMdd)",
  12074. "type": "string"
  12075. },
  12076. "tradeid": {
  12077. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12078. "type": "string"
  12079. },
  12080. "trademode": {
  12081. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12082. "type": "integer"
  12083. },
  12084. "tradeprice": {
  12085. "description": "成交价格",
  12086. "type": "number"
  12087. },
  12088. "tradeqty": {
  12089. "description": "成交数量",
  12090. "type": "integer"
  12091. },
  12092. "vendorname1": {
  12093. "description": "预售商品供应商名称",
  12094. "type": "string"
  12095. },
  12096. "vendorname2": {
  12097. "description": "挂牌商品供应商名称",
  12098. "type": "string"
  12099. }
  12100. }
  12101. },
  12102. "models.HsbyBuyMyTradeDetail": {
  12103. "type": "object",
  12104. "required": [
  12105. "accountid",
  12106. "buyorsell",
  12107. "goodscode",
  12108. "goodsid",
  12109. "goodsname",
  12110. "marketid",
  12111. "orderid",
  12112. "qty",
  12113. "time",
  12114. "trademode"
  12115. ],
  12116. "properties": {
  12117. "accountid": {
  12118. "description": "账户ID[报价币种]",
  12119. "type": "integer"
  12120. },
  12121. "agreeunit": {
  12122. "description": "合约单位",
  12123. "type": "number"
  12124. },
  12125. "amount": {
  12126. "description": "金额 = 价格 * 数量 * 合约单位",
  12127. "type": "number"
  12128. },
  12129. "buyorsell": {
  12130. "description": "买卖 - 0:买 1:卖",
  12131. "type": "integer"
  12132. },
  12133. "currencysign": {
  12134. "description": "货币符号",
  12135. "type": "string"
  12136. },
  12137. "decimalplace": {
  12138. "description": "报价小数位",
  12139. "type": "integer"
  12140. },
  12141. "goodscode": {
  12142. "description": "商品代码(内部)",
  12143. "type": "string"
  12144. },
  12145. "goodsid": {
  12146. "description": "商品ID",
  12147. "type": "integer"
  12148. },
  12149. "goodsname": {
  12150. "description": "商品名称",
  12151. "type": "string"
  12152. },
  12153. "marketid": {
  12154. "description": "市场ID",
  12155. "type": "integer"
  12156. },
  12157. "orderid": {
  12158. "description": "单号(成交单号)",
  12159. "type": "string"
  12160. },
  12161. "picurls1": {
  12162. "description": "预售商品介绍图片[多张用逗号分隔]",
  12163. "type": "string"
  12164. },
  12165. "picurls2": {
  12166. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12167. "type": "string"
  12168. },
  12169. "price": {
  12170. "description": "价格",
  12171. "type": "number"
  12172. },
  12173. "qty": {
  12174. "description": "数量",
  12175. "type": "integer"
  12176. },
  12177. "time": {
  12178. "description": "时间",
  12179. "type": "string"
  12180. },
  12181. "trademode": {
  12182. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12183. "type": "integer"
  12184. },
  12185. "vendorname1": {
  12186. "description": "预售商品供应商名称",
  12187. "type": "string"
  12188. },
  12189. "vendorname2": {
  12190. "description": "挂牌商品供应商名称",
  12191. "type": "string"
  12192. }
  12193. }
  12194. },
  12195. "models.HsbyGoodsOrderDetail": {
  12196. "type": "object",
  12197. "required": [
  12198. "buyorsell",
  12199. "orderid",
  12200. "ordertime"
  12201. ],
  12202. "properties": {
  12203. "buyorsell": {
  12204. "description": "买卖 - 0:买 1:卖",
  12205. "type": "integer"
  12206. },
  12207. "currencysign": {
  12208. "description": "货币符号",
  12209. "type": "string"
  12210. },
  12211. "customername": {
  12212. "description": "客户名称(企业名称),已脱敏",
  12213. "type": "string"
  12214. },
  12215. "enableqty": {
  12216. "description": "可用数量",
  12217. "type": "integer"
  12218. },
  12219. "goodunit": {
  12220. "description": "报价单位",
  12221. "type": "string"
  12222. },
  12223. "orderid": {
  12224. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12225. "type": "string"
  12226. },
  12227. "orderprice": {
  12228. "description": "委托价格",
  12229. "type": "number"
  12230. },
  12231. "ordertime": {
  12232. "description": "委托时间",
  12233. "type": "string"
  12234. }
  12235. }
  12236. },
  12237. "models.HsbyListingGoodsDetail": {
  12238. "type": "object",
  12239. "required": [
  12240. "goodscode",
  12241. "goodsid",
  12242. "goodsname",
  12243. "marketid",
  12244. "trademode"
  12245. ],
  12246. "properties": {
  12247. "agreeunit": {
  12248. "description": "合约单位",
  12249. "type": "number"
  12250. },
  12251. "buymaxqty": {
  12252. "description": "购买上限 [71] - 0为不限",
  12253. "type": "integer"
  12254. },
  12255. "currency": {
  12256. "description": "货币",
  12257. "type": "string"
  12258. },
  12259. "currencysign": {
  12260. "description": "货币符号",
  12261. "type": "string"
  12262. },
  12263. "decimalplace": {
  12264. "description": "报价小数位",
  12265. "type": "integer"
  12266. },
  12267. "desccityid": {
  12268. "description": "目的地(市)ID",
  12269. "type": "integer"
  12270. },
  12271. "descprovinceid": {
  12272. "description": "目的地(省)ID",
  12273. "type": "integer"
  12274. },
  12275. "goodscode": {
  12276. "description": "商品代码(内部)",
  12277. "type": "string"
  12278. },
  12279. "goodsdesc": {
  12280. "description": "商品详情",
  12281. "type": "string"
  12282. },
  12283. "goodsid": {
  12284. "description": "商品ID(自增ID SEQ_GOODS)",
  12285. "type": "integer"
  12286. },
  12287. "goodsname": {
  12288. "description": "商品名称",
  12289. "type": "string"
  12290. },
  12291. "goodsprice": {
  12292. "description": "商品价格",
  12293. "type": "number"
  12294. },
  12295. "hotindex": {
  12296. "description": "景点热度",
  12297. "type": "integer"
  12298. },
  12299. "last": {
  12300. "description": "现价",
  12301. "type": "number"
  12302. },
  12303. "limitdown": {
  12304. "description": "跌停价",
  12305. "type": "number"
  12306. },
  12307. "limitup": {
  12308. "description": "涨停价",
  12309. "type": "number"
  12310. },
  12311. "lotsize": {
  12312. "description": "手数最小变动单位",
  12313. "type": "integer"
  12314. },
  12315. "marketid": {
  12316. "description": "所属市场ID",
  12317. "type": "integer"
  12318. },
  12319. "picurls": {
  12320. "description": "介绍图片[多张用逗号分隔]",
  12321. "type": "string"
  12322. },
  12323. "quoteminunit": {
  12324. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12325. "type": "integer"
  12326. },
  12327. "stepvalue": {
  12328. "description": "价格最小变动单位",
  12329. "type": "number"
  12330. },
  12331. "trademode": {
  12332. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12333. "type": "integer"
  12334. },
  12335. "vendorattr": {
  12336. "description": "供应商附件(多张,逗号分隔)",
  12337. "type": "string"
  12338. },
  12339. "vendorname": {
  12340. "description": "供应商名称",
  12341. "type": "string"
  12342. },
  12343. "vendorphone": {
  12344. "description": "供应商客服电话",
  12345. "type": "string"
  12346. },
  12347. "videourls": {
  12348. "description": "介绍视频[多张用逗号分隔]",
  12349. "type": "string"
  12350. }
  12351. }
  12352. },
  12353. "models.HsbyMarketGoods": {
  12354. "type": "object",
  12355. "required": [
  12356. "accountid",
  12357. "buyorsell",
  12358. "goodscode",
  12359. "goodsid",
  12360. "goodsname",
  12361. "marketid",
  12362. "orderid",
  12363. "trademode"
  12364. ],
  12365. "properties": {
  12366. "accountid": {
  12367. "description": "账户ID[报价币种]",
  12368. "type": "integer"
  12369. },
  12370. "agreeunit": {
  12371. "description": "合约单位",
  12372. "type": "number"
  12373. },
  12374. "buyorsell": {
  12375. "description": "买卖 - 0:买 1:卖",
  12376. "type": "integer"
  12377. },
  12378. "categoryid": {
  12379. "description": "类别ID(WRCATEGORY)",
  12380. "type": "integer"
  12381. },
  12382. "currency": {
  12383. "description": "货币",
  12384. "type": "string"
  12385. },
  12386. "currencysign": {
  12387. "description": "货币符号",
  12388. "type": "string"
  12389. },
  12390. "customername": {
  12391. "description": "卖家名称",
  12392. "type": "string"
  12393. },
  12394. "decimalplace": {
  12395. "description": "报价小数位",
  12396. "type": "integer"
  12397. },
  12398. "goodscode": {
  12399. "description": "商品代码(内部)",
  12400. "type": "string"
  12401. },
  12402. "goodsid": {
  12403. "description": "商品ID",
  12404. "type": "integer"
  12405. },
  12406. "goodsname": {
  12407. "description": "商品名称",
  12408. "type": "string"
  12409. },
  12410. "goodsprice": {
  12411. "description": "商品价格",
  12412. "type": "number"
  12413. },
  12414. "hascoupon": {
  12415. "description": "是否可用优惠卷",
  12416. "type": "boolean"
  12417. },
  12418. "hotindex": {
  12419. "description": "景点热度",
  12420. "type": "integer"
  12421. },
  12422. "marketid": {
  12423. "description": "市场ID",
  12424. "type": "integer"
  12425. },
  12426. "orderid": {
  12427. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12428. "type": "string"
  12429. },
  12430. "orderprice": {
  12431. "description": "委托价格",
  12432. "type": "number"
  12433. },
  12434. "orderstatus": {
  12435. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12436. "type": "integer"
  12437. },
  12438. "picurls": {
  12439. "description": "介绍图片[多张用逗号分隔]",
  12440. "type": "string"
  12441. },
  12442. "quoteminunit": {
  12443. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12444. "type": "integer"
  12445. },
  12446. "sellUserID": {
  12447. "description": "卖方UserID",
  12448. "type": "integer"
  12449. },
  12450. "trademode": {
  12451. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12452. "type": "integer"
  12453. },
  12454. "videourls": {
  12455. "description": "介绍视频[多张用逗号分隔]",
  12456. "type": "string"
  12457. }
  12458. }
  12459. },
  12460. "models.HsbyMarketGoodsDetail": {
  12461. "type": "object",
  12462. "required": [
  12463. "accountid",
  12464. "buyorsell",
  12465. "goodscode",
  12466. "goodsid",
  12467. "goodsname",
  12468. "marketid",
  12469. "orderid",
  12470. "orderqty",
  12471. "trademode"
  12472. ],
  12473. "properties": {
  12474. "accountid": {
  12475. "description": "账户ID[报价币种]",
  12476. "type": "integer"
  12477. },
  12478. "agreeunit": {
  12479. "description": "合约单位",
  12480. "type": "number"
  12481. },
  12482. "buymaxqty": {
  12483. "description": "购买上限 [71] - 0为不限",
  12484. "type": "integer"
  12485. },
  12486. "buyorsell": {
  12487. "description": "买卖 - 0:买 1:卖",
  12488. "type": "integer"
  12489. },
  12490. "cancelqty": {
  12491. "description": "撤单数量",
  12492. "type": "integer"
  12493. },
  12494. "categoryid": {
  12495. "description": "类别ID(WRCATEGORY)",
  12496. "type": "integer"
  12497. },
  12498. "currency": {
  12499. "description": "货币",
  12500. "type": "string"
  12501. },
  12502. "currencysign": {
  12503. "description": "货币符号",
  12504. "type": "string"
  12505. },
  12506. "customername": {
  12507. "description": "卖家名称",
  12508. "type": "string"
  12509. },
  12510. "decimalplace": {
  12511. "description": "报价小数位",
  12512. "type": "integer"
  12513. },
  12514. "goodscode": {
  12515. "description": "商品代码(内部)",
  12516. "type": "string"
  12517. },
  12518. "goodsdesc": {
  12519. "description": "商品详情",
  12520. "type": "string"
  12521. },
  12522. "goodsid": {
  12523. "description": "商品ID",
  12524. "type": "integer"
  12525. },
  12526. "goodsname": {
  12527. "description": "商品名称",
  12528. "type": "string"
  12529. },
  12530. "goodsprice": {
  12531. "description": "商品价格",
  12532. "type": "number"
  12533. },
  12534. "hotindex": {
  12535. "description": "景点热度",
  12536. "type": "integer"
  12537. },
  12538. "lotsize": {
  12539. "description": "手数最小变动单位",
  12540. "type": "integer"
  12541. },
  12542. "marketid": {
  12543. "description": "市场ID",
  12544. "type": "integer"
  12545. },
  12546. "orderid": {
  12547. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12548. "type": "string"
  12549. },
  12550. "orderprice": {
  12551. "description": "委托价格",
  12552. "type": "number"
  12553. },
  12554. "orderqty": {
  12555. "description": "委托数量",
  12556. "type": "integer"
  12557. },
  12558. "orderstatus": {
  12559. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12560. "type": "integer"
  12561. },
  12562. "picurls": {
  12563. "description": "介绍图片[多张用逗号分隔]",
  12564. "type": "string"
  12565. },
  12566. "quoteminunit": {
  12567. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12568. "type": "integer"
  12569. },
  12570. "sellUserID": {
  12571. "description": "卖方UserID",
  12572. "type": "integer"
  12573. },
  12574. "trademode": {
  12575. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12576. "type": "integer"
  12577. },
  12578. "tradeqty": {
  12579. "description": "成交数量",
  12580. "type": "integer"
  12581. },
  12582. "vendorattr": {
  12583. "description": "供应商附件(多张,逗号分隔)",
  12584. "type": "string"
  12585. },
  12586. "vendorname": {
  12587. "description": "供应商名称",
  12588. "type": "string"
  12589. },
  12590. "vendorphone": {
  12591. "description": "供应商客服电话",
  12592. "type": "string"
  12593. },
  12594. "videourls": {
  12595. "description": "介绍视频[多张用逗号分隔]",
  12596. "type": "string"
  12597. }
  12598. }
  12599. },
  12600. "models.HsbyMarketInfo": {
  12601. "type": "object",
  12602. "required": [
  12603. "marketid",
  12604. "marketstatus",
  12605. "trademode"
  12606. ],
  12607. "properties": {
  12608. "marketid": {
  12609. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12610. "type": "integer"
  12611. },
  12612. "marketname": {
  12613. "description": "市场名称",
  12614. "type": "string"
  12615. },
  12616. "marketstatus": {
  12617. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12618. "type": "integer"
  12619. },
  12620. "trademode": {
  12621. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12622. "type": "integer"
  12623. }
  12624. }
  12625. },
  12626. "models.HsbyMyGoods": {
  12627. "type": "object",
  12628. "required": [
  12629. "accountid",
  12630. "goodscode",
  12631. "goodsid",
  12632. "goodsname",
  12633. "marketid",
  12634. "trademode"
  12635. ],
  12636. "properties": {
  12637. "accountid": {
  12638. "description": "账号Id",
  12639. "type": "integer"
  12640. },
  12641. "agreeunit": {
  12642. "description": "合约单位",
  12643. "type": "number"
  12644. },
  12645. "buyaverageprice": {
  12646. "description": "持仓均价",
  12647. "type": "number"
  12648. },
  12649. "buycurholderamount": {
  12650. "description": "买当前持仓总金额[商品币种]",
  12651. "type": "number"
  12652. },
  12653. "buycurpositionqty": {
  12654. "description": "买当前持仓总数量",
  12655. "type": "integer"
  12656. },
  12657. "buymaxqty": {
  12658. "description": "购买上限 [71] - 0为不限",
  12659. "type": "integer"
  12660. },
  12661. "currencysign": {
  12662. "description": "货币符号",
  12663. "type": "string"
  12664. },
  12665. "decimalplace": {
  12666. "description": "报价小数位",
  12667. "type": "integer"
  12668. },
  12669. "enableqty": {
  12670. "description": "可用数量",
  12671. "type": "integer"
  12672. },
  12673. "goodscode": {
  12674. "description": "商品代码(内部)",
  12675. "type": "string"
  12676. },
  12677. "goodsid": {
  12678. "description": "商品Id",
  12679. "type": "integer"
  12680. },
  12681. "goodsname": {
  12682. "description": "商品名称",
  12683. "type": "string"
  12684. },
  12685. "goodsprice": {
  12686. "description": "商品价格",
  12687. "type": "number"
  12688. },
  12689. "goodsstatus": {
  12690. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12691. "type": "integer"
  12692. },
  12693. "last": {
  12694. "description": "现价(仅使用于挂牌点选)",
  12695. "type": "number"
  12696. },
  12697. "limitdown": {
  12698. "description": "跌停价(仅使用于挂牌点选)",
  12699. "type": "number"
  12700. },
  12701. "limitup": {
  12702. "description": "涨停价(仅使用于挂牌点选)",
  12703. "type": "number"
  12704. },
  12705. "lotsize": {
  12706. "description": "手数最小变动单位",
  12707. "type": "integer"
  12708. },
  12709. "marketid": {
  12710. "description": "所属市场ID",
  12711. "type": "integer"
  12712. },
  12713. "picurls": {
  12714. "description": "介绍图片[多张用逗号分隔]",
  12715. "type": "string"
  12716. },
  12717. "quoteminunit": {
  12718. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12719. "type": "integer"
  12720. },
  12721. "stepvalue": {
  12722. "description": "价格最小变动单位",
  12723. "type": "number"
  12724. },
  12725. "trademode": {
  12726. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12727. "type": "integer"
  12728. }
  12729. }
  12730. },
  12731. "models.HsbyMyPackage": {
  12732. "type": "object",
  12733. "required": [
  12734. "goodscode",
  12735. "goodsname",
  12736. "takeorderid",
  12737. "trademode"
  12738. ],
  12739. "properties": {
  12740. "accountid": {
  12741. "description": "账户ID",
  12742. "type": "integer"
  12743. },
  12744. "address": {
  12745. "description": "提货人详细地址",
  12746. "type": "string"
  12747. },
  12748. "agreeunit": {
  12749. "description": "合约单位",
  12750. "type": "number"
  12751. },
  12752. "amount": {
  12753. "description": "提货金额",
  12754. "type": "number"
  12755. },
  12756. "auditer": {
  12757. "description": "审核人",
  12758. "type": "integer"
  12759. },
  12760. "audittime": {
  12761. "description": "审核时间",
  12762. "type": "string"
  12763. },
  12764. "averageprice": {
  12765. "description": "均价",
  12766. "type": "number"
  12767. },
  12768. "cardnum": {
  12769. "description": "提货人证件号码",
  12770. "type": "string"
  12771. },
  12772. "cardtypeid": {
  12773. "description": "提货人证件类型",
  12774. "type": "integer"
  12775. },
  12776. "checkremark": {
  12777. "description": "审核备注",
  12778. "type": "string"
  12779. },
  12780. "currencysign": {
  12781. "description": "货币符号",
  12782. "type": "string"
  12783. },
  12784. "decimalplace": {
  12785. "description": "报价小数位",
  12786. "type": "integer"
  12787. },
  12788. "goodscode": {
  12789. "description": "商品代码(内部)",
  12790. "type": "string"
  12791. },
  12792. "goodsid": {
  12793. "description": "商品ID",
  12794. "type": "integer"
  12795. },
  12796. "goodsname": {
  12797. "description": "商品名称",
  12798. "type": "string"
  12799. },
  12800. "handlestatus": {
  12801. "description": "处理状态",
  12802. "type": "integer"
  12803. },
  12804. "marketid": {
  12805. "description": "市场ID",
  12806. "type": "integer"
  12807. },
  12808. "phonenum": {
  12809. "description": "提货人联系方式",
  12810. "type": "string"
  12811. },
  12812. "picurls": {
  12813. "description": "介绍图片[多张用逗号分隔]",
  12814. "type": "string"
  12815. },
  12816. "qty": {
  12817. "description": "提货数量",
  12818. "type": "number"
  12819. },
  12820. "recivername": {
  12821. "description": "提货人姓名",
  12822. "type": "string"
  12823. },
  12824. "reqtime": {
  12825. "description": "更新时间",
  12826. "type": "string"
  12827. },
  12828. "takemode": {
  12829. "description": "提货方式 - 2:自提 3:配送",
  12830. "type": "integer"
  12831. },
  12832. "takeorderid": {
  12833. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12834. "type": "string"
  12835. },
  12836. "takeorderstatus": {
  12837. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12838. "type": "integer"
  12839. },
  12840. "takeremark": {
  12841. "description": "提货备注",
  12842. "type": "string"
  12843. },
  12844. "tradedate": {
  12845. "description": "交易日(yyyyMMdd)",
  12846. "type": "string"
  12847. },
  12848. "trademode": {
  12849. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12850. "type": "integer"
  12851. },
  12852. "userid": {
  12853. "description": "用户ID",
  12854. "type": "integer"
  12855. },
  12856. "vendorname": {
  12857. "description": "供应商名称",
  12858. "type": "string"
  12859. }
  12860. }
  12861. },
  12862. "models.HsbyPreGoods": {
  12863. "type": "object",
  12864. "required": [
  12865. "goodscode",
  12866. "goodsid",
  12867. "goodsname",
  12868. "marketid",
  12869. "trademode"
  12870. ],
  12871. "properties": {
  12872. "agreeunit": {
  12873. "description": "合约单位",
  12874. "type": "number"
  12875. },
  12876. "currency": {
  12877. "description": "货币",
  12878. "type": "string"
  12879. },
  12880. "currencysign": {
  12881. "description": "货币符号",
  12882. "type": "string"
  12883. },
  12884. "decimalplace": {
  12885. "description": "报价小数位",
  12886. "type": "integer"
  12887. },
  12888. "desccityid": {
  12889. "description": "目的地(市)",
  12890. "type": "integer"
  12891. },
  12892. "descprovinceid": {
  12893. "description": "目的地(省)",
  12894. "type": "integer"
  12895. },
  12896. "enableqty": {
  12897. "description": "剩余数量",
  12898. "type": "integer"
  12899. },
  12900. "goodscode": {
  12901. "description": "商品代码(内部)",
  12902. "type": "string"
  12903. },
  12904. "goodsid": {
  12905. "description": "商品ID(自增ID SEQ_GOODS)",
  12906. "type": "integer"
  12907. },
  12908. "goodsname": {
  12909. "description": "商品名称",
  12910. "type": "string"
  12911. },
  12912. "goodsstatus": {
  12913. "description": "商品状态- 2:未上市 3:上市",
  12914. "type": "integer"
  12915. },
  12916. "lasttradedate": {
  12917. "description": "最后交易日期(状态:待退市)",
  12918. "type": "string"
  12919. },
  12920. "listingdate": {
  12921. "description": "交易开始日期",
  12922. "type": "string"
  12923. },
  12924. "marketid": {
  12925. "description": "所属市场ID",
  12926. "type": "integer"
  12927. },
  12928. "picurls": {
  12929. "description": "介绍图片[多张用逗号分隔]",
  12930. "type": "string"
  12931. },
  12932. "presaledqty": {
  12933. "description": "已预售量(预售结束时更新)",
  12934. "type": "integer"
  12935. },
  12936. "presaleqty": {
  12937. "description": "预售数量",
  12938. "type": "integer"
  12939. },
  12940. "quoteminunit": {
  12941. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12942. "type": "integer"
  12943. },
  12944. "refprice": {
  12945. "description": "参考价格[一口价]",
  12946. "type": "number"
  12947. },
  12948. "relatedgoodsid": {
  12949. "description": "关联交易合约ID",
  12950. "type": "integer"
  12951. },
  12952. "trademode": {
  12953. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12954. "type": "integer"
  12955. },
  12956. "videourls": {
  12957. "description": "介绍视频[多张用逗号分隔]",
  12958. "type": "string"
  12959. }
  12960. }
  12961. },
  12962. "models.HsbyPreGoodsDetail": {
  12963. "type": "object",
  12964. "required": [
  12965. "goodscode",
  12966. "goodsid",
  12967. "goodsname",
  12968. "marketid",
  12969. "trademode"
  12970. ],
  12971. "properties": {
  12972. "agreeunit": {
  12973. "description": "合约单位",
  12974. "type": "number"
  12975. },
  12976. "buymaxqty": {
  12977. "description": "购买上限 [71] - 0为不限",
  12978. "type": "integer"
  12979. },
  12980. "currency": {
  12981. "description": "货币",
  12982. "type": "string"
  12983. },
  12984. "currencysign": {
  12985. "description": "货币符号",
  12986. "type": "string"
  12987. },
  12988. "customername": {
  12989. "description": "发行单位",
  12990. "type": "string"
  12991. },
  12992. "decimalplace": {
  12993. "description": "报价小数位",
  12994. "type": "integer"
  12995. },
  12996. "desccityid": {
  12997. "description": "目的地(市)ID",
  12998. "type": "integer"
  12999. },
  13000. "descprovinceid": {
  13001. "description": "目的地(省)ID",
  13002. "type": "integer"
  13003. },
  13004. "enableqty": {
  13005. "description": "剩余数量",
  13006. "type": "integer"
  13007. },
  13008. "goodscode": {
  13009. "description": "商品代码(内部)",
  13010. "type": "string"
  13011. },
  13012. "goodsdesc": {
  13013. "description": "商品详情",
  13014. "type": "string"
  13015. },
  13016. "goodsid": {
  13017. "description": "商品ID(自增ID SEQ_GOODS)",
  13018. "type": "integer"
  13019. },
  13020. "goodsname": {
  13021. "description": "商品名称",
  13022. "type": "string"
  13023. },
  13024. "goodsstatus": {
  13025. "description": "商品状态- 2:未上市 3:上市",
  13026. "type": "integer"
  13027. },
  13028. "goodunit": {
  13029. "description": "报价单位",
  13030. "type": "string"
  13031. },
  13032. "lasttradedate": {
  13033. "description": "最后交易日期(状态:待退市)",
  13034. "type": "string"
  13035. },
  13036. "listingdate": {
  13037. "description": "交易开始日期",
  13038. "type": "string"
  13039. },
  13040. "lotsize": {
  13041. "description": "手数最小变动单位",
  13042. "type": "integer"
  13043. },
  13044. "marketid": {
  13045. "description": "所属市场ID",
  13046. "type": "integer"
  13047. },
  13048. "picurls": {
  13049. "description": "介绍图片[多张用逗号分隔]",
  13050. "type": "string"
  13051. },
  13052. "presaledqty": {
  13053. "description": "已预售量(预售结束时更新)",
  13054. "type": "integer"
  13055. },
  13056. "presaleqty": {
  13057. "description": "预售数量",
  13058. "type": "integer"
  13059. },
  13060. "quoteminunit": {
  13061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13062. "type": "integer"
  13063. },
  13064. "refprice": {
  13065. "description": "参考价格[一口价]",
  13066. "type": "number"
  13067. },
  13068. "relatedgoodsid": {
  13069. "description": "关联交易合约ID",
  13070. "type": "integer"
  13071. },
  13072. "stepvalue": {
  13073. "description": "价格最小变动单位",
  13074. "type": "number"
  13075. },
  13076. "trademode": {
  13077. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13078. "type": "integer"
  13079. },
  13080. "vendorattr": {
  13081. "description": "供应商附件(多张,逗号分隔)",
  13082. "type": "string"
  13083. },
  13084. "vendorname": {
  13085. "description": "供应商名称",
  13086. "type": "string"
  13087. },
  13088. "vendorphone": {
  13089. "description": "供应商客服电话",
  13090. "type": "string"
  13091. },
  13092. "videourls": {
  13093. "description": "介绍视频[多张用逗号分隔]",
  13094. "type": "string"
  13095. }
  13096. }
  13097. },
  13098. "models.HsbySellCollectionOrder": {
  13099. "type": "object",
  13100. "required": [
  13101. "goodscode",
  13102. "goodsname",
  13103. "tradeid",
  13104. "trademode"
  13105. ],
  13106. "properties": {
  13107. "agreeunit": {
  13108. "description": "合约单位",
  13109. "type": "number"
  13110. },
  13111. "buyaccountid": {
  13112. "description": "买方账号ID[报价币种]",
  13113. "type": "integer"
  13114. },
  13115. "buyorderid": {
  13116. "description": "买方委托单号",
  13117. "type": "string"
  13118. },
  13119. "createtime": {
  13120. "description": "创建时间",
  13121. "type": "string"
  13122. },
  13123. "currencysign": {
  13124. "description": "货币符号",
  13125. "type": "string"
  13126. },
  13127. "decimalplace": {
  13128. "description": "报价小数位",
  13129. "type": "integer"
  13130. },
  13131. "goodscode": {
  13132. "description": "商品代码(内部)",
  13133. "type": "string"
  13134. },
  13135. "goodsid": {
  13136. "description": "商品ID",
  13137. "type": "integer"
  13138. },
  13139. "goodsname": {
  13140. "description": "商品名称",
  13141. "type": "string"
  13142. },
  13143. "marketid": {
  13144. "description": "市场ID",
  13145. "type": "integer"
  13146. },
  13147. "offamount": {
  13148. "description": "优惠金额",
  13149. "type": "number"
  13150. },
  13151. "payamount": {
  13152. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13153. "type": "number"
  13154. },
  13155. "payflag": {
  13156. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13157. "type": "integer"
  13158. },
  13159. "paylimitedtime": {
  13160. "description": "支付期限",
  13161. "type": "string"
  13162. },
  13163. "paytime": {
  13164. "description": "付款时间",
  13165. "type": "string"
  13166. },
  13167. "picurls": {
  13168. "description": "商品介绍图片[多张用逗号分隔]",
  13169. "type": "string"
  13170. },
  13171. "sellaccountid": {
  13172. "description": "卖方账号ID[报价币种]",
  13173. "type": "integer"
  13174. },
  13175. "sellorderid": {
  13176. "description": "卖方委托单号",
  13177. "type": "string"
  13178. },
  13179. "tradeamount": {
  13180. "description": "成交金额",
  13181. "type": "number"
  13182. },
  13183. "tradecharge": {
  13184. "description": "成交手续费(买方)",
  13185. "type": "number"
  13186. },
  13187. "tradedate": {
  13188. "description": "交易日(yyyyMMdd)",
  13189. "type": "string"
  13190. },
  13191. "tradeid": {
  13192. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13193. "type": "string"
  13194. },
  13195. "trademode": {
  13196. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13197. "type": "integer"
  13198. },
  13199. "tradeprice": {
  13200. "description": "成交价格",
  13201. "type": "number"
  13202. },
  13203. "tradeqty": {
  13204. "description": "成交数量",
  13205. "type": "integer"
  13206. }
  13207. }
  13208. },
  13209. "models.HsbySellMyDetail": {
  13210. "type": "object",
  13211. "required": [
  13212. "accountid",
  13213. "buyorsell",
  13214. "goodscode",
  13215. "goodsid",
  13216. "goodsname",
  13217. "marketid",
  13218. "orderid",
  13219. "time",
  13220. "trademode"
  13221. ],
  13222. "properties": {
  13223. "accountid": {
  13224. "description": "账户ID[报价币种]",
  13225. "type": "integer"
  13226. },
  13227. "agreeunit": {
  13228. "description": "合约单位",
  13229. "type": "number"
  13230. },
  13231. "buyorsell": {
  13232. "description": "买卖 - 0:买 1:卖",
  13233. "type": "integer"
  13234. },
  13235. "currencysign": {
  13236. "description": "货币符号",
  13237. "type": "string"
  13238. },
  13239. "decimalplace": {
  13240. "description": "报价小数位",
  13241. "type": "integer"
  13242. },
  13243. "goodscode": {
  13244. "description": "商品代码(内部)",
  13245. "type": "string"
  13246. },
  13247. "goodsid": {
  13248. "description": "商品ID",
  13249. "type": "integer"
  13250. },
  13251. "goodsname": {
  13252. "description": "商品名称",
  13253. "type": "string"
  13254. },
  13255. "marketid": {
  13256. "description": "市场ID",
  13257. "type": "integer"
  13258. },
  13259. "orderid": {
  13260. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13261. "type": "string"
  13262. },
  13263. "ordertype": {
  13264. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13265. "type": "integer"
  13266. },
  13267. "picurls": {
  13268. "description": "介绍图片[多张用逗号分隔]",
  13269. "type": "string"
  13270. },
  13271. "price": {
  13272. "description": "价格",
  13273. "type": "number"
  13274. },
  13275. "qty": {
  13276. "description": "数量",
  13277. "type": "integer"
  13278. },
  13279. "time": {
  13280. "description": "时间",
  13281. "type": "string"
  13282. },
  13283. "trademode": {
  13284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13285. "type": "integer"
  13286. },
  13287. "vendorname": {
  13288. "description": "供应商名称",
  13289. "type": "string"
  13290. }
  13291. }
  13292. },
  13293. "models.HsbyTopGoods": {
  13294. "type": "object",
  13295. "required": [
  13296. "goodscode",
  13297. "goodsid",
  13298. "goodsname",
  13299. "marketid",
  13300. "trademode"
  13301. ],
  13302. "properties": {
  13303. "agreeunit": {
  13304. "description": "合约单位",
  13305. "type": "number"
  13306. },
  13307. "currency": {
  13308. "description": "货币",
  13309. "type": "string"
  13310. },
  13311. "currencysign": {
  13312. "description": "货币符号",
  13313. "type": "string"
  13314. },
  13315. "decimalplace": {
  13316. "description": "报价小数位",
  13317. "type": "integer"
  13318. },
  13319. "desccityid": {
  13320. "description": "目的地(市)",
  13321. "type": "integer"
  13322. },
  13323. "descprovinceid": {
  13324. "description": "目的地(省)",
  13325. "type": "integer"
  13326. },
  13327. "goodscode": {
  13328. "description": "商品代码(内部)",
  13329. "type": "string"
  13330. },
  13331. "goodsid": {
  13332. "description": "商品ID(自增ID SEQ_GOODS)",
  13333. "type": "integer"
  13334. },
  13335. "goodsname": {
  13336. "description": "商品名称",
  13337. "type": "string"
  13338. },
  13339. "hotindex": {
  13340. "description": "景点热度",
  13341. "type": "integer"
  13342. },
  13343. "last": {
  13344. "description": "现价",
  13345. "type": "number"
  13346. },
  13347. "marketid": {
  13348. "description": "所属市场ID",
  13349. "type": "integer"
  13350. },
  13351. "picurls": {
  13352. "description": "介绍图片[多张用逗号分隔]",
  13353. "type": "string"
  13354. },
  13355. "quoteminunit": {
  13356. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13357. "type": "integer"
  13358. },
  13359. "trademode": {
  13360. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13361. "type": "integer"
  13362. },
  13363. "videourls": {
  13364. "description": "介绍视频[多张用逗号分隔]",
  13365. "type": "string"
  13366. }
  13367. }
  13368. },
  13369. "models.HybsMyBuyOrderDetail": {
  13370. "type": "object",
  13371. "required": [
  13372. "accountid",
  13373. "buyorsell",
  13374. "goodscode",
  13375. "goodsid",
  13376. "goodsname",
  13377. "marketid",
  13378. "orderid",
  13379. "orderqty",
  13380. "ordertime",
  13381. "trademode"
  13382. ],
  13383. "properties": {
  13384. "accountid": {
  13385. "description": "账户ID[报价币种]",
  13386. "type": "integer"
  13387. },
  13388. "agreeunit": {
  13389. "description": "合约单位",
  13390. "type": "number"
  13391. },
  13392. "buyorsell": {
  13393. "description": "买卖 - 0:买 1:卖",
  13394. "type": "integer"
  13395. },
  13396. "cancelqty": {
  13397. "description": "撤单数量",
  13398. "type": "integer"
  13399. },
  13400. "currencysign": {
  13401. "description": "货币符号",
  13402. "type": "string"
  13403. },
  13404. "decimalplace": {
  13405. "description": "报价小数位",
  13406. "type": "integer"
  13407. },
  13408. "goodscode": {
  13409. "description": "商品代码(内部)",
  13410. "type": "string"
  13411. },
  13412. "goodsid": {
  13413. "description": "商品ID",
  13414. "type": "integer"
  13415. },
  13416. "goodsname": {
  13417. "description": "商品名称",
  13418. "type": "string"
  13419. },
  13420. "listingselecttype": {
  13421. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13422. "type": "integer"
  13423. },
  13424. "marketid": {
  13425. "description": "市场ID",
  13426. "type": "integer"
  13427. },
  13428. "mybuystatus": {
  13429. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13430. "type": "integer"
  13431. },
  13432. "orderamount": {
  13433. "description": "委托金额",
  13434. "type": "number"
  13435. },
  13436. "orderid": {
  13437. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13438. "type": "string"
  13439. },
  13440. "orderprice": {
  13441. "description": "委托价格",
  13442. "type": "number"
  13443. },
  13444. "orderqty": {
  13445. "description": "委托数量",
  13446. "type": "integer"
  13447. },
  13448. "orderstatus": {
  13449. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13450. "type": "integer"
  13451. },
  13452. "ordertime": {
  13453. "description": "委托时间",
  13454. "type": "string"
  13455. },
  13456. "picurls1": {
  13457. "description": "预售商品介绍图片[多张用逗号分隔]",
  13458. "type": "string"
  13459. },
  13460. "picurls2": {
  13461. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13462. "type": "string"
  13463. },
  13464. "trademode": {
  13465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13466. "type": "integer"
  13467. },
  13468. "tradeqty": {
  13469. "description": "成交数量",
  13470. "type": "integer"
  13471. },
  13472. "vendorname1": {
  13473. "description": "预售商品供应商名称",
  13474. "type": "string"
  13475. },
  13476. "vendorname2": {
  13477. "description": "挂牌商品供应商名称",
  13478. "type": "string"
  13479. }
  13480. }
  13481. },
  13482. "models.Market": {
  13483. "type": "object",
  13484. "required": [
  13485. "marketid",
  13486. "marketstatus",
  13487. "openmethod",
  13488. "reckonpricealgorithm",
  13489. "trademode",
  13490. "tradeproperty"
  13491. ],
  13492. "properties": {
  13493. "auctionwrtype": {
  13494. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13495. "type": "integer"
  13496. },
  13497. "canacceptquote": {
  13498. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13499. "type": "integer"
  13500. },
  13501. "cangoodsexercise": {
  13502. "description": "[期权]是否可现货行权- 0:否 1:是",
  13503. "type": "integer"
  13504. },
  13505. "cangoodsexercisetype": {
  13506. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13507. "type": "integer"
  13508. },
  13509. "canmanualquotestrike": {
  13510. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13511. "type": "integer"
  13512. },
  13513. "canmutistage": {
  13514. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13515. "type": "integer"
  13516. },
  13517. "canpreexercise": {
  13518. "description": "[期权]是否可预申报- 0:否 1:是",
  13519. "type": "integer"
  13520. },
  13521. "clearinterval": {
  13522. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13523. "type": "integer"
  13524. },
  13525. "contracttmp": {
  13526. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13527. "type": "string"
  13528. },
  13529. "exchareaid": {
  13530. "description": "所属交易所,可以没有",
  13531. "type": "integer"
  13532. },
  13533. "goodstype": {
  13534. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13535. "type": "integer"
  13536. },
  13537. "hasrebate": {
  13538. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13539. "type": "integer"
  13540. },
  13541. "hastradecredit": {
  13542. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13543. "type": "integer"
  13544. },
  13545. "haswr": {
  13546. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13547. "type": "integer"
  13548. },
  13549. "isdeductmargin": {
  13550. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13551. "type": "integer"
  13552. },
  13553. "isrecordsource": {
  13554. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13555. "type": "integer"
  13556. },
  13557. "isreleasemargin": {
  13558. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13559. "type": "integer"
  13560. },
  13561. "marginformula": {
  13562. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13563. "type": "integer"
  13564. },
  13565. "marginformula2": {
  13566. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13567. "type": "integer"
  13568. },
  13569. "marketid": {
  13570. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13571. "type": "integer"
  13572. },
  13573. "marketname": {
  13574. "description": "市场名称",
  13575. "type": "string"
  13576. },
  13577. "marketserviceid": {
  13578. "description": "市场服务ID",
  13579. "type": "integer"
  13580. },
  13581. "marketstatus": {
  13582. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13583. "type": "integer"
  13584. },
  13585. "markettype": {
  13586. "description": "市场类型- 1:非交易服务 2:交易服务",
  13587. "type": "integer"
  13588. },
  13589. "matchermode": {
  13590. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13591. "type": "integer"
  13592. },
  13593. "openmethod": {
  13594. "description": "开盘模式 - 0 自动 1手动",
  13595. "type": "integer"
  13596. },
  13597. "otcuserid": {
  13598. "description": "场外期权做市商[场外期权]",
  13599. "type": "integer"
  13600. },
  13601. "outersynctime": {
  13602. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13603. "type": "string"
  13604. },
  13605. "pendingflag": {
  13606. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13607. "type": "integer"
  13608. },
  13609. "pendingtime": {
  13610. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13611. "type": "string"
  13612. },
  13613. "performancetempid": {
  13614. "description": "履约计划模板ID - 作废",
  13615. "type": "integer"
  13616. },
  13617. "premiumquotemode": {
  13618. "description": "权利金报价方式 - 1:自动 2:手动",
  13619. "type": "integer"
  13620. },
  13621. "rebateratio": {
  13622. "description": "返利比率[竞价式]",
  13623. "type": "number"
  13624. },
  13625. "reckonorder": {
  13626. "description": "结算顺序",
  13627. "type": "integer"
  13628. },
  13629. "reckonpricealgorithm": {
  13630. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13631. "type": "integer"
  13632. },
  13633. "reckonpriceparam": {
  13634. "description": "结算价参数",
  13635. "type": "integer"
  13636. },
  13637. "reckontime": {
  13638. "description": "结算时间[通道交易-对冲](HH:mm)",
  13639. "type": "string"
  13640. },
  13641. "roleprioritytype": {
  13642. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13643. "type": "integer"
  13644. },
  13645. "selllistingauditflag": {
  13646. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13647. "type": "integer"
  13648. },
  13649. "trademarkettype": {
  13650. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13651. "type": "integer"
  13652. },
  13653. "trademode": {
  13654. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13655. "type": "integer"
  13656. },
  13657. "tradeproperty": {
  13658. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13659. "type": "integer"
  13660. },
  13661. "tradetype": {
  13662. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13663. "type": "integer"
  13664. }
  13665. }
  13666. },
  13667. "models.Marketrun": {
  13668. "type": "object",
  13669. "required": [
  13670. "marketid",
  13671. "nexttradedate",
  13672. "reckonflag",
  13673. "runstatus",
  13674. "tradedate",
  13675. "tradedate2"
  13676. ],
  13677. "properties": {
  13678. "afternexttradedate": {
  13679. "description": "下下交易日",
  13680. "type": "string"
  13681. },
  13682. "clearquoteflag": {
  13683. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13684. "type": "integer"
  13685. },
  13686. "lastreckondate": {
  13687. "description": "最新交易日(结算成功)",
  13688. "type": "string"
  13689. },
  13690. "machinedate": {
  13691. "description": "机器时间",
  13692. "type": "string"
  13693. },
  13694. "manualflag": {
  13695. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13696. "type": "integer"
  13697. },
  13698. "marketid": {
  13699. "description": "市场ID",
  13700. "type": "integer"
  13701. },
  13702. "nexttradedate": {
  13703. "description": "下一交易日",
  13704. "type": "string"
  13705. },
  13706. "pretradedate": {
  13707. "description": "上一交易日",
  13708. "type": "string"
  13709. },
  13710. "reckonflag": {
  13711. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13712. "type": "integer"
  13713. },
  13714. "runstatus": {
  13715. "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.今日免清算",
  13716. "type": "integer"
  13717. },
  13718. "sectionid": {
  13719. "description": "时间段号[多时段时用]",
  13720. "type": "integer"
  13721. },
  13722. "tradedate": {
  13723. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13724. "type": "string"
  13725. },
  13726. "tradedate2": {
  13727. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13728. "type": "string"
  13729. },
  13730. "updatetime": {
  13731. "description": "更新时间",
  13732. "type": "string"
  13733. }
  13734. }
  13735. },
  13736. "models.Messageboard": {
  13737. "type": "object",
  13738. "required": [
  13739. "messageboardid"
  13740. ],
  13741. "properties": {
  13742. "createtime": {
  13743. "description": "创建时间",
  13744. "type": "string"
  13745. },
  13746. "message": {
  13747. "description": "留言信息",
  13748. "type": "string"
  13749. },
  13750. "messageboardid": {
  13751. "description": "留言簿ID(SEQ_MessageBoard)",
  13752. "type": "integer"
  13753. },
  13754. "userid": {
  13755. "description": "用户ID",
  13756. "type": "integer"
  13757. }
  13758. }
  13759. },
  13760. "models.MyCoupon": {
  13761. "type": "object",
  13762. "required": [
  13763. "accountid",
  13764. "coupontypeid"
  13765. ],
  13766. "properties": {
  13767. "accountid": {
  13768. "description": "资金账户ID",
  13769. "type": "integer"
  13770. },
  13771. "areauserid": {
  13772. "description": "所属机构",
  13773. "type": "integer"
  13774. },
  13775. "conditionvalue": {
  13776. "description": "条件阈值(可为0)",
  13777. "type": "number"
  13778. },
  13779. "couponcategroy": {
  13780. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13781. "type": "integer"
  13782. },
  13783. "couponname": {
  13784. "description": "优惠券名称",
  13785. "type": "string"
  13786. },
  13787. "coupontypeid": {
  13788. "description": "优惠券类型ID",
  13789. "type": "string"
  13790. },
  13791. "couponvalue": {
  13792. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13793. "type": "number"
  13794. },
  13795. "curfreezeqty": {
  13796. "description": "期末冻结数量",
  13797. "type": "integer"
  13798. },
  13799. "curqty": {
  13800. "description": "期末数量",
  13801. "type": "integer"
  13802. },
  13803. "isgeneral": {
  13804. "description": "是否通用券 - 0:否 1:是",
  13805. "type": "integer"
  13806. },
  13807. "isunusable": {
  13808. "description": "是否不可用",
  13809. "type": "boolean"
  13810. },
  13811. "limitedflag": {
  13812. "description": "是否指定商品 - 0:不限 1:限制",
  13813. "type": "integer"
  13814. },
  13815. "limitedgoodsids": {
  13816. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13817. "type": "string"
  13818. },
  13819. "orifreezeqty": {
  13820. "description": "期初冻结数量",
  13821. "type": "integer"
  13822. },
  13823. "oriqty": {
  13824. "description": "期初数量",
  13825. "type": "integer"
  13826. },
  13827. "reasontype": {
  13828. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13829. "type": "integer"
  13830. },
  13831. "todaydecrease": {
  13832. "description": "今日减少",
  13833. "type": "integer"
  13834. },
  13835. "todayincrease": {
  13836. "description": "今日增加",
  13837. "type": "integer"
  13838. },
  13839. "userid": {
  13840. "description": "用户ID",
  13841. "type": "integer"
  13842. },
  13843. "userscope": {
  13844. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13845. "type": "string"
  13846. }
  13847. }
  13848. },
  13849. "models.MyCouponHold": {
  13850. "type": "object",
  13851. "required": [
  13852. "couponholdid"
  13853. ],
  13854. "properties": {
  13855. "accountid": {
  13856. "description": "资金账户ID",
  13857. "type": "integer"
  13858. },
  13859. "conditionvalue": {
  13860. "description": "条件阈值(可为0)",
  13861. "type": "number"
  13862. },
  13863. "couponcategroy": {
  13864. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13865. "type": "integer"
  13866. },
  13867. "couponholdid": {
  13868. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13869. "type": "string"
  13870. },
  13871. "couponname": {
  13872. "description": "优惠券名称",
  13873. "type": "string"
  13874. },
  13875. "coupontypeid": {
  13876. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13877. "type": "string"
  13878. },
  13879. "couponvalue": {
  13880. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13881. "type": "number"
  13882. },
  13883. "createtime": {
  13884. "description": "创建时间",
  13885. "type": "string"
  13886. },
  13887. "enddate": {
  13888. "description": "结束日期",
  13889. "type": "string"
  13890. },
  13891. "giveapplyid": {
  13892. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  13893. "type": "integer"
  13894. },
  13895. "holdstatus": {
  13896. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  13897. "type": "integer"
  13898. },
  13899. "isgeneral": {
  13900. "description": "是否通用券 - 0:否 1:是",
  13901. "type": "integer"
  13902. },
  13903. "limitedflag": {
  13904. "description": "是否指定商品 - 0:不限 1:限制",
  13905. "type": "integer"
  13906. },
  13907. "limitedgoodsids": {
  13908. "description": "指定商品IDs[逗号分隔]",
  13909. "type": "string"
  13910. },
  13911. "qty": {
  13912. "description": "数量(按1平铺)",
  13913. "type": "integer"
  13914. },
  13915. "startdate": {
  13916. "description": "开始日期",
  13917. "type": "string"
  13918. },
  13919. "userid": {
  13920. "description": "用户ID",
  13921. "type": "integer"
  13922. },
  13923. "userscope": {
  13924. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  13925. "type": "string"
  13926. }
  13927. }
  13928. },
  13929. "models.MyUsedCoupon": {
  13930. "type": "object",
  13931. "required": [
  13932. "coupontypeid",
  13933. "orderid"
  13934. ],
  13935. "properties": {
  13936. "accountid": {
  13937. "description": "资金账户ID(买方)",
  13938. "type": "integer"
  13939. },
  13940. "conditionvalue": {
  13941. "description": "条件阈值(可为0)",
  13942. "type": "number"
  13943. },
  13944. "couponcategroy": {
  13945. "description": "种类 - 1:现金券 2:折扣券",
  13946. "type": "integer"
  13947. },
  13948. "couponname": {
  13949. "description": "优惠券名称",
  13950. "type": "string"
  13951. },
  13952. "coupontypeid": {
  13953. "description": "优惠券类型ID(买方)",
  13954. "type": "string"
  13955. },
  13956. "couponvalue": {
  13957. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  13958. "type": "number"
  13959. },
  13960. "createtime": {
  13961. "description": "创建时间",
  13962. "type": "string"
  13963. },
  13964. "goodsid": {
  13965. "description": "商品ID",
  13966. "type": "integer"
  13967. },
  13968. "handlestatus": {
  13969. "description": "处理状态",
  13970. "type": "integer"
  13971. },
  13972. "marketid": {
  13973. "description": "市场ID",
  13974. "type": "integer"
  13975. },
  13976. "offamount": {
  13977. "description": "优惠金额",
  13978. "type": "number"
  13979. },
  13980. "orderid": {
  13981. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13982. "type": "string"
  13983. },
  13984. "sellaccountid": {
  13985. "description": "资金账户ID(卖方)",
  13986. "type": "integer"
  13987. },
  13988. "tradeamount": {
  13989. "description": "成交金额",
  13990. "type": "number"
  13991. },
  13992. "tradeid": {
  13993. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13994. "type": "string"
  13995. },
  13996. "usedqty": {
  13997. "description": "使用数量",
  13998. "type": "integer"
  13999. }
  14000. }
  14001. },
  14002. "models.OperationPrimaryMenu": {
  14003. "type": "object",
  14004. "properties": {
  14005. "Children": {
  14006. "description": "二级功能菜单",
  14007. "type": "array",
  14008. "items": {
  14009. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14010. }
  14011. },
  14012. "Key": {
  14013. "description": "菜单KEY",
  14014. "type": "string"
  14015. },
  14016. "Label": {
  14017. "description": "菜单标题",
  14018. "type": "string"
  14019. }
  14020. }
  14021. },
  14022. "models.OperationSecondaryMenu": {
  14023. "type": "object",
  14024. "properties": {
  14025. "Key": {
  14026. "description": "菜单KEY",
  14027. "type": "string"
  14028. },
  14029. "Label": {
  14030. "description": "菜单标题",
  14031. "type": "string"
  14032. },
  14033. "TabList": {
  14034. "description": "三级功能菜单",
  14035. "type": "array",
  14036. "items": {
  14037. "$ref": "#/definitions/models.OperationTabMenu"
  14038. }
  14039. }
  14040. }
  14041. },
  14042. "models.OperationTabMenu": {
  14043. "type": "object",
  14044. "properties": {
  14045. "Key": {
  14046. "description": "菜单KEY",
  14047. "type": "string"
  14048. },
  14049. "Label": {
  14050. "description": "菜单标题",
  14051. "type": "string"
  14052. }
  14053. }
  14054. },
  14055. "models.QueryErrorInfosRsp": {
  14056. "type": "object",
  14057. "required": [
  14058. "errorid"
  14059. ],
  14060. "properties": {
  14061. "description": {
  14062. "description": "异常描述",
  14063. "type": "string"
  14064. },
  14065. "errorcode": {
  14066. "description": "异常代码",
  14067. "type": "string"
  14068. },
  14069. "errorid": {
  14070. "description": "异常ID",
  14071. "type": "integer"
  14072. },
  14073. "modulecode": {
  14074. "description": "所属模块",
  14075. "type": "string"
  14076. },
  14077. "operatecode": {
  14078. "description": "所属操作",
  14079. "type": "string"
  14080. },
  14081. "rownumber": {
  14082. "description": "行号",
  14083. "type": "string"
  14084. }
  14085. }
  14086. },
  14087. "models.QuotePrimaryMenu": {
  14088. "type": "object",
  14089. "properties": {
  14090. "Index": {
  14091. "description": "序号",
  14092. "type": "integer"
  14093. },
  14094. "Key": {
  14095. "description": "键名",
  14096. "type": "string"
  14097. },
  14098. "Name": {
  14099. "description": "菜单名称",
  14100. "type": "string"
  14101. },
  14102. "SubMenus": {
  14103. "description": "子菜单",
  14104. "type": "array",
  14105. "items": {
  14106. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14107. }
  14108. },
  14109. "SubTitleType": {
  14110. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14111. "type": "integer"
  14112. },
  14113. "TradeModes": {
  14114. "description": "包含市场交易类型",
  14115. "type": "string"
  14116. }
  14117. }
  14118. },
  14119. "models.QuoteSecondaryMenu": {
  14120. "type": "object",
  14121. "properties": {
  14122. "ExExchangeCode": {
  14123. "description": "外部交易所代码",
  14124. "type": "string"
  14125. },
  14126. "ExExchangeID": {
  14127. "description": "外部交易所ID",
  14128. "type": "integer"
  14129. },
  14130. "GoodsGroupIDs": {
  14131. "description": "商品组ID列表",
  14132. "type": "array",
  14133. "items": {
  14134. "type": "integer"
  14135. }
  14136. },
  14137. "Index": {
  14138. "description": "序号",
  14139. "type": "integer"
  14140. },
  14141. "MarketID": {
  14142. "description": "市场ID",
  14143. "type": "integer"
  14144. },
  14145. "MenuTitle": {
  14146. "description": "菜单标题(市场名称或外部交易所名称)",
  14147. "type": "string"
  14148. },
  14149. "TradeMode": {
  14150. "description": "交易模式",
  14151. "type": "integer"
  14152. }
  14153. }
  14154. },
  14155. "models.SearchGoods": {
  14156. "type": "object",
  14157. "required": [
  14158. "goodscode",
  14159. "goodsid",
  14160. "goodsname",
  14161. "marketid",
  14162. "trademode"
  14163. ],
  14164. "properties": {
  14165. "goodscode": {
  14166. "description": "商品代码(内部)",
  14167. "type": "string"
  14168. },
  14169. "goodsid": {
  14170. "description": "商品ID(自增ID SEQ_GOODS)",
  14171. "type": "integer"
  14172. },
  14173. "goodsname": {
  14174. "description": "商品名称",
  14175. "type": "string"
  14176. },
  14177. "marketid": {
  14178. "description": "所属市场ID",
  14179. "type": "integer"
  14180. },
  14181. "marketname": {
  14182. "description": "市场名称",
  14183. "type": "string"
  14184. },
  14185. "trademode": {
  14186. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14187. "type": "integer"
  14188. }
  14189. }
  14190. },
  14191. "models.Szdz2imageconfig": {
  14192. "type": "object",
  14193. "required": [
  14194. "configid"
  14195. ],
  14196. "properties": {
  14197. "configid": {
  14198. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14199. "type": "integer"
  14200. },
  14201. "imagepath": {
  14202. "description": "图片",
  14203. "type": "string"
  14204. },
  14205. "imagetype": {
  14206. "description": "类型 - 1:App首页轮播 2:我的",
  14207. "type": "integer"
  14208. },
  14209. "sort": {
  14210. "description": "排序",
  14211. "type": "integer"
  14212. },
  14213. "title": {
  14214. "description": "标题",
  14215. "type": "string"
  14216. },
  14217. "url": {
  14218. "description": "链接",
  14219. "type": "string"
  14220. }
  14221. }
  14222. },
  14223. "models.Szdz3convertconfig": {
  14224. "type": "object",
  14225. "required": [
  14226. "converttype",
  14227. "innergoodsid",
  14228. "outergoodscode"
  14229. ],
  14230. "properties": {
  14231. "canin": {
  14232. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14233. "type": "integer"
  14234. },
  14235. "canout": {
  14236. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14237. "type": "integer"
  14238. },
  14239. "converttype": {
  14240. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14241. "type": "integer"
  14242. },
  14243. "createtime": {
  14244. "description": "创建时间",
  14245. "type": "string"
  14246. },
  14247. "creatorid": {
  14248. "description": "创建人",
  14249. "type": "integer"
  14250. },
  14251. "daymaxvalue": {
  14252. "description": "当日最大转入限制",
  14253. "type": "number"
  14254. },
  14255. "freezedays": {
  14256. "description": "冻结天数 [5:花生米转交易]",
  14257. "type": "integer"
  14258. },
  14259. "innergoodsid": {
  14260. "description": "内部商品ID[交易]",
  14261. "type": "integer"
  14262. },
  14263. "inratio": {
  14264. "description": "目标值",
  14265. "type": "integer"
  14266. },
  14267. "modifierid": {
  14268. "description": "修改人",
  14269. "type": "integer"
  14270. },
  14271. "modifytime": {
  14272. "description": "修改时间",
  14273. "type": "string"
  14274. },
  14275. "outergoodscode": {
  14276. "description": "外部商品代码[JD\\PD]",
  14277. "type": "string"
  14278. },
  14279. "outratio": {
  14280. "description": "源值",
  14281. "type": "integer"
  14282. },
  14283. "pddecimalplace": {
  14284. "description": "PD小数位",
  14285. "type": "integer"
  14286. },
  14287. "timemaxvalue": {
  14288. "description": "单次最大转入限制",
  14289. "type": "number"
  14290. },
  14291. "timeminvalue": {
  14292. "description": "单次最小转入限制",
  14293. "type": "number"
  14294. }
  14295. }
  14296. },
  14297. "models.Szdz3searchwhitelist": {
  14298. "type": "object",
  14299. "required": [
  14300. "userid"
  14301. ],
  14302. "properties": {
  14303. "createtime": {
  14304. "description": "创建时间",
  14305. "type": "string"
  14306. },
  14307. "creatorid": {
  14308. "description": "创建人",
  14309. "type": "integer"
  14310. },
  14311. "modifierid": {
  14312. "description": "修改人",
  14313. "type": "integer"
  14314. },
  14315. "modifytime": {
  14316. "description": "修改时间",
  14317. "type": "string"
  14318. },
  14319. "userid": {
  14320. "description": "用户ID",
  14321. "type": "integer"
  14322. }
  14323. }
  14324. },
  14325. "models.Taaccount": {
  14326. "type": "object",
  14327. "required": [
  14328. "accountid",
  14329. "userid"
  14330. ],
  14331. "properties": {
  14332. "accountflag": {
  14333. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14334. "type": "integer"
  14335. },
  14336. "accountid": {
  14337. "description": "资金账户ID",
  14338. "type": "integer"
  14339. },
  14340. "accountname": {
  14341. "description": "账户名称",
  14342. "type": "string"
  14343. },
  14344. "balance": {
  14345. "description": "期初余额",
  14346. "type": "number"
  14347. },
  14348. "capitalbalance": {
  14349. "description": "本金余额[外部子账户实际出入金余额]",
  14350. "type": "number"
  14351. },
  14352. "changeflag": {
  14353. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14354. "type": "integer"
  14355. },
  14356. "changetime": {
  14357. "description": "账户状态变更时间",
  14358. "type": "string"
  14359. },
  14360. "closepl": {
  14361. "description": "今日平仓盈亏",
  14362. "type": "number"
  14363. },
  14364. "creditdecrease": {
  14365. "description": "今日授信减少",
  14366. "type": "number"
  14367. },
  14368. "creditincrease": {
  14369. "description": "今日授信增加",
  14370. "type": "number"
  14371. },
  14372. "currencyid": {
  14373. "description": "货币ID",
  14374. "type": "integer"
  14375. },
  14376. "currentbalance": {
  14377. "description": "期末余额",
  14378. "type": "number"
  14379. },
  14380. "freezecharge": {
  14381. "description": "手续费冻结",
  14382. "type": "number"
  14383. },
  14384. "freezemargin": {
  14385. "description": "冻结保证金",
  14386. "type": "number"
  14387. },
  14388. "fromaccountid": {
  14389. "description": "所属上级账户",
  14390. "type": "integer"
  14391. },
  14392. "inamount": {
  14393. "description": "今日入金金额(包括三方入金)",
  14394. "type": "number"
  14395. },
  14396. "ismain": {
  14397. "description": "是否母账号 0:不是母账户 1:是母账户",
  14398. "type": "integer"
  14399. },
  14400. "ismarketaccount": {
  14401. "description": "是否机构接单账号 0:不是 1:是",
  14402. "type": "integer"
  14403. },
  14404. "isreckonaccount": {
  14405. "description": "是否机构分润账号 0:不是 1:是",
  14406. "type": "integer"
  14407. },
  14408. "mortgagecredit": {
  14409. "description": "授信金额",
  14410. "type": "number"
  14411. },
  14412. "orifreezecharge": {
  14413. "description": "期初手续费冻结",
  14414. "type": "number"
  14415. },
  14416. "orifreezemargin": {
  14417. "description": "期初冻结保证金",
  14418. "type": "number"
  14419. },
  14420. "orimortgagecredit": {
  14421. "description": "期初授信金额",
  14422. "type": "number"
  14423. },
  14424. "oriothercredit": {
  14425. "description": "期初其它授信金额",
  14426. "type": "number"
  14427. },
  14428. "oriotherfreezemargin": {
  14429. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14430. "type": "number"
  14431. },
  14432. "orioutamountfreeze": {
  14433. "description": "期初出金冻结",
  14434. "type": "number"
  14435. },
  14436. "oriusedmargin": {
  14437. "description": "期初占用保证金",
  14438. "type": "number"
  14439. },
  14440. "othercredit": {
  14441. "description": "其它授信金额",
  14442. "type": "number"
  14443. },
  14444. "othercreditdecrease": {
  14445. "description": "今日其它授信减少",
  14446. "type": "number"
  14447. },
  14448. "othercreditincrease": {
  14449. "description": "今日其它授信增加",
  14450. "type": "number"
  14451. },
  14452. "otherfreezemargin": {
  14453. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14454. "type": "number"
  14455. },
  14456. "otherincome": {
  14457. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14458. "type": "number"
  14459. },
  14460. "otherpay": {
  14461. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14462. "type": "number"
  14463. },
  14464. "outamount": {
  14465. "description": "今日出金金额(包括三方出金)",
  14466. "type": "number"
  14467. },
  14468. "outamountfreeze": {
  14469. "description": "出金冻结",
  14470. "type": "number"
  14471. },
  14472. "outthreshold": {
  14473. "description": "出金阈值",
  14474. "type": "number"
  14475. },
  14476. "parentaccountid": {
  14477. "description": "所属根账号",
  14478. "type": "integer"
  14479. },
  14480. "paycharge": {
  14481. "description": "今日手续费支出",
  14482. "type": "number"
  14483. },
  14484. "relatedaccountstatus": {
  14485. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14486. "type": "integer"
  14487. },
  14488. "relateduserid": {
  14489. "description": "关联用户",
  14490. "type": "integer"
  14491. },
  14492. "serivcegroup": {
  14493. "description": "服务分组",
  14494. "type": "integer"
  14495. },
  14496. "signstatus": {
  14497. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14498. "type": "integer"
  14499. },
  14500. "sublevelpath": {
  14501. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14502. "type": "string"
  14503. },
  14504. "taaccounttype": {
  14505. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14506. "type": "integer"
  14507. },
  14508. "thirdinamount": {
  14509. "description": "今日三方入金",
  14510. "type": "number"
  14511. },
  14512. "thirdoutamount": {
  14513. "description": "今日三方出金",
  14514. "type": "number"
  14515. },
  14516. "tradestatus": {
  14517. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14518. "type": "integer"
  14519. },
  14520. "tradestatuschangetime": {
  14521. "description": "激活时间",
  14522. "type": "string"
  14523. },
  14524. "transferamount": {
  14525. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14526. "type": "number"
  14527. },
  14528. "usedmargin": {
  14529. "description": "占用保证金",
  14530. "type": "number"
  14531. },
  14532. "userid": {
  14533. "description": "用户ID",
  14534. "type": "integer"
  14535. }
  14536. }
  14537. },
  14538. "models.Tablecolumnconfig": {
  14539. "type": "object",
  14540. "required": [
  14541. "autoid"
  14542. ],
  14543. "properties": {
  14544. "aligntype": {
  14545. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14546. "type": "integer"
  14547. },
  14548. "autoid": {
  14549. "description": "AutoID",
  14550. "type": "integer"
  14551. },
  14552. "columnfield": {
  14553. "description": "列字段",
  14554. "type": "string"
  14555. },
  14556. "columntitle": {
  14557. "description": "列Title",
  14558. "type": "string"
  14559. },
  14560. "columnwidth": {
  14561. "description": "列宽",
  14562. "type": "string"
  14563. },
  14564. "formatterstring": {
  14565. "description": "格式化字符",
  14566. "type": "string"
  14567. },
  14568. "formattertype": {
  14569. "description": "格式化类型",
  14570. "type": "string"
  14571. },
  14572. "groupname": {
  14573. "description": "表头分组名称",
  14574. "type": "string"
  14575. },
  14576. "isshow": {
  14577. "description": "是否显示 - 0:不显示 1:显示",
  14578. "type": "integer"
  14579. },
  14580. "needsummary": {
  14581. "description": "是否需要汇总 - 0:不需要 1:需要",
  14582. "type": "integer"
  14583. },
  14584. "orderindex": {
  14585. "description": "顺序",
  14586. "type": "integer"
  14587. },
  14588. "remark": {
  14589. "description": "备注",
  14590. "type": "string"
  14591. },
  14592. "summarytype": {
  14593. "description": "汇总类型 - 1:加总 2:最后一个",
  14594. "type": "integer"
  14595. },
  14596. "tablekey": {
  14597. "description": "列表Key",
  14598. "type": "string"
  14599. }
  14600. }
  14601. },
  14602. "models.Useraccount": {
  14603. "type": "object",
  14604. "required": [
  14605. "userid"
  14606. ],
  14607. "properties": {
  14608. "accountname": {
  14609. "description": "账户名称(机构名称)",
  14610. "type": "string"
  14611. },
  14612. "accountstatus": {
  14613. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14614. "type": "integer"
  14615. },
  14616. "auditremark": {
  14617. "description": "审核备注",
  14618. "type": "string"
  14619. },
  14620. "audittime": {
  14621. "description": "审核时间",
  14622. "type": "string"
  14623. },
  14624. "audituserid": {
  14625. "description": "审核人",
  14626. "type": "integer"
  14627. },
  14628. "broker": {
  14629. "description": "所属经纪人ID",
  14630. "type": "integer"
  14631. },
  14632. "canceltime": {
  14633. "description": "销户时间",
  14634. "type": "string"
  14635. },
  14636. "canceluserid": {
  14637. "description": "销户人",
  14638. "type": "integer"
  14639. },
  14640. "createtime": {
  14641. "description": "创建时间",
  14642. "type": "string"
  14643. },
  14644. "creatorid": {
  14645. "description": "创建人",
  14646. "type": "integer"
  14647. },
  14648. "hasauth": {
  14649. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14650. "type": "integer"
  14651. },
  14652. "isanonymous": {
  14653. "description": "是否匿名下单 - 0:否 1:是",
  14654. "type": "integer"
  14655. },
  14656. "maxinvestornum": {
  14657. "description": "最大用户数(经纪会员下投资者个数)",
  14658. "type": "integer"
  14659. },
  14660. "memberuserid": {
  14661. "description": "所属会员ID",
  14662. "type": "integer"
  14663. },
  14664. "modifierid": {
  14665. "description": "修改人",
  14666. "type": "integer"
  14667. },
  14668. "modifyremark": {
  14669. "description": "变更备注",
  14670. "type": "string"
  14671. },
  14672. "modifystatus": {
  14673. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14674. "type": "integer"
  14675. },
  14676. "modifytime": {
  14677. "description": "修改时间",
  14678. "type": "string"
  14679. },
  14680. "parentuserid": {
  14681. "description": "所属机构ID",
  14682. "type": "integer"
  14683. },
  14684. "reckonaccountid": {
  14685. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14686. "type": "integer"
  14687. },
  14688. "refercount": {
  14689. "description": "推荐总人数",
  14690. "type": "integer"
  14691. },
  14692. "refereeuserid": {
  14693. "description": "推荐人ID",
  14694. "type": "integer"
  14695. },
  14696. "refernum": {
  14697. "description": "推荐码",
  14698. "type": "string"
  14699. },
  14700. "subarealevelpath": {
  14701. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14702. "type": "string"
  14703. },
  14704. "userid": {
  14705. "description": "用户ID",
  14706. "type": "integer"
  14707. },
  14708. "usertype": {
  14709. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14710. "type": "integer"
  14711. }
  14712. }
  14713. },
  14714. "models.Userfavoritegoods": {
  14715. "type": "object",
  14716. "required": [
  14717. "goodsid"
  14718. ],
  14719. "properties": {
  14720. "goodsid": {
  14721. "description": "商品ID",
  14722. "type": "integer"
  14723. }
  14724. }
  14725. },
  14726. "models.Userinfo": {
  14727. "type": "object",
  14728. "required": [
  14729. "userid"
  14730. ],
  14731. "properties": {
  14732. "address": {
  14733. "description": "地址",
  14734. "type": "string"
  14735. },
  14736. "attachment1": {
  14737. "description": "附件1",
  14738. "type": "string"
  14739. },
  14740. "attachment2": {
  14741. "description": "附件2",
  14742. "type": "string"
  14743. },
  14744. "bankaccount": {
  14745. "description": "银行帐号 (加密存储)",
  14746. "type": "string"
  14747. },
  14748. "bankaccountname": {
  14749. "description": "收款人名称",
  14750. "type": "string"
  14751. },
  14752. "bankcardfrontphotourl": {
  14753. "description": "银行卡正面照地址",
  14754. "type": "string"
  14755. },
  14756. "bankid": {
  14757. "description": "银行编码",
  14758. "type": "string"
  14759. },
  14760. "bankname": {
  14761. "description": "银行名称",
  14762. "type": "string"
  14763. },
  14764. "biznature": {
  14765. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14766. "type": "integer"
  14767. },
  14768. "bizscope": {
  14769. "description": "企业经营范围(企业)",
  14770. "type": "string"
  14771. },
  14772. "cardbackphotourl": {
  14773. "description": "证件背面图片地址",
  14774. "type": "string"
  14775. },
  14776. "cardfrontphotourl": {
  14777. "description": "证件正面图片地址",
  14778. "type": "string"
  14779. },
  14780. "cardnum": {
  14781. "description": "证件号码(加密存储)",
  14782. "type": "string"
  14783. },
  14784. "cardtypeid": {
  14785. "description": "证件类型ID",
  14786. "type": "integer"
  14787. },
  14788. "cityid": {
  14789. "description": "市",
  14790. "type": "integer"
  14791. },
  14792. "company": {
  14793. "description": "公司(个人)",
  14794. "type": "string"
  14795. },
  14796. "contactname": {
  14797. "description": "联系人",
  14798. "type": "string"
  14799. },
  14800. "countryid": {
  14801. "description": "国家",
  14802. "type": "integer"
  14803. },
  14804. "createtime": {
  14805. "description": "创建时间",
  14806. "type": "string"
  14807. },
  14808. "creatorid": {
  14809. "description": "创建人",
  14810. "type": "integer"
  14811. },
  14812. "customername": {
  14813. "description": "客户名称(企业名称)",
  14814. "type": "string"
  14815. },
  14816. "districtid": {
  14817. "description": "地区",
  14818. "type": "integer"
  14819. },
  14820. "email": {
  14821. "description": "邮件(加密存储)",
  14822. "type": "string"
  14823. },
  14824. "fax": {
  14825. "description": "传真(加密存储)",
  14826. "type": "string"
  14827. },
  14828. "halfbodyphotourl": {
  14829. "description": "半身照地址",
  14830. "type": "string"
  14831. },
  14832. "hasencrypt": {
  14833. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14834. "type": "integer"
  14835. },
  14836. "headurl": {
  14837. "description": "头像地址",
  14838. "type": "string"
  14839. },
  14840. "legalcardbackphotourl": {
  14841. "description": "法人身份证背面照地址",
  14842. "type": "string"
  14843. },
  14844. "legalcardfrontphotourl": {
  14845. "description": "法人身份证正面照地址",
  14846. "type": "string"
  14847. },
  14848. "legalpersonname": {
  14849. "description": "法人姓名(企业)",
  14850. "type": "string"
  14851. },
  14852. "mobile": {
  14853. "description": "手机号码(加密存储)",
  14854. "type": "string"
  14855. },
  14856. "mobile2": {
  14857. "description": "手机号码[明文-尚志]",
  14858. "type": "string"
  14859. },
  14860. "modifierid": {
  14861. "description": "修改人",
  14862. "type": "integer"
  14863. },
  14864. "modifiertime": {
  14865. "description": "修改时间",
  14866. "type": "string"
  14867. },
  14868. "needinvoice": {
  14869. "description": "是否需要发票 - 0:不需要 1:需要",
  14870. "type": "integer"
  14871. },
  14872. "nickname": {
  14873. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14874. "type": "string"
  14875. },
  14876. "openmode": {
  14877. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  14878. "type": "integer"
  14879. },
  14880. "otherurl": {
  14881. "description": "其它图片地址[使用分号分隔]",
  14882. "type": "string"
  14883. },
  14884. "postalcode": {
  14885. "description": "邮政编码",
  14886. "type": "string"
  14887. },
  14888. "provinceid": {
  14889. "description": "省",
  14890. "type": "integer"
  14891. },
  14892. "qq": {
  14893. "description": "QQ(加密存储",
  14894. "type": "string"
  14895. },
  14896. "remark": {
  14897. "description": "备注",
  14898. "type": "string"
  14899. },
  14900. "sex": {
  14901. "description": "用户性别 0: 女 1: 男",
  14902. "type": "integer"
  14903. },
  14904. "signpdfurl": {
  14905. "description": "签约pdf文件",
  14906. "type": "string"
  14907. },
  14908. "telphone": {
  14909. "description": "联系电话(加密存储)",
  14910. "type": "string"
  14911. },
  14912. "userid": {
  14913. "description": "用户ID",
  14914. "type": "integer"
  14915. },
  14916. "userinfotype": {
  14917. "description": "用户信息类型 - 1:个人 2:企业",
  14918. "type": "integer"
  14919. },
  14920. "userstatus": {
  14921. "description": "用户状态 - 1:正常 2:注销",
  14922. "type": "integer"
  14923. },
  14924. "usertype": {
  14925. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14926. "type": "integer"
  14927. },
  14928. "wechat": {
  14929. "description": "微信(加密存储)",
  14930. "type": "string"
  14931. },
  14932. "wskhinfo": {
  14933. "description": "开户申请信息(JSON)",
  14934. "type": "string"
  14935. }
  14936. }
  14937. },
  14938. "models.WRCategoryTree": {
  14939. "type": "object",
  14940. "required": [
  14941. "categoryid"
  14942. ],
  14943. "properties": {
  14944. "areauserid": {
  14945. "description": "所属机构",
  14946. "type": "integer"
  14947. },
  14948. "categorydesc": {
  14949. "description": "类别描述",
  14950. "type": "string"
  14951. },
  14952. "categoryid": {
  14953. "description": "类别ID(SEQ_WRCATEGORY)",
  14954. "type": "integer"
  14955. },
  14956. "categoryname": {
  14957. "description": "类别名称",
  14958. "type": "string"
  14959. },
  14960. "iconurl": {
  14961. "description": "图标地址",
  14962. "type": "string"
  14963. },
  14964. "orderindex": {
  14965. "description": "顺序",
  14966. "type": "integer"
  14967. },
  14968. "parentcategoryid": {
  14969. "description": "父类别ID",
  14970. "type": "integer"
  14971. },
  14972. "subcategory": {
  14973. "description": "子分类",
  14974. "type": "array",
  14975. "items": {
  14976. "$ref": "#/definitions/models.WRCategoryTree"
  14977. }
  14978. }
  14979. }
  14980. },
  14981. "models.WRSConverTDetail": {
  14982. "type": "object",
  14983. "properties": {
  14984. "convertratio": {
  14985. "description": "套保系数",
  14986. "type": "number"
  14987. },
  14988. "deliverygoodsid": {
  14989. "description": "现货品种ID",
  14990. "type": "integer"
  14991. },
  14992. "middlegoodscode": {
  14993. "description": "套保品种代码",
  14994. "type": "string"
  14995. },
  14996. "middlegoodsid": {
  14997. "description": "套保品种ID",
  14998. "type": "integer"
  14999. },
  15000. "middlegoodsname": {
  15001. "description": "套保品种名称",
  15002. "type": "string"
  15003. },
  15004. "modifytime": {
  15005. "description": "修改时间",
  15006. "type": "string"
  15007. },
  15008. "wrstandardid": {
  15009. "description": "现货商品ID",
  15010. "type": "integer"
  15011. }
  15012. }
  15013. },
  15014. "models.WRStandardInfo": {
  15015. "type": "object",
  15016. "required": [
  15017. "wrstandardid"
  15018. ],
  15019. "properties": {
  15020. "createtime": {
  15021. "description": "创建时间",
  15022. "type": "string"
  15023. },
  15024. "creatorid": {
  15025. "description": "创建人",
  15026. "type": "integer"
  15027. },
  15028. "deliverygoodsid": {
  15029. "description": "品种ID",
  15030. "type": "integer"
  15031. },
  15032. "deliverygoodsname": {
  15033. "description": "交割商品名称",
  15034. "type": "string"
  15035. },
  15036. "factoryitemjson": {
  15037. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15038. "type": "string"
  15039. },
  15040. "isvalid": {
  15041. "description": "是否有效 - 0:无效 1:有效",
  15042. "type": "integer"
  15043. },
  15044. "minivalue": {
  15045. "description": "最小变动值",
  15046. "type": "integer"
  15047. },
  15048. "minivaluedp": {
  15049. "description": "最小变动值小数位",
  15050. "type": "integer"
  15051. },
  15052. "realminivalue": {
  15053. "description": "实际最小变动值",
  15054. "type": "integer"
  15055. },
  15056. "realminivaluedp": {
  15057. "description": "实际最小变动值小数位",
  15058. "type": "integer"
  15059. },
  15060. "unitid": {
  15061. "description": "单位ID",
  15062. "type": "integer"
  15063. },
  15064. "unitname": {
  15065. "description": "单位",
  15066. "type": "string"
  15067. },
  15068. "updatetime": {
  15069. "description": "更新时间",
  15070. "type": "string"
  15071. },
  15072. "updatorid": {
  15073. "description": "更新人",
  15074. "type": "integer"
  15075. },
  15076. "wrsstatus": {
  15077. "description": "状态 - 作废 - 0:未激活 1:正常",
  15078. "type": "integer"
  15079. },
  15080. "wrstandardcode": {
  15081. "description": "仓单标准代码",
  15082. "type": "string"
  15083. },
  15084. "wrstandardid": {
  15085. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15086. "type": "integer"
  15087. },
  15088. "wrstandardname": {
  15089. "description": "仓单标准名称",
  15090. "type": "string"
  15091. }
  15092. }
  15093. },
  15094. "models.Warehouseinfo": {
  15095. "type": "object",
  15096. "required": [
  15097. "autoid",
  15098. "warehousecode"
  15099. ],
  15100. "properties": {
  15101. "address": {
  15102. "description": "详细地址",
  15103. "type": "string"
  15104. },
  15105. "areauserid": {
  15106. "description": "所属机构",
  15107. "type": "integer"
  15108. },
  15109. "autoid": {
  15110. "description": "自增ID",
  15111. "type": "integer"
  15112. },
  15113. "cityid": {
  15114. "description": "市",
  15115. "type": "integer"
  15116. },
  15117. "contactname": {
  15118. "description": "联系人",
  15119. "type": "string"
  15120. },
  15121. "contactnum": {
  15122. "description": "联系电话",
  15123. "type": "string"
  15124. },
  15125. "countryid": {
  15126. "description": "国家",
  15127. "type": "integer"
  15128. },
  15129. "createtime": {
  15130. "description": "创建时间",
  15131. "type": "string"
  15132. },
  15133. "districtid": {
  15134. "description": "区",
  15135. "type": "integer"
  15136. },
  15137. "hasvideo": {
  15138. "description": "是否有视频 - 0:无 1:有",
  15139. "type": "integer"
  15140. },
  15141. "provinceid": {
  15142. "description": "省",
  15143. "type": "integer"
  15144. },
  15145. "remark": {
  15146. "description": "审核备注",
  15147. "type": "string"
  15148. },
  15149. "videourl": {
  15150. "description": "视频地址",
  15151. "type": "string"
  15152. },
  15153. "warehousecode": {
  15154. "description": "仓库代码",
  15155. "type": "string"
  15156. },
  15157. "warehousename": {
  15158. "description": "仓库名称",
  15159. "type": "string"
  15160. },
  15161. "warehousestatus": {
  15162. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15163. "type": "integer"
  15164. },
  15165. "warehousetype": {
  15166. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15167. "type": "integer"
  15168. }
  15169. }
  15170. },
  15171. "order.QueryHisTradeDetailRsp": {
  15172. "type": "object",
  15173. "required": [
  15174. "accountid",
  15175. "buyorsell",
  15176. "goodsid",
  15177. "histradedate",
  15178. "marketid",
  15179. "memberuserid",
  15180. "orderid",
  15181. "tradeamount",
  15182. "tradedate",
  15183. "tradeid",
  15184. "tradeprice",
  15185. "tradeqty",
  15186. "tradetime"
  15187. ],
  15188. "properties": {
  15189. "accountid": {
  15190. "description": "账户ID[报价币种]",
  15191. "type": "integer"
  15192. },
  15193. "buildtype": {
  15194. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15195. "type": "integer"
  15196. },
  15197. "buyorsell": {
  15198. "description": "方向 - 0:买 1:卖",
  15199. "type": "integer"
  15200. },
  15201. "charge": {
  15202. "description": "手续费",
  15203. "type": "number"
  15204. },
  15205. "closecharge": {
  15206. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15207. "type": "number"
  15208. },
  15209. "closeexchagechargevalue": {
  15210. "description": "平仓交易所手续费设置值",
  15211. "type": "number"
  15212. },
  15213. "closefeealgorithm": {
  15214. "description": "平仓手续费收取方式 1:比率 2:固定",
  15215. "type": "integer"
  15216. },
  15217. "closememberchargevalue": {
  15218. "description": "平仓会员手续费设置值",
  15219. "type": "number"
  15220. },
  15221. "closepl": {
  15222. "description": "平仓盈亏",
  15223. "type": "number"
  15224. },
  15225. "closepl2": {
  15226. "description": "平仓盈亏[逐笔]",
  15227. "type": "number"
  15228. },
  15229. "closeqty": {
  15230. "description": "平仓数量(先建后平操作 需要记录)",
  15231. "type": "integer"
  15232. },
  15233. "creditamount": {
  15234. "description": "授信金额",
  15235. "type": "number"
  15236. },
  15237. "gcaccountid": {
  15238. "description": "账户ID[合约币种]",
  15239. "type": "integer"
  15240. },
  15241. "goodscode": {
  15242. "description": "商品代码",
  15243. "type": "string"
  15244. },
  15245. "goodsid": {
  15246. "description": "商品ID",
  15247. "type": "integer"
  15248. },
  15249. "goodsname": {
  15250. "description": "商品名称",
  15251. "type": "string"
  15252. },
  15253. "histradedate": {
  15254. "description": "历史交易日",
  15255. "type": "string"
  15256. },
  15257. "intclosepl": {
  15258. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15259. "type": "integer"
  15260. },
  15261. "isconfirmexercise": {
  15262. "description": "是否确认行权- 0:否 1:是",
  15263. "type": "integer"
  15264. },
  15265. "ismain": {
  15266. "description": "是否主单 - 0:不是 1:是",
  15267. "type": "integer"
  15268. },
  15269. "ispreexercise": {
  15270. "description": "是否预申报- 0:否 1:是",
  15271. "type": "integer"
  15272. },
  15273. "isreckoned": {
  15274. "description": "是否结算 - 0:未结算 1:已结算",
  15275. "type": "integer"
  15276. },
  15277. "isvaliddata": {
  15278. "description": "是否有效 - 0:无效 1:有效",
  15279. "type": "integer"
  15280. },
  15281. "listingselecttype": {
  15282. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15283. "type": "integer"
  15284. },
  15285. "marketid": {
  15286. "description": "市场ID",
  15287. "type": "integer"
  15288. },
  15289. "marketname": {
  15290. "description": "市场名称",
  15291. "type": "string"
  15292. },
  15293. "matchaccountid": {
  15294. "description": "对手账号id",
  15295. "type": "integer"
  15296. },
  15297. "memberuserid": {
  15298. "description": "会员id 个人投资者 需要填写",
  15299. "type": "integer"
  15300. },
  15301. "opencharge": {
  15302. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15303. "type": "number"
  15304. },
  15305. "openexchagechargevalue": {
  15306. "description": "建仓交易所手续费设置值",
  15307. "type": "number"
  15308. },
  15309. "openfeealgorithm": {
  15310. "description": "建仓手续费收取方式 1:比率 2:固定",
  15311. "type": "integer"
  15312. },
  15313. "openmemberchargevalue": {
  15314. "description": "建仓会员手续费设置值",
  15315. "type": "number"
  15316. },
  15317. "openqty": {
  15318. "description": "开仓数量(先建后平操作 需要记录)",
  15319. "type": "integer"
  15320. },
  15321. "optiontype": {
  15322. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15323. "type": "integer"
  15324. },
  15325. "orderid": {
  15326. "description": "委托单号",
  15327. "type": "string"
  15328. },
  15329. "performanceplanid": {
  15330. "description": "履约计划ID[期权]",
  15331. "type": "integer"
  15332. },
  15333. "performancestatus": {
  15334. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15335. "type": "integer"
  15336. },
  15337. "preexerciseprice": {
  15338. "description": "预申报价格",
  15339. "type": "number"
  15340. },
  15341. "premium": {
  15342. "description": "权利金 - [持仓单的权利金]",
  15343. "type": "number"
  15344. },
  15345. "relatedouttradeid": {
  15346. "description": "关联外部成交单ID",
  15347. "type": "integer"
  15348. },
  15349. "status": {
  15350. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15351. "type": "integer"
  15352. },
  15353. "tradeamount": {
  15354. "description": "成交金额[账户币种,用于所有权]",
  15355. "type": "number"
  15356. },
  15357. "tradedate": {
  15358. "description": "交易日(yyyyMMdd)",
  15359. "type": "string"
  15360. },
  15361. "tradeid": {
  15362. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15363. "type": "string"
  15364. },
  15365. "trademode": {
  15366. "description": "交易模式",
  15367. "type": "integer"
  15368. },
  15369. "tradeprice": {
  15370. "description": "成交价格",
  15371. "type": "number"
  15372. },
  15373. "tradeproperty": {
  15374. "description": "交易属性",
  15375. "type": "integer"
  15376. },
  15377. "tradeqty": {
  15378. "description": "成交数量",
  15379. "type": "integer"
  15380. },
  15381. "tradetime": {
  15382. "description": "成交时间",
  15383. "type": "string"
  15384. },
  15385. "tradetype": {
  15386. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15387. "type": "integer"
  15388. }
  15389. }
  15390. },
  15391. "order.QueryHisTradeOrderDetailRsp": {
  15392. "type": "object",
  15393. "required": [
  15394. "accountid",
  15395. "buildtype",
  15396. "buyorsell",
  15397. "goodsid",
  15398. "histradedate",
  15399. "marketid",
  15400. "memberuserid",
  15401. "operatetype",
  15402. "orderid",
  15403. "orderqty",
  15404. "ordertime",
  15405. "pricemode",
  15406. "tradedate",
  15407. "validtype"
  15408. ],
  15409. "properties": {
  15410. "accountid": {
  15411. "description": "账户ID[报价币种]",
  15412. "type": "integer"
  15413. },
  15414. "buildtype": {
  15415. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15416. "type": "integer"
  15417. },
  15418. "buyorsell": {
  15419. "description": "买卖 - 0:买 1:卖",
  15420. "type": "integer"
  15421. },
  15422. "cancelorderid": {
  15423. "description": "撤单单号(撤单时填写)",
  15424. "type": "string"
  15425. },
  15426. "cancelqty": {
  15427. "description": "撤单数量",
  15428. "type": "integer"
  15429. },
  15430. "clientordertime": {
  15431. "description": "客户端委托时间",
  15432. "type": "string"
  15433. },
  15434. "clientticket": {
  15435. "description": "客户端流水号",
  15436. "type": "string"
  15437. },
  15438. "clienttype": {
  15439. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15440. "type": "integer"
  15441. },
  15442. "closeexchagechargevalue": {
  15443. "description": "平仓交易所手续费设置值",
  15444. "type": "number"
  15445. },
  15446. "closefeealgorithm": {
  15447. "description": "平仓手续费收取方式 1:比率 2:固定",
  15448. "type": "integer"
  15449. },
  15450. "closefreezecharge": {
  15451. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15452. "type": "number"
  15453. },
  15454. "closememberchargevalue": {
  15455. "description": "平仓会员手续费设置值",
  15456. "type": "number"
  15457. },
  15458. "closeqty": {
  15459. "description": "平仓数量(先建后平操作 需要记录)",
  15460. "type": "integer"
  15461. },
  15462. "closetradeqty": {
  15463. "description": "平仓成交数量(先建后平操作,需要记录)",
  15464. "type": "integer"
  15465. },
  15466. "closeunfreezecharge": {
  15467. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15468. "type": "number"
  15469. },
  15470. "delistingtype": {
  15471. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15472. "type": "integer"
  15473. },
  15474. "freezecharge": {
  15475. "description": "冻结手续费",
  15476. "type": "number"
  15477. },
  15478. "freezemargin": {
  15479. "description": "冻结保证金(冻结交易金额)",
  15480. "type": "number"
  15481. },
  15482. "gcaccountid": {
  15483. "description": "账户ID[合约币种]",
  15484. "type": "integer"
  15485. },
  15486. "goodscode": {
  15487. "description": "商品代码",
  15488. "type": "string"
  15489. },
  15490. "goodsid": {
  15491. "description": "商品ID",
  15492. "type": "integer"
  15493. },
  15494. "goodsname": {
  15495. "description": "商品名称",
  15496. "type": "string"
  15497. },
  15498. "histradedate": {
  15499. "description": "历史交易日",
  15500. "type": "string"
  15501. },
  15502. "isconfirmexercise": {
  15503. "description": "是否确认行权- 0:否 1:是",
  15504. "type": "integer"
  15505. },
  15506. "ispreexercise": {
  15507. "description": "是否预申报- 0:否 1:是",
  15508. "type": "integer"
  15509. },
  15510. "isvaliddata": {
  15511. "description": "是否有效 - 0:无效 1:有效",
  15512. "type": "integer"
  15513. },
  15514. "listingselecttype": {
  15515. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15516. "type": "integer"
  15517. },
  15518. "marginalgorithm": {
  15519. "description": "保证金收取方式 1:比率 2:固定",
  15520. "type": "integer"
  15521. },
  15522. "marginvalue": {
  15523. "description": "即市保证金设置值",
  15524. "type": "number"
  15525. },
  15526. "marketid": {
  15527. "description": "市场ID",
  15528. "type": "integer"
  15529. },
  15530. "marketmaxsub": {
  15531. "description": "市价最大偏移范围",
  15532. "type": "number"
  15533. },
  15534. "marketname": {
  15535. "description": "市场名称",
  15536. "type": "string"
  15537. },
  15538. "memberuserid": {
  15539. "description": "所属会员UserID",
  15540. "type": "integer"
  15541. },
  15542. "openexchagechargevalue": {
  15543. "description": "建仓交易所手续费设置值",
  15544. "type": "number"
  15545. },
  15546. "openfeealgorithm": {
  15547. "description": "建仓手续费收取方式 1:比率 2:固定",
  15548. "type": "integer"
  15549. },
  15550. "openfreezecharge": {
  15551. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15552. "type": "number"
  15553. },
  15554. "openmemberchargevalue": {
  15555. "description": "建仓会员手续费设置值",
  15556. "type": "number"
  15557. },
  15558. "openqty": {
  15559. "description": "开仓数量(先建后平操作,需要记录)",
  15560. "type": "integer"
  15561. },
  15562. "opentradeqty": {
  15563. "description": "开仓成交数量(先建后平操作,需要记录)",
  15564. "type": "integer"
  15565. },
  15566. "openunfreezecharge": {
  15567. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15568. "type": "number"
  15569. },
  15570. "operatetype": {
  15571. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15572. "type": "integer"
  15573. },
  15574. "operatorid": {
  15575. "description": "登录账号(LoginID)",
  15576. "type": "integer"
  15577. },
  15578. "optiontype": {
  15579. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15580. "type": "integer"
  15581. },
  15582. "orderid": {
  15583. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15584. "type": "string"
  15585. },
  15586. "orderprice": {
  15587. "description": "委托价格",
  15588. "type": "number"
  15589. },
  15590. "orderqty": {
  15591. "description": "委托数量",
  15592. "type": "integer"
  15593. },
  15594. "ordersrc": {
  15595. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15596. "type": "integer"
  15597. },
  15598. "orderstatus": {
  15599. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15600. "type": "integer"
  15601. },
  15602. "ordertime": {
  15603. "description": "委托时间",
  15604. "type": "string"
  15605. },
  15606. "preexerciseprice": {
  15607. "description": "预申报价格",
  15608. "type": "number"
  15609. },
  15610. "premium": {
  15611. "description": "权利金",
  15612. "type": "number"
  15613. },
  15614. "preorderid": {
  15615. "description": "关联预埋单号(止盈止损单时填写)",
  15616. "type": "string"
  15617. },
  15618. "pricemode": {
  15619. "description": "取价方式 - 1:市价 2: 限价",
  15620. "type": "integer"
  15621. },
  15622. "quoteid": {
  15623. "description": "报价单ID",
  15624. "type": "integer"
  15625. },
  15626. "relatedid": {
  15627. "description": "关联单号(交割单)",
  15628. "type": "string"
  15629. },
  15630. "retcode": {
  15631. "description": "错误代码",
  15632. "type": "integer"
  15633. },
  15634. "sessionid": {
  15635. "description": "会话ID",
  15636. "type": "integer"
  15637. },
  15638. "tradedate": {
  15639. "description": "交易日(yyyyMMdd)",
  15640. "type": "string"
  15641. },
  15642. "trademode": {
  15643. "description": "交易模式",
  15644. "type": "integer"
  15645. },
  15646. "tradeproperty": {
  15647. "description": "交易属性",
  15648. "type": "integer"
  15649. },
  15650. "tradeqty": {
  15651. "description": "成交数量",
  15652. "type": "integer"
  15653. },
  15654. "unfreezecharge": {
  15655. "description": "解冻手续费",
  15656. "type": "number"
  15657. },
  15658. "unfreezemargin": {
  15659. "description": "解冻保证金",
  15660. "type": "number"
  15661. },
  15662. "updatetime": {
  15663. "description": "更新时间",
  15664. "type": "string"
  15665. },
  15666. "uuid": {
  15667. "description": "发起端唯一id",
  15668. "type": "string"
  15669. },
  15670. "validtime": {
  15671. "description": "有效期限",
  15672. "type": "string"
  15673. },
  15674. "validtype": {
  15675. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15676. "type": "integer"
  15677. },
  15678. "volumetype": {
  15679. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15680. "type": "integer"
  15681. }
  15682. }
  15683. },
  15684. "order.QueryTradeDetailRsp": {
  15685. "type": "object",
  15686. "required": [
  15687. "accountid",
  15688. "buyorsell",
  15689. "goodsid",
  15690. "marketid",
  15691. "memberuserid",
  15692. "orderid",
  15693. "tradeamount",
  15694. "tradedate",
  15695. "tradeid",
  15696. "tradeprice",
  15697. "tradeqty",
  15698. "tradetime"
  15699. ],
  15700. "properties": {
  15701. "accountid": {
  15702. "description": "账户ID[报价币种]",
  15703. "type": "integer"
  15704. },
  15705. "buildtype": {
  15706. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15707. "type": "integer"
  15708. },
  15709. "buyorsell": {
  15710. "description": "方向 - 0:买 1:卖",
  15711. "type": "integer"
  15712. },
  15713. "charge": {
  15714. "description": "手续费",
  15715. "type": "number"
  15716. },
  15717. "closecharge": {
  15718. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15719. "type": "number"
  15720. },
  15721. "closeexchagechargevalue": {
  15722. "description": "平仓交易所手续费设置值",
  15723. "type": "number"
  15724. },
  15725. "closefeealgorithm": {
  15726. "description": "平仓手续费收取方式 1:比率 2:固定",
  15727. "type": "integer"
  15728. },
  15729. "closememberchargevalue": {
  15730. "description": "平仓会员手续费设置值",
  15731. "type": "number"
  15732. },
  15733. "closepl": {
  15734. "description": "平仓盈亏",
  15735. "type": "number"
  15736. },
  15737. "closepl2": {
  15738. "description": "平仓盈亏[逐笔]",
  15739. "type": "number"
  15740. },
  15741. "closeqty": {
  15742. "description": "平仓数量(先建后平操作 需要记录)",
  15743. "type": "integer"
  15744. },
  15745. "creditamount": {
  15746. "description": "授信金额",
  15747. "type": "number"
  15748. },
  15749. "gcaccountid": {
  15750. "description": "账户ID[合约币种]",
  15751. "type": "integer"
  15752. },
  15753. "goodscode": {
  15754. "description": "商品代码",
  15755. "type": "string"
  15756. },
  15757. "goodsid": {
  15758. "description": "商品ID",
  15759. "type": "integer"
  15760. },
  15761. "goodsname": {
  15762. "description": "商品名称",
  15763. "type": "string"
  15764. },
  15765. "intclosepl": {
  15766. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15767. "type": "integer"
  15768. },
  15769. "isconfirmexercise": {
  15770. "description": "是否确认行权- 0:否 1:是",
  15771. "type": "integer"
  15772. },
  15773. "ismain": {
  15774. "description": "是否主单 - 0:不是 1:是",
  15775. "type": "integer"
  15776. },
  15777. "ispreexercise": {
  15778. "description": "是否预申报- 0:否 1:是",
  15779. "type": "integer"
  15780. },
  15781. "isreckoned": {
  15782. "description": "是否结算 - 0:未结算 1:已结算",
  15783. "type": "integer"
  15784. },
  15785. "listingselecttype": {
  15786. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15787. "type": "integer"
  15788. },
  15789. "marketid": {
  15790. "description": "市场ID",
  15791. "type": "integer"
  15792. },
  15793. "marketname": {
  15794. "description": "市场名称",
  15795. "type": "string"
  15796. },
  15797. "matchaccountid": {
  15798. "description": "对手账号id",
  15799. "type": "integer"
  15800. },
  15801. "memberuserid": {
  15802. "description": "会员id 个人投资者 需要填写",
  15803. "type": "integer"
  15804. },
  15805. "opencharge": {
  15806. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15807. "type": "number"
  15808. },
  15809. "openexchagechargevalue": {
  15810. "description": "建仓交易所手续费设置值",
  15811. "type": "number"
  15812. },
  15813. "openfeealgorithm": {
  15814. "description": "建仓手续费收取方式 1:比率 2:固定",
  15815. "type": "integer"
  15816. },
  15817. "openmemberchargevalue": {
  15818. "description": "建仓会员手续费设置值",
  15819. "type": "number"
  15820. },
  15821. "openqty": {
  15822. "description": "开仓数量(先建后平操作 需要记录)",
  15823. "type": "integer"
  15824. },
  15825. "optiontype": {
  15826. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15827. "type": "integer"
  15828. },
  15829. "orderid": {
  15830. "description": "委托单号",
  15831. "type": "string"
  15832. },
  15833. "performanceplanid": {
  15834. "description": "履约计划ID[期权]",
  15835. "type": "integer"
  15836. },
  15837. "performancestatus": {
  15838. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15839. "type": "integer"
  15840. },
  15841. "preexerciseprice": {
  15842. "description": "预申报价格",
  15843. "type": "number"
  15844. },
  15845. "premium": {
  15846. "description": "权利金 - [持仓单的权利金]",
  15847. "type": "number"
  15848. },
  15849. "relatedouttradeid": {
  15850. "description": "关联外部成交单ID",
  15851. "type": "integer"
  15852. },
  15853. "status": {
  15854. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15855. "type": "integer"
  15856. },
  15857. "tradeamount": {
  15858. "description": "成交金额[账户币种,用于所有权]",
  15859. "type": "number"
  15860. },
  15861. "tradedate": {
  15862. "description": "交易日(yyyyMMdd)",
  15863. "type": "string"
  15864. },
  15865. "tradeid": {
  15866. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15867. "type": "string"
  15868. },
  15869. "trademode": {
  15870. "description": "交易模式",
  15871. "type": "integer"
  15872. },
  15873. "tradeprice": {
  15874. "description": "成交价格",
  15875. "type": "number"
  15876. },
  15877. "tradeproperty": {
  15878. "description": "交易属性",
  15879. "type": "integer"
  15880. },
  15881. "tradeqty": {
  15882. "description": "成交数量",
  15883. "type": "integer"
  15884. },
  15885. "tradetime": {
  15886. "description": "成交时间",
  15887. "type": "string"
  15888. },
  15889. "tradetype": {
  15890. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15891. "type": "integer"
  15892. }
  15893. }
  15894. },
  15895. "order.QueryTradeOrderDetailRsp": {
  15896. "type": "object",
  15897. "required": [
  15898. "accountid",
  15899. "buildtype",
  15900. "buyorsell",
  15901. "goodsid",
  15902. "marketid",
  15903. "operatetype",
  15904. "orderqty",
  15905. "ordertime",
  15906. "pricemode",
  15907. "tradedate",
  15908. "validtype"
  15909. ],
  15910. "properties": {
  15911. "accountid": {
  15912. "description": "账户ID[报价币种]",
  15913. "type": "integer"
  15914. },
  15915. "buildtype": {
  15916. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15917. "type": "integer"
  15918. },
  15919. "buyorsell": {
  15920. "description": "买卖 - 0:买 1:卖",
  15921. "type": "integer"
  15922. },
  15923. "cancelorderid": {
  15924. "description": "撤单单号(撤单时填写)",
  15925. "type": "string"
  15926. },
  15927. "cancelqty": {
  15928. "description": "撤单数量",
  15929. "type": "integer"
  15930. },
  15931. "clienttype": {
  15932. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15933. "type": "integer"
  15934. },
  15935. "closefreezecharge": {
  15936. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15937. "type": "number"
  15938. },
  15939. "closeqty": {
  15940. "description": "平仓数量(先建后平操作 需要记录)",
  15941. "type": "integer"
  15942. },
  15943. "closetradeqty": {
  15944. "description": "平仓成交数量(先建后平操作,需要记录)",
  15945. "type": "integer"
  15946. },
  15947. "closeunfreezecharge": {
  15948. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15949. "type": "number"
  15950. },
  15951. "delistingtype": {
  15952. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15953. "type": "integer"
  15954. },
  15955. "enableqty": {
  15956. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  15957. "type": "integer"
  15958. },
  15959. "freezecharge": {
  15960. "description": "冻结手续费",
  15961. "type": "number"
  15962. },
  15963. "freezemargin": {
  15964. "description": "冻结保证金(冻结交易金额)",
  15965. "type": "number"
  15966. },
  15967. "goodscode": {
  15968. "description": "商品代码",
  15969. "type": "string"
  15970. },
  15971. "goodsid": {
  15972. "description": "商品ID",
  15973. "type": "integer"
  15974. },
  15975. "goodsname": {
  15976. "description": "商品名称",
  15977. "type": "string"
  15978. },
  15979. "listingselecttype": {
  15980. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15981. "type": "integer"
  15982. },
  15983. "marketid": {
  15984. "description": "市场ID",
  15985. "type": "integer"
  15986. },
  15987. "marketname": {
  15988. "description": "市场名称",
  15989. "type": "string"
  15990. },
  15991. "openfreezecharge": {
  15992. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15993. "type": "number"
  15994. },
  15995. "openqty": {
  15996. "description": "开仓数量(先建后平操作,需要记录)",
  15997. "type": "integer"
  15998. },
  15999. "opentradeqty": {
  16000. "description": "开仓成交数量(先建后平操作,需要记录)",
  16001. "type": "integer"
  16002. },
  16003. "openunfreezecharge": {
  16004. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16005. "type": "number"
  16006. },
  16007. "operatetype": {
  16008. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16009. "type": "integer"
  16010. },
  16011. "operatorid": {
  16012. "description": "登录账号(LoginID)",
  16013. "type": "integer"
  16014. },
  16015. "orderid": {
  16016. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16017. "type": "string"
  16018. },
  16019. "orderprice": {
  16020. "description": "委托价格",
  16021. "type": "number"
  16022. },
  16023. "orderqty": {
  16024. "description": "委托数量",
  16025. "type": "integer"
  16026. },
  16027. "ordersrc": {
  16028. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16029. "type": "integer"
  16030. },
  16031. "orderstatus": {
  16032. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16033. "type": "integer"
  16034. },
  16035. "ordertime": {
  16036. "description": "委托时间",
  16037. "type": "string"
  16038. },
  16039. "preorderid": {
  16040. "description": "关联预埋单号(止盈止损单时填写)",
  16041. "type": "string"
  16042. },
  16043. "pricemode": {
  16044. "description": "取价方式 - 1:市价 2: 限价",
  16045. "type": "integer"
  16046. },
  16047. "relatedid": {
  16048. "description": "关联单号(交割单)",
  16049. "type": "string"
  16050. },
  16051. "tradedate": {
  16052. "description": "交易日(yyyyMMdd)",
  16053. "type": "string"
  16054. },
  16055. "trademode": {
  16056. "description": "交易模式",
  16057. "type": "integer"
  16058. },
  16059. "tradeqty": {
  16060. "description": "成交数量",
  16061. "type": "integer"
  16062. },
  16063. "unfreezecharge": {
  16064. "description": "解冻手续费",
  16065. "type": "number"
  16066. },
  16067. "unfreezemargin": {
  16068. "description": "解冻保证金",
  16069. "type": "number"
  16070. },
  16071. "validtime": {
  16072. "description": "有效期限",
  16073. "type": "string"
  16074. },
  16075. "validtype": {
  16076. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16077. "type": "integer"
  16078. },
  16079. "volumetype": {
  16080. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16081. "type": "integer"
  16082. }
  16083. }
  16084. },
  16085. "order.QueryTradePositionRsp": {
  16086. "type": "object",
  16087. "required": [
  16088. "goodsid"
  16089. ],
  16090. "properties": {
  16091. "accountid": {
  16092. "description": "资金账户",
  16093. "type": "integer"
  16094. },
  16095. "agreeunit": {
  16096. "description": "合约单位",
  16097. "type": "number"
  16098. },
  16099. "averageprice": {
  16100. "description": "持仓均价",
  16101. "type": "number"
  16102. },
  16103. "buyorsell": {
  16104. "description": "方向 - 0:买 1:卖",
  16105. "type": "integer"
  16106. },
  16107. "closetotalqty": {
  16108. "description": "平仓总数量",
  16109. "type": "integer"
  16110. },
  16111. "curholderamount": {
  16112. "description": "当前持仓总金额[商品币种]",
  16113. "type": "number"
  16114. },
  16115. "curpositionqty": {
  16116. "description": "当前持仓总数量",
  16117. "type": "integer"
  16118. },
  16119. "currencyid": {
  16120. "description": "报价货币ID",
  16121. "type": "integer"
  16122. },
  16123. "curtdposition": {
  16124. "description": "期末今日头寸",
  16125. "type": "integer"
  16126. },
  16127. "decimalplace": {
  16128. "description": "报价小数位",
  16129. "type": "integer"
  16130. },
  16131. "enableqty": {
  16132. "description": "可用量",
  16133. "type": "integer"
  16134. },
  16135. "fretdposition": {
  16136. "description": "冻结今日头寸",
  16137. "type": "integer"
  16138. },
  16139. "frozenqty": {
  16140. "description": "持仓冻结数量",
  16141. "type": "integer"
  16142. },
  16143. "goodscode": {
  16144. "description": "商品代码",
  16145. "type": "string"
  16146. },
  16147. "goodsid": {
  16148. "description": "商品Id",
  16149. "type": "integer"
  16150. },
  16151. "goodsname": {
  16152. "description": "商品名称",
  16153. "type": "string"
  16154. },
  16155. "goodunit": {
  16156. "description": "报价单位",
  16157. "type": "string"
  16158. },
  16159. "goodunitid": {
  16160. "description": "报价单位ID",
  16161. "type": "integer"
  16162. },
  16163. "holderamount": {
  16164. "description": "期初持仓总金额[商品币种]",
  16165. "type": "number"
  16166. },
  16167. "marketid": {
  16168. "description": "所属市场ID",
  16169. "type": "integer"
  16170. },
  16171. "openreqqty": {
  16172. "description": "开仓申请数量(用于比较最大持仓数量)",
  16173. "type": "integer"
  16174. },
  16175. "opentotalqty": {
  16176. "description": "开仓总数量",
  16177. "type": "integer"
  16178. },
  16179. "otherfrozenqty": {
  16180. "description": "持仓其他冻结数量(交割冻结)",
  16181. "type": "integer"
  16182. },
  16183. "positionqty": {
  16184. "description": "期初持仓数量",
  16185. "type": "integer"
  16186. },
  16187. "tnqty": {
  16188. "description": "T+N冻结总量",
  16189. "type": "integer"
  16190. },
  16191. "tnusedqty": {
  16192. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16193. "type": "integer"
  16194. },
  16195. "trademode": {
  16196. "description": "交易模式",
  16197. "type": "integer"
  16198. },
  16199. "usedmargin": {
  16200. "description": "占用保证金[商品币种]",
  16201. "type": "number"
  16202. }
  16203. }
  16204. },
  16205. "quote.HistoryData": {
  16206. "type": "object",
  16207. "properties": {
  16208. "c": {
  16209. "description": "收盘价",
  16210. "type": "number"
  16211. },
  16212. "f": {
  16213. "description": "是否补充数据",
  16214. "type": "boolean"
  16215. },
  16216. "h": {
  16217. "description": "最高价",
  16218. "type": "number"
  16219. },
  16220. "hv": {
  16221. "description": "持仓量",
  16222. "type": "integer"
  16223. },
  16224. "l": {
  16225. "description": "最低价",
  16226. "type": "number"
  16227. },
  16228. "o": {
  16229. "description": "开盘价",
  16230. "type": "number"
  16231. },
  16232. "s": {
  16233. "description": "结算价,日线周期(包括)以上才有",
  16234. "type": "number"
  16235. },
  16236. "ts": {
  16237. "description": "时间",
  16238. "type": "string"
  16239. },
  16240. "tt": {
  16241. "description": "总金额",
  16242. "type": "number"
  16243. },
  16244. "tv": {
  16245. "description": "总量",
  16246. "type": "integer"
  16247. }
  16248. }
  16249. },
  16250. "quote.QueryTSDataRsp": {
  16251. "type": "object",
  16252. "properties": {
  16253. "decimalPlace": {
  16254. "description": "小数位",
  16255. "type": "integer"
  16256. },
  16257. "endTime": {
  16258. "description": "结束时间",
  16259. "type": "string"
  16260. },
  16261. "goodsCode": {
  16262. "description": "商品代码",
  16263. "type": "string"
  16264. },
  16265. "historyDatas": {
  16266. "description": "历史数据",
  16267. "type": "array",
  16268. "items": {
  16269. "$ref": "#/definitions/quote.HistoryData"
  16270. }
  16271. },
  16272. "outGoodsCode": {
  16273. "description": "外部商品代码",
  16274. "type": "string"
  16275. },
  16276. "preSettle": {
  16277. "description": "昨结",
  16278. "type": "number"
  16279. },
  16280. "startTime": {
  16281. "description": "开始时间",
  16282. "type": "string"
  16283. },
  16284. "tradeDate": {
  16285. "description": "交易日",
  16286. "type": "string"
  16287. }
  16288. }
  16289. },
  16290. "szdz.QueryConvertLogRsp": {
  16291. "type": "object",
  16292. "required": [
  16293. "logid"
  16294. ],
  16295. "properties": {
  16296. "accountid": {
  16297. "description": "资金账户ID",
  16298. "type": "integer"
  16299. },
  16300. "clientticket": {
  16301. "description": "客户端流水号",
  16302. "type": "string"
  16303. },
  16304. "converttype": {
  16305. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16306. "type": "integer"
  16307. },
  16308. "createtime": {
  16309. "description": "记账时间",
  16310. "type": "string"
  16311. },
  16312. "daymaxvalue": {
  16313. "description": "配置当日最大转入限制",
  16314. "type": "number"
  16315. },
  16316. "daymaxvalue2": {
  16317. "description": "配置当日最大转入限制(转入)",
  16318. "type": "number"
  16319. },
  16320. "goodscode": {
  16321. "description": "商品代码",
  16322. "type": "string"
  16323. },
  16324. "goodsname": {
  16325. "description": "商品名称",
  16326. "type": "string"
  16327. },
  16328. "handlestatus": {
  16329. "description": "处理状态",
  16330. "type": "integer"
  16331. },
  16332. "innergoodsid": {
  16333. "description": "内部商品ID",
  16334. "type": "integer"
  16335. },
  16336. "inratio": {
  16337. "description": "配置转入比值",
  16338. "type": "integer"
  16339. },
  16340. "invalue": {
  16341. "description": "目标值",
  16342. "type": "number"
  16343. },
  16344. "logid": {
  16345. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16346. "type": "integer"
  16347. },
  16348. "mobile": {
  16349. "description": "手机号码(加密存储)",
  16350. "type": "string"
  16351. },
  16352. "outergoodscode": {
  16353. "description": "外部商品代码[JD\\PD]",
  16354. "type": "string"
  16355. },
  16356. "outratio": {
  16357. "description": "配置转出比值",
  16358. "type": "integer"
  16359. },
  16360. "outvalue": {
  16361. "description": "源值",
  16362. "type": "number"
  16363. },
  16364. "pddecimalplace": {
  16365. "description": "PD小数位",
  16366. "type": "integer"
  16367. },
  16368. "qty": {
  16369. "description": "数量",
  16370. "type": "string"
  16371. },
  16372. "remark": {
  16373. "description": "备注",
  16374. "type": "string"
  16375. },
  16376. "sessionid": {
  16377. "description": "会话ID",
  16378. "type": "integer"
  16379. },
  16380. "timemaxvalue": {
  16381. "description": "配置单次最大转入限制",
  16382. "type": "number"
  16383. },
  16384. "timemaxvalue2": {
  16385. "description": "配置单次最大转入限制(转入)",
  16386. "type": "number"
  16387. },
  16388. "timeminvalue": {
  16389. "description": "配置单次最小数量限制",
  16390. "type": "number"
  16391. },
  16392. "timeminvalue2": {
  16393. "description": "配置单次最小数量限制(转入)",
  16394. "type": "number"
  16395. },
  16396. "tradedate": {
  16397. "description": "交易日(yyyyMMdd)",
  16398. "type": "string"
  16399. },
  16400. "userid": {
  16401. "description": "用户ID",
  16402. "type": "integer"
  16403. }
  16404. }
  16405. },
  16406. "szdz.QueryGoodsPickupRsp": {
  16407. "type": "object",
  16408. "required": [
  16409. "takeorderid"
  16410. ],
  16411. "properties": {
  16412. "accountid": {
  16413. "description": "账户ID",
  16414. "type": "integer"
  16415. },
  16416. "address": {
  16417. "description": "提货人详细地址",
  16418. "type": "string"
  16419. },
  16420. "auditer": {
  16421. "description": "审核人",
  16422. "type": "integer"
  16423. },
  16424. "audittime": {
  16425. "description": "审核时间",
  16426. "type": "string"
  16427. },
  16428. "cardnum": {
  16429. "description": "提货人证件号码",
  16430. "type": "string"
  16431. },
  16432. "cardtypeid": {
  16433. "description": "提货人证件类型",
  16434. "type": "integer"
  16435. },
  16436. "checkremark": {
  16437. "description": "审核备注",
  16438. "type": "string"
  16439. },
  16440. "goodscode": {
  16441. "description": "商品代码",
  16442. "type": "string"
  16443. },
  16444. "goodsid": {
  16445. "description": "商品ID",
  16446. "type": "integer"
  16447. },
  16448. "goodsname": {
  16449. "description": "商品名称",
  16450. "type": "string"
  16451. },
  16452. "handlestatus": {
  16453. "description": "处理状态",
  16454. "type": "integer"
  16455. },
  16456. "marketid": {
  16457. "description": "市场ID",
  16458. "type": "integer"
  16459. },
  16460. "phonenum": {
  16461. "description": "提货人联系方式",
  16462. "type": "string"
  16463. },
  16464. "qty": {
  16465. "description": "提货数量",
  16466. "type": "number"
  16467. },
  16468. "recivername": {
  16469. "description": "提货人姓名",
  16470. "type": "string"
  16471. },
  16472. "reqtime": {
  16473. "description": "更新时间",
  16474. "type": "string"
  16475. },
  16476. "takemode": {
  16477. "description": "提货方式 - 2:自提 3:配送",
  16478. "type": "integer"
  16479. },
  16480. "takeorderid": {
  16481. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16482. "type": "string"
  16483. },
  16484. "takeorderstatus": {
  16485. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16486. "type": "integer"
  16487. },
  16488. "takeremark": {
  16489. "description": "提货备注",
  16490. "type": "string"
  16491. },
  16492. "tradedate": {
  16493. "description": "交易日(yyyyMMdd)",
  16494. "type": "string"
  16495. },
  16496. "userid": {
  16497. "description": "用户ID",
  16498. "type": "integer"
  16499. }
  16500. }
  16501. },
  16502. "szdz.QueryRecieptOrderRsp": {
  16503. "type": "object",
  16504. "required": [
  16505. "ordertime"
  16506. ],
  16507. "properties": {
  16508. "accountName": {
  16509. "description": "所属账号名称(已脱敏)",
  16510. "type": "string"
  16511. },
  16512. "accountid": {
  16513. "description": "资金账号",
  16514. "type": "integer"
  16515. },
  16516. "buyorsell": {
  16517. "description": "方向 - 0:买 1:卖",
  16518. "type": "integer"
  16519. },
  16520. "enableqty": {
  16521. "description": "可摘数量",
  16522. "type": "integer"
  16523. },
  16524. "goodscode": {
  16525. "description": "商品代码",
  16526. "type": "string"
  16527. },
  16528. "goodsid": {
  16529. "description": "商品ID",
  16530. "type": "integer"
  16531. },
  16532. "goodsname": {
  16533. "description": "商品名称",
  16534. "type": "string"
  16535. },
  16536. "orderid": {
  16537. "description": "委托单号",
  16538. "type": "string"
  16539. },
  16540. "orderprice": {
  16541. "description": "委托价格",
  16542. "type": "number"
  16543. },
  16544. "ordertime": {
  16545. "description": "委托时间",
  16546. "type": "string"
  16547. },
  16548. "tradedate": {
  16549. "description": "交易日(yyyyMMdd)",
  16550. "type": "string"
  16551. }
  16552. }
  16553. },
  16554. "szdz.QuerySZDZTradePositionRsp": {
  16555. "type": "object",
  16556. "properties": {
  16557. "accountid": {
  16558. "description": "账号Id",
  16559. "type": "integer"
  16560. },
  16561. "agreeunit": {
  16562. "description": "合约单位",
  16563. "type": "number"
  16564. },
  16565. "averageprice": {
  16566. "description": "持仓均价",
  16567. "type": "number"
  16568. },
  16569. "buyorsell": {
  16570. "description": "方向 - 0:买 1:卖",
  16571. "type": "integer"
  16572. },
  16573. "closetotalqty": {
  16574. "description": "平仓总数量",
  16575. "type": "integer"
  16576. },
  16577. "curholderamount": {
  16578. "description": "当前持仓总金额",
  16579. "type": "number"
  16580. },
  16581. "curpositionqty": {
  16582. "description": "当前持仓总数量",
  16583. "type": "integer"
  16584. },
  16585. "currencyid": {
  16586. "description": "报价货币ID",
  16587. "type": "integer"
  16588. },
  16589. "curtdposition": {
  16590. "description": "期末今日头寸",
  16591. "type": "integer"
  16592. },
  16593. "decimalplace": {
  16594. "description": "报价小数位",
  16595. "type": "integer"
  16596. },
  16597. "enableqty": {
  16598. "description": "可用量",
  16599. "type": "integer"
  16600. },
  16601. "fretdposition": {
  16602. "description": "冻结今日头寸",
  16603. "type": "integer"
  16604. },
  16605. "frozenqty": {
  16606. "description": "持仓冻结数量",
  16607. "type": "integer"
  16608. },
  16609. "goodscode": {
  16610. "description": "商品代码(内部)",
  16611. "type": "string"
  16612. },
  16613. "goodsid": {
  16614. "description": "商品Id",
  16615. "type": "integer"
  16616. },
  16617. "goodsname": {
  16618. "description": "商品名称",
  16619. "type": "string"
  16620. },
  16621. "goodunit": {
  16622. "description": "报价单位",
  16623. "type": "string"
  16624. },
  16625. "goodunitid": {
  16626. "description": "报价单位ID",
  16627. "type": "integer"
  16628. },
  16629. "holderamount": {
  16630. "description": "期初持仓总金额",
  16631. "type": "number"
  16632. },
  16633. "marketid": {
  16634. "description": "市场ID",
  16635. "type": "integer"
  16636. },
  16637. "openreqqty": {
  16638. "description": "开仓申请数量",
  16639. "type": "integer"
  16640. },
  16641. "opentotalqty": {
  16642. "description": "开仓总数量",
  16643. "type": "integer"
  16644. },
  16645. "otherfrozenqty": {
  16646. "description": "持仓其他冻结数量(交割冻结)",
  16647. "type": "integer"
  16648. },
  16649. "positionqty": {
  16650. "description": "期初持仓数量",
  16651. "type": "integer"
  16652. },
  16653. "szdz3freezqty": {
  16654. "description": "尚志大宗转换冻结总数量",
  16655. "type": "integer"
  16656. },
  16657. "tnqty": {
  16658. "description": "T+N冻结总量",
  16659. "type": "integer"
  16660. },
  16661. "tnusedqty": {
  16662. "description": "T+N使用量",
  16663. "type": "integer"
  16664. },
  16665. "trademode": {
  16666. "description": "交易模式",
  16667. "type": "integer"
  16668. },
  16669. "usedmargin": {
  16670. "description": "占用保证金",
  16671. "type": "number"
  16672. }
  16673. }
  16674. },
  16675. "taaccount.QueryAmountLogRsp": {
  16676. "type": "object",
  16677. "required": [
  16678. "accountid",
  16679. "amount",
  16680. "amountadjusttype",
  16681. "autoid",
  16682. "balance",
  16683. "createtime",
  16684. "currentbalance",
  16685. "operatetype"
  16686. ],
  16687. "properties": {
  16688. "OPERATETYPENAME": {
  16689. "description": "资金操作类型名称",
  16690. "type": "string"
  16691. },
  16692. "accountid": {
  16693. "description": "资金账户ID",
  16694. "type": "integer"
  16695. },
  16696. "agoodscode": {
  16697. "description": "竞拍商品代码",
  16698. "type": "string"
  16699. },
  16700. "agoodsname": {
  16701. "description": "竞拍商品名称",
  16702. "type": "string"
  16703. },
  16704. "amount": {
  16705. "description": "资金金额",
  16706. "type": "number"
  16707. },
  16708. "amountadjusttype": {
  16709. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16710. "type": "integer"
  16711. },
  16712. "autoid": {
  16713. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16714. "type": "integer"
  16715. },
  16716. "balance": {
  16717. "description": "期初余额",
  16718. "type": "number"
  16719. },
  16720. "businesscode": {
  16721. "description": "业务编号",
  16722. "type": "integer"
  16723. },
  16724. "createtime": {
  16725. "description": "发生时间",
  16726. "type": "string"
  16727. },
  16728. "currencyid": {
  16729. "description": "币种ID",
  16730. "type": "integer"
  16731. },
  16732. "currentbalance": {
  16733. "description": "期末余额(变动后金额)",
  16734. "type": "number"
  16735. },
  16736. "dgoodscode": {
  16737. "description": "交割商品代码",
  16738. "type": "string"
  16739. },
  16740. "dgoodsname": {
  16741. "description": "交割商品名称",
  16742. "type": "string"
  16743. },
  16744. "goodscode": {
  16745. "description": "商品代码",
  16746. "type": "string"
  16747. },
  16748. "goodsid": {
  16749. "description": "商品ID",
  16750. "type": "integer"
  16751. },
  16752. "goodsname": {
  16753. "description": "商品名称",
  16754. "type": "string"
  16755. },
  16756. "marketid": {
  16757. "description": "市场ID",
  16758. "type": "integer"
  16759. },
  16760. "marketname": {
  16761. "description": "市场名称",
  16762. "type": "string"
  16763. },
  16764. "moneyticket": {
  16765. "description": "资金流水号:银行端流水号",
  16766. "type": "integer"
  16767. },
  16768. "operatetype": {
  16769. "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:营销收款",
  16770. "type": "integer"
  16771. },
  16772. "relationorderid": {
  16773. "description": "关联单号",
  16774. "type": "string"
  16775. },
  16776. "remark": {
  16777. "description": "备注",
  16778. "type": "string"
  16779. },
  16780. "trademode": {
  16781. "description": "交易模式",
  16782. "type": "integer"
  16783. }
  16784. }
  16785. },
  16786. "taaccount.QueryHisAmountLogRsp": {
  16787. "type": "object",
  16788. "required": [
  16789. "accountid",
  16790. "amount",
  16791. "amountadjusttype",
  16792. "autoid",
  16793. "balance",
  16794. "createtime",
  16795. "currentbalance",
  16796. "histradedate",
  16797. "operatetype"
  16798. ],
  16799. "properties": {
  16800. "OPERATETYPENAME": {
  16801. "description": "资金操作类型名称",
  16802. "type": "string"
  16803. },
  16804. "accountid": {
  16805. "description": "资金账户ID",
  16806. "type": "integer"
  16807. },
  16808. "agoodscode": {
  16809. "description": "竞拍商品代码",
  16810. "type": "string"
  16811. },
  16812. "agoodsname": {
  16813. "description": "竞拍商品名称",
  16814. "type": "string"
  16815. },
  16816. "amount": {
  16817. "description": "资金金额",
  16818. "type": "number"
  16819. },
  16820. "amountadjusttype": {
  16821. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16822. "type": "integer"
  16823. },
  16824. "autoid": {
  16825. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16826. "type": "integer"
  16827. },
  16828. "balance": {
  16829. "description": "期初余额",
  16830. "type": "number"
  16831. },
  16832. "businesscode": {
  16833. "description": "业务编号",
  16834. "type": "integer"
  16835. },
  16836. "createtime": {
  16837. "description": "发生时间",
  16838. "type": "string"
  16839. },
  16840. "currencyid": {
  16841. "description": "币种ID",
  16842. "type": "integer"
  16843. },
  16844. "currentbalance": {
  16845. "description": "期末余额(变动后金额)",
  16846. "type": "number"
  16847. },
  16848. "dgoodscode": {
  16849. "description": "交割商品代码",
  16850. "type": "string"
  16851. },
  16852. "dgoodsname": {
  16853. "description": "交割商品名称",
  16854. "type": "string"
  16855. },
  16856. "goodscode": {
  16857. "description": "商品代码",
  16858. "type": "string"
  16859. },
  16860. "goodsid": {
  16861. "description": "商品ID",
  16862. "type": "integer"
  16863. },
  16864. "goodsname": {
  16865. "description": "商品名称",
  16866. "type": "string"
  16867. },
  16868. "histradedate": {
  16869. "description": "历史交易日",
  16870. "type": "string"
  16871. },
  16872. "isvaliddata": {
  16873. "description": "是否有效 - 0:无效 1:有效",
  16874. "type": "integer"
  16875. },
  16876. "marketid": {
  16877. "description": "市场ID",
  16878. "type": "integer"
  16879. },
  16880. "marketname": {
  16881. "description": "市场名称",
  16882. "type": "string"
  16883. },
  16884. "moneyticket": {
  16885. "description": "资金流水号:银行端流水号",
  16886. "type": "integer"
  16887. },
  16888. "operatetype": {
  16889. "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:营销收款",
  16890. "type": "integer"
  16891. },
  16892. "relationorderid": {
  16893. "description": "关联单号",
  16894. "type": "string"
  16895. },
  16896. "remark": {
  16897. "description": "备注",
  16898. "type": "string"
  16899. },
  16900. "trademode": {
  16901. "description": "交易模式",
  16902. "type": "integer"
  16903. }
  16904. }
  16905. },
  16906. "trade.QueryRecieptOrderRsp": {
  16907. "type": "object",
  16908. "required": [
  16909. "ordertime"
  16910. ],
  16911. "properties": {
  16912. "accountName": {
  16913. "description": "所属账号名称(已脱敏)",
  16914. "type": "string"
  16915. },
  16916. "accountid": {
  16917. "description": "资金账号",
  16918. "type": "integer"
  16919. },
  16920. "buyorsell": {
  16921. "description": "方向 - 0:买 1:卖",
  16922. "type": "integer"
  16923. },
  16924. "enableqty": {
  16925. "description": "可摘数量",
  16926. "type": "integer"
  16927. },
  16928. "goodscode": {
  16929. "description": "商品代码",
  16930. "type": "string"
  16931. },
  16932. "goodsid": {
  16933. "description": "商品ID",
  16934. "type": "integer"
  16935. },
  16936. "goodsname": {
  16937. "description": "商品名称",
  16938. "type": "string"
  16939. },
  16940. "orderid": {
  16941. "description": "委托单号",
  16942. "type": "string"
  16943. },
  16944. "orderprice": {
  16945. "description": "委托价格",
  16946. "type": "number"
  16947. },
  16948. "ordertime": {
  16949. "description": "委托时间",
  16950. "type": "string"
  16951. },
  16952. "tradedate": {
  16953. "description": "交易日(yyyyMMdd)",
  16954. "type": "string"
  16955. }
  16956. }
  16957. }
  16958. },
  16959. "securityDefinitions": {
  16960. "ApiKeyAuth": {
  16961. "type": "apiKey",
  16962. "name": "Authorization",
  16963. "in": "header"
  16964. }
  16965. }
  16966. }`
  16967. type swaggerInfo struct {
  16968. Version string
  16969. Host string
  16970. BasePath string
  16971. Schemes []string
  16972. Title string
  16973. Description string
  16974. }
  16975. // SwaggerInfo holds exported Swagger Info so clients can modify it
  16976. var SwaggerInfo = swaggerInfo{
  16977. Version: "1.0",
  16978. Host: "",
  16979. BasePath: "/api",
  16980. Schemes: []string{},
  16981. Title: "MTP2.0 查询服务 API",
  16982. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  16983. }
  16984. type s struct{}
  16985. func (s *s) ReadDoc() string {
  16986. sInfo := SwaggerInfo
  16987. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  16988. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  16989. "marshal": func(v interface{}) string {
  16990. a, _ := json.Marshal(v)
  16991. return string(a)
  16992. },
  16993. }).Parse(doc)
  16994. if err != nil {
  16995. return doc
  16996. }
  16997. var tpl bytes.Buffer
  16998. if err := t.Execute(&tpl, sInfo); err != nil {
  16999. return doc
  17000. }
  17001. return tpl.String()
  17002. }
  17003. func init() {
  17004. swag.Register(swag.Name, &s{})
  17005. }