docs.go 617 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139
  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/QueryErmcpTradePosition": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "获取企业风管期货持仓头寸信息",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "资金账户ID",
  1674. "name": "accountID",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "所属市场ID",
  1681. "name": "marketID",
  1682. "in": "query"
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1690. }
  1691. },
  1692. "500": {
  1693. "description": "Internal Server Error",
  1694. "schema": {
  1695. "$ref": "#/definitions/app.Response"
  1696. }
  1697. }
  1698. }
  1699. }
  1700. },
  1701. "/Ermcp/QueryExposureDetail": {
  1702. "get": {
  1703. "security": [
  1704. {
  1705. "ApiKeyAuth": []
  1706. }
  1707. ],
  1708. "produces": [
  1709. "application/json"
  1710. ],
  1711. "tags": [
  1712. "企业风险管理(app)"
  1713. ],
  1714. "summary": "查询敞口现货明细",
  1715. "parameters": [
  1716. {
  1717. "type": "integer",
  1718. "description": "所属机构ID",
  1719. "name": "areaUserId",
  1720. "in": "query",
  1721. "required": true
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "套保商品",
  1726. "name": "middleGoodsId",
  1727. "in": "query",
  1728. "required": true
  1729. }
  1730. ],
  1731. "responses": {
  1732. "200": {
  1733. "description": "OK",
  1734. "schema": {
  1735. "type": "array",
  1736. "items": {
  1737. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1738. }
  1739. }
  1740. },
  1741. "500": {
  1742. "description": "Internal Server Error",
  1743. "schema": {
  1744. "$ref": "#/definitions/app.Response"
  1745. }
  1746. }
  1747. }
  1748. }
  1749. },
  1750. "/Ermcp/QueryExposureHedgePosition": {
  1751. "get": {
  1752. "security": [
  1753. {
  1754. "ApiKeyAuth": []
  1755. }
  1756. ],
  1757. "produces": [
  1758. "application/json"
  1759. ],
  1760. "tags": [
  1761. "企业风险管理(app)"
  1762. ],
  1763. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1764. "parameters": [
  1765. {
  1766. "type": "integer",
  1767. "description": "所属机构ID",
  1768. "name": "areaUserId",
  1769. "in": "query",
  1770. "required": true
  1771. }
  1772. ],
  1773. "responses": {
  1774. "200": {
  1775. "description": "OK",
  1776. "schema": {
  1777. "type": "array",
  1778. "items": {
  1779. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1780. }
  1781. }
  1782. },
  1783. "500": {
  1784. "description": "Internal Server Error",
  1785. "schema": {
  1786. "$ref": "#/definitions/app.Response"
  1787. }
  1788. }
  1789. }
  1790. }
  1791. },
  1792. "/Ermcp/QueryExposureHedgePositionDetail": {
  1793. "get": {
  1794. "security": [
  1795. {
  1796. "ApiKeyAuth": []
  1797. }
  1798. ],
  1799. "produces": [
  1800. "application/json"
  1801. ],
  1802. "tags": [
  1803. "企业风险管理(app)"
  1804. ],
  1805. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1806. "parameters": [
  1807. {
  1808. "type": "integer",
  1809. "description": "所属机构ID",
  1810. "name": "areaUserId",
  1811. "in": "query",
  1812. "required": true
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "商品id",
  1817. "name": "goodsId",
  1818. "in": "query",
  1819. "required": true
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "type": "array",
  1827. "items": {
  1828. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1829. }
  1830. }
  1831. },
  1832. "500": {
  1833. "description": "Internal Server Error",
  1834. "schema": {
  1835. "$ref": "#/definitions/app.Response"
  1836. }
  1837. }
  1838. }
  1839. }
  1840. },
  1841. "/Ermcp/QueryExposureSpot": {
  1842. "get": {
  1843. "security": [
  1844. {
  1845. "ApiKeyAuth": []
  1846. }
  1847. ],
  1848. "produces": [
  1849. "application/json"
  1850. ],
  1851. "tags": [
  1852. "企业风险管理(app)"
  1853. ],
  1854. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1855. "parameters": [
  1856. {
  1857. "type": "integer",
  1858. "description": "所属机构ID",
  1859. "name": "areaUserId",
  1860. "in": "query",
  1861. "required": true
  1862. }
  1863. ],
  1864. "responses": {
  1865. "200": {
  1866. "description": "OK",
  1867. "schema": {
  1868. "type": "array",
  1869. "items": {
  1870. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1871. }
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryExposureSpotDetail": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "所属机构ID",
  1901. "name": "areaUserId",
  1902. "in": "query",
  1903. "required": true
  1904. },
  1905. {
  1906. "type": "integer",
  1907. "description": "现货品种ID",
  1908. "name": "wrstandardId",
  1909. "in": "query",
  1910. "required": true
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "type": "array",
  1918. "items": {
  1919. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1920. }
  1921. }
  1922. },
  1923. "500": {
  1924. "description": "Internal Server Error",
  1925. "schema": {
  1926. "$ref": "#/definitions/app.Response"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "/Ermcp/QueryGGConvertConfig": {
  1933. "get": {
  1934. "security": [
  1935. {
  1936. "ApiKeyAuth": []
  1937. }
  1938. ],
  1939. "produces": [
  1940. "application/json"
  1941. ],
  1942. "tags": [
  1943. "企业风险管理(app)"
  1944. ],
  1945. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1946. "parameters": [
  1947. {
  1948. "type": "integer",
  1949. "description": "品种id(不填则查所有)",
  1950. "name": "goodsgroupid",
  1951. "in": "query"
  1952. }
  1953. ],
  1954. "responses": {
  1955. "200": {
  1956. "description": "OK",
  1957. "schema": {
  1958. "type": "array",
  1959. "items": {
  1960. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1961. }
  1962. }
  1963. },
  1964. "500": {
  1965. "description": "Internal Server Error",
  1966. "schema": {
  1967. "$ref": "#/definitions/app.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/Ermcp/QueryHedgePlan": {
  1974. "get": {
  1975. "security": [
  1976. {
  1977. "ApiKeyAuth": []
  1978. }
  1979. ],
  1980. "produces": [
  1981. "application/json"
  1982. ],
  1983. "tags": [
  1984. "企业风险管理(app)"
  1985. ],
  1986. "summary": "查询套保计划",
  1987. "parameters": [
  1988. {
  1989. "type": "integer",
  1990. "description": "用户ID",
  1991. "name": "userId",
  1992. "in": "query",
  1993. "required": true
  1994. },
  1995. {
  1996. "type": "string",
  1997. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1998. "name": "HedgePlanStatus",
  1999. "in": "query",
  2000. "required": true
  2001. }
  2002. ],
  2003. "responses": {
  2004. "200": {
  2005. "description": "OK",
  2006. "schema": {
  2007. "type": "array",
  2008. "items": {
  2009. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2010. }
  2011. }
  2012. },
  2013. "500": {
  2014. "description": "Internal Server Error",
  2015. "schema": {
  2016. "$ref": "#/definitions/app.Response"
  2017. }
  2018. }
  2019. }
  2020. }
  2021. },
  2022. "/Ermcp/QueryHisExposure": {
  2023. "get": {
  2024. "security": [
  2025. {
  2026. "ApiKeyAuth": []
  2027. }
  2028. ],
  2029. "produces": [
  2030. "application/json"
  2031. ],
  2032. "tags": [
  2033. "企业风险管理(app)"
  2034. ],
  2035. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2036. "parameters": [
  2037. {
  2038. "type": "integer",
  2039. "description": "所属机构ID",
  2040. "name": "areaUserId",
  2041. "in": "query",
  2042. "required": true
  2043. },
  2044. {
  2045. "type": "integer",
  2046. "description": "每个品种记录数",
  2047. "name": "lastNum",
  2048. "in": "query",
  2049. "required": true
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "type": "array",
  2057. "items": {
  2058. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2059. }
  2060. }
  2061. },
  2062. "500": {
  2063. "description": "Internal Server Error",
  2064. "schema": {
  2065. "$ref": "#/definitions/app.Response"
  2066. }
  2067. }
  2068. }
  2069. }
  2070. },
  2071. "/Ermcp/QueryMiddleGoods": {
  2072. "get": {
  2073. "security": [
  2074. {
  2075. "ApiKeyAuth": []
  2076. }
  2077. ],
  2078. "produces": [
  2079. "application/json"
  2080. ],
  2081. "tags": [
  2082. "企业风险管理(app)"
  2083. ],
  2084. "summary": "查询套保品种(菜单:套保品种)",
  2085. "parameters": [
  2086. {
  2087. "type": "integer",
  2088. "description": "所属机构ID",
  2089. "name": "userid",
  2090. "in": "query",
  2091. "required": true
  2092. },
  2093. {
  2094. "type": "integer",
  2095. "description": "状态 0-停用 1-正常",
  2096. "name": "status",
  2097. "in": "query",
  2098. "required": true
  2099. }
  2100. ],
  2101. "responses": {
  2102. "200": {
  2103. "description": "OK",
  2104. "schema": {
  2105. "type": "array",
  2106. "items": {
  2107. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2108. }
  2109. }
  2110. },
  2111. "500": {
  2112. "description": "Internal Server Error",
  2113. "schema": {
  2114. "$ref": "#/definitions/app.Response"
  2115. }
  2116. }
  2117. }
  2118. }
  2119. },
  2120. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2121. "get": {
  2122. "security": [
  2123. {
  2124. "ApiKeyAuth": []
  2125. }
  2126. ],
  2127. "produces": [
  2128. "application/json"
  2129. ],
  2130. "tags": [
  2131. "企业风险管理(app)"
  2132. ],
  2133. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2134. "parameters": [
  2135. {
  2136. "type": "integer",
  2137. "description": "所属机构ID",
  2138. "name": "userid",
  2139. "in": "query",
  2140. "required": true
  2141. },
  2142. {
  2143. "type": "integer",
  2144. "description": "套保品种id",
  2145. "name": "middlegoodsid",
  2146. "in": "query",
  2147. "required": true
  2148. }
  2149. ],
  2150. "responses": {
  2151. "200": {
  2152. "description": "OK",
  2153. "schema": {
  2154. "type": "array",
  2155. "items": {
  2156. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2157. }
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Ermcp/QueryMiddleGoodsDetail": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "企业风险管理(app)"
  2181. ],
  2182. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2183. "parameters": [
  2184. {
  2185. "type": "integer",
  2186. "description": "所属机构ID",
  2187. "name": "userid",
  2188. "in": "query",
  2189. "required": true
  2190. },
  2191. {
  2192. "type": "integer",
  2193. "description": "套保品种id",
  2194. "name": "middlegoodsid",
  2195. "in": "query",
  2196. "required": true
  2197. }
  2198. ],
  2199. "responses": {
  2200. "200": {
  2201. "description": "OK",
  2202. "schema": {
  2203. "type": "array",
  2204. "items": {
  2205. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2206. }
  2207. }
  2208. },
  2209. "500": {
  2210. "description": "Internal Server Error",
  2211. "schema": {
  2212. "$ref": "#/definitions/app.Response"
  2213. }
  2214. }
  2215. }
  2216. }
  2217. },
  2218. "/Ermcp/QueryRealtimeExposure": {
  2219. "get": {
  2220. "security": [
  2221. {
  2222. "ApiKeyAuth": []
  2223. }
  2224. ],
  2225. "produces": [
  2226. "application/json"
  2227. ],
  2228. "tags": [
  2229. "企业风险管理(app)"
  2230. ],
  2231. "summary": "查询实时敞口",
  2232. "parameters": [
  2233. {
  2234. "type": "integer",
  2235. "description": "所属机构ID",
  2236. "name": "AreaUserID",
  2237. "in": "query",
  2238. "required": true
  2239. }
  2240. ],
  2241. "responses": {
  2242. "200": {
  2243. "description": "OK",
  2244. "schema": {
  2245. "type": "array",
  2246. "items": {
  2247. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2248. }
  2249. }
  2250. },
  2251. "500": {
  2252. "description": "Internal Server Error",
  2253. "schema": {
  2254. "$ref": "#/definitions/app.Response"
  2255. }
  2256. }
  2257. }
  2258. }
  2259. },
  2260. "/Ermcp/QueryRealtimeExposurePosition": {
  2261. "get": {
  2262. "security": [
  2263. {
  2264. "ApiKeyAuth": []
  2265. }
  2266. ],
  2267. "produces": [
  2268. "application/json"
  2269. ],
  2270. "tags": [
  2271. "企业风险管理(app)"
  2272. ],
  2273. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2274. "parameters": [
  2275. {
  2276. "type": "integer",
  2277. "description": "所属机构ID",
  2278. "name": "areaUserId",
  2279. "in": "query",
  2280. "required": true
  2281. },
  2282. {
  2283. "type": "integer",
  2284. "description": "套保商品ID",
  2285. "name": "middleGoodsId",
  2286. "in": "query",
  2287. "required": true
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "type": "array",
  2295. "items": {
  2296. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2297. }
  2298. }
  2299. },
  2300. "500": {
  2301. "description": "Internal Server Error",
  2302. "schema": {
  2303. "$ref": "#/definitions/app.Response"
  2304. }
  2305. }
  2306. }
  2307. }
  2308. },
  2309. "/Ermcp/QuerySpotContract": {
  2310. "get": {
  2311. "security": [
  2312. {
  2313. "ApiKeyAuth": []
  2314. }
  2315. ],
  2316. "produces": [
  2317. "application/json"
  2318. ],
  2319. "tags": [
  2320. "企业风险管理(app)"
  2321. ],
  2322. "summary": "查询现货合同(对应现货合同菜单)",
  2323. "parameters": [
  2324. {
  2325. "type": "integer",
  2326. "description": "用户ID",
  2327. "name": "userId",
  2328. "in": "query",
  2329. "required": true
  2330. },
  2331. {
  2332. "type": "integer",
  2333. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2334. "name": "QueryType",
  2335. "in": "query",
  2336. "required": true
  2337. }
  2338. ],
  2339. "responses": {
  2340. "200": {
  2341. "description": "OK",
  2342. "schema": {
  2343. "type": "array",
  2344. "items": {
  2345. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2346. }
  2347. }
  2348. },
  2349. "500": {
  2350. "description": "Internal Server Error",
  2351. "schema": {
  2352. "$ref": "#/definitions/app.Response"
  2353. }
  2354. }
  2355. }
  2356. }
  2357. },
  2358. "/Ermcp/QueryUserInfo": {
  2359. "get": {
  2360. "security": [
  2361. {
  2362. "ApiKeyAuth": []
  2363. }
  2364. ],
  2365. "produces": [
  2366. "application/json"
  2367. ],
  2368. "tags": [
  2369. "企业风险管理(app)"
  2370. ],
  2371. "summary": "查询客户资料",
  2372. "parameters": [
  2373. {
  2374. "type": "integer",
  2375. "description": "所属机构用户ID",
  2376. "name": "MemberUserID",
  2377. "in": "query",
  2378. "required": true
  2379. },
  2380. {
  2381. "type": "integer",
  2382. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2383. "name": "queryType",
  2384. "in": "query",
  2385. "required": true
  2386. }
  2387. ],
  2388. "responses": {
  2389. "200": {
  2390. "description": "OK",
  2391. "schema": {
  2392. "type": "array",
  2393. "items": {
  2394. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2395. }
  2396. }
  2397. },
  2398. "500": {
  2399. "description": "Internal Server Error",
  2400. "schema": {
  2401. "$ref": "#/definitions/app.Response"
  2402. }
  2403. }
  2404. }
  2405. }
  2406. },
  2407. "/Ermcp/QueryWrStandard": {
  2408. "get": {
  2409. "security": [
  2410. {
  2411. "ApiKeyAuth": []
  2412. }
  2413. ],
  2414. "produces": [
  2415. "application/json"
  2416. ],
  2417. "tags": [
  2418. "企业风险管理(app)"
  2419. ],
  2420. "summary": "查询现货商品",
  2421. "parameters": [
  2422. {
  2423. "type": "integer",
  2424. "description": "所属机构ID",
  2425. "name": "userid",
  2426. "in": "query",
  2427. "required": true
  2428. },
  2429. {
  2430. "type": "integer",
  2431. "description": "状态 0-停用 1-正常",
  2432. "name": "status",
  2433. "in": "query",
  2434. "required": true
  2435. }
  2436. ],
  2437. "responses": {
  2438. "200": {
  2439. "description": "OK",
  2440. "schema": {
  2441. "type": "array",
  2442. "items": {
  2443. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2444. }
  2445. }
  2446. },
  2447. "500": {
  2448. "description": "Internal Server Error",
  2449. "schema": {
  2450. "$ref": "#/definitions/app.Response"
  2451. }
  2452. }
  2453. }
  2454. }
  2455. },
  2456. "/Ermcp/QueryWrStandardDetail": {
  2457. "get": {
  2458. "security": [
  2459. {
  2460. "ApiKeyAuth": []
  2461. }
  2462. ],
  2463. "produces": [
  2464. "application/json"
  2465. ],
  2466. "tags": [
  2467. "企业风险管理(app)"
  2468. ],
  2469. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2470. "parameters": [
  2471. {
  2472. "type": "integer",
  2473. "description": "所属机构ID",
  2474. "name": "userid",
  2475. "in": "query",
  2476. "required": true
  2477. },
  2478. {
  2479. "type": "integer",
  2480. "description": "现货商品ID",
  2481. "name": "wrstandardid",
  2482. "in": "query",
  2483. "required": true
  2484. }
  2485. ],
  2486. "responses": {
  2487. "200": {
  2488. "description": "OK",
  2489. "schema": {
  2490. "type": "array",
  2491. "items": {
  2492. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2493. }
  2494. }
  2495. },
  2496. "500": {
  2497. "description": "Internal Server Error",
  2498. "schema": {
  2499. "$ref": "#/definitions/app.Response"
  2500. }
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "/Erms2/QueryArbitrageStrategy": {
  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": "账户ID",
  2523. "name": "userid",
  2524. "in": "query",
  2525. "required": true
  2526. },
  2527. {
  2528. "type": "string",
  2529. "description": "商品组ID(品种ID)",
  2530. "name": "goodsgroupid",
  2531. "in": "query"
  2532. }
  2533. ],
  2534. "responses": {
  2535. "200": {
  2536. "description": "OK",
  2537. "schema": {
  2538. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2539. }
  2540. },
  2541. "500": {
  2542. "description": "Internal Server Error",
  2543. "schema": {
  2544. "$ref": "#/definitions/app.Response"
  2545. }
  2546. }
  2547. }
  2548. }
  2549. },
  2550. "/Erms2/QueryInnerTradeDetail": {
  2551. "get": {
  2552. "security": [
  2553. {
  2554. "ApiKeyAuth": []
  2555. }
  2556. ],
  2557. "produces": [
  2558. "application/json"
  2559. ],
  2560. "tags": [
  2561. "风险管理"
  2562. ],
  2563. "summary": "查询内部成交单信息",
  2564. "parameters": [
  2565. {
  2566. "type": "integer",
  2567. "description": "资金账户",
  2568. "name": "accountid",
  2569. "in": "query",
  2570. "required": true
  2571. }
  2572. ],
  2573. "responses": {
  2574. "200": {
  2575. "description": "OK",
  2576. "schema": {
  2577. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2578. }
  2579. },
  2580. "500": {
  2581. "description": "Internal Server Error",
  2582. "schema": {
  2583. "$ref": "#/definitions/app.Response"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "/Erms2/QuerySpotContract": {
  2590. "get": {
  2591. "security": [
  2592. {
  2593. "ApiKeyAuth": []
  2594. }
  2595. ],
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "风险管理"
  2601. ],
  2602. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2603. "parameters": [
  2604. {
  2605. "type": "integer",
  2606. "description": "策略申请ID",
  2607. "name": "asapplyid",
  2608. "in": "query",
  2609. "required": true
  2610. },
  2611. {
  2612. "type": "integer",
  2613. "description": "现货合同ID",
  2614. "name": "spotcontractid",
  2615. "in": "query"
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2623. }
  2624. },
  2625. "500": {
  2626. "description": "Internal Server Error",
  2627. "schema": {
  2628. "$ref": "#/definitions/app.Response"
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/Erms3/AddErms2ASApply": {
  2635. "post": {
  2636. "security": [
  2637. {
  2638. "ApiKeyAuth": []
  2639. }
  2640. ],
  2641. "produces": [
  2642. "application/json"
  2643. ],
  2644. "tags": [
  2645. "风险管理v3"
  2646. ],
  2647. "summary": "新增期现套利业务申请",
  2648. "parameters": [
  2649. {
  2650. "description": "申请参数",
  2651. "name": "jsonBody",
  2652. "in": "body",
  2653. "required": true,
  2654. "schema": {
  2655. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2656. }
  2657. }
  2658. ],
  2659. "responses": {
  2660. "200": {
  2661. "description": "OK",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Erms3/AddErms2SpotTradeApply": {
  2676. "post": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "风险管理v3"
  2687. ],
  2688. "summary": "新增现货贸易业务申请",
  2689. "parameters": [
  2690. {
  2691. "description": "申请参数",
  2692. "name": "jsonBody",
  2693. "in": "body",
  2694. "required": true,
  2695. "schema": {
  2696. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2697. }
  2698. }
  2699. ],
  2700. "responses": {
  2701. "200": {
  2702. "description": "OK",
  2703. "schema": {
  2704. "$ref": "#/definitions/app.Response"
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Erms3/AddSpotContractApply": {
  2717. "post": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "风险管理v3"
  2728. ],
  2729. "summary": "新增现货合同申请",
  2730. "parameters": [
  2731. {
  2732. "description": "申请参数",
  2733. "name": "jsonBody",
  2734. "in": "body",
  2735. "required": true,
  2736. "schema": {
  2737. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2738. }
  2739. }
  2740. ],
  2741. "responses": {
  2742. "200": {
  2743. "description": "OK",
  2744. "schema": {
  2745. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2746. }
  2747. },
  2748. "500": {
  2749. "description": "Internal Server Error",
  2750. "schema": {
  2751. "$ref": "#/definitions/app.Response"
  2752. }
  2753. }
  2754. }
  2755. }
  2756. },
  2757. "/Erms3/AddUserInfoApply": {
  2758. "post": {
  2759. "security": [
  2760. {
  2761. "ApiKeyAuth": []
  2762. }
  2763. ],
  2764. "produces": [
  2765. "application/json"
  2766. ],
  2767. "tags": [
  2768. "风险管理v3"
  2769. ],
  2770. "summary": "新增客户申请",
  2771. "parameters": [
  2772. {
  2773. "description": "用户信息",
  2774. "name": "jsonBody",
  2775. "in": "body",
  2776. "required": true,
  2777. "schema": {
  2778. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2779. }
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/app.Response"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Erms3/ModifyUserInfoApply": {
  2799. "post": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2806. "produces": [
  2807. "application/json"
  2808. ],
  2809. "tags": [
  2810. "风险管理v3"
  2811. ],
  2812. "summary": "修改客户申请",
  2813. "parameters": [
  2814. {
  2815. "description": "用户信息",
  2816. "name": "jsonBody",
  2817. "in": "body",
  2818. "required": true,
  2819. "schema": {
  2820. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2821. }
  2822. }
  2823. ],
  2824. "responses": {
  2825. "200": {
  2826. "description": "OK",
  2827. "schema": {
  2828. "$ref": "#/definitions/app.Response"
  2829. }
  2830. },
  2831. "500": {
  2832. "description": "Internal Server Error",
  2833. "schema": {
  2834. "$ref": "#/definitions/app.Response"
  2835. }
  2836. }
  2837. }
  2838. }
  2839. },
  2840. "/Erms3/QueryBusinessInfo": {
  2841. "get": {
  2842. "security": [
  2843. {
  2844. "ApiKeyAuth": []
  2845. }
  2846. ],
  2847. "produces": [
  2848. "application/json"
  2849. ],
  2850. "tags": [
  2851. "风险管理v3"
  2852. ],
  2853. "summary": "查询业务表单数据",
  2854. "parameters": [
  2855. {
  2856. "type": "string",
  2857. "description": "资金账号ID列表,用逗号分隔",
  2858. "name": "accountids",
  2859. "in": "query",
  2860. "required": true
  2861. },
  2862. {
  2863. "type": "integer",
  2864. "description": "状态,0为未结束 1为已结束",
  2865. "name": "status",
  2866. "in": "query",
  2867. "required": true
  2868. }
  2869. ],
  2870. "responses": {
  2871. "200": {
  2872. "description": "OK",
  2873. "schema": {
  2874. "type": "array",
  2875. "items": {
  2876. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2877. }
  2878. }
  2879. },
  2880. "500": {
  2881. "description": "Internal Server Error",
  2882. "schema": {
  2883. "$ref": "#/definitions/app.Response"
  2884. }
  2885. }
  2886. }
  2887. }
  2888. },
  2889. "/Erms3/QueryPendingAuditContract": {
  2890. "get": {
  2891. "security": [
  2892. {
  2893. "ApiKeyAuth": []
  2894. }
  2895. ],
  2896. "produces": [
  2897. "application/json"
  2898. ],
  2899. "tags": [
  2900. "风险管理v3"
  2901. ],
  2902. "summary": "查询待审核合同",
  2903. "parameters": [
  2904. {
  2905. "type": "string",
  2906. "description": "资金账号ID列表,逗号隔开",
  2907. "name": "accountids",
  2908. "in": "query",
  2909. "required": true
  2910. },
  2911. {
  2912. "type": "integer",
  2913. "description": "合同类型 1-采购 -1-销售",
  2914. "name": "contracttype",
  2915. "in": "query",
  2916. "required": true
  2917. },
  2918. {
  2919. "type": "integer",
  2920. "description": "合同模式 1-普通 2-回购",
  2921. "name": "contractmode",
  2922. "in": "query",
  2923. "required": true
  2924. }
  2925. ],
  2926. "responses": {
  2927. "200": {
  2928. "description": "OK",
  2929. "schema": {
  2930. "type": "array",
  2931. "items": {
  2932. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2933. }
  2934. }
  2935. },
  2936. "500": {
  2937. "description": "Internal Server Error",
  2938. "schema": {
  2939. "$ref": "#/definitions/app.Response"
  2940. }
  2941. }
  2942. }
  2943. }
  2944. },
  2945. "/Erms3/QueryPendingBusiness": {
  2946. "get": {
  2947. "security": [
  2948. {
  2949. "ApiKeyAuth": []
  2950. }
  2951. ],
  2952. "produces": [
  2953. "application/json"
  2954. ],
  2955. "tags": [
  2956. "风险管理v3"
  2957. ],
  2958. "summary": "查询待审核基差贸易业务",
  2959. "parameters": [
  2960. {
  2961. "type": "string",
  2962. "description": "资金账号ID列表,逗号隔开",
  2963. "name": "accountids",
  2964. "in": "query",
  2965. "required": true
  2966. }
  2967. ],
  2968. "responses": {
  2969. "200": {
  2970. "description": "OK",
  2971. "schema": {
  2972. "type": "array",
  2973. "items": {
  2974. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2975. }
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "Internal Server Error",
  2980. "schema": {
  2981. "$ref": "#/definitions/app.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/Erms3/QuerySpotContractAppleForm": {
  2988. "get": {
  2989. "security": [
  2990. {
  2991. "ApiKeyAuth": []
  2992. }
  2993. ],
  2994. "produces": [
  2995. "application/json"
  2996. ],
  2997. "tags": [
  2998. "风险管理v3"
  2999. ],
  3000. "summary": "查询合同申请表单数据",
  3001. "parameters": [
  3002. {
  3003. "type": "integer",
  3004. "description": "登录账号",
  3005. "name": "loginID",
  3006. "in": "query",
  3007. "required": true
  3008. }
  3009. ],
  3010. "responses": {
  3011. "200": {
  3012. "description": "OK",
  3013. "schema": {
  3014. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/Erms3/QuerySpotContractDetail": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "风险管理v3"
  3038. ],
  3039. "summary": "查询合同详细信息",
  3040. "parameters": [
  3041. {
  3042. "type": "string",
  3043. "description": "资金账号ID列表,用逗号分隔",
  3044. "name": "accountids",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "合同类型,1为采购合同 -1为销售合同",
  3051. "name": "contracttype",
  3052. "in": "query",
  3053. "required": true
  3054. },
  3055. {
  3056. "type": "integer",
  3057. "description": "合同模式,1为普通合同 2为回购销售合同",
  3058. "name": "contractmode",
  3059. "in": "query",
  3060. "required": true
  3061. },
  3062. {
  3063. "type": "integer",
  3064. "description": "状态,0为履约中 1为已完成",
  3065. "name": "status",
  3066. "in": "query",
  3067. "required": true
  3068. }
  3069. ],
  3070. "responses": {
  3071. "200": {
  3072. "description": "OK",
  3073. "schema": {
  3074. "type": "array",
  3075. "items": {
  3076. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3077. }
  3078. }
  3079. },
  3080. "500": {
  3081. "description": "Internal Server Error",
  3082. "schema": {
  3083. "$ref": "#/definitions/app.Response"
  3084. }
  3085. }
  3086. }
  3087. }
  3088. },
  3089. "/Erms3/QueryUserInfoApplies": {
  3090. "get": {
  3091. "security": [
  3092. {
  3093. "ApiKeyAuth": []
  3094. }
  3095. ],
  3096. "produces": [
  3097. "application/json"
  3098. ],
  3099. "tags": [
  3100. "风险管理v3"
  3101. ],
  3102. "summary": "客户申请信息查询",
  3103. "parameters": [
  3104. {
  3105. "type": "integer",
  3106. "description": "页码",
  3107. "name": "page",
  3108. "in": "query"
  3109. },
  3110. {
  3111. "type": "integer",
  3112. "description": "每页条数",
  3113. "name": "pagesize",
  3114. "in": "query"
  3115. },
  3116. {
  3117. "type": "string",
  3118. "description": "客户名称,支持模糊查询",
  3119. "name": "userName",
  3120. "in": "query"
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/Erms3/QueryUserInfos": {
  3140. "get": {
  3141. "security": [
  3142. {
  3143. "ApiKeyAuth": []
  3144. }
  3145. ],
  3146. "produces": [
  3147. "application/json"
  3148. ],
  3149. "tags": [
  3150. "风险管理v3"
  3151. ],
  3152. "summary": "客户信息查询",
  3153. "parameters": [
  3154. {
  3155. "type": "integer",
  3156. "description": "页码",
  3157. "name": "page",
  3158. "in": "query"
  3159. },
  3160. {
  3161. "type": "integer",
  3162. "description": "每页条数",
  3163. "name": "pagesize",
  3164. "in": "query"
  3165. },
  3166. {
  3167. "type": "string",
  3168. "description": "客户名称,支持模糊查询",
  3169. "name": "userName",
  3170. "in": "query"
  3171. }
  3172. ],
  3173. "responses": {
  3174. "200": {
  3175. "description": "OK",
  3176. "schema": {
  3177. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3178. }
  3179. },
  3180. "500": {
  3181. "description": "Internal Server Error",
  3182. "schema": {
  3183. "$ref": "#/definitions/app.Response"
  3184. }
  3185. }
  3186. }
  3187. }
  3188. },
  3189. "/HSBY/GetHsbyMyCount": {
  3190. "get": {
  3191. "security": [
  3192. {
  3193. "ApiKeyAuth": []
  3194. }
  3195. ],
  3196. "description": "说明: 不包括已完成的数量。",
  3197. "produces": [
  3198. "application/json"
  3199. ],
  3200. "tags": [
  3201. "定制【海商报业】"
  3202. ],
  3203. "summary": "获取我的订单与包裹数量",
  3204. "parameters": [
  3205. {
  3206. "type": "string",
  3207. "description": "资金账户列表,格式:1,2,3",
  3208. "name": "accountIDs",
  3209. "in": "query",
  3210. "required": true
  3211. }
  3212. ],
  3213. "responses": {
  3214. "200": {
  3215. "description": "OK",
  3216. "schema": {
  3217. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3218. }
  3219. },
  3220. "500": {
  3221. "description": "Internal Server Error",
  3222. "schema": {
  3223. "$ref": "#/definitions/app.Response"
  3224. }
  3225. }
  3226. }
  3227. }
  3228. },
  3229. "/HSBY/QueryClientFixedADConfigs": {
  3230. "get": {
  3231. "security": [
  3232. {
  3233. "ApiKeyAuth": []
  3234. }
  3235. ],
  3236. "produces": [
  3237. "application/json"
  3238. ],
  3239. "tags": [
  3240. "定制【海商报业】"
  3241. ],
  3242. "summary": "获取终端固定广告配置",
  3243. "responses": {
  3244. "200": {
  3245. "description": "OK",
  3246. "schema": {
  3247. "$ref": "#/definitions/models.Clientfixedadconfig"
  3248. }
  3249. },
  3250. "500": {
  3251. "description": "Internal Server Error",
  3252. "schema": {
  3253. "$ref": "#/definitions/app.Response"
  3254. }
  3255. }
  3256. }
  3257. }
  3258. },
  3259. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3260. "get": {
  3261. "security": [
  3262. {
  3263. "ApiKeyAuth": []
  3264. }
  3265. ],
  3266. "produces": [
  3267. "application/json"
  3268. ],
  3269. "tags": [
  3270. "定制【海商报业】"
  3271. ],
  3272. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3273. "parameters": [
  3274. {
  3275. "type": "integer",
  3276. "description": "页码",
  3277. "name": "page",
  3278. "in": "query"
  3279. },
  3280. {
  3281. "type": "integer",
  3282. "description": "每页条数",
  3283. "name": "pagesize",
  3284. "in": "query"
  3285. },
  3286. {
  3287. "type": "string",
  3288. "description": "资金账户列表,格式:1,2,3",
  3289. "name": "accountIDs",
  3290. "in": "query",
  3291. "required": true
  3292. }
  3293. ],
  3294. "responses": {
  3295. "200": {
  3296. "description": "OK",
  3297. "schema": {
  3298. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3299. }
  3300. },
  3301. "500": {
  3302. "description": "Internal Server Error",
  3303. "schema": {
  3304. "$ref": "#/definitions/app.Response"
  3305. }
  3306. }
  3307. }
  3308. }
  3309. },
  3310. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3311. "get": {
  3312. "security": [
  3313. {
  3314. "ApiKeyAuth": []
  3315. }
  3316. ],
  3317. "description": "说明:查询结果已按委托价格和委托时间排序",
  3318. "produces": [
  3319. "application/json"
  3320. ],
  3321. "tags": [
  3322. "定制【海商报业】"
  3323. ],
  3324. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3325. "parameters": [
  3326. {
  3327. "type": "integer",
  3328. "description": "商品ID",
  3329. "name": "goodsID",
  3330. "in": "query",
  3331. "required": true
  3332. },
  3333. {
  3334. "type": "string",
  3335. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3336. "name": "accountIDs",
  3337. "in": "query"
  3338. },
  3339. {
  3340. "type": "integer",
  3341. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3342. "name": "buyOrSell",
  3343. "in": "query"
  3344. },
  3345. {
  3346. "type": "number",
  3347. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3348. "name": "price",
  3349. "in": "query"
  3350. },
  3351. {
  3352. "type": "integer",
  3353. "description": "档位,不传则默认为3档",
  3354. "name": "speed",
  3355. "in": "query"
  3356. }
  3357. ],
  3358. "responses": {
  3359. "200": {
  3360. "description": "OK",
  3361. "schema": {
  3362. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3363. }
  3364. },
  3365. "500": {
  3366. "description": "Internal Server Error",
  3367. "schema": {
  3368. "$ref": "#/definitions/app.Response"
  3369. }
  3370. }
  3371. }
  3372. }
  3373. },
  3374. "/HSBY/QueryHsbyListingGoodsDetail": {
  3375. "get": {
  3376. "security": [
  3377. {
  3378. "ApiKeyAuth": []
  3379. }
  3380. ],
  3381. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3382. "produces": [
  3383. "application/json"
  3384. ],
  3385. "tags": [
  3386. "定制【海商报业】"
  3387. ],
  3388. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3389. "parameters": [
  3390. {
  3391. "type": "integer",
  3392. "description": "商品ID",
  3393. "name": "goodsID",
  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.HsbyListingGoodsDetail"
  3409. }
  3410. },
  3411. "500": {
  3412. "description": "Internal Server Error",
  3413. "schema": {
  3414. "$ref": "#/definitions/app.Response"
  3415. }
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "/HSBY/QueryHsbyMarketGoodsDetail": {
  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": "orderID",
  3439. "in": "query",
  3440. "required": true
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3445. "name": "accountID",
  3446. "in": "query"
  3447. }
  3448. ],
  3449. "responses": {
  3450. "200": {
  3451. "description": "OK",
  3452. "schema": {
  3453. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3454. }
  3455. },
  3456. "500": {
  3457. "description": "Internal Server Error",
  3458. "schema": {
  3459. "$ref": "#/definitions/app.Response"
  3460. }
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "/HSBY/QueryHsbyMarketGoodses": {
  3466. "get": {
  3467. "security": [
  3468. {
  3469. "ApiKeyAuth": []
  3470. }
  3471. ],
  3472. "produces": [
  3473. "application/json"
  3474. ],
  3475. "tags": [
  3476. "定制【海商报业】"
  3477. ],
  3478. "summary": "查询特卖商品列表(三级商城)",
  3479. "parameters": [
  3480. {
  3481. "type": "integer",
  3482. "description": "页码",
  3483. "name": "page",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "每页条数",
  3489. "name": "pagesize",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "string",
  3494. "description": "市场ID列表,格式:1,2,3",
  3495. "name": "marketIDs",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3502. "name": "accountID",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "类别ID",
  3509. "name": "categoryID",
  3510. "in": "query"
  3511. },
  3512. {
  3513. "type": "string",
  3514. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3515. "name": "goodsIDs",
  3516. "in": "query"
  3517. },
  3518. {
  3519. "type": "integer",
  3520. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3521. "name": "couponTypeID",
  3522. "in": "query"
  3523. }
  3524. ],
  3525. "responses": {
  3526. "200": {
  3527. "description": "OK",
  3528. "schema": {
  3529. "$ref": "#/definitions/models.HsbyMarketGoods"
  3530. }
  3531. },
  3532. "500": {
  3533. "description": "Internal Server Error",
  3534. "schema": {
  3535. "$ref": "#/definitions/app.Response"
  3536. }
  3537. }
  3538. }
  3539. }
  3540. },
  3541. "/HSBY/QueryHsbyMarkets": {
  3542. "get": {
  3543. "security": [
  3544. {
  3545. "ApiKeyAuth": []
  3546. }
  3547. ],
  3548. "produces": [
  3549. "application/json"
  3550. ],
  3551. "tags": [
  3552. "定制【海商报业】"
  3553. ],
  3554. "summary": "查询海商报业相关市场信息",
  3555. "responses": {
  3556. "200": {
  3557. "description": "OK",
  3558. "schema": {
  3559. "$ref": "#/definitions/models.HsbyMarketInfo"
  3560. }
  3561. },
  3562. "500": {
  3563. "description": "Internal Server Error",
  3564. "schema": {
  3565. "$ref": "#/definitions/app.Response"
  3566. }
  3567. }
  3568. }
  3569. }
  3570. },
  3571. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3572. "get": {
  3573. "security": [
  3574. {
  3575. "ApiKeyAuth": []
  3576. }
  3577. ],
  3578. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3579. "produces": [
  3580. "application/json"
  3581. ],
  3582. "tags": [
  3583. "定制【海商报业】"
  3584. ],
  3585. "summary": "查询“我的订单”信息",
  3586. "parameters": [
  3587. {
  3588. "type": "string",
  3589. "description": "资金账户列表,格式:1,2,3",
  3590. "name": "accountIDs",
  3591. "in": "query",
  3592. "required": true
  3593. }
  3594. ],
  3595. "responses": {
  3596. "200": {
  3597. "description": "OK",
  3598. "schema": {
  3599. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/app.Response"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/HSBY/QueryHsbyMyGoods": {
  3612. "get": {
  3613. "security": [
  3614. {
  3615. "ApiKeyAuth": []
  3616. }
  3617. ],
  3618. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3619. "produces": [
  3620. "application/json"
  3621. ],
  3622. "tags": [
  3623. "定制【海商报业】"
  3624. ],
  3625. "summary": "查询“我的商品”信息",
  3626. "parameters": [
  3627. {
  3628. "type": "string",
  3629. "description": "资金账户列表,格式:1,2,3",
  3630. "name": "accountIDs",
  3631. "in": "query",
  3632. "required": true
  3633. }
  3634. ],
  3635. "responses": {
  3636. "200": {
  3637. "description": "OK",
  3638. "schema": {
  3639. "$ref": "#/definitions/models.HsbyMyGoods"
  3640. }
  3641. },
  3642. "500": {
  3643. "description": "Internal Server Error",
  3644. "schema": {
  3645. "$ref": "#/definitions/app.Response"
  3646. }
  3647. }
  3648. }
  3649. }
  3650. },
  3651. "/HSBY/QueryHsbyMyPackages": {
  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": "string",
  3668. "description": "资金账户列表,格式:1,2,3",
  3669. "name": "accountIDs",
  3670. "in": "query",
  3671. "required": true
  3672. },
  3673. {
  3674. "type": "integer",
  3675. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3676. "name": "takeOrderStatus",
  3677. "in": "query"
  3678. }
  3679. ],
  3680. "responses": {
  3681. "200": {
  3682. "description": "OK",
  3683. "schema": {
  3684. "$ref": "#/definitions/models.HsbyMyPackage"
  3685. }
  3686. },
  3687. "500": {
  3688. "description": "Internal Server Error",
  3689. "schema": {
  3690. "$ref": "#/definitions/app.Response"
  3691. }
  3692. }
  3693. }
  3694. }
  3695. },
  3696. "/HSBY/QueryHsbyPreGoodsDetail": {
  3697. "get": {
  3698. "security": [
  3699. {
  3700. "ApiKeyAuth": []
  3701. }
  3702. ],
  3703. "produces": [
  3704. "application/json"
  3705. ],
  3706. "tags": [
  3707. "定制【海商报业】"
  3708. ],
  3709. "summary": "查询一级市场(预售)商品信息详情",
  3710. "parameters": [
  3711. {
  3712. "type": "integer",
  3713. "description": "商品ID",
  3714. "name": "goodsID",
  3715. "in": "query",
  3716. "required": true
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "资金账户,主要用于获取预售商品购买上限",
  3721. "name": "accountID",
  3722. "in": "query"
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3730. }
  3731. },
  3732. "500": {
  3733. "description": "Internal Server Error",
  3734. "schema": {
  3735. "$ref": "#/definitions/app.Response"
  3736. }
  3737. }
  3738. }
  3739. }
  3740. },
  3741. "/HSBY/QueryHsbyPreGoodses": {
  3742. "get": {
  3743. "security": [
  3744. {
  3745. "ApiKeyAuth": []
  3746. }
  3747. ],
  3748. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3749. "produces": [
  3750. "application/json"
  3751. ],
  3752. "tags": [
  3753. "定制【海商报业】"
  3754. ],
  3755. "summary": "查询新品上市商品列表(一级市场预售)",
  3756. "parameters": [
  3757. {
  3758. "type": "integer",
  3759. "description": "页码",
  3760. "name": "page",
  3761. "in": "query"
  3762. },
  3763. {
  3764. "type": "integer",
  3765. "description": "每页条数",
  3766. "name": "pagesize",
  3767. "in": "query"
  3768. },
  3769. {
  3770. "type": "string",
  3771. "description": "市场ID列表,格式:1,2,3",
  3772. "name": "marketIDs",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "目的地(省)ID",
  3779. "name": "descProvinceID",
  3780. "in": "query"
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "目的地(市)ID",
  3785. "name": "descCityID",
  3786. "in": "query"
  3787. }
  3788. ],
  3789. "responses": {
  3790. "200": {
  3791. "description": "OK",
  3792. "schema": {
  3793. "$ref": "#/definitions/models.HsbyPreGoods"
  3794. }
  3795. },
  3796. "500": {
  3797. "description": "Internal Server Error",
  3798. "schema": {
  3799. "$ref": "#/definitions/app.Response"
  3800. }
  3801. }
  3802. }
  3803. }
  3804. },
  3805. "/HSBY/QueryHsbySellMyDetails": {
  3806. "get": {
  3807. "security": [
  3808. {
  3809. "ApiKeyAuth": []
  3810. }
  3811. ],
  3812. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3813. "produces": [
  3814. "application/json"
  3815. ],
  3816. "tags": [
  3817. "定制【海商报业】"
  3818. ],
  3819. "summary": "查询\"我的闲置\"单据信息",
  3820. "parameters": [
  3821. {
  3822. "type": "integer",
  3823. "description": "页码",
  3824. "name": "page",
  3825. "in": "query"
  3826. },
  3827. {
  3828. "type": "integer",
  3829. "description": "每页条数",
  3830. "name": "pagesize",
  3831. "in": "query"
  3832. },
  3833. {
  3834. "type": "string",
  3835. "description": "资金账户列表,格式:1,2,3",
  3836. "name": "accountIDs",
  3837. "in": "query",
  3838. "required": true
  3839. },
  3840. {
  3841. "type": "integer",
  3842. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3843. "name": "orderType",
  3844. "in": "query"
  3845. }
  3846. ],
  3847. "responses": {
  3848. "200": {
  3849. "description": "OK",
  3850. "schema": {
  3851. "$ref": "#/definitions/models.HsbySellMyDetail"
  3852. }
  3853. },
  3854. "500": {
  3855. "description": "Internal Server Error",
  3856. "schema": {
  3857. "$ref": "#/definitions/app.Response"
  3858. }
  3859. }
  3860. }
  3861. }
  3862. },
  3863. "/HSBY/QueryHsbyTopGoodses": {
  3864. "get": {
  3865. "security": [
  3866. {
  3867. "ApiKeyAuth": []
  3868. }
  3869. ],
  3870. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3871. "produces": [
  3872. "application/json"
  3873. ],
  3874. "tags": [
  3875. "定制【海商报业】"
  3876. ],
  3877. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3878. "parameters": [
  3879. {
  3880. "type": "integer",
  3881. "description": "页码",
  3882. "name": "page",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "每页条数",
  3888. "name": "pagesize",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "string",
  3893. "description": "市场ID列表,格式:1,2,3",
  3894. "name": "marketIDs",
  3895. "in": "query",
  3896. "required": true
  3897. },
  3898. {
  3899. "type": "integer",
  3900. "description": "目的地(省)ID",
  3901. "name": "descProvinceID",
  3902. "in": "query"
  3903. },
  3904. {
  3905. "type": "integer",
  3906. "description": "目的地(市)ID",
  3907. "name": "descCityID",
  3908. "in": "query"
  3909. }
  3910. ],
  3911. "responses": {
  3912. "200": {
  3913. "description": "OK",
  3914. "schema": {
  3915. "$ref": "#/definitions/models.HsbyTopGoods"
  3916. }
  3917. },
  3918. "500": {
  3919. "description": "Internal Server Error",
  3920. "schema": {
  3921. "$ref": "#/definitions/app.Response"
  3922. }
  3923. }
  3924. }
  3925. }
  3926. },
  3927. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3928. "get": {
  3929. "security": [
  3930. {
  3931. "ApiKeyAuth": []
  3932. }
  3933. ],
  3934. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3935. "produces": [
  3936. "application/json"
  3937. ],
  3938. "tags": [
  3939. "定制【海商报业】"
  3940. ],
  3941. "summary": "查询游客三级市场(商城)商品信息详情",
  3942. "parameters": [
  3943. {
  3944. "type": "integer",
  3945. "description": "商品ID",
  3946. "name": "goodsID",
  3947. "in": "query",
  3948. "required": true
  3949. }
  3950. ],
  3951. "responses": {
  3952. "200": {
  3953. "description": "OK",
  3954. "schema": {
  3955. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3975. "produces": [
  3976. "application/json"
  3977. ],
  3978. "tags": [
  3979. "定制【海商报业】"
  3980. ],
  3981. "summary": "查询游客特卖商品列表(三级商城)",
  3982. "parameters": [
  3983. {
  3984. "type": "integer",
  3985. "description": "页码",
  3986. "name": "page",
  3987. "in": "query"
  3988. },
  3989. {
  3990. "type": "integer",
  3991. "description": "每页条数",
  3992. "name": "pagesize",
  3993. "in": "query"
  3994. },
  3995. {
  3996. "type": "string",
  3997. "description": "市场ID列表,格式:1,2,3",
  3998. "name": "marketIDs",
  3999. "in": "query",
  4000. "required": true
  4001. },
  4002. {
  4003. "type": "integer",
  4004. "description": "类别ID",
  4005. "name": "categoryID",
  4006. "in": "query"
  4007. },
  4008. {
  4009. "type": "string",
  4010. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4011. "name": "goodsIDs",
  4012. "in": "query"
  4013. }
  4014. ],
  4015. "responses": {
  4016. "200": {
  4017. "description": "OK",
  4018. "schema": {
  4019. "$ref": "#/definitions/models.HsbyMarketGoods"
  4020. }
  4021. },
  4022. "500": {
  4023. "description": "Internal Server Error",
  4024. "schema": {
  4025. "$ref": "#/definitions/app.Response"
  4026. }
  4027. }
  4028. }
  4029. }
  4030. },
  4031. "/HSBY/QueryMyCollectionOrders": {
  4032. "get": {
  4033. "security": [
  4034. {
  4035. "ApiKeyAuth": []
  4036. }
  4037. ],
  4038. "produces": [
  4039. "application/json"
  4040. ],
  4041. "tags": [
  4042. "定制【海商报业】"
  4043. ],
  4044. "summary": "我的闲置中收款信息查询",
  4045. "parameters": [
  4046. {
  4047. "type": "integer",
  4048. "description": "页码",
  4049. "name": "page",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "integer",
  4054. "description": "每页条数",
  4055. "name": "pagesize",
  4056. "in": "query"
  4057. },
  4058. {
  4059. "type": "string",
  4060. "description": "资金账户,格式:1,2,3",
  4061. "name": "accountIDs",
  4062. "in": "query",
  4063. "required": true
  4064. }
  4065. ],
  4066. "responses": {
  4067. "200": {
  4068. "description": "OK",
  4069. "schema": {
  4070. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4071. }
  4072. },
  4073. "500": {
  4074. "description": "Internal Server Error",
  4075. "schema": {
  4076. "$ref": "#/definitions/app.Response"
  4077. }
  4078. }
  4079. }
  4080. }
  4081. },
  4082. "/HSBY/QueryMyCouponHolds": {
  4083. "get": {
  4084. "security": [
  4085. {
  4086. "ApiKeyAuth": []
  4087. }
  4088. ],
  4089. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  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": "string",
  4107. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4108. "name": "holdStatus",
  4109. "in": "query"
  4110. }
  4111. ],
  4112. "responses": {
  4113. "200": {
  4114. "description": "OK",
  4115. "schema": {
  4116. "$ref": "#/definitions/models.MyCouponHold"
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/HSBY/QueryMyCoupons": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "定制【海商报业】"
  4140. ],
  4141. "summary": "我的优惠卷查询",
  4142. "parameters": [
  4143. {
  4144. "type": "string",
  4145. "description": "资金账户列表,格式:1,2,3",
  4146. "name": "accountIDs",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "integer",
  4152. "description": "商品ID, 一般与sellUserID配套传入",
  4153. "name": "goodsID",
  4154. "in": "query"
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "卖方UserID",
  4159. "name": "sellUserID",
  4160. "in": "query"
  4161. }
  4162. ],
  4163. "responses": {
  4164. "200": {
  4165. "description": "OK",
  4166. "schema": {
  4167. "$ref": "#/definitions/models.MyCoupon"
  4168. }
  4169. },
  4170. "500": {
  4171. "description": "Internal Server Error",
  4172. "schema": {
  4173. "$ref": "#/definitions/app.Response"
  4174. }
  4175. }
  4176. }
  4177. }
  4178. },
  4179. "/HSBY/QueryMyPayOrders": {
  4180. "get": {
  4181. "security": [
  4182. {
  4183. "ApiKeyAuth": []
  4184. }
  4185. ],
  4186. "produces": [
  4187. "application/json"
  4188. ],
  4189. "tags": [
  4190. "定制【海商报业】"
  4191. ],
  4192. "summary": "获取我的订单中待付款信息",
  4193. "parameters": [
  4194. {
  4195. "type": "integer",
  4196. "description": "页码",
  4197. "name": "page",
  4198. "in": "query"
  4199. },
  4200. {
  4201. "type": "integer",
  4202. "description": "每页条数",
  4203. "name": "pagesize",
  4204. "in": "query"
  4205. },
  4206. {
  4207. "type": "string",
  4208. "description": "资金账户列表,格式:1,2,3",
  4209. "name": "accountIDs",
  4210. "in": "query",
  4211. "required": true
  4212. },
  4213. {
  4214. "type": "integer",
  4215. "description": "买方委托单号",
  4216. "name": "buyOrderID",
  4217. "in": "query"
  4218. },
  4219. {
  4220. "type": "integer",
  4221. "description": "卖方委托单号",
  4222. "name": "sellOrderID",
  4223. "in": "query"
  4224. }
  4225. ],
  4226. "responses": {
  4227. "200": {
  4228. "description": "OK",
  4229. "schema": {
  4230. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4231. }
  4232. },
  4233. "500": {
  4234. "description": "Internal Server Error",
  4235. "schema": {
  4236. "$ref": "#/definitions/app.Response"
  4237. }
  4238. }
  4239. }
  4240. }
  4241. },
  4242. "/HSBY/QueryMyUsedCoupon": {
  4243. "get": {
  4244. "security": [
  4245. {
  4246. "ApiKeyAuth": []
  4247. }
  4248. ],
  4249. "produces": [
  4250. "application/json"
  4251. ],
  4252. "tags": [
  4253. "定制【海商报业】"
  4254. ],
  4255. "summary": "已使用优惠卷查询",
  4256. "parameters": [
  4257. {
  4258. "type": "string",
  4259. "description": "资金账户列表,格式:1,2,3",
  4260. "name": "accountIDs",
  4261. "in": "query",
  4262. "required": true
  4263. }
  4264. ],
  4265. "responses": {
  4266. "200": {
  4267. "description": "OK",
  4268. "schema": {
  4269. "$ref": "#/definitions/models.MyUsedCoupon"
  4270. }
  4271. },
  4272. "500": {
  4273. "description": "Internal Server Error",
  4274. "schema": {
  4275. "$ref": "#/definitions/app.Response"
  4276. }
  4277. }
  4278. }
  4279. }
  4280. },
  4281. "/HSBY/QueryProvincesAndCities": {
  4282. "get": {
  4283. "security": [
  4284. {
  4285. "ApiKeyAuth": []
  4286. }
  4287. ],
  4288. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4289. "produces": [
  4290. "application/json"
  4291. ],
  4292. "tags": [
  4293. "定制【海商报业】"
  4294. ],
  4295. "summary": "查询省市信息(不包括区)",
  4296. "parameters": [
  4297. {
  4298. "type": "integer",
  4299. "description": "省ID",
  4300. "name": "provinceID",
  4301. "in": "query"
  4302. }
  4303. ],
  4304. "responses": {
  4305. "200": {
  4306. "description": "OK",
  4307. "schema": {
  4308. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4309. }
  4310. },
  4311. "500": {
  4312. "description": "Internal Server Error",
  4313. "schema": {
  4314. "$ref": "#/definitions/app.Response"
  4315. }
  4316. }
  4317. }
  4318. }
  4319. },
  4320. "/HSBY/SetHsbyMyPackagesStatus": {
  4321. "post": {
  4322. "security": [
  4323. {
  4324. "ApiKeyAuth": []
  4325. }
  4326. ],
  4327. "produces": [
  4328. "application/json"
  4329. ],
  4330. "tags": [
  4331. "定制【海商报业】"
  4332. ],
  4333. "summary": "设置我的包裹已收货状态",
  4334. "parameters": [
  4335. {
  4336. "type": "string",
  4337. "description": "提货单号",
  4338. "name": "takeOrderID",
  4339. "in": "query",
  4340. "required": true
  4341. },
  4342. {
  4343. "type": "integer",
  4344. "description": "资金账号",
  4345. "name": "accountID",
  4346. "in": "query",
  4347. "required": true
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "$ref": "#/definitions/app.Response"
  4355. }
  4356. },
  4357. "500": {
  4358. "description": "Internal Server Error",
  4359. "schema": {
  4360. "$ref": "#/definitions/app.Response"
  4361. }
  4362. }
  4363. }
  4364. }
  4365. },
  4366. "/Market/QueryGoodsesByLoginID": {
  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": "登录账号",
  4384. "name": "loginID",
  4385. "in": "query",
  4386. "required": true
  4387. },
  4388. {
  4389. "type": "string",
  4390. "description": "市场ID列表,格式:1,2,3",
  4391. "name": "marketIDs",
  4392. "in": "query"
  4393. }
  4394. ],
  4395. "responses": {
  4396. "200": {
  4397. "description": "OK",
  4398. "schema": {
  4399. "$ref": "#/definitions/models.Goods"
  4400. }
  4401. },
  4402. "500": {
  4403. "description": "Internal Server Error",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/Market/QueryMarketRun": {
  4412. "get": {
  4413. "security": [
  4414. {
  4415. "ApiKeyAuth": []
  4416. }
  4417. ],
  4418. "produces": [
  4419. "application/json"
  4420. ],
  4421. "tags": [
  4422. "通用市场"
  4423. ],
  4424. "summary": "查询市场运行信息",
  4425. "parameters": [
  4426. {
  4427. "type": "integer",
  4428. "description": "市场ID,不传返回所有",
  4429. "name": "marketID",
  4430. "in": "query"
  4431. }
  4432. ],
  4433. "responses": {
  4434. "200": {
  4435. "description": "OK",
  4436. "schema": {
  4437. "$ref": "#/definitions/models.Marketrun"
  4438. }
  4439. },
  4440. "500": {
  4441. "description": "Internal Server Error",
  4442. "schema": {
  4443. "$ref": "#/definitions/app.Response"
  4444. }
  4445. }
  4446. }
  4447. }
  4448. },
  4449. "/Market/QueryMarketsByLoginID": {
  4450. "get": {
  4451. "security": [
  4452. {
  4453. "ApiKeyAuth": []
  4454. }
  4455. ],
  4456. "produces": [
  4457. "application/json"
  4458. ],
  4459. "tags": [
  4460. "通用市场"
  4461. ],
  4462. "summary": "获取登录账号有权限的市场信息",
  4463. "parameters": [
  4464. {
  4465. "type": "integer",
  4466. "description": "登录账号",
  4467. "name": "loginID",
  4468. "in": "query",
  4469. "required": true
  4470. }
  4471. ],
  4472. "responses": {
  4473. "200": {
  4474. "description": "OK",
  4475. "schema": {
  4476. "$ref": "#/definitions/models.Market"
  4477. }
  4478. },
  4479. "500": {
  4480. "description": "Internal Server Error",
  4481. "schema": {
  4482. "$ref": "#/definitions/app.Response"
  4483. }
  4484. }
  4485. }
  4486. }
  4487. },
  4488. "/Order/QueryHisTradeDetail": {
  4489. "get": {
  4490. "security": [
  4491. {
  4492. "ApiKeyAuth": []
  4493. }
  4494. ],
  4495. "produces": [
  4496. "application/json"
  4497. ],
  4498. "tags": [
  4499. "通用单据"
  4500. ],
  4501. "summary": "历史成交单查询(合约市场)",
  4502. "parameters": [
  4503. {
  4504. "type": "string",
  4505. "description": "资金账户 - 格式:1,2,3",
  4506. "name": "accountID",
  4507. "in": "query",
  4508. "required": true
  4509. },
  4510. {
  4511. "type": "integer",
  4512. "description": "成交单号",
  4513. "name": "tradeID",
  4514. "in": "query"
  4515. },
  4516. {
  4517. "type": "integer",
  4518. "description": "委托单号",
  4519. "name": "orderID",
  4520. "in": "query"
  4521. },
  4522. {
  4523. "type": "string",
  4524. "description": "交易模式 - 格式:1,2,3",
  4525. "name": "tradeMode",
  4526. "in": "query"
  4527. },
  4528. {
  4529. "type": "integer",
  4530. "description": "委托单据类型",
  4531. "name": "buildType",
  4532. "in": "query"
  4533. },
  4534. {
  4535. "type": "string",
  4536. "description": "成交类别 - 格式:1,2,3",
  4537. "name": "tradeType",
  4538. "in": "query"
  4539. },
  4540. {
  4541. "type": "string",
  4542. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4543. "name": "startDate",
  4544. "in": "query"
  4545. },
  4546. {
  4547. "type": "string",
  4548. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4549. "name": "endDate",
  4550. "in": "query"
  4551. }
  4552. ],
  4553. "responses": {
  4554. "200": {
  4555. "description": "OK",
  4556. "schema": {
  4557. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Order/QueryHisTradeOrderDetail": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "通用单据"
  4581. ],
  4582. "summary": "历史委托单查询请求(合约市场)",
  4583. "parameters": [
  4584. {
  4585. "type": "string",
  4586. "description": "资金账户 - 格式:1,2,3",
  4587. "name": "accountID",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "string",
  4593. "description": "交易模式 - 格式:1,2,3",
  4594. "name": "tradeMode",
  4595. "in": "query"
  4596. },
  4597. {
  4598. "type": "string",
  4599. "description": "委托状态 - 格式:1,2,3",
  4600. "name": "orderStatus",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "委托单号",
  4606. "name": "orderID",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "string",
  4611. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4612. "name": "startDate",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "string",
  4617. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4618. "name": "endDate",
  4619. "in": "query"
  4620. }
  4621. ],
  4622. "responses": {
  4623. "200": {
  4624. "description": "OK",
  4625. "schema": {
  4626. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4627. }
  4628. },
  4629. "500": {
  4630. "description": "Internal Server Error",
  4631. "schema": {
  4632. "$ref": "#/definitions/app.Response"
  4633. }
  4634. }
  4635. }
  4636. }
  4637. },
  4638. "/Order/QueryTradeDetail": {
  4639. "get": {
  4640. "security": [
  4641. {
  4642. "ApiKeyAuth": []
  4643. }
  4644. ],
  4645. "produces": [
  4646. "application/json"
  4647. ],
  4648. "tags": [
  4649. "通用单据"
  4650. ],
  4651. "summary": "成交单查询(合约市场)",
  4652. "parameters": [
  4653. {
  4654. "type": "string",
  4655. "description": "资金账户 - 格式:1,2,3",
  4656. "name": "accountID",
  4657. "in": "query",
  4658. "required": true
  4659. },
  4660. {
  4661. "type": "integer",
  4662. "description": "成交单号",
  4663. "name": "tradeID",
  4664. "in": "query"
  4665. },
  4666. {
  4667. "type": "integer",
  4668. "description": "委托单号",
  4669. "name": "orderID",
  4670. "in": "query"
  4671. },
  4672. {
  4673. "type": "string",
  4674. "description": "交易模式 - 格式:1,2,3",
  4675. "name": "tradeMode",
  4676. "in": "query"
  4677. },
  4678. {
  4679. "type": "integer",
  4680. "description": "委托单据类型",
  4681. "name": "buildType",
  4682. "in": "query"
  4683. },
  4684. {
  4685. "type": "string",
  4686. "description": "成交类别 - 格式:1,2,3",
  4687. "name": "tradeType",
  4688. "in": "query"
  4689. }
  4690. ],
  4691. "responses": {
  4692. "200": {
  4693. "description": "OK",
  4694. "schema": {
  4695. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Order/QueryTradeOrderDetail": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "通用单据"
  4719. ],
  4720. "summary": "委托单查询请求(合约市场)",
  4721. "parameters": [
  4722. {
  4723. "type": "string",
  4724. "description": "资金账户 - 格式:1,2,3",
  4725. "name": "accountID",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "string",
  4731. "description": "交易模式 - 格式:1,2,3",
  4732. "name": "tradeMode",
  4733. "in": "query"
  4734. },
  4735. {
  4736. "type": "string",
  4737. "description": "委托状态 - 格式:1,2,3",
  4738. "name": "orderStatus",
  4739. "in": "query"
  4740. },
  4741. {
  4742. "type": "integer",
  4743. "description": "委托单号",
  4744. "name": "orderID",
  4745. "in": "query"
  4746. }
  4747. ],
  4748. "responses": {
  4749. "200": {
  4750. "description": "OK",
  4751. "schema": {
  4752. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4753. }
  4754. },
  4755. "500": {
  4756. "description": "Internal Server Error",
  4757. "schema": {
  4758. "$ref": "#/definitions/app.Response"
  4759. }
  4760. }
  4761. }
  4762. }
  4763. },
  4764. "/Order/QueryTradePosition": {
  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": "string",
  4781. "description": "资金账户 - 格式:1,2,3",
  4782. "name": "accountID",
  4783. "in": "query",
  4784. "required": true
  4785. },
  4786. {
  4787. "type": "string",
  4788. "description": "交易模式 - 格式:1,2,3",
  4789. "name": "tradeMode",
  4790. "in": "query"
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/Quote/QueryHistoryDatas": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "行情服务"
  4821. ],
  4822. "summary": "查询行情历史数据",
  4823. "parameters": [
  4824. {
  4825. "type": "integer",
  4826. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4827. "name": "cycleType",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "string",
  4833. "description": "商品代码",
  4834. "name": "goodsCode",
  4835. "in": "query",
  4836. "required": true
  4837. },
  4838. {
  4839. "type": "string",
  4840. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4841. "name": "startTime",
  4842. "in": "query"
  4843. },
  4844. {
  4845. "type": "string",
  4846. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4847. "name": "endTime",
  4848. "in": "query"
  4849. },
  4850. {
  4851. "type": "integer",
  4852. "description": "条数",
  4853. "name": "count",
  4854. "in": "query"
  4855. },
  4856. {
  4857. "type": "boolean",
  4858. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4859. "name": "isAsc",
  4860. "in": "query"
  4861. }
  4862. ],
  4863. "responses": {
  4864. "200": {
  4865. "description": "OK",
  4866. "schema": {
  4867. "$ref": "#/definitions/quote.HistoryData"
  4868. }
  4869. },
  4870. "500": {
  4871. "description": "Internal Server Error",
  4872. "schema": {
  4873. "$ref": "#/definitions/app.Response"
  4874. }
  4875. }
  4876. }
  4877. }
  4878. },
  4879. "/Quote/QueryTSData": {
  4880. "get": {
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "行情服务"
  4886. ],
  4887. "summary": "分时图数据查询",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "商品代码",
  4892. "name": "goodsCode",
  4893. "in": "query",
  4894. "required": true
  4895. }
  4896. ],
  4897. "responses": {
  4898. "200": {
  4899. "description": "OK",
  4900. "schema": {
  4901. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4902. }
  4903. },
  4904. "500": {
  4905. "description": "Internal Server Error",
  4906. "schema": {
  4907. "$ref": "#/definitions/app.Response"
  4908. }
  4909. }
  4910. }
  4911. }
  4912. },
  4913. "/SZDZ/QueryConvertConfig": {
  4914. "get": {
  4915. "security": [
  4916. {
  4917. "ApiKeyAuth": []
  4918. }
  4919. ],
  4920. "produces": [
  4921. "application/json"
  4922. ],
  4923. "tags": [
  4924. "定制【尚志大宗】"
  4925. ],
  4926. "summary": "查询交易系统转换设置",
  4927. "parameters": [
  4928. {
  4929. "type": "integer",
  4930. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4931. "name": "convertType",
  4932. "in": "query"
  4933. },
  4934. {
  4935. "type": "string",
  4936. "description": "外部商品代码[JD\\PD]",
  4937. "name": "outerGoodsCode",
  4938. "in": "query"
  4939. },
  4940. {
  4941. "type": "string",
  4942. "description": "内部商品ID列表[交易],格式:1,2,3",
  4943. "name": "innerGoodsIDs",
  4944. "in": "query"
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/models.Szdz3convertconfig"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/SZDZ/QueryConvertLog": {
  4964. "get": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "定制【尚志大宗】"
  4975. ],
  4976. "summary": "交易系统转换流水查询",
  4977. "parameters": [
  4978. {
  4979. "type": "string",
  4980. "description": "资金账户 - 格式:1,2,3",
  4981. "name": "accountID",
  4982. "in": "query",
  4983. "required": true
  4984. },
  4985. {
  4986. "type": "string",
  4987. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4988. "name": "startDate",
  4989. "in": "query"
  4990. },
  4991. {
  4992. "type": "string",
  4993. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4994. "name": "endDate",
  4995. "in": "query"
  4996. }
  4997. ],
  4998. "responses": {
  4999. "200": {
  5000. "description": "OK",
  5001. "schema": {
  5002. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5003. }
  5004. },
  5005. "500": {
  5006. "description": "Internal Server Error",
  5007. "schema": {
  5008. "$ref": "#/definitions/app.Response"
  5009. }
  5010. }
  5011. }
  5012. }
  5013. },
  5014. "/SZDZ/QueryGoodsPickup": {
  5015. "get": {
  5016. "security": [
  5017. {
  5018. "ApiKeyAuth": []
  5019. }
  5020. ],
  5021. "produces": [
  5022. "application/json"
  5023. ],
  5024. "tags": [
  5025. "定制【尚志大宗】"
  5026. ],
  5027. "summary": "商品提货单查询",
  5028. "parameters": [
  5029. {
  5030. "type": "string",
  5031. "description": "资金账户 - 格式:1,2,3",
  5032. "name": "accountID",
  5033. "in": "query",
  5034. "required": true
  5035. },
  5036. {
  5037. "type": "integer",
  5038. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5039. "name": "takeOrderStatus",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5048. }
  5049. },
  5050. "500": {
  5051. "description": "Internal Server Error",
  5052. "schema": {
  5053. "$ref": "#/definitions/app.Response"
  5054. }
  5055. }
  5056. }
  5057. }
  5058. },
  5059. "/SZDZ/QueryRecieptOrder": {
  5060. "get": {
  5061. "security": [
  5062. {
  5063. "ApiKeyAuth": []
  5064. }
  5065. ],
  5066. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5067. "produces": [
  5068. "application/json"
  5069. ],
  5070. "tags": [
  5071. "定制【尚志大宗】"
  5072. ],
  5073. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5074. "parameters": [
  5075. {
  5076. "type": "integer",
  5077. "description": "页码",
  5078. "name": "page",
  5079. "in": "query"
  5080. },
  5081. {
  5082. "type": "integer",
  5083. "description": "每页条数",
  5084. "name": "pagesize",
  5085. "in": "query"
  5086. },
  5087. {
  5088. "type": "integer",
  5089. "description": "商品ID",
  5090. "name": "goodsID",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "string",
  5096. "description": "所属账户名称",
  5097. "name": "accountName",
  5098. "in": "query"
  5099. },
  5100. {
  5101. "type": "integer",
  5102. "description": "市场ID",
  5103. "name": "marketID",
  5104. "in": "query"
  5105. },
  5106. {
  5107. "type": "integer",
  5108. "description": "方向 - 0:买 1:卖",
  5109. "name": "buyorsell",
  5110. "in": "query",
  5111. "required": true
  5112. }
  5113. ],
  5114. "responses": {
  5115. "200": {
  5116. "description": "OK",
  5117. "schema": {
  5118. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5119. }
  5120. },
  5121. "500": {
  5122. "description": "Internal Server Error",
  5123. "schema": {
  5124. "$ref": "#/definitions/app.Response"
  5125. }
  5126. }
  5127. }
  5128. }
  5129. },
  5130. "/SZDZ/QuerySZDZTradePosition": {
  5131. "get": {
  5132. "security": [
  5133. {
  5134. "ApiKeyAuth": []
  5135. }
  5136. ],
  5137. "produces": [
  5138. "application/json"
  5139. ],
  5140. "tags": [
  5141. "定制【尚志大宗】"
  5142. ],
  5143. "summary": "持仓汇总查询(尚志大宗)",
  5144. "parameters": [
  5145. {
  5146. "type": "integer",
  5147. "description": "资金账户",
  5148. "name": "accountID",
  5149. "in": "query",
  5150. "required": true
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/SZDZ/SearchWhite": {
  5170. "get": {
  5171. "security": [
  5172. {
  5173. "ApiKeyAuth": []
  5174. }
  5175. ],
  5176. "produces": [
  5177. "application/json"
  5178. ],
  5179. "tags": [
  5180. "定制【尚志大宗】"
  5181. ],
  5182. "summary": "搜索白名单",
  5183. "parameters": [
  5184. {
  5185. "type": "integer",
  5186. "description": "用户ID",
  5187. "name": "userID",
  5188. "in": "query",
  5189. "required": true
  5190. }
  5191. ],
  5192. "responses": {
  5193. "200": {
  5194. "description": "OK",
  5195. "schema": {
  5196. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5197. }
  5198. },
  5199. "500": {
  5200. "description": "Internal Server Error",
  5201. "schema": {
  5202. "$ref": "#/definitions/app.Response"
  5203. }
  5204. }
  5205. }
  5206. }
  5207. },
  5208. "/Search/SearchGoodses": {
  5209. "get": {
  5210. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5211. "produces": [
  5212. "application/json"
  5213. ],
  5214. "tags": [
  5215. "检索服务"
  5216. ],
  5217. "summary": "检索商品信息",
  5218. "parameters": [
  5219. {
  5220. "type": "string",
  5221. "description": "检索内容",
  5222. "name": "content",
  5223. "in": "query",
  5224. "required": true
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "交易模式,格式:1,2,3",
  5229. "name": "tradeModes",
  5230. "in": "query"
  5231. }
  5232. ],
  5233. "responses": {
  5234. "200": {
  5235. "description": "OK",
  5236. "schema": {
  5237. "$ref": "#/definitions/models.SearchGoods"
  5238. }
  5239. },
  5240. "500": {
  5241. "description": "Internal Server Error",
  5242. "schema": {
  5243. "$ref": "#/definitions/app.Response"
  5244. }
  5245. }
  5246. }
  5247. }
  5248. },
  5249. "/TaAccount/GetTaAccounts": {
  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": "loginID",
  5268. "in": "query",
  5269. "required": true
  5270. },
  5271. {
  5272. "type": "integer",
  5273. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5274. "name": "taAccountType",
  5275. "in": "query"
  5276. }
  5277. ],
  5278. "responses": {
  5279. "200": {
  5280. "description": "OK",
  5281. "schema": {
  5282. "$ref": "#/definitions/models.Taaccount"
  5283. }
  5284. },
  5285. "500": {
  5286. "description": "Internal Server Error",
  5287. "schema": {
  5288. "$ref": "#/definitions/app.Response"
  5289. }
  5290. }
  5291. }
  5292. }
  5293. },
  5294. "/TaAccount/QueryAmountLog": {
  5295. "get": {
  5296. "security": [
  5297. {
  5298. "ApiKeyAuth": []
  5299. }
  5300. ],
  5301. "produces": [
  5302. "application/json"
  5303. ],
  5304. "tags": [
  5305. "资金账户"
  5306. ],
  5307. "summary": "资金流水查询(当前)",
  5308. "parameters": [
  5309. {
  5310. "type": "integer",
  5311. "description": "页码",
  5312. "name": "page",
  5313. "in": "query"
  5314. },
  5315. {
  5316. "type": "integer",
  5317. "description": "每页条数",
  5318. "name": "pagesize",
  5319. "in": "query"
  5320. },
  5321. {
  5322. "type": "string",
  5323. "description": "资金账户 - 格式:1,2,3",
  5324. "name": "accountID",
  5325. "in": "query",
  5326. "required": true
  5327. },
  5328. {
  5329. "type": "string",
  5330. "description": "资金操作类型 - 格式:1,2,3",
  5331. "name": "OperateType",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5340. }
  5341. },
  5342. "500": {
  5343. "description": "Internal Server Error",
  5344. "schema": {
  5345. "$ref": "#/definitions/app.Response"
  5346. }
  5347. }
  5348. }
  5349. }
  5350. },
  5351. "/TaAccount/QueryHisAmountLog": {
  5352. "get": {
  5353. "security": [
  5354. {
  5355. "ApiKeyAuth": []
  5356. }
  5357. ],
  5358. "produces": [
  5359. "application/json"
  5360. ],
  5361. "tags": [
  5362. "资金账户"
  5363. ],
  5364. "summary": "资金流水查询(历史)",
  5365. "parameters": [
  5366. {
  5367. "type": "integer",
  5368. "description": "页码",
  5369. "name": "page",
  5370. "in": "query"
  5371. },
  5372. {
  5373. "type": "integer",
  5374. "description": "每页条数",
  5375. "name": "pagesize",
  5376. "in": "query"
  5377. },
  5378. {
  5379. "type": "string",
  5380. "description": "资金账户 - 格式:1,2,3",
  5381. "name": "accountID",
  5382. "in": "query",
  5383. "required": true
  5384. },
  5385. {
  5386. "type": "string",
  5387. "description": "资金操作类型 - 格式:1,2,3",
  5388. "name": "OperateType",
  5389. "in": "query"
  5390. },
  5391. {
  5392. "type": "string",
  5393. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5394. "name": "startDate",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "string",
  5399. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5400. "name": "endDate",
  5401. "in": "query"
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5409. }
  5410. },
  5411. "500": {
  5412. "description": "Internal Server Error",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. }
  5417. }
  5418. }
  5419. },
  5420. "/Trade/QueryRecieptOrder": {
  5421. "get": {
  5422. "security": [
  5423. {
  5424. "ApiKeyAuth": []
  5425. }
  5426. ],
  5427. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5428. "produces": [
  5429. "application/json"
  5430. ],
  5431. "tags": [
  5432. "通用交易"
  5433. ],
  5434. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5435. "parameters": [
  5436. {
  5437. "type": "integer",
  5438. "description": "页码",
  5439. "name": "page",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "integer",
  5444. "description": "每页条数",
  5445. "name": "pagesize",
  5446. "in": "query"
  5447. },
  5448. {
  5449. "type": "integer",
  5450. "description": "商品ID",
  5451. "name": "goodsID",
  5452. "in": "query",
  5453. "required": true
  5454. },
  5455. {
  5456. "type": "string",
  5457. "description": "所属账户名称",
  5458. "name": "accountName",
  5459. "in": "query"
  5460. },
  5461. {
  5462. "type": "integer",
  5463. "description": "市场ID",
  5464. "name": "marketID",
  5465. "in": "query"
  5466. },
  5467. {
  5468. "type": "integer",
  5469. "description": "方向 - 0:买 1:卖",
  5470. "name": "buyorsell",
  5471. "in": "query",
  5472. "required": true
  5473. }
  5474. ],
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/User/AddMessageBoard": {
  5492. "post": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "用户信息"
  5503. ],
  5504. "summary": "添加用户留言板信息",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "用户ID",
  5509. "name": "userID",
  5510. "in": "query",
  5511. "required": true
  5512. },
  5513. {
  5514. "type": "string",
  5515. "description": "留言信息",
  5516. "name": "message",
  5517. "in": "query",
  5518. "required": true
  5519. }
  5520. ],
  5521. "responses": {
  5522. "200": {
  5523. "description": "OK",
  5524. "schema": {
  5525. "$ref": "#/definitions/app.Response"
  5526. }
  5527. },
  5528. "500": {
  5529. "description": "Internal Server Error",
  5530. "schema": {
  5531. "$ref": "#/definitions/app.Response"
  5532. }
  5533. }
  5534. }
  5535. }
  5536. },
  5537. "/User/AddUserFavoriteGoods": {
  5538. "post": {
  5539. "security": [
  5540. {
  5541. "ApiKeyAuth": []
  5542. }
  5543. ],
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "用户信息"
  5549. ],
  5550. "summary": "添加用户商品收藏信息",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "用户ID",
  5555. "name": "userID",
  5556. "in": "query",
  5557. "required": true
  5558. },
  5559. {
  5560. "type": "integer",
  5561. "description": "商品ID",
  5562. "name": "goodsID",
  5563. "in": "query",
  5564. "required": true
  5565. }
  5566. ],
  5567. "responses": {
  5568. "200": {
  5569. "description": "OK",
  5570. "schema": {
  5571. "$ref": "#/definitions/app.Response"
  5572. }
  5573. },
  5574. "500": {
  5575. "description": "Internal Server Error",
  5576. "schema": {
  5577. "$ref": "#/definitions/app.Response"
  5578. }
  5579. }
  5580. }
  5581. }
  5582. },
  5583. "/User/GetLoginID": {
  5584. "get": {
  5585. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "用户信息"
  5591. ],
  5592. "summary": "获取登录ID",
  5593. "parameters": [
  5594. {
  5595. "type": "string",
  5596. "description": "登录代码",
  5597. "name": "username",
  5598. "in": "query",
  5599. "required": true
  5600. }
  5601. ],
  5602. "responses": {
  5603. "200": {
  5604. "description": "OK",
  5605. "schema": {
  5606. "$ref": "#/definitions/app.Response"
  5607. }
  5608. },
  5609. "500": {
  5610. "description": "Internal Server Error",
  5611. "schema": {
  5612. "$ref": "#/definitions/app.Response"
  5613. }
  5614. }
  5615. }
  5616. }
  5617. },
  5618. "/User/GetUserAccount": {
  5619. "get": {
  5620. "security": [
  5621. {
  5622. "ApiKeyAuth": []
  5623. }
  5624. ],
  5625. "produces": [
  5626. "application/json"
  5627. ],
  5628. "tags": [
  5629. "用户信息"
  5630. ],
  5631. "summary": "获取用户账号信息",
  5632. "parameters": [
  5633. {
  5634. "type": "integer",
  5635. "description": "用户ID",
  5636. "name": "userID",
  5637. "in": "query",
  5638. "required": true
  5639. }
  5640. ],
  5641. "responses": {
  5642. "200": {
  5643. "description": "OK",
  5644. "schema": {
  5645. "$ref": "#/definitions/models.Useraccount"
  5646. }
  5647. },
  5648. "500": {
  5649. "description": "Internal Server Error",
  5650. "schema": {
  5651. "$ref": "#/definitions/app.Response"
  5652. }
  5653. }
  5654. }
  5655. }
  5656. },
  5657. "/User/GetUserAuthStatus": {
  5658. "get": {
  5659. "security": [
  5660. {
  5661. "ApiKeyAuth": []
  5662. }
  5663. ],
  5664. "produces": [
  5665. "application/json"
  5666. ],
  5667. "tags": [
  5668. "用户信息"
  5669. ],
  5670. "summary": "获取用户实名认证状态",
  5671. "parameters": [
  5672. {
  5673. "type": "integer",
  5674. "description": "用户ID",
  5675. "name": "userID",
  5676. "in": "query",
  5677. "required": true
  5678. }
  5679. ],
  5680. "responses": {
  5681. "200": {
  5682. "description": "OK",
  5683. "schema": {
  5684. "$ref": "#/definitions/app.Response"
  5685. }
  5686. },
  5687. "500": {
  5688. "description": "Internal Server Error",
  5689. "schema": {
  5690. "$ref": "#/definitions/app.Response"
  5691. }
  5692. }
  5693. }
  5694. }
  5695. },
  5696. "/User/QueryMessageBoard": {
  5697. "get": {
  5698. "security": [
  5699. {
  5700. "ApiKeyAuth": []
  5701. }
  5702. ],
  5703. "produces": [
  5704. "application/json"
  5705. ],
  5706. "tags": [
  5707. "用户信息"
  5708. ],
  5709. "summary": "获取用户留言板信息",
  5710. "parameters": [
  5711. {
  5712. "type": "integer",
  5713. "description": "用户ID",
  5714. "name": "userID",
  5715. "in": "query",
  5716. "required": true
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "$ref": "#/definitions/models.Messageboard"
  5724. }
  5725. },
  5726. "500": {
  5727. "description": "Internal Server Error",
  5728. "schema": {
  5729. "$ref": "#/definitions/app.Response"
  5730. }
  5731. }
  5732. }
  5733. }
  5734. },
  5735. "/User/QueryUserFavoriteGoodses": {
  5736. "get": {
  5737. "security": [
  5738. {
  5739. "ApiKeyAuth": []
  5740. }
  5741. ],
  5742. "produces": [
  5743. "application/json"
  5744. ],
  5745. "tags": [
  5746. "用户信息"
  5747. ],
  5748. "summary": "获取用户商品收藏信息",
  5749. "parameters": [
  5750. {
  5751. "type": "integer",
  5752. "description": "用户ID",
  5753. "name": "userID",
  5754. "in": "query",
  5755. "required": true
  5756. }
  5757. ],
  5758. "responses": {
  5759. "200": {
  5760. "description": "OK",
  5761. "schema": {
  5762. "$ref": "#/definitions/models.Userfavoritegoods"
  5763. }
  5764. },
  5765. "500": {
  5766. "description": "Internal Server Error",
  5767. "schema": {
  5768. "$ref": "#/definitions/app.Response"
  5769. }
  5770. }
  5771. }
  5772. }
  5773. },
  5774. "/User/QueryUserInfo": {
  5775. "get": {
  5776. "security": [
  5777. {
  5778. "ApiKeyAuth": []
  5779. }
  5780. ],
  5781. "produces": [
  5782. "application/json"
  5783. ],
  5784. "tags": [
  5785. "用户信息"
  5786. ],
  5787. "summary": "获取用户信息",
  5788. "parameters": [
  5789. {
  5790. "type": "integer",
  5791. "description": "用户ID",
  5792. "name": "userID",
  5793. "in": "query",
  5794. "required": true
  5795. }
  5796. ],
  5797. "responses": {
  5798. "200": {
  5799. "description": "OK",
  5800. "schema": {
  5801. "$ref": "#/definitions/models.Userinfo"
  5802. }
  5803. },
  5804. "500": {
  5805. "description": "Internal Server Error",
  5806. "schema": {
  5807. "$ref": "#/definitions/app.Response"
  5808. }
  5809. }
  5810. }
  5811. }
  5812. },
  5813. "/User/QueryUserReferNum": {
  5814. "get": {
  5815. "produces": [
  5816. "application/json"
  5817. ],
  5818. "tags": [
  5819. "用户信息"
  5820. ],
  5821. "summary": "获取用户邀请码",
  5822. "parameters": [
  5823. {
  5824. "type": "integer",
  5825. "description": "用户ID",
  5826. "name": "userID",
  5827. "in": "query",
  5828. "required": true
  5829. }
  5830. ],
  5831. "responses": {
  5832. "200": {
  5833. "description": "OK",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. },
  5838. "500": {
  5839. "description": "Internal Server Error",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. }
  5844. }
  5845. }
  5846. },
  5847. "/User/RemoveUserFavoriteGoods": {
  5848. "post": {
  5849. "security": [
  5850. {
  5851. "ApiKeyAuth": []
  5852. }
  5853. ],
  5854. "produces": [
  5855. "application/json"
  5856. ],
  5857. "tags": [
  5858. "用户信息"
  5859. ],
  5860. "summary": "移除用户商品收藏信息",
  5861. "parameters": [
  5862. {
  5863. "type": "integer",
  5864. "description": "用户ID",
  5865. "name": "userID",
  5866. "in": "query",
  5867. "required": true
  5868. },
  5869. {
  5870. "type": "integer",
  5871. "description": "商品ID",
  5872. "name": "goodsID",
  5873. "in": "query",
  5874. "required": true
  5875. }
  5876. ],
  5877. "responses": {
  5878. "200": {
  5879. "description": "OK",
  5880. "schema": {
  5881. "$ref": "#/definitions/app.Response"
  5882. }
  5883. },
  5884. "500": {
  5885. "description": "Internal Server Error",
  5886. "schema": {
  5887. "$ref": "#/definitions/app.Response"
  5888. }
  5889. }
  5890. }
  5891. }
  5892. },
  5893. "/User/UpdateUserAccountStatus": {
  5894. "post": {
  5895. "security": [
  5896. {
  5897. "ApiKeyAuth": []
  5898. }
  5899. ],
  5900. "produces": [
  5901. "application/json"
  5902. ],
  5903. "tags": [
  5904. "用户信息"
  5905. ],
  5906. "summary": "更新用户状态",
  5907. "parameters": [
  5908. {
  5909. "type": "integer",
  5910. "description": "用户ID",
  5911. "name": "userID",
  5912. "in": "query",
  5913. "required": true
  5914. },
  5915. {
  5916. "type": "integer",
  5917. "description": "账户状态 - 4:正常 6:注销(停用)",
  5918. "name": "accountStatus",
  5919. "in": "query",
  5920. "required": true
  5921. }
  5922. ],
  5923. "responses": {
  5924. "200": {
  5925. "description": "OK",
  5926. "schema": {
  5927. "$ref": "#/definitions/app.Response"
  5928. }
  5929. },
  5930. "500": {
  5931. "description": "Internal Server Error",
  5932. "schema": {
  5933. "$ref": "#/definitions/app.Response"
  5934. }
  5935. }
  5936. }
  5937. }
  5938. },
  5939. "/WR/GetWRCategoryInfo": {
  5940. "get": {
  5941. "produces": [
  5942. "application/json"
  5943. ],
  5944. "tags": [
  5945. "仓单服务"
  5946. ],
  5947. "summary": "获取现货分类信息",
  5948. "responses": {
  5949. "200": {
  5950. "description": "OK",
  5951. "schema": {
  5952. "$ref": "#/definitions/models.WRCategoryTree"
  5953. }
  5954. },
  5955. "500": {
  5956. "description": "Internal Server Error",
  5957. "schema": {
  5958. "$ref": "#/definitions/app.Response"
  5959. }
  5960. }
  5961. }
  5962. }
  5963. },
  5964. "/WRTrade/GetAllDeliveryGoods": {
  5965. "get": {
  5966. "security": [
  5967. {
  5968. "ApiKeyAuth": []
  5969. },
  5970. {
  5971. "ApiKeyAuth": []
  5972. }
  5973. ],
  5974. "produces": [
  5975. "application/json",
  5976. "application/json"
  5977. ],
  5978. "tags": [
  5979. "仓单贸易",
  5980. "仓单贸易"
  5981. ],
  5982. "summary": "获取带仓单分类的种类信息",
  5983. "responses": {
  5984. "200": {
  5985. "description": "OK",
  5986. "schema": {
  5987. "$ref": "#/definitions/app.Response"
  5988. }
  5989. },
  5990. "500": {
  5991. "description": "Internal Server Error",
  5992. "schema": {
  5993. "$ref": "#/definitions/app.Response"
  5994. }
  5995. }
  5996. }
  5997. }
  5998. }
  5999. },
  6000. "definitions": {
  6001. "app.Response": {
  6002. "type": "object",
  6003. "properties": {
  6004. "code": {
  6005. "type": "integer"
  6006. },
  6007. "data": {
  6008. "type": "object"
  6009. },
  6010. "msg": {
  6011. "type": "string"
  6012. },
  6013. "page": {
  6014. "description": "页码",
  6015. "type": "integer"
  6016. },
  6017. "pagesize": {
  6018. "description": "每页条数",
  6019. "type": "integer"
  6020. },
  6021. "total": {
  6022. "description": "总条数",
  6023. "type": "integer"
  6024. }
  6025. }
  6026. },
  6027. "common.QueryNoticeRsp": {
  6028. "type": "object",
  6029. "required": [
  6030. "autoid"
  6031. ],
  6032. "properties": {
  6033. "auditoruserid": {
  6034. "description": "审核人",
  6035. "type": "integer"
  6036. },
  6037. "auditremark": {
  6038. "description": "审核备注",
  6039. "type": "string"
  6040. },
  6041. "audittime": {
  6042. "description": "审核日期",
  6043. "type": "string"
  6044. },
  6045. "autoid": {
  6046. "description": "自增ID",
  6047. "type": "integer"
  6048. },
  6049. "content": {
  6050. "description": "内容",
  6051. "type": "string"
  6052. },
  6053. "createtime": {
  6054. "description": "创建时间",
  6055. "type": "string"
  6056. },
  6057. "creatorid": {
  6058. "description": "建仓人",
  6059. "type": "integer"
  6060. },
  6061. "endtime": {
  6062. "description": "结束时间",
  6063. "type": "string"
  6064. },
  6065. "istop": {
  6066. "description": "是否置顶 - 0:不置顶 1:置顶",
  6067. "type": "integer"
  6068. },
  6069. "msgiconurl": {
  6070. "description": "消息图标Url",
  6071. "type": "string"
  6072. },
  6073. "msgtype": {
  6074. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6075. "type": "integer"
  6076. },
  6077. "publisher": {
  6078. "description": "消息发布者",
  6079. "type": "string"
  6080. },
  6081. "readed": {
  6082. "description": "是否已读",
  6083. "type": "boolean"
  6084. },
  6085. "scheduletime": {
  6086. "description": "计划发送时间",
  6087. "type": "string"
  6088. },
  6089. "sendtype": {
  6090. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6091. "type": "integer"
  6092. },
  6093. "sentstatus": {
  6094. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6095. "type": "integer"
  6096. },
  6097. "title": {
  6098. "description": "标题",
  6099. "type": "string"
  6100. },
  6101. "userid": {
  6102. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6103. "type": "integer"
  6104. }
  6105. }
  6106. },
  6107. "common.QueryProvincesAndCitiesRsp": {
  6108. "type": "object",
  6109. "properties": {
  6110. "cities": {
  6111. "description": "市",
  6112. "type": "array",
  6113. "items": {
  6114. "$ref": "#/definitions/models.Division"
  6115. }
  6116. },
  6117. "province": {
  6118. "description": "省",
  6119. "$ref": "#/definitions/models.Division"
  6120. }
  6121. }
  6122. },
  6123. "common.QueryTableDefineRsp": {
  6124. "type": "object",
  6125. "required": [
  6126. "tablekey"
  6127. ],
  6128. "properties": {
  6129. "columns": {
  6130. "description": "列头信息数组",
  6131. "type": "array",
  6132. "items": {
  6133. "$ref": "#/definitions/models.Tablecolumnconfig"
  6134. }
  6135. },
  6136. "remark": {
  6137. "description": "Remark",
  6138. "type": "string"
  6139. },
  6140. "tabelmenu": {
  6141. "description": "列表菜单",
  6142. "type": "string"
  6143. },
  6144. "tablekey": {
  6145. "description": "列表Key",
  6146. "type": "string"
  6147. },
  6148. "tablename": {
  6149. "description": "列表名称",
  6150. "type": "string"
  6151. },
  6152. "tabletype": {
  6153. "description": "列表类型 - 1:管理端 2:终端",
  6154. "type": "integer"
  6155. }
  6156. }
  6157. },
  6158. "common.QueryTraderMenuRsp": {
  6159. "type": "object",
  6160. "properties": {
  6161. "OperationMenu": {
  6162. "description": "功能菜单",
  6163. "type": "array",
  6164. "items": {
  6165. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6166. }
  6167. },
  6168. "QuoteMenu": {
  6169. "description": "报价牌分类菜单",
  6170. "type": "array",
  6171. "items": {
  6172. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6173. }
  6174. }
  6175. }
  6176. },
  6177. "cptrade.Cptradepositioncancel": {
  6178. "type": "object",
  6179. "required": [
  6180. "cancelid"
  6181. ],
  6182. "properties": {
  6183. "accountid": {
  6184. "description": "申请人账户ID",
  6185. "type": "integer"
  6186. },
  6187. "applystatus": {
  6188. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6189. "type": "integer"
  6190. },
  6191. "applytime": {
  6192. "description": "申请时间",
  6193. "type": "string"
  6194. },
  6195. "cancelid": {
  6196. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6197. "type": "integer"
  6198. },
  6199. "cancelqty": {
  6200. "description": "注销数量",
  6201. "type": "integer"
  6202. },
  6203. "createtime": {
  6204. "description": "创建时间",
  6205. "type": "string"
  6206. },
  6207. "creatorid": {
  6208. "description": "创建人ID",
  6209. "type": "integer"
  6210. },
  6211. "creatorname": {
  6212. "description": "创建人",
  6213. "type": "string"
  6214. },
  6215. "goodscode": {
  6216. "description": "订单商品代码",
  6217. "type": "string"
  6218. },
  6219. "goodsid": {
  6220. "description": "商品ID",
  6221. "type": "integer"
  6222. },
  6223. "goodsname": {
  6224. "description": "订单商品名称",
  6225. "type": "string"
  6226. },
  6227. "goodunit": {
  6228. "description": "报价单位",
  6229. "type": "string"
  6230. },
  6231. "handlestatus": {
  6232. "description": "处理状态",
  6233. "type": "integer"
  6234. },
  6235. "marketid": {
  6236. "description": "市场ID",
  6237. "type": "integer"
  6238. },
  6239. "marketname": {
  6240. "description": "市场名称",
  6241. "type": "string"
  6242. },
  6243. "tradedate": {
  6244. "description": "交易日(yyyyMMdd)",
  6245. "type": "string"
  6246. },
  6247. "userid": {
  6248. "description": "申请人ID",
  6249. "type": "integer"
  6250. }
  6251. }
  6252. },
  6253. "cptrade.Cptradepresaleapply": {
  6254. "type": "object",
  6255. "required": [
  6256. "applyid"
  6257. ],
  6258. "properties": {
  6259. "accountid": {
  6260. "description": "申请人账户ID",
  6261. "type": "integer"
  6262. },
  6263. "applyid": {
  6264. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6265. "type": "integer"
  6266. },
  6267. "applyremark": {
  6268. "description": "申请备注",
  6269. "type": "string"
  6270. },
  6271. "applystatus": {
  6272. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6273. "type": "integer"
  6274. },
  6275. "applytime": {
  6276. "description": "申请时间",
  6277. "type": "string"
  6278. },
  6279. "attachmenturl": {
  6280. "description": "附件地址",
  6281. "type": "string"
  6282. },
  6283. "endtime": {
  6284. "description": "预售结束时间",
  6285. "type": "string"
  6286. },
  6287. "goodscode": {
  6288. "description": "商品代码",
  6289. "type": "string"
  6290. },
  6291. "goodsid": {
  6292. "description": "商品ID",
  6293. "type": "integer"
  6294. },
  6295. "goodsname": {
  6296. "description": "商品名称",
  6297. "type": "string"
  6298. },
  6299. "goodunit": {
  6300. "description": "报价单位",
  6301. "type": "string"
  6302. },
  6303. "handlestatus": {
  6304. "description": "处理状态",
  6305. "type": "integer"
  6306. },
  6307. "marketid": {
  6308. "description": "预售市场ID",
  6309. "type": "integer"
  6310. },
  6311. "marketname": {
  6312. "description": "预售市场名称",
  6313. "type": "string"
  6314. },
  6315. "presaleqty": {
  6316. "description": "预售数量",
  6317. "type": "integer"
  6318. },
  6319. "relatedgoodscode": {
  6320. "description": "关联交易合约代码",
  6321. "type": "string"
  6322. },
  6323. "relatedgoodsid": {
  6324. "description": "关联交易合约ID",
  6325. "type": "integer"
  6326. },
  6327. "relatedgoodsname": {
  6328. "description": "关联交易合约名称",
  6329. "type": "string"
  6330. },
  6331. "starttime": {
  6332. "description": "预售开始时间",
  6333. "type": "string"
  6334. },
  6335. "tradedate": {
  6336. "description": "交易日(yyyyMMdd)",
  6337. "type": "string"
  6338. },
  6339. "trademode": {
  6340. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6341. "type": "integer"
  6342. },
  6343. "userid": {
  6344. "description": "申请人ID",
  6345. "type": "integer"
  6346. }
  6347. }
  6348. },
  6349. "cptrade.Cptradeusergoodsdata": {
  6350. "type": "object",
  6351. "required": [
  6352. "accountid",
  6353. "goodsid"
  6354. ],
  6355. "properties": {
  6356. "EnabledQty": {
  6357. "description": "可用量",
  6358. "type": "integer"
  6359. },
  6360. "GoodsCode": {
  6361. "description": "订单商品代码",
  6362. "type": "string"
  6363. },
  6364. "GoodsName": {
  6365. "description": "订单商品名称",
  6366. "type": "string"
  6367. },
  6368. "WRStandardCode": {
  6369. "description": "仓单标准代码",
  6370. "type": "string"
  6371. },
  6372. "WRStandardName": {
  6373. "description": "仓单标准名称",
  6374. "type": "string"
  6375. },
  6376. "accountid": {
  6377. "description": "账户ID",
  6378. "type": "integer"
  6379. },
  6380. "cancelqty": {
  6381. "description": "注销量",
  6382. "type": "integer"
  6383. },
  6384. "curpresaleqty": {
  6385. "description": "当前预售量",
  6386. "type": "integer"
  6387. },
  6388. "deliveryqty": {
  6389. "description": "交割量",
  6390. "type": "integer"
  6391. },
  6392. "freezeamount": {
  6393. "description": "冻结金额",
  6394. "type": "number"
  6395. },
  6396. "goodsid": {
  6397. "description": "商品ID",
  6398. "type": "integer"
  6399. },
  6400. "goodunit": {
  6401. "description": "报价单位",
  6402. "type": "string"
  6403. },
  6404. "hasspotfreeze": {
  6405. "description": "是否有现货冻结 - 0:否 1:有",
  6406. "type": "integer"
  6407. },
  6408. "inqty": {
  6409. "description": "转入量(总数量)",
  6410. "type": "integer"
  6411. },
  6412. "marketid": {
  6413. "description": "市场ID",
  6414. "type": "integer"
  6415. },
  6416. "presaledamount": {
  6417. "description": "已预售总金额",
  6418. "type": "integer"
  6419. },
  6420. "presaledqty": {
  6421. "description": "已预售量",
  6422. "type": "integer"
  6423. },
  6424. "userid": {
  6425. "description": "用户ID",
  6426. "type": "integer"
  6427. },
  6428. "wrstandardid": {
  6429. "description": "仓单标准ID",
  6430. "type": "integer"
  6431. }
  6432. }
  6433. },
  6434. "cptrade.QueryCPTradeMyBidRsp": {
  6435. "type": "object",
  6436. "required": [
  6437. "accountid",
  6438. "goodsid",
  6439. "marketid",
  6440. "orderid",
  6441. "orderqty",
  6442. "ordertime",
  6443. "tradeprice",
  6444. "tradeqty"
  6445. ],
  6446. "properties": {
  6447. "accountid": {
  6448. "description": "账户ID[报价币种]",
  6449. "type": "integer"
  6450. },
  6451. "goodsid": {
  6452. "description": "商品ID",
  6453. "type": "integer"
  6454. },
  6455. "goodunit": {
  6456. "description": "报价单位",
  6457. "type": "string"
  6458. },
  6459. "marketid": {
  6460. "description": "市场ID",
  6461. "type": "integer"
  6462. },
  6463. "orderid": {
  6464. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6465. "type": "integer"
  6466. },
  6467. "orderprice": {
  6468. "description": "委托价格",
  6469. "type": "number"
  6470. },
  6471. "orderqty": {
  6472. "description": "委托数量",
  6473. "type": "integer"
  6474. },
  6475. "ordertime": {
  6476. "description": "委托时间",
  6477. "type": "string"
  6478. },
  6479. "ordertotalprice": {
  6480. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6481. "type": "number"
  6482. },
  6483. "ordertotalweight": {
  6484. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6485. "type": "integer"
  6486. },
  6487. "totaltotalprice": {
  6488. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6489. "type": "number"
  6490. },
  6491. "tradeprice": {
  6492. "description": "成交价格",
  6493. "type": "number"
  6494. },
  6495. "tradeqty": {
  6496. "description": "成交数量",
  6497. "type": "integer"
  6498. }
  6499. }
  6500. },
  6501. "cptrade.QueryCPTradeOrderDetailRsq": {
  6502. "type": "object",
  6503. "required": [
  6504. "accountid",
  6505. "buildtype",
  6506. "buyorsell",
  6507. "goodsid",
  6508. "marketid",
  6509. "memberuserid",
  6510. "operatetype",
  6511. "orderqty",
  6512. "ordertime",
  6513. "pricemode",
  6514. "strorderid",
  6515. "tradedate",
  6516. "validtype"
  6517. ],
  6518. "properties": {
  6519. "accountid": {
  6520. "description": "账户ID[报价币种]",
  6521. "type": "integer"
  6522. },
  6523. "buildtype": {
  6524. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6525. "type": "integer"
  6526. },
  6527. "buyorsell": {
  6528. "description": "买卖 - 0:买 1:卖",
  6529. "type": "integer"
  6530. },
  6531. "cancelorderid": {
  6532. "description": "撤单单号(撤单时填写)",
  6533. "type": "integer"
  6534. },
  6535. "cancelqty": {
  6536. "description": "撤单数量",
  6537. "type": "integer"
  6538. },
  6539. "clientordertime": {
  6540. "description": "客户端委托时间",
  6541. "type": "string"
  6542. },
  6543. "clientticket": {
  6544. "description": "客户端流水号",
  6545. "type": "string"
  6546. },
  6547. "clienttype": {
  6548. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6549. "type": "integer"
  6550. },
  6551. "closeexchagechargevalue": {
  6552. "description": "平仓交易所手续费设置值",
  6553. "type": "number"
  6554. },
  6555. "closefeealgorithm": {
  6556. "description": "平仓手续费收取方式 1:比率 2:固定",
  6557. "type": "integer"
  6558. },
  6559. "closefreezecharge": {
  6560. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6561. "type": "number"
  6562. },
  6563. "closememberchargevalue": {
  6564. "description": "平仓会员手续费设置值",
  6565. "type": "number"
  6566. },
  6567. "closeqty": {
  6568. "description": "平仓数量(先建后平操作 需要记录)",
  6569. "type": "integer"
  6570. },
  6571. "closetradeqty": {
  6572. "description": "平仓成交数量(先建后平操作,需要记录)",
  6573. "type": "integer"
  6574. },
  6575. "closeunfreezecharge": {
  6576. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6577. "type": "number"
  6578. },
  6579. "delistingtype": {
  6580. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6581. "type": "integer"
  6582. },
  6583. "freezecharge": {
  6584. "description": "冻结手续费",
  6585. "type": "number"
  6586. },
  6587. "freezemargin": {
  6588. "description": "冻结保证金(冻结交易金额)",
  6589. "type": "number"
  6590. },
  6591. "gcaccountid": {
  6592. "description": "账户ID[合约币种]",
  6593. "type": "integer"
  6594. },
  6595. "goodsid": {
  6596. "description": "商品ID",
  6597. "type": "integer"
  6598. },
  6599. "isconfirmexercise": {
  6600. "description": "是否确认行权- 0:否 1:是",
  6601. "type": "integer"
  6602. },
  6603. "ispreexercise": {
  6604. "description": "是否预申报- 0:否 1:是",
  6605. "type": "integer"
  6606. },
  6607. "listingselecttype": {
  6608. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6609. "type": "integer"
  6610. },
  6611. "marginalgorithm": {
  6612. "description": "保证金收取方式 1:比率 2:固定",
  6613. "type": "integer"
  6614. },
  6615. "marginvalue": {
  6616. "description": "即市保证金设置值",
  6617. "type": "number"
  6618. },
  6619. "marketid": {
  6620. "description": "市场ID",
  6621. "type": "integer"
  6622. },
  6623. "marketmaxsub": {
  6624. "description": "市价最大偏移范围",
  6625. "type": "number"
  6626. },
  6627. "memberuserid": {
  6628. "description": "所属会员UserID",
  6629. "type": "integer"
  6630. },
  6631. "openexchagechargevalue": {
  6632. "description": "建仓交易所手续费设置值",
  6633. "type": "number"
  6634. },
  6635. "openfeealgorithm": {
  6636. "description": "建仓手续费收取方式 1:比率 2:固定",
  6637. "type": "integer"
  6638. },
  6639. "openfreezecharge": {
  6640. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6641. "type": "number"
  6642. },
  6643. "openmemberchargevalue": {
  6644. "description": "建仓会员手续费设置值",
  6645. "type": "number"
  6646. },
  6647. "openqty": {
  6648. "description": "开仓数量(先建后平操作,需要记录)",
  6649. "type": "integer"
  6650. },
  6651. "opentradeqty": {
  6652. "description": "开仓成交数量(先建后平操作,需要记录)",
  6653. "type": "integer"
  6654. },
  6655. "openunfreezecharge": {
  6656. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6657. "type": "number"
  6658. },
  6659. "operatetype": {
  6660. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6661. "type": "integer"
  6662. },
  6663. "operatorid": {
  6664. "description": "登录账号(LoginID)",
  6665. "type": "integer"
  6666. },
  6667. "optiontype": {
  6668. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6669. "type": "integer"
  6670. },
  6671. "orderprice": {
  6672. "description": "委托价格",
  6673. "type": "number"
  6674. },
  6675. "orderqty": {
  6676. "description": "委托数量",
  6677. "type": "integer"
  6678. },
  6679. "ordersrc": {
  6680. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6681. "type": "integer"
  6682. },
  6683. "orderstatus": {
  6684. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6685. "type": "integer"
  6686. },
  6687. "ordertime": {
  6688. "description": "委托时间",
  6689. "type": "string"
  6690. },
  6691. "preexerciseprice": {
  6692. "description": "预申报价格",
  6693. "type": "number"
  6694. },
  6695. "premium": {
  6696. "description": "权利金",
  6697. "type": "number"
  6698. },
  6699. "preorderid": {
  6700. "description": "关联预埋单号(止盈止损单时填写)",
  6701. "type": "integer"
  6702. },
  6703. "pricemode": {
  6704. "description": "取价方式 - 1:市价 2: 限价",
  6705. "type": "integer"
  6706. },
  6707. "quoteid": {
  6708. "description": "报价单ID",
  6709. "type": "integer"
  6710. },
  6711. "relatedid": {
  6712. "description": "关联单号(交割单)",
  6713. "type": "integer"
  6714. },
  6715. "retcode": {
  6716. "description": "错误代码",
  6717. "type": "integer"
  6718. },
  6719. "sessionid": {
  6720. "description": "会话ID",
  6721. "type": "integer"
  6722. },
  6723. "strorderid": {
  6724. "description": "委托单号",
  6725. "type": "string"
  6726. },
  6727. "tradedate": {
  6728. "description": "交易日(yyyyMMdd)",
  6729. "type": "string"
  6730. },
  6731. "tradeproperty": {
  6732. "description": "交易属性",
  6733. "type": "integer"
  6734. },
  6735. "tradeqty": {
  6736. "description": "成交数量",
  6737. "type": "integer"
  6738. },
  6739. "unfreezecharge": {
  6740. "description": "解冻手续费",
  6741. "type": "number"
  6742. },
  6743. "unfreezemargin": {
  6744. "description": "解冻保证金",
  6745. "type": "number"
  6746. },
  6747. "updatetime": {
  6748. "description": "更新时间",
  6749. "type": "string"
  6750. },
  6751. "uuid": {
  6752. "description": "发起端唯一id",
  6753. "type": "string"
  6754. },
  6755. "validtime": {
  6756. "description": "有效期限",
  6757. "type": "string"
  6758. },
  6759. "validtype": {
  6760. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6761. "type": "integer"
  6762. },
  6763. "volumetype": {
  6764. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6765. "type": "integer"
  6766. }
  6767. }
  6768. },
  6769. "cptrade.QueryMyCPTradeGoodsRsp": {
  6770. "type": "object",
  6771. "required": [
  6772. "goodscode",
  6773. "goodsid",
  6774. "goodsname",
  6775. "marketid",
  6776. "relatedgoodscode",
  6777. "relatedgoodsname"
  6778. ],
  6779. "properties": {
  6780. "accountid": {
  6781. "description": "卖方账户ID",
  6782. "type": "integer"
  6783. },
  6784. "agreeunit": {
  6785. "description": "合约单位",
  6786. "type": "number"
  6787. },
  6788. "applyid": {
  6789. "description": "关联申请ID",
  6790. "type": "integer"
  6791. },
  6792. "attachmenturl": {
  6793. "description": "附件地址",
  6794. "type": "string"
  6795. },
  6796. "createtime": {
  6797. "description": "创建时间",
  6798. "type": "string"
  6799. },
  6800. "currencyid": {
  6801. "description": "报价货币ID",
  6802. "type": "integer"
  6803. },
  6804. "decimalplace": {
  6805. "description": "报价小数位",
  6806. "type": "integer"
  6807. },
  6808. "endtime": {
  6809. "description": "预售结束时间",
  6810. "type": "string"
  6811. },
  6812. "floorprice": {
  6813. "description": "底价[大宗式竞拍]",
  6814. "type": "number"
  6815. },
  6816. "goodscode": {
  6817. "description": "商品代码(预售)",
  6818. "type": "string"
  6819. },
  6820. "goodsdetail": {
  6821. "description": "详情[大宗]",
  6822. "type": "string"
  6823. },
  6824. "goodsid": {
  6825. "description": "商品ID(自增ID SEQ_GOODS)",
  6826. "type": "integer"
  6827. },
  6828. "goodsname": {
  6829. "description": "商品名称(预售)",
  6830. "type": "string"
  6831. },
  6832. "goodunit": {
  6833. "description": "报价单位",
  6834. "type": "string"
  6835. },
  6836. "goodunitid": {
  6837. "description": "报价单位ID",
  6838. "type": "integer"
  6839. },
  6840. "marketid": {
  6841. "description": "所属市场ID",
  6842. "type": "integer"
  6843. },
  6844. "marketname": {
  6845. "description": "预售市场名称",
  6846. "type": "string"
  6847. },
  6848. "presaledamount": {
  6849. "description": "已预售总金额(预售结束时更新)",
  6850. "type": "number"
  6851. },
  6852. "presaledqty": {
  6853. "description": "已预售量(预售结束时更新)",
  6854. "type": "integer"
  6855. },
  6856. "presalemode": {
  6857. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6858. "type": "integer"
  6859. },
  6860. "presaleqty": {
  6861. "description": "预售数量",
  6862. "type": "integer"
  6863. },
  6864. "refprice": {
  6865. "description": "参考价格[一口价]",
  6866. "type": "number"
  6867. },
  6868. "relatedgoodscode": {
  6869. "description": "商品代码(订单)",
  6870. "type": "string"
  6871. },
  6872. "relatedgoodsid": {
  6873. "description": "关联交易合约ID",
  6874. "type": "integer"
  6875. },
  6876. "relatedgoodsname": {
  6877. "description": "商品名称(订单)",
  6878. "type": "string"
  6879. },
  6880. "relatedmarketid": {
  6881. "description": "关联交易合约市场ID",
  6882. "type": "integer"
  6883. },
  6884. "sellstatus": {
  6885. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6886. "type": "integer"
  6887. },
  6888. "startprice": {
  6889. "description": "起拍价[大宗式竞拍]",
  6890. "type": "number"
  6891. },
  6892. "starttime": {
  6893. "description": "预售开始时间",
  6894. "type": "string"
  6895. },
  6896. "tradedate": {
  6897. "description": "交易日(yyyyMMdd)",
  6898. "type": "string"
  6899. },
  6900. "tradeprice": {
  6901. "description": "成交价[大宗]",
  6902. "type": "number"
  6903. },
  6904. "userid": {
  6905. "description": "卖方用户ID",
  6906. "type": "integer"
  6907. }
  6908. }
  6909. },
  6910. "cptrade.QueryPresaleGoodsExRsp": {
  6911. "type": "object",
  6912. "required": [
  6913. "goodsid"
  6914. ],
  6915. "properties": {
  6916. "attachmenturl": {
  6917. "description": "附件地址",
  6918. "type": "string"
  6919. },
  6920. "createtime": {
  6921. "description": "创建时间",
  6922. "type": "string"
  6923. },
  6924. "endtime": {
  6925. "description": "预售结束时间",
  6926. "type": "string"
  6927. },
  6928. "floorprice": {
  6929. "description": "底价[大宗式竞拍]",
  6930. "type": "number"
  6931. },
  6932. "goodsdetail": {
  6933. "description": "详情[大宗]",
  6934. "type": "string"
  6935. },
  6936. "goodsid": {
  6937. "description": "商品ID(预售)",
  6938. "type": "integer"
  6939. },
  6940. "goodunit": {
  6941. "description": "报价单位",
  6942. "type": "string"
  6943. },
  6944. "marketid": {
  6945. "description": "预售市场ID - 根据预售模式选择市场",
  6946. "type": "integer"
  6947. },
  6948. "presaledamount": {
  6949. "description": "已预售总金额(预售结束时更新)",
  6950. "type": "number"
  6951. },
  6952. "presaledqty": {
  6953. "description": "已预售量(预售结束时更新)",
  6954. "type": "integer"
  6955. },
  6956. "presalemode": {
  6957. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6958. "type": "integer"
  6959. },
  6960. "presaleqty": {
  6961. "description": "预售数量",
  6962. "type": "integer"
  6963. },
  6964. "refprice": {
  6965. "description": "参考价格[一口价]",
  6966. "type": "number"
  6967. },
  6968. "relatedgoodsid": {
  6969. "description": "关联交易合约ID",
  6970. "type": "integer"
  6971. },
  6972. "relatedmarketid": {
  6973. "description": "关联交易合约市场ID",
  6974. "type": "integer"
  6975. },
  6976. "sellstatus": {
  6977. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6978. "type": "integer"
  6979. },
  6980. "startprice": {
  6981. "description": "起拍价[大宗式竞拍]",
  6982. "type": "number"
  6983. },
  6984. "starttime": {
  6985. "description": "预售开始时间",
  6986. "type": "string"
  6987. },
  6988. "tradedate": {
  6989. "description": "交易日(yyyyMMdd)",
  6990. "type": "string"
  6991. },
  6992. "tradeprice": {
  6993. "description": "成交价[大宗]",
  6994. "type": "number"
  6995. }
  6996. }
  6997. },
  6998. "delivery.QueryDeliveryRelationRsp": {
  6999. "type": "object",
  7000. "required": [
  7001. "begindate",
  7002. "enddate",
  7003. "goodsid",
  7004. "mindeliveryqty",
  7005. "xdeliveryratio"
  7006. ],
  7007. "properties": {
  7008. "begindate": {
  7009. "description": "起始日期(yyyyMMdd)",
  7010. "type": "string"
  7011. },
  7012. "buytemplateid": {
  7013. "description": "买履约计划模板ID",
  7014. "type": "integer"
  7015. },
  7016. "deliverygoodscode": {
  7017. "description": "品种代码",
  7018. "type": "string"
  7019. },
  7020. "deliverygoodsid": {
  7021. "description": "交割商品",
  7022. "type": "integer"
  7023. },
  7024. "deliverygoodsname": {
  7025. "description": "品种名称",
  7026. "type": "string"
  7027. },
  7028. "deliverymode": {
  7029. "description": "交割方式 - 1:点选式 2:申报式",
  7030. "type": "integer"
  7031. },
  7032. "deliverypricerule": {
  7033. "description": "交割价规则- 1:行情价 2:建仓价",
  7034. "type": "integer"
  7035. },
  7036. "deliverytype": {
  7037. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7038. "type": "integer"
  7039. },
  7040. "enddate": {
  7041. "description": "结束日期(yyyyMMdd)",
  7042. "type": "string"
  7043. },
  7044. "goodscode": {
  7045. "description": "商品代码",
  7046. "type": "string"
  7047. },
  7048. "goodsid": {
  7049. "description": "交易合约ID",
  7050. "type": "integer"
  7051. },
  7052. "goodsname": {
  7053. "description": "商品名称",
  7054. "type": "string"
  7055. },
  7056. "marketid": {
  7057. "description": "市场ID",
  7058. "type": "integer"
  7059. },
  7060. "mindeliveryqty": {
  7061. "description": "最小交割系数(K)",
  7062. "type": "integer"
  7063. },
  7064. "p2deliveryprice": {
  7065. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7066. "type": "number"
  7067. },
  7068. "p2deliveryratio": {
  7069. "description": "P2合约系数(p)",
  7070. "type": "integer"
  7071. },
  7072. "p2goodsid": {
  7073. "description": "P2合约ID",
  7074. "type": "integer"
  7075. },
  7076. "p2pricemode": {
  7077. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7078. "type": "integer"
  7079. },
  7080. "pdeliveryprice": {
  7081. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7082. "type": "number"
  7083. },
  7084. "pdeliveryratio": {
  7085. "description": "P合约系数(n)",
  7086. "type": "integer"
  7087. },
  7088. "pgoodsid": {
  7089. "description": "P合约ID",
  7090. "type": "integer"
  7091. },
  7092. "ppricemode": {
  7093. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7094. "type": "integer"
  7095. },
  7096. "rratio": {
  7097. "description": "兑换系数(R)",
  7098. "type": "integer"
  7099. },
  7100. "rratio1": {
  7101. "description": "兑换系数(交易合约)(R1)",
  7102. "type": "integer"
  7103. },
  7104. "rratio2": {
  7105. "description": "兑换系数(仓单标准)(R2)",
  7106. "type": "integer"
  7107. },
  7108. "selltemplateid": {
  7109. "description": "卖履约计划模板ID",
  7110. "type": "integer"
  7111. },
  7112. "wrstandardid": {
  7113. "description": "仓单标准ID",
  7114. "type": "integer"
  7115. },
  7116. "xdeliveryratio": {
  7117. "description": "交易合约系数(m)",
  7118. "type": "integer"
  7119. }
  7120. }
  7121. },
  7122. "ermcp.ExposureDetailRsp": {
  7123. "type": "object",
  7124. "properties": {
  7125. "areauserid": {
  7126. "description": "机构ID",
  7127. "type": "integer"
  7128. },
  7129. "changeQty": {
  7130. "description": "套保变动量",
  7131. "type": "number"
  7132. },
  7133. "contracttype": {
  7134. "description": "现货合同类型 - 1:采购 -1:销售",
  7135. "type": "integer"
  7136. },
  7137. "convertfactor": {
  7138. "description": "标仓系数",
  7139. "type": "number"
  7140. },
  7141. "convertratio": {
  7142. "description": "套保系数",
  7143. "type": "number"
  7144. },
  7145. "createtime": {
  7146. "description": "时间",
  7147. "type": "string"
  7148. },
  7149. "enumdicname": {
  7150. "description": "现货商品单位名称",
  7151. "type": "string"
  7152. },
  7153. "logtype": {
  7154. "description": "类型 - 1:套保计划 2:现货合同",
  7155. "type": "integer"
  7156. },
  7157. "middlegoodsId": {
  7158. "description": "套保商品id",
  7159. "type": "integer"
  7160. },
  7161. "middlegoodscode": {
  7162. "description": "套保商品代码",
  7163. "type": "string"
  7164. },
  7165. "middlegoodsname": {
  7166. "description": "套保商品名称",
  7167. "type": "string"
  7168. },
  7169. "qty": {
  7170. "description": "数量",
  7171. "type": "number"
  7172. },
  7173. "relateNo": {
  7174. "description": "现货合同/套保计划编号",
  7175. "type": "string"
  7176. },
  7177. "wrstandardcode": {
  7178. "description": "现货商品代码",
  7179. "type": "string"
  7180. },
  7181. "wrstandardid": {
  7182. "description": "现货商品ID",
  7183. "type": "integer"
  7184. },
  7185. "wrstandardname": {
  7186. "description": "现货商品名称",
  7187. "type": "string"
  7188. }
  7189. }
  7190. },
  7191. "ermcp.ExposureHedgePosDetailRsp": {
  7192. "type": "object",
  7193. "properties": {
  7194. "buyorsell": {
  7195. "description": "买卖方向 0-买 1-卖",
  7196. "type": "integer"
  7197. },
  7198. "channelbuildtype": {
  7199. "description": "开平方向 1-建仓 2-平仓",
  7200. "type": "integer"
  7201. },
  7202. "goodscode": {
  7203. "description": "商品代码",
  7204. "type": "string"
  7205. },
  7206. "goodsname": {
  7207. "description": "商品名称",
  7208. "type": "string"
  7209. },
  7210. "hedgegoodsid": {
  7211. "description": "商品id",
  7212. "type": "integer"
  7213. },
  7214. "tradeqty": {
  7215. "description": "数量(成交数量)",
  7216. "type": "integer"
  7217. },
  7218. "tradetime": {
  7219. "description": "时间(成交时间)",
  7220. "type": "string"
  7221. }
  7222. }
  7223. },
  7224. "ermcp.ExposureHedgePositionRsp": {
  7225. "type": "object",
  7226. "properties": {
  7227. "accountid": {
  7228. "description": "资金账号[外部母账户]",
  7229. "type": "integer"
  7230. },
  7231. "curbuyposition": {
  7232. "description": "期末买头寸",
  7233. "type": "integer"
  7234. },
  7235. "cursellposition": {
  7236. "description": "期末卖头寸",
  7237. "type": "integer"
  7238. },
  7239. "curtdbuyposition": {
  7240. "description": "期末今日买头寸",
  7241. "type": "integer"
  7242. },
  7243. "curtdsellposition": {
  7244. "description": "期末今日卖头寸",
  7245. "type": "integer"
  7246. },
  7247. "curydbuyposition": {
  7248. "description": "期末上日买头寸",
  7249. "type": "integer"
  7250. },
  7251. "curydsellposition": {
  7252. "description": "期末上日卖头寸",
  7253. "type": "integer"
  7254. },
  7255. "decreaseqty": {
  7256. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7257. "type": "integer"
  7258. },
  7259. "fretdbuyposition": {
  7260. "description": "冻结今日买头寸",
  7261. "type": "integer"
  7262. },
  7263. "fretdsellposition": {
  7264. "description": "冻结今日卖头寸",
  7265. "type": "integer"
  7266. },
  7267. "freydbuyposition": {
  7268. "description": "冻结上日买头寸",
  7269. "type": "integer"
  7270. },
  7271. "freydsellposition": {
  7272. "description": "冻结上日卖头寸",
  7273. "type": "integer"
  7274. },
  7275. "goodscode": {
  7276. "description": "商品代码",
  7277. "type": "string"
  7278. },
  7279. "goodsid": {
  7280. "description": "商品id",
  7281. "type": "integer"
  7282. },
  7283. "goodsname": {
  7284. "description": "商品名称",
  7285. "type": "string"
  7286. },
  7287. "hedgeaccountcode": {
  7288. "description": "对冲账号",
  7289. "type": "string"
  7290. },
  7291. "hedgegoodsid": {
  7292. "description": "对冲合约ID",
  7293. "type": "integer"
  7294. },
  7295. "increaseqty": {
  7296. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7297. "type": "integer"
  7298. },
  7299. "marketid": {
  7300. "description": "市场ID",
  7301. "type": "integer"
  7302. },
  7303. "relateduserid": {
  7304. "description": "关联用户id",
  7305. "type": "integer"
  7306. },
  7307. "totalcurqty": {
  7308. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7309. "type": "integer"
  7310. },
  7311. "totalydqty": {
  7312. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7313. "type": "integer"
  7314. },
  7315. "tradedate": {
  7316. "description": "交易日(yyyyMMdd)",
  7317. "type": "string"
  7318. },
  7319. "ydbuyposition": {
  7320. "description": "期初买头寸",
  7321. "type": "integer"
  7322. },
  7323. "ydsellposition": {
  7324. "description": "期初卖头寸",
  7325. "type": "integer"
  7326. }
  7327. }
  7328. },
  7329. "ermcp.ExposureSpotDetailRsp": {
  7330. "type": "object",
  7331. "properties": {
  7332. "contracttype": {
  7333. "description": "合同类型 1-采购 -1-销售",
  7334. "type": "integer"
  7335. },
  7336. "createtime": {
  7337. "description": "创建时间",
  7338. "type": "string"
  7339. },
  7340. "enumdicname": {
  7341. "description": "现货商品单位名称",
  7342. "type": "string"
  7343. },
  7344. "logtype": {
  7345. "description": "记录类型 1-套保 2-现货合同",
  7346. "type": "integer"
  7347. },
  7348. "qty": {
  7349. "description": "数量",
  7350. "type": "number"
  7351. },
  7352. "recordname": {
  7353. "description": "类型名称",
  7354. "type": "string"
  7355. },
  7356. "relatedid": {
  7357. "description": "套保计划ID/现货合同ID",
  7358. "type": "string"
  7359. },
  7360. "relatedno": {
  7361. "description": "编号",
  7362. "type": "string"
  7363. },
  7364. "strtime": {
  7365. "description": "时间",
  7366. "type": "string"
  7367. },
  7368. "wrstandardcode": {
  7369. "description": "现货商品代码",
  7370. "type": "string"
  7371. },
  7372. "wrstandardname": {
  7373. "description": "现货商品名称",
  7374. "type": "string"
  7375. }
  7376. }
  7377. },
  7378. "ermcp.ExposureSpotRsp": {
  7379. "type": "object",
  7380. "properties": {
  7381. "areauserid": {
  7382. "description": "所属机构",
  7383. "type": "integer"
  7384. },
  7385. "decreaseqty": {
  7386. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7387. "type": "number"
  7388. },
  7389. "increaseqty": {
  7390. "description": "增加数量=销售计划数量+采购已定价数量",
  7391. "type": "number"
  7392. },
  7393. "oritoalspotqty": {
  7394. "description": "昨日数量",
  7395. "type": "number"
  7396. },
  7397. "totalspotqty": {
  7398. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7399. "type": "number"
  7400. },
  7401. "updatetime": {
  7402. "description": "更新时间",
  7403. "type": "string"
  7404. },
  7405. "wrstandardcode": {
  7406. "description": "现货品种代码",
  7407. "type": "string"
  7408. },
  7409. "wrstandardid": {
  7410. "description": "现货商品ID",
  7411. "type": "integer"
  7412. },
  7413. "wrstandardname": {
  7414. "description": "现货品种",
  7415. "type": "string"
  7416. }
  7417. }
  7418. },
  7419. "ermcp.HisExposureRsp": {
  7420. "type": "object",
  7421. "properties": {
  7422. "data": {
  7423. "description": "历史敞口",
  7424. "type": "array",
  7425. "items": {
  7426. "$ref": "#/definitions/models.ErmcpHisExposure"
  7427. }
  7428. },
  7429. "enumdicname": {
  7430. "description": "单位名称",
  7431. "type": "string"
  7432. },
  7433. "middlegoodscode": {
  7434. "description": "套保品种代码",
  7435. "type": "string"
  7436. },
  7437. "middlegoodsid": {
  7438. "description": "套保品种ID",
  7439. "type": "integer"
  7440. },
  7441. "middlegoodsname": {
  7442. "description": "套保品种名称",
  7443. "type": "string"
  7444. }
  7445. }
  7446. },
  7447. "ermcp.QryAvalidGPRsp": {
  7448. "type": "object",
  7449. "properties": {
  7450. "goodsgroupid": {
  7451. "description": "期货品种id",
  7452. "type": "integer"
  7453. },
  7454. "goodsgroupname": {
  7455. "description": "期货品种名称",
  7456. "type": "string"
  7457. },
  7458. "goodunitid": {
  7459. "description": "品种单位id",
  7460. "type": "integer"
  7461. },
  7462. "goodunitname": {
  7463. "description": "品种单位名称",
  7464. "type": "string"
  7465. },
  7466. "outergroupcode": {
  7467. "description": "期货品种代码",
  7468. "type": "string"
  7469. }
  7470. }
  7471. },
  7472. "ermcp.QryBusinessDjRsp": {
  7473. "type": "object",
  7474. "properties": {
  7475. "amount": {
  7476. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7477. "type": "number"
  7478. },
  7479. "applyid": {
  7480. "description": "申请人",
  7481. "type": "string"
  7482. },
  7483. "applyname": {
  7484. "description": "申请人名称",
  7485. "type": "string"
  7486. },
  7487. "applystatus": {
  7488. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7489. "type": "integer"
  7490. },
  7491. "applytime": {
  7492. "description": "申请时间",
  7493. "type": "string"
  7494. },
  7495. "attachurl": {
  7496. "description": "附件",
  7497. "type": "string"
  7498. },
  7499. "auditname": {
  7500. "description": "审核人名称",
  7501. "type": "string"
  7502. },
  7503. "audittime": {
  7504. "description": "审核时间",
  7505. "type": "string"
  7506. },
  7507. "buyusername": {
  7508. "description": "采购方名称",
  7509. "type": "string"
  7510. },
  7511. "contractno": {
  7512. "description": "合同编号",
  7513. "type": "string"
  7514. },
  7515. "contractstatus": {
  7516. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7517. "type": "integer"
  7518. },
  7519. "contracttype": {
  7520. "description": "现货合同类型 - 1:采购 -1:销售",
  7521. "type": "integer"
  7522. },
  7523. "enumdicname": {
  7524. "description": "单位名称",
  7525. "type": "string"
  7526. },
  7527. "goodscode": {
  7528. "description": "点价合约",
  7529. "type": "string"
  7530. },
  7531. "goodsname": {
  7532. "description": "商品名称",
  7533. "type": "string"
  7534. },
  7535. "operateapplyid": {
  7536. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7537. "type": "string"
  7538. },
  7539. "operateapplytype": {
  7540. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7541. "type": "integer"
  7542. },
  7543. "pricedPrice": {
  7544. "description": "点价价格(非必填)",
  7545. "type": "number"
  7546. },
  7547. "pricedQty": {
  7548. "description": "点价数量(非必填)",
  7549. "type": "number"
  7550. },
  7551. "pricemove": {
  7552. "description": "升贴水",
  7553. "type": "number"
  7554. },
  7555. "pricetype": {
  7556. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7557. "type": "integer"
  7558. },
  7559. "relatedid": {
  7560. "description": "现货合同ID",
  7561. "type": "string"
  7562. },
  7563. "sellusername": {
  7564. "description": "销售方名字",
  7565. "type": "string"
  7566. },
  7567. "userid": {
  7568. "description": "用户ID",
  7569. "type": "integer"
  7570. }
  7571. }
  7572. },
  7573. "ermcp.QryBussinessFpRsp": {
  7574. "type": "object",
  7575. "properties": {
  7576. "applyid": {
  7577. "description": "申请人",
  7578. "type": "string"
  7579. },
  7580. "applyname": {
  7581. "description": "申请人名称",
  7582. "type": "string"
  7583. },
  7584. "applystatus": {
  7585. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7586. "type": "integer"
  7587. },
  7588. "applytime": {
  7589. "description": "申请时间",
  7590. "type": "string"
  7591. },
  7592. "attachurl": {
  7593. "description": "附件",
  7594. "type": "string"
  7595. },
  7596. "auditname": {
  7597. "description": "审核人名称",
  7598. "type": "string"
  7599. },
  7600. "audittime": {
  7601. "description": "审核时间",
  7602. "type": "string"
  7603. },
  7604. "buyusername": {
  7605. "description": "采购方名称",
  7606. "type": "string"
  7607. },
  7608. "contractno": {
  7609. "description": "合同编号",
  7610. "type": "string"
  7611. },
  7612. "contractstatus": {
  7613. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7614. "type": "integer"
  7615. },
  7616. "contracttype": {
  7617. "description": "现货合同类型 - 1:采购 -1:销售",
  7618. "type": "integer"
  7619. },
  7620. "enumdicname": {
  7621. "description": "单位名称",
  7622. "type": "string"
  7623. },
  7624. "goodscode": {
  7625. "description": "点价合约",
  7626. "type": "string"
  7627. },
  7628. "goodsname": {
  7629. "description": "商品名称",
  7630. "type": "string"
  7631. },
  7632. "invoiceAmount": {
  7633. "description": "已开收票金额(销售为开票,采购为收票)",
  7634. "type": "number"
  7635. },
  7636. "operateapplyid": {
  7637. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7638. "type": "string"
  7639. },
  7640. "operateapplytype": {
  7641. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7642. "type": "integer"
  7643. },
  7644. "pricemove": {
  7645. "description": "升贴水",
  7646. "type": "number"
  7647. },
  7648. "pricetype": {
  7649. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7650. "type": "integer"
  7651. },
  7652. "relatedid": {
  7653. "description": "现货合同ID",
  7654. "type": "string"
  7655. },
  7656. "sellusername": {
  7657. "description": "销售方名字",
  7658. "type": "string"
  7659. },
  7660. "userid": {
  7661. "description": "用户ID",
  7662. "type": "integer"
  7663. }
  7664. }
  7665. },
  7666. "ermcp.QryBussinessJsExRsp": {
  7667. "type": "object",
  7668. "properties": {
  7669. "applyid": {
  7670. "description": "申请人",
  7671. "type": "string"
  7672. },
  7673. "applyname": {
  7674. "description": "申请人名称",
  7675. "type": "string"
  7676. },
  7677. "applystatus": {
  7678. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7679. "type": "integer"
  7680. },
  7681. "applytime": {
  7682. "description": "申请时间",
  7683. "type": "string"
  7684. },
  7685. "attachurl": {
  7686. "description": "附件",
  7687. "type": "string"
  7688. },
  7689. "auditname": {
  7690. "description": "审核人名称",
  7691. "type": "string"
  7692. },
  7693. "audittime": {
  7694. "description": "审核时间",
  7695. "type": "string"
  7696. },
  7697. "buyusername": {
  7698. "description": "采购方名称",
  7699. "type": "string"
  7700. },
  7701. "contractno": {
  7702. "description": "合同编号",
  7703. "type": "string"
  7704. },
  7705. "contractstatus": {
  7706. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7707. "type": "integer"
  7708. },
  7709. "contracttype": {
  7710. "description": "现货合同类型 - 1:采购 -1:销售",
  7711. "type": "integer"
  7712. },
  7713. "enumdicname": {
  7714. "description": "单位名称",
  7715. "type": "string"
  7716. },
  7717. "goodscode": {
  7718. "description": "点价合约",
  7719. "type": "string"
  7720. },
  7721. "goodsname": {
  7722. "description": "商品名称",
  7723. "type": "string"
  7724. },
  7725. "operateapplyid": {
  7726. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7727. "type": "string"
  7728. },
  7729. "operateapplytype": {
  7730. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7731. "type": "integer"
  7732. },
  7733. "pricemove": {
  7734. "description": "升贴水",
  7735. "type": "number"
  7736. },
  7737. "pricetype": {
  7738. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7739. "type": "integer"
  7740. },
  7741. "reckontype": {
  7742. "description": "结算类型",
  7743. "type": "string"
  7744. },
  7745. "reckonvalue": {
  7746. "description": "值",
  7747. "type": "number"
  7748. },
  7749. "relatedid": {
  7750. "description": "现货合同ID",
  7751. "type": "string"
  7752. },
  7753. "sellusername": {
  7754. "description": "销售方名字",
  7755. "type": "string"
  7756. },
  7757. "userid": {
  7758. "description": "用户ID",
  7759. "type": "integer"
  7760. }
  7761. }
  7762. },
  7763. "ermcp.QryBussinessJsRsp": {
  7764. "type": "object",
  7765. "properties": {
  7766. "addmargin": {
  7767. "description": "追加保证金(非必填)",
  7768. "type": "number"
  7769. },
  7770. "applyid": {
  7771. "description": "申请人",
  7772. "type": "string"
  7773. },
  7774. "applyname": {
  7775. "description": "申请人名称",
  7776. "type": "string"
  7777. },
  7778. "applystatus": {
  7779. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7780. "type": "integer"
  7781. },
  7782. "applytime": {
  7783. "description": "申请时间",
  7784. "type": "string"
  7785. },
  7786. "attachurl": {
  7787. "description": "附件",
  7788. "type": "string"
  7789. },
  7790. "auditname": {
  7791. "description": "审核人名称",
  7792. "type": "string"
  7793. },
  7794. "audittime": {
  7795. "description": "审核时间",
  7796. "type": "string"
  7797. },
  7798. "buyusername": {
  7799. "description": "采购方名称",
  7800. "type": "string"
  7801. },
  7802. "contractno": {
  7803. "description": "合同编号",
  7804. "type": "string"
  7805. },
  7806. "contractstatus": {
  7807. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7808. "type": "integer"
  7809. },
  7810. "contracttype": {
  7811. "description": "现货合同类型 - 1:采购 -1:销售",
  7812. "type": "integer"
  7813. },
  7814. "decmargin": {
  7815. "description": "减少保证金(非必填)",
  7816. "type": "number"
  7817. },
  7818. "enumdicname": {
  7819. "description": "单位名称",
  7820. "type": "string"
  7821. },
  7822. "goodscode": {
  7823. "description": "点价合约",
  7824. "type": "string"
  7825. },
  7826. "goodsname": {
  7827. "description": "商品名称",
  7828. "type": "string"
  7829. },
  7830. "operateapplyid": {
  7831. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7832. "type": "string"
  7833. },
  7834. "operateapplytype": {
  7835. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7836. "type": "integer"
  7837. },
  7838. "pricemove": {
  7839. "description": "升贴水",
  7840. "type": "number"
  7841. },
  7842. "pricetype": {
  7843. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7844. "type": "integer"
  7845. },
  7846. "reckonadjustamount": {
  7847. "description": "结算调整金额(非必填)",
  7848. "type": "number"
  7849. },
  7850. "reckonosamount": {
  7851. "description": "结算溢短金额(非必填)",
  7852. "type": "number"
  7853. },
  7854. "reckonotheramount": {
  7855. "description": "结算其他费用(非必填)",
  7856. "type": "number"
  7857. },
  7858. "reckonrealqty": {
  7859. "description": "结算实际数量(非必填)",
  7860. "type": "number"
  7861. },
  7862. "relatedid": {
  7863. "description": "现货合同ID",
  7864. "type": "string"
  7865. },
  7866. "sellusername": {
  7867. "description": "销售方名字",
  7868. "type": "string"
  7869. },
  7870. "userid": {
  7871. "description": "用户ID",
  7872. "type": "integer"
  7873. }
  7874. }
  7875. },
  7876. "ermcp.QryBussinessKxRsp": {
  7877. "type": "object",
  7878. "properties": {
  7879. "applyid": {
  7880. "description": "申请人",
  7881. "type": "string"
  7882. },
  7883. "applyname": {
  7884. "description": "申请人名称",
  7885. "type": "string"
  7886. },
  7887. "applystatus": {
  7888. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7889. "type": "integer"
  7890. },
  7891. "applytime": {
  7892. "description": "申请时间",
  7893. "type": "string"
  7894. },
  7895. "attachurl": {
  7896. "description": "附件",
  7897. "type": "string"
  7898. },
  7899. "auditname": {
  7900. "description": "审核人名称",
  7901. "type": "string"
  7902. },
  7903. "audittime": {
  7904. "description": "审核时间",
  7905. "type": "string"
  7906. },
  7907. "buyusername": {
  7908. "description": "采购方名称",
  7909. "type": "string"
  7910. },
  7911. "contractno": {
  7912. "description": "合同编号",
  7913. "type": "string"
  7914. },
  7915. "contractstatus": {
  7916. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7917. "type": "integer"
  7918. },
  7919. "contracttype": {
  7920. "description": "现货合同类型 - 1:采购 -1:销售",
  7921. "type": "integer"
  7922. },
  7923. "deductamount": {
  7924. "description": "退款(非必填)",
  7925. "type": "number"
  7926. },
  7927. "enumdicname": {
  7928. "description": "单位名称",
  7929. "type": "string"
  7930. },
  7931. "goodscode": {
  7932. "description": "点价合约",
  7933. "type": "string"
  7934. },
  7935. "goodsname": {
  7936. "description": "商品名称",
  7937. "type": "string"
  7938. },
  7939. "kxtype": {
  7940. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7941. "type": "integer"
  7942. },
  7943. "operateapplyid": {
  7944. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7945. "type": "string"
  7946. },
  7947. "operateapplytype": {
  7948. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7949. "type": "integer"
  7950. },
  7951. "payamount": {
  7952. "description": "收付款(非必填)",
  7953. "type": "number"
  7954. },
  7955. "pricemove": {
  7956. "description": "升贴水",
  7957. "type": "number"
  7958. },
  7959. "pricetype": {
  7960. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7961. "type": "integer"
  7962. },
  7963. "relatedid": {
  7964. "description": "现货合同ID",
  7965. "type": "string"
  7966. },
  7967. "sellusername": {
  7968. "description": "销售方名字",
  7969. "type": "string"
  7970. },
  7971. "userid": {
  7972. "description": "用户ID",
  7973. "type": "integer"
  7974. }
  7975. }
  7976. },
  7977. "ermcp.QryErmcpRsp": {
  7978. "type": "object",
  7979. "properties": {
  7980. "accountname": {
  7981. "description": "账户名称",
  7982. "type": "string"
  7983. },
  7984. "attachment": {
  7985. "description": "附件",
  7986. "type": "string"
  7987. },
  7988. "audittime": {
  7989. "description": "审核时间",
  7990. "type": "string"
  7991. },
  7992. "contracctstatus": {
  7993. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7994. "type": "integer"
  7995. },
  7996. "contractmargin": {
  7997. "description": "合同保证金",
  7998. "type": "number"
  7999. },
  8000. "contractno": {
  8001. "description": "合同编号",
  8002. "type": "string"
  8003. },
  8004. "contracttype": {
  8005. "description": "合同类型 1-采购, -1-销售",
  8006. "type": "integer"
  8007. },
  8008. "convertfactor": {
  8009. "description": "标仓系数",
  8010. "type": "number"
  8011. },
  8012. "createtime": {
  8013. "description": "创建时间",
  8014. "type": "string"
  8015. },
  8016. "daikaiamount": {
  8017. "description": "待开票额",
  8018. "type": "number"
  8019. },
  8020. "deliveryenddate": {
  8021. "description": "交割结束日",
  8022. "type": "string"
  8023. },
  8024. "deliverygoodscode": {
  8025. "description": "现货商品代码",
  8026. "type": "string"
  8027. },
  8028. "deliverygoodsid": {
  8029. "description": "现货商品ID",
  8030. "type": "integer"
  8031. },
  8032. "deliverygoodsname": {
  8033. "description": "现货商品名称",
  8034. "type": "string"
  8035. },
  8036. "deliverystartdate": {
  8037. "description": "交割开始日",
  8038. "type": "string"
  8039. },
  8040. "enddate": {
  8041. "description": "点价结束日",
  8042. "type": "string"
  8043. },
  8044. "enumdicname": {
  8045. "description": "单位名称",
  8046. "type": "string"
  8047. },
  8048. "goodscode": {
  8049. "description": "点价商品代码",
  8050. "type": "string"
  8051. },
  8052. "goodsid": {
  8053. "description": "点价商品ID",
  8054. "type": "integer"
  8055. },
  8056. "goodsname": {
  8057. "description": "点价商品名称",
  8058. "type": "string"
  8059. },
  8060. "invoiceamount": {
  8061. "description": "已开票额",
  8062. "type": "number"
  8063. },
  8064. "loanamount": {
  8065. "description": "贷款总额=已定价额+调整金额",
  8066. "type": "number"
  8067. },
  8068. "margin": {
  8069. "description": "保证金",
  8070. "type": "number"
  8071. },
  8072. "payamount": {
  8073. "description": "已收付额(收款或付款)",
  8074. "type": "number"
  8075. },
  8076. "price": {
  8077. "description": "价格",
  8078. "type": "number"
  8079. },
  8080. "pricedamount": {
  8081. "description": "已定价额",
  8082. "type": "number"
  8083. },
  8084. "pricedavg": {
  8085. "description": "已点均价",
  8086. "type": "number"
  8087. },
  8088. "pricedqty": {
  8089. "description": "已定价量",
  8090. "type": "number"
  8091. },
  8092. "pricemove": {
  8093. "description": "升贴水",
  8094. "type": "number"
  8095. },
  8096. "pricetype": {
  8097. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8098. "type": "integer"
  8099. },
  8100. "producttype": {
  8101. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8102. "type": "integer"
  8103. },
  8104. "qty": {
  8105. "description": "合同量",
  8106. "type": "number"
  8107. },
  8108. "reckonadjustamount": {
  8109. "description": "调整金额",
  8110. "type": "number"
  8111. },
  8112. "reckonedamount": {
  8113. "description": "已收付额(已确定额)",
  8114. "type": "number"
  8115. },
  8116. "reckonotheramount": {
  8117. "description": "其它费用",
  8118. "type": "number"
  8119. },
  8120. "reckonrealqty": {
  8121. "description": "已确定量",
  8122. "type": "number"
  8123. },
  8124. "remark": {
  8125. "description": "备注",
  8126. "type": "string"
  8127. },
  8128. "spotcontractid": {
  8129. "description": "合同ID",
  8130. "type": "string"
  8131. },
  8132. "spotgoodsdesc": {
  8133. "description": "商品型号(商品规格)",
  8134. "type": "string"
  8135. },
  8136. "startdate": {
  8137. "description": "点价开始日",
  8138. "type": "string"
  8139. },
  8140. "totalamount": {
  8141. "description": "合计总额",
  8142. "type": "number"
  8143. },
  8144. "unpayamount": {
  8145. "description": "待支收额(支付或收款)",
  8146. "type": "number"
  8147. },
  8148. "unpricedqty": {
  8149. "description": "未定价量",
  8150. "type": "number"
  8151. },
  8152. "unsureqty": {
  8153. "description": "未确定量",
  8154. "type": "number"
  8155. },
  8156. "userid": {
  8157. "description": "用户ID",
  8158. "type": "integer"
  8159. }
  8160. }
  8161. },
  8162. "ermcp.QryGGCovertCfgRsp": {
  8163. "type": "object",
  8164. "properties": {
  8165. "convertratio": {
  8166. "description": "折算系数",
  8167. "type": "number"
  8168. },
  8169. "destgoodsgroupid": {
  8170. "description": "目标品种ID",
  8171. "type": "integer"
  8172. },
  8173. "dstcode": {
  8174. "description": "目录品种代码",
  8175. "type": "string"
  8176. },
  8177. "dstname": {
  8178. "description": "目标品种名称",
  8179. "type": "string"
  8180. },
  8181. "dstunitid": {
  8182. "description": "目标品种单位ID",
  8183. "type": "integer"
  8184. },
  8185. "dstunitidname": {
  8186. "description": "目标品种单位名称",
  8187. "type": "string"
  8188. },
  8189. "srccode": {
  8190. "description": "源品种代码",
  8191. "type": "string"
  8192. },
  8193. "srcgoodsgroupid": {
  8194. "description": "源品种ID",
  8195. "type": "integer"
  8196. },
  8197. "srcname": {
  8198. "description": "源品种名称",
  8199. "type": "string"
  8200. },
  8201. "srcunitid": {
  8202. "description": "源品种单位ID",
  8203. "type": "integer"
  8204. },
  8205. "srcunitidname": {
  8206. "description": "源品种单位名称",
  8207. "type": "string"
  8208. }
  8209. }
  8210. },
  8211. "ermcp.QryHedgePlanRsp": {
  8212. "type": "object",
  8213. "properties": {
  8214. "areauserid": {
  8215. "description": "用户ID",
  8216. "type": "integer"
  8217. },
  8218. "contracttype": {
  8219. "description": "计划类型 - 1:采购 -1:销售",
  8220. "type": "integer"
  8221. },
  8222. "convertfactor": {
  8223. "description": "标仓系数",
  8224. "type": "number"
  8225. },
  8226. "createtime": {
  8227. "description": "创建时间",
  8228. "type": "string"
  8229. },
  8230. "deliverygoodsid": {
  8231. "description": "现货品种ID",
  8232. "type": "integer"
  8233. },
  8234. "deliverygoodsname": {
  8235. "description": "现货品种名称",
  8236. "type": "string"
  8237. },
  8238. "hedgeplanid": {
  8239. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8240. "type": "string"
  8241. },
  8242. "hedgeplanno": {
  8243. "description": "套保计划编号(名称)",
  8244. "type": "string"
  8245. },
  8246. "hedgeplanstatus": {
  8247. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8248. "type": "integer"
  8249. },
  8250. "planqty": {
  8251. "description": "计划数量",
  8252. "type": "number"
  8253. },
  8254. "plantime": {
  8255. "description": "计划时间",
  8256. "type": "string"
  8257. },
  8258. "producttype": {
  8259. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8260. "type": "integer"
  8261. },
  8262. "remark": {
  8263. "description": "备注",
  8264. "type": "string"
  8265. },
  8266. "spotgoodsdesc": {
  8267. "description": "商品型号",
  8268. "type": "string"
  8269. },
  8270. "wrstandardid": {
  8271. "description": "现货商品ID",
  8272. "type": "integer"
  8273. },
  8274. "wrstandardname": {
  8275. "description": "现货商品名称",
  8276. "type": "string"
  8277. }
  8278. }
  8279. },
  8280. "ermcp.QryMGChangeLogRsp": {
  8281. "type": "object",
  8282. "properties": {
  8283. "aftervalue": {
  8284. "description": "变更后",
  8285. "type": "number"
  8286. },
  8287. "applyid": {
  8288. "description": "操作人",
  8289. "type": "integer"
  8290. },
  8291. "applyname": {
  8292. "description": "操作人名称",
  8293. "type": "string"
  8294. },
  8295. "applysrc": {
  8296. "description": "操作来源 - 1:管理端 2:终端",
  8297. "type": "integer"
  8298. },
  8299. "beforevalue": {
  8300. "description": "变更前",
  8301. "type": "number"
  8302. },
  8303. "changelogtype": {
  8304. "description": "变更流水类型 - 1:套保比率变更",
  8305. "type": "integer"
  8306. },
  8307. "handlestatus": {
  8308. "description": "处理状态",
  8309. "type": "integer"
  8310. },
  8311. "logdatetime": {
  8312. "description": "流水日期",
  8313. "type": "string"
  8314. },
  8315. "logid": {
  8316. "description": "流水ID",
  8317. "type": "integer"
  8318. },
  8319. "logremark": {
  8320. "description": "流水备注",
  8321. "type": "string"
  8322. },
  8323. "middlegoodsid": {
  8324. "description": "套保品种ID",
  8325. "type": "integer"
  8326. },
  8327. "tradedate": {
  8328. "description": "交易日(yyyyMMdd)",
  8329. "type": "string"
  8330. },
  8331. "updatetime": {
  8332. "description": "更新时间",
  8333. "type": "string"
  8334. }
  8335. }
  8336. },
  8337. "ermcp.QryMiddleGoodsDetailRsp": {
  8338. "type": "object",
  8339. "properties": {
  8340. "cvList": {
  8341. "description": "期货品种折算列表",
  8342. "type": "array",
  8343. "items": {
  8344. "$ref": "#/definitions/models.GoodsGroupConvert"
  8345. }
  8346. },
  8347. "mg": {
  8348. "description": "套保品种基本信息",
  8349. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8350. }
  8351. }
  8352. },
  8353. "ermcp.QryMiddleGoodsRsp": {
  8354. "type": "object",
  8355. "properties": {
  8356. "areauserid": {
  8357. "description": "机构用户ID",
  8358. "type": "integer"
  8359. },
  8360. "enumdicname": {
  8361. "description": "单位名称",
  8362. "type": "string"
  8363. },
  8364. "evaluateratio": {
  8365. "description": "估价系数",
  8366. "type": "number"
  8367. },
  8368. "goodsgroupid": {
  8369. "description": "关联期货品种ID",
  8370. "type": "integer"
  8371. },
  8372. "isvalid": {
  8373. "description": "状态 0-无效(停用) 1-有效(正常)",
  8374. "type": "integer"
  8375. },
  8376. "middlegoodscode": {
  8377. "description": "套保品种代码",
  8378. "type": "string"
  8379. },
  8380. "middlegoodsid": {
  8381. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8382. "type": "integer"
  8383. },
  8384. "middlegoodsname": {
  8385. "description": "套保品种名称",
  8386. "type": "string"
  8387. },
  8388. "modifytime": {
  8389. "description": "修改时间",
  8390. "type": "string"
  8391. },
  8392. "needhedgeratio": {
  8393. "description": "套保比率",
  8394. "type": "number"
  8395. },
  8396. "qtydecimalplace": {
  8397. "description": "数量小数位",
  8398. "type": "integer"
  8399. },
  8400. "relatedgoodsid": {
  8401. "description": "关联交易商品ID",
  8402. "type": "integer"
  8403. },
  8404. "relatedgoodstype": {
  8405. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8406. "type": "integer"
  8407. }
  8408. }
  8409. },
  8410. "ermcp.QryOPLogRsp": {
  8411. "type": "object",
  8412. "properties": {
  8413. "aftervalue": {
  8414. "description": "变更后",
  8415. "type": "number"
  8416. },
  8417. "applyid": {
  8418. "description": "操作人ID",
  8419. "type": "string"
  8420. },
  8421. "applyname": {
  8422. "description": "操作人名称",
  8423. "type": "string"
  8424. },
  8425. "beforevalue": {
  8426. "description": "变更前",
  8427. "type": "number"
  8428. },
  8429. "biztype": {
  8430. "description": "业务类型 - 1:套保计划 2:现货合同",
  8431. "type": "integer"
  8432. },
  8433. "contracttype": {
  8434. "description": "现货合同类型 - 1:采购 -1:销售",
  8435. "type": "integer"
  8436. },
  8437. "logvalue": {
  8438. "description": "数值",
  8439. "type": "number"
  8440. },
  8441. "operatelogtype": {
  8442. "description": "操作流水类型",
  8443. "type": "integer"
  8444. },
  8445. "operatelogtypedesc": {
  8446. "description": "操作流水类型名称",
  8447. "type": "string"
  8448. },
  8449. "relatedid": {
  8450. "description": "现货合同ID\\套保计划",
  8451. "type": "string"
  8452. },
  8453. "updatetime": {
  8454. "description": "更新时间",
  8455. "type": "string"
  8456. }
  8457. }
  8458. },
  8459. "ermcp.QryReportDaySpotDetailRsp": {
  8460. "type": "object",
  8461. "properties": {
  8462. "applyid": {
  8463. "description": "操作人",
  8464. "type": "integer"
  8465. },
  8466. "applyname": {
  8467. "description": "操作人名称",
  8468. "type": "string"
  8469. },
  8470. "biztype": {
  8471. "description": "业务类型 - 1:套保计划 2:现货合同",
  8472. "type": "integer"
  8473. },
  8474. "contracttype": {
  8475. "description": "现货合同类型 - 1:采购 -1:销售",
  8476. "type": "integer"
  8477. },
  8478. "enumdicName": {
  8479. "description": "单位名称",
  8480. "type": "string"
  8481. },
  8482. "logdatetime": {
  8483. "description": "流水日期(时间)",
  8484. "type": "string"
  8485. },
  8486. "logid": {
  8487. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8488. "type": "string"
  8489. },
  8490. "logtypename": {
  8491. "description": "合同类型(名称)",
  8492. "type": "string"
  8493. },
  8494. "logvalue": {
  8495. "description": "数值",
  8496. "type": "string"
  8497. },
  8498. "operatelogtype": {
  8499. "description": "操作流水类型 -",
  8500. "type": "integer"
  8501. },
  8502. "optypename": {
  8503. "description": "流水类型名称",
  8504. "type": "string"
  8505. },
  8506. "relatedid": {
  8507. "description": "现货合同ID\\套保计划",
  8508. "type": "string"
  8509. },
  8510. "relatedno": {
  8511. "description": "合同编号",
  8512. "type": "string"
  8513. },
  8514. "tradedate": {
  8515. "description": "交易日(yyyyMMdd)",
  8516. "type": "string"
  8517. },
  8518. "userid": {
  8519. "description": "机构ID",
  8520. "type": "integer"
  8521. },
  8522. "wrstandardcode": {
  8523. "description": "现货商品代码",
  8524. "type": "string"
  8525. },
  8526. "wrstandardid": {
  8527. "description": "现货商品ID",
  8528. "type": "integer"
  8529. },
  8530. "wrstandardname": {
  8531. "description": "现货商品名称",
  8532. "type": "string"
  8533. }
  8534. }
  8535. },
  8536. "ermcp.QryReportExposureDayRsp": {
  8537. "type": "object",
  8538. "properties": {
  8539. "areauserid": {
  8540. "description": "所属机构",
  8541. "type": "integer"
  8542. },
  8543. "buyfutureqty": {
  8544. "description": "买入期货数量",
  8545. "type": "number"
  8546. },
  8547. "buyplanqty": {
  8548. "description": "采购计划数量",
  8549. "type": "number"
  8550. },
  8551. "buypricedqty": {
  8552. "description": "采购合同已定价数量",
  8553. "type": "number"
  8554. },
  8555. "diffFutuQty": {
  8556. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8557. "type": "number"
  8558. },
  8559. "diffSpotQty": {
  8560. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8561. "type": "number"
  8562. },
  8563. "enumdicname": {
  8564. "description": "单位名称",
  8565. "type": "string"
  8566. },
  8567. "middlegoodscode": {
  8568. "description": "套保品种代码",
  8569. "type": "string"
  8570. },
  8571. "middlegoodshedgeratio": {
  8572. "description": "应套保比例",
  8573. "type": "number"
  8574. },
  8575. "middlegoodsid": {
  8576. "description": "套保品种ID",
  8577. "type": "integer"
  8578. },
  8579. "middlegoodsname": {
  8580. "description": "套保品种名称",
  8581. "type": "string"
  8582. },
  8583. "needhedgeexposoure": {
  8584. "description": "应套保敞口",
  8585. "type": "number"
  8586. },
  8587. "needhedgeratio": {
  8588. "description": "应套保敞口比例",
  8589. "type": "number"
  8590. },
  8591. "oriTotalFutuQty": {
  8592. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8593. "type": "number"
  8594. },
  8595. "oriTotalSpotQty": {
  8596. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8597. "type": "number"
  8598. },
  8599. "oribuyfutureqty": {
  8600. "description": "期初买入期货数量",
  8601. "type": "number"
  8602. },
  8603. "oribuyplanqty": {
  8604. "description": "期初采购计划数量",
  8605. "type": "number"
  8606. },
  8607. "oribuypricedqty": {
  8608. "description": "期初采购合同已定价数量",
  8609. "type": "number"
  8610. },
  8611. "orisellfutureqty": {
  8612. "description": "期初卖出期货数量",
  8613. "type": "number"
  8614. },
  8615. "orisellplanqty": {
  8616. "description": "期初销售计划数量",
  8617. "type": "number"
  8618. },
  8619. "orisellpricedqty": {
  8620. "description": "期初销售合同已定价数量",
  8621. "type": "number"
  8622. },
  8623. "reckondate": {
  8624. "description": "日照时期(yyyyMMdd)",
  8625. "type": "string"
  8626. },
  8627. "sellfutureqty": {
  8628. "description": "卖出期货数量",
  8629. "type": "number"
  8630. },
  8631. "sellplanqty": {
  8632. "description": "销售计划数量",
  8633. "type": "number"
  8634. },
  8635. "sellpricedqty": {
  8636. "description": "销售合同已定价数量",
  8637. "type": "number"
  8638. },
  8639. "totalexposure": {
  8640. "description": "总敞口",
  8641. "type": "number"
  8642. },
  8643. "totalfutureqty": {
  8644. "description": "期货数量",
  8645. "type": "number"
  8646. },
  8647. "totalhedgeratio": {
  8648. "description": "敞口比例",
  8649. "type": "number"
  8650. },
  8651. "totalneedhedgeqty": {
  8652. "description": "期货应套保量",
  8653. "type": "number"
  8654. },
  8655. "totalspotqty": {
  8656. "description": "现货数量",
  8657. "type": "number"
  8658. }
  8659. }
  8660. },
  8661. "ermcp.QryReportFinanceDayRsp": {
  8662. "type": "object",
  8663. "properties": {
  8664. "areauserid": {
  8665. "description": "所属机构",
  8666. "type": "integer"
  8667. },
  8668. "collectinvoiceamount": {
  8669. "description": "今日开票金额",
  8670. "type": "number"
  8671. },
  8672. "collectinvoicecount": {
  8673. "description": "今日开票笔数",
  8674. "type": "integer"
  8675. },
  8676. "collectmoneyamount": {
  8677. "description": "今日收款金额",
  8678. "type": "number"
  8679. },
  8680. "collectmoneycount": {
  8681. "description": "今日收款笔数",
  8682. "type": "integer"
  8683. },
  8684. "payinvoiceamount": {
  8685. "description": "今日收票金额",
  8686. "type": "number"
  8687. },
  8688. "payinvoicecount": {
  8689. "description": "今日收票笔数",
  8690. "type": "integer"
  8691. },
  8692. "paymoneyamount": {
  8693. "description": "今日付款金额",
  8694. "type": "number"
  8695. },
  8696. "paymoneycount": {
  8697. "description": "今日付款笔数",
  8698. "type": "integer"
  8699. },
  8700. "reckondate": {
  8701. "description": "日照时期(yyyyMMdd)",
  8702. "type": "string"
  8703. },
  8704. "updatetime": {
  8705. "description": "更新时间",
  8706. "type": "string"
  8707. }
  8708. }
  8709. },
  8710. "ermcp.QryReportFinanceKxRsp": {
  8711. "type": "object",
  8712. "properties": {
  8713. "applyid": {
  8714. "description": "操作人",
  8715. "type": "integer"
  8716. },
  8717. "applyname": {
  8718. "description": "操作人名称",
  8719. "type": "string"
  8720. },
  8721. "biztype": {
  8722. "description": "业务类型 - 1:套保计划 2:现货合同",
  8723. "type": "integer"
  8724. },
  8725. "contracttype": {
  8726. "description": "现货合同类型 - 1:采购 -1:销售",
  8727. "type": "integer"
  8728. },
  8729. "enumdicName": {
  8730. "description": "单位名称",
  8731. "type": "string"
  8732. },
  8733. "logdatetime": {
  8734. "description": "流水日期(时间)",
  8735. "type": "string"
  8736. },
  8737. "logid": {
  8738. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8739. "type": "string"
  8740. },
  8741. "logtypename": {
  8742. "description": "合同类型(名称)",
  8743. "type": "string"
  8744. },
  8745. "logvalue": {
  8746. "description": "数值",
  8747. "type": "string"
  8748. },
  8749. "operatelogtype": {
  8750. "description": "操作流水类型 -",
  8751. "type": "integer"
  8752. },
  8753. "optypename": {
  8754. "description": "流水类型名称",
  8755. "type": "string"
  8756. },
  8757. "relatedid": {
  8758. "description": "现货合同ID\\套保计划",
  8759. "type": "string"
  8760. },
  8761. "relatedno": {
  8762. "description": "合同编号",
  8763. "type": "string"
  8764. },
  8765. "tradedate": {
  8766. "description": "交易日(yyyyMMdd)",
  8767. "type": "string"
  8768. },
  8769. "userid": {
  8770. "description": "机构ID",
  8771. "type": "integer"
  8772. },
  8773. "wrstandardcode": {
  8774. "description": "现货商品代码",
  8775. "type": "string"
  8776. },
  8777. "wrstandardid": {
  8778. "description": "现货商品ID",
  8779. "type": "integer"
  8780. },
  8781. "wrstandardname": {
  8782. "description": "现货商品名称",
  8783. "type": "string"
  8784. }
  8785. }
  8786. },
  8787. "ermcp.QryReportFinanceMonRsp": {
  8788. "type": "object",
  8789. "properties": {
  8790. "areauserid": {
  8791. "description": "所属机构【原值】",
  8792. "type": "integer"
  8793. },
  8794. "collectinvoiceamount": {
  8795. "description": "今日开票金额【汇总】",
  8796. "type": "number"
  8797. },
  8798. "collectinvoicecount": {
  8799. "description": "今日开票笔数【汇总】",
  8800. "type": "integer"
  8801. },
  8802. "collectmoneyamount": {
  8803. "description": "今日收款金额【汇总】",
  8804. "type": "number"
  8805. },
  8806. "collectmoneycount": {
  8807. "description": "今日收款笔数 【汇总】",
  8808. "type": "integer"
  8809. },
  8810. "cycletime": {
  8811. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8812. "type": "string"
  8813. },
  8814. "cycletype": {
  8815. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8816. "type": "integer"
  8817. },
  8818. "dayFr": {
  8819. "description": "日报表明细",
  8820. "type": "array",
  8821. "items": {
  8822. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8823. }
  8824. },
  8825. "payinvoiceamount": {
  8826. "description": "今日收票金额【汇总】",
  8827. "type": "number"
  8828. },
  8829. "payinvoicecount": {
  8830. "description": "今日收票笔数【汇总】",
  8831. "type": "integer"
  8832. },
  8833. "paymoneyamount": {
  8834. "description": "今日付款金额【汇总】",
  8835. "type": "number"
  8836. },
  8837. "paymoneycount": {
  8838. "description": "今日付款笔数【汇总】",
  8839. "type": "integer"
  8840. },
  8841. "updatetime": {
  8842. "description": "更新时间",
  8843. "type": "string"
  8844. }
  8845. }
  8846. },
  8847. "ermcp.QryReportSpotDayRsp": {
  8848. "type": "object",
  8849. "properties": {
  8850. "areauserid": {
  8851. "description": "所属机构T",
  8852. "type": "integer"
  8853. },
  8854. "enumdicname": {
  8855. "description": "现货商品单位名称",
  8856. "type": "string"
  8857. },
  8858. "reckondate": {
  8859. "description": "日照时期(yyyyMMdd)",
  8860. "type": "string"
  8861. },
  8862. "todaybuyreckonqty": {
  8863. "description": "采购确定量",
  8864. "type": "number"
  8865. },
  8866. "todaysellreckonqty": {
  8867. "description": "销售确定量",
  8868. "type": "number"
  8869. },
  8870. "totalbuypricedqty": {
  8871. "description": "采购定价量 = 期末 - 期初",
  8872. "type": "number"
  8873. },
  8874. "totalsellpricedqty": {
  8875. "description": "销售定价量 = 期末 - 期初",
  8876. "type": "number"
  8877. },
  8878. "wrstandardcode": {
  8879. "description": "现货商品代码",
  8880. "type": "string"
  8881. },
  8882. "wrstandardid": {
  8883. "description": "现货商品ID",
  8884. "type": "integer"
  8885. },
  8886. "wrstandardname": {
  8887. "description": "现货商品名称",
  8888. "type": "string"
  8889. }
  8890. }
  8891. },
  8892. "ermcp.QryReportSpotMonRsp": {
  8893. "type": "object",
  8894. "properties": {
  8895. "areauserid": {
  8896. "description": "所属机构T",
  8897. "type": "integer"
  8898. },
  8899. "cycletime": {
  8900. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8901. "type": "string"
  8902. },
  8903. "cycletype": {
  8904. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8905. "type": "integer"
  8906. },
  8907. "enumdicname": {
  8908. "description": "现货商品单位名称",
  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.QryReportSpotMonthDetailRsp": {
  8942. "type": "object",
  8943. "properties": {
  8944. "areauserid": {
  8945. "description": "所属机构T",
  8946. "type": "integer"
  8947. },
  8948. "enumdicname": {
  8949. "description": "现货商品单位名称",
  8950. "type": "string"
  8951. },
  8952. "reckondate": {
  8953. "description": "日照时期(yyyyMMdd)",
  8954. "type": "string"
  8955. },
  8956. "todaybuyreckonqty": {
  8957. "description": "采购确定量",
  8958. "type": "number"
  8959. },
  8960. "todaysellreckonqty": {
  8961. "description": "销售确定量",
  8962. "type": "number"
  8963. },
  8964. "totalbuypricedqty": {
  8965. "description": "采购定价量 = 期末 - 期初",
  8966. "type": "number"
  8967. },
  8968. "totalsellpricedqty": {
  8969. "description": "销售定价量 = 期末 - 期初",
  8970. "type": "number"
  8971. },
  8972. "wrstandardcode": {
  8973. "description": "现货商品代码",
  8974. "type": "string"
  8975. },
  8976. "wrstandardid": {
  8977. "description": "现货商品ID",
  8978. "type": "integer"
  8979. },
  8980. "wrstandardname": {
  8981. "description": "现货商品名称",
  8982. "type": "string"
  8983. }
  8984. }
  8985. },
  8986. "ermcp.QrySpotContractRsp": {
  8987. "type": "object",
  8988. "properties": {
  8989. "amount": {
  8990. "description": "金额 [1:一口价、3:暂定价]",
  8991. "type": "number"
  8992. },
  8993. "attachment": {
  8994. "description": "附件",
  8995. "type": "string"
  8996. },
  8997. "auditremark": {
  8998. "description": "审核意见",
  8999. "type": "string"
  9000. },
  9001. "audittime": {
  9002. "description": "审核时间",
  9003. "type": "string"
  9004. },
  9005. "brandname": {
  9006. "description": "品牌名称",
  9007. "type": "string"
  9008. },
  9009. "buyuserid": {
  9010. "description": "采购方ID",
  9011. "type": "integer"
  9012. },
  9013. "buyusername": {
  9014. "description": "采购方名称",
  9015. "type": "string"
  9016. },
  9017. "contracctstatus": {
  9018. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9019. "type": "integer"
  9020. },
  9021. "contractmargin": {
  9022. "description": "合同保证金",
  9023. "type": "number"
  9024. },
  9025. "contractno": {
  9026. "description": "现货合同编号",
  9027. "type": "string"
  9028. },
  9029. "contracttype": {
  9030. "description": "现货合同类型 - 1:采购 -1:销售",
  9031. "type": "integer"
  9032. },
  9033. "convertfactor": {
  9034. "description": "标仓系数",
  9035. "type": "number"
  9036. },
  9037. "createtime": {
  9038. "description": "创建时间",
  9039. "type": "string"
  9040. },
  9041. "deliveryenddate": {
  9042. "description": "交收期(结束)",
  9043. "type": "string"
  9044. },
  9045. "deliverygoodscode": {
  9046. "description": "现货品种代码",
  9047. "type": "string"
  9048. },
  9049. "deliverygoodsid": {
  9050. "description": "现货品种ID",
  9051. "type": "integer"
  9052. },
  9053. "deliverygoodsname": {
  9054. "description": "现货品种名称",
  9055. "type": "string"
  9056. },
  9057. "deliverystartdate": {
  9058. "description": "交收期(开始)",
  9059. "type": "string"
  9060. },
  9061. "enddate": {
  9062. "description": "点价结束日期 [2:点价 3:暂定价]",
  9063. "type": "string"
  9064. },
  9065. "enumdicname": {
  9066. "description": "单位名称",
  9067. "type": "string"
  9068. },
  9069. "goodscode": {
  9070. "description": "点价合约代码",
  9071. "type": "string"
  9072. },
  9073. "goodsid": {
  9074. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9075. "type": "integer"
  9076. },
  9077. "goodsname": {
  9078. "description": "点价商品名称",
  9079. "type": "string"
  9080. },
  9081. "margin": {
  9082. "description": "当前保证金",
  9083. "type": "number"
  9084. },
  9085. "modelname": {
  9086. "description": "型号名称",
  9087. "type": "string"
  9088. },
  9089. "price": {
  9090. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9091. "type": "number"
  9092. },
  9093. "pricemove": {
  9094. "description": "升贴水 [2:点价 3:暂定价]",
  9095. "type": "number"
  9096. },
  9097. "pricetype": {
  9098. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9099. "type": "integer"
  9100. },
  9101. "producttype": {
  9102. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9103. "type": "integer"
  9104. },
  9105. "qty": {
  9106. "description": "数量",
  9107. "type": "number"
  9108. },
  9109. "remark": {
  9110. "description": "备注",
  9111. "type": "string"
  9112. },
  9113. "selluserid": {
  9114. "description": "销售方ID",
  9115. "type": "integer"
  9116. },
  9117. "sellusername": {
  9118. "description": "销售方名称",
  9119. "type": "string"
  9120. },
  9121. "spotcontractid": {
  9122. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9123. "type": "string"
  9124. },
  9125. "spotgoodsbrandid": {
  9126. "description": "现货品牌ID",
  9127. "type": "integer"
  9128. },
  9129. "spotgoodsdesc": {
  9130. "description": "商品型号",
  9131. "type": "string"
  9132. },
  9133. "spotgoodsmodelid": {
  9134. "description": "现货型号ID",
  9135. "type": "integer"
  9136. },
  9137. "startdate": {
  9138. "description": "点价开始日期 [2:点价 3:暂定价]",
  9139. "type": "string"
  9140. },
  9141. "userid": {
  9142. "description": "机构ID",
  9143. "type": "integer"
  9144. },
  9145. "wrstandardid": {
  9146. "description": "现货商品ID",
  9147. "type": "integer"
  9148. }
  9149. }
  9150. },
  9151. "ermcp.QryUserInfoRsp": {
  9152. "type": "object",
  9153. "properties": {
  9154. "address": {
  9155. "description": "通讯地址",
  9156. "type": "string"
  9157. },
  9158. "attachment1": {
  9159. "description": "附件1",
  9160. "type": "string"
  9161. },
  9162. "cardfrontphotourl": {
  9163. "description": "证件正面图片地址",
  9164. "type": "string"
  9165. },
  9166. "cardnum": {
  9167. "description": "证件号码",
  9168. "type": "string"
  9169. },
  9170. "cardtype": {
  9171. "description": "证件类型",
  9172. "type": "integer"
  9173. },
  9174. "cardtypename": {
  9175. "description": "证件类型名称",
  9176. "type": "string"
  9177. },
  9178. "cityid": {
  9179. "description": "市",
  9180. "type": "integer"
  9181. },
  9182. "countryid": {
  9183. "description": "国家",
  9184. "type": "integer"
  9185. },
  9186. "createtime": {
  9187. "description": "创建时间",
  9188. "type": "string"
  9189. },
  9190. "customername": {
  9191. "description": "企业名称",
  9192. "type": "string"
  9193. },
  9194. "memberuserid": {
  9195. "description": "所属机构ID",
  9196. "type": "integer"
  9197. },
  9198. "mobile": {
  9199. "description": "手机号码",
  9200. "type": "string"
  9201. },
  9202. "provinceid": {
  9203. "description": "省",
  9204. "type": "integer"
  9205. },
  9206. "remark": {
  9207. "description": "备注",
  9208. "type": "string"
  9209. },
  9210. "status": {
  9211. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9212. "type": "integer"
  9213. },
  9214. "statusdesc": {
  9215. "description": "账户状态中文描述",
  9216. "type": "string"
  9217. },
  9218. "telphone": {
  9219. "description": "联系电话",
  9220. "type": "string"
  9221. },
  9222. "userid": {
  9223. "description": "用户ID",
  9224. "type": "integer"
  9225. },
  9226. "userinfotype": {
  9227. "description": "客户类型",
  9228. "type": "string"
  9229. }
  9230. }
  9231. },
  9232. "ermcp.QryWrStandardDetailRsp": {
  9233. "type": "object",
  9234. "properties": {
  9235. "gbList": {
  9236. "description": "品牌列表",
  9237. "type": "array",
  9238. "items": {
  9239. "$ref": "#/definitions/models.GoodsBrand"
  9240. }
  9241. },
  9242. "gtList": {
  9243. "description": "型号列表",
  9244. "type": "array",
  9245. "items": {
  9246. "$ref": "#/definitions/models.GoodsTypeModel"
  9247. }
  9248. },
  9249. "wrd": {
  9250. "description": "基本信息",
  9251. "$ref": "#/definitions/models.ErmcpWrstandard"
  9252. },
  9253. "wrsList": {
  9254. "description": "套保信息列表",
  9255. "type": "array",
  9256. "items": {
  9257. "$ref": "#/definitions/models.WRSConverTDetail"
  9258. }
  9259. }
  9260. }
  9261. },
  9262. "ermcp.QryWrStandardRsp": {
  9263. "type": "object",
  9264. "properties": {
  9265. "areauserid": {
  9266. "description": "所属机构",
  9267. "type": "integer"
  9268. },
  9269. "createtime": {
  9270. "description": "创建时间",
  9271. "type": "string"
  9272. },
  9273. "creatorid": {
  9274. "description": "创建人",
  9275. "type": "integer"
  9276. },
  9277. "deliverygoodsid": {
  9278. "description": "品种ID",
  9279. "type": "integer"
  9280. },
  9281. "enumdicname": {
  9282. "description": "单位名称",
  9283. "type": "string"
  9284. },
  9285. "isvalid": {
  9286. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9287. "type": "integer"
  9288. },
  9289. "minivalue": {
  9290. "description": "最小变动值",
  9291. "type": "integer"
  9292. },
  9293. "minivaluedp": {
  9294. "description": "最小变动值小数位",
  9295. "type": "integer"
  9296. },
  9297. "realminivalue": {
  9298. "description": "实际最小变动值",
  9299. "type": "integer"
  9300. },
  9301. "realminivaluedp": {
  9302. "description": "实际最小变动值小数位",
  9303. "type": "integer"
  9304. },
  9305. "remark": {
  9306. "description": "备注",
  9307. "type": "string"
  9308. },
  9309. "unitid": {
  9310. "description": "单位ID",
  9311. "type": "integer"
  9312. },
  9313. "updatetime": {
  9314. "description": "更新时间",
  9315. "type": "string"
  9316. },
  9317. "wrstandardcode": {
  9318. "description": "现货商品代码",
  9319. "type": "string"
  9320. },
  9321. "wrstandardid": {
  9322. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9323. "type": "integer"
  9324. },
  9325. "wrstandardname": {
  9326. "description": "现货商品名称",
  9327. "type": "string"
  9328. }
  9329. }
  9330. },
  9331. "ermcp.QueryErmcpTradePositionRsp": {
  9332. "type": "object",
  9333. "properties": {
  9334. "agreeunit": {
  9335. "description": "合约单位",
  9336. "type": "number"
  9337. },
  9338. "averageprice": {
  9339. "description": "持仓均价",
  9340. "type": "number"
  9341. },
  9342. "buyorsell": {
  9343. "description": "方向 - 0:买 1:卖",
  9344. "type": "integer"
  9345. },
  9346. "curholderamount": {
  9347. "description": "当前持仓总金额[商品币种](成本???)",
  9348. "type": "number"
  9349. },
  9350. "curpositionqty": {
  9351. "description": "当前持仓总数量(总仓数量)",
  9352. "type": "integer"
  9353. },
  9354. "curtdposition": {
  9355. "description": "期末今日头寸(今仓数量)",
  9356. "type": "integer"
  9357. },
  9358. "curtdpositionenabled": {
  9359. "description": "今仓可用",
  9360. "type": "integer"
  9361. },
  9362. "decimalplace": {
  9363. "description": "报价小数位",
  9364. "type": "integer"
  9365. },
  9366. "enableqty": {
  9367. "description": "可用量(总仓可用)",
  9368. "type": "integer"
  9369. },
  9370. "exexchangename": {
  9371. "description": "外部交易所名称(简称)",
  9372. "type": "string"
  9373. },
  9374. "goodscode": {
  9375. "description": "商品代码(内部)",
  9376. "type": "string"
  9377. },
  9378. "goodsid": {
  9379. "description": "商品ID(自增ID SEQ_GOODS)",
  9380. "type": "integer"
  9381. },
  9382. "goodsname": {
  9383. "description": "商品名称",
  9384. "type": "string"
  9385. },
  9386. "last": {
  9387. "description": "现价",
  9388. "type": "number"
  9389. },
  9390. "outgoodscode": {
  9391. "description": "商品代码(外部)",
  9392. "type": "string"
  9393. },
  9394. "positionpl": {
  9395. "description": "持仓盈亏",
  9396. "type": "number"
  9397. },
  9398. "positionplrate": {
  9399. "description": "持仓盈亏率",
  9400. "type": "number"
  9401. },
  9402. "usedmargin": {
  9403. "description": "占用保证金[商品币种]",
  9404. "type": "number"
  9405. }
  9406. }
  9407. },
  9408. "ermcp.RealtimeExposurePositionRsp": {
  9409. "type": "object",
  9410. "properties": {
  9411. "agreeunit": {
  9412. "description": "合约单位",
  9413. "type": "string"
  9414. },
  9415. "areauserid": {
  9416. "description": "所属机构id",
  9417. "type": "integer"
  9418. },
  9419. "convertratio": {
  9420. "description": "期货品种系数(折算系数)",
  9421. "type": "number"
  9422. },
  9423. "curqty": {
  9424. "description": "当前持仓",
  9425. "type": "integer"
  9426. },
  9427. "diffhedgeqty": {
  9428. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9429. "type": "number"
  9430. },
  9431. "diffqty": {
  9432. "description": "持仓变动量=当前持仓-昨日持仓",
  9433. "type": "integer"
  9434. },
  9435. "goodscode": {
  9436. "description": "商品代码",
  9437. "type": "string"
  9438. },
  9439. "goodsid": {
  9440. "description": "商品id",
  9441. "type": "integer"
  9442. },
  9443. "goodsname": {
  9444. "description": "商品名称",
  9445. "type": "string"
  9446. },
  9447. "middlegoodsid": {
  9448. "description": "套保商品id",
  9449. "type": "integer"
  9450. },
  9451. "ydqty": {
  9452. "description": "昨日持仓",
  9453. "type": "integer"
  9454. }
  9455. }
  9456. },
  9457. "ermcp.RealtimeExposureRsp": {
  9458. "type": "object",
  9459. "properties": {
  9460. "areaUserID": {
  9461. "description": "所属机构",
  9462. "type": "integer"
  9463. },
  9464. "buyFutureQty": {
  9465. "description": "买入期货数量",
  9466. "type": "number"
  9467. },
  9468. "buyPlanQty": {
  9469. "description": "采购计划数量",
  9470. "type": "number"
  9471. },
  9472. "buyPricedQty": {
  9473. "description": "采购合同已定价数量",
  9474. "type": "number"
  9475. },
  9476. "diffFutuQty": {
  9477. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9478. "type": "number"
  9479. },
  9480. "diffSpotQty": {
  9481. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9482. "type": "number"
  9483. },
  9484. "enumdicname": {
  9485. "description": "单位名称",
  9486. "type": "string"
  9487. },
  9488. "middleGoodsCode": {
  9489. "description": "套保品种代码",
  9490. "type": "string"
  9491. },
  9492. "middleGoodsHedgeRatio": {
  9493. "description": "应套保比例",
  9494. "type": "number"
  9495. },
  9496. "middleGoodsID": {
  9497. "description": "套保品种",
  9498. "type": "integer"
  9499. },
  9500. "middleGoodsName": {
  9501. "description": "套保品种名称",
  9502. "type": "string"
  9503. },
  9504. "needHedgeExposoure": {
  9505. "description": "应套保敞口",
  9506. "type": "number"
  9507. },
  9508. "needHedgeRatio": {
  9509. "description": "应套保敞口比例",
  9510. "type": "number"
  9511. },
  9512. "oriBuyFutureQty": {
  9513. "description": "期初买入期货数量",
  9514. "type": "number"
  9515. },
  9516. "oriBuyPlanQty": {
  9517. "description": "期初采购计划数量",
  9518. "type": "number"
  9519. },
  9520. "oriBuyPricedQty": {
  9521. "description": "期初采购合同已定价数量",
  9522. "type": "number"
  9523. },
  9524. "oriSellFutureQty": {
  9525. "description": "期初卖出期货数量",
  9526. "type": "number"
  9527. },
  9528. "oriSellPlanQty": {
  9529. "description": "期初销售计划数量",
  9530. "type": "number"
  9531. },
  9532. "oriSellPricedQty": {
  9533. "description": "期初销售合同已定价数量",
  9534. "type": "number"
  9535. },
  9536. "oriTotalFutuQty": {
  9537. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9538. "type": "number"
  9539. },
  9540. "oriTotalSpotQty": {
  9541. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9542. "type": "number"
  9543. },
  9544. "sellFutureQty": {
  9545. "description": "卖出期货数量",
  9546. "type": "number"
  9547. },
  9548. "sellPlanQty": {
  9549. "description": "销售计划数量",
  9550. "type": "number"
  9551. },
  9552. "sellPricedQty": {
  9553. "description": "销售合同已定价数量",
  9554. "type": "number"
  9555. },
  9556. "totalExposure": {
  9557. "description": "总敞口",
  9558. "type": "number"
  9559. },
  9560. "totalFutureQty": {
  9561. "description": "期货数量",
  9562. "type": "number"
  9563. },
  9564. "totalHedgeRatio": {
  9565. "description": "敞口比例",
  9566. "type": "number"
  9567. },
  9568. "totalNeedHedgeQty": {
  9569. "description": "期货应套保量",
  9570. "type": "number"
  9571. },
  9572. "totalSpotQty": {
  9573. "description": "现货数量",
  9574. "type": "number"
  9575. }
  9576. }
  9577. },
  9578. "erms2.QueryArbitrageStrategyRsp": {
  9579. "type": "object",
  9580. "required": [
  9581. "asapplyid"
  9582. ],
  9583. "properties": {
  9584. "applybasis": {
  9585. "description": "申请基差",
  9586. "type": "number"
  9587. },
  9588. "asapplyid": {
  9589. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9590. "type": "string"
  9591. },
  9592. "asname": {
  9593. "description": "策略名称",
  9594. "type": "string"
  9595. },
  9596. "asno": {
  9597. "description": "策略编号",
  9598. "type": "string"
  9599. },
  9600. "basischangepl": {
  9601. "description": "基差变动损益[结算更新]",
  9602. "type": "number"
  9603. },
  9604. "biztype": {
  9605. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9606. "type": "integer"
  9607. },
  9608. "closetradedate": {
  9609. "description": "完结交易日(yyyyMMdd)",
  9610. "type": "string"
  9611. },
  9612. "curbasis": {
  9613. "description": "当前基差[结算更新]",
  9614. "type": "number"
  9615. },
  9616. "deliverygoodsid": {
  9617. "description": "现货品种ID",
  9618. "type": "integer"
  9619. },
  9620. "futureavgprice": {
  9621. "description": "期货建仓均价",
  9622. "type": "number"
  9623. },
  9624. "futurecloseamount": {
  9625. "description": "期货平仓金额",
  9626. "type": "number"
  9627. },
  9628. "futurecloseqty": {
  9629. "description": "期货平仓数量",
  9630. "type": "number"
  9631. },
  9632. "futureopenamount": {
  9633. "description": "期货开仓金额",
  9634. "type": "number"
  9635. },
  9636. "futureopenqty": {
  9637. "description": "期货开仓数量",
  9638. "type": "number"
  9639. },
  9640. "futurepl": {
  9641. "description": "期货总盈亏[结算更新]",
  9642. "type": "number"
  9643. },
  9644. "futureqty": {
  9645. "description": "期货持仓数量",
  9646. "type": "number"
  9647. },
  9648. "futurequote": {
  9649. "description": "期货额度",
  9650. "type": "number"
  9651. },
  9652. "goodsgroupid": {
  9653. "description": "期货品种ID",
  9654. "type": "integer"
  9655. },
  9656. "marketid": {
  9657. "description": "市场ID",
  9658. "type": "integer"
  9659. },
  9660. "netexposure": {
  9661. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9662. "type": "number"
  9663. },
  9664. "netexposurepl": {
  9665. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9666. "type": "number"
  9667. },
  9668. "netexposurerate": {
  9669. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9670. "type": "number"
  9671. },
  9672. "openbasis": {
  9673. "description": "建仓基差",
  9674. "type": "number"
  9675. },
  9676. "pricedspotqty": {
  9677. "description": "已定价现货数量",
  9678. "type": "number"
  9679. },
  9680. "pricedspotqtynotax": {
  9681. "description": "已定价现货不含税数量",
  9682. "type": "number"
  9683. },
  9684. "remark": {
  9685. "description": "备注",
  9686. "type": "string"
  9687. },
  9688. "spotavgprice": {
  9689. "description": "现货均价",
  9690. "type": "number"
  9691. },
  9692. "spotbuyamount": {
  9693. "description": "现货采购金额",
  9694. "type": "number"
  9695. },
  9696. "spotbuyqty": {
  9697. "description": "现货采购数量",
  9698. "type": "number"
  9699. },
  9700. "spotpl": {
  9701. "description": "现货总盈亏[结算更新]",
  9702. "type": "number"
  9703. },
  9704. "spotquota": {
  9705. "description": "现货额度",
  9706. "type": "number"
  9707. },
  9708. "spotsellamount": {
  9709. "description": "现货销售金额",
  9710. "type": "number"
  9711. },
  9712. "spotsellqty": {
  9713. "description": "现货销售数量",
  9714. "type": "number"
  9715. },
  9716. "spotusedquota": {
  9717. "description": "现货占用资金",
  9718. "type": "number"
  9719. },
  9720. "strategystatus": {
  9721. "description": "策略状态 - 0:未结束 1:已结束",
  9722. "type": "integer"
  9723. },
  9724. "totalpl": {
  9725. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9726. "type": "number"
  9727. },
  9728. "tradedate": {
  9729. "description": "交易日(yyyyMMdd)",
  9730. "type": "string"
  9731. },
  9732. "updatetime": {
  9733. "description": "更新时间",
  9734. "type": "string"
  9735. },
  9736. "usedquota": {
  9737. "description": "已占用资金",
  9738. "type": "number"
  9739. },
  9740. "userid": {
  9741. "description": "所属机构",
  9742. "type": "integer"
  9743. }
  9744. }
  9745. },
  9746. "erms2.QueryInnerTradeDetailRsp": {
  9747. "type": "object",
  9748. "required": [
  9749. "asapplyid",
  9750. "buyorsell",
  9751. "goodscode",
  9752. "goodsgroupid",
  9753. "goodsgroupname",
  9754. "goodsname",
  9755. "tradeid"
  9756. ],
  9757. "properties": {
  9758. "accountid": {
  9759. "description": "账号ID",
  9760. "type": "integer"
  9761. },
  9762. "agreeunit": {
  9763. "description": "合约单位",
  9764. "type": "number"
  9765. },
  9766. "asapplyid": {
  9767. "description": "策略申请ID",
  9768. "type": "integer"
  9769. },
  9770. "asname": {
  9771. "description": "策略名称",
  9772. "type": "string"
  9773. },
  9774. "asno": {
  9775. "description": "策略编号",
  9776. "type": "string"
  9777. },
  9778. "buyorsell": {
  9779. "description": "方向 - 0:买 1:卖",
  9780. "type": "integer"
  9781. },
  9782. "channelbuildtype": {
  9783. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9784. "type": "integer"
  9785. },
  9786. "closetype": {
  9787. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9788. "type": "integer"
  9789. },
  9790. "decimalplace": {
  9791. "description": "报价小数位",
  9792. "type": "integer"
  9793. },
  9794. "detailtype": {
  9795. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9796. "type": "integer"
  9797. },
  9798. "exexchangecode": {
  9799. "description": "外部交易所代码",
  9800. "type": "string"
  9801. },
  9802. "exexchangename": {
  9803. "description": "外部交易所名称",
  9804. "type": "string"
  9805. },
  9806. "goodscode": {
  9807. "description": "商品代码(合约)",
  9808. "type": "string"
  9809. },
  9810. "goodsgroupid": {
  9811. "description": "商品组ID(品种ID)",
  9812. "type": "integer"
  9813. },
  9814. "goodsgroupname": {
  9815. "description": "商品组名称(品种)",
  9816. "type": "string"
  9817. },
  9818. "goodsid": {
  9819. "description": "商品ID",
  9820. "type": "integer"
  9821. },
  9822. "goodsname": {
  9823. "description": "商品名称(合约)",
  9824. "type": "string"
  9825. },
  9826. "goodunit": {
  9827. "description": "报价单位",
  9828. "type": "string"
  9829. },
  9830. "marketid": {
  9831. "description": "市场ID",
  9832. "type": "integer"
  9833. },
  9834. "orderid": {
  9835. "description": "委托单号",
  9836. "type": "string"
  9837. },
  9838. "outgoodscode": {
  9839. "description": "商品代码(外部)",
  9840. "type": "string"
  9841. },
  9842. "relatedouttradeid": {
  9843. "description": "关联外部成交单ID",
  9844. "type": "string"
  9845. },
  9846. "remark": {
  9847. "description": "备注",
  9848. "type": "string"
  9849. },
  9850. "spotcontractid": {
  9851. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9852. "type": "integer"
  9853. },
  9854. "spotcontractno": {
  9855. "description": "现货合同编号",
  9856. "type": "string"
  9857. },
  9858. "tradeid": {
  9859. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9860. "type": "string"
  9861. },
  9862. "tradeprice": {
  9863. "description": "成交价格",
  9864. "type": "number"
  9865. },
  9866. "tradeqty": {
  9867. "description": "成交数量",
  9868. "type": "integer"
  9869. },
  9870. "tradetime": {
  9871. "description": "成交时间",
  9872. "type": "string"
  9873. },
  9874. "updatetime": {
  9875. "description": "更新时间",
  9876. "type": "string"
  9877. }
  9878. }
  9879. },
  9880. "erms2.QuerySpotContractRsp": {
  9881. "type": "object",
  9882. "required": [
  9883. "spotcontractid"
  9884. ],
  9885. "properties": {
  9886. "accountid": {
  9887. "description": "资金账户ID",
  9888. "type": "integer"
  9889. },
  9890. "areauserid": {
  9891. "description": "所属机构",
  9892. "type": "integer"
  9893. },
  9894. "closedate": {
  9895. "description": "终止日期",
  9896. "type": "string"
  9897. },
  9898. "closeremark": {
  9899. "description": "结束备注",
  9900. "type": "string"
  9901. },
  9902. "closetradedate": {
  9903. "description": "完结交易日(yyyyMMdd)",
  9904. "type": "string"
  9905. },
  9906. "closetype": {
  9907. "description": "终止类型 - 1:违约 2:提前终止",
  9908. "type": "integer"
  9909. },
  9910. "contractamount": {
  9911. "description": "合同金额",
  9912. "type": "number"
  9913. },
  9914. "contractattachment": {
  9915. "description": "合同附件",
  9916. "type": "string"
  9917. },
  9918. "contractno": {
  9919. "description": "现货合同编号",
  9920. "type": "string"
  9921. },
  9922. "contractqty": {
  9923. "description": "合同数量(数值) (用于计算)",
  9924. "type": "number"
  9925. },
  9926. "contractqtychar": {
  9927. "description": "合同数量\\已订价数量 (用于显示)",
  9928. "type": "string"
  9929. },
  9930. "contractstatus": {
  9931. "description": "合同状态 - 0:未结束 1:已结束",
  9932. "type": "integer"
  9933. },
  9934. "contracttype": {
  9935. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9936. "type": "integer"
  9937. },
  9938. "customeraccountid": {
  9939. "description": "客户资金账户ID",
  9940. "type": "integer"
  9941. },
  9942. "customeruserid": {
  9943. "description": "客户ID",
  9944. "type": "integer"
  9945. },
  9946. "deliverygoodsdesc": {
  9947. "description": "品种说明",
  9948. "type": "string"
  9949. },
  9950. "deliverygoodsid": {
  9951. "description": "现货品种ID",
  9952. "type": "integer"
  9953. },
  9954. "handlestatus": {
  9955. "description": "处理状态",
  9956. "type": "integer"
  9957. },
  9958. "invoiceatt": {
  9959. "description": "发票附件",
  9960. "type": "string"
  9961. },
  9962. "invoicedatetime": {
  9963. "description": "开收票更新时间",
  9964. "type": "string"
  9965. },
  9966. "invoiceopentime": {
  9967. "description": "开票时间",
  9968. "type": "string"
  9969. },
  9970. "invoiceremark": {
  9971. "description": "发票备注",
  9972. "type": "string"
  9973. },
  9974. "invoicestatus": {
  9975. "description": "开收票状态 - 0:未开票 1:已开票",
  9976. "type": "integer"
  9977. },
  9978. "lastdate": {
  9979. "description": "交货时间",
  9980. "type": "string"
  9981. },
  9982. "marketid": {
  9983. "description": "市场ID",
  9984. "type": "integer"
  9985. },
  9986. "paydatetime": {
  9987. "description": "收付款更新时间",
  9988. "type": "string"
  9989. },
  9990. "payremark": {
  9991. "description": "收付款备注",
  9992. "type": "string"
  9993. },
  9994. "paystatus": {
  9995. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9996. "type": "integer"
  9997. },
  9998. "positionqty": {
  9999. "description": "头寸数量 - 合同数量去小数部分",
  10000. "type": "integer"
  10001. },
  10002. "producttype": {
  10003. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10004. "type": "integer"
  10005. },
  10006. "relatedqty": {
  10007. "description": "已关联数量",
  10008. "type": "number"
  10009. },
  10010. "relatedstatus": {
  10011. "description": "关联完结状态 - 0:未结束 1:已结束",
  10012. "type": "integer"
  10013. },
  10014. "remark": {
  10015. "description": "备注",
  10016. "type": "string"
  10017. },
  10018. "signdate": {
  10019. "description": "签订日期",
  10020. "type": "string"
  10021. },
  10022. "spotcontractid": {
  10023. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10024. "type": "string"
  10025. },
  10026. "spotdatetime": {
  10027. "description": "收发货更新时间",
  10028. "type": "string"
  10029. },
  10030. "spotprice": {
  10031. "description": "价格",
  10032. "type": "number"
  10033. },
  10034. "spotremark": {
  10035. "description": "收发货备注",
  10036. "type": "string"
  10037. },
  10038. "spotstatus": {
  10039. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10040. "type": "integer"
  10041. },
  10042. "tradedate": {
  10043. "description": "交易日(yyyyMMdd)",
  10044. "type": "string"
  10045. },
  10046. "userid": {
  10047. "description": "业务员用户ID",
  10048. "type": "integer"
  10049. },
  10050. "warehouseid": {
  10051. "description": "仓库ID",
  10052. "type": "integer"
  10053. },
  10054. "wrfactortypeid": {
  10055. "description": "仓单要素类型ID",
  10056. "type": "integer"
  10057. },
  10058. "wrstandardid": {
  10059. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10060. "type": "integer"
  10061. }
  10062. }
  10063. },
  10064. "erms3.AddErms2ASApplyReq": {
  10065. "type": "object",
  10066. "required": [
  10067. "asapplyid"
  10068. ],
  10069. "properties": {
  10070. "applybasis": {
  10071. "description": "申请基差",
  10072. "type": "number"
  10073. },
  10074. "applystatus": {
  10075. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10076. "type": "integer"
  10077. },
  10078. "asapplyid": {
  10079. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10080. "type": "integer"
  10081. },
  10082. "asname": {
  10083. "description": "策略名称",
  10084. "type": "string"
  10085. },
  10086. "asno": {
  10087. "description": "策略编号",
  10088. "type": "string"
  10089. },
  10090. "auditid": {
  10091. "description": "审核人",
  10092. "type": "integer"
  10093. },
  10094. "auditremark": {
  10095. "description": "审核备注",
  10096. "type": "string"
  10097. },
  10098. "audittime": {
  10099. "description": "审核时间",
  10100. "type": "string"
  10101. },
  10102. "biztype": {
  10103. "description": "业务类型 - 1:正向套利 2:反向套利",
  10104. "type": "integer"
  10105. },
  10106. "createtime": {
  10107. "description": "创建时间",
  10108. "type": "string"
  10109. },
  10110. "creatorid": {
  10111. "description": "创建人",
  10112. "type": "integer"
  10113. },
  10114. "deliverygoodsid": {
  10115. "description": "现货品种ID",
  10116. "type": "integer"
  10117. },
  10118. "futurequote": {
  10119. "description": "期货额度",
  10120. "type": "number"
  10121. },
  10122. "goodsgroupid": {
  10123. "description": "期货品种ID",
  10124. "type": "integer"
  10125. },
  10126. "marketid": {
  10127. "description": "市场ID",
  10128. "type": "integer"
  10129. },
  10130. "remark": {
  10131. "description": "备注",
  10132. "type": "string"
  10133. },
  10134. "spotquota": {
  10135. "description": "现货额度",
  10136. "type": "number"
  10137. },
  10138. "tradedate": {
  10139. "description": "交易日(yyyyMMdd)",
  10140. "type": "string"
  10141. },
  10142. "userid": {
  10143. "description": "所属机构",
  10144. "type": "integer"
  10145. }
  10146. }
  10147. },
  10148. "erms3.AddErms2SpotTradeApplyReq": {
  10149. "type": "object",
  10150. "required": [
  10151. "spottradeid"
  10152. ],
  10153. "properties": {
  10154. "applyjsondetail": {
  10155. "description": "申请明细(JSON)",
  10156. "type": "string"
  10157. },
  10158. "applystatus": {
  10159. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10160. "type": "integer"
  10161. },
  10162. "areauserid": {
  10163. "description": "所属机构",
  10164. "type": "integer"
  10165. },
  10166. "auditid": {
  10167. "description": "审核人",
  10168. "type": "integer"
  10169. },
  10170. "auditremark": {
  10171. "description": "审核备注",
  10172. "type": "string"
  10173. },
  10174. "audittime": {
  10175. "description": "审核时间",
  10176. "type": "string"
  10177. },
  10178. "createtime": {
  10179. "description": "创建时间",
  10180. "type": "string"
  10181. },
  10182. "creatorid": {
  10183. "description": "创建人",
  10184. "type": "integer"
  10185. },
  10186. "deliverygoodsid": {
  10187. "description": "现货品种ID",
  10188. "type": "integer"
  10189. },
  10190. "futureaccountid": {
  10191. "description": "期货资金账户",
  10192. "type": "integer"
  10193. },
  10194. "goodsgroupid": {
  10195. "description": "期货品种",
  10196. "type": "integer"
  10197. },
  10198. "marketid": {
  10199. "description": "市场ID",
  10200. "type": "integer"
  10201. },
  10202. "remark": {
  10203. "description": "备注",
  10204. "type": "string"
  10205. },
  10206. "spotaccountid": {
  10207. "description": "现货资金账户",
  10208. "type": "integer"
  10209. },
  10210. "spottradeid": {
  10211. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10212. "type": "integer"
  10213. },
  10214. "spottradename": {
  10215. "description": "业务名称",
  10216. "type": "string"
  10217. },
  10218. "spottradeno": {
  10219. "description": "业务编号",
  10220. "type": "string"
  10221. },
  10222. "tradedate": {
  10223. "description": "交易日(yyyyMMdd)",
  10224. "type": "string"
  10225. },
  10226. "wrstandardid": {
  10227. "description": "仓单标准ID",
  10228. "type": "integer"
  10229. }
  10230. }
  10231. },
  10232. "erms3.AddSpotContractApplyReq": {
  10233. "type": "object",
  10234. "required": [
  10235. "accountid",
  10236. "areauserid",
  10237. "contractno",
  10238. "contracttype",
  10239. "customeraccountid",
  10240. "customeruserid",
  10241. "details",
  10242. "orimargin",
  10243. "signdate"
  10244. ],
  10245. "properties": {
  10246. "accountid": {
  10247. "description": "资金账户ID",
  10248. "type": "integer"
  10249. },
  10250. "areauserid": {
  10251. "description": "所属机构",
  10252. "type": "integer"
  10253. },
  10254. "contractattachment": {
  10255. "description": "合同附件",
  10256. "type": "string"
  10257. },
  10258. "contractno": {
  10259. "description": "现货合同编号",
  10260. "type": "string"
  10261. },
  10262. "contracttype": {
  10263. "description": "现货合同类型 - 1:采购 -1:销售",
  10264. "type": "integer"
  10265. },
  10266. "creatorid": {
  10267. "description": "申请人",
  10268. "type": "integer"
  10269. },
  10270. "customeraccountid": {
  10271. "description": "客户资金账户ID",
  10272. "type": "integer"
  10273. },
  10274. "customeruserid": {
  10275. "description": "客户ID",
  10276. "type": "integer"
  10277. },
  10278. "details": {
  10279. "description": "明细",
  10280. "type": "array",
  10281. "items": {
  10282. "$ref": "#/definitions/erms3.SoptContractDetail"
  10283. }
  10284. },
  10285. "orimargin": {
  10286. "description": "初始保证金",
  10287. "type": "number"
  10288. },
  10289. "remark": {
  10290. "description": "备注",
  10291. "type": "string"
  10292. },
  10293. "signdate": {
  10294. "description": "签订日期",
  10295. "type": "string"
  10296. }
  10297. }
  10298. },
  10299. "erms3.AddSpotContractApplyRsp": {
  10300. "type": "object",
  10301. "required": [
  10302. "contractno"
  10303. ],
  10304. "properties": {
  10305. "contractno": {
  10306. "description": "现货合同编号",
  10307. "type": "string"
  10308. },
  10309. "spotcontractid": {
  10310. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10311. "type": "integer"
  10312. }
  10313. }
  10314. },
  10315. "erms3.AddUserInfoApplyReq": {
  10316. "type": "object",
  10317. "required": [
  10318. "userid"
  10319. ],
  10320. "properties": {
  10321. "accountid": {
  10322. "description": "交易系统帐号Id (加密存储)",
  10323. "type": "integer"
  10324. },
  10325. "areacode": {
  10326. "description": "机构代码",
  10327. "type": "string"
  10328. },
  10329. "areaid": {
  10330. "description": "机构Id",
  10331. "type": "integer"
  10332. },
  10333. "attachment1": {
  10334. "description": "附件1",
  10335. "type": "string"
  10336. },
  10337. "attachment2": {
  10338. "description": "附件2",
  10339. "type": "string"
  10340. },
  10341. "attachment3": {
  10342. "description": "附件3",
  10343. "type": "string"
  10344. },
  10345. "attachment4": {
  10346. "description": "附件4",
  10347. "type": "string"
  10348. },
  10349. "attachment5": {
  10350. "description": "附件5",
  10351. "type": "string"
  10352. },
  10353. "auditedby": {
  10354. "description": "审核人",
  10355. "type": "string"
  10356. },
  10357. "auditime": {
  10358. "description": "审核时间",
  10359. "type": "string"
  10360. },
  10361. "bankaccount": {
  10362. "description": "银行帐号 (加密存储)",
  10363. "type": "string"
  10364. },
  10365. "bankaccountname": {
  10366. "description": "收款人名称",
  10367. "type": "string"
  10368. },
  10369. "bankcardbackphotourl": {
  10370. "description": "银行卡背面照地址",
  10371. "type": "string"
  10372. },
  10373. "bankcardfrontphotourl": {
  10374. "description": "银行卡正面照地址",
  10375. "type": "string"
  10376. },
  10377. "bankid": {
  10378. "description": "银行编码",
  10379. "type": "string"
  10380. },
  10381. "bankname": {
  10382. "description": "银行名称",
  10383. "type": "string"
  10384. },
  10385. "bankpictureurl": {
  10386. "description": "银行卡正面地址",
  10387. "type": "string"
  10388. },
  10389. "biznature": {
  10390. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10391. "type": "integer"
  10392. },
  10393. "bizscope": {
  10394. "description": "企业经营范围(企业)",
  10395. "type": "string"
  10396. },
  10397. "biztype": {
  10398. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10399. "type": "integer"
  10400. },
  10401. "brokerid": {
  10402. "description": "经纪人ID(加密存储)",
  10403. "type": "string"
  10404. },
  10405. "cardaddress": {
  10406. "description": "证件地址 (加密存储)",
  10407. "type": "string"
  10408. },
  10409. "cardbackphotourl": {
  10410. "description": "背面证件照地址",
  10411. "type": "string"
  10412. },
  10413. "cardfrontphotourl": {
  10414. "description": "正面证件照地址",
  10415. "type": "string"
  10416. },
  10417. "cardnum": {
  10418. "description": "证件号码 (加密存储)",
  10419. "type": "string"
  10420. },
  10421. "cardtype": {
  10422. "description": "证件类型",
  10423. "type": "integer"
  10424. },
  10425. "cityid": {
  10426. "description": "市",
  10427. "type": "integer"
  10428. },
  10429. "company": {
  10430. "description": "公司(个人)",
  10431. "type": "string"
  10432. },
  10433. "contactcardbackphotourl": {
  10434. "description": "联系人证件背面图片地址",
  10435. "type": "string"
  10436. },
  10437. "contactcardfrontphotourl": {
  10438. "description": "联系人证件正面图片地址",
  10439. "type": "string"
  10440. },
  10441. "contactname": {
  10442. "description": "联系人",
  10443. "type": "string"
  10444. },
  10445. "countryid": {
  10446. "description": "国家",
  10447. "type": "integer"
  10448. },
  10449. "createtime": {
  10450. "description": "开户申请时间",
  10451. "type": "string"
  10452. },
  10453. "cusbankid": {
  10454. "description": "签约类型",
  10455. "type": "string"
  10456. },
  10457. "cusbankname": {
  10458. "description": "签约类型名称",
  10459. "type": "string"
  10460. },
  10461. "customername": {
  10462. "description": "客户名称(企业名称)",
  10463. "type": "string"
  10464. },
  10465. "districtid": {
  10466. "description": "地区",
  10467. "type": "integer"
  10468. },
  10469. "email": {
  10470. "description": "Email地址(加密存储)",
  10471. "type": "string"
  10472. },
  10473. "halfbodyphotourl": {
  10474. "description": "半身照地址",
  10475. "type": "string"
  10476. },
  10477. "headurl": {
  10478. "description": "头像地址",
  10479. "type": "string"
  10480. },
  10481. "ipaddress": {
  10482. "description": "IP地址",
  10483. "type": "string"
  10484. },
  10485. "isvalidate": {
  10486. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10487. "type": "string"
  10488. },
  10489. "legalcardbackphotourl": {
  10490. "description": "法人身份证背面照地址",
  10491. "type": "string"
  10492. },
  10493. "legalcardfrontphotourl": {
  10494. "description": "法人身份证正面照地址",
  10495. "type": "string"
  10496. },
  10497. "legalpersonname": {
  10498. "description": "法人姓名(企业)",
  10499. "type": "string"
  10500. },
  10501. "logincode": {
  10502. "description": "登录帐号 (加密存储)",
  10503. "type": "string"
  10504. },
  10505. "memberareaid": {
  10506. "description": "所属会员ID",
  10507. "type": "integer"
  10508. },
  10509. "mobile2": {
  10510. "description": "手机号码[明文-尚志]",
  10511. "type": "string"
  10512. },
  10513. "mobilephone": {
  10514. "description": "手机号码 (加密存储)",
  10515. "type": "string"
  10516. },
  10517. "modifiedby": {
  10518. "description": "修改人帐号",
  10519. "type": "integer"
  10520. },
  10521. "modifiedtime": {
  10522. "description": "修改时间",
  10523. "type": "string"
  10524. },
  10525. "nickname": {
  10526. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10527. "type": "string"
  10528. },
  10529. "openmode": {
  10530. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10531. "type": "integer"
  10532. },
  10533. "otherurl": {
  10534. "description": "其它图片地址[使用分号分隔]",
  10535. "type": "string"
  10536. },
  10537. "postalcode": {
  10538. "description": "邮政编码",
  10539. "type": "string"
  10540. },
  10541. "provinceid": {
  10542. "description": "省",
  10543. "type": "integer"
  10544. },
  10545. "proxystatementurl": {
  10546. "description": "授权委托书",
  10547. "type": "string"
  10548. },
  10549. "qq": {
  10550. "description": "QQ(加密存储",
  10551. "type": "string"
  10552. },
  10553. "referral": {
  10554. "description": "推荐人编码",
  10555. "type": "string"
  10556. },
  10557. "remark": {
  10558. "description": "备注",
  10559. "type": "string"
  10560. },
  10561. "removebeforestatus": {
  10562. "description": "REMOVEBEFORESTATUS",
  10563. "type": "integer"
  10564. },
  10565. "sex": {
  10566. "description": "性别 - 0:女 1:男",
  10567. "type": "integer"
  10568. },
  10569. "signedstatus": {
  10570. "description": "账户一号签签约状态",
  10571. "type": "integer"
  10572. },
  10573. "signpdfurl": {
  10574. "description": "签约pdf文件",
  10575. "type": "string"
  10576. },
  10577. "subbranch": {
  10578. "description": "开户支行",
  10579. "type": "string"
  10580. },
  10581. "telphone": {
  10582. "description": "联系电话(加密存储)",
  10583. "type": "string"
  10584. },
  10585. "userid": {
  10586. "description": "用户ID(自增ID)",
  10587. "type": "integer"
  10588. },
  10589. "userinfotype": {
  10590. "description": "用户信息类型 - 1:个人 2:企业",
  10591. "type": "integer"
  10592. },
  10593. "username": {
  10594. "description": "用户姓名",
  10595. "type": "string"
  10596. },
  10597. "userstate": {
  10598. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10599. "type": "integer"
  10600. },
  10601. "usertype": {
  10602. "description": "用户类型 - 1:投资者 2:机构",
  10603. "type": "integer"
  10604. },
  10605. "videourl": {
  10606. "description": "视频地址",
  10607. "type": "string"
  10608. },
  10609. "wechat": {
  10610. "description": "微信号 (加密存储)",
  10611. "type": "string"
  10612. }
  10613. }
  10614. },
  10615. "erms3.CustomerInfo": {
  10616. "type": "object",
  10617. "required": [
  10618. "userid"
  10619. ],
  10620. "properties": {
  10621. "accountids": {
  10622. "description": "资金账户ID列表",
  10623. "type": "array",
  10624. "items": {
  10625. "type": "integer"
  10626. }
  10627. },
  10628. "customername": {
  10629. "description": "名称(企业名称)",
  10630. "type": "string"
  10631. },
  10632. "mobile": {
  10633. "description": "手机号码",
  10634. "type": "string"
  10635. },
  10636. "userid": {
  10637. "description": "用户ID",
  10638. "type": "integer"
  10639. }
  10640. }
  10641. },
  10642. "erms3.ModifyUserInfoApplyReq": {
  10643. "type": "object",
  10644. "required": [
  10645. "userid"
  10646. ],
  10647. "properties": {
  10648. "accountid": {
  10649. "description": "交易系统帐号Id (加密存储)",
  10650. "type": "integer"
  10651. },
  10652. "areacode": {
  10653. "description": "机构代码",
  10654. "type": "string"
  10655. },
  10656. "areaid": {
  10657. "description": "机构Id",
  10658. "type": "integer"
  10659. },
  10660. "attachment1": {
  10661. "description": "附件1",
  10662. "type": "string"
  10663. },
  10664. "attachment2": {
  10665. "description": "附件2",
  10666. "type": "string"
  10667. },
  10668. "attachment3": {
  10669. "description": "附件3",
  10670. "type": "string"
  10671. },
  10672. "attachment4": {
  10673. "description": "附件4",
  10674. "type": "string"
  10675. },
  10676. "attachment5": {
  10677. "description": "附件5",
  10678. "type": "string"
  10679. },
  10680. "auditedby": {
  10681. "description": "审核人",
  10682. "type": "string"
  10683. },
  10684. "auditime": {
  10685. "description": "审核时间",
  10686. "type": "string"
  10687. },
  10688. "bankaccount": {
  10689. "description": "银行帐号 (加密存储)",
  10690. "type": "string"
  10691. },
  10692. "bankaccountname": {
  10693. "description": "收款人名称",
  10694. "type": "string"
  10695. },
  10696. "bankcardbackphotourl": {
  10697. "description": "银行卡背面照地址",
  10698. "type": "string"
  10699. },
  10700. "bankcardfrontphotourl": {
  10701. "description": "银行卡正面照地址",
  10702. "type": "string"
  10703. },
  10704. "bankid": {
  10705. "description": "银行编码",
  10706. "type": "string"
  10707. },
  10708. "bankname": {
  10709. "description": "银行名称",
  10710. "type": "string"
  10711. },
  10712. "bankpictureurl": {
  10713. "description": "银行卡正面地址",
  10714. "type": "string"
  10715. },
  10716. "biznature": {
  10717. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10718. "type": "integer"
  10719. },
  10720. "bizscope": {
  10721. "description": "企业经营范围(企业)",
  10722. "type": "string"
  10723. },
  10724. "biztype": {
  10725. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10726. "type": "integer"
  10727. },
  10728. "brokerid": {
  10729. "description": "经纪人ID(加密存储)",
  10730. "type": "string"
  10731. },
  10732. "cardaddress": {
  10733. "description": "证件地址 (加密存储)",
  10734. "type": "string"
  10735. },
  10736. "cardbackphotourl": {
  10737. "description": "背面证件照地址",
  10738. "type": "string"
  10739. },
  10740. "cardfrontphotourl": {
  10741. "description": "正面证件照地址",
  10742. "type": "string"
  10743. },
  10744. "cardnum": {
  10745. "description": "证件号码 (加密存储)",
  10746. "type": "string"
  10747. },
  10748. "cardtype": {
  10749. "description": "证件类型",
  10750. "type": "integer"
  10751. },
  10752. "cityid": {
  10753. "description": "市",
  10754. "type": "integer"
  10755. },
  10756. "company": {
  10757. "description": "公司(个人)",
  10758. "type": "string"
  10759. },
  10760. "contactcardbackphotourl": {
  10761. "description": "联系人证件背面图片地址",
  10762. "type": "string"
  10763. },
  10764. "contactcardfrontphotourl": {
  10765. "description": "联系人证件正面图片地址",
  10766. "type": "string"
  10767. },
  10768. "contactname": {
  10769. "description": "联系人",
  10770. "type": "string"
  10771. },
  10772. "countryid": {
  10773. "description": "国家",
  10774. "type": "integer"
  10775. },
  10776. "createtime": {
  10777. "description": "开户申请时间",
  10778. "type": "string"
  10779. },
  10780. "cusbankid": {
  10781. "description": "签约类型",
  10782. "type": "string"
  10783. },
  10784. "cusbankname": {
  10785. "description": "签约类型名称",
  10786. "type": "string"
  10787. },
  10788. "customername": {
  10789. "description": "客户名称(企业名称)",
  10790. "type": "string"
  10791. },
  10792. "districtid": {
  10793. "description": "地区",
  10794. "type": "integer"
  10795. },
  10796. "email": {
  10797. "description": "Email地址(加密存储)",
  10798. "type": "string"
  10799. },
  10800. "halfbodyphotourl": {
  10801. "description": "半身照地址",
  10802. "type": "string"
  10803. },
  10804. "headurl": {
  10805. "description": "头像地址",
  10806. "type": "string"
  10807. },
  10808. "ipaddress": {
  10809. "description": "IP地址",
  10810. "type": "string"
  10811. },
  10812. "isvalidate": {
  10813. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10814. "type": "string"
  10815. },
  10816. "legalcardbackphotourl": {
  10817. "description": "法人身份证背面照地址",
  10818. "type": "string"
  10819. },
  10820. "legalcardfrontphotourl": {
  10821. "description": "法人身份证正面照地址",
  10822. "type": "string"
  10823. },
  10824. "legalpersonname": {
  10825. "description": "法人姓名(企业)",
  10826. "type": "string"
  10827. },
  10828. "logincode": {
  10829. "description": "登录帐号 (加密存储)",
  10830. "type": "string"
  10831. },
  10832. "memberareaid": {
  10833. "description": "所属会员ID",
  10834. "type": "integer"
  10835. },
  10836. "mobile2": {
  10837. "description": "手机号码[明文-尚志]",
  10838. "type": "string"
  10839. },
  10840. "mobilephone": {
  10841. "description": "手机号码 (加密存储)",
  10842. "type": "string"
  10843. },
  10844. "modifiedby": {
  10845. "description": "修改人帐号",
  10846. "type": "integer"
  10847. },
  10848. "modifiedtime": {
  10849. "description": "修改时间",
  10850. "type": "string"
  10851. },
  10852. "nickname": {
  10853. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10854. "type": "string"
  10855. },
  10856. "openmode": {
  10857. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10858. "type": "integer"
  10859. },
  10860. "otherurl": {
  10861. "description": "其它图片地址[使用分号分隔]",
  10862. "type": "string"
  10863. },
  10864. "postalcode": {
  10865. "description": "邮政编码",
  10866. "type": "string"
  10867. },
  10868. "provinceid": {
  10869. "description": "省",
  10870. "type": "integer"
  10871. },
  10872. "proxystatementurl": {
  10873. "description": "授权委托书",
  10874. "type": "string"
  10875. },
  10876. "qq": {
  10877. "description": "QQ(加密存储",
  10878. "type": "string"
  10879. },
  10880. "referral": {
  10881. "description": "推荐人编码",
  10882. "type": "string"
  10883. },
  10884. "remark": {
  10885. "description": "备注",
  10886. "type": "string"
  10887. },
  10888. "removebeforestatus": {
  10889. "description": "REMOVEBEFORESTATUS",
  10890. "type": "integer"
  10891. },
  10892. "sex": {
  10893. "description": "性别 - 0:女 1:男",
  10894. "type": "integer"
  10895. },
  10896. "signedstatus": {
  10897. "description": "账户一号签签约状态",
  10898. "type": "integer"
  10899. },
  10900. "signpdfurl": {
  10901. "description": "签约pdf文件",
  10902. "type": "string"
  10903. },
  10904. "subbranch": {
  10905. "description": "开户支行",
  10906. "type": "string"
  10907. },
  10908. "telphone": {
  10909. "description": "联系电话(加密存储)",
  10910. "type": "string"
  10911. },
  10912. "userid": {
  10913. "description": "用户ID(自增ID)",
  10914. "type": "integer"
  10915. },
  10916. "userinfotype": {
  10917. "description": "用户信息类型 - 1:个人 2:企业",
  10918. "type": "integer"
  10919. },
  10920. "username": {
  10921. "description": "用户姓名",
  10922. "type": "string"
  10923. },
  10924. "userstate": {
  10925. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10926. "type": "integer"
  10927. },
  10928. "usertype": {
  10929. "description": "用户类型 - 1:投资者 2:机构",
  10930. "type": "integer"
  10931. },
  10932. "videourl": {
  10933. "description": "视频地址",
  10934. "type": "string"
  10935. },
  10936. "wechat": {
  10937. "description": "微信号 (加密存储)",
  10938. "type": "string"
  10939. }
  10940. }
  10941. },
  10942. "erms3.QryAuditContractRsp": {
  10943. "type": "object",
  10944. "required": [
  10945. "matchcustomername",
  10946. "spotcontractid"
  10947. ],
  10948. "properties": {
  10949. "accountid": {
  10950. "description": "交易员ID",
  10951. "type": "string"
  10952. },
  10953. "applystatus": {
  10954. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10955. "type": "integer"
  10956. },
  10957. "curdeliveryqty": {
  10958. "description": "未交收量",
  10959. "type": "integer"
  10960. },
  10961. "customername": {
  10962. "description": "采购方ID",
  10963. "type": "string"
  10964. },
  10965. "deliverygoodsid": {
  10966. "description": "品种ID",
  10967. "type": "string"
  10968. },
  10969. "deliveryqty": {
  10970. "description": "交收量",
  10971. "type": "integer"
  10972. },
  10973. "enumdicname": {
  10974. "description": "单位名称",
  10975. "type": "string"
  10976. },
  10977. "matchaccountid": {
  10978. "description": "业务员ID",
  10979. "type": "string"
  10980. },
  10981. "matchcustomername": {
  10982. "description": "销售方ID",
  10983. "type": "string"
  10984. },
  10985. "pricedqty": {
  10986. "description": "定价量",
  10987. "type": "number"
  10988. },
  10989. "signdate": {
  10990. "description": "签订日期",
  10991. "type": "string"
  10992. },
  10993. "spotcontractid": {
  10994. "description": "合同ID",
  10995. "type": "string"
  10996. },
  10997. "totaldqty": {
  10998. "description": "合同量",
  10999. "type": "number"
  11000. },
  11001. "unpricedqty": {
  11002. "description": "未定价量",
  11003. "type": "number"
  11004. },
  11005. "wrstandardname": {
  11006. "description": "商品名称",
  11007. "type": "string"
  11008. }
  11009. }
  11010. },
  11011. "erms3.QryPendingBizRsp": {
  11012. "type": "object",
  11013. "properties": {
  11014. "accountid": {
  11015. "description": "现货账户",
  11016. "type": "string"
  11017. },
  11018. "areaname": {
  11019. "description": "所属部门",
  11020. "type": "string"
  11021. },
  11022. "bizid": {
  11023. "description": "业务ID",
  11024. "type": "string"
  11025. },
  11026. "bizname": {
  11027. "description": "业务名称",
  11028. "type": "string"
  11029. },
  11030. "status": {
  11031. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11032. "type": "integer"
  11033. },
  11034. "type": {
  11035. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11036. "type": "integer"
  11037. }
  11038. }
  11039. },
  11040. "erms3.QueryBusinessInfoRsp": {
  11041. "type": "object",
  11042. "properties": {
  11043. "businessid": {
  11044. "description": "业务ID.",
  11045. "type": "integer"
  11046. },
  11047. "buyamount": {
  11048. "description": "采购额.",
  11049. "type": "number"
  11050. },
  11051. "buyqty": {
  11052. "description": "采购量.",
  11053. "type": "string"
  11054. },
  11055. "futurepl": {
  11056. "description": "期货盈亏.",
  11057. "type": "number"
  11058. },
  11059. "futureqty": {
  11060. "description": "期货敞口.",
  11061. "type": "string"
  11062. },
  11063. "goodsid": {
  11064. "description": "商品名称/商品代码.",
  11065. "type": "string"
  11066. },
  11067. "hedgingqty": {
  11068. "description": "套保量.",
  11069. "type": "string"
  11070. },
  11071. "sellamount": {
  11072. "description": "销售额.",
  11073. "type": "number"
  11074. },
  11075. "sellqty": {
  11076. "description": "销售量.",
  11077. "type": "string"
  11078. },
  11079. "spotmarketvalue": {
  11080. "description": "现货市值.",
  11081. "type": "number"
  11082. },
  11083. "spotpl": {
  11084. "description": "浮动权益.",
  11085. "type": "number"
  11086. },
  11087. "spotqty": {
  11088. "description": "现货量.",
  11089. "type": "string"
  11090. },
  11091. "statu": {
  11092. "description": "状态,0-未结束 1-已结束.",
  11093. "type": "integer"
  11094. },
  11095. "totalpl": {
  11096. "description": "总盈亏.",
  11097. "type": "number"
  11098. },
  11099. "totalqty": {
  11100. "description": "总敞口.",
  11101. "type": "string"
  11102. },
  11103. "type": {
  11104. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11105. "type": "integer"
  11106. }
  11107. }
  11108. },
  11109. "erms3.QuerySpotContractAppleFormRsp": {
  11110. "type": "object",
  11111. "properties": {
  11112. "goodses": {
  11113. "description": "合约列表",
  11114. "type": "array",
  11115. "items": {
  11116. "$ref": "#/definitions/models.GoodsIDAndName"
  11117. }
  11118. },
  11119. "oppositeusers": {
  11120. "description": "对方账号列表",
  11121. "type": "array",
  11122. "items": {
  11123. "$ref": "#/definitions/erms3.CustomerInfo"
  11124. }
  11125. },
  11126. "ouruser": {
  11127. "description": "我方账号",
  11128. "$ref": "#/definitions/erms3.CustomerInfo"
  11129. },
  11130. "warehouseinfos": {
  11131. "description": "仓库信息列表",
  11132. "type": "array",
  11133. "items": {
  11134. "$ref": "#/definitions/models.Warehouseinfo"
  11135. }
  11136. },
  11137. "wrstandards": {
  11138. "description": "仓单标准列表",
  11139. "type": "array",
  11140. "items": {
  11141. "$ref": "#/definitions/models.WRStandardInfo"
  11142. }
  11143. }
  11144. }
  11145. },
  11146. "erms3.QuerySpotContractInfoRsp": {
  11147. "type": "object",
  11148. "properties": {
  11149. "accountid": {
  11150. "description": "表示交易员ID.",
  11151. "type": "integer"
  11152. },
  11153. "curdeliveryqty": {
  11154. "description": "表示未交收量.",
  11155. "type": "number"
  11156. },
  11157. "customername": {
  11158. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11159. "type": "string"
  11160. },
  11161. "deliverygoodsid": {
  11162. "description": "表示品种ID.",
  11163. "type": "string"
  11164. },
  11165. "deliveryqty": {
  11166. "description": "表示交收量.",
  11167. "type": "number"
  11168. },
  11169. "matchaccountid": {
  11170. "description": "表示业务员ID.",
  11171. "type": "integer"
  11172. },
  11173. "matchcustomername": {
  11174. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11175. "type": "string"
  11176. },
  11177. "priceqty": {
  11178. "description": "表示定价量.",
  11179. "type": "number"
  11180. },
  11181. "relatedbizid": {
  11182. "description": "表示业务ID.",
  11183. "type": "string"
  11184. },
  11185. "signdate": {
  11186. "description": "表示签订日期.",
  11187. "type": "string"
  11188. },
  11189. "spotcontractid": {
  11190. "description": "合同ID",
  11191. "type": "string"
  11192. },
  11193. "status": {
  11194. "description": "表示状态,0-履约中 1-已完成.",
  11195. "type": "integer"
  11196. },
  11197. "totalqty": {
  11198. "description": "表示合同量.",
  11199. "type": "number"
  11200. },
  11201. "unpricedqty": {
  11202. "description": "表示未定价量.",
  11203. "type": "number"
  11204. },
  11205. "wrstandardname": {
  11206. "description": "表示商品ID.",
  11207. "type": "string"
  11208. }
  11209. }
  11210. },
  11211. "erms3.QueryUserInfoAppliesRsp": {
  11212. "type": "object",
  11213. "required": [
  11214. "userid"
  11215. ],
  11216. "properties": {
  11217. "biznature": {
  11218. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11219. "type": "integer"
  11220. },
  11221. "contactname": {
  11222. "description": "联系人",
  11223. "type": "string"
  11224. },
  11225. "createtime": {
  11226. "description": "开户申请时间",
  11227. "type": "string"
  11228. },
  11229. "userid": {
  11230. "description": "用户ID(自增ID)",
  11231. "type": "integer"
  11232. },
  11233. "userinfotype": {
  11234. "description": "用户信息类型 - 1:个人 2:企业",
  11235. "type": "integer"
  11236. },
  11237. "username": {
  11238. "description": "用户姓名",
  11239. "type": "string"
  11240. },
  11241. "userstate": {
  11242. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11243. "type": "integer"
  11244. }
  11245. }
  11246. },
  11247. "erms3.QueryUserInfosRsp": {
  11248. "type": "object",
  11249. "required": [
  11250. "userid"
  11251. ],
  11252. "properties": {
  11253. "biznature": {
  11254. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11255. "type": "integer"
  11256. },
  11257. "contactname": {
  11258. "description": "联系人",
  11259. "type": "string"
  11260. },
  11261. "customername": {
  11262. "description": "客户名称(企业名称)",
  11263. "type": "string"
  11264. },
  11265. "userid": {
  11266. "description": "用户ID",
  11267. "type": "integer"
  11268. },
  11269. "userinfotype": {
  11270. "description": "用户信息类型 - 1:个人 2:企业",
  11271. "type": "integer"
  11272. },
  11273. "userstatus": {
  11274. "description": "用户状态 - 1:正常 2:注销",
  11275. "type": "integer"
  11276. }
  11277. }
  11278. },
  11279. "erms3.SoptContractDetail": {
  11280. "type": "object",
  11281. "required": [
  11282. "deliverygoodsid",
  11283. "producttype",
  11284. "unitname",
  11285. "warehouseid",
  11286. "wrstandardid",
  11287. "wrstandardname"
  11288. ],
  11289. "properties": {
  11290. "deliverygoodsdesc": {
  11291. "description": "现货品种说明",
  11292. "type": "string"
  11293. },
  11294. "deliverygoodsid": {
  11295. "description": "现货品种ID",
  11296. "type": "integer"
  11297. },
  11298. "deliverygoodsname": {
  11299. "description": "现货品种名称",
  11300. "type": "string"
  11301. },
  11302. "pointdesc": {
  11303. "description": "点价描述",
  11304. "type": "string"
  11305. },
  11306. "producttype": {
  11307. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11308. "type": "integer"
  11309. },
  11310. "producttypename": {
  11311. "description": "产品类型名称",
  11312. "type": "string"
  11313. },
  11314. "spotPointOrderVoList": {
  11315. "description": "点价列表",
  11316. "type": "array",
  11317. "items": {
  11318. "$ref": "#/definitions/erms3.SpotPointOrder"
  11319. }
  11320. },
  11321. "spotPriceOrderList": {
  11322. "description": "定价列表",
  11323. "type": "array",
  11324. "items": {
  11325. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11326. }
  11327. },
  11328. "unitname": {
  11329. "description": "单位名称",
  11330. "type": "string"
  11331. },
  11332. "warehouseid": {
  11333. "description": "仓库ID",
  11334. "type": "integer"
  11335. },
  11336. "warehousename": {
  11337. "description": "仓库名称",
  11338. "type": "string"
  11339. },
  11340. "wrstandardid": {
  11341. "description": "交易标的ID",
  11342. "type": "integer"
  11343. },
  11344. "wrstandardname": {
  11345. "description": "交易标的名称",
  11346. "type": "string"
  11347. }
  11348. }
  11349. },
  11350. "erms3.SpotPointOrder": {
  11351. "type": "object",
  11352. "required": [
  11353. "basic",
  11354. "goodsid",
  11355. "qty"
  11356. ],
  11357. "properties": {
  11358. "basic": {
  11359. "description": "基差",
  11360. "type": "number"
  11361. },
  11362. "deliveryenddate": {
  11363. "description": "交收结束日期",
  11364. "type": "string"
  11365. },
  11366. "deliverystartdate": {
  11367. "description": "交收开始日期",
  11368. "type": "string"
  11369. },
  11370. "enddate": {
  11371. "description": "点价结束日期",
  11372. "type": "string"
  11373. },
  11374. "goodsid": {
  11375. "description": "商品ID",
  11376. "type": "integer"
  11377. },
  11378. "goodsname": {
  11379. "description": "商品名称",
  11380. "type": "string"
  11381. },
  11382. "qty": {
  11383. "description": "数量",
  11384. "type": "number"
  11385. },
  11386. "startdate": {
  11387. "description": "点价开始日期",
  11388. "type": "string"
  11389. }
  11390. }
  11391. },
  11392. "erms3.SpotPriceOrder": {
  11393. "type": "object",
  11394. "required": [
  11395. "amount",
  11396. "price",
  11397. "qty"
  11398. ],
  11399. "properties": {
  11400. "amount": {
  11401. "description": "金额",
  11402. "type": "number"
  11403. },
  11404. "deliveryenddate": {
  11405. "description": "交收结束日期",
  11406. "type": "string"
  11407. },
  11408. "deliverystartdate": {
  11409. "description": "交收开始日期",
  11410. "type": "string"
  11411. },
  11412. "price": {
  11413. "description": "价格",
  11414. "type": "number"
  11415. },
  11416. "qty": {
  11417. "description": "数量",
  11418. "type": "number"
  11419. }
  11420. }
  11421. },
  11422. "hsby.GetHsbyMyCountRsp": {
  11423. "type": "object",
  11424. "properties": {
  11425. "myCouponCount": {
  11426. "description": "我的优惠卷数量",
  11427. "type": "integer"
  11428. },
  11429. "myOrderDetailListingCount": {
  11430. "description": "我的订单求购中数量",
  11431. "type": "integer"
  11432. },
  11433. "myOrderDetailPreCount": {
  11434. "description": "我的订单抢购中数量",
  11435. "type": "integer"
  11436. },
  11437. "myPackageUnReceiveCount": {
  11438. "description": "我的包裹待收货数量",
  11439. "type": "integer"
  11440. },
  11441. "myPackageUnSendCount": {
  11442. "description": "我的包裹待发货数量",
  11443. "type": "integer"
  11444. },
  11445. "myPayOrderCount": {
  11446. "description": "我的订单待付款数量",
  11447. "type": "integer"
  11448. }
  11449. }
  11450. },
  11451. "hsby.QueryProvincesAndCitiesRsp": {
  11452. "type": "object",
  11453. "properties": {
  11454. "cities": {
  11455. "description": "市",
  11456. "type": "array",
  11457. "items": {
  11458. "$ref": "#/definitions/models.Division"
  11459. }
  11460. },
  11461. "province": {
  11462. "description": "省",
  11463. "$ref": "#/definitions/models.Division"
  11464. }
  11465. }
  11466. },
  11467. "models.Clientfixedadconfig": {
  11468. "type": "object",
  11469. "required": [
  11470. "adsort",
  11471. "adtype"
  11472. ],
  11473. "properties": {
  11474. "adsort": {
  11475. "description": "排序",
  11476. "type": "integer"
  11477. },
  11478. "adtype": {
  11479. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11480. "type": "integer"
  11481. },
  11482. "areauserid": {
  11483. "description": "所属机构ID",
  11484. "type": "integer"
  11485. },
  11486. "createdate": {
  11487. "description": "创建时间",
  11488. "type": "string"
  11489. },
  11490. "creatorid": {
  11491. "description": "创建人",
  11492. "type": "integer"
  11493. },
  11494. "imagepath": {
  11495. "description": "图片",
  11496. "type": "string"
  11497. },
  11498. "isshow": {
  11499. "description": "是否展示 - 0:不展示 1:展示",
  11500. "type": "integer"
  11501. },
  11502. "modifierid": {
  11503. "description": "操作人",
  11504. "type": "integer"
  11505. },
  11506. "recsize": {
  11507. "description": "推荐尺寸",
  11508. "type": "string"
  11509. },
  11510. "title": {
  11511. "description": "标题",
  11512. "type": "string"
  11513. },
  11514. "updatedate": {
  11515. "description": "更新时间",
  11516. "type": "string"
  11517. },
  11518. "urlcontent": {
  11519. "description": "链接(地址或商品ID)",
  11520. "type": "string"
  11521. },
  11522. "urltype": {
  11523. "description": "链接类型 - 1:直接地址 2:商品ID",
  11524. "type": "integer"
  11525. }
  11526. }
  11527. },
  11528. "models.Division": {
  11529. "type": "object",
  11530. "required": [
  11531. "autoid",
  11532. "divisioncode"
  11533. ],
  11534. "properties": {
  11535. "autoid": {
  11536. "description": "自增ID",
  11537. "type": "integer"
  11538. },
  11539. "divisioncode": {
  11540. "description": "行政代码",
  11541. "type": "string"
  11542. },
  11543. "divisionlevel": {
  11544. "description": "行政级别",
  11545. "type": "string"
  11546. },
  11547. "divisionname": {
  11548. "description": "行政名称",
  11549. "type": "string"
  11550. },
  11551. "modifierid": {
  11552. "description": "修改人",
  11553. "type": "integer"
  11554. },
  11555. "modifytime": {
  11556. "description": "修改时间",
  11557. "type": "string"
  11558. },
  11559. "parentcode": {
  11560. "description": "上级行政代码",
  11561. "type": "string"
  11562. },
  11563. "pathname": {
  11564. "description": "路径名称",
  11565. "type": "string"
  11566. },
  11567. "postcode": {
  11568. "description": "邮政编码",
  11569. "type": "string"
  11570. },
  11571. "separablename": {
  11572. "description": "可拆分的全称",
  11573. "type": "string"
  11574. },
  11575. "shortcode": {
  11576. "description": "地区简码",
  11577. "type": "string"
  11578. }
  11579. }
  11580. },
  11581. "models.Enumdicitem": {
  11582. "type": "object",
  11583. "required": [
  11584. "autoid",
  11585. "enumdiccode",
  11586. "enumdicid",
  11587. "enumitemname"
  11588. ],
  11589. "properties": {
  11590. "autoid": {
  11591. "description": "自增ID",
  11592. "type": "integer"
  11593. },
  11594. "bankmappedvalue": {
  11595. "description": "银行服务对应值",
  11596. "type": "string"
  11597. },
  11598. "enumdiccode": {
  11599. "description": "所属枚举代码",
  11600. "type": "string"
  11601. },
  11602. "enumdicid": {
  11603. "description": "所属枚举ID",
  11604. "type": "integer"
  11605. },
  11606. "enumdicname": {
  11607. "description": "枚举项名称",
  11608. "type": "string"
  11609. },
  11610. "enumitemname": {
  11611. "description": "枚举项值",
  11612. "type": "integer"
  11613. },
  11614. "enumitemstatus": {
  11615. "description": "枚举项状态 - 1.启用 2.不启用",
  11616. "type": "integer"
  11617. },
  11618. "enumitemvalue": {
  11619. "description": "通用值 - [币种通用简写]",
  11620. "type": "string"
  11621. },
  11622. "param1": {
  11623. "description": "参数1[币种:币种小数位]",
  11624. "type": "string"
  11625. },
  11626. "param2": {
  11627. "description": "参数1[币种:币种显示单位]",
  11628. "type": "string"
  11629. },
  11630. "remark": {
  11631. "description": "备注",
  11632. "type": "string"
  11633. }
  11634. }
  11635. },
  11636. "models.ErmcpHisExposure": {
  11637. "type": "object",
  11638. "properties": {
  11639. "needhedgeexposoure": {
  11640. "description": "应套保敞口",
  11641. "type": "number"
  11642. },
  11643. "reckondate": {
  11644. "description": "日照时期(yyyyMMdd)",
  11645. "type": "string"
  11646. },
  11647. "totalexposure": {
  11648. "description": "总敞口",
  11649. "type": "number"
  11650. }
  11651. }
  11652. },
  11653. "models.ErmcpMiddleGoodsModel": {
  11654. "type": "object",
  11655. "properties": {
  11656. "areauserid": {
  11657. "description": "机构用户ID",
  11658. "type": "integer"
  11659. },
  11660. "enumdicname": {
  11661. "description": "单位名称",
  11662. "type": "string"
  11663. },
  11664. "evaluateratio": {
  11665. "description": "估价系数",
  11666. "type": "number"
  11667. },
  11668. "goodsgroupid": {
  11669. "description": "关联期货品种ID",
  11670. "type": "integer"
  11671. },
  11672. "isvalid": {
  11673. "description": "状态 0-无效(停用) 1-有效(正常)",
  11674. "type": "integer"
  11675. },
  11676. "middlegoodscode": {
  11677. "description": "套保品种代码",
  11678. "type": "string"
  11679. },
  11680. "middlegoodsid": {
  11681. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11682. "type": "integer"
  11683. },
  11684. "middlegoodsname": {
  11685. "description": "套保品种名称",
  11686. "type": "string"
  11687. },
  11688. "modifytime": {
  11689. "description": "修改时间",
  11690. "type": "string"
  11691. },
  11692. "needhedgeratio": {
  11693. "description": "套保比率",
  11694. "type": "number"
  11695. },
  11696. "qtydecimalplace": {
  11697. "description": "数量小数位",
  11698. "type": "integer"
  11699. },
  11700. "relatedgoodsid": {
  11701. "description": "关联交易商品ID",
  11702. "type": "integer"
  11703. },
  11704. "relatedgoodstype": {
  11705. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11706. "type": "integer"
  11707. }
  11708. }
  11709. },
  11710. "models.ErmcpReportDayFR": {
  11711. "type": "object",
  11712. "properties": {
  11713. "areauserid": {
  11714. "description": "所属机构",
  11715. "type": "integer"
  11716. },
  11717. "collectinvoiceamount": {
  11718. "description": "今日开票金额",
  11719. "type": "number"
  11720. },
  11721. "collectinvoicecount": {
  11722. "description": "今日开票笔数",
  11723. "type": "integer"
  11724. },
  11725. "collectmoneyamount": {
  11726. "description": "今日收款金额",
  11727. "type": "number"
  11728. },
  11729. "collectmoneycount": {
  11730. "description": "今日收款笔数",
  11731. "type": "integer"
  11732. },
  11733. "payinvoiceamount": {
  11734. "description": "今日收票金额",
  11735. "type": "number"
  11736. },
  11737. "payinvoicecount": {
  11738. "description": "今日收票笔数",
  11739. "type": "integer"
  11740. },
  11741. "paymoneyamount": {
  11742. "description": "今日付款金额",
  11743. "type": "number"
  11744. },
  11745. "paymoneycount": {
  11746. "description": "今日付款笔数",
  11747. "type": "integer"
  11748. },
  11749. "reckondate": {
  11750. "description": "日照时期(yyyyMMdd)",
  11751. "type": "string"
  11752. },
  11753. "updatetime": {
  11754. "description": "更新时间",
  11755. "type": "string"
  11756. }
  11757. }
  11758. },
  11759. "models.ErmcpWrstandard": {
  11760. "type": "object",
  11761. "properties": {
  11762. "areauserid": {
  11763. "description": "所属机构",
  11764. "type": "integer"
  11765. },
  11766. "createtime": {
  11767. "description": "创建时间",
  11768. "type": "string"
  11769. },
  11770. "creatorid": {
  11771. "description": "创建人",
  11772. "type": "integer"
  11773. },
  11774. "deliverygoodsid": {
  11775. "description": "品种ID",
  11776. "type": "integer"
  11777. },
  11778. "enumdicname": {
  11779. "description": "单位名称",
  11780. "type": "string"
  11781. },
  11782. "isvalid": {
  11783. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11784. "type": "integer"
  11785. },
  11786. "minivalue": {
  11787. "description": "最小变动值",
  11788. "type": "integer"
  11789. },
  11790. "minivaluedp": {
  11791. "description": "最小变动值小数位",
  11792. "type": "integer"
  11793. },
  11794. "realminivalue": {
  11795. "description": "实际最小变动值",
  11796. "type": "integer"
  11797. },
  11798. "realminivaluedp": {
  11799. "description": "实际最小变动值小数位",
  11800. "type": "integer"
  11801. },
  11802. "remark": {
  11803. "description": "备注",
  11804. "type": "string"
  11805. },
  11806. "unitid": {
  11807. "description": "单位ID",
  11808. "type": "integer"
  11809. },
  11810. "updatetime": {
  11811. "description": "更新时间",
  11812. "type": "string"
  11813. },
  11814. "wrstandardcode": {
  11815. "description": "现货商品代码",
  11816. "type": "string"
  11817. },
  11818. "wrstandardid": {
  11819. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11820. "type": "integer"
  11821. },
  11822. "wrstandardname": {
  11823. "description": "现货商品名称",
  11824. "type": "string"
  11825. }
  11826. }
  11827. },
  11828. "models.Goods": {
  11829. "type": "object",
  11830. "required": [
  11831. "goodscode",
  11832. "goodsid",
  11833. "goodsname",
  11834. "marketid"
  11835. ],
  11836. "properties": {
  11837. "agreeunit": {
  11838. "description": "合约单位",
  11839. "type": "number"
  11840. },
  11841. "auditaccountid": {
  11842. "description": "审核操作员账号",
  11843. "type": "integer"
  11844. },
  11845. "audittime": {
  11846. "description": "审核时间",
  11847. "type": "string"
  11848. },
  11849. "cancelaccountid": {
  11850. "description": "注销操作员账号",
  11851. "type": "integer"
  11852. },
  11853. "canceltime": {
  11854. "description": "注销时间",
  11855. "type": "string"
  11856. },
  11857. "closepricemode": {
  11858. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11859. "type": "integer"
  11860. },
  11861. "closepriceparam": {
  11862. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11863. "type": "number"
  11864. },
  11865. "createtime": {
  11866. "description": "创建时间",
  11867. "type": "string"
  11868. },
  11869. "creatorid": {
  11870. "description": "创建人",
  11871. "type": "integer"
  11872. },
  11873. "currencyid": {
  11874. "description": "报价货币ID",
  11875. "type": "integer"
  11876. },
  11877. "cutmode": {
  11878. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11879. "type": "integer"
  11880. },
  11881. "decimalplace": {
  11882. "description": "报价小数位",
  11883. "type": "integer"
  11884. },
  11885. "delistingdate": {
  11886. "description": "商品退市时间(状态:退市) -- 已作废",
  11887. "type": "string"
  11888. },
  11889. "delistingmode": {
  11890. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11891. "type": "integer"
  11892. },
  11893. "deliveryflag": {
  11894. "description": "交割标志 - 0:不可交割 1:可交割",
  11895. "type": "integer"
  11896. },
  11897. "forceclosemode": {
  11898. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11899. "type": "integer"
  11900. },
  11901. "forceclosevalue": {
  11902. "description": "定期强平参数 [收益权]",
  11903. "type": "integer"
  11904. },
  11905. "goodscode": {
  11906. "description": "商品代码(内部)",
  11907. "type": "string"
  11908. },
  11909. "goodscurrencyid": {
  11910. "description": "合约货币ID",
  11911. "type": "integer"
  11912. },
  11913. "goodsgroupid": {
  11914. "description": "所属商品组ID",
  11915. "type": "integer"
  11916. },
  11917. "goodsid": {
  11918. "description": "商品ID(自增ID SEQ_GOODS)",
  11919. "type": "integer"
  11920. },
  11921. "goodsname": {
  11922. "description": "商品名称",
  11923. "type": "string"
  11924. },
  11925. "goodsquotetype": {
  11926. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11927. "type": "integer"
  11928. },
  11929. "goodsstatus": {
  11930. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11931. "type": "integer"
  11932. },
  11933. "goodstradetype": {
  11934. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11935. "type": "integer"
  11936. },
  11937. "goodunitid": {
  11938. "description": "报价单位ID",
  11939. "type": "integer"
  11940. },
  11941. "hasquoter": {
  11942. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11943. "type": "integer"
  11944. },
  11945. "hqprotecttime": {
  11946. "description": "行情保护时间(秒)",
  11947. "type": "integer"
  11948. },
  11949. "innerdealmode": {
  11950. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11951. "type": "integer"
  11952. },
  11953. "isbuylimited": {
  11954. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11955. "type": "integer"
  11956. },
  11957. "lasttradedate": {
  11958. "description": "最后交易日期(状态:待退市)",
  11959. "type": "string"
  11960. },
  11961. "listingdate": {
  11962. "description": "交易开始日期",
  11963. "type": "string"
  11964. },
  11965. "marketid": {
  11966. "description": "所属市场ID",
  11967. "type": "integer"
  11968. },
  11969. "modifierid": {
  11970. "description": "修改人",
  11971. "type": "integer"
  11972. },
  11973. "modifystatus": {
  11974. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11975. "type": "integer"
  11976. },
  11977. "modifytime": {
  11978. "description": "修改时间",
  11979. "type": "string"
  11980. },
  11981. "outerdealmode": {
  11982. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11983. "type": "integer"
  11984. },
  11985. "outgoodscode": {
  11986. "description": "商品代码(外部)",
  11987. "type": "string"
  11988. },
  11989. "qtydecimalplace": {
  11990. "description": "成交量小数位",
  11991. "type": "integer"
  11992. },
  11993. "quotegear": {
  11994. "description": "行情档位(1-10)",
  11995. "type": "integer"
  11996. },
  11997. "quoteminunit": {
  11998. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11999. "type": "integer"
  12000. },
  12001. "quoteshowtype": {
  12002. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12003. "type": "integer"
  12004. },
  12005. "quoteshowtypeinterval": {
  12006. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12007. "type": "integer"
  12008. },
  12009. "remark": {
  12010. "description": "备注",
  12011. "type": "string"
  12012. }
  12013. }
  12014. },
  12015. "models.GoodsBrand": {
  12016. "type": "object",
  12017. "properties": {
  12018. "brandid": {
  12019. "description": "品牌ID",
  12020. "type": "integer"
  12021. },
  12022. "brandname": {
  12023. "description": "品牌名称",
  12024. "type": "string"
  12025. },
  12026. "isvalid": {
  12027. "description": "是否有效 - 0:无效 1:有效",
  12028. "type": "integer"
  12029. }
  12030. }
  12031. },
  12032. "models.GoodsGroupConvert": {
  12033. "type": "object",
  12034. "properties": {
  12035. "convertratio": {
  12036. "description": "折算系数",
  12037. "type": "number"
  12038. },
  12039. "dstgoodsgroupid": {
  12040. "description": "目标期货品种ID",
  12041. "type": "integer"
  12042. },
  12043. "goodsgroupname": {
  12044. "description": "期货品种名称",
  12045. "type": "string"
  12046. },
  12047. "outergroupcode": {
  12048. "description": "期货品种代码",
  12049. "type": "string"
  12050. },
  12051. "srcgoodsgroupid": {
  12052. "description": "源期货品种ID",
  12053. "type": "integer"
  12054. }
  12055. }
  12056. },
  12057. "models.GoodsIDAndName": {
  12058. "type": "object",
  12059. "required": [
  12060. "goodscode",
  12061. "goodsid",
  12062. "goodsname",
  12063. "marketid"
  12064. ],
  12065. "properties": {
  12066. "goodscode": {
  12067. "description": "商品代码(内部)",
  12068. "type": "string"
  12069. },
  12070. "goodsid": {
  12071. "description": "商品ID(自增ID SEQ_GOODS)",
  12072. "type": "integer"
  12073. },
  12074. "goodsname": {
  12075. "description": "商品名称",
  12076. "type": "string"
  12077. },
  12078. "marketid": {
  12079. "description": "所属市场ID",
  12080. "type": "integer"
  12081. }
  12082. }
  12083. },
  12084. "models.GoodsTypeModel": {
  12085. "type": "object",
  12086. "properties": {
  12087. "modelid": {
  12088. "description": "型号ID",
  12089. "type": "integer"
  12090. },
  12091. "modelname": {
  12092. "description": "型号名称",
  12093. "type": "string"
  12094. },
  12095. "updatetime": {
  12096. "description": "更新时间",
  12097. "type": "string"
  12098. }
  12099. }
  12100. },
  12101. "models.HsbyBuyMyPayOrder": {
  12102. "type": "object",
  12103. "required": [
  12104. "goodscode",
  12105. "goodsname",
  12106. "tradeid",
  12107. "trademode"
  12108. ],
  12109. "properties": {
  12110. "agreeunit": {
  12111. "description": "合约单位",
  12112. "type": "number"
  12113. },
  12114. "buyaccountid": {
  12115. "description": "买方账号ID[报价币种]",
  12116. "type": "integer"
  12117. },
  12118. "buyorderid": {
  12119. "description": "买方委托单号",
  12120. "type": "string"
  12121. },
  12122. "createtime": {
  12123. "description": "创建时间",
  12124. "type": "string"
  12125. },
  12126. "currencysign": {
  12127. "description": "货币符号",
  12128. "type": "string"
  12129. },
  12130. "decimalplace": {
  12131. "description": "报价小数位",
  12132. "type": "integer"
  12133. },
  12134. "goodscode": {
  12135. "description": "商品代码(内部)",
  12136. "type": "string"
  12137. },
  12138. "goodsid": {
  12139. "description": "商品ID",
  12140. "type": "integer"
  12141. },
  12142. "goodsname": {
  12143. "description": "商品名称",
  12144. "type": "string"
  12145. },
  12146. "marketid": {
  12147. "description": "市场ID",
  12148. "type": "integer"
  12149. },
  12150. "offamount": {
  12151. "description": "优惠金额",
  12152. "type": "number"
  12153. },
  12154. "payamount": {
  12155. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12156. "type": "number"
  12157. },
  12158. "payflag": {
  12159. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12160. "type": "integer"
  12161. },
  12162. "paylimitedtime": {
  12163. "description": "支付期限",
  12164. "type": "string"
  12165. },
  12166. "paytime": {
  12167. "description": "付款时间",
  12168. "type": "string"
  12169. },
  12170. "picurls1": {
  12171. "description": "预售商品介绍图片[多张用逗号分隔]",
  12172. "type": "string"
  12173. },
  12174. "picurls2": {
  12175. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12176. "type": "string"
  12177. },
  12178. "sellaccountid": {
  12179. "description": "卖方账号ID[报价币种]",
  12180. "type": "integer"
  12181. },
  12182. "sellorderid": {
  12183. "description": "卖方委托单号",
  12184. "type": "string"
  12185. },
  12186. "tradeamount": {
  12187. "description": "成交金额",
  12188. "type": "number"
  12189. },
  12190. "tradecharge": {
  12191. "description": "成交手续费(买方)",
  12192. "type": "number"
  12193. },
  12194. "tradedate": {
  12195. "description": "交易日(yyyyMMdd)",
  12196. "type": "string"
  12197. },
  12198. "tradeid": {
  12199. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12200. "type": "string"
  12201. },
  12202. "trademode": {
  12203. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12204. "type": "integer"
  12205. },
  12206. "tradeprice": {
  12207. "description": "成交价格",
  12208. "type": "number"
  12209. },
  12210. "tradeqty": {
  12211. "description": "成交数量",
  12212. "type": "integer"
  12213. },
  12214. "vendorname1": {
  12215. "description": "预售商品供应商名称",
  12216. "type": "string"
  12217. },
  12218. "vendorname2": {
  12219. "description": "挂牌商品供应商名称",
  12220. "type": "string"
  12221. }
  12222. }
  12223. },
  12224. "models.HsbyBuyMyTradeDetail": {
  12225. "type": "object",
  12226. "required": [
  12227. "accountid",
  12228. "buyorsell",
  12229. "goodscode",
  12230. "goodsid",
  12231. "goodsname",
  12232. "marketid",
  12233. "orderid",
  12234. "qty",
  12235. "time",
  12236. "trademode"
  12237. ],
  12238. "properties": {
  12239. "accountid": {
  12240. "description": "账户ID[报价币种]",
  12241. "type": "integer"
  12242. },
  12243. "agreeunit": {
  12244. "description": "合约单位",
  12245. "type": "number"
  12246. },
  12247. "amount": {
  12248. "description": "金额 = 价格 * 数量 * 合约单位",
  12249. "type": "number"
  12250. },
  12251. "buyorsell": {
  12252. "description": "买卖 - 0:买 1:卖",
  12253. "type": "integer"
  12254. },
  12255. "currencysign": {
  12256. "description": "货币符号",
  12257. "type": "string"
  12258. },
  12259. "decimalplace": {
  12260. "description": "报价小数位",
  12261. "type": "integer"
  12262. },
  12263. "goodscode": {
  12264. "description": "商品代码(内部)",
  12265. "type": "string"
  12266. },
  12267. "goodsid": {
  12268. "description": "商品ID",
  12269. "type": "integer"
  12270. },
  12271. "goodsname": {
  12272. "description": "商品名称",
  12273. "type": "string"
  12274. },
  12275. "marketid": {
  12276. "description": "市场ID",
  12277. "type": "integer"
  12278. },
  12279. "orderid": {
  12280. "description": "单号(成交单号)",
  12281. "type": "string"
  12282. },
  12283. "picurls1": {
  12284. "description": "预售商品介绍图片[多张用逗号分隔]",
  12285. "type": "string"
  12286. },
  12287. "picurls2": {
  12288. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12289. "type": "string"
  12290. },
  12291. "price": {
  12292. "description": "价格",
  12293. "type": "number"
  12294. },
  12295. "qty": {
  12296. "description": "数量",
  12297. "type": "integer"
  12298. },
  12299. "time": {
  12300. "description": "时间",
  12301. "type": "string"
  12302. },
  12303. "trademode": {
  12304. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12305. "type": "integer"
  12306. },
  12307. "vendorname1": {
  12308. "description": "预售商品供应商名称",
  12309. "type": "string"
  12310. },
  12311. "vendorname2": {
  12312. "description": "挂牌商品供应商名称",
  12313. "type": "string"
  12314. }
  12315. }
  12316. },
  12317. "models.HsbyGoodsOrderDetail": {
  12318. "type": "object",
  12319. "required": [
  12320. "buyorsell",
  12321. "orderid",
  12322. "ordertime"
  12323. ],
  12324. "properties": {
  12325. "buyorsell": {
  12326. "description": "买卖 - 0:买 1:卖",
  12327. "type": "integer"
  12328. },
  12329. "currencysign": {
  12330. "description": "货币符号",
  12331. "type": "string"
  12332. },
  12333. "customername": {
  12334. "description": "客户名称(企业名称),已脱敏",
  12335. "type": "string"
  12336. },
  12337. "enableqty": {
  12338. "description": "可用数量",
  12339. "type": "integer"
  12340. },
  12341. "goodunit": {
  12342. "description": "报价单位",
  12343. "type": "string"
  12344. },
  12345. "orderid": {
  12346. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12347. "type": "string"
  12348. },
  12349. "orderprice": {
  12350. "description": "委托价格",
  12351. "type": "number"
  12352. },
  12353. "ordertime": {
  12354. "description": "委托时间",
  12355. "type": "string"
  12356. }
  12357. }
  12358. },
  12359. "models.HsbyListingGoodsDetail": {
  12360. "type": "object",
  12361. "required": [
  12362. "goodscode",
  12363. "goodsid",
  12364. "goodsname",
  12365. "marketid",
  12366. "trademode"
  12367. ],
  12368. "properties": {
  12369. "agreeunit": {
  12370. "description": "合约单位",
  12371. "type": "number"
  12372. },
  12373. "buymaxqty": {
  12374. "description": "购买上限 [71] - 0为不限",
  12375. "type": "integer"
  12376. },
  12377. "currency": {
  12378. "description": "货币",
  12379. "type": "string"
  12380. },
  12381. "currencysign": {
  12382. "description": "货币符号",
  12383. "type": "string"
  12384. },
  12385. "decimalplace": {
  12386. "description": "报价小数位",
  12387. "type": "integer"
  12388. },
  12389. "desccityid": {
  12390. "description": "目的地(市)ID",
  12391. "type": "integer"
  12392. },
  12393. "descprovinceid": {
  12394. "description": "目的地(省)ID",
  12395. "type": "integer"
  12396. },
  12397. "goodscode": {
  12398. "description": "商品代码(内部)",
  12399. "type": "string"
  12400. },
  12401. "goodsdesc": {
  12402. "description": "商品详情",
  12403. "type": "string"
  12404. },
  12405. "goodsid": {
  12406. "description": "商品ID(自增ID SEQ_GOODS)",
  12407. "type": "integer"
  12408. },
  12409. "goodsname": {
  12410. "description": "商品名称",
  12411. "type": "string"
  12412. },
  12413. "goodsprice": {
  12414. "description": "商品价格",
  12415. "type": "number"
  12416. },
  12417. "hotindex": {
  12418. "description": "景点热度",
  12419. "type": "integer"
  12420. },
  12421. "last": {
  12422. "description": "现价",
  12423. "type": "number"
  12424. },
  12425. "limitdown": {
  12426. "description": "跌停价",
  12427. "type": "number"
  12428. },
  12429. "limitup": {
  12430. "description": "涨停价",
  12431. "type": "number"
  12432. },
  12433. "lotsize": {
  12434. "description": "手数最小变动单位",
  12435. "type": "integer"
  12436. },
  12437. "marketid": {
  12438. "description": "所属市场ID",
  12439. "type": "integer"
  12440. },
  12441. "picurls": {
  12442. "description": "介绍图片[多张用逗号分隔]",
  12443. "type": "string"
  12444. },
  12445. "quoteminunit": {
  12446. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12447. "type": "integer"
  12448. },
  12449. "stepvalue": {
  12450. "description": "价格最小变动单位",
  12451. "type": "number"
  12452. },
  12453. "trademode": {
  12454. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12455. "type": "integer"
  12456. },
  12457. "vendorattr": {
  12458. "description": "供应商附件(多张,逗号分隔)",
  12459. "type": "string"
  12460. },
  12461. "vendorname": {
  12462. "description": "供应商名称",
  12463. "type": "string"
  12464. },
  12465. "vendorphone": {
  12466. "description": "供应商客服电话",
  12467. "type": "string"
  12468. },
  12469. "videourls": {
  12470. "description": "介绍视频[多张用逗号分隔]",
  12471. "type": "string"
  12472. }
  12473. }
  12474. },
  12475. "models.HsbyMarketGoods": {
  12476. "type": "object",
  12477. "required": [
  12478. "accountid",
  12479. "buyorsell",
  12480. "goodscode",
  12481. "goodsid",
  12482. "goodsname",
  12483. "marketid",
  12484. "orderid",
  12485. "trademode"
  12486. ],
  12487. "properties": {
  12488. "accountid": {
  12489. "description": "账户ID[报价币种]",
  12490. "type": "integer"
  12491. },
  12492. "agreeunit": {
  12493. "description": "合约单位",
  12494. "type": "number"
  12495. },
  12496. "buyorsell": {
  12497. "description": "买卖 - 0:买 1:卖",
  12498. "type": "integer"
  12499. },
  12500. "categoryid": {
  12501. "description": "类别ID(WRCATEGORY)",
  12502. "type": "integer"
  12503. },
  12504. "currency": {
  12505. "description": "货币",
  12506. "type": "string"
  12507. },
  12508. "currencysign": {
  12509. "description": "货币符号",
  12510. "type": "string"
  12511. },
  12512. "customername": {
  12513. "description": "卖家名称",
  12514. "type": "string"
  12515. },
  12516. "decimalplace": {
  12517. "description": "报价小数位",
  12518. "type": "integer"
  12519. },
  12520. "goodscode": {
  12521. "description": "商品代码(内部)",
  12522. "type": "string"
  12523. },
  12524. "goodsid": {
  12525. "description": "商品ID",
  12526. "type": "integer"
  12527. },
  12528. "goodsname": {
  12529. "description": "商品名称",
  12530. "type": "string"
  12531. },
  12532. "goodsprice": {
  12533. "description": "商品价格",
  12534. "type": "number"
  12535. },
  12536. "hascoupon": {
  12537. "description": "是否可用优惠卷",
  12538. "type": "boolean"
  12539. },
  12540. "hotindex": {
  12541. "description": "景点热度",
  12542. "type": "integer"
  12543. },
  12544. "marketid": {
  12545. "description": "市场ID",
  12546. "type": "integer"
  12547. },
  12548. "orderid": {
  12549. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12550. "type": "string"
  12551. },
  12552. "orderprice": {
  12553. "description": "委托价格",
  12554. "type": "number"
  12555. },
  12556. "orderstatus": {
  12557. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12558. "type": "integer"
  12559. },
  12560. "picurls": {
  12561. "description": "介绍图片[多张用逗号分隔]",
  12562. "type": "string"
  12563. },
  12564. "quoteminunit": {
  12565. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12566. "type": "integer"
  12567. },
  12568. "sellUserID": {
  12569. "description": "卖方UserID",
  12570. "type": "integer"
  12571. },
  12572. "trademode": {
  12573. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12574. "type": "integer"
  12575. },
  12576. "videourls": {
  12577. "description": "介绍视频[多张用逗号分隔]",
  12578. "type": "string"
  12579. }
  12580. }
  12581. },
  12582. "models.HsbyMarketGoodsDetail": {
  12583. "type": "object",
  12584. "required": [
  12585. "accountid",
  12586. "buyorsell",
  12587. "goodscode",
  12588. "goodsid",
  12589. "goodsname",
  12590. "marketid",
  12591. "orderid",
  12592. "orderqty",
  12593. "trademode"
  12594. ],
  12595. "properties": {
  12596. "accountid": {
  12597. "description": "账户ID[报价币种]",
  12598. "type": "integer"
  12599. },
  12600. "agreeunit": {
  12601. "description": "合约单位",
  12602. "type": "number"
  12603. },
  12604. "buymaxqty": {
  12605. "description": "购买上限 [71] - 0为不限",
  12606. "type": "integer"
  12607. },
  12608. "buyorsell": {
  12609. "description": "买卖 - 0:买 1:卖",
  12610. "type": "integer"
  12611. },
  12612. "cancelqty": {
  12613. "description": "撤单数量",
  12614. "type": "integer"
  12615. },
  12616. "categoryid": {
  12617. "description": "类别ID(WRCATEGORY)",
  12618. "type": "integer"
  12619. },
  12620. "currency": {
  12621. "description": "货币",
  12622. "type": "string"
  12623. },
  12624. "currencysign": {
  12625. "description": "货币符号",
  12626. "type": "string"
  12627. },
  12628. "customername": {
  12629. "description": "卖家名称",
  12630. "type": "string"
  12631. },
  12632. "decimalplace": {
  12633. "description": "报价小数位",
  12634. "type": "integer"
  12635. },
  12636. "goodscode": {
  12637. "description": "商品代码(内部)",
  12638. "type": "string"
  12639. },
  12640. "goodsdesc": {
  12641. "description": "商品详情",
  12642. "type": "string"
  12643. },
  12644. "goodsid": {
  12645. "description": "商品ID",
  12646. "type": "integer"
  12647. },
  12648. "goodsname": {
  12649. "description": "商品名称",
  12650. "type": "string"
  12651. },
  12652. "goodsprice": {
  12653. "description": "商品价格",
  12654. "type": "number"
  12655. },
  12656. "hotindex": {
  12657. "description": "景点热度",
  12658. "type": "integer"
  12659. },
  12660. "lotsize": {
  12661. "description": "手数最小变动单位",
  12662. "type": "integer"
  12663. },
  12664. "marketid": {
  12665. "description": "市场ID",
  12666. "type": "integer"
  12667. },
  12668. "orderid": {
  12669. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12670. "type": "string"
  12671. },
  12672. "orderprice": {
  12673. "description": "委托价格",
  12674. "type": "number"
  12675. },
  12676. "orderqty": {
  12677. "description": "委托数量",
  12678. "type": "integer"
  12679. },
  12680. "orderstatus": {
  12681. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12682. "type": "integer"
  12683. },
  12684. "picurls": {
  12685. "description": "介绍图片[多张用逗号分隔]",
  12686. "type": "string"
  12687. },
  12688. "quoteminunit": {
  12689. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12690. "type": "integer"
  12691. },
  12692. "sellUserID": {
  12693. "description": "卖方UserID",
  12694. "type": "integer"
  12695. },
  12696. "trademode": {
  12697. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12698. "type": "integer"
  12699. },
  12700. "tradeqty": {
  12701. "description": "成交数量",
  12702. "type": "integer"
  12703. },
  12704. "vendorattr": {
  12705. "description": "供应商附件(多张,逗号分隔)",
  12706. "type": "string"
  12707. },
  12708. "vendorname": {
  12709. "description": "供应商名称",
  12710. "type": "string"
  12711. },
  12712. "vendorphone": {
  12713. "description": "供应商客服电话",
  12714. "type": "string"
  12715. },
  12716. "videourls": {
  12717. "description": "介绍视频[多张用逗号分隔]",
  12718. "type": "string"
  12719. }
  12720. }
  12721. },
  12722. "models.HsbyMarketInfo": {
  12723. "type": "object",
  12724. "required": [
  12725. "marketid",
  12726. "marketstatus",
  12727. "trademode"
  12728. ],
  12729. "properties": {
  12730. "marketid": {
  12731. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12732. "type": "integer"
  12733. },
  12734. "marketname": {
  12735. "description": "市场名称",
  12736. "type": "string"
  12737. },
  12738. "marketstatus": {
  12739. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12740. "type": "integer"
  12741. },
  12742. "trademode": {
  12743. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12744. "type": "integer"
  12745. }
  12746. }
  12747. },
  12748. "models.HsbyMyGoods": {
  12749. "type": "object",
  12750. "required": [
  12751. "accountid",
  12752. "goodscode",
  12753. "goodsid",
  12754. "goodsname",
  12755. "marketid",
  12756. "trademode"
  12757. ],
  12758. "properties": {
  12759. "accountid": {
  12760. "description": "账号Id",
  12761. "type": "integer"
  12762. },
  12763. "agreeunit": {
  12764. "description": "合约单位",
  12765. "type": "number"
  12766. },
  12767. "buyaverageprice": {
  12768. "description": "持仓均价",
  12769. "type": "number"
  12770. },
  12771. "buycurholderamount": {
  12772. "description": "买当前持仓总金额[商品币种]",
  12773. "type": "number"
  12774. },
  12775. "buycurpositionqty": {
  12776. "description": "买当前持仓总数量",
  12777. "type": "integer"
  12778. },
  12779. "buymaxqty": {
  12780. "description": "购买上限 [71] - 0为不限",
  12781. "type": "integer"
  12782. },
  12783. "currencysign": {
  12784. "description": "货币符号",
  12785. "type": "string"
  12786. },
  12787. "decimalplace": {
  12788. "description": "报价小数位",
  12789. "type": "integer"
  12790. },
  12791. "enableqty": {
  12792. "description": "可用数量",
  12793. "type": "integer"
  12794. },
  12795. "goodscode": {
  12796. "description": "商品代码(内部)",
  12797. "type": "string"
  12798. },
  12799. "goodsid": {
  12800. "description": "商品Id",
  12801. "type": "integer"
  12802. },
  12803. "goodsname": {
  12804. "description": "商品名称",
  12805. "type": "string"
  12806. },
  12807. "goodsprice": {
  12808. "description": "商品价格",
  12809. "type": "number"
  12810. },
  12811. "goodsstatus": {
  12812. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12813. "type": "integer"
  12814. },
  12815. "last": {
  12816. "description": "现价(仅使用于挂牌点选)",
  12817. "type": "number"
  12818. },
  12819. "limitdown": {
  12820. "description": "跌停价(仅使用于挂牌点选)",
  12821. "type": "number"
  12822. },
  12823. "limitup": {
  12824. "description": "涨停价(仅使用于挂牌点选)",
  12825. "type": "number"
  12826. },
  12827. "lotsize": {
  12828. "description": "手数最小变动单位",
  12829. "type": "integer"
  12830. },
  12831. "marketid": {
  12832. "description": "所属市场ID",
  12833. "type": "integer"
  12834. },
  12835. "picurls": {
  12836. "description": "介绍图片[多张用逗号分隔]",
  12837. "type": "string"
  12838. },
  12839. "quoteminunit": {
  12840. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12841. "type": "integer"
  12842. },
  12843. "stepvalue": {
  12844. "description": "价格最小变动单位",
  12845. "type": "number"
  12846. },
  12847. "trademode": {
  12848. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12849. "type": "integer"
  12850. }
  12851. }
  12852. },
  12853. "models.HsbyMyPackage": {
  12854. "type": "object",
  12855. "required": [
  12856. "goodscode",
  12857. "goodsname",
  12858. "takeorderid",
  12859. "trademode"
  12860. ],
  12861. "properties": {
  12862. "accountid": {
  12863. "description": "账户ID",
  12864. "type": "integer"
  12865. },
  12866. "address": {
  12867. "description": "提货人详细地址",
  12868. "type": "string"
  12869. },
  12870. "agreeunit": {
  12871. "description": "合约单位",
  12872. "type": "number"
  12873. },
  12874. "amount": {
  12875. "description": "提货金额",
  12876. "type": "number"
  12877. },
  12878. "auditer": {
  12879. "description": "审核人",
  12880. "type": "integer"
  12881. },
  12882. "audittime": {
  12883. "description": "审核时间",
  12884. "type": "string"
  12885. },
  12886. "averageprice": {
  12887. "description": "均价",
  12888. "type": "number"
  12889. },
  12890. "cardnum": {
  12891. "description": "提货人证件号码",
  12892. "type": "string"
  12893. },
  12894. "cardtypeid": {
  12895. "description": "提货人证件类型",
  12896. "type": "integer"
  12897. },
  12898. "checkremark": {
  12899. "description": "审核备注",
  12900. "type": "string"
  12901. },
  12902. "currencysign": {
  12903. "description": "货币符号",
  12904. "type": "string"
  12905. },
  12906. "decimalplace": {
  12907. "description": "报价小数位",
  12908. "type": "integer"
  12909. },
  12910. "goodscode": {
  12911. "description": "商品代码(内部)",
  12912. "type": "string"
  12913. },
  12914. "goodsid": {
  12915. "description": "商品ID",
  12916. "type": "integer"
  12917. },
  12918. "goodsname": {
  12919. "description": "商品名称",
  12920. "type": "string"
  12921. },
  12922. "handlestatus": {
  12923. "description": "处理状态",
  12924. "type": "integer"
  12925. },
  12926. "marketid": {
  12927. "description": "市场ID",
  12928. "type": "integer"
  12929. },
  12930. "phonenum": {
  12931. "description": "提货人联系方式",
  12932. "type": "string"
  12933. },
  12934. "picurls": {
  12935. "description": "介绍图片[多张用逗号分隔]",
  12936. "type": "string"
  12937. },
  12938. "qty": {
  12939. "description": "提货数量",
  12940. "type": "number"
  12941. },
  12942. "recivername": {
  12943. "description": "提货人姓名",
  12944. "type": "string"
  12945. },
  12946. "reqtime": {
  12947. "description": "更新时间",
  12948. "type": "string"
  12949. },
  12950. "takemode": {
  12951. "description": "提货方式 - 2:自提 3:配送",
  12952. "type": "integer"
  12953. },
  12954. "takeorderid": {
  12955. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12956. "type": "string"
  12957. },
  12958. "takeorderstatus": {
  12959. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12960. "type": "integer"
  12961. },
  12962. "takeremark": {
  12963. "description": "提货备注",
  12964. "type": "string"
  12965. },
  12966. "tradedate": {
  12967. "description": "交易日(yyyyMMdd)",
  12968. "type": "string"
  12969. },
  12970. "trademode": {
  12971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12972. "type": "integer"
  12973. },
  12974. "userid": {
  12975. "description": "用户ID",
  12976. "type": "integer"
  12977. },
  12978. "vendorname": {
  12979. "description": "供应商名称",
  12980. "type": "string"
  12981. }
  12982. }
  12983. },
  12984. "models.HsbyPreGoods": {
  12985. "type": "object",
  12986. "required": [
  12987. "goodscode",
  12988. "goodsid",
  12989. "goodsname",
  12990. "marketid",
  12991. "trademode"
  12992. ],
  12993. "properties": {
  12994. "agreeunit": {
  12995. "description": "合约单位",
  12996. "type": "number"
  12997. },
  12998. "currency": {
  12999. "description": "货币",
  13000. "type": "string"
  13001. },
  13002. "currencysign": {
  13003. "description": "货币符号",
  13004. "type": "string"
  13005. },
  13006. "decimalplace": {
  13007. "description": "报价小数位",
  13008. "type": "integer"
  13009. },
  13010. "desccityid": {
  13011. "description": "目的地(市)",
  13012. "type": "integer"
  13013. },
  13014. "descprovinceid": {
  13015. "description": "目的地(省)",
  13016. "type": "integer"
  13017. },
  13018. "enableqty": {
  13019. "description": "剩余数量",
  13020. "type": "integer"
  13021. },
  13022. "goodscode": {
  13023. "description": "商品代码(内部)",
  13024. "type": "string"
  13025. },
  13026. "goodsid": {
  13027. "description": "商品ID(自增ID SEQ_GOODS)",
  13028. "type": "integer"
  13029. },
  13030. "goodsname": {
  13031. "description": "商品名称",
  13032. "type": "string"
  13033. },
  13034. "goodsstatus": {
  13035. "description": "商品状态- 2:未上市 3:上市",
  13036. "type": "integer"
  13037. },
  13038. "lasttradedate": {
  13039. "description": "最后交易日期(状态:待退市)",
  13040. "type": "string"
  13041. },
  13042. "listingdate": {
  13043. "description": "交易开始日期",
  13044. "type": "string"
  13045. },
  13046. "marketid": {
  13047. "description": "所属市场ID",
  13048. "type": "integer"
  13049. },
  13050. "picurls": {
  13051. "description": "介绍图片[多张用逗号分隔]",
  13052. "type": "string"
  13053. },
  13054. "presaledqty": {
  13055. "description": "已预售量(预售结束时更新)",
  13056. "type": "integer"
  13057. },
  13058. "presaleqty": {
  13059. "description": "预售数量",
  13060. "type": "integer"
  13061. },
  13062. "quoteminunit": {
  13063. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13064. "type": "integer"
  13065. },
  13066. "refprice": {
  13067. "description": "参考价格[一口价]",
  13068. "type": "number"
  13069. },
  13070. "relatedgoodsid": {
  13071. "description": "关联交易合约ID",
  13072. "type": "integer"
  13073. },
  13074. "trademode": {
  13075. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13076. "type": "integer"
  13077. },
  13078. "videourls": {
  13079. "description": "介绍视频[多张用逗号分隔]",
  13080. "type": "string"
  13081. }
  13082. }
  13083. },
  13084. "models.HsbyPreGoodsDetail": {
  13085. "type": "object",
  13086. "required": [
  13087. "goodscode",
  13088. "goodsid",
  13089. "goodsname",
  13090. "marketid",
  13091. "trademode"
  13092. ],
  13093. "properties": {
  13094. "agreeunit": {
  13095. "description": "合约单位",
  13096. "type": "number"
  13097. },
  13098. "buymaxqty": {
  13099. "description": "购买上限 [71] - 0为不限",
  13100. "type": "integer"
  13101. },
  13102. "currency": {
  13103. "description": "货币",
  13104. "type": "string"
  13105. },
  13106. "currencysign": {
  13107. "description": "货币符号",
  13108. "type": "string"
  13109. },
  13110. "customername": {
  13111. "description": "发行单位",
  13112. "type": "string"
  13113. },
  13114. "decimalplace": {
  13115. "description": "报价小数位",
  13116. "type": "integer"
  13117. },
  13118. "desccityid": {
  13119. "description": "目的地(市)ID",
  13120. "type": "integer"
  13121. },
  13122. "descprovinceid": {
  13123. "description": "目的地(省)ID",
  13124. "type": "integer"
  13125. },
  13126. "enableqty": {
  13127. "description": "剩余数量",
  13128. "type": "integer"
  13129. },
  13130. "goodscode": {
  13131. "description": "商品代码(内部)",
  13132. "type": "string"
  13133. },
  13134. "goodsdesc": {
  13135. "description": "商品详情",
  13136. "type": "string"
  13137. },
  13138. "goodsid": {
  13139. "description": "商品ID(自增ID SEQ_GOODS)",
  13140. "type": "integer"
  13141. },
  13142. "goodsname": {
  13143. "description": "商品名称",
  13144. "type": "string"
  13145. },
  13146. "goodsstatus": {
  13147. "description": "商品状态- 2:未上市 3:上市",
  13148. "type": "integer"
  13149. },
  13150. "goodunit": {
  13151. "description": "报价单位",
  13152. "type": "string"
  13153. },
  13154. "lasttradedate": {
  13155. "description": "最后交易日期(状态:待退市)",
  13156. "type": "string"
  13157. },
  13158. "listingdate": {
  13159. "description": "交易开始日期",
  13160. "type": "string"
  13161. },
  13162. "lotsize": {
  13163. "description": "手数最小变动单位",
  13164. "type": "integer"
  13165. },
  13166. "marketid": {
  13167. "description": "所属市场ID",
  13168. "type": "integer"
  13169. },
  13170. "picurls": {
  13171. "description": "介绍图片[多张用逗号分隔]",
  13172. "type": "string"
  13173. },
  13174. "presaledqty": {
  13175. "description": "已预售量(预售结束时更新)",
  13176. "type": "integer"
  13177. },
  13178. "presaleqty": {
  13179. "description": "预售数量",
  13180. "type": "integer"
  13181. },
  13182. "quoteminunit": {
  13183. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13184. "type": "integer"
  13185. },
  13186. "refprice": {
  13187. "description": "参考价格[一口价]",
  13188. "type": "number"
  13189. },
  13190. "relatedgoodsid": {
  13191. "description": "关联交易合约ID",
  13192. "type": "integer"
  13193. },
  13194. "stepvalue": {
  13195. "description": "价格最小变动单位",
  13196. "type": "number"
  13197. },
  13198. "trademode": {
  13199. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13200. "type": "integer"
  13201. },
  13202. "vendorattr": {
  13203. "description": "供应商附件(多张,逗号分隔)",
  13204. "type": "string"
  13205. },
  13206. "vendorname": {
  13207. "description": "供应商名称",
  13208. "type": "string"
  13209. },
  13210. "vendorphone": {
  13211. "description": "供应商客服电话",
  13212. "type": "string"
  13213. },
  13214. "videourls": {
  13215. "description": "介绍视频[多张用逗号分隔]",
  13216. "type": "string"
  13217. }
  13218. }
  13219. },
  13220. "models.HsbySellCollectionOrder": {
  13221. "type": "object",
  13222. "required": [
  13223. "goodscode",
  13224. "goodsname",
  13225. "tradeid",
  13226. "trademode"
  13227. ],
  13228. "properties": {
  13229. "agreeunit": {
  13230. "description": "合约单位",
  13231. "type": "number"
  13232. },
  13233. "buyaccountid": {
  13234. "description": "买方账号ID[报价币种]",
  13235. "type": "integer"
  13236. },
  13237. "buyorderid": {
  13238. "description": "买方委托单号",
  13239. "type": "string"
  13240. },
  13241. "createtime": {
  13242. "description": "创建时间",
  13243. "type": "string"
  13244. },
  13245. "currencysign": {
  13246. "description": "货币符号",
  13247. "type": "string"
  13248. },
  13249. "decimalplace": {
  13250. "description": "报价小数位",
  13251. "type": "integer"
  13252. },
  13253. "goodscode": {
  13254. "description": "商品代码(内部)",
  13255. "type": "string"
  13256. },
  13257. "goodsid": {
  13258. "description": "商品ID",
  13259. "type": "integer"
  13260. },
  13261. "goodsname": {
  13262. "description": "商品名称",
  13263. "type": "string"
  13264. },
  13265. "marketid": {
  13266. "description": "市场ID",
  13267. "type": "integer"
  13268. },
  13269. "offamount": {
  13270. "description": "优惠金额",
  13271. "type": "number"
  13272. },
  13273. "payamount": {
  13274. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13275. "type": "number"
  13276. },
  13277. "payflag": {
  13278. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13279. "type": "integer"
  13280. },
  13281. "paylimitedtime": {
  13282. "description": "支付期限",
  13283. "type": "string"
  13284. },
  13285. "paytime": {
  13286. "description": "付款时间",
  13287. "type": "string"
  13288. },
  13289. "picurls": {
  13290. "description": "商品介绍图片[多张用逗号分隔]",
  13291. "type": "string"
  13292. },
  13293. "sellaccountid": {
  13294. "description": "卖方账号ID[报价币种]",
  13295. "type": "integer"
  13296. },
  13297. "sellorderid": {
  13298. "description": "卖方委托单号",
  13299. "type": "string"
  13300. },
  13301. "tradeamount": {
  13302. "description": "成交金额",
  13303. "type": "number"
  13304. },
  13305. "tradecharge": {
  13306. "description": "成交手续费(买方)",
  13307. "type": "number"
  13308. },
  13309. "tradedate": {
  13310. "description": "交易日(yyyyMMdd)",
  13311. "type": "string"
  13312. },
  13313. "tradeid": {
  13314. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13315. "type": "string"
  13316. },
  13317. "trademode": {
  13318. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13319. "type": "integer"
  13320. },
  13321. "tradeprice": {
  13322. "description": "成交价格",
  13323. "type": "number"
  13324. },
  13325. "tradeqty": {
  13326. "description": "成交数量",
  13327. "type": "integer"
  13328. }
  13329. }
  13330. },
  13331. "models.HsbySellMyDetail": {
  13332. "type": "object",
  13333. "required": [
  13334. "accountid",
  13335. "buyorsell",
  13336. "goodscode",
  13337. "goodsid",
  13338. "goodsname",
  13339. "marketid",
  13340. "orderid",
  13341. "time",
  13342. "trademode"
  13343. ],
  13344. "properties": {
  13345. "accountid": {
  13346. "description": "账户ID[报价币种]",
  13347. "type": "integer"
  13348. },
  13349. "agreeunit": {
  13350. "description": "合约单位",
  13351. "type": "number"
  13352. },
  13353. "buyorsell": {
  13354. "description": "买卖 - 0:买 1:卖",
  13355. "type": "integer"
  13356. },
  13357. "currencysign": {
  13358. "description": "货币符号",
  13359. "type": "string"
  13360. },
  13361. "decimalplace": {
  13362. "description": "报价小数位",
  13363. "type": "integer"
  13364. },
  13365. "goodscode": {
  13366. "description": "商品代码(内部)",
  13367. "type": "string"
  13368. },
  13369. "goodsid": {
  13370. "description": "商品ID",
  13371. "type": "integer"
  13372. },
  13373. "goodsname": {
  13374. "description": "商品名称",
  13375. "type": "string"
  13376. },
  13377. "marketid": {
  13378. "description": "市场ID",
  13379. "type": "integer"
  13380. },
  13381. "orderid": {
  13382. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13383. "type": "string"
  13384. },
  13385. "ordertype": {
  13386. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13387. "type": "integer"
  13388. },
  13389. "picurls": {
  13390. "description": "介绍图片[多张用逗号分隔]",
  13391. "type": "string"
  13392. },
  13393. "price": {
  13394. "description": "价格",
  13395. "type": "number"
  13396. },
  13397. "qty": {
  13398. "description": "数量",
  13399. "type": "integer"
  13400. },
  13401. "time": {
  13402. "description": "时间",
  13403. "type": "string"
  13404. },
  13405. "trademode": {
  13406. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13407. "type": "integer"
  13408. },
  13409. "vendorname": {
  13410. "description": "供应商名称",
  13411. "type": "string"
  13412. }
  13413. }
  13414. },
  13415. "models.HsbyTopGoods": {
  13416. "type": "object",
  13417. "required": [
  13418. "goodscode",
  13419. "goodsid",
  13420. "goodsname",
  13421. "marketid",
  13422. "trademode"
  13423. ],
  13424. "properties": {
  13425. "agreeunit": {
  13426. "description": "合约单位",
  13427. "type": "number"
  13428. },
  13429. "currency": {
  13430. "description": "货币",
  13431. "type": "string"
  13432. },
  13433. "currencysign": {
  13434. "description": "货币符号",
  13435. "type": "string"
  13436. },
  13437. "decimalplace": {
  13438. "description": "报价小数位",
  13439. "type": "integer"
  13440. },
  13441. "desccityid": {
  13442. "description": "目的地(市)",
  13443. "type": "integer"
  13444. },
  13445. "descprovinceid": {
  13446. "description": "目的地(省)",
  13447. "type": "integer"
  13448. },
  13449. "goodscode": {
  13450. "description": "商品代码(内部)",
  13451. "type": "string"
  13452. },
  13453. "goodsid": {
  13454. "description": "商品ID(自增ID SEQ_GOODS)",
  13455. "type": "integer"
  13456. },
  13457. "goodsname": {
  13458. "description": "商品名称",
  13459. "type": "string"
  13460. },
  13461. "hotindex": {
  13462. "description": "景点热度",
  13463. "type": "integer"
  13464. },
  13465. "last": {
  13466. "description": "现价",
  13467. "type": "number"
  13468. },
  13469. "marketid": {
  13470. "description": "所属市场ID",
  13471. "type": "integer"
  13472. },
  13473. "picurls": {
  13474. "description": "介绍图片[多张用逗号分隔]",
  13475. "type": "string"
  13476. },
  13477. "quoteminunit": {
  13478. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13479. "type": "integer"
  13480. },
  13481. "trademode": {
  13482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13483. "type": "integer"
  13484. },
  13485. "videourls": {
  13486. "description": "介绍视频[多张用逗号分隔]",
  13487. "type": "string"
  13488. }
  13489. }
  13490. },
  13491. "models.HybsMyBuyOrderDetail": {
  13492. "type": "object",
  13493. "required": [
  13494. "accountid",
  13495. "buyorsell",
  13496. "goodscode",
  13497. "goodsid",
  13498. "goodsname",
  13499. "marketid",
  13500. "orderid",
  13501. "orderqty",
  13502. "ordertime",
  13503. "trademode"
  13504. ],
  13505. "properties": {
  13506. "accountid": {
  13507. "description": "账户ID[报价币种]",
  13508. "type": "integer"
  13509. },
  13510. "agreeunit": {
  13511. "description": "合约单位",
  13512. "type": "number"
  13513. },
  13514. "buyorsell": {
  13515. "description": "买卖 - 0:买 1:卖",
  13516. "type": "integer"
  13517. },
  13518. "cancelqty": {
  13519. "description": "撤单数量",
  13520. "type": "integer"
  13521. },
  13522. "currencysign": {
  13523. "description": "货币符号",
  13524. "type": "string"
  13525. },
  13526. "decimalplace": {
  13527. "description": "报价小数位",
  13528. "type": "integer"
  13529. },
  13530. "goodscode": {
  13531. "description": "商品代码(内部)",
  13532. "type": "string"
  13533. },
  13534. "goodsid": {
  13535. "description": "商品ID",
  13536. "type": "integer"
  13537. },
  13538. "goodsname": {
  13539. "description": "商品名称",
  13540. "type": "string"
  13541. },
  13542. "listingselecttype": {
  13543. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13544. "type": "integer"
  13545. },
  13546. "marketid": {
  13547. "description": "市场ID",
  13548. "type": "integer"
  13549. },
  13550. "mybuystatus": {
  13551. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13552. "type": "integer"
  13553. },
  13554. "orderamount": {
  13555. "description": "委托金额",
  13556. "type": "number"
  13557. },
  13558. "orderid": {
  13559. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13560. "type": "string"
  13561. },
  13562. "orderprice": {
  13563. "description": "委托价格",
  13564. "type": "number"
  13565. },
  13566. "orderqty": {
  13567. "description": "委托数量",
  13568. "type": "integer"
  13569. },
  13570. "orderstatus": {
  13571. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13572. "type": "integer"
  13573. },
  13574. "ordertime": {
  13575. "description": "委托时间",
  13576. "type": "string"
  13577. },
  13578. "picurls1": {
  13579. "description": "预售商品介绍图片[多张用逗号分隔]",
  13580. "type": "string"
  13581. },
  13582. "picurls2": {
  13583. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13584. "type": "string"
  13585. },
  13586. "trademode": {
  13587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13588. "type": "integer"
  13589. },
  13590. "tradeqty": {
  13591. "description": "成交数量",
  13592. "type": "integer"
  13593. },
  13594. "vendorname1": {
  13595. "description": "预售商品供应商名称",
  13596. "type": "string"
  13597. },
  13598. "vendorname2": {
  13599. "description": "挂牌商品供应商名称",
  13600. "type": "string"
  13601. }
  13602. }
  13603. },
  13604. "models.Market": {
  13605. "type": "object",
  13606. "required": [
  13607. "marketid",
  13608. "marketstatus",
  13609. "openmethod",
  13610. "reckonpricealgorithm",
  13611. "trademode",
  13612. "tradeproperty"
  13613. ],
  13614. "properties": {
  13615. "auctionwrtype": {
  13616. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13617. "type": "integer"
  13618. },
  13619. "canacceptquote": {
  13620. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13621. "type": "integer"
  13622. },
  13623. "cangoodsexercise": {
  13624. "description": "[期权]是否可现货行权- 0:否 1:是",
  13625. "type": "integer"
  13626. },
  13627. "cangoodsexercisetype": {
  13628. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13629. "type": "integer"
  13630. },
  13631. "canmanualquotestrike": {
  13632. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13633. "type": "integer"
  13634. },
  13635. "canmutistage": {
  13636. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13637. "type": "integer"
  13638. },
  13639. "canpreexercise": {
  13640. "description": "[期权]是否可预申报- 0:否 1:是",
  13641. "type": "integer"
  13642. },
  13643. "clearinterval": {
  13644. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13645. "type": "integer"
  13646. },
  13647. "contracttmp": {
  13648. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13649. "type": "string"
  13650. },
  13651. "exchareaid": {
  13652. "description": "所属交易所,可以没有",
  13653. "type": "integer"
  13654. },
  13655. "goodstype": {
  13656. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13657. "type": "integer"
  13658. },
  13659. "hasrebate": {
  13660. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13661. "type": "integer"
  13662. },
  13663. "hastradecredit": {
  13664. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13665. "type": "integer"
  13666. },
  13667. "haswr": {
  13668. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13669. "type": "integer"
  13670. },
  13671. "isdeductmargin": {
  13672. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13673. "type": "integer"
  13674. },
  13675. "isrecordsource": {
  13676. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13677. "type": "integer"
  13678. },
  13679. "isreleasemargin": {
  13680. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13681. "type": "integer"
  13682. },
  13683. "marginformula": {
  13684. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13685. "type": "integer"
  13686. },
  13687. "marginformula2": {
  13688. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13689. "type": "integer"
  13690. },
  13691. "marketid": {
  13692. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13693. "type": "integer"
  13694. },
  13695. "marketname": {
  13696. "description": "市场名称",
  13697. "type": "string"
  13698. },
  13699. "marketserviceid": {
  13700. "description": "市场服务ID",
  13701. "type": "integer"
  13702. },
  13703. "marketstatus": {
  13704. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13705. "type": "integer"
  13706. },
  13707. "markettype": {
  13708. "description": "市场类型- 1:非交易服务 2:交易服务",
  13709. "type": "integer"
  13710. },
  13711. "matchermode": {
  13712. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13713. "type": "integer"
  13714. },
  13715. "openmethod": {
  13716. "description": "开盘模式 - 0 自动 1手动",
  13717. "type": "integer"
  13718. },
  13719. "otcuserid": {
  13720. "description": "场外期权做市商[场外期权]",
  13721. "type": "integer"
  13722. },
  13723. "outersynctime": {
  13724. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13725. "type": "string"
  13726. },
  13727. "pendingflag": {
  13728. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13729. "type": "integer"
  13730. },
  13731. "pendingtime": {
  13732. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13733. "type": "string"
  13734. },
  13735. "performancetempid": {
  13736. "description": "履约计划模板ID - 作废",
  13737. "type": "integer"
  13738. },
  13739. "premiumquotemode": {
  13740. "description": "权利金报价方式 - 1:自动 2:手动",
  13741. "type": "integer"
  13742. },
  13743. "rebateratio": {
  13744. "description": "返利比率[竞价式]",
  13745. "type": "number"
  13746. },
  13747. "reckonorder": {
  13748. "description": "结算顺序",
  13749. "type": "integer"
  13750. },
  13751. "reckonpricealgorithm": {
  13752. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13753. "type": "integer"
  13754. },
  13755. "reckonpriceparam": {
  13756. "description": "结算价参数",
  13757. "type": "integer"
  13758. },
  13759. "reckontime": {
  13760. "description": "结算时间[通道交易-对冲](HH:mm)",
  13761. "type": "string"
  13762. },
  13763. "roleprioritytype": {
  13764. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13765. "type": "integer"
  13766. },
  13767. "selllistingauditflag": {
  13768. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13769. "type": "integer"
  13770. },
  13771. "trademarkettype": {
  13772. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13773. "type": "integer"
  13774. },
  13775. "trademode": {
  13776. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13777. "type": "integer"
  13778. },
  13779. "tradeproperty": {
  13780. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13781. "type": "integer"
  13782. },
  13783. "tradetype": {
  13784. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13785. "type": "integer"
  13786. }
  13787. }
  13788. },
  13789. "models.Marketrun": {
  13790. "type": "object",
  13791. "required": [
  13792. "marketid",
  13793. "nexttradedate",
  13794. "reckonflag",
  13795. "runstatus",
  13796. "tradedate",
  13797. "tradedate2"
  13798. ],
  13799. "properties": {
  13800. "afternexttradedate": {
  13801. "description": "下下交易日",
  13802. "type": "string"
  13803. },
  13804. "clearquoteflag": {
  13805. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13806. "type": "integer"
  13807. },
  13808. "lastreckondate": {
  13809. "description": "最新交易日(结算成功)",
  13810. "type": "string"
  13811. },
  13812. "machinedate": {
  13813. "description": "机器时间",
  13814. "type": "string"
  13815. },
  13816. "manualflag": {
  13817. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13818. "type": "integer"
  13819. },
  13820. "marketid": {
  13821. "description": "市场ID",
  13822. "type": "integer"
  13823. },
  13824. "nexttradedate": {
  13825. "description": "下一交易日",
  13826. "type": "string"
  13827. },
  13828. "pretradedate": {
  13829. "description": "上一交易日",
  13830. "type": "string"
  13831. },
  13832. "reckonflag": {
  13833. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13834. "type": "integer"
  13835. },
  13836. "runstatus": {
  13837. "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.今日免清算",
  13838. "type": "integer"
  13839. },
  13840. "sectionid": {
  13841. "description": "时间段号[多时段时用]",
  13842. "type": "integer"
  13843. },
  13844. "tradedate": {
  13845. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13846. "type": "string"
  13847. },
  13848. "tradedate2": {
  13849. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13850. "type": "string"
  13851. },
  13852. "updatetime": {
  13853. "description": "更新时间",
  13854. "type": "string"
  13855. }
  13856. }
  13857. },
  13858. "models.Messageboard": {
  13859. "type": "object",
  13860. "required": [
  13861. "messageboardid"
  13862. ],
  13863. "properties": {
  13864. "createtime": {
  13865. "description": "创建时间",
  13866. "type": "string"
  13867. },
  13868. "message": {
  13869. "description": "留言信息",
  13870. "type": "string"
  13871. },
  13872. "messageboardid": {
  13873. "description": "留言簿ID(SEQ_MessageBoard)",
  13874. "type": "integer"
  13875. },
  13876. "userid": {
  13877. "description": "用户ID",
  13878. "type": "integer"
  13879. }
  13880. }
  13881. },
  13882. "models.MyCoupon": {
  13883. "type": "object",
  13884. "required": [
  13885. "accountid",
  13886. "coupontypeid"
  13887. ],
  13888. "properties": {
  13889. "accountid": {
  13890. "description": "资金账户ID",
  13891. "type": "integer"
  13892. },
  13893. "areauserid": {
  13894. "description": "所属机构",
  13895. "type": "integer"
  13896. },
  13897. "conditionvalue": {
  13898. "description": "条件阈值(可为0)",
  13899. "type": "number"
  13900. },
  13901. "couponcategroy": {
  13902. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13903. "type": "integer"
  13904. },
  13905. "couponname": {
  13906. "description": "优惠券名称",
  13907. "type": "string"
  13908. },
  13909. "coupontypeid": {
  13910. "description": "优惠券类型ID",
  13911. "type": "string"
  13912. },
  13913. "couponvalue": {
  13914. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13915. "type": "number"
  13916. },
  13917. "curfreezeqty": {
  13918. "description": "期末冻结数量",
  13919. "type": "integer"
  13920. },
  13921. "curqty": {
  13922. "description": "期末数量",
  13923. "type": "integer"
  13924. },
  13925. "isgeneral": {
  13926. "description": "是否通用券 - 0:否 1:是",
  13927. "type": "integer"
  13928. },
  13929. "isunusable": {
  13930. "description": "是否不可用",
  13931. "type": "boolean"
  13932. },
  13933. "limitedflag": {
  13934. "description": "是否指定商品 - 0:不限 1:限制",
  13935. "type": "integer"
  13936. },
  13937. "limitedgoodsids": {
  13938. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13939. "type": "string"
  13940. },
  13941. "orifreezeqty": {
  13942. "description": "期初冻结数量",
  13943. "type": "integer"
  13944. },
  13945. "oriqty": {
  13946. "description": "期初数量",
  13947. "type": "integer"
  13948. },
  13949. "reasontype": {
  13950. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13951. "type": "integer"
  13952. },
  13953. "todaydecrease": {
  13954. "description": "今日减少",
  13955. "type": "integer"
  13956. },
  13957. "todayincrease": {
  13958. "description": "今日增加",
  13959. "type": "integer"
  13960. },
  13961. "userid": {
  13962. "description": "用户ID",
  13963. "type": "integer"
  13964. },
  13965. "userscope": {
  13966. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13967. "type": "string"
  13968. }
  13969. }
  13970. },
  13971. "models.MyCouponHold": {
  13972. "type": "object",
  13973. "required": [
  13974. "couponholdid"
  13975. ],
  13976. "properties": {
  13977. "accountid": {
  13978. "description": "资金账户ID",
  13979. "type": "integer"
  13980. },
  13981. "conditionvalue": {
  13982. "description": "条件阈值(可为0)",
  13983. "type": "number"
  13984. },
  13985. "couponcategroy": {
  13986. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13987. "type": "integer"
  13988. },
  13989. "couponholdid": {
  13990. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13991. "type": "string"
  13992. },
  13993. "couponname": {
  13994. "description": "优惠券名称",
  13995. "type": "string"
  13996. },
  13997. "coupontypeid": {
  13998. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13999. "type": "string"
  14000. },
  14001. "couponvalue": {
  14002. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14003. "type": "number"
  14004. },
  14005. "createtime": {
  14006. "description": "创建时间",
  14007. "type": "string"
  14008. },
  14009. "enddate": {
  14010. "description": "结束日期",
  14011. "type": "string"
  14012. },
  14013. "giveapplyid": {
  14014. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14015. "type": "integer"
  14016. },
  14017. "holdstatus": {
  14018. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14019. "type": "integer"
  14020. },
  14021. "isgeneral": {
  14022. "description": "是否通用券 - 0:否 1:是",
  14023. "type": "integer"
  14024. },
  14025. "limitedflag": {
  14026. "description": "是否指定商品 - 0:不限 1:限制",
  14027. "type": "integer"
  14028. },
  14029. "limitedgoodsids": {
  14030. "description": "指定商品IDs[逗号分隔]",
  14031. "type": "string"
  14032. },
  14033. "qty": {
  14034. "description": "数量(按1平铺)",
  14035. "type": "integer"
  14036. },
  14037. "startdate": {
  14038. "description": "开始日期",
  14039. "type": "string"
  14040. },
  14041. "userid": {
  14042. "description": "用户ID",
  14043. "type": "integer"
  14044. },
  14045. "userscope": {
  14046. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14047. "type": "string"
  14048. }
  14049. }
  14050. },
  14051. "models.MyUsedCoupon": {
  14052. "type": "object",
  14053. "required": [
  14054. "coupontypeid",
  14055. "orderid"
  14056. ],
  14057. "properties": {
  14058. "accountid": {
  14059. "description": "资金账户ID(买方)",
  14060. "type": "integer"
  14061. },
  14062. "conditionvalue": {
  14063. "description": "条件阈值(可为0)",
  14064. "type": "number"
  14065. },
  14066. "couponcategroy": {
  14067. "description": "种类 - 1:现金券 2:折扣券",
  14068. "type": "integer"
  14069. },
  14070. "couponname": {
  14071. "description": "优惠券名称",
  14072. "type": "string"
  14073. },
  14074. "coupontypeid": {
  14075. "description": "优惠券类型ID(买方)",
  14076. "type": "string"
  14077. },
  14078. "couponvalue": {
  14079. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14080. "type": "number"
  14081. },
  14082. "createtime": {
  14083. "description": "创建时间",
  14084. "type": "string"
  14085. },
  14086. "goodsid": {
  14087. "description": "商品ID",
  14088. "type": "integer"
  14089. },
  14090. "handlestatus": {
  14091. "description": "处理状态",
  14092. "type": "integer"
  14093. },
  14094. "marketid": {
  14095. "description": "市场ID",
  14096. "type": "integer"
  14097. },
  14098. "offamount": {
  14099. "description": "优惠金额",
  14100. "type": "number"
  14101. },
  14102. "orderid": {
  14103. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14104. "type": "string"
  14105. },
  14106. "sellaccountid": {
  14107. "description": "资金账户ID(卖方)",
  14108. "type": "integer"
  14109. },
  14110. "tradeamount": {
  14111. "description": "成交金额",
  14112. "type": "number"
  14113. },
  14114. "tradeid": {
  14115. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14116. "type": "string"
  14117. },
  14118. "usedqty": {
  14119. "description": "使用数量",
  14120. "type": "integer"
  14121. }
  14122. }
  14123. },
  14124. "models.OperationPrimaryMenu": {
  14125. "type": "object",
  14126. "properties": {
  14127. "Children": {
  14128. "description": "二级功能菜单",
  14129. "type": "array",
  14130. "items": {
  14131. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14132. }
  14133. },
  14134. "Key": {
  14135. "description": "菜单KEY",
  14136. "type": "string"
  14137. },
  14138. "Label": {
  14139. "description": "菜单标题",
  14140. "type": "string"
  14141. }
  14142. }
  14143. },
  14144. "models.OperationSecondaryMenu": {
  14145. "type": "object",
  14146. "properties": {
  14147. "Key": {
  14148. "description": "菜单KEY",
  14149. "type": "string"
  14150. },
  14151. "Label": {
  14152. "description": "菜单标题",
  14153. "type": "string"
  14154. },
  14155. "TabList": {
  14156. "description": "三级功能菜单",
  14157. "type": "array",
  14158. "items": {
  14159. "$ref": "#/definitions/models.OperationTabMenu"
  14160. }
  14161. }
  14162. }
  14163. },
  14164. "models.OperationTabMenu": {
  14165. "type": "object",
  14166. "properties": {
  14167. "Key": {
  14168. "description": "菜单KEY",
  14169. "type": "string"
  14170. },
  14171. "Label": {
  14172. "description": "菜单标题",
  14173. "type": "string"
  14174. }
  14175. }
  14176. },
  14177. "models.QueryErrorInfosRsp": {
  14178. "type": "object",
  14179. "required": [
  14180. "errorid"
  14181. ],
  14182. "properties": {
  14183. "description": {
  14184. "description": "异常描述",
  14185. "type": "string"
  14186. },
  14187. "errorcode": {
  14188. "description": "异常代码",
  14189. "type": "string"
  14190. },
  14191. "errorid": {
  14192. "description": "异常ID",
  14193. "type": "integer"
  14194. },
  14195. "modulecode": {
  14196. "description": "所属模块",
  14197. "type": "string"
  14198. },
  14199. "operatecode": {
  14200. "description": "所属操作",
  14201. "type": "string"
  14202. },
  14203. "rownumber": {
  14204. "description": "行号",
  14205. "type": "string"
  14206. }
  14207. }
  14208. },
  14209. "models.QuotePrimaryMenu": {
  14210. "type": "object",
  14211. "properties": {
  14212. "Index": {
  14213. "description": "序号",
  14214. "type": "integer"
  14215. },
  14216. "Key": {
  14217. "description": "键名",
  14218. "type": "string"
  14219. },
  14220. "Name": {
  14221. "description": "菜单名称",
  14222. "type": "string"
  14223. },
  14224. "SubMenus": {
  14225. "description": "子菜单",
  14226. "type": "array",
  14227. "items": {
  14228. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14229. }
  14230. },
  14231. "SubTitleType": {
  14232. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14233. "type": "integer"
  14234. },
  14235. "TradeModes": {
  14236. "description": "包含市场交易类型",
  14237. "type": "string"
  14238. }
  14239. }
  14240. },
  14241. "models.QuoteSecondaryMenu": {
  14242. "type": "object",
  14243. "properties": {
  14244. "ExExchangeCode": {
  14245. "description": "外部交易所代码",
  14246. "type": "string"
  14247. },
  14248. "ExExchangeID": {
  14249. "description": "外部交易所ID",
  14250. "type": "integer"
  14251. },
  14252. "GoodsGroupIDs": {
  14253. "description": "商品组ID列表",
  14254. "type": "array",
  14255. "items": {
  14256. "type": "integer"
  14257. }
  14258. },
  14259. "Index": {
  14260. "description": "序号",
  14261. "type": "integer"
  14262. },
  14263. "MarketID": {
  14264. "description": "市场ID",
  14265. "type": "integer"
  14266. },
  14267. "MenuTitle": {
  14268. "description": "菜单标题(市场名称或外部交易所名称)",
  14269. "type": "string"
  14270. },
  14271. "TradeMode": {
  14272. "description": "交易模式",
  14273. "type": "integer"
  14274. }
  14275. }
  14276. },
  14277. "models.SearchGoods": {
  14278. "type": "object",
  14279. "required": [
  14280. "goodscode",
  14281. "goodsid",
  14282. "goodsname",
  14283. "marketid",
  14284. "trademode"
  14285. ],
  14286. "properties": {
  14287. "goodscode": {
  14288. "description": "商品代码(内部)",
  14289. "type": "string"
  14290. },
  14291. "goodsid": {
  14292. "description": "商品ID(自增ID SEQ_GOODS)",
  14293. "type": "integer"
  14294. },
  14295. "goodsname": {
  14296. "description": "商品名称",
  14297. "type": "string"
  14298. },
  14299. "marketid": {
  14300. "description": "所属市场ID",
  14301. "type": "integer"
  14302. },
  14303. "marketname": {
  14304. "description": "市场名称",
  14305. "type": "string"
  14306. },
  14307. "trademode": {
  14308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14309. "type": "integer"
  14310. }
  14311. }
  14312. },
  14313. "models.Szdz2imageconfig": {
  14314. "type": "object",
  14315. "required": [
  14316. "configid"
  14317. ],
  14318. "properties": {
  14319. "configid": {
  14320. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14321. "type": "integer"
  14322. },
  14323. "imagepath": {
  14324. "description": "图片",
  14325. "type": "string"
  14326. },
  14327. "imagetype": {
  14328. "description": "类型 - 1:App首页轮播 2:我的",
  14329. "type": "integer"
  14330. },
  14331. "sort": {
  14332. "description": "排序",
  14333. "type": "integer"
  14334. },
  14335. "title": {
  14336. "description": "标题",
  14337. "type": "string"
  14338. },
  14339. "url": {
  14340. "description": "链接",
  14341. "type": "string"
  14342. }
  14343. }
  14344. },
  14345. "models.Szdz3convertconfig": {
  14346. "type": "object",
  14347. "required": [
  14348. "converttype",
  14349. "innergoodsid",
  14350. "outergoodscode"
  14351. ],
  14352. "properties": {
  14353. "canin": {
  14354. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14355. "type": "integer"
  14356. },
  14357. "canout": {
  14358. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14359. "type": "integer"
  14360. },
  14361. "converttype": {
  14362. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14363. "type": "integer"
  14364. },
  14365. "createtime": {
  14366. "description": "创建时间",
  14367. "type": "string"
  14368. },
  14369. "creatorid": {
  14370. "description": "创建人",
  14371. "type": "integer"
  14372. },
  14373. "daymaxvalue": {
  14374. "description": "当日最大转入限制",
  14375. "type": "number"
  14376. },
  14377. "freezedays": {
  14378. "description": "冻结天数 [5:花生米转交易]",
  14379. "type": "integer"
  14380. },
  14381. "innergoodsid": {
  14382. "description": "内部商品ID[交易]",
  14383. "type": "integer"
  14384. },
  14385. "inratio": {
  14386. "description": "目标值",
  14387. "type": "integer"
  14388. },
  14389. "modifierid": {
  14390. "description": "修改人",
  14391. "type": "integer"
  14392. },
  14393. "modifytime": {
  14394. "description": "修改时间",
  14395. "type": "string"
  14396. },
  14397. "outergoodscode": {
  14398. "description": "外部商品代码[JD\\PD]",
  14399. "type": "string"
  14400. },
  14401. "outratio": {
  14402. "description": "源值",
  14403. "type": "integer"
  14404. },
  14405. "pddecimalplace": {
  14406. "description": "PD小数位",
  14407. "type": "integer"
  14408. },
  14409. "timemaxvalue": {
  14410. "description": "单次最大转入限制",
  14411. "type": "number"
  14412. },
  14413. "timeminvalue": {
  14414. "description": "单次最小转入限制",
  14415. "type": "number"
  14416. }
  14417. }
  14418. },
  14419. "models.Szdz3searchwhitelist": {
  14420. "type": "object",
  14421. "required": [
  14422. "userid"
  14423. ],
  14424. "properties": {
  14425. "createtime": {
  14426. "description": "创建时间",
  14427. "type": "string"
  14428. },
  14429. "creatorid": {
  14430. "description": "创建人",
  14431. "type": "integer"
  14432. },
  14433. "modifierid": {
  14434. "description": "修改人",
  14435. "type": "integer"
  14436. },
  14437. "modifytime": {
  14438. "description": "修改时间",
  14439. "type": "string"
  14440. },
  14441. "userid": {
  14442. "description": "用户ID",
  14443. "type": "integer"
  14444. }
  14445. }
  14446. },
  14447. "models.Taaccount": {
  14448. "type": "object",
  14449. "required": [
  14450. "accountid",
  14451. "userid"
  14452. ],
  14453. "properties": {
  14454. "accountflag": {
  14455. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14456. "type": "integer"
  14457. },
  14458. "accountid": {
  14459. "description": "资金账户ID",
  14460. "type": "integer"
  14461. },
  14462. "accountname": {
  14463. "description": "账户名称",
  14464. "type": "string"
  14465. },
  14466. "balance": {
  14467. "description": "期初余额",
  14468. "type": "number"
  14469. },
  14470. "capitalbalance": {
  14471. "description": "本金余额[外部子账户实际出入金余额]",
  14472. "type": "number"
  14473. },
  14474. "changeflag": {
  14475. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14476. "type": "integer"
  14477. },
  14478. "changetime": {
  14479. "description": "账户状态变更时间",
  14480. "type": "string"
  14481. },
  14482. "closepl": {
  14483. "description": "今日平仓盈亏",
  14484. "type": "number"
  14485. },
  14486. "creditdecrease": {
  14487. "description": "今日授信减少",
  14488. "type": "number"
  14489. },
  14490. "creditincrease": {
  14491. "description": "今日授信增加",
  14492. "type": "number"
  14493. },
  14494. "currencyid": {
  14495. "description": "货币ID",
  14496. "type": "integer"
  14497. },
  14498. "currentbalance": {
  14499. "description": "期末余额",
  14500. "type": "number"
  14501. },
  14502. "freezecharge": {
  14503. "description": "手续费冻结",
  14504. "type": "number"
  14505. },
  14506. "freezemargin": {
  14507. "description": "冻结保证金",
  14508. "type": "number"
  14509. },
  14510. "fromaccountid": {
  14511. "description": "所属上级账户",
  14512. "type": "integer"
  14513. },
  14514. "inamount": {
  14515. "description": "今日入金金额(包括三方入金)",
  14516. "type": "number"
  14517. },
  14518. "ismain": {
  14519. "description": "是否母账号 0:不是母账户 1:是母账户",
  14520. "type": "integer"
  14521. },
  14522. "ismarketaccount": {
  14523. "description": "是否机构接单账号 0:不是 1:是",
  14524. "type": "integer"
  14525. },
  14526. "isreckonaccount": {
  14527. "description": "是否机构分润账号 0:不是 1:是",
  14528. "type": "integer"
  14529. },
  14530. "mortgagecredit": {
  14531. "description": "授信金额",
  14532. "type": "number"
  14533. },
  14534. "orifreezecharge": {
  14535. "description": "期初手续费冻结",
  14536. "type": "number"
  14537. },
  14538. "orifreezemargin": {
  14539. "description": "期初冻结保证金",
  14540. "type": "number"
  14541. },
  14542. "orimortgagecredit": {
  14543. "description": "期初授信金额",
  14544. "type": "number"
  14545. },
  14546. "oriothercredit": {
  14547. "description": "期初其它授信金额",
  14548. "type": "number"
  14549. },
  14550. "oriotherfreezemargin": {
  14551. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14552. "type": "number"
  14553. },
  14554. "orioutamountfreeze": {
  14555. "description": "期初出金冻结",
  14556. "type": "number"
  14557. },
  14558. "oriusedmargin": {
  14559. "description": "期初占用保证金",
  14560. "type": "number"
  14561. },
  14562. "othercredit": {
  14563. "description": "其它授信金额",
  14564. "type": "number"
  14565. },
  14566. "othercreditdecrease": {
  14567. "description": "今日其它授信减少",
  14568. "type": "number"
  14569. },
  14570. "othercreditincrease": {
  14571. "description": "今日其它授信增加",
  14572. "type": "number"
  14573. },
  14574. "otherfreezemargin": {
  14575. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14576. "type": "number"
  14577. },
  14578. "otherincome": {
  14579. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14580. "type": "number"
  14581. },
  14582. "otherpay": {
  14583. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14584. "type": "number"
  14585. },
  14586. "outamount": {
  14587. "description": "今日出金金额(包括三方出金)",
  14588. "type": "number"
  14589. },
  14590. "outamountfreeze": {
  14591. "description": "出金冻结",
  14592. "type": "number"
  14593. },
  14594. "outthreshold": {
  14595. "description": "出金阈值",
  14596. "type": "number"
  14597. },
  14598. "parentaccountid": {
  14599. "description": "所属根账号",
  14600. "type": "integer"
  14601. },
  14602. "paycharge": {
  14603. "description": "今日手续费支出",
  14604. "type": "number"
  14605. },
  14606. "relatedaccountstatus": {
  14607. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14608. "type": "integer"
  14609. },
  14610. "relateduserid": {
  14611. "description": "关联用户",
  14612. "type": "integer"
  14613. },
  14614. "serivcegroup": {
  14615. "description": "服务分组",
  14616. "type": "integer"
  14617. },
  14618. "signstatus": {
  14619. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14620. "type": "integer"
  14621. },
  14622. "sublevelpath": {
  14623. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14624. "type": "string"
  14625. },
  14626. "taaccounttype": {
  14627. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14628. "type": "integer"
  14629. },
  14630. "thirdinamount": {
  14631. "description": "今日三方入金",
  14632. "type": "number"
  14633. },
  14634. "thirdoutamount": {
  14635. "description": "今日三方出金",
  14636. "type": "number"
  14637. },
  14638. "tradestatus": {
  14639. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14640. "type": "integer"
  14641. },
  14642. "tradestatuschangetime": {
  14643. "description": "激活时间",
  14644. "type": "string"
  14645. },
  14646. "transferamount": {
  14647. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14648. "type": "number"
  14649. },
  14650. "usedmargin": {
  14651. "description": "占用保证金",
  14652. "type": "number"
  14653. },
  14654. "userid": {
  14655. "description": "用户ID",
  14656. "type": "integer"
  14657. }
  14658. }
  14659. },
  14660. "models.Tablecolumnconfig": {
  14661. "type": "object",
  14662. "required": [
  14663. "autoid"
  14664. ],
  14665. "properties": {
  14666. "aligntype": {
  14667. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14668. "type": "integer"
  14669. },
  14670. "autoid": {
  14671. "description": "AutoID",
  14672. "type": "integer"
  14673. },
  14674. "columnfield": {
  14675. "description": "列字段",
  14676. "type": "string"
  14677. },
  14678. "columntitle": {
  14679. "description": "列Title",
  14680. "type": "string"
  14681. },
  14682. "columnwidth": {
  14683. "description": "列宽",
  14684. "type": "string"
  14685. },
  14686. "formatterstring": {
  14687. "description": "格式化字符",
  14688. "type": "string"
  14689. },
  14690. "formattertype": {
  14691. "description": "格式化类型",
  14692. "type": "string"
  14693. },
  14694. "groupname": {
  14695. "description": "表头分组名称",
  14696. "type": "string"
  14697. },
  14698. "isshow": {
  14699. "description": "是否显示 - 0:不显示 1:显示",
  14700. "type": "integer"
  14701. },
  14702. "needsummary": {
  14703. "description": "是否需要汇总 - 0:不需要 1:需要",
  14704. "type": "integer"
  14705. },
  14706. "orderindex": {
  14707. "description": "顺序",
  14708. "type": "integer"
  14709. },
  14710. "remark": {
  14711. "description": "备注",
  14712. "type": "string"
  14713. },
  14714. "summarytype": {
  14715. "description": "汇总类型 - 1:加总 2:最后一个",
  14716. "type": "integer"
  14717. },
  14718. "tablekey": {
  14719. "description": "列表Key",
  14720. "type": "string"
  14721. }
  14722. }
  14723. },
  14724. "models.Useraccount": {
  14725. "type": "object",
  14726. "required": [
  14727. "userid"
  14728. ],
  14729. "properties": {
  14730. "accountname": {
  14731. "description": "账户名称(机构名称)",
  14732. "type": "string"
  14733. },
  14734. "accountstatus": {
  14735. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14736. "type": "integer"
  14737. },
  14738. "auditremark": {
  14739. "description": "审核备注",
  14740. "type": "string"
  14741. },
  14742. "audittime": {
  14743. "description": "审核时间",
  14744. "type": "string"
  14745. },
  14746. "audituserid": {
  14747. "description": "审核人",
  14748. "type": "integer"
  14749. },
  14750. "broker": {
  14751. "description": "所属经纪人ID",
  14752. "type": "integer"
  14753. },
  14754. "canceltime": {
  14755. "description": "销户时间",
  14756. "type": "string"
  14757. },
  14758. "canceluserid": {
  14759. "description": "销户人",
  14760. "type": "integer"
  14761. },
  14762. "createtime": {
  14763. "description": "创建时间",
  14764. "type": "string"
  14765. },
  14766. "creatorid": {
  14767. "description": "创建人",
  14768. "type": "integer"
  14769. },
  14770. "hasauth": {
  14771. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14772. "type": "integer"
  14773. },
  14774. "isanonymous": {
  14775. "description": "是否匿名下单 - 0:否 1:是",
  14776. "type": "integer"
  14777. },
  14778. "maxinvestornum": {
  14779. "description": "最大用户数(经纪会员下投资者个数)",
  14780. "type": "integer"
  14781. },
  14782. "memberuserid": {
  14783. "description": "所属会员ID",
  14784. "type": "integer"
  14785. },
  14786. "modifierid": {
  14787. "description": "修改人",
  14788. "type": "integer"
  14789. },
  14790. "modifyremark": {
  14791. "description": "变更备注",
  14792. "type": "string"
  14793. },
  14794. "modifystatus": {
  14795. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14796. "type": "integer"
  14797. },
  14798. "modifytime": {
  14799. "description": "修改时间",
  14800. "type": "string"
  14801. },
  14802. "parentuserid": {
  14803. "description": "所属机构ID",
  14804. "type": "integer"
  14805. },
  14806. "reckonaccountid": {
  14807. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14808. "type": "integer"
  14809. },
  14810. "refercount": {
  14811. "description": "推荐总人数",
  14812. "type": "integer"
  14813. },
  14814. "refereeuserid": {
  14815. "description": "推荐人ID",
  14816. "type": "integer"
  14817. },
  14818. "refernum": {
  14819. "description": "推荐码",
  14820. "type": "string"
  14821. },
  14822. "subarealevelpath": {
  14823. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14824. "type": "string"
  14825. },
  14826. "userid": {
  14827. "description": "用户ID",
  14828. "type": "integer"
  14829. },
  14830. "usertype": {
  14831. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14832. "type": "integer"
  14833. }
  14834. }
  14835. },
  14836. "models.Userfavoritegoods": {
  14837. "type": "object",
  14838. "required": [
  14839. "goodsid"
  14840. ],
  14841. "properties": {
  14842. "goodsid": {
  14843. "description": "商品ID",
  14844. "type": "integer"
  14845. }
  14846. }
  14847. },
  14848. "models.Userinfo": {
  14849. "type": "object",
  14850. "required": [
  14851. "userid"
  14852. ],
  14853. "properties": {
  14854. "address": {
  14855. "description": "地址",
  14856. "type": "string"
  14857. },
  14858. "attachment1": {
  14859. "description": "附件1",
  14860. "type": "string"
  14861. },
  14862. "attachment2": {
  14863. "description": "附件2",
  14864. "type": "string"
  14865. },
  14866. "bankaccount": {
  14867. "description": "银行帐号 (加密存储)",
  14868. "type": "string"
  14869. },
  14870. "bankaccountname": {
  14871. "description": "收款人名称",
  14872. "type": "string"
  14873. },
  14874. "bankcardfrontphotourl": {
  14875. "description": "银行卡正面照地址",
  14876. "type": "string"
  14877. },
  14878. "bankid": {
  14879. "description": "银行编码",
  14880. "type": "string"
  14881. },
  14882. "bankname": {
  14883. "description": "银行名称",
  14884. "type": "string"
  14885. },
  14886. "biznature": {
  14887. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14888. "type": "integer"
  14889. },
  14890. "bizscope": {
  14891. "description": "企业经营范围(企业)",
  14892. "type": "string"
  14893. },
  14894. "cardbackphotourl": {
  14895. "description": "证件背面图片地址",
  14896. "type": "string"
  14897. },
  14898. "cardfrontphotourl": {
  14899. "description": "证件正面图片地址",
  14900. "type": "string"
  14901. },
  14902. "cardnum": {
  14903. "description": "证件号码(加密存储)",
  14904. "type": "string"
  14905. },
  14906. "cardtypeid": {
  14907. "description": "证件类型ID",
  14908. "type": "integer"
  14909. },
  14910. "cityid": {
  14911. "description": "市",
  14912. "type": "integer"
  14913. },
  14914. "company": {
  14915. "description": "公司(个人)",
  14916. "type": "string"
  14917. },
  14918. "contactname": {
  14919. "description": "联系人",
  14920. "type": "string"
  14921. },
  14922. "countryid": {
  14923. "description": "国家",
  14924. "type": "integer"
  14925. },
  14926. "createtime": {
  14927. "description": "创建时间",
  14928. "type": "string"
  14929. },
  14930. "creatorid": {
  14931. "description": "创建人",
  14932. "type": "integer"
  14933. },
  14934. "customername": {
  14935. "description": "客户名称(企业名称)",
  14936. "type": "string"
  14937. },
  14938. "districtid": {
  14939. "description": "地区",
  14940. "type": "integer"
  14941. },
  14942. "email": {
  14943. "description": "邮件(加密存储)",
  14944. "type": "string"
  14945. },
  14946. "fax": {
  14947. "description": "传真(加密存储)",
  14948. "type": "string"
  14949. },
  14950. "halfbodyphotourl": {
  14951. "description": "半身照地址",
  14952. "type": "string"
  14953. },
  14954. "hasencrypt": {
  14955. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14956. "type": "integer"
  14957. },
  14958. "headurl": {
  14959. "description": "头像地址",
  14960. "type": "string"
  14961. },
  14962. "legalcardbackphotourl": {
  14963. "description": "法人身份证背面照地址",
  14964. "type": "string"
  14965. },
  14966. "legalcardfrontphotourl": {
  14967. "description": "法人身份证正面照地址",
  14968. "type": "string"
  14969. },
  14970. "legalpersonname": {
  14971. "description": "法人姓名(企业)",
  14972. "type": "string"
  14973. },
  14974. "mobile": {
  14975. "description": "手机号码(加密存储)",
  14976. "type": "string"
  14977. },
  14978. "mobile2": {
  14979. "description": "手机号码[明文-尚志]",
  14980. "type": "string"
  14981. },
  14982. "modifierid": {
  14983. "description": "修改人",
  14984. "type": "integer"
  14985. },
  14986. "modifiertime": {
  14987. "description": "修改时间",
  14988. "type": "string"
  14989. },
  14990. "needinvoice": {
  14991. "description": "是否需要发票 - 0:不需要 1:需要",
  14992. "type": "integer"
  14993. },
  14994. "nickname": {
  14995. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14996. "type": "string"
  14997. },
  14998. "openmode": {
  14999. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15000. "type": "integer"
  15001. },
  15002. "otherurl": {
  15003. "description": "其它图片地址[使用分号分隔]",
  15004. "type": "string"
  15005. },
  15006. "postalcode": {
  15007. "description": "邮政编码",
  15008. "type": "string"
  15009. },
  15010. "provinceid": {
  15011. "description": "省",
  15012. "type": "integer"
  15013. },
  15014. "qq": {
  15015. "description": "QQ(加密存储",
  15016. "type": "string"
  15017. },
  15018. "remark": {
  15019. "description": "备注",
  15020. "type": "string"
  15021. },
  15022. "sex": {
  15023. "description": "用户性别 0: 女 1: 男",
  15024. "type": "integer"
  15025. },
  15026. "signpdfurl": {
  15027. "description": "签约pdf文件",
  15028. "type": "string"
  15029. },
  15030. "telphone": {
  15031. "description": "联系电话(加密存储)",
  15032. "type": "string"
  15033. },
  15034. "userid": {
  15035. "description": "用户ID",
  15036. "type": "integer"
  15037. },
  15038. "userinfotype": {
  15039. "description": "用户信息类型 - 1:个人 2:企业",
  15040. "type": "integer"
  15041. },
  15042. "userstatus": {
  15043. "description": "用户状态 - 1:正常 2:注销",
  15044. "type": "integer"
  15045. },
  15046. "usertype": {
  15047. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15048. "type": "integer"
  15049. },
  15050. "wechat": {
  15051. "description": "微信(加密存储)",
  15052. "type": "string"
  15053. },
  15054. "wskhinfo": {
  15055. "description": "开户申请信息(JSON)",
  15056. "type": "string"
  15057. }
  15058. }
  15059. },
  15060. "models.WRCategoryTree": {
  15061. "type": "object",
  15062. "required": [
  15063. "categoryid"
  15064. ],
  15065. "properties": {
  15066. "areauserid": {
  15067. "description": "所属机构",
  15068. "type": "integer"
  15069. },
  15070. "categorydesc": {
  15071. "description": "类别描述",
  15072. "type": "string"
  15073. },
  15074. "categoryid": {
  15075. "description": "类别ID(SEQ_WRCATEGORY)",
  15076. "type": "integer"
  15077. },
  15078. "categoryname": {
  15079. "description": "类别名称",
  15080. "type": "string"
  15081. },
  15082. "iconurl": {
  15083. "description": "图标地址",
  15084. "type": "string"
  15085. },
  15086. "orderindex": {
  15087. "description": "顺序",
  15088. "type": "integer"
  15089. },
  15090. "parentcategoryid": {
  15091. "description": "父类别ID",
  15092. "type": "integer"
  15093. },
  15094. "subcategory": {
  15095. "description": "子分类",
  15096. "type": "array",
  15097. "items": {
  15098. "$ref": "#/definitions/models.WRCategoryTree"
  15099. }
  15100. }
  15101. }
  15102. },
  15103. "models.WRSConverTDetail": {
  15104. "type": "object",
  15105. "properties": {
  15106. "convertratio": {
  15107. "description": "套保系数",
  15108. "type": "number"
  15109. },
  15110. "deliverygoodsid": {
  15111. "description": "现货品种ID",
  15112. "type": "integer"
  15113. },
  15114. "middlegoodscode": {
  15115. "description": "套保品种代码",
  15116. "type": "string"
  15117. },
  15118. "middlegoodsid": {
  15119. "description": "套保品种ID",
  15120. "type": "integer"
  15121. },
  15122. "middlegoodsname": {
  15123. "description": "套保品种名称",
  15124. "type": "string"
  15125. },
  15126. "modifytime": {
  15127. "description": "修改时间",
  15128. "type": "string"
  15129. },
  15130. "wrstandardid": {
  15131. "description": "现货商品ID",
  15132. "type": "integer"
  15133. }
  15134. }
  15135. },
  15136. "models.WRStandardInfo": {
  15137. "type": "object",
  15138. "required": [
  15139. "wrstandardid"
  15140. ],
  15141. "properties": {
  15142. "createtime": {
  15143. "description": "创建时间",
  15144. "type": "string"
  15145. },
  15146. "creatorid": {
  15147. "description": "创建人",
  15148. "type": "integer"
  15149. },
  15150. "deliverygoodsid": {
  15151. "description": "品种ID",
  15152. "type": "integer"
  15153. },
  15154. "deliverygoodsname": {
  15155. "description": "交割商品名称",
  15156. "type": "string"
  15157. },
  15158. "factoryitemjson": {
  15159. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15160. "type": "string"
  15161. },
  15162. "isvalid": {
  15163. "description": "是否有效 - 0:无效 1:有效",
  15164. "type": "integer"
  15165. },
  15166. "minivalue": {
  15167. "description": "最小变动值",
  15168. "type": "integer"
  15169. },
  15170. "minivaluedp": {
  15171. "description": "最小变动值小数位",
  15172. "type": "integer"
  15173. },
  15174. "realminivalue": {
  15175. "description": "实际最小变动值",
  15176. "type": "integer"
  15177. },
  15178. "realminivaluedp": {
  15179. "description": "实际最小变动值小数位",
  15180. "type": "integer"
  15181. },
  15182. "unitid": {
  15183. "description": "单位ID",
  15184. "type": "integer"
  15185. },
  15186. "unitname": {
  15187. "description": "单位",
  15188. "type": "string"
  15189. },
  15190. "updatetime": {
  15191. "description": "更新时间",
  15192. "type": "string"
  15193. },
  15194. "updatorid": {
  15195. "description": "更新人",
  15196. "type": "integer"
  15197. },
  15198. "wrsstatus": {
  15199. "description": "状态 - 作废 - 0:未激活 1:正常",
  15200. "type": "integer"
  15201. },
  15202. "wrstandardcode": {
  15203. "description": "仓单标准代码",
  15204. "type": "string"
  15205. },
  15206. "wrstandardid": {
  15207. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15208. "type": "integer"
  15209. },
  15210. "wrstandardname": {
  15211. "description": "仓单标准名称",
  15212. "type": "string"
  15213. }
  15214. }
  15215. },
  15216. "models.Warehouseinfo": {
  15217. "type": "object",
  15218. "required": [
  15219. "autoid",
  15220. "warehousecode"
  15221. ],
  15222. "properties": {
  15223. "address": {
  15224. "description": "详细地址",
  15225. "type": "string"
  15226. },
  15227. "areauserid": {
  15228. "description": "所属机构",
  15229. "type": "integer"
  15230. },
  15231. "autoid": {
  15232. "description": "自增ID",
  15233. "type": "integer"
  15234. },
  15235. "cityid": {
  15236. "description": "市",
  15237. "type": "integer"
  15238. },
  15239. "contactname": {
  15240. "description": "联系人",
  15241. "type": "string"
  15242. },
  15243. "contactnum": {
  15244. "description": "联系电话",
  15245. "type": "string"
  15246. },
  15247. "countryid": {
  15248. "description": "国家",
  15249. "type": "integer"
  15250. },
  15251. "createtime": {
  15252. "description": "创建时间",
  15253. "type": "string"
  15254. },
  15255. "districtid": {
  15256. "description": "区",
  15257. "type": "integer"
  15258. },
  15259. "hasvideo": {
  15260. "description": "是否有视频 - 0:无 1:有",
  15261. "type": "integer"
  15262. },
  15263. "provinceid": {
  15264. "description": "省",
  15265. "type": "integer"
  15266. },
  15267. "remark": {
  15268. "description": "审核备注",
  15269. "type": "string"
  15270. },
  15271. "videourl": {
  15272. "description": "视频地址",
  15273. "type": "string"
  15274. },
  15275. "warehousecode": {
  15276. "description": "仓库代码",
  15277. "type": "string"
  15278. },
  15279. "warehousename": {
  15280. "description": "仓库名称",
  15281. "type": "string"
  15282. },
  15283. "warehousestatus": {
  15284. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15285. "type": "integer"
  15286. },
  15287. "warehousetype": {
  15288. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15289. "type": "integer"
  15290. }
  15291. }
  15292. },
  15293. "order.QueryHisTradeDetailRsp": {
  15294. "type": "object",
  15295. "required": [
  15296. "accountid",
  15297. "buyorsell",
  15298. "goodsid",
  15299. "histradedate",
  15300. "marketid",
  15301. "memberuserid",
  15302. "orderid",
  15303. "tradeamount",
  15304. "tradedate",
  15305. "tradeid",
  15306. "tradeprice",
  15307. "tradeqty",
  15308. "tradetime"
  15309. ],
  15310. "properties": {
  15311. "accountid": {
  15312. "description": "账户ID[报价币种]",
  15313. "type": "integer"
  15314. },
  15315. "buildtype": {
  15316. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15317. "type": "integer"
  15318. },
  15319. "buyorsell": {
  15320. "description": "方向 - 0:买 1:卖",
  15321. "type": "integer"
  15322. },
  15323. "charge": {
  15324. "description": "手续费",
  15325. "type": "number"
  15326. },
  15327. "closecharge": {
  15328. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15329. "type": "number"
  15330. },
  15331. "closeexchagechargevalue": {
  15332. "description": "平仓交易所手续费设置值",
  15333. "type": "number"
  15334. },
  15335. "closefeealgorithm": {
  15336. "description": "平仓手续费收取方式 1:比率 2:固定",
  15337. "type": "integer"
  15338. },
  15339. "closememberchargevalue": {
  15340. "description": "平仓会员手续费设置值",
  15341. "type": "number"
  15342. },
  15343. "closepl": {
  15344. "description": "平仓盈亏",
  15345. "type": "number"
  15346. },
  15347. "closepl2": {
  15348. "description": "平仓盈亏[逐笔]",
  15349. "type": "number"
  15350. },
  15351. "closeqty": {
  15352. "description": "平仓数量(先建后平操作 需要记录)",
  15353. "type": "integer"
  15354. },
  15355. "creditamount": {
  15356. "description": "授信金额",
  15357. "type": "number"
  15358. },
  15359. "gcaccountid": {
  15360. "description": "账户ID[合约币种]",
  15361. "type": "integer"
  15362. },
  15363. "goodscode": {
  15364. "description": "商品代码",
  15365. "type": "string"
  15366. },
  15367. "goodsid": {
  15368. "description": "商品ID",
  15369. "type": "integer"
  15370. },
  15371. "goodsname": {
  15372. "description": "商品名称",
  15373. "type": "string"
  15374. },
  15375. "histradedate": {
  15376. "description": "历史交易日",
  15377. "type": "string"
  15378. },
  15379. "intclosepl": {
  15380. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15381. "type": "integer"
  15382. },
  15383. "isconfirmexercise": {
  15384. "description": "是否确认行权- 0:否 1:是",
  15385. "type": "integer"
  15386. },
  15387. "ismain": {
  15388. "description": "是否主单 - 0:不是 1:是",
  15389. "type": "integer"
  15390. },
  15391. "ispreexercise": {
  15392. "description": "是否预申报- 0:否 1:是",
  15393. "type": "integer"
  15394. },
  15395. "isreckoned": {
  15396. "description": "是否结算 - 0:未结算 1:已结算",
  15397. "type": "integer"
  15398. },
  15399. "isvaliddata": {
  15400. "description": "是否有效 - 0:无效 1:有效",
  15401. "type": "integer"
  15402. },
  15403. "listingselecttype": {
  15404. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15405. "type": "integer"
  15406. },
  15407. "marketid": {
  15408. "description": "市场ID",
  15409. "type": "integer"
  15410. },
  15411. "marketname": {
  15412. "description": "市场名称",
  15413. "type": "string"
  15414. },
  15415. "matchaccountid": {
  15416. "description": "对手账号id",
  15417. "type": "integer"
  15418. },
  15419. "memberuserid": {
  15420. "description": "会员id 个人投资者 需要填写",
  15421. "type": "integer"
  15422. },
  15423. "opencharge": {
  15424. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15425. "type": "number"
  15426. },
  15427. "openexchagechargevalue": {
  15428. "description": "建仓交易所手续费设置值",
  15429. "type": "number"
  15430. },
  15431. "openfeealgorithm": {
  15432. "description": "建仓手续费收取方式 1:比率 2:固定",
  15433. "type": "integer"
  15434. },
  15435. "openmemberchargevalue": {
  15436. "description": "建仓会员手续费设置值",
  15437. "type": "number"
  15438. },
  15439. "openqty": {
  15440. "description": "开仓数量(先建后平操作 需要记录)",
  15441. "type": "integer"
  15442. },
  15443. "optiontype": {
  15444. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15445. "type": "integer"
  15446. },
  15447. "orderid": {
  15448. "description": "委托单号",
  15449. "type": "string"
  15450. },
  15451. "performanceplanid": {
  15452. "description": "履约计划ID[期权]",
  15453. "type": "integer"
  15454. },
  15455. "performancestatus": {
  15456. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15457. "type": "integer"
  15458. },
  15459. "preexerciseprice": {
  15460. "description": "预申报价格",
  15461. "type": "number"
  15462. },
  15463. "premium": {
  15464. "description": "权利金 - [持仓单的权利金]",
  15465. "type": "number"
  15466. },
  15467. "relatedouttradeid": {
  15468. "description": "关联外部成交单ID",
  15469. "type": "integer"
  15470. },
  15471. "status": {
  15472. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15473. "type": "integer"
  15474. },
  15475. "tradeamount": {
  15476. "description": "成交金额[账户币种,用于所有权]",
  15477. "type": "number"
  15478. },
  15479. "tradedate": {
  15480. "description": "交易日(yyyyMMdd)",
  15481. "type": "string"
  15482. },
  15483. "tradeid": {
  15484. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15485. "type": "string"
  15486. },
  15487. "trademode": {
  15488. "description": "交易模式",
  15489. "type": "integer"
  15490. },
  15491. "tradeprice": {
  15492. "description": "成交价格",
  15493. "type": "number"
  15494. },
  15495. "tradeproperty": {
  15496. "description": "交易属性",
  15497. "type": "integer"
  15498. },
  15499. "tradeqty": {
  15500. "description": "成交数量",
  15501. "type": "integer"
  15502. },
  15503. "tradetime": {
  15504. "description": "成交时间",
  15505. "type": "string"
  15506. },
  15507. "tradetype": {
  15508. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15509. "type": "integer"
  15510. }
  15511. }
  15512. },
  15513. "order.QueryHisTradeOrderDetailRsp": {
  15514. "type": "object",
  15515. "required": [
  15516. "accountid",
  15517. "buildtype",
  15518. "buyorsell",
  15519. "goodsid",
  15520. "histradedate",
  15521. "marketid",
  15522. "memberuserid",
  15523. "operatetype",
  15524. "orderid",
  15525. "orderqty",
  15526. "ordertime",
  15527. "pricemode",
  15528. "tradedate",
  15529. "validtype"
  15530. ],
  15531. "properties": {
  15532. "accountid": {
  15533. "description": "账户ID[报价币种]",
  15534. "type": "integer"
  15535. },
  15536. "buildtype": {
  15537. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15538. "type": "integer"
  15539. },
  15540. "buyorsell": {
  15541. "description": "买卖 - 0:买 1:卖",
  15542. "type": "integer"
  15543. },
  15544. "cancelorderid": {
  15545. "description": "撤单单号(撤单时填写)",
  15546. "type": "string"
  15547. },
  15548. "cancelqty": {
  15549. "description": "撤单数量",
  15550. "type": "integer"
  15551. },
  15552. "clientordertime": {
  15553. "description": "客户端委托时间",
  15554. "type": "string"
  15555. },
  15556. "clientticket": {
  15557. "description": "客户端流水号",
  15558. "type": "string"
  15559. },
  15560. "clienttype": {
  15561. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15562. "type": "integer"
  15563. },
  15564. "closeexchagechargevalue": {
  15565. "description": "平仓交易所手续费设置值",
  15566. "type": "number"
  15567. },
  15568. "closefeealgorithm": {
  15569. "description": "平仓手续费收取方式 1:比率 2:固定",
  15570. "type": "integer"
  15571. },
  15572. "closefreezecharge": {
  15573. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15574. "type": "number"
  15575. },
  15576. "closememberchargevalue": {
  15577. "description": "平仓会员手续费设置值",
  15578. "type": "number"
  15579. },
  15580. "closeqty": {
  15581. "description": "平仓数量(先建后平操作 需要记录)",
  15582. "type": "integer"
  15583. },
  15584. "closetradeqty": {
  15585. "description": "平仓成交数量(先建后平操作,需要记录)",
  15586. "type": "integer"
  15587. },
  15588. "closeunfreezecharge": {
  15589. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15590. "type": "number"
  15591. },
  15592. "delistingtype": {
  15593. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15594. "type": "integer"
  15595. },
  15596. "freezecharge": {
  15597. "description": "冻结手续费",
  15598. "type": "number"
  15599. },
  15600. "freezemargin": {
  15601. "description": "冻结保证金(冻结交易金额)",
  15602. "type": "number"
  15603. },
  15604. "gcaccountid": {
  15605. "description": "账户ID[合约币种]",
  15606. "type": "integer"
  15607. },
  15608. "goodscode": {
  15609. "description": "商品代码",
  15610. "type": "string"
  15611. },
  15612. "goodsid": {
  15613. "description": "商品ID",
  15614. "type": "integer"
  15615. },
  15616. "goodsname": {
  15617. "description": "商品名称",
  15618. "type": "string"
  15619. },
  15620. "histradedate": {
  15621. "description": "历史交易日",
  15622. "type": "string"
  15623. },
  15624. "isconfirmexercise": {
  15625. "description": "是否确认行权- 0:否 1:是",
  15626. "type": "integer"
  15627. },
  15628. "ispreexercise": {
  15629. "description": "是否预申报- 0:否 1:是",
  15630. "type": "integer"
  15631. },
  15632. "isvaliddata": {
  15633. "description": "是否有效 - 0:无效 1:有效",
  15634. "type": "integer"
  15635. },
  15636. "listingselecttype": {
  15637. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15638. "type": "integer"
  15639. },
  15640. "marginalgorithm": {
  15641. "description": "保证金收取方式 1:比率 2:固定",
  15642. "type": "integer"
  15643. },
  15644. "marginvalue": {
  15645. "description": "即市保证金设置值",
  15646. "type": "number"
  15647. },
  15648. "marketid": {
  15649. "description": "市场ID",
  15650. "type": "integer"
  15651. },
  15652. "marketmaxsub": {
  15653. "description": "市价最大偏移范围",
  15654. "type": "number"
  15655. },
  15656. "marketname": {
  15657. "description": "市场名称",
  15658. "type": "string"
  15659. },
  15660. "memberuserid": {
  15661. "description": "所属会员UserID",
  15662. "type": "integer"
  15663. },
  15664. "openexchagechargevalue": {
  15665. "description": "建仓交易所手续费设置值",
  15666. "type": "number"
  15667. },
  15668. "openfeealgorithm": {
  15669. "description": "建仓手续费收取方式 1:比率 2:固定",
  15670. "type": "integer"
  15671. },
  15672. "openfreezecharge": {
  15673. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15674. "type": "number"
  15675. },
  15676. "openmemberchargevalue": {
  15677. "description": "建仓会员手续费设置值",
  15678. "type": "number"
  15679. },
  15680. "openqty": {
  15681. "description": "开仓数量(先建后平操作,需要记录)",
  15682. "type": "integer"
  15683. },
  15684. "opentradeqty": {
  15685. "description": "开仓成交数量(先建后平操作,需要记录)",
  15686. "type": "integer"
  15687. },
  15688. "openunfreezecharge": {
  15689. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15690. "type": "number"
  15691. },
  15692. "operatetype": {
  15693. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15694. "type": "integer"
  15695. },
  15696. "operatorid": {
  15697. "description": "登录账号(LoginID)",
  15698. "type": "integer"
  15699. },
  15700. "optiontype": {
  15701. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15702. "type": "integer"
  15703. },
  15704. "orderid": {
  15705. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15706. "type": "string"
  15707. },
  15708. "orderprice": {
  15709. "description": "委托价格",
  15710. "type": "number"
  15711. },
  15712. "orderqty": {
  15713. "description": "委托数量",
  15714. "type": "integer"
  15715. },
  15716. "ordersrc": {
  15717. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15718. "type": "integer"
  15719. },
  15720. "orderstatus": {
  15721. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15722. "type": "integer"
  15723. },
  15724. "ordertime": {
  15725. "description": "委托时间",
  15726. "type": "string"
  15727. },
  15728. "preexerciseprice": {
  15729. "description": "预申报价格",
  15730. "type": "number"
  15731. },
  15732. "premium": {
  15733. "description": "权利金",
  15734. "type": "number"
  15735. },
  15736. "preorderid": {
  15737. "description": "关联预埋单号(止盈止损单时填写)",
  15738. "type": "string"
  15739. },
  15740. "pricemode": {
  15741. "description": "取价方式 - 1:市价 2: 限价",
  15742. "type": "integer"
  15743. },
  15744. "quoteid": {
  15745. "description": "报价单ID",
  15746. "type": "integer"
  15747. },
  15748. "relatedid": {
  15749. "description": "关联单号(交割单)",
  15750. "type": "string"
  15751. },
  15752. "retcode": {
  15753. "description": "错误代码",
  15754. "type": "integer"
  15755. },
  15756. "sessionid": {
  15757. "description": "会话ID",
  15758. "type": "integer"
  15759. },
  15760. "tradedate": {
  15761. "description": "交易日(yyyyMMdd)",
  15762. "type": "string"
  15763. },
  15764. "trademode": {
  15765. "description": "交易模式",
  15766. "type": "integer"
  15767. },
  15768. "tradeproperty": {
  15769. "description": "交易属性",
  15770. "type": "integer"
  15771. },
  15772. "tradeqty": {
  15773. "description": "成交数量",
  15774. "type": "integer"
  15775. },
  15776. "unfreezecharge": {
  15777. "description": "解冻手续费",
  15778. "type": "number"
  15779. },
  15780. "unfreezemargin": {
  15781. "description": "解冻保证金",
  15782. "type": "number"
  15783. },
  15784. "updatetime": {
  15785. "description": "更新时间",
  15786. "type": "string"
  15787. },
  15788. "uuid": {
  15789. "description": "发起端唯一id",
  15790. "type": "string"
  15791. },
  15792. "validtime": {
  15793. "description": "有效期限",
  15794. "type": "string"
  15795. },
  15796. "validtype": {
  15797. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15798. "type": "integer"
  15799. },
  15800. "volumetype": {
  15801. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15802. "type": "integer"
  15803. }
  15804. }
  15805. },
  15806. "order.QueryTradeDetailRsp": {
  15807. "type": "object",
  15808. "required": [
  15809. "accountid",
  15810. "buyorsell",
  15811. "goodsid",
  15812. "marketid",
  15813. "memberuserid",
  15814. "orderid",
  15815. "tradeamount",
  15816. "tradedate",
  15817. "tradeid",
  15818. "tradeprice",
  15819. "tradeqty",
  15820. "tradetime"
  15821. ],
  15822. "properties": {
  15823. "accountid": {
  15824. "description": "账户ID[报价币种]",
  15825. "type": "integer"
  15826. },
  15827. "buildtype": {
  15828. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15829. "type": "integer"
  15830. },
  15831. "buyorsell": {
  15832. "description": "方向 - 0:买 1:卖",
  15833. "type": "integer"
  15834. },
  15835. "charge": {
  15836. "description": "手续费",
  15837. "type": "number"
  15838. },
  15839. "closecharge": {
  15840. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15841. "type": "number"
  15842. },
  15843. "closeexchagechargevalue": {
  15844. "description": "平仓交易所手续费设置值",
  15845. "type": "number"
  15846. },
  15847. "closefeealgorithm": {
  15848. "description": "平仓手续费收取方式 1:比率 2:固定",
  15849. "type": "integer"
  15850. },
  15851. "closememberchargevalue": {
  15852. "description": "平仓会员手续费设置值",
  15853. "type": "number"
  15854. },
  15855. "closepl": {
  15856. "description": "平仓盈亏",
  15857. "type": "number"
  15858. },
  15859. "closepl2": {
  15860. "description": "平仓盈亏[逐笔]",
  15861. "type": "number"
  15862. },
  15863. "closeqty": {
  15864. "description": "平仓数量(先建后平操作 需要记录)",
  15865. "type": "integer"
  15866. },
  15867. "creditamount": {
  15868. "description": "授信金额",
  15869. "type": "number"
  15870. },
  15871. "gcaccountid": {
  15872. "description": "账户ID[合约币种]",
  15873. "type": "integer"
  15874. },
  15875. "goodscode": {
  15876. "description": "商品代码",
  15877. "type": "string"
  15878. },
  15879. "goodsid": {
  15880. "description": "商品ID",
  15881. "type": "integer"
  15882. },
  15883. "goodsname": {
  15884. "description": "商品名称",
  15885. "type": "string"
  15886. },
  15887. "intclosepl": {
  15888. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15889. "type": "integer"
  15890. },
  15891. "isconfirmexercise": {
  15892. "description": "是否确认行权- 0:否 1:是",
  15893. "type": "integer"
  15894. },
  15895. "ismain": {
  15896. "description": "是否主单 - 0:不是 1:是",
  15897. "type": "integer"
  15898. },
  15899. "ispreexercise": {
  15900. "description": "是否预申报- 0:否 1:是",
  15901. "type": "integer"
  15902. },
  15903. "isreckoned": {
  15904. "description": "是否结算 - 0:未结算 1:已结算",
  15905. "type": "integer"
  15906. },
  15907. "listingselecttype": {
  15908. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15909. "type": "integer"
  15910. },
  15911. "marketid": {
  15912. "description": "市场ID",
  15913. "type": "integer"
  15914. },
  15915. "marketname": {
  15916. "description": "市场名称",
  15917. "type": "string"
  15918. },
  15919. "matchaccountid": {
  15920. "description": "对手账号id",
  15921. "type": "integer"
  15922. },
  15923. "memberuserid": {
  15924. "description": "会员id 个人投资者 需要填写",
  15925. "type": "integer"
  15926. },
  15927. "opencharge": {
  15928. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15929. "type": "number"
  15930. },
  15931. "openexchagechargevalue": {
  15932. "description": "建仓交易所手续费设置值",
  15933. "type": "number"
  15934. },
  15935. "openfeealgorithm": {
  15936. "description": "建仓手续费收取方式 1:比率 2:固定",
  15937. "type": "integer"
  15938. },
  15939. "openmemberchargevalue": {
  15940. "description": "建仓会员手续费设置值",
  15941. "type": "number"
  15942. },
  15943. "openqty": {
  15944. "description": "开仓数量(先建后平操作 需要记录)",
  15945. "type": "integer"
  15946. },
  15947. "optiontype": {
  15948. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15949. "type": "integer"
  15950. },
  15951. "orderid": {
  15952. "description": "委托单号",
  15953. "type": "string"
  15954. },
  15955. "performanceplanid": {
  15956. "description": "履约计划ID[期权]",
  15957. "type": "integer"
  15958. },
  15959. "performancestatus": {
  15960. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15961. "type": "integer"
  15962. },
  15963. "preexerciseprice": {
  15964. "description": "预申报价格",
  15965. "type": "number"
  15966. },
  15967. "premium": {
  15968. "description": "权利金 - [持仓单的权利金]",
  15969. "type": "number"
  15970. },
  15971. "relatedouttradeid": {
  15972. "description": "关联外部成交单ID",
  15973. "type": "integer"
  15974. },
  15975. "status": {
  15976. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15977. "type": "integer"
  15978. },
  15979. "tradeamount": {
  15980. "description": "成交金额[账户币种,用于所有权]",
  15981. "type": "number"
  15982. },
  15983. "tradedate": {
  15984. "description": "交易日(yyyyMMdd)",
  15985. "type": "string"
  15986. },
  15987. "tradeid": {
  15988. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15989. "type": "string"
  15990. },
  15991. "trademode": {
  15992. "description": "交易模式",
  15993. "type": "integer"
  15994. },
  15995. "tradeprice": {
  15996. "description": "成交价格",
  15997. "type": "number"
  15998. },
  15999. "tradeproperty": {
  16000. "description": "交易属性",
  16001. "type": "integer"
  16002. },
  16003. "tradeqty": {
  16004. "description": "成交数量",
  16005. "type": "integer"
  16006. },
  16007. "tradetime": {
  16008. "description": "成交时间",
  16009. "type": "string"
  16010. },
  16011. "tradetype": {
  16012. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16013. "type": "integer"
  16014. }
  16015. }
  16016. },
  16017. "order.QueryTradeOrderDetailRsp": {
  16018. "type": "object",
  16019. "required": [
  16020. "accountid",
  16021. "buildtype",
  16022. "buyorsell",
  16023. "goodsid",
  16024. "marketid",
  16025. "operatetype",
  16026. "orderqty",
  16027. "ordertime",
  16028. "pricemode",
  16029. "tradedate",
  16030. "validtype"
  16031. ],
  16032. "properties": {
  16033. "accountid": {
  16034. "description": "账户ID[报价币种]",
  16035. "type": "integer"
  16036. },
  16037. "buildtype": {
  16038. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16039. "type": "integer"
  16040. },
  16041. "buyorsell": {
  16042. "description": "买卖 - 0:买 1:卖",
  16043. "type": "integer"
  16044. },
  16045. "cancelorderid": {
  16046. "description": "撤单单号(撤单时填写)",
  16047. "type": "string"
  16048. },
  16049. "cancelqty": {
  16050. "description": "撤单数量",
  16051. "type": "integer"
  16052. },
  16053. "clienttype": {
  16054. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16055. "type": "integer"
  16056. },
  16057. "closefreezecharge": {
  16058. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16059. "type": "number"
  16060. },
  16061. "closeqty": {
  16062. "description": "平仓数量(先建后平操作 需要记录)",
  16063. "type": "integer"
  16064. },
  16065. "closetradeqty": {
  16066. "description": "平仓成交数量(先建后平操作,需要记录)",
  16067. "type": "integer"
  16068. },
  16069. "closeunfreezecharge": {
  16070. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16071. "type": "number"
  16072. },
  16073. "delistingtype": {
  16074. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16075. "type": "integer"
  16076. },
  16077. "enableqty": {
  16078. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16079. "type": "integer"
  16080. },
  16081. "freezecharge": {
  16082. "description": "冻结手续费",
  16083. "type": "number"
  16084. },
  16085. "freezemargin": {
  16086. "description": "冻结保证金(冻结交易金额)",
  16087. "type": "number"
  16088. },
  16089. "goodscode": {
  16090. "description": "商品代码",
  16091. "type": "string"
  16092. },
  16093. "goodsid": {
  16094. "description": "商品ID",
  16095. "type": "integer"
  16096. },
  16097. "goodsname": {
  16098. "description": "商品名称",
  16099. "type": "string"
  16100. },
  16101. "listingselecttype": {
  16102. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16103. "type": "integer"
  16104. },
  16105. "marketid": {
  16106. "description": "市场ID",
  16107. "type": "integer"
  16108. },
  16109. "marketname": {
  16110. "description": "市场名称",
  16111. "type": "string"
  16112. },
  16113. "openfreezecharge": {
  16114. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16115. "type": "number"
  16116. },
  16117. "openqty": {
  16118. "description": "开仓数量(先建后平操作,需要记录)",
  16119. "type": "integer"
  16120. },
  16121. "opentradeqty": {
  16122. "description": "开仓成交数量(先建后平操作,需要记录)",
  16123. "type": "integer"
  16124. },
  16125. "openunfreezecharge": {
  16126. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16127. "type": "number"
  16128. },
  16129. "operatetype": {
  16130. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16131. "type": "integer"
  16132. },
  16133. "operatorid": {
  16134. "description": "登录账号(LoginID)",
  16135. "type": "integer"
  16136. },
  16137. "orderid": {
  16138. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16139. "type": "string"
  16140. },
  16141. "orderprice": {
  16142. "description": "委托价格",
  16143. "type": "number"
  16144. },
  16145. "orderqty": {
  16146. "description": "委托数量",
  16147. "type": "integer"
  16148. },
  16149. "ordersrc": {
  16150. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16151. "type": "integer"
  16152. },
  16153. "orderstatus": {
  16154. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16155. "type": "integer"
  16156. },
  16157. "ordertime": {
  16158. "description": "委托时间",
  16159. "type": "string"
  16160. },
  16161. "preorderid": {
  16162. "description": "关联预埋单号(止盈止损单时填写)",
  16163. "type": "string"
  16164. },
  16165. "pricemode": {
  16166. "description": "取价方式 - 1:市价 2: 限价",
  16167. "type": "integer"
  16168. },
  16169. "relatedid": {
  16170. "description": "关联单号(交割单)",
  16171. "type": "string"
  16172. },
  16173. "tradedate": {
  16174. "description": "交易日(yyyyMMdd)",
  16175. "type": "string"
  16176. },
  16177. "trademode": {
  16178. "description": "交易模式",
  16179. "type": "integer"
  16180. },
  16181. "tradeqty": {
  16182. "description": "成交数量",
  16183. "type": "integer"
  16184. },
  16185. "unfreezecharge": {
  16186. "description": "解冻手续费",
  16187. "type": "number"
  16188. },
  16189. "unfreezemargin": {
  16190. "description": "解冻保证金",
  16191. "type": "number"
  16192. },
  16193. "validtime": {
  16194. "description": "有效期限",
  16195. "type": "string"
  16196. },
  16197. "validtype": {
  16198. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16199. "type": "integer"
  16200. },
  16201. "volumetype": {
  16202. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16203. "type": "integer"
  16204. }
  16205. }
  16206. },
  16207. "order.QueryTradePositionRsp": {
  16208. "type": "object",
  16209. "required": [
  16210. "goodsid"
  16211. ],
  16212. "properties": {
  16213. "accountid": {
  16214. "description": "资金账户",
  16215. "type": "integer"
  16216. },
  16217. "agreeunit": {
  16218. "description": "合约单位",
  16219. "type": "number"
  16220. },
  16221. "averageprice": {
  16222. "description": "持仓均价",
  16223. "type": "number"
  16224. },
  16225. "buyorsell": {
  16226. "description": "方向 - 0:买 1:卖",
  16227. "type": "integer"
  16228. },
  16229. "closetotalqty": {
  16230. "description": "平仓总数量",
  16231. "type": "integer"
  16232. },
  16233. "curholderamount": {
  16234. "description": "当前持仓总金额[商品币种]",
  16235. "type": "number"
  16236. },
  16237. "curpositionqty": {
  16238. "description": "当前持仓总数量",
  16239. "type": "integer"
  16240. },
  16241. "currencyid": {
  16242. "description": "报价货币ID",
  16243. "type": "integer"
  16244. },
  16245. "curtdposition": {
  16246. "description": "期末今日头寸",
  16247. "type": "integer"
  16248. },
  16249. "decimalplace": {
  16250. "description": "报价小数位",
  16251. "type": "integer"
  16252. },
  16253. "enableqty": {
  16254. "description": "可用量",
  16255. "type": "integer"
  16256. },
  16257. "fretdposition": {
  16258. "description": "冻结今日头寸",
  16259. "type": "integer"
  16260. },
  16261. "frozenqty": {
  16262. "description": "持仓冻结数量",
  16263. "type": "integer"
  16264. },
  16265. "goodscode": {
  16266. "description": "商品代码",
  16267. "type": "string"
  16268. },
  16269. "goodsid": {
  16270. "description": "商品Id",
  16271. "type": "integer"
  16272. },
  16273. "goodsname": {
  16274. "description": "商品名称",
  16275. "type": "string"
  16276. },
  16277. "goodunit": {
  16278. "description": "报价单位",
  16279. "type": "string"
  16280. },
  16281. "goodunitid": {
  16282. "description": "报价单位ID",
  16283. "type": "integer"
  16284. },
  16285. "holderamount": {
  16286. "description": "期初持仓总金额[商品币种]",
  16287. "type": "number"
  16288. },
  16289. "marketid": {
  16290. "description": "所属市场ID",
  16291. "type": "integer"
  16292. },
  16293. "openreqqty": {
  16294. "description": "开仓申请数量(用于比较最大持仓数量)",
  16295. "type": "integer"
  16296. },
  16297. "opentotalqty": {
  16298. "description": "开仓总数量",
  16299. "type": "integer"
  16300. },
  16301. "otherfrozenqty": {
  16302. "description": "持仓其他冻结数量(交割冻结)",
  16303. "type": "integer"
  16304. },
  16305. "positionqty": {
  16306. "description": "期初持仓数量",
  16307. "type": "integer"
  16308. },
  16309. "tnqty": {
  16310. "description": "T+N冻结总量",
  16311. "type": "integer"
  16312. },
  16313. "tnusedqty": {
  16314. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16315. "type": "integer"
  16316. },
  16317. "trademode": {
  16318. "description": "交易模式",
  16319. "type": "integer"
  16320. },
  16321. "usedmargin": {
  16322. "description": "占用保证金[商品币种]",
  16323. "type": "number"
  16324. }
  16325. }
  16326. },
  16327. "quote.HistoryData": {
  16328. "type": "object",
  16329. "properties": {
  16330. "c": {
  16331. "description": "收盘价",
  16332. "type": "number"
  16333. },
  16334. "f": {
  16335. "description": "是否补充数据",
  16336. "type": "boolean"
  16337. },
  16338. "h": {
  16339. "description": "最高价",
  16340. "type": "number"
  16341. },
  16342. "hv": {
  16343. "description": "持仓量",
  16344. "type": "integer"
  16345. },
  16346. "l": {
  16347. "description": "最低价",
  16348. "type": "number"
  16349. },
  16350. "o": {
  16351. "description": "开盘价",
  16352. "type": "number"
  16353. },
  16354. "s": {
  16355. "description": "结算价,日线周期(包括)以上才有",
  16356. "type": "number"
  16357. },
  16358. "ts": {
  16359. "description": "时间",
  16360. "type": "string"
  16361. },
  16362. "tt": {
  16363. "description": "总金额",
  16364. "type": "number"
  16365. },
  16366. "tv": {
  16367. "description": "总量",
  16368. "type": "integer"
  16369. }
  16370. }
  16371. },
  16372. "quote.QueryTSDataRsp": {
  16373. "type": "object",
  16374. "properties": {
  16375. "decimalPlace": {
  16376. "description": "小数位",
  16377. "type": "integer"
  16378. },
  16379. "endTime": {
  16380. "description": "结束时间",
  16381. "type": "string"
  16382. },
  16383. "goodsCode": {
  16384. "description": "商品代码",
  16385. "type": "string"
  16386. },
  16387. "historyDatas": {
  16388. "description": "历史数据",
  16389. "type": "array",
  16390. "items": {
  16391. "$ref": "#/definitions/quote.HistoryData"
  16392. }
  16393. },
  16394. "outGoodsCode": {
  16395. "description": "外部商品代码",
  16396. "type": "string"
  16397. },
  16398. "preSettle": {
  16399. "description": "昨结",
  16400. "type": "number"
  16401. },
  16402. "startTime": {
  16403. "description": "开始时间",
  16404. "type": "string"
  16405. },
  16406. "tradeDate": {
  16407. "description": "交易日",
  16408. "type": "string"
  16409. }
  16410. }
  16411. },
  16412. "szdz.QueryConvertLogRsp": {
  16413. "type": "object",
  16414. "required": [
  16415. "logid"
  16416. ],
  16417. "properties": {
  16418. "accountid": {
  16419. "description": "资金账户ID",
  16420. "type": "integer"
  16421. },
  16422. "clientticket": {
  16423. "description": "客户端流水号",
  16424. "type": "string"
  16425. },
  16426. "converttype": {
  16427. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16428. "type": "integer"
  16429. },
  16430. "createtime": {
  16431. "description": "记账时间",
  16432. "type": "string"
  16433. },
  16434. "daymaxvalue": {
  16435. "description": "配置当日最大转入限制",
  16436. "type": "number"
  16437. },
  16438. "daymaxvalue2": {
  16439. "description": "配置当日最大转入限制(转入)",
  16440. "type": "number"
  16441. },
  16442. "goodscode": {
  16443. "description": "商品代码",
  16444. "type": "string"
  16445. },
  16446. "goodsname": {
  16447. "description": "商品名称",
  16448. "type": "string"
  16449. },
  16450. "handlestatus": {
  16451. "description": "处理状态",
  16452. "type": "integer"
  16453. },
  16454. "innergoodsid": {
  16455. "description": "内部商品ID",
  16456. "type": "integer"
  16457. },
  16458. "inratio": {
  16459. "description": "配置转入比值",
  16460. "type": "integer"
  16461. },
  16462. "invalue": {
  16463. "description": "目标值",
  16464. "type": "number"
  16465. },
  16466. "logid": {
  16467. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16468. "type": "integer"
  16469. },
  16470. "mobile": {
  16471. "description": "手机号码(加密存储)",
  16472. "type": "string"
  16473. },
  16474. "outergoodscode": {
  16475. "description": "外部商品代码[JD\\PD]",
  16476. "type": "string"
  16477. },
  16478. "outratio": {
  16479. "description": "配置转出比值",
  16480. "type": "integer"
  16481. },
  16482. "outvalue": {
  16483. "description": "源值",
  16484. "type": "number"
  16485. },
  16486. "pddecimalplace": {
  16487. "description": "PD小数位",
  16488. "type": "integer"
  16489. },
  16490. "qty": {
  16491. "description": "数量",
  16492. "type": "string"
  16493. },
  16494. "remark": {
  16495. "description": "备注",
  16496. "type": "string"
  16497. },
  16498. "sessionid": {
  16499. "description": "会话ID",
  16500. "type": "integer"
  16501. },
  16502. "timemaxvalue": {
  16503. "description": "配置单次最大转入限制",
  16504. "type": "number"
  16505. },
  16506. "timemaxvalue2": {
  16507. "description": "配置单次最大转入限制(转入)",
  16508. "type": "number"
  16509. },
  16510. "timeminvalue": {
  16511. "description": "配置单次最小数量限制",
  16512. "type": "number"
  16513. },
  16514. "timeminvalue2": {
  16515. "description": "配置单次最小数量限制(转入)",
  16516. "type": "number"
  16517. },
  16518. "tradedate": {
  16519. "description": "交易日(yyyyMMdd)",
  16520. "type": "string"
  16521. },
  16522. "userid": {
  16523. "description": "用户ID",
  16524. "type": "integer"
  16525. }
  16526. }
  16527. },
  16528. "szdz.QueryGoodsPickupRsp": {
  16529. "type": "object",
  16530. "required": [
  16531. "takeorderid"
  16532. ],
  16533. "properties": {
  16534. "accountid": {
  16535. "description": "账户ID",
  16536. "type": "integer"
  16537. },
  16538. "address": {
  16539. "description": "提货人详细地址",
  16540. "type": "string"
  16541. },
  16542. "auditer": {
  16543. "description": "审核人",
  16544. "type": "integer"
  16545. },
  16546. "audittime": {
  16547. "description": "审核时间",
  16548. "type": "string"
  16549. },
  16550. "cardnum": {
  16551. "description": "提货人证件号码",
  16552. "type": "string"
  16553. },
  16554. "cardtypeid": {
  16555. "description": "提货人证件类型",
  16556. "type": "integer"
  16557. },
  16558. "checkremark": {
  16559. "description": "审核备注",
  16560. "type": "string"
  16561. },
  16562. "goodscode": {
  16563. "description": "商品代码",
  16564. "type": "string"
  16565. },
  16566. "goodsid": {
  16567. "description": "商品ID",
  16568. "type": "integer"
  16569. },
  16570. "goodsname": {
  16571. "description": "商品名称",
  16572. "type": "string"
  16573. },
  16574. "handlestatus": {
  16575. "description": "处理状态",
  16576. "type": "integer"
  16577. },
  16578. "marketid": {
  16579. "description": "市场ID",
  16580. "type": "integer"
  16581. },
  16582. "phonenum": {
  16583. "description": "提货人联系方式",
  16584. "type": "string"
  16585. },
  16586. "qty": {
  16587. "description": "提货数量",
  16588. "type": "number"
  16589. },
  16590. "recivername": {
  16591. "description": "提货人姓名",
  16592. "type": "string"
  16593. },
  16594. "reqtime": {
  16595. "description": "更新时间",
  16596. "type": "string"
  16597. },
  16598. "takemode": {
  16599. "description": "提货方式 - 2:自提 3:配送",
  16600. "type": "integer"
  16601. },
  16602. "takeorderid": {
  16603. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16604. "type": "string"
  16605. },
  16606. "takeorderstatus": {
  16607. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16608. "type": "integer"
  16609. },
  16610. "takeremark": {
  16611. "description": "提货备注",
  16612. "type": "string"
  16613. },
  16614. "tradedate": {
  16615. "description": "交易日(yyyyMMdd)",
  16616. "type": "string"
  16617. },
  16618. "userid": {
  16619. "description": "用户ID",
  16620. "type": "integer"
  16621. }
  16622. }
  16623. },
  16624. "szdz.QueryRecieptOrderRsp": {
  16625. "type": "object",
  16626. "required": [
  16627. "ordertime"
  16628. ],
  16629. "properties": {
  16630. "accountName": {
  16631. "description": "所属账号名称(已脱敏)",
  16632. "type": "string"
  16633. },
  16634. "accountid": {
  16635. "description": "资金账号",
  16636. "type": "integer"
  16637. },
  16638. "buyorsell": {
  16639. "description": "方向 - 0:买 1:卖",
  16640. "type": "integer"
  16641. },
  16642. "enableqty": {
  16643. "description": "可摘数量",
  16644. "type": "integer"
  16645. },
  16646. "goodscode": {
  16647. "description": "商品代码",
  16648. "type": "string"
  16649. },
  16650. "goodsid": {
  16651. "description": "商品ID",
  16652. "type": "integer"
  16653. },
  16654. "goodsname": {
  16655. "description": "商品名称",
  16656. "type": "string"
  16657. },
  16658. "orderid": {
  16659. "description": "委托单号",
  16660. "type": "string"
  16661. },
  16662. "orderprice": {
  16663. "description": "委托价格",
  16664. "type": "number"
  16665. },
  16666. "ordertime": {
  16667. "description": "委托时间",
  16668. "type": "string"
  16669. },
  16670. "tradedate": {
  16671. "description": "交易日(yyyyMMdd)",
  16672. "type": "string"
  16673. }
  16674. }
  16675. },
  16676. "szdz.QuerySZDZTradePositionRsp": {
  16677. "type": "object",
  16678. "properties": {
  16679. "accountid": {
  16680. "description": "账号Id",
  16681. "type": "integer"
  16682. },
  16683. "agreeunit": {
  16684. "description": "合约单位",
  16685. "type": "number"
  16686. },
  16687. "averageprice": {
  16688. "description": "持仓均价",
  16689. "type": "number"
  16690. },
  16691. "buyorsell": {
  16692. "description": "方向 - 0:买 1:卖",
  16693. "type": "integer"
  16694. },
  16695. "closetotalqty": {
  16696. "description": "平仓总数量",
  16697. "type": "integer"
  16698. },
  16699. "curholderamount": {
  16700. "description": "当前持仓总金额",
  16701. "type": "number"
  16702. },
  16703. "curpositionqty": {
  16704. "description": "当前持仓总数量",
  16705. "type": "integer"
  16706. },
  16707. "currencyid": {
  16708. "description": "报价货币ID",
  16709. "type": "integer"
  16710. },
  16711. "curtdposition": {
  16712. "description": "期末今日头寸",
  16713. "type": "integer"
  16714. },
  16715. "decimalplace": {
  16716. "description": "报价小数位",
  16717. "type": "integer"
  16718. },
  16719. "enableqty": {
  16720. "description": "可用量",
  16721. "type": "integer"
  16722. },
  16723. "fretdposition": {
  16724. "description": "冻结今日头寸",
  16725. "type": "integer"
  16726. },
  16727. "frozenqty": {
  16728. "description": "持仓冻结数量",
  16729. "type": "integer"
  16730. },
  16731. "goodscode": {
  16732. "description": "商品代码(内部)",
  16733. "type": "string"
  16734. },
  16735. "goodsid": {
  16736. "description": "商品Id",
  16737. "type": "integer"
  16738. },
  16739. "goodsname": {
  16740. "description": "商品名称",
  16741. "type": "string"
  16742. },
  16743. "goodunit": {
  16744. "description": "报价单位",
  16745. "type": "string"
  16746. },
  16747. "goodunitid": {
  16748. "description": "报价单位ID",
  16749. "type": "integer"
  16750. },
  16751. "holderamount": {
  16752. "description": "期初持仓总金额",
  16753. "type": "number"
  16754. },
  16755. "marketid": {
  16756. "description": "市场ID",
  16757. "type": "integer"
  16758. },
  16759. "openreqqty": {
  16760. "description": "开仓申请数量",
  16761. "type": "integer"
  16762. },
  16763. "opentotalqty": {
  16764. "description": "开仓总数量",
  16765. "type": "integer"
  16766. },
  16767. "otherfrozenqty": {
  16768. "description": "持仓其他冻结数量(交割冻结)",
  16769. "type": "integer"
  16770. },
  16771. "positionqty": {
  16772. "description": "期初持仓数量",
  16773. "type": "integer"
  16774. },
  16775. "szdz3freezqty": {
  16776. "description": "尚志大宗转换冻结总数量",
  16777. "type": "integer"
  16778. },
  16779. "tnqty": {
  16780. "description": "T+N冻结总量",
  16781. "type": "integer"
  16782. },
  16783. "tnusedqty": {
  16784. "description": "T+N使用量",
  16785. "type": "integer"
  16786. },
  16787. "trademode": {
  16788. "description": "交易模式",
  16789. "type": "integer"
  16790. },
  16791. "usedmargin": {
  16792. "description": "占用保证金",
  16793. "type": "number"
  16794. }
  16795. }
  16796. },
  16797. "taaccount.QueryAmountLogRsp": {
  16798. "type": "object",
  16799. "required": [
  16800. "accountid",
  16801. "amount",
  16802. "amountadjusttype",
  16803. "autoid",
  16804. "balance",
  16805. "createtime",
  16806. "currentbalance",
  16807. "operatetype"
  16808. ],
  16809. "properties": {
  16810. "OPERATETYPENAME": {
  16811. "description": "资金操作类型名称",
  16812. "type": "string"
  16813. },
  16814. "accountid": {
  16815. "description": "资金账户ID",
  16816. "type": "integer"
  16817. },
  16818. "agoodscode": {
  16819. "description": "竞拍商品代码",
  16820. "type": "string"
  16821. },
  16822. "agoodsname": {
  16823. "description": "竞拍商品名称",
  16824. "type": "string"
  16825. },
  16826. "amount": {
  16827. "description": "资金金额",
  16828. "type": "number"
  16829. },
  16830. "amountadjusttype": {
  16831. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16832. "type": "integer"
  16833. },
  16834. "autoid": {
  16835. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16836. "type": "integer"
  16837. },
  16838. "balance": {
  16839. "description": "期初余额",
  16840. "type": "number"
  16841. },
  16842. "businesscode": {
  16843. "description": "业务编号",
  16844. "type": "integer"
  16845. },
  16846. "createtime": {
  16847. "description": "发生时间",
  16848. "type": "string"
  16849. },
  16850. "currencyid": {
  16851. "description": "币种ID",
  16852. "type": "integer"
  16853. },
  16854. "currentbalance": {
  16855. "description": "期末余额(变动后金额)",
  16856. "type": "number"
  16857. },
  16858. "dgoodscode": {
  16859. "description": "交割商品代码",
  16860. "type": "string"
  16861. },
  16862. "dgoodsname": {
  16863. "description": "交割商品名称",
  16864. "type": "string"
  16865. },
  16866. "goodscode": {
  16867. "description": "商品代码",
  16868. "type": "string"
  16869. },
  16870. "goodsid": {
  16871. "description": "商品ID",
  16872. "type": "integer"
  16873. },
  16874. "goodsname": {
  16875. "description": "商品名称",
  16876. "type": "string"
  16877. },
  16878. "marketid": {
  16879. "description": "市场ID",
  16880. "type": "integer"
  16881. },
  16882. "marketname": {
  16883. "description": "市场名称",
  16884. "type": "string"
  16885. },
  16886. "moneyticket": {
  16887. "description": "资金流水号:银行端流水号",
  16888. "type": "integer"
  16889. },
  16890. "operatetype": {
  16891. "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:营销收款",
  16892. "type": "integer"
  16893. },
  16894. "relationorderid": {
  16895. "description": "关联单号",
  16896. "type": "string"
  16897. },
  16898. "remark": {
  16899. "description": "备注",
  16900. "type": "string"
  16901. },
  16902. "trademode": {
  16903. "description": "交易模式",
  16904. "type": "integer"
  16905. }
  16906. }
  16907. },
  16908. "taaccount.QueryHisAmountLogRsp": {
  16909. "type": "object",
  16910. "required": [
  16911. "accountid",
  16912. "amount",
  16913. "amountadjusttype",
  16914. "autoid",
  16915. "balance",
  16916. "createtime",
  16917. "currentbalance",
  16918. "histradedate",
  16919. "operatetype"
  16920. ],
  16921. "properties": {
  16922. "OPERATETYPENAME": {
  16923. "description": "资金操作类型名称",
  16924. "type": "string"
  16925. },
  16926. "accountid": {
  16927. "description": "资金账户ID",
  16928. "type": "integer"
  16929. },
  16930. "agoodscode": {
  16931. "description": "竞拍商品代码",
  16932. "type": "string"
  16933. },
  16934. "agoodsname": {
  16935. "description": "竞拍商品名称",
  16936. "type": "string"
  16937. },
  16938. "amount": {
  16939. "description": "资金金额",
  16940. "type": "number"
  16941. },
  16942. "amountadjusttype": {
  16943. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16944. "type": "integer"
  16945. },
  16946. "autoid": {
  16947. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16948. "type": "integer"
  16949. },
  16950. "balance": {
  16951. "description": "期初余额",
  16952. "type": "number"
  16953. },
  16954. "businesscode": {
  16955. "description": "业务编号",
  16956. "type": "integer"
  16957. },
  16958. "createtime": {
  16959. "description": "发生时间",
  16960. "type": "string"
  16961. },
  16962. "currencyid": {
  16963. "description": "币种ID",
  16964. "type": "integer"
  16965. },
  16966. "currentbalance": {
  16967. "description": "期末余额(变动后金额)",
  16968. "type": "number"
  16969. },
  16970. "dgoodscode": {
  16971. "description": "交割商品代码",
  16972. "type": "string"
  16973. },
  16974. "dgoodsname": {
  16975. "description": "交割商品名称",
  16976. "type": "string"
  16977. },
  16978. "goodscode": {
  16979. "description": "商品代码",
  16980. "type": "string"
  16981. },
  16982. "goodsid": {
  16983. "description": "商品ID",
  16984. "type": "integer"
  16985. },
  16986. "goodsname": {
  16987. "description": "商品名称",
  16988. "type": "string"
  16989. },
  16990. "histradedate": {
  16991. "description": "历史交易日",
  16992. "type": "string"
  16993. },
  16994. "isvaliddata": {
  16995. "description": "是否有效 - 0:无效 1:有效",
  16996. "type": "integer"
  16997. },
  16998. "marketid": {
  16999. "description": "市场ID",
  17000. "type": "integer"
  17001. },
  17002. "marketname": {
  17003. "description": "市场名称",
  17004. "type": "string"
  17005. },
  17006. "moneyticket": {
  17007. "description": "资金流水号:银行端流水号",
  17008. "type": "integer"
  17009. },
  17010. "operatetype": {
  17011. "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:营销收款",
  17012. "type": "integer"
  17013. },
  17014. "relationorderid": {
  17015. "description": "关联单号",
  17016. "type": "string"
  17017. },
  17018. "remark": {
  17019. "description": "备注",
  17020. "type": "string"
  17021. },
  17022. "trademode": {
  17023. "description": "交易模式",
  17024. "type": "integer"
  17025. }
  17026. }
  17027. },
  17028. "trade.QueryRecieptOrderRsp": {
  17029. "type": "object",
  17030. "required": [
  17031. "ordertime"
  17032. ],
  17033. "properties": {
  17034. "accountName": {
  17035. "description": "所属账号名称(已脱敏)",
  17036. "type": "string"
  17037. },
  17038. "accountid": {
  17039. "description": "资金账号",
  17040. "type": "integer"
  17041. },
  17042. "buyorsell": {
  17043. "description": "方向 - 0:买 1:卖",
  17044. "type": "integer"
  17045. },
  17046. "enableqty": {
  17047. "description": "可摘数量",
  17048. "type": "integer"
  17049. },
  17050. "goodscode": {
  17051. "description": "商品代码",
  17052. "type": "string"
  17053. },
  17054. "goodsid": {
  17055. "description": "商品ID",
  17056. "type": "integer"
  17057. },
  17058. "goodsname": {
  17059. "description": "商品名称",
  17060. "type": "string"
  17061. },
  17062. "orderid": {
  17063. "description": "委托单号",
  17064. "type": "string"
  17065. },
  17066. "orderprice": {
  17067. "description": "委托价格",
  17068. "type": "number"
  17069. },
  17070. "ordertime": {
  17071. "description": "委托时间",
  17072. "type": "string"
  17073. },
  17074. "tradedate": {
  17075. "description": "交易日(yyyyMMdd)",
  17076. "type": "string"
  17077. }
  17078. }
  17079. }
  17080. },
  17081. "securityDefinitions": {
  17082. "ApiKeyAuth": {
  17083. "type": "apiKey",
  17084. "name": "Authorization",
  17085. "in": "header"
  17086. }
  17087. }
  17088. }`
  17089. type swaggerInfo struct {
  17090. Version string
  17091. Host string
  17092. BasePath string
  17093. Schemes []string
  17094. Title string
  17095. Description string
  17096. }
  17097. // SwaggerInfo holds exported Swagger Info so clients can modify it
  17098. var SwaggerInfo = swaggerInfo{
  17099. Version: "1.0",
  17100. Host: "",
  17101. BasePath: "/api",
  17102. Schemes: []string{},
  17103. Title: "MTP2.0 查询服务 API",
  17104. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  17105. }
  17106. type s struct{}
  17107. func (s *s) ReadDoc() string {
  17108. sInfo := SwaggerInfo
  17109. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  17110. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  17111. "marshal": func(v interface{}) string {
  17112. a, _ := json.Marshal(v)
  17113. return string(a)
  17114. },
  17115. }).Parse(doc)
  17116. if err != nil {
  17117. return doc
  17118. }
  17119. var tpl bytes.Buffer
  17120. if err := t.Execute(&tpl, sInfo); err != nil {
  17121. return doc
  17122. }
  17123. return tpl.String()
  17124. }
  17125. func init() {
  17126. swag.Register(swag.Name, &s{})
  17127. }