docs.go 612 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001
  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. "enableqty": {
  12889. "description": "剩余数量",
  12890. "type": "integer"
  12891. },
  12892. "goodscode": {
  12893. "description": "商品代码(内部)",
  12894. "type": "string"
  12895. },
  12896. "goodsid": {
  12897. "description": "商品ID(自增ID SEQ_GOODS)",
  12898. "type": "integer"
  12899. },
  12900. "goodsname": {
  12901. "description": "商品名称",
  12902. "type": "string"
  12903. },
  12904. "goodsstatus": {
  12905. "description": "商品状态- 2:未上市 3:上市",
  12906. "type": "integer"
  12907. },
  12908. "lasttradedate": {
  12909. "description": "最后交易日期(状态:待退市)",
  12910. "type": "string"
  12911. },
  12912. "listingdate": {
  12913. "description": "交易开始日期",
  12914. "type": "string"
  12915. },
  12916. "marketid": {
  12917. "description": "所属市场ID",
  12918. "type": "integer"
  12919. },
  12920. "picurls": {
  12921. "description": "介绍图片[多张用逗号分隔]",
  12922. "type": "string"
  12923. },
  12924. "presaledqty": {
  12925. "description": "已预售量(预售结束时更新)",
  12926. "type": "integer"
  12927. },
  12928. "presaleqty": {
  12929. "description": "预售数量",
  12930. "type": "integer"
  12931. },
  12932. "quoteminunit": {
  12933. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12934. "type": "integer"
  12935. },
  12936. "refprice": {
  12937. "description": "参考价格[一口价]",
  12938. "type": "number"
  12939. },
  12940. "relatedgoodsid": {
  12941. "description": "关联交易合约ID",
  12942. "type": "integer"
  12943. },
  12944. "trademode": {
  12945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12946. "type": "integer"
  12947. },
  12948. "videourls": {
  12949. "description": "介绍视频[多张用逗号分隔]",
  12950. "type": "string"
  12951. }
  12952. }
  12953. },
  12954. "models.HsbyPreGoodsDetail": {
  12955. "type": "object",
  12956. "required": [
  12957. "goodscode",
  12958. "goodsid",
  12959. "goodsname",
  12960. "marketid",
  12961. "trademode"
  12962. ],
  12963. "properties": {
  12964. "agreeunit": {
  12965. "description": "合约单位",
  12966. "type": "number"
  12967. },
  12968. "buymaxqty": {
  12969. "description": "购买上限 [71] - 0为不限",
  12970. "type": "integer"
  12971. },
  12972. "currency": {
  12973. "description": "货币",
  12974. "type": "string"
  12975. },
  12976. "currencysign": {
  12977. "description": "货币符号",
  12978. "type": "string"
  12979. },
  12980. "customername": {
  12981. "description": "发行单位",
  12982. "type": "string"
  12983. },
  12984. "decimalplace": {
  12985. "description": "报价小数位",
  12986. "type": "integer"
  12987. },
  12988. "desccityid": {
  12989. "description": "目的地(市)ID",
  12990. "type": "integer"
  12991. },
  12992. "descprovinceid": {
  12993. "description": "目的地(省)ID",
  12994. "type": "integer"
  12995. },
  12996. "enableqty": {
  12997. "description": "剩余数量",
  12998. "type": "integer"
  12999. },
  13000. "goodscode": {
  13001. "description": "商品代码(内部)",
  13002. "type": "string"
  13003. },
  13004. "goodsdesc": {
  13005. "description": "商品详情",
  13006. "type": "string"
  13007. },
  13008. "goodsid": {
  13009. "description": "商品ID(自增ID SEQ_GOODS)",
  13010. "type": "integer"
  13011. },
  13012. "goodsname": {
  13013. "description": "商品名称",
  13014. "type": "string"
  13015. },
  13016. "goodsstatus": {
  13017. "description": "商品状态- 2:未上市 3:上市",
  13018. "type": "integer"
  13019. },
  13020. "goodunit": {
  13021. "description": "报价单位",
  13022. "type": "string"
  13023. },
  13024. "lasttradedate": {
  13025. "description": "最后交易日期(状态:待退市)",
  13026. "type": "string"
  13027. },
  13028. "listingdate": {
  13029. "description": "交易开始日期",
  13030. "type": "string"
  13031. },
  13032. "lotsize": {
  13033. "description": "手数最小变动单位",
  13034. "type": "integer"
  13035. },
  13036. "marketid": {
  13037. "description": "所属市场ID",
  13038. "type": "integer"
  13039. },
  13040. "picurls": {
  13041. "description": "介绍图片[多张用逗号分隔]",
  13042. "type": "string"
  13043. },
  13044. "presaledqty": {
  13045. "description": "已预售量(预售结束时更新)",
  13046. "type": "integer"
  13047. },
  13048. "presaleqty": {
  13049. "description": "预售数量",
  13050. "type": "integer"
  13051. },
  13052. "quoteminunit": {
  13053. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13054. "type": "integer"
  13055. },
  13056. "refprice": {
  13057. "description": "参考价格[一口价]",
  13058. "type": "number"
  13059. },
  13060. "relatedgoodsid": {
  13061. "description": "关联交易合约ID",
  13062. "type": "integer"
  13063. },
  13064. "stepvalue": {
  13065. "description": "价格最小变动单位",
  13066. "type": "number"
  13067. },
  13068. "trademode": {
  13069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13070. "type": "integer"
  13071. },
  13072. "vendorattr": {
  13073. "description": "供应商附件(多张,逗号分隔)",
  13074. "type": "string"
  13075. },
  13076. "vendorname": {
  13077. "description": "供应商名称",
  13078. "type": "string"
  13079. },
  13080. "vendorphone": {
  13081. "description": "供应商客服电话",
  13082. "type": "string"
  13083. },
  13084. "videourls": {
  13085. "description": "介绍视频[多张用逗号分隔]",
  13086. "type": "string"
  13087. }
  13088. }
  13089. },
  13090. "models.HsbySellCollectionOrder": {
  13091. "type": "object",
  13092. "required": [
  13093. "goodscode",
  13094. "goodsname",
  13095. "tradeid",
  13096. "trademode"
  13097. ],
  13098. "properties": {
  13099. "agreeunit": {
  13100. "description": "合约单位",
  13101. "type": "number"
  13102. },
  13103. "buyaccountid": {
  13104. "description": "买方账号ID[报价币种]",
  13105. "type": "integer"
  13106. },
  13107. "buyorderid": {
  13108. "description": "买方委托单号",
  13109. "type": "string"
  13110. },
  13111. "createtime": {
  13112. "description": "创建时间",
  13113. "type": "string"
  13114. },
  13115. "currencysign": {
  13116. "description": "货币符号",
  13117. "type": "string"
  13118. },
  13119. "decimalplace": {
  13120. "description": "报价小数位",
  13121. "type": "integer"
  13122. },
  13123. "goodscode": {
  13124. "description": "商品代码(内部)",
  13125. "type": "string"
  13126. },
  13127. "goodsid": {
  13128. "description": "商品ID",
  13129. "type": "integer"
  13130. },
  13131. "goodsname": {
  13132. "description": "商品名称",
  13133. "type": "string"
  13134. },
  13135. "marketid": {
  13136. "description": "市场ID",
  13137. "type": "integer"
  13138. },
  13139. "offamount": {
  13140. "description": "优惠金额",
  13141. "type": "number"
  13142. },
  13143. "payamount": {
  13144. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13145. "type": "number"
  13146. },
  13147. "payflag": {
  13148. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13149. "type": "integer"
  13150. },
  13151. "paylimitedtime": {
  13152. "description": "支付期限",
  13153. "type": "string"
  13154. },
  13155. "paytime": {
  13156. "description": "付款时间",
  13157. "type": "string"
  13158. },
  13159. "picurls": {
  13160. "description": "商品介绍图片[多张用逗号分隔]",
  13161. "type": "string"
  13162. },
  13163. "sellaccountid": {
  13164. "description": "卖方账号ID[报价币种]",
  13165. "type": "integer"
  13166. },
  13167. "sellorderid": {
  13168. "description": "卖方委托单号",
  13169. "type": "string"
  13170. },
  13171. "tradeamount": {
  13172. "description": "成交金额",
  13173. "type": "number"
  13174. },
  13175. "tradecharge": {
  13176. "description": "成交手续费(买方)",
  13177. "type": "number"
  13178. },
  13179. "tradedate": {
  13180. "description": "交易日(yyyyMMdd)",
  13181. "type": "string"
  13182. },
  13183. "tradeid": {
  13184. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13185. "type": "string"
  13186. },
  13187. "trademode": {
  13188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13189. "type": "integer"
  13190. },
  13191. "tradeprice": {
  13192. "description": "成交价格",
  13193. "type": "number"
  13194. },
  13195. "tradeqty": {
  13196. "description": "成交数量",
  13197. "type": "integer"
  13198. }
  13199. }
  13200. },
  13201. "models.HsbySellMyDetail": {
  13202. "type": "object",
  13203. "required": [
  13204. "accountid",
  13205. "buyorsell",
  13206. "goodscode",
  13207. "goodsid",
  13208. "goodsname",
  13209. "marketid",
  13210. "orderid",
  13211. "time",
  13212. "trademode"
  13213. ],
  13214. "properties": {
  13215. "accountid": {
  13216. "description": "账户ID[报价币种]",
  13217. "type": "integer"
  13218. },
  13219. "agreeunit": {
  13220. "description": "合约单位",
  13221. "type": "number"
  13222. },
  13223. "buyorsell": {
  13224. "description": "买卖 - 0:买 1:卖",
  13225. "type": "integer"
  13226. },
  13227. "currencysign": {
  13228. "description": "货币符号",
  13229. "type": "string"
  13230. },
  13231. "decimalplace": {
  13232. "description": "报价小数位",
  13233. "type": "integer"
  13234. },
  13235. "goodscode": {
  13236. "description": "商品代码(内部)",
  13237. "type": "string"
  13238. },
  13239. "goodsid": {
  13240. "description": "商品ID",
  13241. "type": "integer"
  13242. },
  13243. "goodsname": {
  13244. "description": "商品名称",
  13245. "type": "string"
  13246. },
  13247. "marketid": {
  13248. "description": "市场ID",
  13249. "type": "integer"
  13250. },
  13251. "orderid": {
  13252. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13253. "type": "string"
  13254. },
  13255. "ordertype": {
  13256. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13257. "type": "integer"
  13258. },
  13259. "picurls": {
  13260. "description": "介绍图片[多张用逗号分隔]",
  13261. "type": "string"
  13262. },
  13263. "price": {
  13264. "description": "价格",
  13265. "type": "number"
  13266. },
  13267. "qty": {
  13268. "description": "数量",
  13269. "type": "integer"
  13270. },
  13271. "time": {
  13272. "description": "时间",
  13273. "type": "string"
  13274. },
  13275. "trademode": {
  13276. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13277. "type": "integer"
  13278. },
  13279. "vendorname": {
  13280. "description": "供应商名称",
  13281. "type": "string"
  13282. }
  13283. }
  13284. },
  13285. "models.HsbyTopGoods": {
  13286. "type": "object",
  13287. "required": [
  13288. "goodscode",
  13289. "goodsid",
  13290. "goodsname",
  13291. "marketid",
  13292. "trademode"
  13293. ],
  13294. "properties": {
  13295. "agreeunit": {
  13296. "description": "合约单位",
  13297. "type": "number"
  13298. },
  13299. "currency": {
  13300. "description": "货币",
  13301. "type": "string"
  13302. },
  13303. "currencysign": {
  13304. "description": "货币符号",
  13305. "type": "string"
  13306. },
  13307. "decimalplace": {
  13308. "description": "报价小数位",
  13309. "type": "integer"
  13310. },
  13311. "goodscode": {
  13312. "description": "商品代码(内部)",
  13313. "type": "string"
  13314. },
  13315. "goodsid": {
  13316. "description": "商品ID(自增ID SEQ_GOODS)",
  13317. "type": "integer"
  13318. },
  13319. "goodsname": {
  13320. "description": "商品名称",
  13321. "type": "string"
  13322. },
  13323. "hotindex": {
  13324. "description": "景点热度",
  13325. "type": "integer"
  13326. },
  13327. "last": {
  13328. "description": "现价",
  13329. "type": "number"
  13330. },
  13331. "marketid": {
  13332. "description": "所属市场ID",
  13333. "type": "integer"
  13334. },
  13335. "picurls": {
  13336. "description": "介绍图片[多张用逗号分隔]",
  13337. "type": "string"
  13338. },
  13339. "quoteminunit": {
  13340. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13341. "type": "integer"
  13342. },
  13343. "trademode": {
  13344. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13345. "type": "integer"
  13346. },
  13347. "videourls": {
  13348. "description": "介绍视频[多张用逗号分隔]",
  13349. "type": "string"
  13350. }
  13351. }
  13352. },
  13353. "models.HybsMyBuyOrderDetail": {
  13354. "type": "object",
  13355. "required": [
  13356. "accountid",
  13357. "buyorsell",
  13358. "goodscode",
  13359. "goodsid",
  13360. "goodsname",
  13361. "marketid",
  13362. "orderid",
  13363. "orderqty",
  13364. "ordertime",
  13365. "trademode"
  13366. ],
  13367. "properties": {
  13368. "accountid": {
  13369. "description": "账户ID[报价币种]",
  13370. "type": "integer"
  13371. },
  13372. "agreeunit": {
  13373. "description": "合约单位",
  13374. "type": "number"
  13375. },
  13376. "buyorsell": {
  13377. "description": "买卖 - 0:买 1:卖",
  13378. "type": "integer"
  13379. },
  13380. "cancelqty": {
  13381. "description": "撤单数量",
  13382. "type": "integer"
  13383. },
  13384. "currencysign": {
  13385. "description": "货币符号",
  13386. "type": "string"
  13387. },
  13388. "decimalplace": {
  13389. "description": "报价小数位",
  13390. "type": "integer"
  13391. },
  13392. "goodscode": {
  13393. "description": "商品代码(内部)",
  13394. "type": "string"
  13395. },
  13396. "goodsid": {
  13397. "description": "商品ID",
  13398. "type": "integer"
  13399. },
  13400. "goodsname": {
  13401. "description": "商品名称",
  13402. "type": "string"
  13403. },
  13404. "listingselecttype": {
  13405. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13406. "type": "integer"
  13407. },
  13408. "marketid": {
  13409. "description": "市场ID",
  13410. "type": "integer"
  13411. },
  13412. "mybuystatus": {
  13413. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13414. "type": "integer"
  13415. },
  13416. "orderamount": {
  13417. "description": "委托金额",
  13418. "type": "number"
  13419. },
  13420. "orderid": {
  13421. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13422. "type": "string"
  13423. },
  13424. "orderprice": {
  13425. "description": "委托价格",
  13426. "type": "number"
  13427. },
  13428. "orderqty": {
  13429. "description": "委托数量",
  13430. "type": "integer"
  13431. },
  13432. "orderstatus": {
  13433. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13434. "type": "integer"
  13435. },
  13436. "ordertime": {
  13437. "description": "委托时间",
  13438. "type": "string"
  13439. },
  13440. "picurls1": {
  13441. "description": "预售商品介绍图片[多张用逗号分隔]",
  13442. "type": "string"
  13443. },
  13444. "picurls2": {
  13445. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13446. "type": "string"
  13447. },
  13448. "trademode": {
  13449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13450. "type": "integer"
  13451. },
  13452. "tradeqty": {
  13453. "description": "成交数量",
  13454. "type": "integer"
  13455. },
  13456. "vendorname1": {
  13457. "description": "预售商品供应商名称",
  13458. "type": "string"
  13459. },
  13460. "vendorname2": {
  13461. "description": "挂牌商品供应商名称",
  13462. "type": "string"
  13463. }
  13464. }
  13465. },
  13466. "models.Market": {
  13467. "type": "object",
  13468. "required": [
  13469. "marketid",
  13470. "marketstatus",
  13471. "openmethod",
  13472. "reckonpricealgorithm",
  13473. "trademode",
  13474. "tradeproperty"
  13475. ],
  13476. "properties": {
  13477. "auctionwrtype": {
  13478. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13479. "type": "integer"
  13480. },
  13481. "canacceptquote": {
  13482. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13483. "type": "integer"
  13484. },
  13485. "cangoodsexercise": {
  13486. "description": "[期权]是否可现货行权- 0:否 1:是",
  13487. "type": "integer"
  13488. },
  13489. "cangoodsexercisetype": {
  13490. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13491. "type": "integer"
  13492. },
  13493. "canmanualquotestrike": {
  13494. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13495. "type": "integer"
  13496. },
  13497. "canmutistage": {
  13498. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13499. "type": "integer"
  13500. },
  13501. "canpreexercise": {
  13502. "description": "[期权]是否可预申报- 0:否 1:是",
  13503. "type": "integer"
  13504. },
  13505. "clearinterval": {
  13506. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13507. "type": "integer"
  13508. },
  13509. "contracttmp": {
  13510. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13511. "type": "string"
  13512. },
  13513. "exchareaid": {
  13514. "description": "所属交易所,可以没有",
  13515. "type": "integer"
  13516. },
  13517. "goodstype": {
  13518. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13519. "type": "integer"
  13520. },
  13521. "hasrebate": {
  13522. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13523. "type": "integer"
  13524. },
  13525. "hastradecredit": {
  13526. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13527. "type": "integer"
  13528. },
  13529. "haswr": {
  13530. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13531. "type": "integer"
  13532. },
  13533. "isdeductmargin": {
  13534. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13535. "type": "integer"
  13536. },
  13537. "isrecordsource": {
  13538. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13539. "type": "integer"
  13540. },
  13541. "isreleasemargin": {
  13542. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13543. "type": "integer"
  13544. },
  13545. "marginformula": {
  13546. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13547. "type": "integer"
  13548. },
  13549. "marginformula2": {
  13550. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13551. "type": "integer"
  13552. },
  13553. "marketid": {
  13554. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13555. "type": "integer"
  13556. },
  13557. "marketname": {
  13558. "description": "市场名称",
  13559. "type": "string"
  13560. },
  13561. "marketserviceid": {
  13562. "description": "市场服务ID",
  13563. "type": "integer"
  13564. },
  13565. "marketstatus": {
  13566. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13567. "type": "integer"
  13568. },
  13569. "markettype": {
  13570. "description": "市场类型- 1:非交易服务 2:交易服务",
  13571. "type": "integer"
  13572. },
  13573. "matchermode": {
  13574. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13575. "type": "integer"
  13576. },
  13577. "openmethod": {
  13578. "description": "开盘模式 - 0 自动 1手动",
  13579. "type": "integer"
  13580. },
  13581. "otcuserid": {
  13582. "description": "场外期权做市商[场外期权]",
  13583. "type": "integer"
  13584. },
  13585. "outersynctime": {
  13586. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13587. "type": "string"
  13588. },
  13589. "pendingflag": {
  13590. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13591. "type": "integer"
  13592. },
  13593. "pendingtime": {
  13594. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13595. "type": "string"
  13596. },
  13597. "performancetempid": {
  13598. "description": "履约计划模板ID - 作废",
  13599. "type": "integer"
  13600. },
  13601. "premiumquotemode": {
  13602. "description": "权利金报价方式 - 1:自动 2:手动",
  13603. "type": "integer"
  13604. },
  13605. "rebateratio": {
  13606. "description": "返利比率[竞价式]",
  13607. "type": "number"
  13608. },
  13609. "reckonorder": {
  13610. "description": "结算顺序",
  13611. "type": "integer"
  13612. },
  13613. "reckonpricealgorithm": {
  13614. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13615. "type": "integer"
  13616. },
  13617. "reckonpriceparam": {
  13618. "description": "结算价参数",
  13619. "type": "integer"
  13620. },
  13621. "reckontime": {
  13622. "description": "结算时间[通道交易-对冲](HH:mm)",
  13623. "type": "string"
  13624. },
  13625. "roleprioritytype": {
  13626. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13627. "type": "integer"
  13628. },
  13629. "selllistingauditflag": {
  13630. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13631. "type": "integer"
  13632. },
  13633. "trademarkettype": {
  13634. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13635. "type": "integer"
  13636. },
  13637. "trademode": {
  13638. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13639. "type": "integer"
  13640. },
  13641. "tradeproperty": {
  13642. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13643. "type": "integer"
  13644. },
  13645. "tradetype": {
  13646. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13647. "type": "integer"
  13648. }
  13649. }
  13650. },
  13651. "models.Marketrun": {
  13652. "type": "object",
  13653. "required": [
  13654. "marketid",
  13655. "nexttradedate",
  13656. "reckonflag",
  13657. "runstatus",
  13658. "tradedate",
  13659. "tradedate2"
  13660. ],
  13661. "properties": {
  13662. "afternexttradedate": {
  13663. "description": "下下交易日",
  13664. "type": "string"
  13665. },
  13666. "clearquoteflag": {
  13667. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13668. "type": "integer"
  13669. },
  13670. "lastreckondate": {
  13671. "description": "最新交易日(结算成功)",
  13672. "type": "string"
  13673. },
  13674. "machinedate": {
  13675. "description": "机器时间",
  13676. "type": "string"
  13677. },
  13678. "manualflag": {
  13679. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13680. "type": "integer"
  13681. },
  13682. "marketid": {
  13683. "description": "市场ID",
  13684. "type": "integer"
  13685. },
  13686. "nexttradedate": {
  13687. "description": "下一交易日",
  13688. "type": "string"
  13689. },
  13690. "pretradedate": {
  13691. "description": "上一交易日",
  13692. "type": "string"
  13693. },
  13694. "reckonflag": {
  13695. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13696. "type": "integer"
  13697. },
  13698. "runstatus": {
  13699. "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.今日免清算",
  13700. "type": "integer"
  13701. },
  13702. "sectionid": {
  13703. "description": "时间段号[多时段时用]",
  13704. "type": "integer"
  13705. },
  13706. "tradedate": {
  13707. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13708. "type": "string"
  13709. },
  13710. "tradedate2": {
  13711. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13712. "type": "string"
  13713. },
  13714. "updatetime": {
  13715. "description": "更新时间",
  13716. "type": "string"
  13717. }
  13718. }
  13719. },
  13720. "models.Messageboard": {
  13721. "type": "object",
  13722. "required": [
  13723. "messageboardid"
  13724. ],
  13725. "properties": {
  13726. "createtime": {
  13727. "description": "创建时间",
  13728. "type": "string"
  13729. },
  13730. "message": {
  13731. "description": "留言信息",
  13732. "type": "string"
  13733. },
  13734. "messageboardid": {
  13735. "description": "留言簿ID(SEQ_MessageBoard)",
  13736. "type": "integer"
  13737. },
  13738. "userid": {
  13739. "description": "用户ID",
  13740. "type": "integer"
  13741. }
  13742. }
  13743. },
  13744. "models.MyCoupon": {
  13745. "type": "object",
  13746. "required": [
  13747. "accountid",
  13748. "coupontypeid"
  13749. ],
  13750. "properties": {
  13751. "accountid": {
  13752. "description": "资金账户ID",
  13753. "type": "integer"
  13754. },
  13755. "areauserid": {
  13756. "description": "所属机构",
  13757. "type": "integer"
  13758. },
  13759. "conditionvalue": {
  13760. "description": "条件阈值(可为0)",
  13761. "type": "number"
  13762. },
  13763. "couponcategroy": {
  13764. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13765. "type": "integer"
  13766. },
  13767. "couponname": {
  13768. "description": "优惠券名称",
  13769. "type": "string"
  13770. },
  13771. "coupontypeid": {
  13772. "description": "优惠券类型ID",
  13773. "type": "string"
  13774. },
  13775. "couponvalue": {
  13776. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13777. "type": "number"
  13778. },
  13779. "curfreezeqty": {
  13780. "description": "期末冻结数量",
  13781. "type": "integer"
  13782. },
  13783. "curqty": {
  13784. "description": "期末数量",
  13785. "type": "integer"
  13786. },
  13787. "isgeneral": {
  13788. "description": "是否通用券 - 0:否 1:是",
  13789. "type": "integer"
  13790. },
  13791. "isunusable": {
  13792. "description": "是否不可用",
  13793. "type": "boolean"
  13794. },
  13795. "limitedflag": {
  13796. "description": "是否指定商品 - 0:不限 1:限制",
  13797. "type": "integer"
  13798. },
  13799. "limitedgoodsids": {
  13800. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13801. "type": "string"
  13802. },
  13803. "orifreezeqty": {
  13804. "description": "期初冻结数量",
  13805. "type": "integer"
  13806. },
  13807. "oriqty": {
  13808. "description": "期初数量",
  13809. "type": "integer"
  13810. },
  13811. "reasontype": {
  13812. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13813. "type": "integer"
  13814. },
  13815. "todaydecrease": {
  13816. "description": "今日减少",
  13817. "type": "integer"
  13818. },
  13819. "todayincrease": {
  13820. "description": "今日增加",
  13821. "type": "integer"
  13822. },
  13823. "userid": {
  13824. "description": "用户ID",
  13825. "type": "integer"
  13826. },
  13827. "userscope": {
  13828. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13829. "type": "string"
  13830. }
  13831. }
  13832. },
  13833. "models.MyCouponHold": {
  13834. "type": "object",
  13835. "required": [
  13836. "couponholdid"
  13837. ],
  13838. "properties": {
  13839. "accountid": {
  13840. "description": "资金账户ID",
  13841. "type": "integer"
  13842. },
  13843. "conditionvalue": {
  13844. "description": "条件阈值(可为0)",
  13845. "type": "number"
  13846. },
  13847. "couponcategroy": {
  13848. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13849. "type": "integer"
  13850. },
  13851. "couponholdid": {
  13852. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13853. "type": "string"
  13854. },
  13855. "couponname": {
  13856. "description": "优惠券名称",
  13857. "type": "string"
  13858. },
  13859. "coupontypeid": {
  13860. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13861. "type": "string"
  13862. },
  13863. "couponvalue": {
  13864. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13865. "type": "number"
  13866. },
  13867. "createtime": {
  13868. "description": "创建时间",
  13869. "type": "string"
  13870. },
  13871. "enddate": {
  13872. "description": "结束日期",
  13873. "type": "string"
  13874. },
  13875. "giveapplyid": {
  13876. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  13877. "type": "integer"
  13878. },
  13879. "holdstatus": {
  13880. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  13881. "type": "integer"
  13882. },
  13883. "isgeneral": {
  13884. "description": "是否通用券 - 0:否 1:是",
  13885. "type": "integer"
  13886. },
  13887. "limitedflag": {
  13888. "description": "是否指定商品 - 0:不限 1:限制",
  13889. "type": "integer"
  13890. },
  13891. "limitedgoodsids": {
  13892. "description": "指定商品IDs[逗号分隔]",
  13893. "type": "string"
  13894. },
  13895. "qty": {
  13896. "description": "数量(按1平铺)",
  13897. "type": "integer"
  13898. },
  13899. "startdate": {
  13900. "description": "开始日期",
  13901. "type": "string"
  13902. },
  13903. "userid": {
  13904. "description": "用户ID",
  13905. "type": "integer"
  13906. },
  13907. "userscope": {
  13908. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  13909. "type": "string"
  13910. }
  13911. }
  13912. },
  13913. "models.MyUsedCoupon": {
  13914. "type": "object",
  13915. "required": [
  13916. "coupontypeid",
  13917. "orderid"
  13918. ],
  13919. "properties": {
  13920. "accountid": {
  13921. "description": "资金账户ID(买方)",
  13922. "type": "integer"
  13923. },
  13924. "conditionvalue": {
  13925. "description": "条件阈值(可为0)",
  13926. "type": "number"
  13927. },
  13928. "couponcategroy": {
  13929. "description": "种类 - 1:现金券 2:折扣券",
  13930. "type": "integer"
  13931. },
  13932. "couponname": {
  13933. "description": "优惠券名称",
  13934. "type": "string"
  13935. },
  13936. "coupontypeid": {
  13937. "description": "优惠券类型ID(买方)",
  13938. "type": "string"
  13939. },
  13940. "couponvalue": {
  13941. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  13942. "type": "number"
  13943. },
  13944. "createtime": {
  13945. "description": "创建时间",
  13946. "type": "string"
  13947. },
  13948. "goodsid": {
  13949. "description": "商品ID",
  13950. "type": "integer"
  13951. },
  13952. "handlestatus": {
  13953. "description": "处理状态",
  13954. "type": "integer"
  13955. },
  13956. "marketid": {
  13957. "description": "市场ID",
  13958. "type": "integer"
  13959. },
  13960. "offamount": {
  13961. "description": "优惠金额",
  13962. "type": "number"
  13963. },
  13964. "orderid": {
  13965. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13966. "type": "string"
  13967. },
  13968. "sellaccountid": {
  13969. "description": "资金账户ID(卖方)",
  13970. "type": "integer"
  13971. },
  13972. "tradeamount": {
  13973. "description": "成交金额",
  13974. "type": "number"
  13975. },
  13976. "tradeid": {
  13977. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13978. "type": "string"
  13979. },
  13980. "usedqty": {
  13981. "description": "使用数量",
  13982. "type": "integer"
  13983. }
  13984. }
  13985. },
  13986. "models.OperationPrimaryMenu": {
  13987. "type": "object",
  13988. "properties": {
  13989. "Children": {
  13990. "description": "二级功能菜单",
  13991. "type": "array",
  13992. "items": {
  13993. "$ref": "#/definitions/models.OperationSecondaryMenu"
  13994. }
  13995. },
  13996. "Key": {
  13997. "description": "菜单KEY",
  13998. "type": "string"
  13999. },
  14000. "Label": {
  14001. "description": "菜单标题",
  14002. "type": "string"
  14003. }
  14004. }
  14005. },
  14006. "models.OperationSecondaryMenu": {
  14007. "type": "object",
  14008. "properties": {
  14009. "Key": {
  14010. "description": "菜单KEY",
  14011. "type": "string"
  14012. },
  14013. "Label": {
  14014. "description": "菜单标题",
  14015. "type": "string"
  14016. },
  14017. "TabList": {
  14018. "description": "三级功能菜单",
  14019. "type": "array",
  14020. "items": {
  14021. "$ref": "#/definitions/models.OperationTabMenu"
  14022. }
  14023. }
  14024. }
  14025. },
  14026. "models.OperationTabMenu": {
  14027. "type": "object",
  14028. "properties": {
  14029. "Key": {
  14030. "description": "菜单KEY",
  14031. "type": "string"
  14032. },
  14033. "Label": {
  14034. "description": "菜单标题",
  14035. "type": "string"
  14036. }
  14037. }
  14038. },
  14039. "models.QueryErrorInfosRsp": {
  14040. "type": "object",
  14041. "required": [
  14042. "errorid"
  14043. ],
  14044. "properties": {
  14045. "description": {
  14046. "description": "异常描述",
  14047. "type": "string"
  14048. },
  14049. "errorcode": {
  14050. "description": "异常代码",
  14051. "type": "string"
  14052. },
  14053. "errorid": {
  14054. "description": "异常ID",
  14055. "type": "integer"
  14056. },
  14057. "modulecode": {
  14058. "description": "所属模块",
  14059. "type": "string"
  14060. },
  14061. "operatecode": {
  14062. "description": "所属操作",
  14063. "type": "string"
  14064. },
  14065. "rownumber": {
  14066. "description": "行号",
  14067. "type": "string"
  14068. }
  14069. }
  14070. },
  14071. "models.QuotePrimaryMenu": {
  14072. "type": "object",
  14073. "properties": {
  14074. "Index": {
  14075. "description": "序号",
  14076. "type": "integer"
  14077. },
  14078. "Key": {
  14079. "description": "键名",
  14080. "type": "string"
  14081. },
  14082. "Name": {
  14083. "description": "菜单名称",
  14084. "type": "string"
  14085. },
  14086. "SubMenus": {
  14087. "description": "子菜单",
  14088. "type": "array",
  14089. "items": {
  14090. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14091. }
  14092. },
  14093. "SubTitleType": {
  14094. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14095. "type": "integer"
  14096. },
  14097. "TradeModes": {
  14098. "description": "包含市场交易类型",
  14099. "type": "string"
  14100. }
  14101. }
  14102. },
  14103. "models.QuoteSecondaryMenu": {
  14104. "type": "object",
  14105. "properties": {
  14106. "ExExchangeCode": {
  14107. "description": "外部交易所代码",
  14108. "type": "string"
  14109. },
  14110. "ExExchangeID": {
  14111. "description": "外部交易所ID",
  14112. "type": "integer"
  14113. },
  14114. "GoodsGroupIDs": {
  14115. "description": "商品组ID列表",
  14116. "type": "array",
  14117. "items": {
  14118. "type": "integer"
  14119. }
  14120. },
  14121. "Index": {
  14122. "description": "序号",
  14123. "type": "integer"
  14124. },
  14125. "MarketID": {
  14126. "description": "市场ID",
  14127. "type": "integer"
  14128. },
  14129. "MenuTitle": {
  14130. "description": "菜单标题(市场名称或外部交易所名称)",
  14131. "type": "string"
  14132. },
  14133. "TradeMode": {
  14134. "description": "交易模式",
  14135. "type": "integer"
  14136. }
  14137. }
  14138. },
  14139. "models.SearchGoods": {
  14140. "type": "object",
  14141. "required": [
  14142. "goodscode",
  14143. "goodsid",
  14144. "goodsname",
  14145. "marketid",
  14146. "trademode"
  14147. ],
  14148. "properties": {
  14149. "goodscode": {
  14150. "description": "商品代码(内部)",
  14151. "type": "string"
  14152. },
  14153. "goodsid": {
  14154. "description": "商品ID(自增ID SEQ_GOODS)",
  14155. "type": "integer"
  14156. },
  14157. "goodsname": {
  14158. "description": "商品名称",
  14159. "type": "string"
  14160. },
  14161. "marketid": {
  14162. "description": "所属市场ID",
  14163. "type": "integer"
  14164. },
  14165. "marketname": {
  14166. "description": "市场名称",
  14167. "type": "string"
  14168. },
  14169. "trademode": {
  14170. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14171. "type": "integer"
  14172. }
  14173. }
  14174. },
  14175. "models.Szdz2imageconfig": {
  14176. "type": "object",
  14177. "required": [
  14178. "configid"
  14179. ],
  14180. "properties": {
  14181. "configid": {
  14182. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14183. "type": "integer"
  14184. },
  14185. "imagepath": {
  14186. "description": "图片",
  14187. "type": "string"
  14188. },
  14189. "imagetype": {
  14190. "description": "类型 - 1:App首页轮播 2:我的",
  14191. "type": "integer"
  14192. },
  14193. "sort": {
  14194. "description": "排序",
  14195. "type": "integer"
  14196. },
  14197. "title": {
  14198. "description": "标题",
  14199. "type": "string"
  14200. },
  14201. "url": {
  14202. "description": "链接",
  14203. "type": "string"
  14204. }
  14205. }
  14206. },
  14207. "models.Szdz3convertconfig": {
  14208. "type": "object",
  14209. "required": [
  14210. "converttype",
  14211. "innergoodsid",
  14212. "outergoodscode"
  14213. ],
  14214. "properties": {
  14215. "canin": {
  14216. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14217. "type": "integer"
  14218. },
  14219. "canout": {
  14220. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14221. "type": "integer"
  14222. },
  14223. "converttype": {
  14224. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14225. "type": "integer"
  14226. },
  14227. "createtime": {
  14228. "description": "创建时间",
  14229. "type": "string"
  14230. },
  14231. "creatorid": {
  14232. "description": "创建人",
  14233. "type": "integer"
  14234. },
  14235. "daymaxvalue": {
  14236. "description": "当日最大转入限制",
  14237. "type": "number"
  14238. },
  14239. "freezedays": {
  14240. "description": "冻结天数 [5:花生米转交易]",
  14241. "type": "integer"
  14242. },
  14243. "innergoodsid": {
  14244. "description": "内部商品ID[交易]",
  14245. "type": "integer"
  14246. },
  14247. "inratio": {
  14248. "description": "目标值",
  14249. "type": "integer"
  14250. },
  14251. "modifierid": {
  14252. "description": "修改人",
  14253. "type": "integer"
  14254. },
  14255. "modifytime": {
  14256. "description": "修改时间",
  14257. "type": "string"
  14258. },
  14259. "outergoodscode": {
  14260. "description": "外部商品代码[JD\\PD]",
  14261. "type": "string"
  14262. },
  14263. "outratio": {
  14264. "description": "源值",
  14265. "type": "integer"
  14266. },
  14267. "pddecimalplace": {
  14268. "description": "PD小数位",
  14269. "type": "integer"
  14270. },
  14271. "timemaxvalue": {
  14272. "description": "单次最大转入限制",
  14273. "type": "number"
  14274. },
  14275. "timeminvalue": {
  14276. "description": "单次最小转入限制",
  14277. "type": "number"
  14278. }
  14279. }
  14280. },
  14281. "models.Szdz3searchwhitelist": {
  14282. "type": "object",
  14283. "required": [
  14284. "userid"
  14285. ],
  14286. "properties": {
  14287. "createtime": {
  14288. "description": "创建时间",
  14289. "type": "string"
  14290. },
  14291. "creatorid": {
  14292. "description": "创建人",
  14293. "type": "integer"
  14294. },
  14295. "modifierid": {
  14296. "description": "修改人",
  14297. "type": "integer"
  14298. },
  14299. "modifytime": {
  14300. "description": "修改时间",
  14301. "type": "string"
  14302. },
  14303. "userid": {
  14304. "description": "用户ID",
  14305. "type": "integer"
  14306. }
  14307. }
  14308. },
  14309. "models.Taaccount": {
  14310. "type": "object",
  14311. "required": [
  14312. "accountid",
  14313. "userid"
  14314. ],
  14315. "properties": {
  14316. "accountflag": {
  14317. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14318. "type": "integer"
  14319. },
  14320. "accountid": {
  14321. "description": "资金账户ID",
  14322. "type": "integer"
  14323. },
  14324. "accountname": {
  14325. "description": "账户名称",
  14326. "type": "string"
  14327. },
  14328. "balance": {
  14329. "description": "期初余额",
  14330. "type": "number"
  14331. },
  14332. "capitalbalance": {
  14333. "description": "本金余额[外部子账户实际出入金余额]",
  14334. "type": "number"
  14335. },
  14336. "changeflag": {
  14337. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14338. "type": "integer"
  14339. },
  14340. "changetime": {
  14341. "description": "账户状态变更时间",
  14342. "type": "string"
  14343. },
  14344. "closepl": {
  14345. "description": "今日平仓盈亏",
  14346. "type": "number"
  14347. },
  14348. "creditdecrease": {
  14349. "description": "今日授信减少",
  14350. "type": "number"
  14351. },
  14352. "creditincrease": {
  14353. "description": "今日授信增加",
  14354. "type": "number"
  14355. },
  14356. "currencyid": {
  14357. "description": "货币ID",
  14358. "type": "integer"
  14359. },
  14360. "currentbalance": {
  14361. "description": "期末余额",
  14362. "type": "number"
  14363. },
  14364. "freezecharge": {
  14365. "description": "手续费冻结",
  14366. "type": "number"
  14367. },
  14368. "freezemargin": {
  14369. "description": "冻结保证金",
  14370. "type": "number"
  14371. },
  14372. "fromaccountid": {
  14373. "description": "所属上级账户",
  14374. "type": "integer"
  14375. },
  14376. "inamount": {
  14377. "description": "今日入金金额(包括三方入金)",
  14378. "type": "number"
  14379. },
  14380. "ismain": {
  14381. "description": "是否母账号 0:不是母账户 1:是母账户",
  14382. "type": "integer"
  14383. },
  14384. "ismarketaccount": {
  14385. "description": "是否机构接单账号 0:不是 1:是",
  14386. "type": "integer"
  14387. },
  14388. "isreckonaccount": {
  14389. "description": "是否机构分润账号 0:不是 1:是",
  14390. "type": "integer"
  14391. },
  14392. "mortgagecredit": {
  14393. "description": "授信金额",
  14394. "type": "number"
  14395. },
  14396. "orifreezecharge": {
  14397. "description": "期初手续费冻结",
  14398. "type": "number"
  14399. },
  14400. "orifreezemargin": {
  14401. "description": "期初冻结保证金",
  14402. "type": "number"
  14403. },
  14404. "orimortgagecredit": {
  14405. "description": "期初授信金额",
  14406. "type": "number"
  14407. },
  14408. "oriothercredit": {
  14409. "description": "期初其它授信金额",
  14410. "type": "number"
  14411. },
  14412. "oriotherfreezemargin": {
  14413. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14414. "type": "number"
  14415. },
  14416. "orioutamountfreeze": {
  14417. "description": "期初出金冻结",
  14418. "type": "number"
  14419. },
  14420. "oriusedmargin": {
  14421. "description": "期初占用保证金",
  14422. "type": "number"
  14423. },
  14424. "othercredit": {
  14425. "description": "其它授信金额",
  14426. "type": "number"
  14427. },
  14428. "othercreditdecrease": {
  14429. "description": "今日其它授信减少",
  14430. "type": "number"
  14431. },
  14432. "othercreditincrease": {
  14433. "description": "今日其它授信增加",
  14434. "type": "number"
  14435. },
  14436. "otherfreezemargin": {
  14437. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14438. "type": "number"
  14439. },
  14440. "otherincome": {
  14441. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14442. "type": "number"
  14443. },
  14444. "otherpay": {
  14445. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14446. "type": "number"
  14447. },
  14448. "outamount": {
  14449. "description": "今日出金金额(包括三方出金)",
  14450. "type": "number"
  14451. },
  14452. "outamountfreeze": {
  14453. "description": "出金冻结",
  14454. "type": "number"
  14455. },
  14456. "outthreshold": {
  14457. "description": "出金阈值",
  14458. "type": "number"
  14459. },
  14460. "parentaccountid": {
  14461. "description": "所属根账号",
  14462. "type": "integer"
  14463. },
  14464. "paycharge": {
  14465. "description": "今日手续费支出",
  14466. "type": "number"
  14467. },
  14468. "relatedaccountstatus": {
  14469. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14470. "type": "integer"
  14471. },
  14472. "relateduserid": {
  14473. "description": "关联用户",
  14474. "type": "integer"
  14475. },
  14476. "serivcegroup": {
  14477. "description": "服务分组",
  14478. "type": "integer"
  14479. },
  14480. "signstatus": {
  14481. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14482. "type": "integer"
  14483. },
  14484. "sublevelpath": {
  14485. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14486. "type": "string"
  14487. },
  14488. "taaccounttype": {
  14489. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14490. "type": "integer"
  14491. },
  14492. "thirdinamount": {
  14493. "description": "今日三方入金",
  14494. "type": "number"
  14495. },
  14496. "thirdoutamount": {
  14497. "description": "今日三方出金",
  14498. "type": "number"
  14499. },
  14500. "tradestatus": {
  14501. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14502. "type": "integer"
  14503. },
  14504. "tradestatuschangetime": {
  14505. "description": "激活时间",
  14506. "type": "string"
  14507. },
  14508. "transferamount": {
  14509. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14510. "type": "number"
  14511. },
  14512. "usedmargin": {
  14513. "description": "占用保证金",
  14514. "type": "number"
  14515. },
  14516. "userid": {
  14517. "description": "用户ID",
  14518. "type": "integer"
  14519. }
  14520. }
  14521. },
  14522. "models.Tablecolumnconfig": {
  14523. "type": "object",
  14524. "required": [
  14525. "autoid"
  14526. ],
  14527. "properties": {
  14528. "aligntype": {
  14529. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14530. "type": "integer"
  14531. },
  14532. "autoid": {
  14533. "description": "AutoID",
  14534. "type": "integer"
  14535. },
  14536. "columnfield": {
  14537. "description": "列字段",
  14538. "type": "string"
  14539. },
  14540. "columntitle": {
  14541. "description": "列Title",
  14542. "type": "string"
  14543. },
  14544. "columnwidth": {
  14545. "description": "列宽",
  14546. "type": "string"
  14547. },
  14548. "formatterstring": {
  14549. "description": "格式化字符",
  14550. "type": "string"
  14551. },
  14552. "formattertype": {
  14553. "description": "格式化类型",
  14554. "type": "string"
  14555. },
  14556. "groupname": {
  14557. "description": "表头分组名称",
  14558. "type": "string"
  14559. },
  14560. "isshow": {
  14561. "description": "是否显示 - 0:不显示 1:显示",
  14562. "type": "integer"
  14563. },
  14564. "needsummary": {
  14565. "description": "是否需要汇总 - 0:不需要 1:需要",
  14566. "type": "integer"
  14567. },
  14568. "orderindex": {
  14569. "description": "顺序",
  14570. "type": "integer"
  14571. },
  14572. "remark": {
  14573. "description": "备注",
  14574. "type": "string"
  14575. },
  14576. "summarytype": {
  14577. "description": "汇总类型 - 1:加总 2:最后一个",
  14578. "type": "integer"
  14579. },
  14580. "tablekey": {
  14581. "description": "列表Key",
  14582. "type": "string"
  14583. }
  14584. }
  14585. },
  14586. "models.Useraccount": {
  14587. "type": "object",
  14588. "required": [
  14589. "userid"
  14590. ],
  14591. "properties": {
  14592. "accountname": {
  14593. "description": "账户名称(机构名称)",
  14594. "type": "string"
  14595. },
  14596. "accountstatus": {
  14597. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14598. "type": "integer"
  14599. },
  14600. "auditremark": {
  14601. "description": "审核备注",
  14602. "type": "string"
  14603. },
  14604. "audittime": {
  14605. "description": "审核时间",
  14606. "type": "string"
  14607. },
  14608. "audituserid": {
  14609. "description": "审核人",
  14610. "type": "integer"
  14611. },
  14612. "broker": {
  14613. "description": "所属经纪人ID",
  14614. "type": "integer"
  14615. },
  14616. "canceltime": {
  14617. "description": "销户时间",
  14618. "type": "string"
  14619. },
  14620. "canceluserid": {
  14621. "description": "销户人",
  14622. "type": "integer"
  14623. },
  14624. "createtime": {
  14625. "description": "创建时间",
  14626. "type": "string"
  14627. },
  14628. "creatorid": {
  14629. "description": "创建人",
  14630. "type": "integer"
  14631. },
  14632. "hasauth": {
  14633. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14634. "type": "integer"
  14635. },
  14636. "isanonymous": {
  14637. "description": "是否匿名下单 - 0:否 1:是",
  14638. "type": "integer"
  14639. },
  14640. "maxinvestornum": {
  14641. "description": "最大用户数(经纪会员下投资者个数)",
  14642. "type": "integer"
  14643. },
  14644. "memberuserid": {
  14645. "description": "所属会员ID",
  14646. "type": "integer"
  14647. },
  14648. "modifierid": {
  14649. "description": "修改人",
  14650. "type": "integer"
  14651. },
  14652. "modifyremark": {
  14653. "description": "变更备注",
  14654. "type": "string"
  14655. },
  14656. "modifystatus": {
  14657. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14658. "type": "integer"
  14659. },
  14660. "modifytime": {
  14661. "description": "修改时间",
  14662. "type": "string"
  14663. },
  14664. "parentuserid": {
  14665. "description": "所属机构ID",
  14666. "type": "integer"
  14667. },
  14668. "reckonaccountid": {
  14669. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14670. "type": "integer"
  14671. },
  14672. "refercount": {
  14673. "description": "推荐总人数",
  14674. "type": "integer"
  14675. },
  14676. "refereeuserid": {
  14677. "description": "推荐人ID",
  14678. "type": "integer"
  14679. },
  14680. "refernum": {
  14681. "description": "推荐码",
  14682. "type": "string"
  14683. },
  14684. "subarealevelpath": {
  14685. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14686. "type": "string"
  14687. },
  14688. "userid": {
  14689. "description": "用户ID",
  14690. "type": "integer"
  14691. },
  14692. "usertype": {
  14693. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14694. "type": "integer"
  14695. }
  14696. }
  14697. },
  14698. "models.Userfavoritegoods": {
  14699. "type": "object",
  14700. "required": [
  14701. "goodsid"
  14702. ],
  14703. "properties": {
  14704. "goodsid": {
  14705. "description": "商品ID",
  14706. "type": "integer"
  14707. }
  14708. }
  14709. },
  14710. "models.Userinfo": {
  14711. "type": "object",
  14712. "required": [
  14713. "userid"
  14714. ],
  14715. "properties": {
  14716. "address": {
  14717. "description": "地址",
  14718. "type": "string"
  14719. },
  14720. "attachment1": {
  14721. "description": "附件1",
  14722. "type": "string"
  14723. },
  14724. "attachment2": {
  14725. "description": "附件2",
  14726. "type": "string"
  14727. },
  14728. "bankaccount": {
  14729. "description": "银行帐号 (加密存储)",
  14730. "type": "string"
  14731. },
  14732. "bankaccountname": {
  14733. "description": "收款人名称",
  14734. "type": "string"
  14735. },
  14736. "bankcardfrontphotourl": {
  14737. "description": "银行卡正面照地址",
  14738. "type": "string"
  14739. },
  14740. "bankid": {
  14741. "description": "银行编码",
  14742. "type": "string"
  14743. },
  14744. "bankname": {
  14745. "description": "银行名称",
  14746. "type": "string"
  14747. },
  14748. "biznature": {
  14749. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14750. "type": "integer"
  14751. },
  14752. "bizscope": {
  14753. "description": "企业经营范围(企业)",
  14754. "type": "string"
  14755. },
  14756. "cardbackphotourl": {
  14757. "description": "证件背面图片地址",
  14758. "type": "string"
  14759. },
  14760. "cardfrontphotourl": {
  14761. "description": "证件正面图片地址",
  14762. "type": "string"
  14763. },
  14764. "cardnum": {
  14765. "description": "证件号码(加密存储)",
  14766. "type": "string"
  14767. },
  14768. "cardtypeid": {
  14769. "description": "证件类型ID",
  14770. "type": "integer"
  14771. },
  14772. "cityid": {
  14773. "description": "市",
  14774. "type": "integer"
  14775. },
  14776. "company": {
  14777. "description": "公司(个人)",
  14778. "type": "string"
  14779. },
  14780. "contactname": {
  14781. "description": "联系人",
  14782. "type": "string"
  14783. },
  14784. "countryid": {
  14785. "description": "国家",
  14786. "type": "integer"
  14787. },
  14788. "createtime": {
  14789. "description": "创建时间",
  14790. "type": "string"
  14791. },
  14792. "creatorid": {
  14793. "description": "创建人",
  14794. "type": "integer"
  14795. },
  14796. "customername": {
  14797. "description": "客户名称(企业名称)",
  14798. "type": "string"
  14799. },
  14800. "districtid": {
  14801. "description": "地区",
  14802. "type": "integer"
  14803. },
  14804. "email": {
  14805. "description": "邮件(加密存储)",
  14806. "type": "string"
  14807. },
  14808. "fax": {
  14809. "description": "传真(加密存储)",
  14810. "type": "string"
  14811. },
  14812. "halfbodyphotourl": {
  14813. "description": "半身照地址",
  14814. "type": "string"
  14815. },
  14816. "hasencrypt": {
  14817. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14818. "type": "integer"
  14819. },
  14820. "headurl": {
  14821. "description": "头像地址",
  14822. "type": "string"
  14823. },
  14824. "legalcardbackphotourl": {
  14825. "description": "法人身份证背面照地址",
  14826. "type": "string"
  14827. },
  14828. "legalcardfrontphotourl": {
  14829. "description": "法人身份证正面照地址",
  14830. "type": "string"
  14831. },
  14832. "legalpersonname": {
  14833. "description": "法人姓名(企业)",
  14834. "type": "string"
  14835. },
  14836. "mobile": {
  14837. "description": "手机号码(加密存储)",
  14838. "type": "string"
  14839. },
  14840. "mobile2": {
  14841. "description": "手机号码[明文-尚志]",
  14842. "type": "string"
  14843. },
  14844. "modifierid": {
  14845. "description": "修改人",
  14846. "type": "integer"
  14847. },
  14848. "modifiertime": {
  14849. "description": "修改时间",
  14850. "type": "string"
  14851. },
  14852. "needinvoice": {
  14853. "description": "是否需要发票 - 0:不需要 1:需要",
  14854. "type": "integer"
  14855. },
  14856. "nickname": {
  14857. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14858. "type": "string"
  14859. },
  14860. "openmode": {
  14861. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  14862. "type": "integer"
  14863. },
  14864. "otherurl": {
  14865. "description": "其它图片地址[使用分号分隔]",
  14866. "type": "string"
  14867. },
  14868. "postalcode": {
  14869. "description": "邮政编码",
  14870. "type": "string"
  14871. },
  14872. "provinceid": {
  14873. "description": "省",
  14874. "type": "integer"
  14875. },
  14876. "qq": {
  14877. "description": "QQ(加密存储",
  14878. "type": "string"
  14879. },
  14880. "remark": {
  14881. "description": "备注",
  14882. "type": "string"
  14883. },
  14884. "sex": {
  14885. "description": "用户性别 0: 女 1: 男",
  14886. "type": "integer"
  14887. },
  14888. "signpdfurl": {
  14889. "description": "签约pdf文件",
  14890. "type": "string"
  14891. },
  14892. "telphone": {
  14893. "description": "联系电话(加密存储)",
  14894. "type": "string"
  14895. },
  14896. "userid": {
  14897. "description": "用户ID",
  14898. "type": "integer"
  14899. },
  14900. "userinfotype": {
  14901. "description": "用户信息类型 - 1:个人 2:企业",
  14902. "type": "integer"
  14903. },
  14904. "userstatus": {
  14905. "description": "用户状态 - 1:正常 2:注销",
  14906. "type": "integer"
  14907. },
  14908. "usertype": {
  14909. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14910. "type": "integer"
  14911. },
  14912. "wechat": {
  14913. "description": "微信(加密存储)",
  14914. "type": "string"
  14915. },
  14916. "wskhinfo": {
  14917. "description": "开户申请信息(JSON)",
  14918. "type": "string"
  14919. }
  14920. }
  14921. },
  14922. "models.WRCategoryTree": {
  14923. "type": "object",
  14924. "required": [
  14925. "categoryid"
  14926. ],
  14927. "properties": {
  14928. "areauserid": {
  14929. "description": "所属机构",
  14930. "type": "integer"
  14931. },
  14932. "categorydesc": {
  14933. "description": "类别描述",
  14934. "type": "string"
  14935. },
  14936. "categoryid": {
  14937. "description": "类别ID(SEQ_WRCATEGORY)",
  14938. "type": "integer"
  14939. },
  14940. "categoryname": {
  14941. "description": "类别名称",
  14942. "type": "string"
  14943. },
  14944. "iconurl": {
  14945. "description": "图标地址",
  14946. "type": "string"
  14947. },
  14948. "orderindex": {
  14949. "description": "顺序",
  14950. "type": "integer"
  14951. },
  14952. "parentcategoryid": {
  14953. "description": "父类别ID",
  14954. "type": "integer"
  14955. },
  14956. "subcategory": {
  14957. "description": "子分类",
  14958. "type": "array",
  14959. "items": {
  14960. "$ref": "#/definitions/models.WRCategoryTree"
  14961. }
  14962. }
  14963. }
  14964. },
  14965. "models.WRSConverTDetail": {
  14966. "type": "object",
  14967. "properties": {
  14968. "convertratio": {
  14969. "description": "套保系数",
  14970. "type": "number"
  14971. },
  14972. "deliverygoodsid": {
  14973. "description": "现货品种ID",
  14974. "type": "integer"
  14975. },
  14976. "middlegoodscode": {
  14977. "description": "套保品种代码",
  14978. "type": "string"
  14979. },
  14980. "middlegoodsid": {
  14981. "description": "套保品种ID",
  14982. "type": "integer"
  14983. },
  14984. "middlegoodsname": {
  14985. "description": "套保品种名称",
  14986. "type": "string"
  14987. },
  14988. "modifytime": {
  14989. "description": "修改时间",
  14990. "type": "string"
  14991. },
  14992. "wrstandardid": {
  14993. "description": "现货商品ID",
  14994. "type": "integer"
  14995. }
  14996. }
  14997. },
  14998. "models.WRStandardInfo": {
  14999. "type": "object",
  15000. "required": [
  15001. "wrstandardid"
  15002. ],
  15003. "properties": {
  15004. "createtime": {
  15005. "description": "创建时间",
  15006. "type": "string"
  15007. },
  15008. "creatorid": {
  15009. "description": "创建人",
  15010. "type": "integer"
  15011. },
  15012. "deliverygoodsid": {
  15013. "description": "品种ID",
  15014. "type": "integer"
  15015. },
  15016. "deliverygoodsname": {
  15017. "description": "交割商品名称",
  15018. "type": "string"
  15019. },
  15020. "factoryitemjson": {
  15021. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15022. "type": "string"
  15023. },
  15024. "isvalid": {
  15025. "description": "是否有效 - 0:无效 1:有效",
  15026. "type": "integer"
  15027. },
  15028. "minivalue": {
  15029. "description": "最小变动值",
  15030. "type": "integer"
  15031. },
  15032. "minivaluedp": {
  15033. "description": "最小变动值小数位",
  15034. "type": "integer"
  15035. },
  15036. "realminivalue": {
  15037. "description": "实际最小变动值",
  15038. "type": "integer"
  15039. },
  15040. "realminivaluedp": {
  15041. "description": "实际最小变动值小数位",
  15042. "type": "integer"
  15043. },
  15044. "unitid": {
  15045. "description": "单位ID",
  15046. "type": "integer"
  15047. },
  15048. "unitname": {
  15049. "description": "单位",
  15050. "type": "string"
  15051. },
  15052. "updatetime": {
  15053. "description": "更新时间",
  15054. "type": "string"
  15055. },
  15056. "updatorid": {
  15057. "description": "更新人",
  15058. "type": "integer"
  15059. },
  15060. "wrsstatus": {
  15061. "description": "状态 - 作废 - 0:未激活 1:正常",
  15062. "type": "integer"
  15063. },
  15064. "wrstandardcode": {
  15065. "description": "仓单标准代码",
  15066. "type": "string"
  15067. },
  15068. "wrstandardid": {
  15069. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15070. "type": "integer"
  15071. },
  15072. "wrstandardname": {
  15073. "description": "仓单标准名称",
  15074. "type": "string"
  15075. }
  15076. }
  15077. },
  15078. "models.Warehouseinfo": {
  15079. "type": "object",
  15080. "required": [
  15081. "autoid",
  15082. "warehousecode"
  15083. ],
  15084. "properties": {
  15085. "address": {
  15086. "description": "详细地址",
  15087. "type": "string"
  15088. },
  15089. "areauserid": {
  15090. "description": "所属机构",
  15091. "type": "integer"
  15092. },
  15093. "autoid": {
  15094. "description": "自增ID",
  15095. "type": "integer"
  15096. },
  15097. "cityid": {
  15098. "description": "市",
  15099. "type": "integer"
  15100. },
  15101. "contactname": {
  15102. "description": "联系人",
  15103. "type": "string"
  15104. },
  15105. "contactnum": {
  15106. "description": "联系电话",
  15107. "type": "string"
  15108. },
  15109. "countryid": {
  15110. "description": "国家",
  15111. "type": "integer"
  15112. },
  15113. "createtime": {
  15114. "description": "创建时间",
  15115. "type": "string"
  15116. },
  15117. "districtid": {
  15118. "description": "区",
  15119. "type": "integer"
  15120. },
  15121. "hasvideo": {
  15122. "description": "是否有视频 - 0:无 1:有",
  15123. "type": "integer"
  15124. },
  15125. "provinceid": {
  15126. "description": "省",
  15127. "type": "integer"
  15128. },
  15129. "remark": {
  15130. "description": "审核备注",
  15131. "type": "string"
  15132. },
  15133. "videourl": {
  15134. "description": "视频地址",
  15135. "type": "string"
  15136. },
  15137. "warehousecode": {
  15138. "description": "仓库代码",
  15139. "type": "string"
  15140. },
  15141. "warehousename": {
  15142. "description": "仓库名称",
  15143. "type": "string"
  15144. },
  15145. "warehousestatus": {
  15146. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15147. "type": "integer"
  15148. },
  15149. "warehousetype": {
  15150. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15151. "type": "integer"
  15152. }
  15153. }
  15154. },
  15155. "order.QueryHisTradeDetailRsp": {
  15156. "type": "object",
  15157. "required": [
  15158. "accountid",
  15159. "buyorsell",
  15160. "goodsid",
  15161. "histradedate",
  15162. "marketid",
  15163. "memberuserid",
  15164. "orderid",
  15165. "tradeamount",
  15166. "tradedate",
  15167. "tradeid",
  15168. "tradeprice",
  15169. "tradeqty",
  15170. "tradetime"
  15171. ],
  15172. "properties": {
  15173. "accountid": {
  15174. "description": "账户ID[报价币种]",
  15175. "type": "integer"
  15176. },
  15177. "buildtype": {
  15178. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15179. "type": "integer"
  15180. },
  15181. "buyorsell": {
  15182. "description": "方向 - 0:买 1:卖",
  15183. "type": "integer"
  15184. },
  15185. "charge": {
  15186. "description": "手续费",
  15187. "type": "number"
  15188. },
  15189. "closecharge": {
  15190. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15191. "type": "number"
  15192. },
  15193. "closeexchagechargevalue": {
  15194. "description": "平仓交易所手续费设置值",
  15195. "type": "number"
  15196. },
  15197. "closefeealgorithm": {
  15198. "description": "平仓手续费收取方式 1:比率 2:固定",
  15199. "type": "integer"
  15200. },
  15201. "closememberchargevalue": {
  15202. "description": "平仓会员手续费设置值",
  15203. "type": "number"
  15204. },
  15205. "closepl": {
  15206. "description": "平仓盈亏",
  15207. "type": "number"
  15208. },
  15209. "closepl2": {
  15210. "description": "平仓盈亏[逐笔]",
  15211. "type": "number"
  15212. },
  15213. "closeqty": {
  15214. "description": "平仓数量(先建后平操作 需要记录)",
  15215. "type": "integer"
  15216. },
  15217. "creditamount": {
  15218. "description": "授信金额",
  15219. "type": "number"
  15220. },
  15221. "gcaccountid": {
  15222. "description": "账户ID[合约币种]",
  15223. "type": "integer"
  15224. },
  15225. "goodscode": {
  15226. "description": "商品代码",
  15227. "type": "string"
  15228. },
  15229. "goodsid": {
  15230. "description": "商品ID",
  15231. "type": "integer"
  15232. },
  15233. "goodsname": {
  15234. "description": "商品名称",
  15235. "type": "string"
  15236. },
  15237. "histradedate": {
  15238. "description": "历史交易日",
  15239. "type": "string"
  15240. },
  15241. "intclosepl": {
  15242. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15243. "type": "integer"
  15244. },
  15245. "isconfirmexercise": {
  15246. "description": "是否确认行权- 0:否 1:是",
  15247. "type": "integer"
  15248. },
  15249. "ismain": {
  15250. "description": "是否主单 - 0:不是 1:是",
  15251. "type": "integer"
  15252. },
  15253. "ispreexercise": {
  15254. "description": "是否预申报- 0:否 1:是",
  15255. "type": "integer"
  15256. },
  15257. "isreckoned": {
  15258. "description": "是否结算 - 0:未结算 1:已结算",
  15259. "type": "integer"
  15260. },
  15261. "isvaliddata": {
  15262. "description": "是否有效 - 0:无效 1:有效",
  15263. "type": "integer"
  15264. },
  15265. "listingselecttype": {
  15266. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15267. "type": "integer"
  15268. },
  15269. "marketid": {
  15270. "description": "市场ID",
  15271. "type": "integer"
  15272. },
  15273. "marketname": {
  15274. "description": "市场名称",
  15275. "type": "string"
  15276. },
  15277. "matchaccountid": {
  15278. "description": "对手账号id",
  15279. "type": "integer"
  15280. },
  15281. "memberuserid": {
  15282. "description": "会员id 个人投资者 需要填写",
  15283. "type": "integer"
  15284. },
  15285. "opencharge": {
  15286. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15287. "type": "number"
  15288. },
  15289. "openexchagechargevalue": {
  15290. "description": "建仓交易所手续费设置值",
  15291. "type": "number"
  15292. },
  15293. "openfeealgorithm": {
  15294. "description": "建仓手续费收取方式 1:比率 2:固定",
  15295. "type": "integer"
  15296. },
  15297. "openmemberchargevalue": {
  15298. "description": "建仓会员手续费设置值",
  15299. "type": "number"
  15300. },
  15301. "openqty": {
  15302. "description": "开仓数量(先建后平操作 需要记录)",
  15303. "type": "integer"
  15304. },
  15305. "optiontype": {
  15306. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15307. "type": "integer"
  15308. },
  15309. "orderid": {
  15310. "description": "委托单号",
  15311. "type": "string"
  15312. },
  15313. "performanceplanid": {
  15314. "description": "履约计划ID[期权]",
  15315. "type": "integer"
  15316. },
  15317. "performancestatus": {
  15318. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15319. "type": "integer"
  15320. },
  15321. "preexerciseprice": {
  15322. "description": "预申报价格",
  15323. "type": "number"
  15324. },
  15325. "premium": {
  15326. "description": "权利金 - [持仓单的权利金]",
  15327. "type": "number"
  15328. },
  15329. "relatedouttradeid": {
  15330. "description": "关联外部成交单ID",
  15331. "type": "integer"
  15332. },
  15333. "status": {
  15334. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15335. "type": "integer"
  15336. },
  15337. "tradeamount": {
  15338. "description": "成交金额[账户币种,用于所有权]",
  15339. "type": "number"
  15340. },
  15341. "tradedate": {
  15342. "description": "交易日(yyyyMMdd)",
  15343. "type": "string"
  15344. },
  15345. "tradeid": {
  15346. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15347. "type": "string"
  15348. },
  15349. "trademode": {
  15350. "description": "交易模式",
  15351. "type": "integer"
  15352. },
  15353. "tradeprice": {
  15354. "description": "成交价格",
  15355. "type": "number"
  15356. },
  15357. "tradeproperty": {
  15358. "description": "交易属性",
  15359. "type": "integer"
  15360. },
  15361. "tradeqty": {
  15362. "description": "成交数量",
  15363. "type": "integer"
  15364. },
  15365. "tradetime": {
  15366. "description": "成交时间",
  15367. "type": "string"
  15368. },
  15369. "tradetype": {
  15370. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15371. "type": "integer"
  15372. }
  15373. }
  15374. },
  15375. "order.QueryHisTradeOrderDetailRsp": {
  15376. "type": "object",
  15377. "required": [
  15378. "accountid",
  15379. "buildtype",
  15380. "buyorsell",
  15381. "goodsid",
  15382. "histradedate",
  15383. "marketid",
  15384. "memberuserid",
  15385. "operatetype",
  15386. "orderid",
  15387. "orderqty",
  15388. "ordertime",
  15389. "pricemode",
  15390. "tradedate",
  15391. "validtype"
  15392. ],
  15393. "properties": {
  15394. "accountid": {
  15395. "description": "账户ID[报价币种]",
  15396. "type": "integer"
  15397. },
  15398. "buildtype": {
  15399. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15400. "type": "integer"
  15401. },
  15402. "buyorsell": {
  15403. "description": "买卖 - 0:买 1:卖",
  15404. "type": "integer"
  15405. },
  15406. "cancelorderid": {
  15407. "description": "撤单单号(撤单时填写)",
  15408. "type": "string"
  15409. },
  15410. "cancelqty": {
  15411. "description": "撤单数量",
  15412. "type": "integer"
  15413. },
  15414. "clientordertime": {
  15415. "description": "客户端委托时间",
  15416. "type": "string"
  15417. },
  15418. "clientticket": {
  15419. "description": "客户端流水号",
  15420. "type": "string"
  15421. },
  15422. "clienttype": {
  15423. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15424. "type": "integer"
  15425. },
  15426. "closeexchagechargevalue": {
  15427. "description": "平仓交易所手续费设置值",
  15428. "type": "number"
  15429. },
  15430. "closefeealgorithm": {
  15431. "description": "平仓手续费收取方式 1:比率 2:固定",
  15432. "type": "integer"
  15433. },
  15434. "closefreezecharge": {
  15435. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15436. "type": "number"
  15437. },
  15438. "closememberchargevalue": {
  15439. "description": "平仓会员手续费设置值",
  15440. "type": "number"
  15441. },
  15442. "closeqty": {
  15443. "description": "平仓数量(先建后平操作 需要记录)",
  15444. "type": "integer"
  15445. },
  15446. "closetradeqty": {
  15447. "description": "平仓成交数量(先建后平操作,需要记录)",
  15448. "type": "integer"
  15449. },
  15450. "closeunfreezecharge": {
  15451. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15452. "type": "number"
  15453. },
  15454. "delistingtype": {
  15455. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15456. "type": "integer"
  15457. },
  15458. "freezecharge": {
  15459. "description": "冻结手续费",
  15460. "type": "number"
  15461. },
  15462. "freezemargin": {
  15463. "description": "冻结保证金(冻结交易金额)",
  15464. "type": "number"
  15465. },
  15466. "gcaccountid": {
  15467. "description": "账户ID[合约币种]",
  15468. "type": "integer"
  15469. },
  15470. "goodscode": {
  15471. "description": "商品代码",
  15472. "type": "string"
  15473. },
  15474. "goodsid": {
  15475. "description": "商品ID",
  15476. "type": "integer"
  15477. },
  15478. "goodsname": {
  15479. "description": "商品名称",
  15480. "type": "string"
  15481. },
  15482. "histradedate": {
  15483. "description": "历史交易日",
  15484. "type": "string"
  15485. },
  15486. "isconfirmexercise": {
  15487. "description": "是否确认行权- 0:否 1:是",
  15488. "type": "integer"
  15489. },
  15490. "ispreexercise": {
  15491. "description": "是否预申报- 0:否 1:是",
  15492. "type": "integer"
  15493. },
  15494. "isvaliddata": {
  15495. "description": "是否有效 - 0:无效 1:有效",
  15496. "type": "integer"
  15497. },
  15498. "listingselecttype": {
  15499. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15500. "type": "integer"
  15501. },
  15502. "marginalgorithm": {
  15503. "description": "保证金收取方式 1:比率 2:固定",
  15504. "type": "integer"
  15505. },
  15506. "marginvalue": {
  15507. "description": "即市保证金设置值",
  15508. "type": "number"
  15509. },
  15510. "marketid": {
  15511. "description": "市场ID",
  15512. "type": "integer"
  15513. },
  15514. "marketmaxsub": {
  15515. "description": "市价最大偏移范围",
  15516. "type": "number"
  15517. },
  15518. "marketname": {
  15519. "description": "市场名称",
  15520. "type": "string"
  15521. },
  15522. "memberuserid": {
  15523. "description": "所属会员UserID",
  15524. "type": "integer"
  15525. },
  15526. "openexchagechargevalue": {
  15527. "description": "建仓交易所手续费设置值",
  15528. "type": "number"
  15529. },
  15530. "openfeealgorithm": {
  15531. "description": "建仓手续费收取方式 1:比率 2:固定",
  15532. "type": "integer"
  15533. },
  15534. "openfreezecharge": {
  15535. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15536. "type": "number"
  15537. },
  15538. "openmemberchargevalue": {
  15539. "description": "建仓会员手续费设置值",
  15540. "type": "number"
  15541. },
  15542. "openqty": {
  15543. "description": "开仓数量(先建后平操作,需要记录)",
  15544. "type": "integer"
  15545. },
  15546. "opentradeqty": {
  15547. "description": "开仓成交数量(先建后平操作,需要记录)",
  15548. "type": "integer"
  15549. },
  15550. "openunfreezecharge": {
  15551. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15552. "type": "number"
  15553. },
  15554. "operatetype": {
  15555. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15556. "type": "integer"
  15557. },
  15558. "operatorid": {
  15559. "description": "登录账号(LoginID)",
  15560. "type": "integer"
  15561. },
  15562. "optiontype": {
  15563. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15564. "type": "integer"
  15565. },
  15566. "orderid": {
  15567. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15568. "type": "string"
  15569. },
  15570. "orderprice": {
  15571. "description": "委托价格",
  15572. "type": "number"
  15573. },
  15574. "orderqty": {
  15575. "description": "委托数量",
  15576. "type": "integer"
  15577. },
  15578. "ordersrc": {
  15579. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15580. "type": "integer"
  15581. },
  15582. "orderstatus": {
  15583. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15584. "type": "integer"
  15585. },
  15586. "ordertime": {
  15587. "description": "委托时间",
  15588. "type": "string"
  15589. },
  15590. "preexerciseprice": {
  15591. "description": "预申报价格",
  15592. "type": "number"
  15593. },
  15594. "premium": {
  15595. "description": "权利金",
  15596. "type": "number"
  15597. },
  15598. "preorderid": {
  15599. "description": "关联预埋单号(止盈止损单时填写)",
  15600. "type": "string"
  15601. },
  15602. "pricemode": {
  15603. "description": "取价方式 - 1:市价 2: 限价",
  15604. "type": "integer"
  15605. },
  15606. "quoteid": {
  15607. "description": "报价单ID",
  15608. "type": "integer"
  15609. },
  15610. "relatedid": {
  15611. "description": "关联单号(交割单)",
  15612. "type": "string"
  15613. },
  15614. "retcode": {
  15615. "description": "错误代码",
  15616. "type": "integer"
  15617. },
  15618. "sessionid": {
  15619. "description": "会话ID",
  15620. "type": "integer"
  15621. },
  15622. "tradedate": {
  15623. "description": "交易日(yyyyMMdd)",
  15624. "type": "string"
  15625. },
  15626. "trademode": {
  15627. "description": "交易模式",
  15628. "type": "integer"
  15629. },
  15630. "tradeproperty": {
  15631. "description": "交易属性",
  15632. "type": "integer"
  15633. },
  15634. "tradeqty": {
  15635. "description": "成交数量",
  15636. "type": "integer"
  15637. },
  15638. "unfreezecharge": {
  15639. "description": "解冻手续费",
  15640. "type": "number"
  15641. },
  15642. "unfreezemargin": {
  15643. "description": "解冻保证金",
  15644. "type": "number"
  15645. },
  15646. "updatetime": {
  15647. "description": "更新时间",
  15648. "type": "string"
  15649. },
  15650. "uuid": {
  15651. "description": "发起端唯一id",
  15652. "type": "string"
  15653. },
  15654. "validtime": {
  15655. "description": "有效期限",
  15656. "type": "string"
  15657. },
  15658. "validtype": {
  15659. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15660. "type": "integer"
  15661. },
  15662. "volumetype": {
  15663. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15664. "type": "integer"
  15665. }
  15666. }
  15667. },
  15668. "order.QueryTradeDetailRsp": {
  15669. "type": "object",
  15670. "required": [
  15671. "accountid",
  15672. "buyorsell",
  15673. "goodsid",
  15674. "marketid",
  15675. "memberuserid",
  15676. "orderid",
  15677. "tradeamount",
  15678. "tradedate",
  15679. "tradeid",
  15680. "tradeprice",
  15681. "tradeqty",
  15682. "tradetime"
  15683. ],
  15684. "properties": {
  15685. "accountid": {
  15686. "description": "账户ID[报价币种]",
  15687. "type": "integer"
  15688. },
  15689. "buildtype": {
  15690. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15691. "type": "integer"
  15692. },
  15693. "buyorsell": {
  15694. "description": "方向 - 0:买 1:卖",
  15695. "type": "integer"
  15696. },
  15697. "charge": {
  15698. "description": "手续费",
  15699. "type": "number"
  15700. },
  15701. "closecharge": {
  15702. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15703. "type": "number"
  15704. },
  15705. "closeexchagechargevalue": {
  15706. "description": "平仓交易所手续费设置值",
  15707. "type": "number"
  15708. },
  15709. "closefeealgorithm": {
  15710. "description": "平仓手续费收取方式 1:比率 2:固定",
  15711. "type": "integer"
  15712. },
  15713. "closememberchargevalue": {
  15714. "description": "平仓会员手续费设置值",
  15715. "type": "number"
  15716. },
  15717. "closepl": {
  15718. "description": "平仓盈亏",
  15719. "type": "number"
  15720. },
  15721. "closepl2": {
  15722. "description": "平仓盈亏[逐笔]",
  15723. "type": "number"
  15724. },
  15725. "closeqty": {
  15726. "description": "平仓数量(先建后平操作 需要记录)",
  15727. "type": "integer"
  15728. },
  15729. "creditamount": {
  15730. "description": "授信金额",
  15731. "type": "number"
  15732. },
  15733. "gcaccountid": {
  15734. "description": "账户ID[合约币种]",
  15735. "type": "integer"
  15736. },
  15737. "goodscode": {
  15738. "description": "商品代码",
  15739. "type": "string"
  15740. },
  15741. "goodsid": {
  15742. "description": "商品ID",
  15743. "type": "integer"
  15744. },
  15745. "goodsname": {
  15746. "description": "商品名称",
  15747. "type": "string"
  15748. },
  15749. "intclosepl": {
  15750. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15751. "type": "integer"
  15752. },
  15753. "isconfirmexercise": {
  15754. "description": "是否确认行权- 0:否 1:是",
  15755. "type": "integer"
  15756. },
  15757. "ismain": {
  15758. "description": "是否主单 - 0:不是 1:是",
  15759. "type": "integer"
  15760. },
  15761. "ispreexercise": {
  15762. "description": "是否预申报- 0:否 1:是",
  15763. "type": "integer"
  15764. },
  15765. "isreckoned": {
  15766. "description": "是否结算 - 0:未结算 1:已结算",
  15767. "type": "integer"
  15768. },
  15769. "listingselecttype": {
  15770. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15771. "type": "integer"
  15772. },
  15773. "marketid": {
  15774. "description": "市场ID",
  15775. "type": "integer"
  15776. },
  15777. "marketname": {
  15778. "description": "市场名称",
  15779. "type": "string"
  15780. },
  15781. "matchaccountid": {
  15782. "description": "对手账号id",
  15783. "type": "integer"
  15784. },
  15785. "memberuserid": {
  15786. "description": "会员id 个人投资者 需要填写",
  15787. "type": "integer"
  15788. },
  15789. "opencharge": {
  15790. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15791. "type": "number"
  15792. },
  15793. "openexchagechargevalue": {
  15794. "description": "建仓交易所手续费设置值",
  15795. "type": "number"
  15796. },
  15797. "openfeealgorithm": {
  15798. "description": "建仓手续费收取方式 1:比率 2:固定",
  15799. "type": "integer"
  15800. },
  15801. "openmemberchargevalue": {
  15802. "description": "建仓会员手续费设置值",
  15803. "type": "number"
  15804. },
  15805. "openqty": {
  15806. "description": "开仓数量(先建后平操作 需要记录)",
  15807. "type": "integer"
  15808. },
  15809. "optiontype": {
  15810. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15811. "type": "integer"
  15812. },
  15813. "orderid": {
  15814. "description": "委托单号",
  15815. "type": "string"
  15816. },
  15817. "performanceplanid": {
  15818. "description": "履约计划ID[期权]",
  15819. "type": "integer"
  15820. },
  15821. "performancestatus": {
  15822. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15823. "type": "integer"
  15824. },
  15825. "preexerciseprice": {
  15826. "description": "预申报价格",
  15827. "type": "number"
  15828. },
  15829. "premium": {
  15830. "description": "权利金 - [持仓单的权利金]",
  15831. "type": "number"
  15832. },
  15833. "relatedouttradeid": {
  15834. "description": "关联外部成交单ID",
  15835. "type": "integer"
  15836. },
  15837. "status": {
  15838. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15839. "type": "integer"
  15840. },
  15841. "tradeamount": {
  15842. "description": "成交金额[账户币种,用于所有权]",
  15843. "type": "number"
  15844. },
  15845. "tradedate": {
  15846. "description": "交易日(yyyyMMdd)",
  15847. "type": "string"
  15848. },
  15849. "tradeid": {
  15850. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15851. "type": "string"
  15852. },
  15853. "trademode": {
  15854. "description": "交易模式",
  15855. "type": "integer"
  15856. },
  15857. "tradeprice": {
  15858. "description": "成交价格",
  15859. "type": "number"
  15860. },
  15861. "tradeproperty": {
  15862. "description": "交易属性",
  15863. "type": "integer"
  15864. },
  15865. "tradeqty": {
  15866. "description": "成交数量",
  15867. "type": "integer"
  15868. },
  15869. "tradetime": {
  15870. "description": "成交时间",
  15871. "type": "string"
  15872. },
  15873. "tradetype": {
  15874. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15875. "type": "integer"
  15876. }
  15877. }
  15878. },
  15879. "order.QueryTradeOrderDetailRsp": {
  15880. "type": "object",
  15881. "required": [
  15882. "accountid",
  15883. "buildtype",
  15884. "buyorsell",
  15885. "goodsid",
  15886. "marketid",
  15887. "operatetype",
  15888. "orderqty",
  15889. "ordertime",
  15890. "pricemode",
  15891. "tradedate",
  15892. "validtype"
  15893. ],
  15894. "properties": {
  15895. "accountid": {
  15896. "description": "账户ID[报价币种]",
  15897. "type": "integer"
  15898. },
  15899. "buildtype": {
  15900. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15901. "type": "integer"
  15902. },
  15903. "buyorsell": {
  15904. "description": "买卖 - 0:买 1:卖",
  15905. "type": "integer"
  15906. },
  15907. "cancelorderid": {
  15908. "description": "撤单单号(撤单时填写)",
  15909. "type": "string"
  15910. },
  15911. "cancelqty": {
  15912. "description": "撤单数量",
  15913. "type": "integer"
  15914. },
  15915. "clienttype": {
  15916. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15917. "type": "integer"
  15918. },
  15919. "closefreezecharge": {
  15920. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15921. "type": "number"
  15922. },
  15923. "closeqty": {
  15924. "description": "平仓数量(先建后平操作 需要记录)",
  15925. "type": "integer"
  15926. },
  15927. "closetradeqty": {
  15928. "description": "平仓成交数量(先建后平操作,需要记录)",
  15929. "type": "integer"
  15930. },
  15931. "closeunfreezecharge": {
  15932. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15933. "type": "number"
  15934. },
  15935. "delistingtype": {
  15936. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15937. "type": "integer"
  15938. },
  15939. "enableqty": {
  15940. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  15941. "type": "integer"
  15942. },
  15943. "freezecharge": {
  15944. "description": "冻结手续费",
  15945. "type": "number"
  15946. },
  15947. "freezemargin": {
  15948. "description": "冻结保证金(冻结交易金额)",
  15949. "type": "number"
  15950. },
  15951. "goodscode": {
  15952. "description": "商品代码",
  15953. "type": "string"
  15954. },
  15955. "goodsid": {
  15956. "description": "商品ID",
  15957. "type": "integer"
  15958. },
  15959. "goodsname": {
  15960. "description": "商品名称",
  15961. "type": "string"
  15962. },
  15963. "listingselecttype": {
  15964. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15965. "type": "integer"
  15966. },
  15967. "marketid": {
  15968. "description": "市场ID",
  15969. "type": "integer"
  15970. },
  15971. "marketname": {
  15972. "description": "市场名称",
  15973. "type": "string"
  15974. },
  15975. "openfreezecharge": {
  15976. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15977. "type": "number"
  15978. },
  15979. "openqty": {
  15980. "description": "开仓数量(先建后平操作,需要记录)",
  15981. "type": "integer"
  15982. },
  15983. "opentradeqty": {
  15984. "description": "开仓成交数量(先建后平操作,需要记录)",
  15985. "type": "integer"
  15986. },
  15987. "openunfreezecharge": {
  15988. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15989. "type": "number"
  15990. },
  15991. "operatetype": {
  15992. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15993. "type": "integer"
  15994. },
  15995. "operatorid": {
  15996. "description": "登录账号(LoginID)",
  15997. "type": "integer"
  15998. },
  15999. "orderid": {
  16000. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16001. "type": "string"
  16002. },
  16003. "orderprice": {
  16004. "description": "委托价格",
  16005. "type": "number"
  16006. },
  16007. "orderqty": {
  16008. "description": "委托数量",
  16009. "type": "integer"
  16010. },
  16011. "ordersrc": {
  16012. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16013. "type": "integer"
  16014. },
  16015. "orderstatus": {
  16016. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16017. "type": "integer"
  16018. },
  16019. "ordertime": {
  16020. "description": "委托时间",
  16021. "type": "string"
  16022. },
  16023. "preorderid": {
  16024. "description": "关联预埋单号(止盈止损单时填写)",
  16025. "type": "string"
  16026. },
  16027. "pricemode": {
  16028. "description": "取价方式 - 1:市价 2: 限价",
  16029. "type": "integer"
  16030. },
  16031. "relatedid": {
  16032. "description": "关联单号(交割单)",
  16033. "type": "string"
  16034. },
  16035. "tradedate": {
  16036. "description": "交易日(yyyyMMdd)",
  16037. "type": "string"
  16038. },
  16039. "trademode": {
  16040. "description": "交易模式",
  16041. "type": "integer"
  16042. },
  16043. "tradeqty": {
  16044. "description": "成交数量",
  16045. "type": "integer"
  16046. },
  16047. "unfreezecharge": {
  16048. "description": "解冻手续费",
  16049. "type": "number"
  16050. },
  16051. "unfreezemargin": {
  16052. "description": "解冻保证金",
  16053. "type": "number"
  16054. },
  16055. "validtime": {
  16056. "description": "有效期限",
  16057. "type": "string"
  16058. },
  16059. "validtype": {
  16060. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16061. "type": "integer"
  16062. },
  16063. "volumetype": {
  16064. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16065. "type": "integer"
  16066. }
  16067. }
  16068. },
  16069. "order.QueryTradePositionRsp": {
  16070. "type": "object",
  16071. "required": [
  16072. "goodsid"
  16073. ],
  16074. "properties": {
  16075. "accountid": {
  16076. "description": "资金账户",
  16077. "type": "integer"
  16078. },
  16079. "agreeunit": {
  16080. "description": "合约单位",
  16081. "type": "number"
  16082. },
  16083. "averageprice": {
  16084. "description": "持仓均价",
  16085. "type": "number"
  16086. },
  16087. "buyorsell": {
  16088. "description": "方向 - 0:买 1:卖",
  16089. "type": "integer"
  16090. },
  16091. "closetotalqty": {
  16092. "description": "平仓总数量",
  16093. "type": "integer"
  16094. },
  16095. "curholderamount": {
  16096. "description": "当前持仓总金额[商品币种]",
  16097. "type": "number"
  16098. },
  16099. "curpositionqty": {
  16100. "description": "当前持仓总数量",
  16101. "type": "integer"
  16102. },
  16103. "currencyid": {
  16104. "description": "报价货币ID",
  16105. "type": "integer"
  16106. },
  16107. "curtdposition": {
  16108. "description": "期末今日头寸",
  16109. "type": "integer"
  16110. },
  16111. "decimalplace": {
  16112. "description": "报价小数位",
  16113. "type": "integer"
  16114. },
  16115. "enableqty": {
  16116. "description": "可用量",
  16117. "type": "integer"
  16118. },
  16119. "fretdposition": {
  16120. "description": "冻结今日头寸",
  16121. "type": "integer"
  16122. },
  16123. "frozenqty": {
  16124. "description": "持仓冻结数量",
  16125. "type": "integer"
  16126. },
  16127. "goodscode": {
  16128. "description": "商品代码",
  16129. "type": "string"
  16130. },
  16131. "goodsid": {
  16132. "description": "商品Id",
  16133. "type": "integer"
  16134. },
  16135. "goodsname": {
  16136. "description": "商品名称",
  16137. "type": "string"
  16138. },
  16139. "goodunit": {
  16140. "description": "报价单位",
  16141. "type": "string"
  16142. },
  16143. "goodunitid": {
  16144. "description": "报价单位ID",
  16145. "type": "integer"
  16146. },
  16147. "holderamount": {
  16148. "description": "期初持仓总金额[商品币种]",
  16149. "type": "number"
  16150. },
  16151. "marketid": {
  16152. "description": "所属市场ID",
  16153. "type": "integer"
  16154. },
  16155. "openreqqty": {
  16156. "description": "开仓申请数量(用于比较最大持仓数量)",
  16157. "type": "integer"
  16158. },
  16159. "opentotalqty": {
  16160. "description": "开仓总数量",
  16161. "type": "integer"
  16162. },
  16163. "otherfrozenqty": {
  16164. "description": "持仓其他冻结数量(交割冻结)",
  16165. "type": "integer"
  16166. },
  16167. "positionqty": {
  16168. "description": "期初持仓数量",
  16169. "type": "integer"
  16170. },
  16171. "tnqty": {
  16172. "description": "T+N冻结总量",
  16173. "type": "integer"
  16174. },
  16175. "tnusedqty": {
  16176. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16177. "type": "integer"
  16178. },
  16179. "trademode": {
  16180. "description": "交易模式",
  16181. "type": "integer"
  16182. },
  16183. "usedmargin": {
  16184. "description": "占用保证金[商品币种]",
  16185. "type": "number"
  16186. }
  16187. }
  16188. },
  16189. "quote.HistoryData": {
  16190. "type": "object",
  16191. "properties": {
  16192. "c": {
  16193. "description": "收盘价",
  16194. "type": "number"
  16195. },
  16196. "f": {
  16197. "description": "是否补充数据",
  16198. "type": "boolean"
  16199. },
  16200. "h": {
  16201. "description": "最高价",
  16202. "type": "number"
  16203. },
  16204. "hv": {
  16205. "description": "持仓量",
  16206. "type": "integer"
  16207. },
  16208. "l": {
  16209. "description": "最低价",
  16210. "type": "number"
  16211. },
  16212. "o": {
  16213. "description": "开盘价",
  16214. "type": "number"
  16215. },
  16216. "s": {
  16217. "description": "结算价,日线周期(包括)以上才有",
  16218. "type": "number"
  16219. },
  16220. "ts": {
  16221. "description": "时间",
  16222. "type": "string"
  16223. },
  16224. "tt": {
  16225. "description": "总金额",
  16226. "type": "number"
  16227. },
  16228. "tv": {
  16229. "description": "总量",
  16230. "type": "integer"
  16231. }
  16232. }
  16233. },
  16234. "quote.QueryTSDataRsp": {
  16235. "type": "object",
  16236. "properties": {
  16237. "decimalPlace": {
  16238. "description": "小数位",
  16239. "type": "integer"
  16240. },
  16241. "endTime": {
  16242. "description": "结束时间",
  16243. "type": "string"
  16244. },
  16245. "goodsCode": {
  16246. "description": "商品代码",
  16247. "type": "string"
  16248. },
  16249. "historyDatas": {
  16250. "description": "历史数据",
  16251. "type": "array",
  16252. "items": {
  16253. "$ref": "#/definitions/quote.HistoryData"
  16254. }
  16255. },
  16256. "outGoodsCode": {
  16257. "description": "外部商品代码",
  16258. "type": "string"
  16259. },
  16260. "preSettle": {
  16261. "description": "昨结",
  16262. "type": "number"
  16263. },
  16264. "startTime": {
  16265. "description": "开始时间",
  16266. "type": "string"
  16267. },
  16268. "tradeDate": {
  16269. "description": "交易日",
  16270. "type": "string"
  16271. }
  16272. }
  16273. },
  16274. "szdz.QueryConvertLogRsp": {
  16275. "type": "object",
  16276. "required": [
  16277. "logid"
  16278. ],
  16279. "properties": {
  16280. "accountid": {
  16281. "description": "资金账户ID",
  16282. "type": "integer"
  16283. },
  16284. "clientticket": {
  16285. "description": "客户端流水号",
  16286. "type": "string"
  16287. },
  16288. "converttype": {
  16289. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16290. "type": "integer"
  16291. },
  16292. "createtime": {
  16293. "description": "记账时间",
  16294. "type": "string"
  16295. },
  16296. "daymaxvalue": {
  16297. "description": "配置当日最大转入限制",
  16298. "type": "number"
  16299. },
  16300. "daymaxvalue2": {
  16301. "description": "配置当日最大转入限制(转入)",
  16302. "type": "number"
  16303. },
  16304. "goodscode": {
  16305. "description": "商品代码",
  16306. "type": "string"
  16307. },
  16308. "goodsname": {
  16309. "description": "商品名称",
  16310. "type": "string"
  16311. },
  16312. "handlestatus": {
  16313. "description": "处理状态",
  16314. "type": "integer"
  16315. },
  16316. "innergoodsid": {
  16317. "description": "内部商品ID",
  16318. "type": "integer"
  16319. },
  16320. "inratio": {
  16321. "description": "配置转入比值",
  16322. "type": "integer"
  16323. },
  16324. "invalue": {
  16325. "description": "目标值",
  16326. "type": "number"
  16327. },
  16328. "logid": {
  16329. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16330. "type": "integer"
  16331. },
  16332. "mobile": {
  16333. "description": "手机号码(加密存储)",
  16334. "type": "string"
  16335. },
  16336. "outergoodscode": {
  16337. "description": "外部商品代码[JD\\PD]",
  16338. "type": "string"
  16339. },
  16340. "outratio": {
  16341. "description": "配置转出比值",
  16342. "type": "integer"
  16343. },
  16344. "outvalue": {
  16345. "description": "源值",
  16346. "type": "number"
  16347. },
  16348. "pddecimalplace": {
  16349. "description": "PD小数位",
  16350. "type": "integer"
  16351. },
  16352. "qty": {
  16353. "description": "数量",
  16354. "type": "string"
  16355. },
  16356. "remark": {
  16357. "description": "备注",
  16358. "type": "string"
  16359. },
  16360. "sessionid": {
  16361. "description": "会话ID",
  16362. "type": "integer"
  16363. },
  16364. "timemaxvalue": {
  16365. "description": "配置单次最大转入限制",
  16366. "type": "number"
  16367. },
  16368. "timemaxvalue2": {
  16369. "description": "配置单次最大转入限制(转入)",
  16370. "type": "number"
  16371. },
  16372. "timeminvalue": {
  16373. "description": "配置单次最小数量限制",
  16374. "type": "number"
  16375. },
  16376. "timeminvalue2": {
  16377. "description": "配置单次最小数量限制(转入)",
  16378. "type": "number"
  16379. },
  16380. "tradedate": {
  16381. "description": "交易日(yyyyMMdd)",
  16382. "type": "string"
  16383. },
  16384. "userid": {
  16385. "description": "用户ID",
  16386. "type": "integer"
  16387. }
  16388. }
  16389. },
  16390. "szdz.QueryGoodsPickupRsp": {
  16391. "type": "object",
  16392. "required": [
  16393. "takeorderid"
  16394. ],
  16395. "properties": {
  16396. "accountid": {
  16397. "description": "账户ID",
  16398. "type": "integer"
  16399. },
  16400. "address": {
  16401. "description": "提货人详细地址",
  16402. "type": "string"
  16403. },
  16404. "auditer": {
  16405. "description": "审核人",
  16406. "type": "integer"
  16407. },
  16408. "audittime": {
  16409. "description": "审核时间",
  16410. "type": "string"
  16411. },
  16412. "cardnum": {
  16413. "description": "提货人证件号码",
  16414. "type": "string"
  16415. },
  16416. "cardtypeid": {
  16417. "description": "提货人证件类型",
  16418. "type": "integer"
  16419. },
  16420. "checkremark": {
  16421. "description": "审核备注",
  16422. "type": "string"
  16423. },
  16424. "goodscode": {
  16425. "description": "商品代码",
  16426. "type": "string"
  16427. },
  16428. "goodsid": {
  16429. "description": "商品ID",
  16430. "type": "integer"
  16431. },
  16432. "goodsname": {
  16433. "description": "商品名称",
  16434. "type": "string"
  16435. },
  16436. "handlestatus": {
  16437. "description": "处理状态",
  16438. "type": "integer"
  16439. },
  16440. "marketid": {
  16441. "description": "市场ID",
  16442. "type": "integer"
  16443. },
  16444. "phonenum": {
  16445. "description": "提货人联系方式",
  16446. "type": "string"
  16447. },
  16448. "qty": {
  16449. "description": "提货数量",
  16450. "type": "number"
  16451. },
  16452. "recivername": {
  16453. "description": "提货人姓名",
  16454. "type": "string"
  16455. },
  16456. "reqtime": {
  16457. "description": "更新时间",
  16458. "type": "string"
  16459. },
  16460. "takemode": {
  16461. "description": "提货方式 - 2:自提 3:配送",
  16462. "type": "integer"
  16463. },
  16464. "takeorderid": {
  16465. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16466. "type": "string"
  16467. },
  16468. "takeorderstatus": {
  16469. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16470. "type": "integer"
  16471. },
  16472. "takeremark": {
  16473. "description": "提货备注",
  16474. "type": "string"
  16475. },
  16476. "tradedate": {
  16477. "description": "交易日(yyyyMMdd)",
  16478. "type": "string"
  16479. },
  16480. "userid": {
  16481. "description": "用户ID",
  16482. "type": "integer"
  16483. }
  16484. }
  16485. },
  16486. "szdz.QueryRecieptOrderRsp": {
  16487. "type": "object",
  16488. "required": [
  16489. "ordertime"
  16490. ],
  16491. "properties": {
  16492. "accountName": {
  16493. "description": "所属账号名称(已脱敏)",
  16494. "type": "string"
  16495. },
  16496. "accountid": {
  16497. "description": "资金账号",
  16498. "type": "integer"
  16499. },
  16500. "buyorsell": {
  16501. "description": "方向 - 0:买 1:卖",
  16502. "type": "integer"
  16503. },
  16504. "enableqty": {
  16505. "description": "可摘数量",
  16506. "type": "integer"
  16507. },
  16508. "goodscode": {
  16509. "description": "商品代码",
  16510. "type": "string"
  16511. },
  16512. "goodsid": {
  16513. "description": "商品ID",
  16514. "type": "integer"
  16515. },
  16516. "goodsname": {
  16517. "description": "商品名称",
  16518. "type": "string"
  16519. },
  16520. "orderid": {
  16521. "description": "委托单号",
  16522. "type": "string"
  16523. },
  16524. "orderprice": {
  16525. "description": "委托价格",
  16526. "type": "number"
  16527. },
  16528. "ordertime": {
  16529. "description": "委托时间",
  16530. "type": "string"
  16531. },
  16532. "tradedate": {
  16533. "description": "交易日(yyyyMMdd)",
  16534. "type": "string"
  16535. }
  16536. }
  16537. },
  16538. "szdz.QuerySZDZTradePositionRsp": {
  16539. "type": "object",
  16540. "properties": {
  16541. "accountid": {
  16542. "description": "账号Id",
  16543. "type": "integer"
  16544. },
  16545. "agreeunit": {
  16546. "description": "合约单位",
  16547. "type": "number"
  16548. },
  16549. "averageprice": {
  16550. "description": "持仓均价",
  16551. "type": "number"
  16552. },
  16553. "buyorsell": {
  16554. "description": "方向 - 0:买 1:卖",
  16555. "type": "integer"
  16556. },
  16557. "closetotalqty": {
  16558. "description": "平仓总数量",
  16559. "type": "integer"
  16560. },
  16561. "curholderamount": {
  16562. "description": "当前持仓总金额",
  16563. "type": "number"
  16564. },
  16565. "curpositionqty": {
  16566. "description": "当前持仓总数量",
  16567. "type": "integer"
  16568. },
  16569. "currencyid": {
  16570. "description": "报价货币ID",
  16571. "type": "integer"
  16572. },
  16573. "curtdposition": {
  16574. "description": "期末今日头寸",
  16575. "type": "integer"
  16576. },
  16577. "decimalplace": {
  16578. "description": "报价小数位",
  16579. "type": "integer"
  16580. },
  16581. "enableqty": {
  16582. "description": "可用量",
  16583. "type": "integer"
  16584. },
  16585. "fretdposition": {
  16586. "description": "冻结今日头寸",
  16587. "type": "integer"
  16588. },
  16589. "frozenqty": {
  16590. "description": "持仓冻结数量",
  16591. "type": "integer"
  16592. },
  16593. "goodscode": {
  16594. "description": "商品代码(内部)",
  16595. "type": "string"
  16596. },
  16597. "goodsid": {
  16598. "description": "商品Id",
  16599. "type": "integer"
  16600. },
  16601. "goodsname": {
  16602. "description": "商品名称",
  16603. "type": "string"
  16604. },
  16605. "goodunit": {
  16606. "description": "报价单位",
  16607. "type": "string"
  16608. },
  16609. "goodunitid": {
  16610. "description": "报价单位ID",
  16611. "type": "integer"
  16612. },
  16613. "holderamount": {
  16614. "description": "期初持仓总金额",
  16615. "type": "number"
  16616. },
  16617. "marketid": {
  16618. "description": "市场ID",
  16619. "type": "integer"
  16620. },
  16621. "openreqqty": {
  16622. "description": "开仓申请数量",
  16623. "type": "integer"
  16624. },
  16625. "opentotalqty": {
  16626. "description": "开仓总数量",
  16627. "type": "integer"
  16628. },
  16629. "otherfrozenqty": {
  16630. "description": "持仓其他冻结数量(交割冻结)",
  16631. "type": "integer"
  16632. },
  16633. "positionqty": {
  16634. "description": "期初持仓数量",
  16635. "type": "integer"
  16636. },
  16637. "szdz3freezqty": {
  16638. "description": "尚志大宗转换冻结总数量",
  16639. "type": "integer"
  16640. },
  16641. "tnqty": {
  16642. "description": "T+N冻结总量",
  16643. "type": "integer"
  16644. },
  16645. "tnusedqty": {
  16646. "description": "T+N使用量",
  16647. "type": "integer"
  16648. },
  16649. "trademode": {
  16650. "description": "交易模式",
  16651. "type": "integer"
  16652. },
  16653. "usedmargin": {
  16654. "description": "占用保证金",
  16655. "type": "number"
  16656. }
  16657. }
  16658. },
  16659. "taaccount.QueryAmountLogRsp": {
  16660. "type": "object",
  16661. "required": [
  16662. "accountid",
  16663. "amount",
  16664. "amountadjusttype",
  16665. "autoid",
  16666. "balance",
  16667. "createtime",
  16668. "currentbalance",
  16669. "operatetype"
  16670. ],
  16671. "properties": {
  16672. "OPERATETYPENAME": {
  16673. "description": "资金操作类型名称",
  16674. "type": "string"
  16675. },
  16676. "accountid": {
  16677. "description": "资金账户ID",
  16678. "type": "integer"
  16679. },
  16680. "agoodscode": {
  16681. "description": "竞拍商品代码",
  16682. "type": "string"
  16683. },
  16684. "agoodsname": {
  16685. "description": "竞拍商品名称",
  16686. "type": "string"
  16687. },
  16688. "amount": {
  16689. "description": "资金金额",
  16690. "type": "number"
  16691. },
  16692. "amountadjusttype": {
  16693. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16694. "type": "integer"
  16695. },
  16696. "autoid": {
  16697. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16698. "type": "integer"
  16699. },
  16700. "balance": {
  16701. "description": "期初余额",
  16702. "type": "number"
  16703. },
  16704. "businesscode": {
  16705. "description": "业务编号",
  16706. "type": "integer"
  16707. },
  16708. "createtime": {
  16709. "description": "发生时间",
  16710. "type": "string"
  16711. },
  16712. "currencyid": {
  16713. "description": "币种ID",
  16714. "type": "integer"
  16715. },
  16716. "currentbalance": {
  16717. "description": "期末余额(变动后金额)",
  16718. "type": "number"
  16719. },
  16720. "dgoodscode": {
  16721. "description": "交割商品代码",
  16722. "type": "string"
  16723. },
  16724. "dgoodsname": {
  16725. "description": "交割商品名称",
  16726. "type": "string"
  16727. },
  16728. "goodscode": {
  16729. "description": "商品代码",
  16730. "type": "string"
  16731. },
  16732. "goodsid": {
  16733. "description": "商品ID",
  16734. "type": "integer"
  16735. },
  16736. "goodsname": {
  16737. "description": "商品名称",
  16738. "type": "string"
  16739. },
  16740. "marketid": {
  16741. "description": "市场ID",
  16742. "type": "integer"
  16743. },
  16744. "marketname": {
  16745. "description": "市场名称",
  16746. "type": "string"
  16747. },
  16748. "moneyticket": {
  16749. "description": "资金流水号:银行端流水号",
  16750. "type": "integer"
  16751. },
  16752. "operatetype": {
  16753. "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:营销收款",
  16754. "type": "integer"
  16755. },
  16756. "relationorderid": {
  16757. "description": "关联单号",
  16758. "type": "string"
  16759. },
  16760. "remark": {
  16761. "description": "备注",
  16762. "type": "string"
  16763. },
  16764. "trademode": {
  16765. "description": "交易模式",
  16766. "type": "integer"
  16767. }
  16768. }
  16769. },
  16770. "taaccount.QueryHisAmountLogRsp": {
  16771. "type": "object",
  16772. "required": [
  16773. "accountid",
  16774. "amount",
  16775. "amountadjusttype",
  16776. "autoid",
  16777. "balance",
  16778. "createtime",
  16779. "currentbalance",
  16780. "histradedate",
  16781. "operatetype"
  16782. ],
  16783. "properties": {
  16784. "OPERATETYPENAME": {
  16785. "description": "资金操作类型名称",
  16786. "type": "string"
  16787. },
  16788. "accountid": {
  16789. "description": "资金账户ID",
  16790. "type": "integer"
  16791. },
  16792. "agoodscode": {
  16793. "description": "竞拍商品代码",
  16794. "type": "string"
  16795. },
  16796. "agoodsname": {
  16797. "description": "竞拍商品名称",
  16798. "type": "string"
  16799. },
  16800. "amount": {
  16801. "description": "资金金额",
  16802. "type": "number"
  16803. },
  16804. "amountadjusttype": {
  16805. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16806. "type": "integer"
  16807. },
  16808. "autoid": {
  16809. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16810. "type": "integer"
  16811. },
  16812. "balance": {
  16813. "description": "期初余额",
  16814. "type": "number"
  16815. },
  16816. "businesscode": {
  16817. "description": "业务编号",
  16818. "type": "integer"
  16819. },
  16820. "createtime": {
  16821. "description": "发生时间",
  16822. "type": "string"
  16823. },
  16824. "currencyid": {
  16825. "description": "币种ID",
  16826. "type": "integer"
  16827. },
  16828. "currentbalance": {
  16829. "description": "期末余额(变动后金额)",
  16830. "type": "number"
  16831. },
  16832. "dgoodscode": {
  16833. "description": "交割商品代码",
  16834. "type": "string"
  16835. },
  16836. "dgoodsname": {
  16837. "description": "交割商品名称",
  16838. "type": "string"
  16839. },
  16840. "goodscode": {
  16841. "description": "商品代码",
  16842. "type": "string"
  16843. },
  16844. "goodsid": {
  16845. "description": "商品ID",
  16846. "type": "integer"
  16847. },
  16848. "goodsname": {
  16849. "description": "商品名称",
  16850. "type": "string"
  16851. },
  16852. "histradedate": {
  16853. "description": "历史交易日",
  16854. "type": "string"
  16855. },
  16856. "isvaliddata": {
  16857. "description": "是否有效 - 0:无效 1:有效",
  16858. "type": "integer"
  16859. },
  16860. "marketid": {
  16861. "description": "市场ID",
  16862. "type": "integer"
  16863. },
  16864. "marketname": {
  16865. "description": "市场名称",
  16866. "type": "string"
  16867. },
  16868. "moneyticket": {
  16869. "description": "资金流水号:银行端流水号",
  16870. "type": "integer"
  16871. },
  16872. "operatetype": {
  16873. "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:营销收款",
  16874. "type": "integer"
  16875. },
  16876. "relationorderid": {
  16877. "description": "关联单号",
  16878. "type": "string"
  16879. },
  16880. "remark": {
  16881. "description": "备注",
  16882. "type": "string"
  16883. },
  16884. "trademode": {
  16885. "description": "交易模式",
  16886. "type": "integer"
  16887. }
  16888. }
  16889. },
  16890. "trade.QueryRecieptOrderRsp": {
  16891. "type": "object",
  16892. "required": [
  16893. "ordertime"
  16894. ],
  16895. "properties": {
  16896. "accountName": {
  16897. "description": "所属账号名称(已脱敏)",
  16898. "type": "string"
  16899. },
  16900. "accountid": {
  16901. "description": "资金账号",
  16902. "type": "integer"
  16903. },
  16904. "buyorsell": {
  16905. "description": "方向 - 0:买 1:卖",
  16906. "type": "integer"
  16907. },
  16908. "enableqty": {
  16909. "description": "可摘数量",
  16910. "type": "integer"
  16911. },
  16912. "goodscode": {
  16913. "description": "商品代码",
  16914. "type": "string"
  16915. },
  16916. "goodsid": {
  16917. "description": "商品ID",
  16918. "type": "integer"
  16919. },
  16920. "goodsname": {
  16921. "description": "商品名称",
  16922. "type": "string"
  16923. },
  16924. "orderid": {
  16925. "description": "委托单号",
  16926. "type": "string"
  16927. },
  16928. "orderprice": {
  16929. "description": "委托价格",
  16930. "type": "number"
  16931. },
  16932. "ordertime": {
  16933. "description": "委托时间",
  16934. "type": "string"
  16935. },
  16936. "tradedate": {
  16937. "description": "交易日(yyyyMMdd)",
  16938. "type": "string"
  16939. }
  16940. }
  16941. }
  16942. },
  16943. "securityDefinitions": {
  16944. "ApiKeyAuth": {
  16945. "type": "apiKey",
  16946. "name": "Authorization",
  16947. "in": "header"
  16948. }
  16949. }
  16950. }`
  16951. type swaggerInfo struct {
  16952. Version string
  16953. Host string
  16954. BasePath string
  16955. Schemes []string
  16956. Title string
  16957. Description string
  16958. }
  16959. // SwaggerInfo holds exported Swagger Info so clients can modify it
  16960. var SwaggerInfo = swaggerInfo{
  16961. Version: "1.0",
  16962. Host: "",
  16963. BasePath: "/api",
  16964. Schemes: []string{},
  16965. Title: "MTP2.0 查询服务 API",
  16966. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  16967. }
  16968. type s struct{}
  16969. func (s *s) ReadDoc() string {
  16970. sInfo := SwaggerInfo
  16971. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  16972. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  16973. "marshal": func(v interface{}) string {
  16974. a, _ := json.Marshal(v)
  16975. return string(a)
  16976. },
  16977. }).Parse(doc)
  16978. if err != nil {
  16979. return doc
  16980. }
  16981. var tpl bytes.Buffer
  16982. if err := t.Execute(&tpl, sInfo); err != nil {
  16983. return doc
  16984. }
  16985. return tpl.String()
  16986. }
  16987. func init() {
  16988. swag.Register(swag.Name, &s{})
  16989. }